test.log in ruby_skynet-0.2.0 vs test.log in ruby_skynet-0.3.0

- old
+ new

@@ -1,204 +1,88 @@ -2012-10-18 14:57:39.374723 T [99228:70233348070100] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :server=>"127.0.0.1:8046", :buffered=>false, :on_connect=>#<Proc:0x007fc0f3983008@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -2012-10-18 14:59:21.128915 T [99228:70233348070100] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- <"6/services/TutorialService/1/Development/127.0.0.1/9000 -2012-10-18 14:59:21.129134 D [99228:70233348070100] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 64 bytes -2012-10-18 14:59:21.129848 T [99228:70233348070100] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01\x17" -2012-10-18 14:59:21.129865 D [99228:70233348070100] (0.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 14:59:21.130508 T [99228:70233348070100] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xEA\xA4\x012\x8E\x02{\"Config\":{\"UUID\":\"3978b371-15e9-40f8-9b7b-59ae88d8c7ec\",\"Name\":\"TutorialService\",\"Version\":\"1\",\"Region\":\"Development\",\"ServiceAddr\":{\"IPAddress\":\"127.0.0.1\",\"Port\":9000,\"MaxPort\":9999},\"AdminAddr\":{\"IPAddress\":\"127.0.0.1\",\"Port\":9001,\"MaxPort\":9999}},\"Registered\":true}" -2012-10-18 14:59:21.130529 D [99228:70233348070100] (0.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 279 bytes -2012-10-18 16:24:40.508201 T [1115:70296296184540] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007fde439e1e10@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -2012-10-18 16:24:40.508201 T [1115:70296296184540] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007fde439e1e10@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007fde439e1e10@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -2012-10-18 16:24:40.518191 T [1115:70296296184540] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "/8 -2012-10-18 16:24:40.518191 T [1115:70296296184540] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "/8 -- "/8 -2012-10-18 16:24:40.518485 D [1115:70296296184540] (0.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 13 bytes -2012-10-18 16:24:40.518485 D [1115:70296296184540] (0.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 13 bytes -2012-10-18 16:24:40.518564 T [1115:70296296184540] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\a" -2012-10-18 16:24:40.518564 T [1115:70296296184540] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\a" -- "\x00\x00\x00\a" -2012-10-18 16:24:40.518574 D [1115:70296296184540] (0.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:24:40.518574 D [1115:70296296184540] (0.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:24:40.518790 T [1115:70296296184540] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00*\x03ctl" -2012-10-18 16:24:40.518790 T [1115:70296296184540] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00*\x03ctl" -- "\b\x00*\x03ctl" -2012-10-18 16:24:40.518808 D [1115:70296296184540] (0.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 7 bytes -2012-10-18 16:24:40.518808 D [1115:70296296184540] (0.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 7 bytes -2012-10-18 16:24:40.519116 T [1115:70296296184540] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "/8 -2012-10-18 16:24:40.519116 T [1115:70296296184540] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "/8 -- "/8 -2012-10-18 16:24:40.519160 D [1115:70296296184540] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 13 bytes -2012-10-18 16:24:40.519160 D [1115:70296296184540] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 13 bytes -2012-10-18 16:24:40.519384 T [1115:70296296184540] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\f" -2012-10-18 16:24:40.519384 T [1115:70296296184540] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\f" -- "\x00\x00\x00\f" -2012-10-18 16:24:40.519397 D [1115:70296296184540] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:24:40.519397 D [1115:70296296184540] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:24:40.519464 T [1115:70296296184540] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00*\bservices" -2012-10-18 16:24:40.519464 T [1115:70296296184540] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00*\bservices" -- "\b\x00*\bservices" -2012-10-18 16:24:40.519474 D [1115:70296296184540] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 12 bytes -2012-10-18 16:24:40.519474 D [1115:70296296184540] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 12 bytes -2012-10-18 16:24:40.519682 T [1115:70296296184540] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "/8 -2012-10-18 16:24:40.519682 T [1115:70296296184540] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "/8 -- "/8 -2012-10-18 16:24:40.519727 D [1115:70296296184540] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 13 bytes -2012-10-18 16:24:40.519727 D [1115:70296296184540] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 13 bytes -2012-10-18 16:24:40.519989 T [1115:70296296184540] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x0E" -2012-10-18 16:24:40.519989 T [1115:70296296184540] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x0E" -- "\x00\x00\x00\x0E" -2012-10-18 16:24:40.520002 D [1115:70296296184540] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:24:40.520002 D [1115:70296296184540] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:24:40.520064 T [1115:70296296184540] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00*\nstatistics" -2012-10-18 16:24:40.520064 T [1115:70296296184540] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00*\nstatistics" -- "\b\x00*\nstatistics" -2012-10-18 16:24:40.520074 D [1115:70296296184540] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 14 bytes -2012-10-18 16:24:40.520074 D [1115:70296296184540] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 14 bytes -2012-10-18 16:24:40.520287 T [1115:70296296184540] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "/8 -2012-10-18 16:24:40.520287 T [1115:70296296184540] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "/8 -- "/8 -2012-10-18 16:24:40.520331 D [1115:70296296184540] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 13 bytes -2012-10-18 16:24:40.520331 D [1115:70296296184540] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 13 bytes -2012-10-18 16:24:40.520523 T [1115:70296296184540] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x05" -2012-10-18 16:24:40.520523 T [1115:70296296184540] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x05" -- "\x00\x00\x00\x05" -2012-10-18 16:24:40.520538 D [1115:70296296184540] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:24:40.520538 D [1115:70296296184540] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:24:40.520825 T [1115:70296296184540] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\xA0\x06\b" -2012-10-18 16:24:40.520825 T [1115:70296296184540] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\xA0\x06\b" -- "\b\x00\xA0\x06\b" -2012-10-18 16:24:40.520836 D [1115:70296296184540] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 5 bytes -2012-10-18 16:24:40.520836 D [1115:70296296184540] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 5 bytes -2012-10-18 16:24:40.521872 T [1115:70296296184540] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/fooH -2012-10-18 16:24:40.521872 T [1115:70296296184540] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/fooH -- " /test/fooH -2012-10-18 16:24:40.521922 D [1115:70296296184540] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 30 bytes -2012-10-18 16:24:40.521922 D [1115:70296296184540] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 30 bytes -2012-10-18 16:24:40.528688 T [1115:70296296184540] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x02" -2012-10-18 16:24:40.528688 T [1115:70296296184540] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x02" -- "\x00\x00\x00\x02" -2012-10-18 16:24:40.528710 D [1115:70296296184540] (6.8ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:24:40.528710 D [1115:70296296184540] (6.8ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:24:40.528795 T [1115:70296296184540] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00" -2012-10-18 16:24:40.528795 T [1115:70296296184540] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00" -- "\b\x00" -2012-10-18 16:24:40.528805 D [1115:70296296184540] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 2 bytes -2012-10-18 16:24:40.528805 D [1115:70296296184540] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 2 bytes -2012-10-18 16:24:40.529057 T [1115:70296296184540] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007fde439753f0@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -2012-10-18 16:24:40.529057 T [1115:70296296184540] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007fde439753f0@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007fde439753f0@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -2012-10-18 16:24:40.530528 T [1115:70296296184540] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending --  -2012-10-18 16:24:40.530528 T [1115:70296296184540] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending --  --  -2012-10-18 16:24:40.530581 D [1115:70296296184540] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 8 bytes -2012-10-18 16:24:40.530581 D [1115:70296296184540] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 8 bytes -2012-10-18 16:24:40.531285 T [1115:70296296184540] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x06" -2012-10-18 16:24:40.531285 T [1115:70296296184540] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x06" -- "\x00\x00\x00\x06" -2012-10-18 16:24:40.531299 D [1115:70296296184540] (0.7ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:24:40.531299 D [1115:70296296184540] (0.7ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:24:40.531367 T [1115:70296296184540] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xEA\xCF\x03" -2012-10-18 16:24:40.531367 T [1115:70296296184540] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xEA\xCF\x03" -- "\b\x00\x18\xEA\xCF\x03" -2012-10-18 16:24:40.531377 D [1115:70296296184540] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 6 bytes -2012-10-18 16:24:40.531377 D [1115:70296296184540] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 6 bytes -2012-10-18 16:24:40.532559 T [1115:70296296184540] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/fooH -2012-10-18 16:24:40.532559 T [1115:70296296184540] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/fooH -- " /test/fooH -2012-10-18 16:24:40.532934 D [1115:70296296184540] (0.4ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 30 bytes -2012-10-18 16:24:40.532934 D [1115:70296296184540] (0.4ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 30 bytes -2012-10-18 16:24:40.534366 T [1115:70296296184540] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x02" -2012-10-18 16:24:40.534366 T [1115:70296296184540] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x02" -- "\x00\x00\x00\x02" -2012-10-18 16:24:40.534384 D [1115:70296296184540] (1.4ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:24:40.534384 D [1115:70296296184540] (1.4ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:24:40.535776 T [1115:70296296184540] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00" -2012-10-18 16:24:40.535776 T [1115:70296296184540] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00" -- "\b\x00" -2012-10-18 16:24:40.535862 D [1115:70296296184540] (1.4ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 2 bytes -2012-10-18 16:24:40.535862 D [1115:70296296184540] (1.4ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 2 bytes -2012-10-18 16:24:40.536102 T [1115:70296296184540] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007fde4394b0c8@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -2012-10-18 16:24:40.536102 T [1115:70296296184540] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007fde4394b0c8@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007fde4394b0c8@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -2012-10-18 16:24:40.537457 T [1115:70296296184540] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "" /test/foo*value2H -2012-10-18 16:24:40.537457 T [1115:70296296184540] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "" /test/foo*value2H -- "" /test/foo*value2H -2012-10-18 16:24:40.537939 D [1115:70296296184540] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 38 bytes -2012-10-18 16:24:40.537939 D [1115:70296296184540] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 38 bytes -2012-10-18 16:24:40.545279 T [1115:70296296184540] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x06" -2012-10-18 16:24:40.545279 T [1115:70296296184540] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x06" -- "\x00\x00\x00\x06" -2012-10-18 16:24:40.545375 D [1115:70296296184540] (7.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:24:40.545375 D [1115:70296296184540] (7.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:24:40.545836 T [1115:70296296184540] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xEC\xCF\x03" -2012-10-18 16:24:40.545836 T [1115:70296296184540] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xEC\xCF\x03" -- "\b\x00\x18\xEC\xCF\x03" -2012-10-18 16:24:40.545877 D [1115:70296296184540] (0.4ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 6 bytes -2012-10-18 16:24:40.545877 D [1115:70296296184540] (0.4ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 6 bytes -2012-10-18 16:24:40.546175 T [1115:70296296184540] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/foo -2012-10-18 16:24:40.546175 T [1115:70296296184540] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/foo -- " /test/foo -2012-10-18 16:24:40.546686 D [1115:70296296184540] (0.5ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 19 bytes -2012-10-18 16:24:40.546686 D [1115:70296296184540] (0.5ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 19 bytes -2012-10-18 16:24:40.546985 T [1115:70296296184540] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x0E" -2012-10-18 16:24:40.546985 T [1115:70296296184540] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x0E" -- "\x00\x00\x00\x0E" -2012-10-18 16:24:40.547017 D [1115:70296296184540] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:24:40.547017 D [1115:70296296184540] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:24:40.547334 T [1115:70296296184540] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xEC\xCF\x032\x06value2" -2012-10-18 16:24:40.547334 T [1115:70296296184540] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xEC\xCF\x032\x06value2" -- "\b\x00\x18\xEC\xCF\x032\x06value2" -2012-10-18 16:24:40.547371 D [1115:70296296184540] (0.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 14 bytes -2012-10-18 16:24:40.547371 D [1115:70296296184540] (0.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 14 bytes -2012-10-18 16:24:40.554881 T [1115:70296296184540] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/fooH -2012-10-18 16:24:40.554881 T [1115:70296296184540] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/fooH -- " /test/fooH -2012-10-18 16:24:40.555156 D [1115:70296296184540] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 30 bytes -2012-10-18 16:24:40.555156 D [1115:70296296184540] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 30 bytes -2012-10-18 16:24:40.558177 T [1115:70296296184540] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x02" -2012-10-18 16:24:40.558177 T [1115:70296296184540] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x02" -- "\x00\x00\x00\x02" -2012-10-18 16:24:40.558239 D [1115:70296296184540] (3.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:24:40.558239 D [1115:70296296184540] (3.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:24:40.558632 T [1115:70296296184540] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00" -2012-10-18 16:24:40.558632 T [1115:70296296184540] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00" -- "\b\x00" -2012-10-18 16:24:40.558673 D [1115:70296296184540] (0.4ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 2 bytes -2012-10-18 16:24:40.558673 D [1115:70296296184540] (0.4ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 2 bytes -2012-10-18 16:24:40.559236 T [1115:70296296184540] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007fde4384c118@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -2012-10-18 16:24:40.559236 T [1115:70296296184540] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007fde4384c118@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007fde4384c118@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -2012-10-18 16:24:40.561011 T [1115:70296296184540] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- !" /test/foo*valueH -2012-10-18 16:24:40.561011 T [1115:70296296184540] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- !" /test/foo*valueH -- !" /test/foo*valueH -2012-10-18 16:24:40.561282 D [1115:70296296184540] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 37 bytes -2012-10-18 16:24:40.561282 D [1115:70296296184540] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 37 bytes -2012-10-18 16:24:40.564758 T [1115:70296296184540] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x06" -2012-10-18 16:24:40.564758 T [1115:70296296184540] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x06" -- "\x00\x00\x00\x06" -2012-10-18 16:24:40.564792 D [1115:70296296184540] (3.4ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:24:40.564792 D [1115:70296296184540] (3.4ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:24:40.565674 T [1115:70296296184540] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xEE\xCF\x03" -2012-10-18 16:24:40.565674 T [1115:70296296184540] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xEE\xCF\x03" -- "\b\x00\x18\xEE\xCF\x03" -2012-10-18 16:24:40.565742 D [1115:70296296184540] (0.9ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 6 bytes -2012-10-18 16:24:40.565742 D [1115:70296296184540] (0.9ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 6 bytes -2012-10-18 16:24:40.566022 T [1115:70296296184540] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/foo -2012-10-18 16:24:40.566022 T [1115:70296296184540] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/foo -- " /test/foo -2012-10-18 16:24:40.566562 D [1115:70296296184540] (0.5ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 19 bytes -2012-10-18 16:24:40.566562 D [1115:70296296184540] (0.5ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 19 bytes -2012-10-18 16:24:40.566814 T [1115:70296296184540] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\r" -2012-10-18 16:24:40.566814 T [1115:70296296184540] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\r" -- "\x00\x00\x00\r" -2012-10-18 16:24:40.566861 D [1115:70296296184540] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:24:40.566861 D [1115:70296296184540] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:24:40.567187 T [1115:70296296184540] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xEE\xCF\x032\x05value" -2012-10-18 16:24:40.567187 T [1115:70296296184540] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xEE\xCF\x032\x05value" -- "\b\x00\x18\xEE\xCF\x032\x05value" -2012-10-18 16:24:40.567228 D [1115:70296296184540] (0.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 13 bytes -2012-10-18 16:24:40.567228 D [1115:70296296184540] (0.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 13 bytes -2012-10-18 16:24:40.571242 T [1115:70296296184540] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/fooH -2012-10-18 16:24:40.571242 T [1115:70296296184540] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/fooH -- " /test/fooH -2012-10-18 16:24:40.571681 D [1115:70296296184540] (0.4ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 30 bytes -2012-10-18 16:24:40.571681 D [1115:70296296184540] (0.4ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 30 bytes -2012-10-18 16:24:40.573028 T [1115:70296296184540] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x02" -2012-10-18 16:24:40.573028 T [1115:70296296184540] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x02" -- "\x00\x00\x00\x02" -2012-10-18 16:24:40.573064 D [1115:70296296184540] (1.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:24:40.573064 D [1115:70296296184540] (1.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:24:40.574638 T [1115:70296296184540] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00" -2012-10-18 16:24:40.574638 T [1115:70296296184540] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00" -- "\b\x00" -2012-10-18 16:24:40.574722 D [1115:70296296184540] (1.6ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 2 bytes -2012-10-18 16:24:40.574722 D [1115:70296296184540] (1.6ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 2 bytes -2012-10-18 16:24:40.575333 T [1115:70296296184540] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:9999", :connect_retry_interval=>0.1, :connect_retry_count=>5, :read_timeout=>5, :connect_timeout=>3, :buffered=>false, :on_connect=>#<Proc:0x007fde43939328@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -2012-10-18 16:24:40.575333 T [1115:70296296184540] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:9999", :connect_retry_interval=>0.1, :connect_retry_count=>5, :read_timeout=>5, :connect_timeout=>3, :buffered=>false, :on_connect=>#<Proc:0x007fde43939328@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -- {:server=>"localhost:9999", :connect_retry_interval=>0.1, :connect_retry_count=>5, :read_timeout=>5, :connect_timeout=>3, :buffered=>false, :on_connect=>#<Proc:0x007fde43939328@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -2012-10-18 16:24:40.576018 W [1115:70296296184540] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 1 -2012-10-18 16:24:40.576018 W [1115:70296296184540] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 1 -2012-10-18 16:24:40.676888 W [1115:70296296184540] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 2 -2012-10-18 16:24:40.676888 W [1115:70296296184540] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 2 -2012-10-18 16:24:40.777969 W [1115:70296296184540] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 3 -2012-10-18 16:24:40.777969 W [1115:70296296184540] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 3 -2012-10-18 16:24:40.879182 W [1115:70296296184540] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 4 -2012-10-18 16:24:40.879182 W [1115:70296296184540] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 4 -2012-10-18 16:24:40.980738 W [1115:70296296184540] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 5 -2012-10-18 16:24:40.980738 W [1115:70296296184540] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 5 -2012-10-18 16:24:41.082294 E [1115:70296296184540] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Giving up after 5 retries -2012-10-18 16:24:41.082294 E [1115:70296296184540] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Giving up after 5 retries -2012-10-18 16:24:41.082419 I [1115:70296296184540] (507.0ms) ResilientSocket::TCPClient ["localhost:9999"] -- Connecting to server localhost:9999 -- ResilientSocket::ConnectionFailure: After 5 connection attempts to host 'localhost:9999': Errno::ECONNREFUSED: Connection refused - connect(2) -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:570:in `rescue in block in connect_to_server' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:548:in `block in connect_to_server' +2012-12-04 15:14:22.115990 D [35331:70215367611540] RubySkynet::Server: localhost:2100 -- Waiting for a client to connect +2012-12-04 15:14:22.125851 D [35331:70215367088860] RubySkynet::Registry -- Doozer Connection Pool: Created connection #1 #<Thread:0x007fb89406b5b8>(70215367088860) for Doozer Connection Pool +2012-12-04 15:14:22.164719 T [35331:70215367088860] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007fb8940c6530@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-04 15:14:22.168071 D [35331:70215367088860] RubySkynet::Registry -- Doozer Connection Pool: Renewed connection old=70215367088860 new=#<RubySkynet::Doozer::Client:0x007fb89410ece0>(70215367423600) +2012-12-04 15:14:22.168121 D [35331:70215367088860] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fb89410ece0>(70215367423600) self=connections=70215367423600 checked_out=70215367423600 with_map= +2012-12-04 15:14:22.182589 T [35331:70215367088860] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- ""2/services/RubySkynet.Service/1/Test/localhost/2100*{"Config":{"UUID":"localhost:2100-35331-RubySkynet::Service-70215371353000","Name":"RubySkynet.Service","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"localhost","Port":2100,"MaxPort":3099}},"Registered":true}H +2012-12-04 15:14:22.183484 D [35331:70215367088860] (0.8ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 294 bytes +2012-12-04 15:14:22.185393 T [35331:70215367088860] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-04 15:14:22.185482 D [35331:70215367088860] (1.9ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-04 15:14:22.192141 T [35331:70215367088860] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\x97\x03" +2012-12-04 15:14:22.192267 D [35331:70215367088860] (6.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-04 15:14:22.192491 D [35331:70215367088860] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fb89410ece0>(70215367423600) self=connections=70215367423600 checked_out= with_map= +2012-12-04 15:14:22.197572 D [35331:70215367088860] [50be599e6b69338a03000001] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fb89410ece0>(70215367423600) self=connections=70215367423600 checked_out=70215367423600 with_map= +2012-12-04 15:14:22.197847 T [35331:70215367088860] [50be599e6b69338a03000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  +2012-12-04 15:14:22.198156 D [35331:70215367088860] [50be599e6b69338a03000001] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 8 bytes +2012-12-04 15:14:22.198347 T [35331:70215367088860] [50be599e6b69338a03000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-04 15:14:22.198362 D [35331:70215367088860] [50be599e6b69338a03000001] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-04 15:14:22.198617 T [35331:70215367088860] [50be599e6b69338a03000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\x97\x03" +2012-12-04 15:14:22.198635 D [35331:70215367088860] [50be599e6b69338a03000001] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-04 15:14:22.198932 T [35331:70215367088860] [50be599e6b69338a03000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H +2012-12-04 15:14:22.198978 D [35331:70215367088860] [50be599e6b69338a03000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-04 15:14:22.199362 T [35331:70215367088860] [50be599e6b69338a03000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01\x1A" +2012-12-04 15:14:22.199377 D [35331:70215367088860] [50be599e6b69338a03000001] (0.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-04 15:14:22.199570 T [35331:70215367088860] [50be599e6b69338a03000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\x97\x03*2/services/RubySkynet.Service/1/Test/localhost/21002\xDC\x01{\"Config\":{\"UUID\":\"localhost:2100-35331-RubySkynet::Service-70215371353000\",\"Name\":\"RubySkynet.Service\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-04 15:14:22.199582 D [35331:70215367088860] [50be599e6b69338a03000001] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 282 bytes +2012-12-04 15:14:22.199874 T [35331:70215367088860] [50be599e6b69338a03000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H +2012-12-04 15:14:22.199920 D [35331:70215367088860] [50be599e6b69338a03000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-04 15:14:22.200307 T [35331:70215367088860] [50be599e6b69338a03000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-04 15:14:22.200319 D [35331:70215367088860] [50be599e6b69338a03000001] (0.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-04 15:14:22.200382 T [35331:70215367088860] [50be599e6b69338a03000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\xA0\x06\b" +2012-12-04 15:14:22.200392 D [35331:70215367088860] [50be599e6b69338a03000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-04 15:14:22.200569 D [35331:70215367088860] [50be599e6b69338a03000001] RubySkynet::Registry -- #start_monitoring Add Service: RubySkynet.Service/1/Test => localhost:2100 +2012-12-04 15:14:22.200607 D [35331:70215367088860] [50be599e6b69338a03000001] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fb89410ece0>(70215367423600) self=connections=70215367423600 checked_out= with_map= +2012-12-04 15:14:22.201536 I [35331:70215369422240] RubySkynet::Registry -- Start monitoring /services/*/*/*/*/* +2012-12-04 15:14:22.201584 T [35331:70215369422240] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007fb8944e7510@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-04 15:14:22.202447 T [35331:70215369422240] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-04 15:14:22.202599 D [35331:70215369422240] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-04 15:14:22.203006 D [35331:70215367088860] [50be599e6b69338a03000001] RubySkynet::Connection: localhost:2100 -- Waiting for Service Handshake +2012-12-04 15:14:22.203779 D [35331:70215367611540] RubySkynet::Server: localhost:2100 -- Waiting for a client to connect +2012-12-04 15:14:22.203883 D [35331:70215367611540] RubySkynet::Server: localhost:2100 -- Client connected, waiting for data from client +2012-12-04 15:14:22.204267 E [35331:70215367611540] Celluloid -- RubySkynet::Server crashed! +NoMethodError: undefined method `read_bson_document' for #<RubySkynet::Server:0x007fb89416c0e8> +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/celluloid-0.12.3/lib/celluloid.rb:272:in `method_missing' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/server.rb:105:in `handle_connection' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/celluloid-0.12.3/lib/celluloid/calls.rb:99:in `dispatch' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/celluloid-0.12.3/lib/celluloid/actor.rb:323:in `block in handle_message' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/celluloid-0.12.3/lib/celluloid/tasks/task_fiber.rb:22:in `block in initialize' +2012-12-04 15:14:22.204325 I [35331:70215367611540] RubySkynet::Server: localhost:2100 -- Skynet Server Stopped +2012-12-04 15:14:22.205644 T [35331:70215367088860] [50be599e6b69338a03000001] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "9\x00\x00\x00" +2012-12-04 15:14:22.205678 D [35331:70215367088860] [50be599e6b69338a03000001] (0.1ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 4 bytes +2012-12-04 15:14:22.205759 T [35331:70215367088860] [50be599e6b69338a03000001] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "\bregistered\x00\x01\x02clientid\x00\x19\x00\x00\x0050be599e6b69338a03000002\x00\x00" +2012-12-04 15:14:22.205770 D [35331:70215367088860] [50be599e6b69338a03000001] (0.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 53 bytes +2012-12-04 15:14:22.205842 T [35331:70215367088860] [50be599e6b69338a03000001] RubySkynet::Connection: localhost:2100 -- Service Handshake -- {"registered"=>true, "clientid"=>"50be599e6b69338a03000002"} +2012-12-04 15:14:22.205860 D [35331:70215367088860] [50be599e6b69338a03000001] RubySkynet::Connection: localhost:2100 -- Sending Client Handshake +2012-12-04 15:14:22.205869 T [35331:70215367088860] [50be599e6b69338a03000001] RubySkynet::Connection: localhost:2100 -- Client Handshake -- {"clientid"=>"50be599e6b69338a03000002"} +2012-12-04 15:14:22.205895 T [35331:70215367088860] [50be599e6b69338a03000001] ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sending -- ,clientid50be599e6b69338a03000002 +2012-12-04 15:14:22.206648 D [35331:70215367088860] [50be599e6b69338a03000001] (0.7ms) ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sent 44 bytes +2012-12-04 15:14:22.206742 D [35331:70215367088860] [50be599e6b69338a03000001] RubySkynet::Connection: localhost:2100 -- Sending Header +2012-12-04 15:14:22.206760 T [35331:70215367088860] [50be599e6b69338a03000001] RubySkynet::Connection: localhost:2100 -- Header -- {"servicemethod"=>"RubySkynet.Service.Forward", "seq"=>0} +2012-12-04 15:14:22.206786 T [35331:70215367088860] [50be599e6b69338a03000001] ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sending -- <servicemethodRubySkynet.Service.Forwardseq +2012-12-04 15:14:22.206833 D [35331:70215367088860] [50be599e6b69338a03000001] (0.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sent 60 bytes +2012-12-04 15:14:22.206870 D [35331:70215367088860] [50be599e6b69338a03000001] RubySkynet::Connection: localhost:2100 -- Sending Request +2012-12-04 15:14:22.206881 T [35331:70215367088860] [50be599e6b69338a03000001] RubySkynet::Connection: localhost:2100 -- Request -- {"clientid"=>"50be599e6b69338a03000002", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"echo", "requestinfo"=>{"requestid"=>"50be599e6b69338a03000001", "retrycount"=>0, "originaddress"=>""}} +2012-12-04 15:14:22.206889 T [35331:70215367088860] [50be599e6b69338a03000001] RubySkynet::Connection: localhost:2100 -- Parameters: -- {"some"=>"parameters"} +2012-12-04 15:14:22.206909 T [35331:70215367088860] [50be599e6b69338a03000001] ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sending -- clientid50be599e6b69338a03000002insome parametersmethodechorequestinfoQrequestid50be599e6b69338a03000001retrycountoriginaddress +2012-12-04 15:14:22.206953 D [35331:70215367088860] [50be599e6b69338a03000001] (0.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sent 190 bytes +2012-12-04 15:14:22.206970 D [35331:70215367088860] [50be599e6b69338a03000001] RubySkynet::Connection: localhost:2100 -- Reading header from server +2012-12-04 15:15:22.178060 W [35331:70215367088860] [50be599e6b69338a03000001] ResilientSocket::TCPClient ["localhost:2100"] -- #read Timeout waiting for server to reply +2012-12-04 15:15:22.178233 D [35331:70215367088860] [50be599e6b69338a03000001] (59971.2ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 4 bytes -- ResilientSocket::ReadTimeout: Timedout after 60.0 seconds trying to read from localhost:2100 +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.2.1/lib/resilient_socket/tcp_client.rb:364:in `block in read' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.7.0/lib/semantic_logger/base.rb:181:in `benchmark_debug' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.2.1/lib/resilient_socket/tcp_client.rb:357:in `read' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/common.rb:10:in `read_bson_document' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:178:in `rpc_call' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:65:in `block (3 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/gene_pool-1.3.0/lib/gene_pool.rb:134:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:214:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:64:in `block (2 levels) in call' /Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.7.0/lib/semantic_logger/base.rb:181:in `benchmark_info' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:541:in `connect_to_server' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:304:in `connect' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:232:in `initialize' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:36:in `new' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:36:in `initialize' -/Users/rmorrison/Sandbox/ruby_skynet/test/doozer_client_test.rb:22:in `new' -/Users/rmorrison/Sandbox/ruby_skynet/test/doozer_client_test.rb:22:in `block (4 levels) in <class:DoozerClientTest>' -/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:330:in `assert_raises' -/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/assertions.rb:69:in `assert_raise' -/Users/rmorrison/Sandbox/ruby_skynet/test/doozer_client_test.rb:21:in `block (3 levels) in <class:DoozerClientTest>' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:60:in `block in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.7.0/lib/semantic_logger/base.rb:161:in `with_tags' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:59:in `call' +/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_service_test.rb:56:in `block (4 levels) in <class:RubySkynetServiceTest>' /Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.0/lib/shoulda/context/context.rb:398:in `call' /Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.0/lib/shoulda/context/context.rb:398:in `block in create_test_from_should_hash' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:949:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/testcase.rb:17:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:787:in `block in _run_suite' @@ -215,24 +99,25 @@ /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:884:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:21:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:326:in `block (2 levels) in autorun' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:27:in `run_once' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:325:in `block in autorun' -2012-10-18 16:24:41.082419 I [1115:70296296184540] (507.0ms) ResilientSocket::TCPClient ["localhost:9999"] -- Connecting to server localhost:9999 -- ResilientSocket::ConnectionFailure: After 5 connection attempts to host 'localhost:9999': Errno::ECONNREFUSED: Connection refused - connect(2) -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:570:in `rescue in block in connect_to_server' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:548:in `block in connect_to_server' +2012-12-04 15:15:22.178293 I [35331:70215367088860] [50be599e6b69338a03000001] (59982.6ms) RubySkynet::Client: RubySkynet.Service/1/Test -- Called Skynet Service: RubySkynet.Service.echo -- ResilientSocket::ReadTimeout: Timedout after 60.0 seconds trying to read from localhost:2100 +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.2.1/lib/resilient_socket/tcp_client.rb:364:in `block in read' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.7.0/lib/semantic_logger/base.rb:181:in `benchmark_debug' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.2.1/lib/resilient_socket/tcp_client.rb:357:in `read' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/common.rb:10:in `read_bson_document' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:178:in `rpc_call' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:65:in `block (3 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/gene_pool-1.3.0/lib/gene_pool.rb:134:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:214:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:64:in `block (2 levels) in call' /Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.7.0/lib/semantic_logger/base.rb:181:in `benchmark_info' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:541:in `connect_to_server' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:304:in `connect' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:232:in `initialize' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:36:in `new' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:36:in `initialize' -/Users/rmorrison/Sandbox/ruby_skynet/test/doozer_client_test.rb:22:in `new' -/Users/rmorrison/Sandbox/ruby_skynet/test/doozer_client_test.rb:22:in `block (4 levels) in <class:DoozerClientTest>' -/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:330:in `assert_raises' -/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/assertions.rb:69:in `assert_raise' -/Users/rmorrison/Sandbox/ruby_skynet/test/doozer_client_test.rb:21:in `block (3 levels) in <class:DoozerClientTest>' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:60:in `block in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.7.0/lib/semantic_logger/base.rb:161:in `with_tags' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:59:in `call' +/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_service_test.rb:56:in `block (4 levels) in <class:RubySkynetServiceTest>' /Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.0/lib/shoulda/context/context.rb:398:in `call' /Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.0/lib/shoulda/context/context.rb:398:in `block in create_test_from_should_hash' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:949:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/testcase.rb:17:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:787:in `block in _run_suite' @@ -248,24 +133,294 @@ /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:895:in `_run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:884:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:21:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:326:in `block (2 levels) in autorun' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:27:in `run_once' -/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:325:in `block in autorun' -- ResilientSocket::ConnectionFailure: After 5 connection attempts to host 'localhost:9999': Errno::ECONNREFUSED: Connection refused - connect(2) -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:570:in `rescue in block in connect_to_server' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:548:in `block in connect_to_server' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:325:in `block in autorun' +2012-12-04 15:15:22.185655 D [35331:70215367611540] RubySkynet::Server: localhost:2100 -- Waiting for a client to connect +2012-12-04 15:15:22.186070 I [35331:70215367611540] RubySkynet::Server: localhost:2100 -- Skynet Server Stopped +2012-12-04 15:15:22.187389 D [35331:70215367611540] RubySkynet::Server: localhost:2100 -- Waiting for a client to connect +2012-12-04 15:15:22.187648 D [35331:70215367088860] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fb89410ece0>(70215367423600) self=connections=70215367423600 checked_out=70215367423600 with_map= +2012-12-04 15:15:22.187969 T [35331:70215367088860] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- 8"2/services/RubySkynet.Service/1/Test/localhost/2100 +2012-12-04 15:15:22.188309 D [35331:70215367088860] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 60 bytes +2012-12-04 15:15:22.188547 T [35331:70215367088860] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\xE4" +2012-12-04 15:15:22.188563 D [35331:70215367088860] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-04 15:15:22.188747 T [35331:70215367088860] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\x97\x032\xDC\x01{\"Config\":{\"UUID\":\"localhost:2100-35331-RubySkynet::Service-70215371353000\",\"Name\":\"RubySkynet.Service\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-04 15:15:22.188759 D [35331:70215367088860] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 228 bytes +2012-12-04 15:15:22.188885 D [35331:70215367088860] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fb89410ece0>(70215367423600) self=connections=70215367423600 checked_out= with_map= +2012-12-04 15:15:22.189594 I [35331:70215367611540] RubySkynet::Server: localhost:2100 -- Skynet Server Stopped +2012-12-04 15:15:22.191312 I [35331:70215367088860] Celluloid -- Terminating 4 actors... +2012-12-04 15:15:22.192185 I [35331:70215367088860] Celluloid -- Shutdown completed cleanly +2012-12-04 15:20:20.493065 D [35596:70148397708140] RubySkynet::Server: localhost:2100 -- Waiting for a client to connect +2012-12-04 15:20:53.337725 D [35596:70148392442580] RubySkynet::Registry -- Doozer Connection Pool: Created connection #1 #<Thread:0x007f996406b5a8>(70148392442580) for Doozer Connection Pool +2012-12-04 15:20:53.394025 T [35596:70148392442580] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007f99641e27d8@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-04 15:20:53.397892 D [35596:70148392442580] RubySkynet::Registry -- Doozer Connection Pool: Renewed connection old=70148392442580 new=#<RubySkynet::Doozer::Client:0x007f99641e2918>(70148393211020) +2012-12-04 15:20:53.397942 D [35596:70148392442580] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f99641e2918>(70148393211020) self=connections=70148393211020 checked_out=70148393211020 with_map= +2012-12-04 15:20:53.423346 T [35596:70148392442580] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- ""2/services/RubySkynet.Service/1/Test/localhost/2100*{"Config":{"UUID":"localhost:2100-35596-RubySkynet::Service-70148397749760","Name":"RubySkynet.Service","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"localhost","Port":2100,"MaxPort":3099}},"Registered":true}H +2012-12-04 15:20:53.423494 D [35596:70148392442580] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 294 bytes +2012-12-04 15:20:53.425577 T [35596:70148392442580] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-04 15:20:53.425594 D [35596:70148392442580] (2.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-04 15:20:53.430395 T [35596:70148392442580] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\x9E\x06" +2012-12-04 15:20:53.430418 D [35596:70148392442580] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-04 15:20:53.430902 D [35596:70148392442580] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007f99641e2918>(70148393211020) self=connections=70148393211020 checked_out= with_map= +2012-12-04 15:21:31.593337 I [35596:70148392442580] Celluloid -- Terminating 5 actors... +2012-12-04 15:21:31.594322 I [35596:70148397708140] RubySkynet::Server: localhost:2100 -- Skynet Server Stopped +2012-12-04 15:21:31.594913 I [35596:70148392442580] Celluloid -- Shutdown completed cleanly +2012-12-04 15:21:41.473751 D [35844:70313883363800] RubySkynet::Server: localhost:2100 -- Waiting for a client to connect +2012-12-04 15:21:59.942573 D [35844:70313878706900] RubySkynet::Registry -- Doozer Connection Pool: Created connection #1 #<Thread:0x007fe67386b5a8>(70313878706900) for Doozer Connection Pool +2012-12-04 15:21:59.977654 T [35844:70313878706900] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007fe673a330c0@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-04 15:21:59.981217 D [35844:70313878706900] RubySkynet::Registry -- Doozer Connection Pool: Renewed connection old=70313878706900 new=#<RubySkynet::Doozer::Client:0x007fe673a33200>(70313879640320) +2012-12-04 15:21:59.981262 D [35844:70313878706900] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fe673a33200>(70313879640320) self=connections=70313879640320 checked_out=70313879640320 with_map= +2012-12-04 15:21:59.993051 T [35844:70313878706900] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- 0"9/services/RubySkynet.Service/1/Development/localhost/2100*{"Config":{"UUID":"localhost:2100-35844-RubySkynet::Service-70313883461740","Name":"RubySkynet.Service","Version":"1","Region":"Development","ServiceAddr":{"IPAddress":"localhost","Port":2100,"MaxPort":3099}},"Registered":true}H +2012-12-04 15:21:59.993299 D [35844:70313878706900] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 308 bytes +2012-12-04 15:21:59.994791 T [35844:70313878706900] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-04 15:21:59.994803 D [35844:70313878706900] (1.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-04 15:21:59.997113 T [35844:70313878706900] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xE1\x06" +2012-12-04 15:21:59.997130 D [35844:70313878706900] (2.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-04 15:21:59.997303 D [35844:70313878706900] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fe673a33200>(70313879640320) self=connections=70313879640320 checked_out= with_map= +2012-12-04 15:22:23.686619 D [35844:70313878706900] [50be5b7f6b69338c04000001] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fe673a33200>(70313879640320) self=connections=70313879640320 checked_out=70313879640320 with_map= +2012-12-04 15:22:23.686907 T [35844:70313878706900] [50be5b7f6b69338c04000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  +2012-12-04 15:22:23.687208 D [35844:70313878706900] [50be5b7f6b69338c04000001] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 8 bytes +2012-12-04 15:22:23.687276 T [35844:70313878706900] [50be5b7f6b69338c04000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-04 15:22:23.687283 D [35844:70313878706900] [50be5b7f6b69338c04000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-04 15:22:23.687663 T [35844:70313878706900] [50be5b7f6b69338c04000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xF9\x06" +2012-12-04 15:22:23.687671 D [35844:70313878706900] [50be5b7f6b69338c04000001] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-04 15:22:23.687998 T [35844:70313878706900] [50be5b7f6b69338c04000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H +2012-12-04 15:22:23.688044 D [35844:70313878706900] [50be5b7f6b69338c04000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-04 15:22:23.688636 T [35844:70313878706900] [50be5b7f6b69338c04000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01(" +2012-12-04 15:22:23.688649 D [35844:70313878706900] [50be5b7f6b69338c04000001] (0.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-04 15:22:23.688728 T [35844:70313878706900] [50be5b7f6b69338c04000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xE1\x06*9/services/RubySkynet.Service/1/Development/localhost/21002\xE3\x01{\"Config\":{\"UUID\":\"localhost:2100-35844-RubySkynet::Service-70313883461740\",\"Name\":\"RubySkynet.Service\",\"Version\":\"1\",\"Region\":\"Development\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-04 15:22:23.688735 D [35844:70313878706900] [50be5b7f6b69338c04000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 296 bytes +2012-12-04 15:22:23.689070 T [35844:70313878706900] [50be5b7f6b69338c04000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H +2012-12-04 15:22:23.689117 D [35844:70313878706900] [50be5b7f6b69338c04000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-04 15:22:23.689940 T [35844:70313878706900] [50be5b7f6b69338c04000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01\x1A" +2012-12-04 15:22:23.689954 D [35844:70313878706900] [50be5b7f6b69338c04000001] (0.8ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-04 15:22:23.690151 T [35844:70313878706900] [50be5b7f6b69338c04000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\x9E\x06*2/services/RubySkynet.Service/1/Test/localhost/21002\xDC\x01{\"Config\":{\"UUID\":\"localhost:2100-35596-RubySkynet::Service-70148397749760\",\"Name\":\"RubySkynet.Service\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-04 15:22:23.690160 D [35844:70313878706900] [50be5b7f6b69338c04000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 282 bytes +2012-12-04 15:22:23.690492 T [35844:70313878706900] [50be5b7f6b69338c04000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H +2012-12-04 15:22:23.690544 D [35844:70313878706900] [50be5b7f6b69338c04000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-04 15:22:23.691614 T [35844:70313878706900] [50be5b7f6b69338c04000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-04 15:22:23.691693 D [35844:70313878706900] [50be5b7f6b69338c04000001] (1.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-04 15:22:23.691762 T [35844:70313878706900] [50be5b7f6b69338c04000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\xA0\x06\b" +2012-12-04 15:22:23.691769 D [35844:70313878706900] [50be5b7f6b69338c04000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-04 15:22:23.691984 D [35844:70313878706900] [50be5b7f6b69338c04000001] RubySkynet::Registry -- #start_monitoring Add Service: RubySkynet.Service/1/Development => localhost:2100 +2012-12-04 15:22:23.692046 D [35844:70313878706900] [50be5b7f6b69338c04000001] RubySkynet::Registry -- #start_monitoring Add Service: RubySkynet.Service/1/Test => localhost:2100 +2012-12-04 15:22:23.692095 D [35844:70313878706900] [50be5b7f6b69338c04000001] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fe673a33200>(70313879640320) self=connections=70313879640320 checked_out= with_map= +2012-12-04 15:22:23.692328 W [35844:70313878706900] [50be5b7f6b69338c04000001] RubySkynet::Registry -- No servers available for service: Service with version: * in region: Development +2012-12-04 15:22:23.692407 I [35844:70313878706900] [50be5b7f6b69338c04000001] (9.4ms) RubySkynet::Client: Service/*/Development -- Called Skynet Service: Service.echo -- RubySkynet::ServiceUnavailable: No servers available for service: Service with version: * in region: Development +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/registry.rb:92:in `server_for' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:64:in `block (2 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.9.0/lib/semantic_logger/base.rb:146:in `benchmark_info' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:60:in `block in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.9.0/lib/semantic_logger/base.rb:126:in `with_tags' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:59:in `call' +(irb):10:in `irb_binding' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/workspace.rb:80:in `eval' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/workspace.rb:80:in `evaluate' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/context.rb:254:in `evaluate' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:159:in `block (2 levels) in eval_input' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:273:in `signal_status' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:156:in `block in eval_input' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:243:in `block (2 levels) in each_top_level_statement' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:229:in `loop' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:229:in `block in each_top_level_statement' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:228:in `catch' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:228:in `each_top_level_statement' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:155:in `eval_input' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:70:in `block in start' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:69:in `catch' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:69:in `start' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/bin/irb:16:in `<main>' +2012-12-04 15:22:23.693627 I [35844:70313883532000] RubySkynet::Registry -- Start monitoring /services/*/*/*/*/* +2012-12-04 15:22:23.693719 T [35844:70313883532000] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007fe6741ba7d0@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-04 15:22:23.699857 T [35844:70313883532000] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-04 15:22:23.699981 D [35844:70313883532000] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-04 15:22:57.850688 D [35844:70313878706900] [50be5ba16b69338c04000002] RubySkynet::Connection: localhost:2100 -- Waiting for Service Handshake +2012-12-04 15:22:57.851398 D [35844:70313883363800] RubySkynet::Server: localhost:2100 -- Waiting for a client to connect +2012-12-04 15:22:57.851498 D [35844:70313883363800] RubySkynet::Server: localhost:2100 -- Client connected, waiting for data from client +2012-12-04 15:22:57.851980 E [35844:70313883363800] Celluloid -- RubySkynet::Server crashed! +NoMethodError: undefined method `read_bson_document' for #<RubySkynet::Server:0x007fe67414da40> +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/celluloid-0.12.3/lib/celluloid.rb:272:in `method_missing' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/server.rb:105:in `handle_connection' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/celluloid-0.12.3/lib/celluloid/calls.rb:99:in `dispatch' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/celluloid-0.12.3/lib/celluloid/actor.rb:323:in `block in handle_message' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/celluloid-0.12.3/lib/celluloid/tasks/task_fiber.rb:22:in `block in initialize' +2012-12-04 15:22:57.852050 I [35844:70313883363800] RubySkynet::Server: localhost:2100 -- Skynet Server Stopped +2012-12-04 15:22:57.853100 T [35844:70313878706900] [50be5ba16b69338c04000002] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "9\x00\x00\x00" +2012-12-04 15:22:57.853115 D [35844:70313878706900] [50be5ba16b69338c04000002] (0.1ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 4 bytes +2012-12-04 15:22:57.853168 T [35844:70313878706900] [50be5ba16b69338c04000002] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "\bregistered\x00\x01\x02clientid\x00\x19\x00\x00\x0050be5ba16b69338c04000003\x00\x00" +2012-12-04 15:22:57.853174 D [35844:70313878706900] [50be5ba16b69338c04000002] (0.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 53 bytes +2012-12-04 15:22:57.853223 T [35844:70313878706900] [50be5ba16b69338c04000002] RubySkynet::Connection: localhost:2100 -- Service Handshake -- {"registered"=>true, "clientid"=>"50be5ba16b69338c04000003"} +2012-12-04 15:22:57.853236 D [35844:70313878706900] [50be5ba16b69338c04000002] RubySkynet::Connection: localhost:2100 -- Sending Client Handshake +2012-12-04 15:22:57.853242 T [35844:70313878706900] [50be5ba16b69338c04000002] RubySkynet::Connection: localhost:2100 -- Client Handshake -- {"clientid"=>"50be5ba16b69338c04000003"} +2012-12-04 15:22:57.853259 T [35844:70313878706900] [50be5ba16b69338c04000002] ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sending -- ,clientid50be5ba16b69338c04000003 +2012-12-04 15:22:57.853358 D [35844:70313878706900] [50be5ba16b69338c04000002] (0.1ms) ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sent 44 bytes +2012-12-04 15:22:57.853423 D [35844:70313878706900] [50be5ba16b69338c04000002] RubySkynet::Connection: localhost:2100 -- Sending Header +2012-12-04 15:22:57.853432 T [35844:70313878706900] [50be5ba16b69338c04000002] RubySkynet::Connection: localhost:2100 -- Header -- {"servicemethod"=>"RubySkynet.Service.Forward", "seq"=>0} +2012-12-04 15:22:57.853453 T [35844:70313878706900] [50be5ba16b69338c04000002] ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sending -- <servicemethodRubySkynet.Service.Forwardseq +2012-12-04 15:22:57.853532 D [35844:70313878706900] [50be5ba16b69338c04000002] (0.1ms) ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sent 60 bytes +2012-12-04 15:22:57.853568 D [35844:70313878706900] [50be5ba16b69338c04000002] RubySkynet::Connection: localhost:2100 -- Sending Request +2012-12-04 15:22:57.853575 T [35844:70313878706900] [50be5ba16b69338c04000002] RubySkynet::Connection: localhost:2100 -- Request -- {"clientid"=>"50be5ba16b69338c04000003", "in"=>"\x10\x00\x00\x00\x10value\x00\x05\x00\x00\x00\x00", "method"=>"echo", "requestinfo"=>{"requestid"=>"50be5ba16b69338c04000002", "retrycount"=>0, "originaddress"=>""}} +2012-12-04 15:22:57.853580 T [35844:70313878706900] [50be5ba16b69338c04000002] RubySkynet::Connection: localhost:2100 -- Parameters: -- {:value=>5} +2012-12-04 15:22:57.853597 T [35844:70313878706900] [50be5ba16b69338c04000002] ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sending -- clientid50be5ba16b69338c04000003invaluemethodechorequestinfoQrequestid50be5ba16b69338c04000002retrycountoriginaddress +2012-12-04 15:22:57.853662 D [35844:70313878706900] [50be5ba16b69338c04000002] (0.1ms) ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sent 180 bytes +2012-12-04 15:22:57.853676 D [35844:70313878706900] [50be5ba16b69338c04000002] RubySkynet::Connection: localhost:2100 -- Reading header from server +2012-12-04 15:23:57.824984 W [35844:70313878706900] [50be5ba16b69338c04000002] ResilientSocket::TCPClient ["localhost:2100"] -- #read Timeout waiting for server to reply +2012-12-04 15:23:57.825287 D [35844:70313878706900] [50be5ba16b69338c04000002] (59971.6ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 4 bytes -- ResilientSocket::ReadTimeout: Timedout after 60.0 seconds trying to read from localhost:2100 +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:391:in `block in read' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.9.0/lib/semantic_logger/base.rb:146:in `benchmark_debug' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:373:in `read' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/common.rb:10:in `read_bson_document' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:178:in `rpc_call' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:65:in `block (3 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/gene_pool-1.3.0/lib/gene_pool.rb:134:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:214:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:64:in `block (2 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.9.0/lib/semantic_logger/base.rb:146:in `benchmark_info' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:60:in `block in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.9.0/lib/semantic_logger/base.rb:126:in `with_tags' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:59:in `call' +(irb):12:in `irb_binding' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/workspace.rb:80:in `eval' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/workspace.rb:80:in `evaluate' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/context.rb:254:in `evaluate' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:159:in `block (2 levels) in eval_input' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:273:in `signal_status' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:156:in `block in eval_input' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:243:in `block (2 levels) in each_top_level_statement' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:229:in `loop' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:229:in `block in each_top_level_statement' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:228:in `catch' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:228:in `each_top_level_statement' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:155:in `eval_input' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:70:in `block in start' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:69:in `catch' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:69:in `start' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/bin/irb:16:in `<main>' +2012-12-04 15:23:57.825400 I [35844:70313878706900] [50be5ba16b69338c04000002] (59976.1ms) RubySkynet::Client: RubySkynet.Service/*/Development -- Called Skynet Service: RubySkynet.Service.echo -- ResilientSocket::ReadTimeout: Timedout after 60.0 seconds trying to read from localhost:2100 +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:391:in `block in read' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.9.0/lib/semantic_logger/base.rb:146:in `benchmark_debug' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:373:in `read' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/common.rb:10:in `read_bson_document' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:178:in `rpc_call' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:65:in `block (3 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/gene_pool-1.3.0/lib/gene_pool.rb:134:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:214:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:64:in `block (2 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.9.0/lib/semantic_logger/base.rb:146:in `benchmark_info' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:60:in `block in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.9.0/lib/semantic_logger/base.rb:126:in `with_tags' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:59:in `call' +(irb):12:in `irb_binding' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/workspace.rb:80:in `eval' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/workspace.rb:80:in `evaluate' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/context.rb:254:in `evaluate' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:159:in `block (2 levels) in eval_input' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:273:in `signal_status' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:156:in `block in eval_input' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:243:in `block (2 levels) in each_top_level_statement' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:229:in `loop' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:229:in `block in each_top_level_statement' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:228:in `catch' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:228:in `each_top_level_statement' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:155:in `eval_input' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:70:in `block in start' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:69:in `catch' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:69:in `start' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/bin/irb:16:in `<main>' +2012-12-04 15:26:02.752110 I [35844:70313878706900] Celluloid -- Terminating 4 actors... +2012-12-04 15:26:02.759190 I [35844:70313878706900] Celluloid -- Shutdown completed cleanly +2012-12-04 15:26:53.298807 D [35995:70270657065320] RubySkynet::Server: localhost:2100 -- Waiting for a client to connect +2012-12-04 15:26:53.308942 D [35995:70270656404180] RubySkynet::Registry -- Doozer Connection Pool: Created connection #1 #<Thread:0x007fd25306b5a8>(70270656404180) for Doozer Connection Pool +2012-12-04 15:26:53.350085 T [35995:70270656404180] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007fd253028c08@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-04 15:26:53.353938 D [35995:70270656404180] RubySkynet::Registry -- Doozer Connection Pool: Renewed connection old=70270656404180 new=#<RubySkynet::Doozer::Client:0x007fd253029018>(70270656268300) +2012-12-04 15:26:53.353992 D [35995:70270656404180] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fd253029018>(70270656268300) self=connections=70270656268300 checked_out=70270656268300 with_map= +2012-12-04 15:26:53.364997 T [35995:70270656404180] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- ""2/services/RubySkynet.Service/1/Test/localhost/2100*{"Config":{"UUID":"localhost:2100-35995-RubySkynet::Service-70270661201940","Name":"RubySkynet.Service","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"localhost","Port":2100,"MaxPort":3099}},"Registered":true}H +2012-12-04 15:26:53.365905 D [35995:70270656404180] (0.9ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 294 bytes +2012-12-04 15:26:53.367303 T [35995:70270656404180] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-04 15:26:53.367347 D [35995:70270656404180] (1.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-04 15:26:53.369900 T [35995:70270656404180] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\x87\t" +2012-12-04 15:26:53.369976 D [35995:70270656404180] (2.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-04 15:26:53.370177 D [35995:70270656404180] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fd253029018>(70270656268300) self=connections=70270656268300 checked_out= with_map= +2012-12-04 15:26:53.374861 D [35995:70270656404180] [50be5c8d6b69338c9b000001] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fd253029018>(70270656268300) self=connections=70270656268300 checked_out=70270656268300 with_map= +2012-12-04 15:26:53.375101 T [35995:70270656404180] [50be5c8d6b69338c9b000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  +2012-12-04 15:26:53.375421 D [35995:70270656404180] [50be5c8d6b69338c9b000001] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 8 bytes +2012-12-04 15:26:53.375609 T [35995:70270656404180] [50be5c8d6b69338c9b000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-04 15:26:53.375622 D [35995:70270656404180] [50be5c8d6b69338c9b000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-04 15:26:53.376026 T [35995:70270656404180] [50be5c8d6b69338c9b000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\x87\t" +2012-12-04 15:26:53.376067 D [35995:70270656404180] [50be5c8d6b69338c9b000001] (0.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-04 15:26:53.376385 T [35995:70270656404180] [50be5c8d6b69338c9b000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H +2012-12-04 15:26:53.376433 D [35995:70270656404180] [50be5c8d6b69338c9b000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-04 15:26:53.377080 T [35995:70270656404180] [50be5c8d6b69338c9b000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01(" +2012-12-04 15:26:53.377123 D [35995:70270656404180] [50be5c8d6b69338c9b000001] (0.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-04 15:26:53.377457 T [35995:70270656404180] [50be5c8d6b69338c9b000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xE1\x06*9/services/RubySkynet.Service/1/Development/localhost/21002\xE3\x01{\"Config\":{\"UUID\":\"localhost:2100-35844-RubySkynet::Service-70313883461740\",\"Name\":\"RubySkynet.Service\",\"Version\":\"1\",\"Region\":\"Development\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-04 15:26:53.377491 D [35995:70270656404180] [50be5c8d6b69338c9b000001] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 296 bytes +2012-12-04 15:26:53.377786 T [35995:70270656404180] [50be5c8d6b69338c9b000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H +2012-12-04 15:26:53.377833 D [35995:70270656404180] [50be5c8d6b69338c9b000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-04 15:26:53.378235 T [35995:70270656404180] [50be5c8d6b69338c9b000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01\x1A" +2012-12-04 15:26:53.378330 D [35995:70270656404180] [50be5c8d6b69338c9b000001] (0.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-04 15:26:53.378713 T [35995:70270656404180] [50be5c8d6b69338c9b000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\x87\t*2/services/RubySkynet.Service/1/Test/localhost/21002\xDC\x01{\"Config\":{\"UUID\":\"localhost:2100-35995-RubySkynet::Service-70270661201940\",\"Name\":\"RubySkynet.Service\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-04 15:26:53.378760 D [35995:70270656404180] [50be5c8d6b69338c9b000001] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 282 bytes +2012-12-04 15:26:53.379040 T [35995:70270656404180] [50be5c8d6b69338c9b000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H +2012-12-04 15:26:53.379086 D [35995:70270656404180] [50be5c8d6b69338c9b000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-04 15:26:53.379730 T [35995:70270656404180] [50be5c8d6b69338c9b000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-04 15:26:53.379747 D [35995:70270656404180] [50be5c8d6b69338c9b000001] (0.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-04 15:26:53.380082 T [35995:70270656404180] [50be5c8d6b69338c9b000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\xA0\x06\b" +2012-12-04 15:26:53.380137 D [35995:70270656404180] [50be5c8d6b69338c9b000001] (0.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-04 15:26:53.380334 D [35995:70270656404180] [50be5c8d6b69338c9b000001] RubySkynet::Registry -- #start_monitoring Add Service: RubySkynet.Service/1/Development => localhost:2100 +2012-12-04 15:26:53.380389 D [35995:70270656404180] [50be5c8d6b69338c9b000001] RubySkynet::Registry -- #start_monitoring Add Service: RubySkynet.Service/1/Test => localhost:2100 +2012-12-04 15:26:53.380430 D [35995:70270656404180] [50be5c8d6b69338c9b000001] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fd253029018>(70270656268300) self=connections=70270656268300 checked_out= with_map= +2012-12-04 15:26:53.381594 I [35995:70270657649500] RubySkynet::Registry -- Start monitoring /services/*/*/*/*/* +2012-12-04 15:26:53.381635 T [35995:70270657649500] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007fd253229548@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-04 15:26:53.382688 D [35995:70270656404180] [50be5c8d6b69338c9b000001] RubySkynet::Connection: localhost:2100 -- Waiting for Service Handshake +2012-12-04 15:26:53.383520 D [35995:70270657065320] RubySkynet::Server: localhost:2100 -- Waiting for a client to connect +2012-12-04 15:26:53.383622 D [35995:70270657065320] RubySkynet::Server: localhost:2100 -- Client connected, waiting for data from client +2012-12-04 15:26:53.383984 E [35995:70270657065320] Celluloid -- RubySkynet::Server crashed! +NoMethodError: undefined method `read_bson_document' for #<RubySkynet::Server:0x007fd2530d52c8> +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/celluloid-0.12.3/lib/celluloid.rb:272:in `method_missing' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/server.rb:105:in `handle_connection' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/celluloid-0.12.3/lib/celluloid/calls.rb:99:in `dispatch' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/celluloid-0.12.3/lib/celluloid/actor.rb:323:in `block in handle_message' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/celluloid-0.12.3/lib/celluloid/tasks/task_fiber.rb:22:in `block in initialize' +2012-12-04 15:26:53.384030 I [35995:70270657065320] RubySkynet::Server: localhost:2100 -- Skynet Server Stopped +2012-12-04 15:26:53.384966 T [35995:70270656404180] [50be5c8d6b69338c9b000001] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "9\x00\x00\x00" +2012-12-04 15:26:53.384980 D [35995:70270656404180] [50be5c8d6b69338c9b000001] (1.7ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 4 bytes +2012-12-04 15:26:53.385040 T [35995:70270656404180] [50be5c8d6b69338c9b000001] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "\bregistered\x00\x01\x02clientid\x00\x19\x00\x00\x0050be5c8d6b69338c9b000002\x00\x00" +2012-12-04 15:26:53.385050 D [35995:70270656404180] [50be5c8d6b69338c9b000001] (0.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 53 bytes +2012-12-04 15:26:53.385102 T [35995:70270656404180] [50be5c8d6b69338c9b000001] RubySkynet::Connection: localhost:2100 -- Service Handshake -- {"registered"=>true, "clientid"=>"50be5c8d6b69338c9b000002"} +2012-12-04 15:26:53.385118 D [35995:70270656404180] [50be5c8d6b69338c9b000001] RubySkynet::Connection: localhost:2100 -- Sending Client Handshake +2012-12-04 15:26:53.385127 T [35995:70270656404180] [50be5c8d6b69338c9b000001] RubySkynet::Connection: localhost:2100 -- Client Handshake -- {"clientid"=>"50be5c8d6b69338c9b000002"} +2012-12-04 15:26:53.385148 T [35995:70270656404180] [50be5c8d6b69338c9b000001] ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sending -- ,clientid50be5c8d6b69338c9b000002 +2012-12-04 15:26:53.385195 D [35995:70270656404180] [50be5c8d6b69338c9b000001] (0.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sent 44 bytes +2012-12-04 15:26:53.385259 D [35995:70270656404180] [50be5c8d6b69338c9b000001] RubySkynet::Connection: localhost:2100 -- Sending Header +2012-12-04 15:26:53.385276 T [35995:70270656404180] [50be5c8d6b69338c9b000001] RubySkynet::Connection: localhost:2100 -- Header -- {"servicemethod"=>"RubySkynet.Service.Forward", "seq"=>0} +2012-12-04 15:26:53.385300 T [35995:70270656404180] [50be5c8d6b69338c9b000001] ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sending -- <servicemethodRubySkynet.Service.Forwardseq +2012-12-04 15:26:53.385347 D [35995:70270656404180] [50be5c8d6b69338c9b000001] (0.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sent 60 bytes +2012-12-04 15:26:53.385384 D [35995:70270656404180] [50be5c8d6b69338c9b000001] RubySkynet::Connection: localhost:2100 -- Sending Request +2012-12-04 15:26:53.385395 T [35995:70270656404180] [50be5c8d6b69338c9b000001] RubySkynet::Connection: localhost:2100 -- Request -- {"clientid"=>"50be5c8d6b69338c9b000002", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"echo", "requestinfo"=>{"requestid"=>"50be5c8d6b69338c9b000001", "retrycount"=>0, "originaddress"=>""}} +2012-12-04 15:26:53.385404 T [35995:70270656404180] [50be5c8d6b69338c9b000001] RubySkynet::Connection: localhost:2100 -- Parameters: -- {"some"=>"parameters"} +2012-12-04 15:26:53.385424 T [35995:70270656404180] [50be5c8d6b69338c9b000001] ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sending -- clientid50be5c8d6b69338c9b000002insome parametersmethodechorequestinfoQrequestid50be5c8d6b69338c9b000001retrycountoriginaddress +2012-12-04 15:26:53.385468 D [35995:70270656404180] [50be5c8d6b69338c9b000001] (0.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sent 190 bytes +2012-12-04 15:26:53.385485 D [35995:70270656404180] [50be5c8d6b69338c9b000001] RubySkynet::Connection: localhost:2100 -- Reading header from server +2012-12-04 15:26:53.385990 T [35995:70270657649500] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-04 15:26:53.386068 D [35995:70270657649500] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-04 15:27:06.561202 D [35995:70270656404180] [50be5c8d6b69338c9b000001] (13175.7ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 4 bytes -- Interrupt: +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.2.1/lib/resilient_socket/tcp_client.rb:361:in `select' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.2.1/lib/resilient_socket/tcp_client.rb:361:in `block in read' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.7.0/lib/semantic_logger/base.rb:181:in `benchmark_debug' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.2.1/lib/resilient_socket/tcp_client.rb:357:in `read' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/common.rb:10:in `read_bson_document' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:178:in `rpc_call' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:65:in `block (3 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/gene_pool-1.3.0/lib/gene_pool.rb:134:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:214:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:64:in `block (2 levels) in call' /Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.7.0/lib/semantic_logger/base.rb:181:in `benchmark_info' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:541:in `connect_to_server' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:304:in `connect' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:232:in `initialize' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:36:in `new' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:36:in `initialize' -/Users/rmorrison/Sandbox/ruby_skynet/test/doozer_client_test.rb:22:in `new' -/Users/rmorrison/Sandbox/ruby_skynet/test/doozer_client_test.rb:22:in `block (4 levels) in <class:DoozerClientTest>' -/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:330:in `assert_raises' -/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/assertions.rb:69:in `assert_raise' -/Users/rmorrison/Sandbox/ruby_skynet/test/doozer_client_test.rb:21:in `block (3 levels) in <class:DoozerClientTest>' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:60:in `block in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.7.0/lib/semantic_logger/base.rb:161:in `with_tags' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:59:in `call' +/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_service_test.rb:56:in `block (4 levels) in <class:RubySkynetServiceTest>' /Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.0/lib/shoulda/context/context.rb:398:in `call' /Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.0/lib/shoulda/context/context.rb:398:in `block in create_test_from_should_hash' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:949:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/testcase.rb:17:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:787:in `block in _run_suite' @@ -282,240 +437,26 @@ /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:884:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:21:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:326:in `block (2 levels) in autorun' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:27:in `run_once' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:325:in `block in autorun' -2012-10-18 16:24:41.099856 D [1115:70296296184540] RubySkynet::Registry -- Doozer Connection Pool: Created connection #1 #<Thread:0x007fde4386b5b8>(70296296184540) for Doozer Connection Pool -2012-10-18 16:24:41.099856 D [1115:70296296184540] RubySkynet::Registry -- Doozer Connection Pool: Created connection #1 #<Thread:0x007fde4386b5b8>(70296296184540) for Doozer Connection Pool -2012-10-18 16:24:41.099957 T [1115:70296296184540] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007fde43b14a80@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -2012-10-18 16:24:41.099957 T [1115:70296296184540] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007fde43b14a80@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007fde43b14a80@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -2012-10-18 16:24:41.100920 D [1115:70296296184540] RubySkynet::Registry -- Doozer Connection Pool: Renewed connection old=70296296184540 new=#<RubySkynet::Doozer::Client:0x007fde43b14c60>(70296297580080) -2012-10-18 16:24:41.100920 D [1115:70296296184540] RubySkynet::Registry -- Doozer Connection Pool: Renewed connection old=70296296184540 new=#<RubySkynet::Doozer::Client:0x007fde43b14c60>(70296297580080) -2012-10-18 16:24:41.100969 D [1115:70296296184540] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fde43b14c60>(70296297580080) self=connections=70296297580080 checked_out=70296297580080 with_map= -2012-10-18 16:24:41.100969 D [1115:70296296184540] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fde43b14c60>(70296297580080) self=connections=70296297580080 checked_out=70296297580080 with_map= -2012-10-18 16:24:41.101423 T [1115:70296296184540] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- #"/services/////2000H -2012-10-18 16:24:41.101423 T [1115:70296296184540] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- #"/services/////2000H -- #"/services/////2000H -2012-10-18 16:24:41.101478 D [1115:70296296184540] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 39 bytes -2012-10-18 16:24:41.101478 D [1115:70296296184540] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 39 bytes -2012-10-18 16:24:41.101785 T [1115:70296296184540] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" -2012-10-18 16:24:41.101785 T [1115:70296296184540] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" -- "\x00\x00\x00\x05" -2012-10-18 16:24:41.101800 D [1115:70296296184540] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:24:41.101800 D [1115:70296296184540] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:24:41.101879 T [1115:70296296184540] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\xA0\x06\x06" -2012-10-18 16:24:41.101879 T [1115:70296296184540] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\xA0\x06\x06" -- "\b\x00\xA0\x06\x06" -2012-10-18 16:24:41.101891 D [1115:70296296184540] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes -2012-10-18 16:24:41.101891 D [1115:70296296184540] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes -2012-10-18 16:24:41.102218 D [1115:70296296184540] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fde43b14c60>(70296297580080) self=connections=70296297580080 checked_out= with_map= -2012-10-18 16:24:41.102218 D [1115:70296296184540] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fde43b14c60>(70296297580080) self=connections=70296297580080 checked_out= with_map= -2012-10-18 16:24:41.102615 D [1115:70296296184540] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fde43b14c60>(70296297580080) self=connections=70296297580080 checked_out=70296297580080 with_map= -2012-10-18 16:24:41.102615 D [1115:70296296184540] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fde43b14c60>(70296297580080) self=connections=70296297580080 checked_out=70296297580080 with_map= -2012-10-18 16:24:41.102986 T [1115:70296296184540] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- #"/services/////2000H -2012-10-18 16:24:41.102986 T [1115:70296296184540] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- #"/services/////2000H -- #"/services/////2000H -2012-10-18 16:24:41.103035 D [1115:70296296184540] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 39 bytes -2012-10-18 16:24:41.103035 D [1115:70296296184540] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 39 bytes -2012-10-18 16:24:41.103354 T [1115:70296296184540] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" -2012-10-18 16:24:41.103354 T [1115:70296296184540] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" -- "\x00\x00\x00\x05" -2012-10-18 16:24:41.103367 D [1115:70296296184540] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:24:41.103367 D [1115:70296296184540] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:24:41.103439 T [1115:70296296184540] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\xA0\x06\x06" -2012-10-18 16:24:41.103439 T [1115:70296296184540] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\xA0\x06\x06" -- "\b\x00\xA0\x06\x06" -2012-10-18 16:24:41.103450 D [1115:70296296184540] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes -2012-10-18 16:24:41.103450 D [1115:70296296184540] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes -2012-10-18 16:24:41.103711 D [1115:70296296184540] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fde43b14c60>(70296297580080) self=connections=70296297580080 checked_out= with_map= -2012-10-18 16:24:41.103711 D [1115:70296296184540] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fde43b14c60>(70296297580080) self=connections=70296297580080 checked_out= with_map= -2012-10-18 16:25:20.019945 T [1133:70134358301400] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007f92db168f80@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -2012-10-18 16:25:20.019945 T [1133:70134358301400] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007f92db168f80@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007f92db168f80@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -2012-10-18 16:25:20.025781 T [1133:70134358301400] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "/8 -2012-10-18 16:25:20.025781 T [1133:70134358301400] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "/8 -- "/8 -2012-10-18 16:25:20.026021 D [1133:70134358301400] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 13 bytes -2012-10-18 16:25:20.026021 D [1133:70134358301400] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 13 bytes -2012-10-18 16:25:20.026320 T [1133:70134358301400] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\a" -2012-10-18 16:25:20.026320 T [1133:70134358301400] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\a" -- "\x00\x00\x00\a" -2012-10-18 16:25:20.026335 D [1133:70134358301400] (0.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:25:20.026335 D [1133:70134358301400] (0.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:25:20.026809 T [1133:70134358301400] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00*\x03ctl" -2012-10-18 16:25:20.026809 T [1133:70134358301400] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00*\x03ctl" -- "\b\x00*\x03ctl" -2012-10-18 16:25:20.026845 D [1133:70134358301400] (0.4ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 7 bytes -2012-10-18 16:25:20.026845 D [1133:70134358301400] (0.4ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 7 bytes -2012-10-18 16:25:20.027162 T [1133:70134358301400] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "/8 -2012-10-18 16:25:20.027162 T [1133:70134358301400] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "/8 -- "/8 -2012-10-18 16:25:20.027231 D [1133:70134358301400] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 13 bytes -2012-10-18 16:25:20.027231 D [1133:70134358301400] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 13 bytes -2012-10-18 16:25:20.027663 T [1133:70134358301400] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\f" -2012-10-18 16:25:20.027663 T [1133:70134358301400] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\f" -- "\x00\x00\x00\f" -2012-10-18 16:25:20.027676 D [1133:70134358301400] (0.4ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:25:20.027676 D [1133:70134358301400] (0.4ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:25:20.027741 T [1133:70134358301400] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00*\bservices" -2012-10-18 16:25:20.027741 T [1133:70134358301400] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00*\bservices" -- "\b\x00*\bservices" -2012-10-18 16:25:20.027751 D [1133:70134358301400] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 12 bytes -2012-10-18 16:25:20.027751 D [1133:70134358301400] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 12 bytes -2012-10-18 16:25:20.027980 T [1133:70134358301400] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "/8 -2012-10-18 16:25:20.027980 T [1133:70134358301400] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "/8 -- "/8 -2012-10-18 16:25:20.028024 D [1133:70134358301400] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 13 bytes -2012-10-18 16:25:20.028024 D [1133:70134358301400] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 13 bytes -2012-10-18 16:25:20.028402 T [1133:70134358301400] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x0E" -2012-10-18 16:25:20.028402 T [1133:70134358301400] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x0E" -- "\x00\x00\x00\x0E" -2012-10-18 16:25:20.028414 D [1133:70134358301400] (0.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:25:20.028414 D [1133:70134358301400] (0.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:25:20.028476 T [1133:70134358301400] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00*\nstatistics" -2012-10-18 16:25:20.028476 T [1133:70134358301400] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00*\nstatistics" -- "\b\x00*\nstatistics" -2012-10-18 16:25:20.028486 D [1133:70134358301400] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 14 bytes -2012-10-18 16:25:20.028486 D [1133:70134358301400] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 14 bytes -2012-10-18 16:25:20.028725 T [1133:70134358301400] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "/8 -2012-10-18 16:25:20.028725 T [1133:70134358301400] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "/8 -- "/8 -2012-10-18 16:25:20.028769 D [1133:70134358301400] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 13 bytes -2012-10-18 16:25:20.028769 D [1133:70134358301400] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 13 bytes -2012-10-18 16:25:20.029021 T [1133:70134358301400] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x05" -2012-10-18 16:25:20.029021 T [1133:70134358301400] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x05" -- "\x00\x00\x00\x05" -2012-10-18 16:25:20.029034 D [1133:70134358301400] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:25:20.029034 D [1133:70134358301400] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:25:20.029097 T [1133:70134358301400] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\xA0\x06\b" -2012-10-18 16:25:20.029097 T [1133:70134358301400] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\xA0\x06\b" -- "\b\x00\xA0\x06\b" -2012-10-18 16:25:20.029107 D [1133:70134358301400] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 5 bytes -2012-10-18 16:25:20.029107 D [1133:70134358301400] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 5 bytes -2012-10-18 16:25:20.030388 T [1133:70134358301400] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/fooH -2012-10-18 16:25:20.030388 T [1133:70134358301400] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/fooH -- " /test/fooH -2012-10-18 16:25:20.030435 D [1133:70134358301400] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 30 bytes -2012-10-18 16:25:20.030435 D [1133:70134358301400] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 30 bytes -2012-10-18 16:25:20.032946 T [1133:70134358301400] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x02" -2012-10-18 16:25:20.032946 T [1133:70134358301400] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x02" -- "\x00\x00\x00\x02" -2012-10-18 16:25:20.033005 D [1133:70134358301400] (2.6ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:25:20.033005 D [1133:70134358301400] (2.6ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:25:20.034990 T [1133:70134358301400] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00" -2012-10-18 16:25:20.034990 T [1133:70134358301400] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00" -- "\b\x00" -2012-10-18 16:25:20.035050 D [1133:70134358301400] (2.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 2 bytes -2012-10-18 16:25:20.035050 D [1133:70134358301400] (2.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 2 bytes -2012-10-18 16:25:20.035272 T [1133:70134358301400] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007f92db1d1f30@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -2012-10-18 16:25:20.035272 T [1133:70134358301400] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007f92db1d1f30@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007f92db1d1f30@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -2012-10-18 16:25:20.036521 T [1133:70134358301400] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending --  -2012-10-18 16:25:20.036521 T [1133:70134358301400] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending --  --  -2012-10-18 16:25:20.036575 D [1133:70134358301400] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 8 bytes -2012-10-18 16:25:20.036575 D [1133:70134358301400] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 8 bytes -2012-10-18 16:25:20.037183 T [1133:70134358301400] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x06" -2012-10-18 16:25:20.037183 T [1133:70134358301400] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x06" -- "\x00\x00\x00\x06" -2012-10-18 16:25:20.037218 D [1133:70134358301400] (0.4ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:25:20.037218 D [1133:70134358301400] (0.4ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:25:20.037425 T [1133:70134358301400] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\x9F\xD0\x03" -2012-10-18 16:25:20.037425 T [1133:70134358301400] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\x9F\xD0\x03" -- "\b\x00\x18\x9F\xD0\x03" -2012-10-18 16:25:20.037438 D [1133:70134358301400] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 6 bytes -2012-10-18 16:25:20.037438 D [1133:70134358301400] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 6 bytes -2012-10-18 16:25:20.038570 T [1133:70134358301400] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/fooH -2012-10-18 16:25:20.038570 T [1133:70134358301400] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/fooH -- " /test/fooH -2012-10-18 16:25:20.038950 D [1133:70134358301400] (0.4ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 30 bytes -2012-10-18 16:25:20.038950 D [1133:70134358301400] (0.4ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 30 bytes -2012-10-18 16:25:20.041937 T [1133:70134358301400] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x02" -2012-10-18 16:25:20.041937 T [1133:70134358301400] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x02" -- "\x00\x00\x00\x02" -2012-10-18 16:25:20.042000 D [1133:70134358301400] (2.9ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:25:20.042000 D [1133:70134358301400] (2.9ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:25:20.042361 T [1133:70134358301400] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00" -2012-10-18 16:25:20.042361 T [1133:70134358301400] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00" -- "\b\x00" -2012-10-18 16:25:20.042402 D [1133:70134358301400] (0.4ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 2 bytes -2012-10-18 16:25:20.042402 D [1133:70134358301400] (0.4ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 2 bytes -2012-10-18 16:25:20.042884 T [1133:70134358301400] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007f92db246a10@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -2012-10-18 16:25:20.042884 T [1133:70134358301400] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007f92db246a10@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007f92db246a10@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -2012-10-18 16:25:20.045261 T [1133:70134358301400] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "" /test/foo*value2H -2012-10-18 16:25:20.045261 T [1133:70134358301400] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "" /test/foo*value2H -- "" /test/foo*value2H -2012-10-18 16:25:20.048384 D [1133:70134358301400] (3.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 38 bytes -2012-10-18 16:25:20.048384 D [1133:70134358301400] (3.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 38 bytes -2012-10-18 16:25:20.048657 T [1133:70134358301400] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x06" -2012-10-18 16:25:20.048657 T [1133:70134358301400] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x06" -- "\x00\x00\x00\x06" -2012-10-18 16:25:20.048697 D [1133:70134358301400] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:25:20.048697 D [1133:70134358301400] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:25:20.049041 T [1133:70134358301400] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xA1\xD0\x03" -2012-10-18 16:25:20.049041 T [1133:70134358301400] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xA1\xD0\x03" -- "\b\x00\x18\xA1\xD0\x03" -2012-10-18 16:25:20.049082 D [1133:70134358301400] (0.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 6 bytes -2012-10-18 16:25:20.049082 D [1133:70134358301400] (0.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 6 bytes -2012-10-18 16:25:20.049534 T [1133:70134358301400] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/foo -2012-10-18 16:25:20.049534 T [1133:70134358301400] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/foo -- " /test/foo -2012-10-18 16:25:20.050106 D [1133:70134358301400] (0.6ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 19 bytes -2012-10-18 16:25:20.050106 D [1133:70134358301400] (0.6ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 19 bytes -2012-10-18 16:25:20.050325 T [1133:70134358301400] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x0E" -2012-10-18 16:25:20.050325 T [1133:70134358301400] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x0E" -- "\x00\x00\x00\x0E" -2012-10-18 16:25:20.050365 D [1133:70134358301400] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:25:20.050365 D [1133:70134358301400] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:25:20.050686 T [1133:70134358301400] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xA1\xD0\x032\x06value2" -2012-10-18 16:25:20.050686 T [1133:70134358301400] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xA1\xD0\x032\x06value2" -- "\b\x00\x18\xA1\xD0\x032\x06value2" -2012-10-18 16:25:20.050726 D [1133:70134358301400] (0.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 14 bytes -2012-10-18 16:25:20.050726 D [1133:70134358301400] (0.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 14 bytes -2012-10-18 16:25:20.059180 T [1133:70134358301400] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/fooH -2012-10-18 16:25:20.059180 T [1133:70134358301400] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/fooH -- " /test/fooH -2012-10-18 16:25:20.059440 D [1133:70134358301400] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 30 bytes -2012-10-18 16:25:20.059440 D [1133:70134358301400] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 30 bytes -2012-10-18 16:25:20.062294 T [1133:70134358301400] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x02" -2012-10-18 16:25:20.062294 T [1133:70134358301400] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x02" -- "\x00\x00\x00\x02" -2012-10-18 16:25:20.062321 D [1133:70134358301400] (2.8ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:25:20.062321 D [1133:70134358301400] (2.8ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:25:20.062412 T [1133:70134358301400] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00" -2012-10-18 16:25:20.062412 T [1133:70134358301400] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00" -- "\b\x00" -2012-10-18 16:25:20.062423 D [1133:70134358301400] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 2 bytes -2012-10-18 16:25:20.062423 D [1133:70134358301400] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 2 bytes -2012-10-18 16:25:20.062650 T [1133:70134358301400] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007f92db040b08@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -2012-10-18 16:25:20.062650 T [1133:70134358301400] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007f92db040b08@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007f92db040b08@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -2012-10-18 16:25:20.064539 T [1133:70134358301400] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- !" /test/foo*valueH -2012-10-18 16:25:20.064539 T [1133:70134358301400] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- !" /test/foo*valueH -- !" /test/foo*valueH -2012-10-18 16:25:20.064597 D [1133:70134358301400] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 37 bytes -2012-10-18 16:25:20.064597 D [1133:70134358301400] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 37 bytes -2012-10-18 16:25:20.066182 T [1133:70134358301400] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x06" -2012-10-18 16:25:20.066182 T [1133:70134358301400] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x06" -- "\x00\x00\x00\x06" -2012-10-18 16:25:20.066220 D [1133:70134358301400] (1.6ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:25:20.066220 D [1133:70134358301400] (1.6ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:25:20.066858 T [1133:70134358301400] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xA3\xD0\x03" -2012-10-18 16:25:20.066858 T [1133:70134358301400] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xA3\xD0\x03" -- "\b\x00\x18\xA3\xD0\x03" -2012-10-18 16:25:20.066901 D [1133:70134358301400] (0.6ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 6 bytes -2012-10-18 16:25:20.066901 D [1133:70134358301400] (0.6ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 6 bytes -2012-10-18 16:25:20.067149 T [1133:70134358301400] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/foo -2012-10-18 16:25:20.067149 T [1133:70134358301400] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/foo -- " /test/foo -2012-10-18 16:25:20.068132 D [1133:70134358301400] (1.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 19 bytes -2012-10-18 16:25:20.068132 D [1133:70134358301400] (1.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 19 bytes -2012-10-18 16:25:20.068827 T [1133:70134358301400] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\r" -2012-10-18 16:25:20.068827 T [1133:70134358301400] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\r" -- "\x00\x00\x00\r" -2012-10-18 16:25:20.068843 D [1133:70134358301400] (0.7ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:25:20.068843 D [1133:70134358301400] (0.7ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:25:20.068909 T [1133:70134358301400] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xA3\xD0\x032\x05value" -2012-10-18 16:25:20.068909 T [1133:70134358301400] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xA3\xD0\x032\x05value" -- "\b\x00\x18\xA3\xD0\x032\x05value" -2012-10-18 16:25:20.068920 D [1133:70134358301400] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 13 bytes -2012-10-18 16:25:20.068920 D [1133:70134358301400] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 13 bytes -2012-10-18 16:25:20.070113 T [1133:70134358301400] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/fooH -2012-10-18 16:25:20.070113 T [1133:70134358301400] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/fooH -- " /test/fooH -2012-10-18 16:25:20.070161 D [1133:70134358301400] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 30 bytes -2012-10-18 16:25:20.070161 D [1133:70134358301400] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 30 bytes -2012-10-18 16:25:20.071440 T [1133:70134358301400] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x02" -2012-10-18 16:25:20.071440 T [1133:70134358301400] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x02" -- "\x00\x00\x00\x02" -2012-10-18 16:25:20.071475 D [1133:70134358301400] (1.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:25:20.071475 D [1133:70134358301400] (1.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:25:20.072776 T [1133:70134358301400] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00" -2012-10-18 16:25:20.072776 T [1133:70134358301400] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00" -- "\b\x00" -2012-10-18 16:25:20.072816 D [1133:70134358301400] (1.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 2 bytes -2012-10-18 16:25:20.072816 D [1133:70134358301400] (1.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 2 bytes -2012-10-18 16:25:20.073479 T [1133:70134358301400] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:9999", :connect_retry_interval=>0.1, :connect_retry_count=>5, :read_timeout=>5, :connect_timeout=>3, :buffered=>false, :on_connect=>#<Proc:0x007f92db8c4810@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -2012-10-18 16:25:20.073479 T [1133:70134358301400] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:9999", :connect_retry_interval=>0.1, :connect_retry_count=>5, :read_timeout=>5, :connect_timeout=>3, :buffered=>false, :on_connect=>#<Proc:0x007f92db8c4810@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -- {:server=>"localhost:9999", :connect_retry_interval=>0.1, :connect_retry_count=>5, :read_timeout=>5, :connect_timeout=>3, :buffered=>false, :on_connect=>#<Proc:0x007f92db8c4810@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -2012-10-18 16:25:20.075552 W [1133:70134358301400] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 1 -2012-10-18 16:25:20.075552 W [1133:70134358301400] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 1 -2012-10-18 16:25:20.176556 W [1133:70134358301400] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 2 -2012-10-18 16:25:20.176556 W [1133:70134358301400] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 2 -2012-10-18 16:25:20.278021 W [1133:70134358301400] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 3 -2012-10-18 16:25:20.278021 W [1133:70134358301400] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 3 -2012-10-18 16:25:20.379142 W [1133:70134358301400] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 4 -2012-10-18 16:25:20.379142 W [1133:70134358301400] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 4 -2012-10-18 16:25:20.481089 W [1133:70134358301400] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 5 -2012-10-18 16:25:20.481089 W [1133:70134358301400] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 5 -2012-10-18 16:25:20.583053 E [1133:70134358301400] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Giving up after 5 retries -2012-10-18 16:25:20.583053 E [1133:70134358301400] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Giving up after 5 retries -2012-10-18 16:25:20.583303 I [1133:70134358301400] (509.8ms) ResilientSocket::TCPClient ["localhost:9999"] -- Connecting to server localhost:9999 -- ResilientSocket::ConnectionFailure: After 5 connection attempts to host 'localhost:9999': Errno::ECONNREFUSED: Connection refused - connect(2) -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:570:in `rescue in block in connect_to_server' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:548:in `block in connect_to_server' +2012-12-04 15:27:06.561297 I [35995:70270656404180] [50be5c8d6b69338c9b000001] (13188.2ms) RubySkynet::Client: RubySkynet.Service/1/Test -- Called Skynet Service: RubySkynet.Service.echo -- Interrupt: +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.2.1/lib/resilient_socket/tcp_client.rb:361:in `select' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.2.1/lib/resilient_socket/tcp_client.rb:361:in `block in read' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.7.0/lib/semantic_logger/base.rb:181:in `benchmark_debug' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.2.1/lib/resilient_socket/tcp_client.rb:357:in `read' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/common.rb:10:in `read_bson_document' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:178:in `rpc_call' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:65:in `block (3 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/gene_pool-1.3.0/lib/gene_pool.rb:134:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:214:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:64:in `block (2 levels) in call' /Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.7.0/lib/semantic_logger/base.rb:181:in `benchmark_info' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:541:in `connect_to_server' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:304:in `connect' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:232:in `initialize' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:36:in `new' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:36:in `initialize' -/Users/rmorrison/Sandbox/ruby_skynet/test/doozer_client_test.rb:22:in `new' -/Users/rmorrison/Sandbox/ruby_skynet/test/doozer_client_test.rb:22:in `block (4 levels) in <class:DoozerClientTest>' -/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:330:in `assert_raises' -/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/assertions.rb:69:in `assert_raise' -/Users/rmorrison/Sandbox/ruby_skynet/test/doozer_client_test.rb:21:in `block (3 levels) in <class:DoozerClientTest>' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:60:in `block in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.7.0/lib/semantic_logger/base.rb:161:in `with_tags' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:59:in `call' +/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_service_test.rb:56:in `block (4 levels) in <class:RubySkynetServiceTest>' /Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.0/lib/shoulda/context/context.rb:398:in `call' /Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.0/lib/shoulda/context/context.rb:398:in `block in create_test_from_should_hash' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:949:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/testcase.rb:17:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:787:in `block in _run_suite' @@ -532,24 +473,257 @@ /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:884:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:21:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:326:in `block (2 levels) in autorun' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:27:in `run_once' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:325:in `block in autorun' -2012-10-18 16:25:20.583303 I [1133:70134358301400] (509.8ms) ResilientSocket::TCPClient ["localhost:9999"] -- Connecting to server localhost:9999 -- ResilientSocket::ConnectionFailure: After 5 connection attempts to host 'localhost:9999': Errno::ECONNREFUSED: Connection refused - connect(2) -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:570:in `rescue in block in connect_to_server' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:548:in `block in connect_to_server' +2012-12-04 15:27:06.563846 I [35995:70270656404180] Celluloid -- Terminating 4 actors... +2012-12-04 15:27:06.564653 I [35995:70270656404180] Celluloid -- Shutdown completed cleanly +2012-12-04 15:27:19.606826 D [36005:70299094605060] RubySkynet::Server: localhost:2100 -- Waiting for a client to connect +2012-12-04 15:27:19.615533 D [36005:70299089591000] RubySkynet::Registry -- Doozer Connection Pool: Created connection #1 #<Thread:0x007fdf9086b5b0>(70299089591000) for Doozer Connection Pool +2012-12-04 15:27:19.650846 T [36005:70299089591000] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007fdf9111eb80@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-04 15:27:19.655636 D [36005:70299089591000] RubySkynet::Registry -- Doozer Connection Pool: Renewed connection old=70299089591000 new=#<RubySkynet::Doozer::Client:0x007fdf9111ed60>(70299094152880) +2012-12-04 15:27:19.655679 D [36005:70299089591000] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fdf9111ed60>(70299094152880) self=connections=70299094152880 checked_out=70299094152880 with_map= +2012-12-04 15:27:19.667144 T [36005:70299089591000] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- 0"9/services/RubySkynet.Service/1/Development/localhost/2100*{"Config":{"UUID":"localhost:2100-36005-RubySkynet::Service-70299094646300","Name":"RubySkynet.Service","Version":"1","Region":"Development","ServiceAddr":{"IPAddress":"localhost","Port":2100,"MaxPort":3099}},"Registered":true}H +2012-12-04 15:27:19.669874 D [36005:70299089591000] (2.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 308 bytes +2012-12-04 15:27:19.672379 T [36005:70299089591000] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-04 15:27:19.672393 D [36005:70299089591000] (2.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-04 15:27:19.672748 T [36005:70299089591000] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xA2\t" +2012-12-04 15:27:19.672760 D [36005:70299089591000] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-04 15:27:19.672941 D [36005:70299089591000] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fdf9111ed60>(70299094152880) self=connections=70299094152880 checked_out= with_map= +2012-12-04 15:27:19.682687 D [36005:70299089591000] [50be5ca76b69338ca5000001] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fdf9111ed60>(70299094152880) self=connections=70299094152880 checked_out=70299094152880 with_map= +2012-12-04 15:27:19.682931 T [36005:70299089591000] [50be5ca76b69338ca5000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  +2012-12-04 15:27:19.683003 D [36005:70299089591000] [50be5ca76b69338ca5000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 8 bytes +2012-12-04 15:27:19.685447 T [36005:70299089591000] [50be5ca76b69338ca5000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-04 15:27:19.685463 D [36005:70299089591000] [50be5ca76b69338ca5000001] (2.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-04 15:27:19.685544 T [36005:70299089591000] [50be5ca76b69338ca5000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xA2\t" +2012-12-04 15:27:19.685551 D [36005:70299089591000] [50be5ca76b69338ca5000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-04 15:27:19.685975 T [36005:70299089591000] [50be5ca76b69338ca5000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H +2012-12-04 15:27:19.686062 D [36005:70299089591000] [50be5ca76b69338ca5000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-04 15:27:19.687840 T [36005:70299089591000] [50be5ca76b69338ca5000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01(" +2012-12-04 15:27:19.687945 D [36005:70299089591000] [50be5ca76b69338ca5000001] (1.9ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-04 15:27:19.688112 T [36005:70299089591000] [50be5ca76b69338ca5000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xA2\t*9/services/RubySkynet.Service/1/Development/localhost/21002\xE3\x01{\"Config\":{\"UUID\":\"localhost:2100-36005-RubySkynet::Service-70299094646300\",\"Name\":\"RubySkynet.Service\",\"Version\":\"1\",\"Region\":\"Development\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-04 15:27:19.688119 D [36005:70299089591000] [50be5ca76b69338ca5000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 296 bytes +2012-12-04 15:27:19.688457 T [36005:70299089591000] [50be5ca76b69338ca5000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H +2012-12-04 15:27:19.688527 D [36005:70299089591000] [50be5ca76b69338ca5000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-04 15:27:19.689393 T [36005:70299089591000] [50be5ca76b69338ca5000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01\x1A" +2012-12-04 15:27:19.689405 D [36005:70299089591000] [50be5ca76b69338ca5000001] (0.9ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-04 15:27:19.689477 T [36005:70299089591000] [50be5ca76b69338ca5000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\x87\t*2/services/RubySkynet.Service/1/Test/localhost/21002\xDC\x01{\"Config\":{\"UUID\":\"localhost:2100-35995-RubySkynet::Service-70270661201940\",\"Name\":\"RubySkynet.Service\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-04 15:27:19.689484 D [36005:70299089591000] [50be5ca76b69338ca5000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 282 bytes +2012-12-04 15:27:19.689760 T [36005:70299089591000] [50be5ca76b69338ca5000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H +2012-12-04 15:27:19.689810 D [36005:70299089591000] [50be5ca76b69338ca5000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-04 15:27:19.690449 T [36005:70299089591000] [50be5ca76b69338ca5000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-04 15:27:19.690460 D [36005:70299089591000] [50be5ca76b69338ca5000001] (0.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-04 15:27:19.690517 T [36005:70299089591000] [50be5ca76b69338ca5000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\xA0\x06\b" +2012-12-04 15:27:19.690523 D [36005:70299089591000] [50be5ca76b69338ca5000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-04 15:27:19.690718 D [36005:70299089591000] [50be5ca76b69338ca5000001] RubySkynet::Registry -- #start_monitoring Add Service: RubySkynet.Service/1/Development => localhost:2100 +2012-12-04 15:27:19.690777 D [36005:70299089591000] [50be5ca76b69338ca5000001] RubySkynet::Registry -- #start_monitoring Add Service: RubySkynet.Service/1/Test => localhost:2100 +2012-12-04 15:27:19.690819 D [36005:70299089591000] [50be5ca76b69338ca5000001] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fdf9111ed60>(70299094152880) self=connections=70299094152880 checked_out= with_map= +2012-12-04 15:27:19.692163 I [36005:70299094727580] RubySkynet::Registry -- Start monitoring /services/*/*/*/*/* +2012-12-04 15:27:19.692207 T [36005:70299094727580] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007fdf9124df88@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-04 15:27:19.692383 D [36005:70299089591000] [50be5ca76b69338ca5000001] RubySkynet::Connection: localhost:2100 -- Waiting for Service Handshake +2012-12-04 15:27:19.697439 D [36005:70299094605060] RubySkynet::Server: localhost:2100 -- Waiting for a client to connect +2012-12-04 15:27:19.697535 D [36005:70299094605060] RubySkynet::Server: localhost:2100 -- Client connected, waiting for data from client +2012-12-04 15:27:19.697894 E [36005:70299094605060] Celluloid -- RubySkynet::Server crashed! +NoMethodError: undefined method `read_bson_document' for #<RubySkynet::Server:0x007fdf911fc098> +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/celluloid-0.12.3/lib/celluloid.rb:272:in `method_missing' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/server.rb:105:in `handle_connection' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/celluloid-0.12.3/lib/celluloid/calls.rb:99:in `dispatch' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/celluloid-0.12.3/lib/celluloid/actor.rb:323:in `block in handle_message' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/celluloid-0.12.3/lib/celluloid/tasks/task_fiber.rb:22:in `block in initialize' +2012-12-04 15:27:19.697948 I [36005:70299094605060] RubySkynet::Server: localhost:2100 -- Skynet Server Stopped +2012-12-04 15:27:19.698360 T [36005:70299089591000] [50be5ca76b69338ca5000001] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "9\x00\x00\x00" +2012-12-04 15:27:19.698368 D [36005:70299089591000] [50be5ca76b69338ca5000001] (1.2ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 4 bytes +2012-12-04 15:27:19.698428 T [36005:70299089591000] [50be5ca76b69338ca5000001] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "\bregistered\x00\x01\x02clientid\x00\x19\x00\x00\x0050be5ca76b69338ca5000002\x00\x00" +2012-12-04 15:27:19.698434 D [36005:70299089591000] [50be5ca76b69338ca5000001] (0.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 53 bytes +2012-12-04 15:27:19.698482 T [36005:70299089591000] [50be5ca76b69338ca5000001] RubySkynet::Connection: localhost:2100 -- Service Handshake -- {"registered"=>true, "clientid"=>"50be5ca76b69338ca5000002"} +2012-12-04 15:27:19.698494 D [36005:70299089591000] [50be5ca76b69338ca5000001] RubySkynet::Connection: localhost:2100 -- Sending Client Handshake +2012-12-04 15:27:19.698509 T [36005:70299089591000] [50be5ca76b69338ca5000001] RubySkynet::Connection: localhost:2100 -- Client Handshake -- {"clientid"=>"50be5ca76b69338ca5000002"} +2012-12-04 15:27:19.698534 T [36005:70299089591000] [50be5ca76b69338ca5000001] ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sending -- ,clientid50be5ca76b69338ca5000002 +2012-12-04 15:27:19.698578 D [36005:70299089591000] [50be5ca76b69338ca5000001] (0.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sent 44 bytes +2012-12-04 15:27:19.698637 D [36005:70299089591000] [50be5ca76b69338ca5000001] RubySkynet::Connection: localhost:2100 -- Sending Header +2012-12-04 15:27:19.698646 T [36005:70299089591000] [50be5ca76b69338ca5000001] RubySkynet::Connection: localhost:2100 -- Header -- {"servicemethod"=>"RubySkynet.Service.Forward", "seq"=>0} +2012-12-04 15:27:19.698666 T [36005:70299089591000] [50be5ca76b69338ca5000001] ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sending -- <servicemethodRubySkynet.Service.Forwardseq +2012-12-04 15:27:19.698709 D [36005:70299089591000] [50be5ca76b69338ca5000001] (0.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sent 60 bytes +2012-12-04 15:27:19.698743 D [36005:70299089591000] [50be5ca76b69338ca5000001] RubySkynet::Connection: localhost:2100 -- Sending Request +2012-12-04 15:27:19.698751 T [36005:70299089591000] [50be5ca76b69338ca5000001] RubySkynet::Connection: localhost:2100 -- Request -- {"clientid"=>"50be5ca76b69338ca5000002", "in"=>"\x10\x00\x00\x00\x10value\x00\x05\x00\x00\x00\x00", "method"=>"echo", "requestinfo"=>{"requestid"=>"50be5ca76b69338ca5000001", "retrycount"=>0, "originaddress"=>""}} +2012-12-04 15:27:19.698756 T [36005:70299089591000] [50be5ca76b69338ca5000001] RubySkynet::Connection: localhost:2100 -- Parameters: -- {:value=>5} +2012-12-04 15:27:19.698779 T [36005:70299089591000] [50be5ca76b69338ca5000001] ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sending -- clientid50be5ca76b69338ca5000002invaluemethodechorequestinfoQrequestid50be5ca76b69338ca5000001retrycountoriginaddress +2012-12-04 15:27:19.698819 D [36005:70299089591000] [50be5ca76b69338ca5000001] (0.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sent 180 bytes +2012-12-04 15:27:19.698832 D [36005:70299089591000] [50be5ca76b69338ca5000001] RubySkynet::Connection: localhost:2100 -- Reading header from server +2012-12-04 15:27:19.699331 T [36005:70299094727580] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-04 15:27:19.699373 D [36005:70299094727580] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-04 15:28:19.669574 W [36005:70299089591000] [50be5ca76b69338ca5000001] ResilientSocket::TCPClient ["localhost:2100"] -- #read Timeout waiting for server to reply +2012-12-04 15:28:19.669908 D [36005:70299089591000] [50be5ca76b69338ca5000001] (59971.1ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 4 bytes -- ResilientSocket::ReadTimeout: Timedout after 60.0 seconds trying to read from localhost:2100 +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:391:in `block in read' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.9.0/lib/semantic_logger/base.rb:146:in `benchmark_debug' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:373:in `read' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/common.rb:10:in `read_bson_document' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:178:in `rpc_call' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:65:in `block (3 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/gene_pool-1.3.0/lib/gene_pool.rb:134:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:214:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:64:in `block (2 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.9.0/lib/semantic_logger/base.rb:146:in `benchmark_info' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:60:in `block in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.9.0/lib/semantic_logger/base.rb:126:in `with_tags' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:59:in `call' +(irb):12:in `irb_binding' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/workspace.rb:80:in `eval' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/workspace.rb:80:in `evaluate' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/context.rb:254:in `evaluate' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:159:in `block (2 levels) in eval_input' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:273:in `signal_status' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:156:in `block in eval_input' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:243:in `block (2 levels) in each_top_level_statement' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:229:in `loop' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:229:in `block in each_top_level_statement' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:228:in `catch' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:228:in `each_top_level_statement' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:155:in `eval_input' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:70:in `block in start' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:69:in `catch' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:69:in `start' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/bin/irb:16:in `<main>' +2012-12-04 15:28:19.670036 I [36005:70299089591000] [50be5ca76b69338ca5000001] (59989.0ms) RubySkynet::Client: RubySkynet.Service/*/Development -- Called Skynet Service: RubySkynet.Service.echo -- ResilientSocket::ReadTimeout: Timedout after 60.0 seconds trying to read from localhost:2100 +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:391:in `block in read' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.9.0/lib/semantic_logger/base.rb:146:in `benchmark_debug' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:373:in `read' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/common.rb:10:in `read_bson_document' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:178:in `rpc_call' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:65:in `block (3 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/gene_pool-1.3.0/lib/gene_pool.rb:134:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:214:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:64:in `block (2 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.9.0/lib/semantic_logger/base.rb:146:in `benchmark_info' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:60:in `block in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.9.0/lib/semantic_logger/base.rb:126:in `with_tags' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:59:in `call' +(irb):12:in `irb_binding' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/workspace.rb:80:in `eval' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/workspace.rb:80:in `evaluate' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/context.rb:254:in `evaluate' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:159:in `block (2 levels) in eval_input' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:273:in `signal_status' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:156:in `block in eval_input' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:243:in `block (2 levels) in each_top_level_statement' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:229:in `loop' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:229:in `block in each_top_level_statement' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:228:in `catch' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:228:in `each_top_level_statement' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:155:in `eval_input' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:70:in `block in start' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:69:in `catch' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:69:in `start' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/bin/irb:16:in `<main>' +2012-12-04 15:29:12.402796 D [36060:70103413281640] RubySkynet::Server: localhost:2100 -- Waiting for a client to connect +2012-12-04 15:29:12.413319 D [36060:70103412726480] RubySkynet::Registry -- Doozer Connection Pool: Created connection #1 #<Thread:0x007f847206b5a0>(70103412726480) for Doozer Connection Pool +2012-12-04 15:29:12.447598 T [36060:70103412726480] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007f8472027850@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-04 15:29:12.450987 D [36060:70103412726480] RubySkynet::Registry -- Doozer Connection Pool: Renewed connection old=70103412726480 new=#<RubySkynet::Doozer::Client:0x007f8472028340>(70103412588960) +2012-12-04 15:29:12.451037 D [36060:70103412726480] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f8472028340>(70103412588960) self=connections=70103412588960 checked_out=70103412588960 with_map= +2012-12-04 15:29:12.464345 T [36060:70103412726480] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- ""2/services/RubySkynet.Service/1/Test/localhost/2100*{"Config":{"UUID":"localhost:2100-36060-RubySkynet::Service-70103413983040","Name":"RubySkynet.Service","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"localhost","Port":2100,"MaxPort":3099}},"Registered":true}H +2012-12-04 15:29:12.464614 D [36060:70103412726480] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 294 bytes +2012-12-04 15:29:12.466409 T [36060:70103412726480] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-04 15:29:12.466454 D [36060:70103412726480] (1.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-04 15:29:12.466097 T [36005:70299094727580] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01\x1A" +2012-12-04 15:29:12.466122 D [36005:70299094727580] (112766.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-04 15:29:12.469507 T [36005:70299094727580] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\x94\n*2/services/RubySkynet.Service/1/Test/localhost/21002\xDC\x01{\"Config\":{\"UUID\":\"localhost:2100-36060-RubySkynet::Service-70103413983040\",\"Name\":\"RubySkynet.Service\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-04 15:29:12.469522 D [36005:70299094727580] (3.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 282 bytes +2012-12-04 15:29:12.469755 D [36005:70299094727580] RubySkynet::Registry -- #monitor Add/Update Service: RubySkynet.Service/1/Test => localhost:2100 +2012-12-04 15:29:12.469768 D [36005:70299094727580] RubySkynet::Registry -- Updated registry -- {"RubySkynet.Service/1/Development"=>["localhost:2100"], "RubySkynet.Service/1/Test"=>["localhost:2100"]} +2012-12-04 15:29:12.470157 T [36005:70299094727580] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H + +2012-12-04 15:29:12.470253 D [36005:70299094727580] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-04 15:29:12.471877 T [36060:70103412726480] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\x94\n" +2012-12-04 15:29:12.471947 D [36060:70103412726480] (5.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-04 15:29:12.472161 D [36060:70103412726480] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007f8472028340>(70103412588960) self=connections=70103412588960 checked_out= with_map= +2012-12-04 15:29:12.476021 D [36060:70103412726480] [50be5d186b69338cdc000001] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f8472028340>(70103412588960) self=connections=70103412588960 checked_out=70103412588960 with_map= +2012-12-04 15:29:12.476253 T [36060:70103412726480] [50be5d186b69338cdc000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  +2012-12-04 15:29:12.476317 D [36060:70103412726480] [50be5d186b69338cdc000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 8 bytes +2012-12-04 15:29:12.476558 T [36060:70103412726480] [50be5d186b69338cdc000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-04 15:29:12.476570 D [36060:70103412726480] [50be5d186b69338cdc000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-04 15:29:12.476641 T [36060:70103412726480] [50be5d186b69338cdc000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\x94\n" +2012-12-04 15:29:12.476651 D [36060:70103412726480] [50be5d186b69338cdc000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-04 15:29:12.476926 T [36060:70103412726480] [50be5d186b69338cdc000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H + +2012-12-04 15:29:12.480271 D [36060:70103412726480] [50be5d186b69338cdc000001] (3.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-04 15:29:12.480557 T [36060:70103412726480] [50be5d186b69338cdc000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01(" +2012-12-04 15:29:12.480599 D [36060:70103412726480] [50be5d186b69338cdc000001] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-04 15:29:12.480894 T [36060:70103412726480] [50be5d186b69338cdc000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xA2\t*9/services/RubySkynet.Service/1/Development/localhost/21002\xE3\x01{\"Config\":{\"UUID\":\"localhost:2100-36005-RubySkynet::Service-70299094646300\",\"Name\":\"RubySkynet.Service\",\"Version\":\"1\",\"Region\":\"Development\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-04 15:29:12.480935 D [36060:70103412726480] [50be5d186b69338cdc000001] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 296 bytes +2012-12-04 15:29:12.481359 T [36060:70103412726480] [50be5d186b69338cdc000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H + +2012-12-04 15:29:12.482041 D [36060:70103412726480] [50be5d186b69338cdc000001] (0.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-04 15:29:12.482444 T [36060:70103412726480] [50be5d186b69338cdc000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01\x1A" +2012-12-04 15:29:12.482462 D [36060:70103412726480] [50be5d186b69338cdc000001] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-04 15:29:12.482813 T [36060:70103412726480] [50be5d186b69338cdc000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\x94\n*2/services/RubySkynet.Service/1/Test/localhost/21002\xDC\x01{\"Config\":{\"UUID\":\"localhost:2100-36060-RubySkynet::Service-70103413983040\",\"Name\":\"RubySkynet.Service\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-04 15:29:12.482846 D [36060:70103412726480] [50be5d186b69338cdc000001] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 282 bytes +2012-12-04 15:29:12.483131 T [36060:70103412726480] [50be5d186b69338cdc000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H + +2012-12-04 15:29:12.483179 D [36060:70103412726480] [50be5d186b69338cdc000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-04 15:29:12.483649 T [36060:70103412726480] [50be5d186b69338cdc000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-04 15:29:12.483667 D [36060:70103412726480] [50be5d186b69338cdc000001] (0.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-04 15:29:12.483798 T [36060:70103412726480] [50be5d186b69338cdc000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\xA0\x06\b" +2012-12-04 15:29:12.483809 D [36060:70103412726480] [50be5d186b69338cdc000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-04 15:29:12.484009 D [36060:70103412726480] [50be5d186b69338cdc000001] RubySkynet::Registry -- #start_monitoring Add Service: RubySkynet.Service/1/Development => localhost:2100 +2012-12-04 15:29:12.484063 D [36060:70103412726480] [50be5d186b69338cdc000001] RubySkynet::Registry -- #start_monitoring Add Service: RubySkynet.Service/1/Test => localhost:2100 +2012-12-04 15:29:12.484109 D [36060:70103412726480] [50be5d186b69338cdc000001] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007f8472028340>(70103412588960) self=connections=70103412588960 checked_out= with_map= +2012-12-04 15:29:12.485216 I [36060:70103414040180] RubySkynet::Registry -- Start monitoring /services/*/*/*/*/* +2012-12-04 15:29:12.485264 T [36060:70103414040180] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007f8472445428@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-04 15:29:12.486200 T [36060:70103414040180] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H + +2012-12-04 15:29:12.486252 D [36060:70103414040180] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-04 15:29:12.486885 D [36060:70103412726480] [50be5d186b69338cdc000001] RubySkynet::Connection: localhost:2100 -- Waiting for Service Handshake +2012-12-04 15:29:12.487893 D [36060:70103413281640] RubySkynet::Server: localhost:2100 -- Waiting for a client to connect +2012-12-04 15:29:12.487991 D [36060:70103413281640] RubySkynet::Server: localhost:2100 -- Client connected, waiting for data from client +2012-12-04 15:29:12.488502 T [36060:70103412726480] [50be5d186b69338cdc000001] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "9\x00\x00\x00" +2012-12-04 15:29:12.488517 D [36060:70103412726480] [50be5d186b69338cdc000001] (1.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 4 bytes +2012-12-04 15:29:12.488574 T [36060:70103412726480] [50be5d186b69338cdc000001] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "\bregistered\x00\x01\x02clientid\x00\x19\x00\x00\x0050be5d186b69338cdc000002\x00\x00" +2012-12-04 15:29:12.488585 D [36060:70103412726480] [50be5d186b69338cdc000001] (0.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 53 bytes +2012-12-04 15:29:12.488643 T [36060:70103412726480] [50be5d186b69338cdc000001] RubySkynet::Connection: localhost:2100 -- Service Handshake -- {"registered"=>true, "clientid"=>"50be5d186b69338cdc000002"} +2012-12-04 15:29:12.488659 D [36060:70103412726480] [50be5d186b69338cdc000001] RubySkynet::Connection: localhost:2100 -- Sending Client Handshake +2012-12-04 15:29:12.488668 T [36060:70103412726480] [50be5d186b69338cdc000001] RubySkynet::Connection: localhost:2100 -- Client Handshake -- {"clientid"=>"50be5d186b69338cdc000002"} +2012-12-04 15:29:12.488688 T [36060:70103412726480] [50be5d186b69338cdc000001] ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sending -- ,clientid50be5d186b69338cdc000002 +2012-12-04 15:29:12.488733 D [36060:70103412726480] [50be5d186b69338cdc000001] (0.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sent 44 bytes +2012-12-04 15:29:12.488795 D [36060:70103412726480] [50be5d186b69338cdc000001] RubySkynet::Connection: localhost:2100 -- Sending Header +2012-12-04 15:29:12.488811 T [36060:70103412726480] [50be5d186b69338cdc000001] RubySkynet::Connection: localhost:2100 -- Header -- {"servicemethod"=>"RubySkynet.Service.Forward", "seq"=>0} +2012-12-04 15:29:12.488836 T [36060:70103412726480] [50be5d186b69338cdc000001] ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sending -- <servicemethodRubySkynet.Service.Forwardseq +2012-12-04 15:29:12.488883 D [36060:70103412726480] [50be5d186b69338cdc000001] (0.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sent 60 bytes +2012-12-04 15:29:12.488925 D [36060:70103412726480] [50be5d186b69338cdc000001] RubySkynet::Connection: localhost:2100 -- Sending Request +2012-12-04 15:29:12.488937 T [36060:70103412726480] [50be5d186b69338cdc000001] RubySkynet::Connection: localhost:2100 -- Request -- {"clientid"=>"50be5d186b69338cdc000002", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"echo", "requestinfo"=>{"requestid"=>"50be5d186b69338cdc000001", "retrycount"=>0, "originaddress"=>""}} +2012-12-04 15:29:12.488945 T [36060:70103412726480] [50be5d186b69338cdc000001] RubySkynet::Connection: localhost:2100 -- Parameters: -- {"some"=>"parameters"} +2012-12-04 15:29:12.488965 T [36060:70103412726480] [50be5d186b69338cdc000001] ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sending -- clientid50be5d186b69338cdc000002insome parametersmethodechorequestinfoQrequestid50be5d186b69338cdc000001retrycountoriginaddress +2012-12-04 15:29:12.489009 D [36060:70103412726480] [50be5d186b69338cdc000001] (0.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sent 190 bytes +2012-12-04 15:29:12.489027 D [36060:70103412726480] [50be5d186b69338cdc000001] RubySkynet::Connection: localhost:2100 -- Reading header from server +2012-12-04 15:29:12.491059 D [36060:70103413281640] RubySkynet::Server: localhost:2100 -- +****************** +2012-12-04 15:29:12.491078 D [36060:70103413281640] RubySkynet::Server: localhost:2100 -- Received Request +2012-12-04 15:29:12.491088 T [36060:70103413281640] RubySkynet::Server: localhost:2100 -- Header -- {"servicemethod"=>"RubySkynet.Service.Forward", "seq"=>0} +2012-12-04 15:29:12.491667 T [36060:70103413281640] RubySkynet::Server: localhost:2100 -- Request -- {"clientid"=>"50be5d186b69338cdc000002", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"echo", "requestinfo"=>{"requestid"=>"50be5d186b69338cdc000001", "retrycount"=>0, "originaddress"=>""}} +2012-12-04 15:29:12.491807 E [36060:70103413281640] Celluloid -- RubySkynet::Server crashed! +NoMethodError: undefined method `debug_benchmark' for #<SemanticLogger::Logger:0x007f8472808c90> +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/server.rb:85:in `on_message' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/server.rb:122:in `handle_connection' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/celluloid-0.12.3/lib/celluloid/calls.rb:99:in `dispatch' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/celluloid-0.12.3/lib/celluloid/actor.rb:323:in `block in handle_message' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/celluloid-0.12.3/lib/celluloid/tasks/task_fiber.rb:22:in `block in initialize' +2012-12-04 15:29:12.491859 I [36060:70103413281640] RubySkynet::Server: localhost:2100 -- Skynet Server Stopped +2012-12-04 15:29:37.109081 D [36060:70103412726480] [50be5d186b69338cdc000001] (24620.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 4 bytes -- Interrupt: +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.2.1/lib/resilient_socket/tcp_client.rb:361:in `select' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.2.1/lib/resilient_socket/tcp_client.rb:361:in `block in read' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.7.0/lib/semantic_logger/base.rb:181:in `benchmark_debug' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.2.1/lib/resilient_socket/tcp_client.rb:357:in `read' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/common.rb:10:in `read_bson_document' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:178:in `rpc_call' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:65:in `block (3 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/gene_pool-1.3.0/lib/gene_pool.rb:134:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:214:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:64:in `block (2 levels) in call' /Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.7.0/lib/semantic_logger/base.rb:181:in `benchmark_info' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:541:in `connect_to_server' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:304:in `connect' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:232:in `initialize' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:36:in `new' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:36:in `initialize' -/Users/rmorrison/Sandbox/ruby_skynet/test/doozer_client_test.rb:22:in `new' -/Users/rmorrison/Sandbox/ruby_skynet/test/doozer_client_test.rb:22:in `block (4 levels) in <class:DoozerClientTest>' -/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:330:in `assert_raises' -/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/assertions.rb:69:in `assert_raise' -/Users/rmorrison/Sandbox/ruby_skynet/test/doozer_client_test.rb:21:in `block (3 levels) in <class:DoozerClientTest>' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:60:in `block in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.7.0/lib/semantic_logger/base.rb:161:in `with_tags' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:59:in `call' +/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_service_test.rb:56:in `block (4 levels) in <class:RubySkynetServiceTest>' /Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.0/lib/shoulda/context/context.rb:398:in `call' /Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.0/lib/shoulda/context/context.rb:398:in `block in create_test_from_should_hash' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:949:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/testcase.rb:17:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:787:in `block in _run_suite' @@ -565,24 +739,27 @@ /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:895:in `_run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:884:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:21:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:326:in `block (2 levels) in autorun' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:27:in `run_once' -/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:325:in `block in autorun' -- ResilientSocket::ConnectionFailure: After 5 connection attempts to host 'localhost:9999': Errno::ECONNREFUSED: Connection refused - connect(2) -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:570:in `rescue in block in connect_to_server' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:548:in `block in connect_to_server' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:325:in `block in autorun' +2012-12-04 15:29:37.109197 I [36060:70103412726480] [50be5d186b69338cdc000001] (24635.0ms) RubySkynet::Client: RubySkynet.Service/1/Test -- Called Skynet Service: RubySkynet.Service.echo -- Interrupt: +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.2.1/lib/resilient_socket/tcp_client.rb:361:in `select' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.2.1/lib/resilient_socket/tcp_client.rb:361:in `block in read' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.7.0/lib/semantic_logger/base.rb:181:in `benchmark_debug' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.2.1/lib/resilient_socket/tcp_client.rb:357:in `read' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/common.rb:10:in `read_bson_document' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:178:in `rpc_call' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:65:in `block (3 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/gene_pool-1.3.0/lib/gene_pool.rb:134:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:214:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:64:in `block (2 levels) in call' /Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.7.0/lib/semantic_logger/base.rb:181:in `benchmark_info' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:541:in `connect_to_server' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:304:in `connect' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:232:in `initialize' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:36:in `new' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:36:in `initialize' -/Users/rmorrison/Sandbox/ruby_skynet/test/doozer_client_test.rb:22:in `new' -/Users/rmorrison/Sandbox/ruby_skynet/test/doozer_client_test.rb:22:in `block (4 levels) in <class:DoozerClientTest>' -/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:330:in `assert_raises' -/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/assertions.rb:69:in `assert_raise' -/Users/rmorrison/Sandbox/ruby_skynet/test/doozer_client_test.rb:21:in `block (3 levels) in <class:DoozerClientTest>' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:60:in `block in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.7.0/lib/semantic_logger/base.rb:161:in `with_tags' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:59:in `call' +/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_service_test.rb:56:in `block (4 levels) in <class:RubySkynetServiceTest>' /Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.0/lib/shoulda/context/context.rb:398:in `call' /Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.0/lib/shoulda/context/context.rb:398:in `block in create_test_from_should_hash' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:949:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/testcase.rb:17:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:787:in `block in _run_suite' @@ -599,240 +776,130 @@ /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:884:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:21:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:326:in `block (2 levels) in autorun' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:27:in `run_once' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:325:in `block in autorun' -2012-10-18 16:25:20.596697 D [1133:70134358301400] RubySkynet::Registry -- Doozer Connection Pool: Created connection #1 #<Thread:0x007f92db06b5b0>(70134358301400) for Doozer Connection Pool -2012-10-18 16:25:20.596697 D [1133:70134358301400] RubySkynet::Registry -- Doozer Connection Pool: Created connection #1 #<Thread:0x007f92db06b5b0>(70134358301400) for Doozer Connection Pool -2012-10-18 16:25:20.596801 T [1133:70134358301400] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007f92db1fa0e8@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -2012-10-18 16:25:20.596801 T [1133:70134358301400] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007f92db1fa0e8@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007f92db1fa0e8@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -2012-10-18 16:25:20.597784 D [1133:70134358301400] RubySkynet::Registry -- Doozer Connection Pool: Renewed connection old=70134358301400 new=#<RubySkynet::Doozer::Client:0x007f92db1fa2c8>(70134359118180) -2012-10-18 16:25:20.597784 D [1133:70134358301400] RubySkynet::Registry -- Doozer Connection Pool: Renewed connection old=70134358301400 new=#<RubySkynet::Doozer::Client:0x007f92db1fa2c8>(70134359118180) -2012-10-18 16:25:20.597834 D [1133:70134358301400] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f92db1fa2c8>(70134359118180) self=connections=70134359118180 checked_out=70134359118180 with_map= -2012-10-18 16:25:20.597834 D [1133:70134358301400] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f92db1fa2c8>(70134359118180) self=connections=70134359118180 checked_out=70134359118180 with_map= -2012-10-18 16:25:20.598306 T [1133:70134358301400] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- #"/services/////2000H -2012-10-18 16:25:20.598306 T [1133:70134358301400] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- #"/services/////2000H -- #"/services/////2000H -2012-10-18 16:25:20.599063 D [1133:70134358301400] (0.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 39 bytes -2012-10-18 16:25:20.599063 D [1133:70134358301400] (0.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 39 bytes -2012-10-18 16:25:20.599302 T [1133:70134358301400] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" -2012-10-18 16:25:20.599302 T [1133:70134358301400] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" -- "\x00\x00\x00\x05" -2012-10-18 16:25:20.599317 D [1133:70134358301400] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:25:20.599317 D [1133:70134358301400] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:25:20.599397 T [1133:70134358301400] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\xA0\x06\x06" -2012-10-18 16:25:20.599397 T [1133:70134358301400] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\xA0\x06\x06" -- "\b\x00\xA0\x06\x06" -2012-10-18 16:25:20.599410 D [1133:70134358301400] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes -2012-10-18 16:25:20.599410 D [1133:70134358301400] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes -2012-10-18 16:25:20.599736 D [1133:70134358301400] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007f92db1fa2c8>(70134359118180) self=connections=70134359118180 checked_out= with_map= -2012-10-18 16:25:20.599736 D [1133:70134358301400] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007f92db1fa2c8>(70134359118180) self=connections=70134359118180 checked_out= with_map= -2012-10-18 16:25:20.600781 D [1133:70134358301400] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f92db1fa2c8>(70134359118180) self=connections=70134359118180 checked_out=70134359118180 with_map= -2012-10-18 16:25:20.600781 D [1133:70134358301400] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f92db1fa2c8>(70134359118180) self=connections=70134359118180 checked_out=70134359118180 with_map= -2012-10-18 16:25:20.601104 T [1133:70134358301400] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- #"/services/////2000H -2012-10-18 16:25:20.601104 T [1133:70134358301400] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- #"/services/////2000H -- #"/services/////2000H -2012-10-18 16:25:20.601153 D [1133:70134358301400] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 39 bytes -2012-10-18 16:25:20.601153 D [1133:70134358301400] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 39 bytes -2012-10-18 16:25:20.601487 T [1133:70134358301400] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" -2012-10-18 16:25:20.601487 T [1133:70134358301400] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" -- "\x00\x00\x00\x05" -2012-10-18 16:25:20.601499 D [1133:70134358301400] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:25:20.601499 D [1133:70134358301400] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:25:20.601564 T [1133:70134358301400] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\xA0\x06\x06" -2012-10-18 16:25:20.601564 T [1133:70134358301400] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\xA0\x06\x06" -- "\b\x00\xA0\x06\x06" -2012-10-18 16:25:20.601575 D [1133:70134358301400] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes -2012-10-18 16:25:20.601575 D [1133:70134358301400] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes -2012-10-18 16:25:20.601828 D [1133:70134358301400] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007f92db1fa2c8>(70134359118180) self=connections=70134359118180 checked_out= with_map= -2012-10-18 16:25:20.601828 D [1133:70134358301400] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007f92db1fa2c8>(70134359118180) self=connections=70134359118180 checked_out= with_map= -2012-10-18 16:25:43.101586 T [1147:70300385630940] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007fe02b0b2620@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -2012-10-18 16:25:43.101586 T [1147:70300385630940] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007fe02b0b2620@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007fe02b0b2620@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -2012-10-18 16:25:43.107042 T [1147:70300385630940] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "/8 -2012-10-18 16:25:43.107042 T [1147:70300385630940] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "/8 -- "/8 -2012-10-18 16:25:43.107283 D [1147:70300385630940] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 13 bytes -2012-10-18 16:25:43.107283 D [1147:70300385630940] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 13 bytes -2012-10-18 16:25:43.107577 T [1147:70300385630940] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\a" -2012-10-18 16:25:43.107577 T [1147:70300385630940] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\a" -- "\x00\x00\x00\a" -2012-10-18 16:25:43.107592 D [1147:70300385630940] (0.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:25:43.107592 D [1147:70300385630940] (0.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:25:43.107763 T [1147:70300385630940] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00*\x03ctl" -2012-10-18 16:25:43.107763 T [1147:70300385630940] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00*\x03ctl" -- "\b\x00*\x03ctl" -2012-10-18 16:25:43.107780 D [1147:70300385630940] (0.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 7 bytes -2012-10-18 16:25:43.107780 D [1147:70300385630940] (0.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 7 bytes -2012-10-18 16:25:43.108083 T [1147:70300385630940] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "/8 -2012-10-18 16:25:43.108083 T [1147:70300385630940] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "/8 -- "/8 -2012-10-18 16:25:43.108128 D [1147:70300385630940] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 13 bytes -2012-10-18 16:25:43.108128 D [1147:70300385630940] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 13 bytes -2012-10-18 16:25:43.108484 T [1147:70300385630940] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\f" -2012-10-18 16:25:43.108484 T [1147:70300385630940] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\f" -- "\x00\x00\x00\f" -2012-10-18 16:25:43.108496 D [1147:70300385630940] (0.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:25:43.108496 D [1147:70300385630940] (0.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:25:43.110177 T [1147:70300385630940] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00*\bservices" -2012-10-18 16:25:43.110177 T [1147:70300385630940] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00*\bservices" -- "\b\x00*\bservices" -2012-10-18 16:25:43.110223 D [1147:70300385630940] (1.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 12 bytes -2012-10-18 16:25:43.110223 D [1147:70300385630940] (1.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 12 bytes -2012-10-18 16:25:43.110473 T [1147:70300385630940] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "/8 -2012-10-18 16:25:43.110473 T [1147:70300385630940] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "/8 -- "/8 -2012-10-18 16:25:43.110518 D [1147:70300385630940] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 13 bytes -2012-10-18 16:25:43.110518 D [1147:70300385630940] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 13 bytes -2012-10-18 16:25:43.110757 T [1147:70300385630940] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x0E" -2012-10-18 16:25:43.110757 T [1147:70300385630940] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x0E" -- "\x00\x00\x00\x0E" -2012-10-18 16:25:43.110767 D [1147:70300385630940] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:25:43.110767 D [1147:70300385630940] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:25:43.110866 T [1147:70300385630940] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00*\nstatistics" -2012-10-18 16:25:43.110866 T [1147:70300385630940] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00*\nstatistics" -- "\b\x00*\nstatistics" -2012-10-18 16:25:43.110876 D [1147:70300385630940] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 14 bytes -2012-10-18 16:25:43.110876 D [1147:70300385630940] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 14 bytes -2012-10-18 16:25:43.111222 T [1147:70300385630940] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "/8 -2012-10-18 16:25:43.111222 T [1147:70300385630940] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "/8 -- "/8 -2012-10-18 16:25:43.111589 D [1147:70300385630940] (0.4ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 13 bytes -2012-10-18 16:25:43.111589 D [1147:70300385630940] (0.4ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 13 bytes -2012-10-18 16:25:43.111864 T [1147:70300385630940] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x05" -2012-10-18 16:25:43.111864 T [1147:70300385630940] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x05" -- "\x00\x00\x00\x05" -2012-10-18 16:25:43.111876 D [1147:70300385630940] (0.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:25:43.111876 D [1147:70300385630940] (0.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:25:43.111938 T [1147:70300385630940] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\xA0\x06\b" -2012-10-18 16:25:43.111938 T [1147:70300385630940] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\xA0\x06\b" -- "\b\x00\xA0\x06\b" -2012-10-18 16:25:43.111948 D [1147:70300385630940] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 5 bytes -2012-10-18 16:25:43.111948 D [1147:70300385630940] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 5 bytes -2012-10-18 16:25:43.113337 T [1147:70300385630940] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/fooH -2012-10-18 16:25:43.113337 T [1147:70300385630940] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/fooH -- " /test/fooH -2012-10-18 16:25:43.113385 D [1147:70300385630940] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 30 bytes -2012-10-18 16:25:43.113385 D [1147:70300385630940] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 30 bytes -2012-10-18 16:25:43.115372 T [1147:70300385630940] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x02" -2012-10-18 16:25:43.115372 T [1147:70300385630940] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x02" -- "\x00\x00\x00\x02" -2012-10-18 16:25:43.117849 D [1147:70300385630940] (4.4ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:25:43.117849 D [1147:70300385630940] (4.4ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:25:43.118136 T [1147:70300385630940] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00" -2012-10-18 16:25:43.118136 T [1147:70300385630940] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00" -- "\b\x00" -2012-10-18 16:25:43.118151 D [1147:70300385630940] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 2 bytes -2012-10-18 16:25:43.118151 D [1147:70300385630940] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 2 bytes -2012-10-18 16:25:43.118376 T [1147:70300385630940] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007fe02ba0b320@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -2012-10-18 16:25:43.118376 T [1147:70300385630940] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007fe02ba0b320@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007fe02ba0b320@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -2012-10-18 16:25:43.119652 T [1147:70300385630940] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending --  -2012-10-18 16:25:43.119652 T [1147:70300385630940] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending --  --  -2012-10-18 16:25:43.119889 D [1147:70300385630940] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 8 bytes -2012-10-18 16:25:43.119889 D [1147:70300385630940] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 8 bytes -2012-10-18 16:25:43.120050 T [1147:70300385630940] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x06" -2012-10-18 16:25:43.120050 T [1147:70300385630940] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x06" -- "\x00\x00\x00\x06" -2012-10-18 16:25:43.120063 D [1147:70300385630940] (0.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:25:43.120063 D [1147:70300385630940] (0.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:25:43.120128 T [1147:70300385630940] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xC1\xD0\x03" -2012-10-18 16:25:43.120128 T [1147:70300385630940] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xC1\xD0\x03" -- "\b\x00\x18\xC1\xD0\x03" -2012-10-18 16:25:43.120139 D [1147:70300385630940] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 6 bytes -2012-10-18 16:25:43.120139 D [1147:70300385630940] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 6 bytes -2012-10-18 16:25:43.121359 T [1147:70300385630940] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/fooH -2012-10-18 16:25:43.121359 T [1147:70300385630940] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/fooH -- " /test/fooH -2012-10-18 16:25:43.121593 D [1147:70300385630940] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 30 bytes -2012-10-18 16:25:43.121593 D [1147:70300385630940] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 30 bytes -2012-10-18 16:25:43.123392 T [1147:70300385630940] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x02" -2012-10-18 16:25:43.123392 T [1147:70300385630940] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x02" -- "\x00\x00\x00\x02" -2012-10-18 16:25:43.123440 D [1147:70300385630940] (1.8ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:25:43.123440 D [1147:70300385630940] (1.8ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:25:43.123768 T [1147:70300385630940] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00" -2012-10-18 16:25:43.123768 T [1147:70300385630940] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00" -- "\b\x00" -2012-10-18 16:25:43.123810 D [1147:70300385630940] (0.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 2 bytes -2012-10-18 16:25:43.123810 D [1147:70300385630940] (0.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 2 bytes -2012-10-18 16:25:43.125019 T [1147:70300385630940] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007fe02ba260a8@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -2012-10-18 16:25:43.125019 T [1147:70300385630940] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007fe02ba260a8@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007fe02ba260a8@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -2012-10-18 16:25:43.126228 T [1147:70300385630940] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "" /test/foo*value2H -2012-10-18 16:25:43.126228 T [1147:70300385630940] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "" /test/foo*value2H -- "" /test/foo*value2H -2012-10-18 16:25:43.126332 D [1147:70300385630940] (0.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 38 bytes -2012-10-18 16:25:43.126332 D [1147:70300385630940] (0.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 38 bytes -2012-10-18 16:25:43.127833 T [1147:70300385630940] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x06" -2012-10-18 16:25:43.127833 T [1147:70300385630940] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x06" -- "\x00\x00\x00\x06" -2012-10-18 16:25:43.127870 D [1147:70300385630940] (1.5ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:25:43.127870 D [1147:70300385630940] (1.5ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:25:43.129751 T [1147:70300385630940] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xC3\xD0\x03" -2012-10-18 16:25:43.129751 T [1147:70300385630940] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xC3\xD0\x03" -- "\b\x00\x18\xC3\xD0\x03" -2012-10-18 16:25:43.129792 D [1147:70300385630940] (1.9ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 6 bytes -2012-10-18 16:25:43.129792 D [1147:70300385630940] (1.9ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 6 bytes -2012-10-18 16:25:43.130108 T [1147:70300385630940] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/foo -2012-10-18 16:25:43.130108 T [1147:70300385630940] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/foo -- " /test/foo -2012-10-18 16:25:43.130157 D [1147:70300385630940] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 19 bytes -2012-10-18 16:25:43.130157 D [1147:70300385630940] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 19 bytes -2012-10-18 16:25:43.130441 T [1147:70300385630940] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x0E" -2012-10-18 16:25:43.130441 T [1147:70300385630940] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x0E" -- "\x00\x00\x00\x0E" -2012-10-18 16:25:43.130456 D [1147:70300385630940] (0.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:25:43.130456 D [1147:70300385630940] (0.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:25:43.130521 T [1147:70300385630940] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xC3\xD0\x032\x06value2" -2012-10-18 16:25:43.130521 T [1147:70300385630940] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xC3\xD0\x032\x06value2" -- "\b\x00\x18\xC3\xD0\x032\x06value2" -2012-10-18 16:25:43.130532 D [1147:70300385630940] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 14 bytes -2012-10-18 16:25:43.130532 D [1147:70300385630940] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 14 bytes -2012-10-18 16:25:43.137857 T [1147:70300385630940] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/fooH -2012-10-18 16:25:43.137857 T [1147:70300385630940] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/fooH -- " /test/fooH -2012-10-18 16:25:43.138110 D [1147:70300385630940] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 30 bytes -2012-10-18 16:25:43.138110 D [1147:70300385630940] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 30 bytes -2012-10-18 16:25:43.139966 T [1147:70300385630940] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x02" -2012-10-18 16:25:43.139966 T [1147:70300385630940] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x02" -- "\x00\x00\x00\x02" -2012-10-18 16:25:43.140011 D [1147:70300385630940] (1.9ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:25:43.140011 D [1147:70300385630940] (1.9ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:25:43.140359 T [1147:70300385630940] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00" -2012-10-18 16:25:43.140359 T [1147:70300385630940] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00" -- "\b\x00" -2012-10-18 16:25:43.140399 D [1147:70300385630940] (0.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 2 bytes -2012-10-18 16:25:43.140399 D [1147:70300385630940] (0.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 2 bytes -2012-10-18 16:25:43.140837 T [1147:70300385630940] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007fe02b04ead0@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -2012-10-18 16:25:43.140837 T [1147:70300385630940] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007fe02b04ead0@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007fe02b04ead0@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -2012-10-18 16:25:43.145971 T [1147:70300385630940] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- !" /test/foo*valueH -2012-10-18 16:25:43.145971 T [1147:70300385630940] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- !" /test/foo*valueH -- !" /test/foo*valueH -2012-10-18 16:25:43.146938 D [1147:70300385630940] (0.9ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 37 bytes -2012-10-18 16:25:43.146938 D [1147:70300385630940] (0.9ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 37 bytes -2012-10-18 16:25:43.147809 T [1147:70300385630940] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x06" -2012-10-18 16:25:43.147809 T [1147:70300385630940] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x06" -- "\x00\x00\x00\x06" -2012-10-18 16:25:43.147877 D [1147:70300385630940] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:25:43.147877 D [1147:70300385630940] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:25:43.149543 T [1147:70300385630940] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xC5\xD0\x03" -2012-10-18 16:25:43.149543 T [1147:70300385630940] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xC5\xD0\x03" -- "\b\x00\x18\xC5\xD0\x03" -2012-10-18 16:25:43.149589 D [1147:70300385630940] (1.6ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 6 bytes -2012-10-18 16:25:43.149589 D [1147:70300385630940] (1.6ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 6 bytes -2012-10-18 16:25:43.150059 T [1147:70300385630940] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/foo -2012-10-18 16:25:43.150059 T [1147:70300385630940] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/foo -- " /test/foo -2012-10-18 16:25:43.150265 D [1147:70300385630940] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 19 bytes -2012-10-18 16:25:43.150265 D [1147:70300385630940] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 19 bytes -2012-10-18 16:25:43.150335 T [1147:70300385630940] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\r" -2012-10-18 16:25:43.150335 T [1147:70300385630940] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\r" -- "\x00\x00\x00\r" -2012-10-18 16:25:43.150346 D [1147:70300385630940] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:25:43.150346 D [1147:70300385630940] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:25:43.150628 T [1147:70300385630940] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xC5\xD0\x032\x05value" -2012-10-18 16:25:43.150628 T [1147:70300385630940] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xC5\xD0\x032\x05value" -- "\b\x00\x18\xC5\xD0\x032\x05value" -2012-10-18 16:25:43.150641 D [1147:70300385630940] (0.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 13 bytes -2012-10-18 16:25:43.150641 D [1147:70300385630940] (0.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 13 bytes -2012-10-18 16:25:43.152088 T [1147:70300385630940] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/fooH -2012-10-18 16:25:43.152088 T [1147:70300385630940] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/fooH -- " /test/fooH -2012-10-18 16:25:43.152324 D [1147:70300385630940] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 30 bytes -2012-10-18 16:25:43.152324 D [1147:70300385630940] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 30 bytes -2012-10-18 16:25:43.153611 T [1147:70300385630940] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x02" -2012-10-18 16:25:43.153611 T [1147:70300385630940] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x02" -- "\x00\x00\x00\x02" -2012-10-18 16:25:43.153646 D [1147:70300385630940] (1.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:25:43.153646 D [1147:70300385630940] (1.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:25:43.155337 T [1147:70300385630940] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00" -2012-10-18 16:25:43.155337 T [1147:70300385630940] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00" -- "\b\x00" -2012-10-18 16:25:43.155377 D [1147:70300385630940] (1.7ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 2 bytes -2012-10-18 16:25:43.155377 D [1147:70300385630940] (1.7ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 2 bytes -2012-10-18 16:25:43.155925 T [1147:70300385630940] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:9999", :connect_retry_interval=>0.1, :connect_retry_count=>5, :read_timeout=>5, :connect_timeout=>3, :buffered=>false, :on_connect=>#<Proc:0x007fe02b90acf0@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -2012-10-18 16:25:43.155925 T [1147:70300385630940] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:9999", :connect_retry_interval=>0.1, :connect_retry_count=>5, :read_timeout=>5, :connect_timeout=>3, :buffered=>false, :on_connect=>#<Proc:0x007fe02b90acf0@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -- {:server=>"localhost:9999", :connect_retry_interval=>0.1, :connect_retry_count=>5, :read_timeout=>5, :connect_timeout=>3, :buffered=>false, :on_connect=>#<Proc:0x007fe02b90acf0@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -2012-10-18 16:25:43.156694 W [1147:70300385630940] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 1 -2012-10-18 16:25:43.156694 W [1147:70300385630940] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 1 -2012-10-18 16:25:43.258390 W [1147:70300385630940] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 2 -2012-10-18 16:25:43.258390 W [1147:70300385630940] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 2 -2012-10-18 16:25:43.359799 W [1147:70300385630940] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 3 -2012-10-18 16:25:43.359799 W [1147:70300385630940] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 3 -2012-10-18 16:25:43.461452 W [1147:70300385630940] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 4 -2012-10-18 16:25:43.461452 W [1147:70300385630940] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 4 -2012-10-18 16:25:43.562944 W [1147:70300385630940] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 5 -2012-10-18 16:25:43.562944 W [1147:70300385630940] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 5 -2012-10-18 16:25:43.665509 E [1147:70300385630940] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Giving up after 5 retries -2012-10-18 16:25:43.665509 E [1147:70300385630940] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Giving up after 5 retries -2012-10-18 16:25:43.665640 I [1147:70300385630940] (509.6ms) ResilientSocket::TCPClient ["localhost:9999"] -- Connecting to server localhost:9999 -- ResilientSocket::ConnectionFailure: After 5 connection attempts to host 'localhost:9999': Errno::ECONNREFUSED: Connection refused - connect(2) -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:570:in `rescue in block in connect_to_server' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:548:in `block in connect_to_server' +2012-12-04 15:29:37.120886 I [36060:70103412726480] Celluloid -- Terminating 4 actors... +2012-12-04 15:29:37.122043 I [36060:70103412726480] Celluloid -- Shutdown completed cleanly +2012-12-04 15:29:38.939701 D [36083:70099986220940] RubySkynet::Server: localhost:2100 -- Waiting for a client to connect +2012-12-04 15:29:38.947616 D [36083:70099981785820] RubySkynet::Registry -- Doozer Connection Pool: Created connection #1 #<Thread:0x007f82d906b5b8>(70099981785820) for Doozer Connection Pool +2012-12-04 15:29:38.986449 T [36083:70099981785820] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007f82d9028a88@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-04 15:29:38.990179 D [36083:70099981785820] RubySkynet::Registry -- Doozer Connection Pool: Renewed connection old=70099981785820 new=#<RubySkynet::Doozer::Client:0x007f82d9028ee8>(70099981649780) +2012-12-04 15:29:38.990230 D [36083:70099981785820] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f82d9028ee8>(70099981649780) self=connections=70099981649780 checked_out=70099981649780 with_map= +2012-12-04 15:29:39.006138 T [36083:70099981785820] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- ""2/services/RubySkynet.Service/1/Test/localhost/2100*{"Config":{"UUID":"localhost:2100-36083-RubySkynet::Service-70099986909420","Name":"RubySkynet.Service","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"localhost","Port":2100,"MaxPort":3099}},"Registered":true}H +2012-12-04 15:29:39.006490 D [36083:70099981785820] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 294 bytes +2012-12-04 15:29:39.008238 T [36005:70299094727580] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01\x1A" +2012-12-04 15:29:39.008261 D [36005:70299094727580] (26538.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-04 15:29:39.008794 T [36005:70299094727580] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xAF\n*2/services/RubySkynet.Service/1/Test/localhost/21002\xDC\x01{\"Config\":{\"UUID\":\"localhost:2100-36083-RubySkynet::Service-70099986909420\",\"Name\":\"RubySkynet.Service\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-04 15:29:39.008807 D [36005:70299094727580] (0.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 282 bytes +2012-12-04 15:29:39.009199 D [36005:70299094727580] RubySkynet::Registry -- #monitor Add/Update Service: RubySkynet.Service/1/Test => localhost:2100 +2012-12-04 15:29:39.009212 D [36005:70299094727580] RubySkynet::Registry -- Updated registry -- {"RubySkynet.Service/1/Development"=>["localhost:2100"], "RubySkynet.Service/1/Test"=>["localhost:2100"]} +2012-12-04 15:29:39.009439 T [36005:70299094727580] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H + +2012-12-04 15:29:39.009512 D [36005:70299094727580] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-04 15:29:39.008364 T [36083:70099981785820] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-04 15:29:39.008410 D [36083:70099981785820] (1.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-04 15:29:39.010302 T [36083:70099981785820] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xAF\n" +2012-12-04 15:29:39.010350 D [36083:70099981785820] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-04 15:29:39.010524 D [36083:70099981785820] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007f82d9028ee8>(70099981649780) self=connections=70099981649780 checked_out= with_map= +2012-12-04 15:29:39.020795 D [36083:70099981785820] [50be5d336b69338cf3000001] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f82d9028ee8>(70099981649780) self=connections=70099981649780 checked_out=70099981649780 with_map= +2012-12-04 15:29:39.021064 T [36083:70099981785820] [50be5d336b69338cf3000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  +2012-12-04 15:29:39.021468 D [36083:70099981785820] [50be5d336b69338cf3000001] (0.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 8 bytes +2012-12-04 15:29:39.021539 T [36083:70099981785820] [50be5d336b69338cf3000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-04 15:29:39.021550 D [36083:70099981785820] [50be5d336b69338cf3000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-04 15:29:39.021988 T [36083:70099981785820] [50be5d336b69338cf3000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xAF\n" +2012-12-04 15:29:39.022020 D [36083:70099981785820] [50be5d336b69338cf3000001] (0.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-04 15:29:39.022345 T [36083:70099981785820] [50be5d336b69338cf3000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H + +2012-12-04 15:29:39.022393 D [36083:70099981785820] [50be5d336b69338cf3000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-04 15:29:39.023037 T [36083:70099981785820] [50be5d336b69338cf3000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01(" +2012-12-04 15:29:39.023054 D [36083:70099981785820] [50be5d336b69338cf3000001] (0.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-04 15:29:39.023151 T [36083:70099981785820] [50be5d336b69338cf3000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xA2\t*9/services/RubySkynet.Service/1/Development/localhost/21002\xE3\x01{\"Config\":{\"UUID\":\"localhost:2100-36005-RubySkynet::Service-70299094646300\",\"Name\":\"RubySkynet.Service\",\"Version\":\"1\",\"Region\":\"Development\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-04 15:29:39.023162 D [36083:70099981785820] [50be5d336b69338cf3000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 296 bytes +2012-12-04 15:29:39.023487 T [36083:70099981785820] [50be5d336b69338cf3000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H + +2012-12-04 15:29:39.024215 D [36083:70099981785820] [50be5d336b69338cf3000001] (0.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-04 15:29:39.024627 T [36083:70099981785820] [50be5d336b69338cf3000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01\x1A" +2012-12-04 15:29:39.024643 D [36083:70099981785820] [50be5d336b69338cf3000001] (0.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-04 15:29:39.024741 T [36083:70099981785820] [50be5d336b69338cf3000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xAF\n*2/services/RubySkynet.Service/1/Test/localhost/21002\xDC\x01{\"Config\":{\"UUID\":\"localhost:2100-36083-RubySkynet::Service-70099986909420\",\"Name\":\"RubySkynet.Service\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-04 15:29:39.024752 D [36083:70099981785820] [50be5d336b69338cf3000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 282 bytes +2012-12-04 15:29:39.025042 T [36083:70099981785820] [50be5d336b69338cf3000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H + +2012-12-04 15:29:39.025129 D [36083:70099981785820] [50be5d336b69338cf3000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-04 15:29:39.025752 T [36083:70099981785820] [50be5d336b69338cf3000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-04 15:29:39.025786 D [36083:70099981785820] [50be5d336b69338cf3000001] (0.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-04 15:29:39.026224 T [36083:70099981785820] [50be5d336b69338cf3000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\xA0\x06\b" +2012-12-04 15:29:39.026241 D [36083:70099981785820] [50be5d336b69338cf3000001] (0.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-04 15:29:39.026534 D [36083:70099981785820] [50be5d336b69338cf3000001] RubySkynet::Registry -- #start_monitoring Add Service: RubySkynet.Service/1/Development => localhost:2100 +2012-12-04 15:29:39.026589 D [36083:70099981785820] [50be5d336b69338cf3000001] RubySkynet::Registry -- #start_monitoring Add Service: RubySkynet.Service/1/Test => localhost:2100 +2012-12-04 15:29:39.026633 D [36083:70099981785820] [50be5d336b69338cf3000001] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007f82d9028ee8>(70099981649780) self=connections=70099981649780 checked_out= with_map= +2012-12-04 15:29:39.027435 I [36083:70099987245920] RubySkynet::Registry -- Start monitoring /services/*/*/*/*/* +2012-12-04 15:29:39.027482 T [36083:70099987245920] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007f82d9bcf0f8@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-04 15:29:39.028366 T [36083:70099987245920] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H + +2012-12-04 15:29:39.028423 D [36083:70099987245920] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-04 15:29:39.030160 D [36083:70099986220940] RubySkynet::Server: localhost:2100 -- Waiting for a client to connect +2012-12-04 15:29:39.030264 D [36083:70099986220940] RubySkynet::Server: localhost:2100 -- Client connected, waiting for data from client +2012-12-04 15:29:39.032244 D [36083:70099981785820] [50be5d336b69338cf3000001] RubySkynet::Connection: localhost:2100 -- Waiting for Service Handshake +2012-12-04 15:29:39.032448 T [36083:70099981785820] [50be5d336b69338cf3000001] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "9\x00\x00\x00" +2012-12-04 15:29:39.032491 D [36083:70099981785820] [50be5d336b69338cf3000001] (0.2ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 4 bytes +2012-12-04 15:29:39.032858 T [36083:70099981785820] [50be5d336b69338cf3000001] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "\bregistered\x00\x01\x02clientid\x00\x19\x00\x00\x0050be5d336b69338cf3000002\x00\x00" +2012-12-04 15:29:39.032899 D [36083:70099981785820] [50be5d336b69338cf3000001] (0.4ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 53 bytes +2012-12-04 15:29:39.032957 T [36083:70099981785820] [50be5d336b69338cf3000001] RubySkynet::Connection: localhost:2100 -- Service Handshake -- {"registered"=>true, "clientid"=>"50be5d336b69338cf3000002"} +2012-12-04 15:29:39.032974 D [36083:70099981785820] [50be5d336b69338cf3000001] RubySkynet::Connection: localhost:2100 -- Sending Client Handshake +2012-12-04 15:29:39.032984 T [36083:70099981785820] [50be5d336b69338cf3000001] RubySkynet::Connection: localhost:2100 -- Client Handshake -- {"clientid"=>"50be5d336b69338cf3000002"} +2012-12-04 15:29:39.033009 T [36083:70099981785820] [50be5d336b69338cf3000001] ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sending -- ,clientid50be5d336b69338cf3000002 +2012-12-04 15:29:39.035832 D [36083:70099981785820] [50be5d336b69338cf3000001] (2.8ms) ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sent 44 bytes +2012-12-04 15:29:39.036133 D [36083:70099981785820] [50be5d336b69338cf3000001] RubySkynet::Connection: localhost:2100 -- Sending Header +2012-12-04 15:29:39.036198 T [36083:70099981785820] [50be5d336b69338cf3000001] RubySkynet::Connection: localhost:2100 -- Header -- {"servicemethod"=>"RubySkynet.Service.Forward", "seq"=>0} +2012-12-04 15:29:39.036289 T [36083:70099981785820] [50be5d336b69338cf3000001] ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sending -- <servicemethodRubySkynet.Service.Forwardseq +2012-12-04 15:29:39.037591 D [36083:70099981785820] [50be5d336b69338cf3000001] (1.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sent 60 bytes +2012-12-04 15:29:39.037669 D [36083:70099981785820] [50be5d336b69338cf3000001] RubySkynet::Connection: localhost:2100 -- Sending Request +2012-12-04 15:29:39.037682 T [36083:70099981785820] [50be5d336b69338cf3000001] RubySkynet::Connection: localhost:2100 -- Request -- {"clientid"=>"50be5d336b69338cf3000002", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"echo", "requestinfo"=>{"requestid"=>"50be5d336b69338cf3000001", "retrycount"=>0, "originaddress"=>""}} +2012-12-04 15:29:39.037691 T [36083:70099981785820] [50be5d336b69338cf3000001] RubySkynet::Connection: localhost:2100 -- Parameters: -- {"some"=>"parameters"} +2012-12-04 15:29:39.037713 T [36083:70099981785820] [50be5d336b69338cf3000001] ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sending -- clientid50be5d336b69338cf3000002insome parametersmethodechorequestinfoQrequestid50be5d336b69338cf3000001retrycountoriginaddress +2012-12-04 15:29:39.038536 D [36083:70099986220940] RubySkynet::Server: localhost:2100 -- +****************** +2012-12-04 15:29:39.038569 D [36083:70099986220940] RubySkynet::Server: localhost:2100 -- Received Request +2012-12-04 15:29:39.038583 T [36083:70099986220940] RubySkynet::Server: localhost:2100 -- Header -- {"servicemethod"=>"RubySkynet.Service.Forward", "seq"=>0} +2012-12-04 15:29:39.039794 T [36083:70099986220940] RubySkynet::Server: localhost:2100 -- Request -- {"clientid"=>"50be5d336b69338cf3000002", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"echo", "requestinfo"=>{"requestid"=>"50be5d336b69338cf3000001", "retrycount"=>0, "originaddress"=>""}} +2012-12-04 15:29:39.039860 D [36083:70099986220940] (0.0ms) RubySkynet::Server: localhost:2100 -- Called: service#echo -- NameError: uninitialized class variable @@services in RubySkynet::Server +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/server.rb:86:in `block in on_message' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.7.0/lib/semantic_logger/base.rb:181:in `benchmark_debug' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/server.rb:85:in `on_message' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/server.rb:122:in `handle_connection' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/celluloid-0.12.3/lib/celluloid/calls.rb:99:in `dispatch' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/celluloid-0.12.3/lib/celluloid/actor.rb:323:in `block in handle_message' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/celluloid-0.12.3/lib/celluloid/tasks/task_fiber.rb:22:in `block in initialize' +2012-12-04 15:29:39.039926 E [36083:70099986220940] Celluloid -- RubySkynet::Server crashed! +NameError: uninitialized class variable @@services in RubySkynet::Server +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/server.rb:86:in `block in on_message' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.7.0/lib/semantic_logger/base.rb:181:in `benchmark_debug' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/server.rb:85:in `on_message' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/server.rb:122:in `handle_connection' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/celluloid-0.12.3/lib/celluloid/calls.rb:99:in `dispatch' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/celluloid-0.12.3/lib/celluloid/actor.rb:323:in `block in handle_message' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/celluloid-0.12.3/lib/celluloid/tasks/task_fiber.rb:22:in `block in initialize' +2012-12-04 15:29:39.039983 I [36083:70099986220940] RubySkynet::Server: localhost:2100 -- Skynet Server Stopped +2012-12-04 15:29:39.040284 D [36083:70099981785820] [50be5d336b69338cf3000001] (2.6ms) ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sent 190 bytes +2012-12-04 15:29:39.040306 D [36083:70099981785820] [50be5d336b69338cf3000001] RubySkynet::Connection: localhost:2100 -- Reading header from server +2012-12-04 15:30:39.010993 W [36083:70099981785820] [50be5d336b69338cf3000001] ResilientSocket::TCPClient ["localhost:2100"] -- #read Timeout waiting for server to reply +2012-12-04 15:30:39.011196 D [36083:70099981785820] [50be5d336b69338cf3000001] (59970.9ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 4 bytes -- ResilientSocket::ReadTimeout: Timedout after 60.0 seconds trying to read from localhost:2100 +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.2.1/lib/resilient_socket/tcp_client.rb:364:in `block in read' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.7.0/lib/semantic_logger/base.rb:181:in `benchmark_debug' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.2.1/lib/resilient_socket/tcp_client.rb:357:in `read' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/common.rb:10:in `read_bson_document' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:178:in `rpc_call' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:65:in `block (3 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/gene_pool-1.3.0/lib/gene_pool.rb:134:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:214:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:64:in `block (2 levels) in call' /Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.7.0/lib/semantic_logger/base.rb:181:in `benchmark_info' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:541:in `connect_to_server' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:304:in `connect' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:232:in `initialize' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:36:in `new' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:36:in `initialize' -/Users/rmorrison/Sandbox/ruby_skynet/test/doozer_client_test.rb:22:in `new' -/Users/rmorrison/Sandbox/ruby_skynet/test/doozer_client_test.rb:22:in `block (4 levels) in <class:DoozerClientTest>' -/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:330:in `assert_raises' -/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/assertions.rb:69:in `assert_raise' -/Users/rmorrison/Sandbox/ruby_skynet/test/doozer_client_test.rb:21:in `block (3 levels) in <class:DoozerClientTest>' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:60:in `block in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.7.0/lib/semantic_logger/base.rb:161:in `with_tags' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:59:in `call' +/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_service_test.rb:56:in `block (4 levels) in <class:RubySkynetServiceTest>' /Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.0/lib/shoulda/context/context.rb:398:in `call' /Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.0/lib/shoulda/context/context.rb:398:in `block in create_test_from_should_hash' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:949:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/testcase.rb:17:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:787:in `block in _run_suite' @@ -849,24 +916,25 @@ /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:884:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:21:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:326:in `block (2 levels) in autorun' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:27:in `run_once' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:325:in `block in autorun' -2012-10-18 16:25:43.665640 I [1147:70300385630940] (509.6ms) ResilientSocket::TCPClient ["localhost:9999"] -- Connecting to server localhost:9999 -- ResilientSocket::ConnectionFailure: After 5 connection attempts to host 'localhost:9999': Errno::ECONNREFUSED: Connection refused - connect(2) -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:570:in `rescue in block in connect_to_server' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:548:in `block in connect_to_server' +2012-12-04 15:30:39.011265 I [36083:70099981785820] [50be5d336b69338cf3000001] (59992.4ms) RubySkynet::Client: RubySkynet.Service/1/Test -- Called Skynet Service: RubySkynet.Service.echo -- ResilientSocket::ReadTimeout: Timedout after 60.0 seconds trying to read from localhost:2100 +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.2.1/lib/resilient_socket/tcp_client.rb:364:in `block in read' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.7.0/lib/semantic_logger/base.rb:181:in `benchmark_debug' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.2.1/lib/resilient_socket/tcp_client.rb:357:in `read' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/common.rb:10:in `read_bson_document' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:178:in `rpc_call' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:65:in `block (3 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/gene_pool-1.3.0/lib/gene_pool.rb:134:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:214:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:64:in `block (2 levels) in call' /Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.7.0/lib/semantic_logger/base.rb:181:in `benchmark_info' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:541:in `connect_to_server' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:304:in `connect' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:232:in `initialize' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:36:in `new' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:36:in `initialize' -/Users/rmorrison/Sandbox/ruby_skynet/test/doozer_client_test.rb:22:in `new' -/Users/rmorrison/Sandbox/ruby_skynet/test/doozer_client_test.rb:22:in `block (4 levels) in <class:DoozerClientTest>' -/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:330:in `assert_raises' -/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/assertions.rb:69:in `assert_raise' -/Users/rmorrison/Sandbox/ruby_skynet/test/doozer_client_test.rb:21:in `block (3 levels) in <class:DoozerClientTest>' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:60:in `block in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.7.0/lib/semantic_logger/base.rb:161:in `with_tags' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:59:in `call' +/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_service_test.rb:56:in `block (4 levels) in <class:RubySkynetServiceTest>' /Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.0/lib/shoulda/context/context.rb:398:in `call' /Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.0/lib/shoulda/context/context.rb:398:in `block in create_test_from_should_hash' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:949:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/testcase.rb:17:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:787:in `block in _run_suite' @@ -882,27 +950,173 @@ /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:895:in `_run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:884:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:21:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:326:in `block (2 levels) in autorun' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:27:in `run_once' -/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:325:in `block in autorun' -- ResilientSocket::ConnectionFailure: After 5 connection attempts to host 'localhost:9999': Errno::ECONNREFUSED: Connection refused - connect(2) -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:570:in `rescue in block in connect_to_server' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:548:in `block in connect_to_server' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.7.0/lib/semantic_logger/base.rb:181:in `benchmark_info' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:541:in `connect_to_server' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:304:in `connect' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:232:in `initialize' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:36:in `new' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:36:in `initialize' -/Users/rmorrison/Sandbox/ruby_skynet/test/doozer_client_test.rb:22:in `new' -/Users/rmorrison/Sandbox/ruby_skynet/test/doozer_client_test.rb:22:in `block (4 levels) in <class:DoozerClientTest>' -/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:330:in `assert_raises' -/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/assertions.rb:69:in `assert_raise' -/Users/rmorrison/Sandbox/ruby_skynet/test/doozer_client_test.rb:21:in `block (3 levels) in <class:DoozerClientTest>' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.0/lib/shoulda/context/context.rb:398:in `call' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.0/lib/shoulda/context/context.rb:398:in `block in create_test_from_should_hash' -/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:949:in `run' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:325:in `block in autorun' +2012-12-04 15:30:39.016506 D [36083:70099986220940] RubySkynet::Server: localhost:2100 -- Waiting for a client to connect +2012-12-04 15:30:39.017134 I [36083:70099986220940] RubySkynet::Server: localhost:2100 -- Skynet Server Stopped +2012-12-04 15:30:39.018267 D [36083:70099986220940] RubySkynet::Server: localhost:2100 -- Waiting for a client to connect +2012-12-04 15:30:39.018533 D [36083:70099981785820] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f82d9028ee8>(70099981649780) self=connections=70099981649780 checked_out=70099981649780 with_map= +2012-12-04 15:30:39.018858 T [36083:70099981785820] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- 8"2/services/RubySkynet.Service/1/Test/localhost/2100 +2012-12-04 15:30:39.018984 D [36083:70099981785820] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 60 bytes +2012-12-04 15:30:39.019674 T [36083:70099981785820] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\xE4" +2012-12-04 15:30:39.019693 D [36083:70099981785820] (0.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-04 15:30:39.020046 T [36083:70099981785820] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xAF\n2\xDC\x01{\"Config\":{\"UUID\":\"localhost:2100-36083-RubySkynet::Service-70099986909420\",\"Name\":\"RubySkynet.Service\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-04 15:30:39.020064 D [36083:70099981785820] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 228 bytes +2012-12-04 15:30:39.020208 D [36083:70099981785820] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007f82d9028ee8>(70099981649780) self=connections=70099981649780 checked_out= with_map= +2012-12-04 15:30:39.020656 I [36083:70099986220940] RubySkynet::Server: localhost:2100 -- Skynet Server Stopped +2012-12-04 15:30:39.024007 I [36083:70099981785820] Celluloid -- Terminating 4 actors... +2012-12-04 15:30:39.025613 I [36083:70099981785820] Celluloid -- Shutdown completed cleanly +2012-12-04 15:32:06.758790 D [36166:70123214345700] RubySkynet::Server: localhost:2100 -- Waiting for a client to connect +2012-12-04 15:32:06.762491 I [36166:70123214345700] RubySkynet::Server: localhost:2100 -- Skynet Server Stopped +2012-12-04 15:32:06.767229 D [36166:70123214345700] RubySkynet::Server: localhost:2100 -- Waiting for a client to connect +2012-12-04 15:32:06.768179 I [36166:70123214345700] RubySkynet::Server: localhost:2100 -- Skynet Server Stopped +2012-12-04 15:32:06.769176 D [36166:70123214345700] RubySkynet::Server: localhost:2100 -- Waiting for a client to connect +2012-12-04 15:32:06.773805 D [36166:70123209841360] RubySkynet::Registry -- Doozer Connection Pool: Created connection #1 #<Thread:0x007f8daa06b5a0>(70123209841360) for Doozer Connection Pool +2012-12-04 15:32:06.806300 T [36166:70123209841360] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007f8daa855568@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-04 15:32:06.809644 D [36166:70123209841360] RubySkynet::Registry -- Doozer Connection Pool: Renewed connection old=70123209841360 new=#<RubySkynet::Doozer::Client:0x007f8daa8563f0>(70123213992440) +2012-12-04 15:32:06.809693 D [36166:70123209841360] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f8daa8563f0>(70123213992440) self=connections=70123213992440 checked_out=70123213992440 with_map= +2012-12-04 15:32:06.810928 T [36166:70123209841360] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- 8"2/services/RubySkynet.Service/1/Test/localhost/2100 +2012-12-04 15:32:06.810988 D [36166:70123209841360] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 60 bytes +2012-12-04 15:32:06.811252 T [36166:70123209841360] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\xE4" +2012-12-04 15:32:06.811277 D [36166:70123209841360] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-04 15:32:06.811893 T [36166:70123209841360] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xAF\n2\xDC\x01{\"Config\":{\"UUID\":\"localhost:2100-36083-RubySkynet::Service-70099986909420\",\"Name\":\"RubySkynet.Service\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-04 15:32:06.811938 D [36166:70123209841360] (0.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 228 bytes +2012-12-04 15:32:06.812118 D [36166:70123209841360] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007f8daa8563f0>(70123213992440) self=connections=70123213992440 checked_out= with_map= +2012-12-04 15:32:06.812628 I [36166:70123214345700] RubySkynet::Server: localhost:2100 -- Skynet Server Stopped +2012-12-04 15:32:06.817048 I [36166:70123209841360] Celluloid -- Terminating 4 actors... +2012-12-04 15:32:06.818264 I [36166:70123209841360] Celluloid -- Shutdown completed cleanly +2012-12-04 15:33:02.830129 I [36005:70299089591000] Celluloid -- Terminating 4 actors... +2012-12-04 15:33:02.831765 I [36005:70299089591000] Celluloid -- Shutdown completed cleanly +2012-12-04 15:33:40.138771 D [36199:70133696289640] RubySkynet::Server: localhost:2100 -- Waiting for a client to connect +2012-12-04 15:33:40.144123 I [36199:70133696289640] RubySkynet::Server: localhost:2100 -- Skynet Server Stopped +2012-12-04 15:33:40.147276 D [36199:70133696289640] RubySkynet::Server: localhost:2100 -- Waiting for a client to connect +2012-12-04 15:33:40.147923 I [36199:70133696289640] RubySkynet::Server: localhost:2100 -- Skynet Server Stopped +2012-12-04 15:33:40.149176 D [36199:70133696289640] RubySkynet::Server: localhost:2100 -- Waiting for a client to connect +2012-12-04 15:33:40.154111 D [36199:70133695601360] RubySkynet::Registry -- Doozer Connection Pool: Created connection #1 #<Thread:0x007f928c06b5a0>(70133695601360) for Doozer Connection Pool +2012-12-04 15:33:40.187675 T [36199:70133695601360] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007f928c123498@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-04 15:33:40.193996 D [36199:70133695601360] RubySkynet::Registry -- Doozer Connection Pool: Renewed connection old=70133695601360 new=#<RubySkynet::Doozer::Client:0x007f928c124780>(70133695980480) +2012-12-04 15:33:40.194062 D [36199:70133695601360] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f928c124780>(70133695980480) self=connections=70133695980480 checked_out=70133695980480 with_map= +2012-12-04 15:33:40.195934 T [36199:70133695601360] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- 8"2/services/RubySkynet.Service/1/Test/localhost/2100 +2012-12-04 15:33:40.196561 D [36199:70133695601360] (0.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 60 bytes +2012-12-04 15:33:40.196639 T [36199:70133695601360] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\xE4" +2012-12-04 15:33:40.196650 D [36199:70133695601360] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-04 15:33:40.196935 T [36199:70133695601360] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xAF\n2\xDC\x01{\"Config\":{\"UUID\":\"localhost:2100-36083-RubySkynet::Service-70099986909420\",\"Name\":\"RubySkynet.Service\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-04 15:33:40.196953 D [36199:70133695601360] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 228 bytes +2012-12-04 15:33:40.197149 D [36199:70133695601360] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007f928c124780>(70133695980480) self=connections=70133695980480 checked_out= with_map= +2012-12-04 15:33:40.197850 I [36199:70133696289640] RubySkynet::Server: localhost:2100 -- Skynet Server Stopped +2012-12-04 15:33:40.199299 I [36199:70133695601360] Celluloid -- Terminating 4 actors... +2012-12-04 15:33:40.200119 I [36199:70133695601360] Celluloid -- Shutdown completed cleanly +2012-12-04 15:34:37.183336 D [36355:70140049823660] RubySkynet::Server: localhost:2100 -- Waiting for a client to connect +2012-12-04 15:34:37.191726 D [36355:70140049971920] RubySkynet::Registry -- Doozer Connection Pool: Created connection #1 #<Thread:0x007f958186b5a0>(70140049971920) for Doozer Connection Pool +2012-12-04 15:34:37.212173 T [36355:70140049971920] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007f9581daa048@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-04 15:34:37.216024 D [36355:70140049971920] RubySkynet::Registry -- Doozer Connection Pool: Renewed connection old=70140049971920 new=#<RubySkynet::Doozer::Client:0x007f9581daa278>(70140052721980) +2012-12-04 15:34:37.216086 D [36355:70140049971920] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f9581daa278>(70140052721980) self=connections=70140052721980 checked_out=70140052721980 with_map= +2012-12-04 15:34:37.240671 T [36355:70140049971920] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- ""2/services/RubySkynet.Service/1/Test/localhost/2100*{"Config":{"UUID":"localhost:2100-36355-RubySkynet::Service-70140054315400","Name":"RubySkynet.Service","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"localhost","Port":2100,"MaxPort":3099}},"Registered":true}H +2012-12-04 15:34:37.241157 D [36355:70140049971920] (0.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 294 bytes +2012-12-04 15:34:37.242775 T [36355:70140049971920] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-04 15:34:37.243073 D [36355:70140049971920] (1.9ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-04 15:34:37.243813 T [36355:70140049971920] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xD9\f" +2012-12-04 15:34:37.243856 D [36355:70140049971920] (0.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-04 15:34:37.244024 D [36355:70140049971920] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007f9581daa278>(70140052721980) self=connections=70140052721980 checked_out= with_map= +2012-12-04 15:34:37.253232 D [36355:70140049971920] [50be5e5d6b69338e03000001] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f9581daa278>(70140052721980) self=connections=70140052721980 checked_out=70140052721980 with_map= +2012-12-04 15:34:37.253527 T [36355:70140049971920] [50be5e5d6b69338e03000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  +2012-12-04 15:34:37.254039 D [36355:70140049971920] [50be5e5d6b69338e03000001] (0.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 8 bytes +2012-12-04 15:34:37.254265 T [36355:70140049971920] [50be5e5d6b69338e03000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-04 15:34:37.254302 D [36355:70140049971920] [50be5e5d6b69338e03000001] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-04 15:34:37.254544 T [36355:70140049971920] [50be5e5d6b69338e03000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xD9\f" +2012-12-04 15:34:37.254581 D [36355:70140049971920] [50be5e5d6b69338e03000001] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-04 15:34:37.254864 T [36355:70140049971920] [50be5e5d6b69338e03000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H +2012-12-04 15:34:37.255491 D [36355:70140049971920] [50be5e5d6b69338e03000001] (0.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-04 15:34:37.255681 T [36355:70140049971920] [50be5e5d6b69338e03000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01(" +2012-12-04 15:34:37.255718 D [36355:70140049971920] [50be5e5d6b69338e03000001] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-04 15:34:37.255960 T [36355:70140049971920] [50be5e5d6b69338e03000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xA2\t*9/services/RubySkynet.Service/1/Development/localhost/21002\xE3\x01{\"Config\":{\"UUID\":\"localhost:2100-36005-RubySkynet::Service-70299094646300\",\"Name\":\"RubySkynet.Service\",\"Version\":\"1\",\"Region\":\"Development\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-04 15:34:37.255997 D [36355:70140049971920] [50be5e5d6b69338e03000001] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 296 bytes +2012-12-04 15:34:37.256291 T [36355:70140049971920] [50be5e5d6b69338e03000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H +2012-12-04 15:34:37.256962 D [36355:70140049971920] [50be5e5d6b69338e03000001] (0.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-04 15:34:37.257153 T [36355:70140049971920] [50be5e5d6b69338e03000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01\x1A" +2012-12-04 15:34:37.257189 D [36355:70140049971920] [50be5e5d6b69338e03000001] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-04 15:34:37.257431 T [36355:70140049971920] [50be5e5d6b69338e03000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xD9\f*2/services/RubySkynet.Service/1/Test/localhost/21002\xDC\x01{\"Config\":{\"UUID\":\"localhost:2100-36355-RubySkynet::Service-70140054315400\",\"Name\":\"RubySkynet.Service\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-04 15:34:37.257442 D [36355:70140049971920] [50be5e5d6b69338e03000001] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 282 bytes +2012-12-04 15:34:37.257713 T [36355:70140049971920] [50be5e5d6b69338e03000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H +2012-12-04 15:34:37.258207 D [36355:70140049971920] [50be5e5d6b69338e03000001] (0.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-04 15:34:37.258970 T [36355:70140049971920] [50be5e5d6b69338e03000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-04 15:34:37.258982 D [36355:70140049971920] [50be5e5d6b69338e03000001] (0.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-04 15:34:37.259432 T [36355:70140049971920] [50be5e5d6b69338e03000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\xA0\x06\b" +2012-12-04 15:34:37.259521 D [36355:70140049971920] [50be5e5d6b69338e03000001] (0.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-04 15:34:37.259769 D [36355:70140049971920] [50be5e5d6b69338e03000001] RubySkynet::Registry -- #start_monitoring Add Service: RubySkynet.Service/1/Development => localhost:2100 +2012-12-04 15:34:37.259881 D [36355:70140049971920] [50be5e5d6b69338e03000001] RubySkynet::Registry -- #start_monitoring Add Service: RubySkynet.Service/1/Test => localhost:2100 +2012-12-04 15:34:37.259919 D [36355:70140049971920] [50be5e5d6b69338e03000001] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007f9581daa278>(70140052721980) self=connections=70140052721980 checked_out= with_map= +2012-12-04 15:34:37.261090 I [36355:70140051181760] RubySkynet::Registry -- Start monitoring /services/*/*/*/*/* +2012-12-04 15:34:37.261133 T [36355:70140051181760] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007f9581ade8c8@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-04 15:34:37.261917 T [36355:70140051181760] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-04 15:34:37.261989 D [36355:70140051181760] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-04 15:34:37.266639 D [36355:70140049823660] RubySkynet::Server: localhost:2100 -- Waiting for a client to connect +2012-12-04 15:34:37.266744 D [36355:70140049823660] RubySkynet::Server: localhost:2100 -- Client connected, waiting for data from client +2012-12-04 15:34:37.268027 D [36355:70140049971920] [50be5e5d6b69338e03000001] RubySkynet::Connection: localhost:2100 -- Waiting for Service Handshake +2012-12-04 15:34:37.268094 T [36355:70140049971920] [50be5e5d6b69338e03000001] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "9\x00\x00\x00" +2012-12-04 15:34:37.268104 D [36355:70140049971920] [50be5e5d6b69338e03000001] (0.1ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 4 bytes +2012-12-04 15:34:37.268164 T [36355:70140049971920] [50be5e5d6b69338e03000001] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "\bregistered\x00\x01\x02clientid\x00\x19\x00\x00\x0050be5e5d6b69338e03000002\x00\x00" +2012-12-04 15:34:37.268170 D [36355:70140049971920] [50be5e5d6b69338e03000001] (0.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 53 bytes +2012-12-04 15:34:37.268219 T [36355:70140049971920] [50be5e5d6b69338e03000001] RubySkynet::Connection: localhost:2100 -- Service Handshake -- {"registered"=>true, "clientid"=>"50be5e5d6b69338e03000002"} +2012-12-04 15:34:37.268231 D [36355:70140049971920] [50be5e5d6b69338e03000001] RubySkynet::Connection: localhost:2100 -- Sending Client Handshake +2012-12-04 15:34:37.268237 T [36355:70140049971920] [50be5e5d6b69338e03000001] RubySkynet::Connection: localhost:2100 -- Client Handshake -- {"clientid"=>"50be5e5d6b69338e03000002"} +2012-12-04 15:34:37.268256 T [36355:70140049971920] [50be5e5d6b69338e03000001] ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sending -- ,clientid50be5e5d6b69338e03000002 +2012-12-04 15:34:37.268298 D [36355:70140049971920] [50be5e5d6b69338e03000001] (0.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sent 44 bytes +2012-12-04 15:34:37.268363 D [36355:70140049971920] [50be5e5d6b69338e03000001] RubySkynet::Connection: localhost:2100 -- Sending Header +2012-12-04 15:34:37.268373 T [36355:70140049971920] [50be5e5d6b69338e03000001] RubySkynet::Connection: localhost:2100 -- Header -- {"servicemethod"=>"RubySkynet.Service.Forward", "seq"=>0} +2012-12-04 15:34:37.268394 T [36355:70140049971920] [50be5e5d6b69338e03000001] ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sending -- <servicemethodRubySkynet.Service.Forwardseq +2012-12-04 15:34:37.268437 D [36355:70140049971920] [50be5e5d6b69338e03000001] (0.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sent 60 bytes +2012-12-04 15:34:37.268471 D [36355:70140049971920] [50be5e5d6b69338e03000001] RubySkynet::Connection: localhost:2100 -- Sending Request +2012-12-04 15:34:37.268479 T [36355:70140049971920] [50be5e5d6b69338e03000001] RubySkynet::Connection: localhost:2100 -- Request -- {"clientid"=>"50be5e5d6b69338e03000002", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"echo", "requestinfo"=>{"requestid"=>"50be5e5d6b69338e03000001", "retrycount"=>0, "originaddress"=>""}} +2012-12-04 15:34:37.268484 T [36355:70140049971920] [50be5e5d6b69338e03000001] RubySkynet::Connection: localhost:2100 -- Parameters: -- {"some"=>"parameters"} +2012-12-04 15:34:37.268501 T [36355:70140049971920] [50be5e5d6b69338e03000001] ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sending -- clientid50be5e5d6b69338e03000002insome parametersmethodechorequestinfoQrequestid50be5e5d6b69338e03000001retrycountoriginaddress +2012-12-04 15:34:37.268543 D [36355:70140049971920] [50be5e5d6b69338e03000001] (0.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sent 190 bytes +2012-12-04 15:34:37.268556 D [36355:70140049971920] [50be5e5d6b69338e03000001] RubySkynet::Connection: localhost:2100 -- Reading header from server +2012-12-04 15:34:37.270228 D [36355:70140049823660] RubySkynet::Server: localhost:2100 -- +****************** +2012-12-04 15:34:37.270242 D [36355:70140049823660] RubySkynet::Server: localhost:2100 -- Received Request +2012-12-04 15:34:37.270248 T [36355:70140049823660] RubySkynet::Server: localhost:2100 -- Header -- {"servicemethod"=>"RubySkynet.Service.Forward", "seq"=>0} +2012-12-04 15:34:37.270345 T [36355:70140049823660] RubySkynet::Server: localhost:2100 -- Request -- {"clientid"=>"50be5e5d6b69338e03000002", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"echo", "requestinfo"=>{"requestid"=>"50be5e5d6b69338e03000001", "retrycount"=>0, "originaddress"=>""}} +2012-12-04 15:34:37.270397 D [36355:70140049823660] (0.0ms) RubySkynet::Server: localhost:2100 -- Called: service#echo -- NameError: uninitialized class variable @@services in RubySkynet::Server +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/server.rb:86:in `block in on_message' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_debug' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/server.rb:85:in `on_message' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/server.rb:122:in `handle_connection' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/celluloid-0.12.3/lib/celluloid/calls.rb:99:in `dispatch' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/celluloid-0.12.3/lib/celluloid/actor.rb:323:in `block in handle_message' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/celluloid-0.12.3/lib/celluloid/tasks/task_fiber.rb:22:in `block in initialize' +2012-12-04 15:34:37.270457 E [36355:70140049823660] Celluloid -- RubySkynet::Server crashed! +NameError: uninitialized class variable @@services in RubySkynet::Server +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/server.rb:86:in `block in on_message' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_debug' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/server.rb:85:in `on_message' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/server.rb:122:in `handle_connection' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/celluloid-0.12.3/lib/celluloid/calls.rb:99:in `dispatch' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/celluloid-0.12.3/lib/celluloid/actor.rb:323:in `block in handle_message' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/celluloid-0.12.3/lib/celluloid/tasks/task_fiber.rb:22:in `block in initialize' +2012-12-04 15:34:37.270506 I [36355:70140049823660] RubySkynet::Server: localhost:2100 -- Skynet Server Stopped +2012-12-04 15:35:12.530467 D [36355:70140049971920] [50be5e5d6b69338e03000001] (35261.9ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 4 bytes -- Interrupt: +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:378:in `select' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:378:in `block in read' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_debug' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:374:in `read' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/common.rb:10:in `read_bson_document' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:178:in `rpc_call' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:65:in `block (3 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/gene_pool-1.3.0/lib/gene_pool.rb:134:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:214:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:64:in `block (2 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_info' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:60:in `block in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:126:in `with_tags' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:59:in `call' +/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_service_test.rb:56:in `block (4 levels) in <class:RubySkynetServiceTest>' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `block in create_test_from_should_hash' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/mocha-0.10.5/lib/mocha/integration/mini_test/version_230_to_262.rb:28:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/testcase.rb:17:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:787:in `block in _run_suite' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `map' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `_run_suite' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:565:in `block in _run_suites' @@ -916,256 +1130,318 @@ /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:884:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:21:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:326:in `block (2 levels) in autorun' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:27:in `run_once' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:325:in `block in autorun' -2012-10-18 16:25:43.669071 D [1147:70300390306460] SimpleServer -- Waiting for a client to connect -2012-10-18 16:25:43.669071 D [1147:70300390306460] SimpleServer -- Waiting for a client to connect -2012-10-18 16:25:43.679495 D [1147:70300385630940] RubySkynet::Registry -- Doozer Connection Pool: Created connection #1 #<Thread:0x007fe02b06b5b8>(70300385630940) for Doozer Connection Pool -2012-10-18 16:25:43.679495 D [1147:70300385630940] RubySkynet::Registry -- Doozer Connection Pool: Created connection #1 #<Thread:0x007fe02b06b5b8>(70300385630940) for Doozer Connection Pool -2012-10-18 16:25:43.679603 T [1147:70300385630940] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007fe02b179f68@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -2012-10-18 16:25:43.679603 T [1147:70300385630940] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007fe02b179f68@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007fe02b179f68@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -2012-10-18 16:25:43.680731 D [1147:70300385630940] RubySkynet::Registry -- Doozer Connection Pool: Renewed connection old=70300385630940 new=#<RubySkynet::Doozer::Client:0x007fe02b17a170>(70300386185400) -2012-10-18 16:25:43.680731 D [1147:70300385630940] RubySkynet::Registry -- Doozer Connection Pool: Renewed connection old=70300385630940 new=#<RubySkynet::Doozer::Client:0x007fe02b17a170>(70300386185400) -2012-10-18 16:25:43.680782 D [1147:70300385630940] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fe02b17a170>(70300386185400) self=connections=70300386185400 checked_out=70300386185400 with_map= -2012-10-18 16:25:43.680782 D [1147:70300385630940] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fe02b17a170>(70300386185400) self=connections=70300386185400 checked_out=70300386185400 with_map= -2012-10-18 16:25:43.698395 T [1147:70300385630940] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "+/services/TestService/1/Test/127.0.0.1/2000*{"Config":{"UUID":"3978b371-15e9-40f8-9b7b-59ae88d8c7ec","Name":"TestService","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"127.0.0.1","Port":2000,"MaxPort":2999}},"Registered":true}H -2012-10-18 16:25:43.698395 T [1147:70300385630940] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "+/services/TestService/1/Test/127.0.0.1/2000*{"Config":{"UUID":"3978b371-15e9-40f8-9b7b-59ae88d8c7ec","Name":"TestService","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"127.0.0.1","Port":2000,"MaxPort":2999}},"Registered":true}H -- "+/services/TestService/1/Test/127.0.0.1/2000*{"Config":{"UUID":"3978b371-15e9-40f8-9b7b-59ae88d8c7ec","Name":"TestService","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"127.0.0.1","Port":2000,"MaxPort":2999}},"Registered":true}H -2012-10-18 16:25:43.698728 D [1147:70300385630940] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 261 bytes -2012-10-18 16:25:43.698728 D [1147:70300385630940] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 261 bytes -2012-10-18 16:25:43.712529 T [1147:70300385630940] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x06" -2012-10-18 16:25:43.712529 T [1147:70300385630940] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x06" -- "\x00\x00\x00\x06" -2012-10-18 16:25:43.712633 D [1147:70300385630940] (13.9ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:25:43.712633 D [1147:70300385630940] (13.9ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:25:43.712741 T [1147:70300385630940] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xC8\xD0\x03" -2012-10-18 16:25:43.712741 T [1147:70300385630940] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xC8\xD0\x03" -- "\b\x00\x18\xC8\xD0\x03" -2012-10-18 16:25:43.712752 D [1147:70300385630940] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 6 bytes -2012-10-18 16:25:43.712752 D [1147:70300385630940] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 6 bytes -2012-10-18 16:25:43.713042 D [1147:70300385630940] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fe02b17a170>(70300386185400) self=connections=70300386185400 checked_out= with_map= -2012-10-18 16:25:43.713042 D [1147:70300385630940] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fe02b17a170>(70300386185400) self=connections=70300386185400 checked_out= with_map= -2012-10-18 16:25:43.716240 D [1147:70300385630940] [508065c76b6933047b000001] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fe02b17a170>(70300386185400) self=connections=70300386185400 checked_out=70300386185400 with_map= -2012-10-18 16:25:43.716240 D [1147:70300385630940] [508065c76b6933047b000001] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fe02b17a170>(70300386185400) self=connections=70300386185400 checked_out=70300386185400 with_map= -2012-10-18 16:25:43.716479 T [1147:70300385630940] [508065c76b6933047b000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  -2012-10-18 16:25:43.716479 T [1147:70300385630940] [508065c76b6933047b000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  --  -2012-10-18 16:25:43.716806 D [1147:70300385630940] [508065c76b6933047b000001] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 8 bytes -2012-10-18 16:25:43.716806 D [1147:70300385630940] [508065c76b6933047b000001] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 8 bytes -2012-10-18 16:25:43.716875 T [1147:70300385630940] [508065c76b6933047b000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x06" -2012-10-18 16:25:43.716875 T [1147:70300385630940] [508065c76b6933047b000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x06" -- "\x00\x00\x00\x06" -2012-10-18 16:25:43.716886 D [1147:70300385630940] [508065c76b6933047b000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:25:43.716886 D [1147:70300385630940] [508065c76b6933047b000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:25:43.716951 T [1147:70300385630940] [508065c76b6933047b000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xC8\xD0\x03" -2012-10-18 16:25:43.716951 T [1147:70300385630940] [508065c76b6933047b000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xC8\xD0\x03" -- "\b\x00\x18\xC8\xD0\x03" -2012-10-18 16:25:43.716966 D [1147:70300385630940] [508065c76b6933047b000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 6 bytes -2012-10-18 16:25:43.716966 D [1147:70300385630940] [508065c76b6933047b000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 6 bytes -2012-10-18 16:25:43.717260 T [1147:70300385630940] [508065c76b6933047b000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H -2012-10-18 16:25:43.717260 T [1147:70300385630940] [508065c76b6933047b000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H --  "/services/*/*/*/*/*8H -2012-10-18 16:25:43.717305 D [1147:70300385630940] [508065c76b6933047b000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 35 bytes -2012-10-18 16:25:43.717305 D [1147:70300385630940] [508065c76b6933047b000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 35 bytes -2012-10-18 16:25:43.717680 T [1147:70300385630940] [508065c76b6933047b000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\xFA" -2012-10-18 16:25:43.717680 T [1147:70300385630940] [508065c76b6933047b000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\xFA" -- "\x00\x00\x00\xFA" -2012-10-18 16:25:43.717693 D [1147:70300385630940] [508065c76b6933047b000001] (0.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:25:43.717693 D [1147:70300385630940] [508065c76b6933047b000001] (0.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:25:43.717768 T [1147:70300385630940] [508065c76b6933047b000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xC8\xD0\x03*+/services/TestService/1/Test/127.0.0.1/20002\xC2\x01{\"Config\":{\"UUID\":\"3978b371-15e9-40f8-9b7b-59ae88d8c7ec\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"127.0.0.1\",\"Port\":2000,\"MaxPort\":2999}},\"Registered\":true}" -2012-10-18 16:25:43.717768 T [1147:70300385630940] [508065c76b6933047b000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xC8\xD0\x03*+/services/TestService/1/Test/127.0.0.1/20002\xC2\x01{\"Config\":{\"UUID\":\"3978b371-15e9-40f8-9b7b-59ae88d8c7ec\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"127.0.0.1\",\"Port\":2000,\"MaxPort\":2999}},\"Registered\":true}" -- "\b\x00\x10\x04\x18\xC8\xD0\x03*+/services/TestService/1/Test/127.0.0.1/20002\xC2\x01{\"Config\":{\"UUID\":\"3978b371-15e9-40f8-9b7b-59ae88d8c7ec\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"127.0.0.1\",\"Port\":2000,\"MaxPort\":2999}},\"Registered\":true}" -2012-10-18 16:25:43.717778 D [1147:70300385630940] [508065c76b6933047b000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 250 bytes -2012-10-18 16:25:43.717778 D [1147:70300385630940] [508065c76b6933047b000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 250 bytes -2012-10-18 16:25:43.718060 T [1147:70300385630940] [508065c76b6933047b000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H -2012-10-18 16:25:43.718060 T [1147:70300385630940] [508065c76b6933047b000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H --  "/services/*/*/*/*/*8H -2012-10-18 16:25:43.718105 D [1147:70300385630940] [508065c76b6933047b000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 35 bytes -2012-10-18 16:25:43.718105 D [1147:70300385630940] [508065c76b6933047b000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 35 bytes -2012-10-18 16:25:43.719833 T [1147:70300385630940] [508065c76b6933047b000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01Q" -2012-10-18 16:25:43.719833 T [1147:70300385630940] [508065c76b6933047b000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01Q" -- "\x00\x00\x01Q" -2012-10-18 16:25:43.719849 D [1147:70300385630940] [508065c76b6933047b000001] (1.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:25:43.719849 D [1147:70300385630940] [508065c76b6933047b000001] (1.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:25:43.719934 T [1147:70300385630940] [508065c76b6933047b000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xD5\xC8\x03*6/services/TutorialService/1/Development/127.0.0.1/90002\x8E\x02{\"Config\":{\"UUID\":\"aa58fa11-6ab7-4b53-aad9-3d657120f2b8\",\"Name\":\"TutorialService\",\"Version\":\"1\",\"Region\":\"Development\",\"ServiceAddr\":{\"IPAddress\":\"127.0.0.1\",\"Port\":9000,\"MaxPort\":9999},\"AdminAddr\":{\"IPAddress\":\"127.0.0.1\",\"Port\":9001,\"MaxPort\":9999}},\"Registered\":true}" -2012-10-18 16:25:43.719934 T [1147:70300385630940] [508065c76b6933047b000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xD5\xC8\x03*6/services/TutorialService/1/Development/127.0.0.1/90002\x8E\x02{\"Config\":{\"UUID\":\"aa58fa11-6ab7-4b53-aad9-3d657120f2b8\",\"Name\":\"TutorialService\",\"Version\":\"1\",\"Region\":\"Development\",\"ServiceAddr\":{\"IPAddress\":\"127.0.0.1\",\"Port\":9000,\"MaxPort\":9999},\"AdminAddr\":{\"IPAddress\":\"127.0.0.1\",\"Port\":9001,\"MaxPort\":9999}},\"Registered\":true}" -- "\b\x00\x10\x04\x18\xD5\xC8\x03*6/services/TutorialService/1/Development/127.0.0.1/90002\x8E\x02{\"Config\":{\"UUID\":\"aa58fa11-6ab7-4b53-aad9-3d657120f2b8\",\"Name\":\"TutorialService\",\"Version\":\"1\",\"Region\":\"Development\",\"ServiceAddr\":{\"IPAddress\":\"127.0.0.1\",\"Port\":9000,\"MaxPort\":9999},\"AdminAddr\":{\"IPAddress\":\"127.0.0.1\",\"Port\":9001,\"MaxPort\":9999}},\"Registered\":true}" -2012-10-18 16:25:43.719945 D [1147:70300385630940] [508065c76b6933047b000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 337 bytes -2012-10-18 16:25:43.719945 D [1147:70300385630940] [508065c76b6933047b000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 337 bytes -2012-10-18 16:25:43.720249 T [1147:70300385630940] [508065c76b6933047b000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H -2012-10-18 16:25:43.720249 T [1147:70300385630940] [508065c76b6933047b000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H --  "/services/*/*/*/*/*8H -2012-10-18 16:25:43.720294 D [1147:70300385630940] [508065c76b6933047b000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 35 bytes -2012-10-18 16:25:43.720294 D [1147:70300385630940] [508065c76b6933047b000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 35 bytes -2012-10-18 16:25:43.720619 T [1147:70300385630940] [508065c76b6933047b000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" -2012-10-18 16:25:43.720619 T [1147:70300385630940] [508065c76b6933047b000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" -- "\x00\x00\x00\x05" -2012-10-18 16:25:43.720632 D [1147:70300385630940] [508065c76b6933047b000001] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:25:43.720632 D [1147:70300385630940] [508065c76b6933047b000001] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:25:43.720694 T [1147:70300385630940] [508065c76b6933047b000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\xA0\x06\b" -2012-10-18 16:25:43.720694 T [1147:70300385630940] [508065c76b6933047b000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\xA0\x06\b" -- "\b\x00\xA0\x06\b" -2012-10-18 16:25:43.720705 D [1147:70300385630940] [508065c76b6933047b000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes -2012-10-18 16:25:43.720705 D [1147:70300385630940] [508065c76b6933047b000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes -2012-10-18 16:25:43.720869 D [1147:70300385630940] [508065c76b6933047b000001] RubySkynet::Registry -- #start_monitoring Add Service: TestService/1/Test => 127.0.0.1:2000 -2012-10-18 16:25:43.720869 D [1147:70300385630940] [508065c76b6933047b000001] RubySkynet::Registry -- #start_monitoring Add Service: TestService/1/Test => 127.0.0.1:2000 -2012-10-18 16:25:43.720935 D [1147:70300385630940] [508065c76b6933047b000001] RubySkynet::Registry -- #start_monitoring Add Service: TutorialService/1/Development => 127.0.0.1:9000 -2012-10-18 16:25:43.720935 D [1147:70300385630940] [508065c76b6933047b000001] RubySkynet::Registry -- #start_monitoring Add Service: TutorialService/1/Development => 127.0.0.1:9000 -2012-10-18 16:25:43.720973 D [1147:70300385630940] [508065c76b6933047b000001] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fe02b17a170>(70300386185400) self=connections=70300386185400 checked_out= with_map= -2012-10-18 16:25:43.720973 D [1147:70300385630940] [508065c76b6933047b000001] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fe02b17a170>(70300386185400) self=connections=70300386185400 checked_out= with_map= -2012-10-18 16:25:43.722121 D [1147:70300385630940] [508065c76b6933047b000001] RubySkynet::Connection: 127.0.0.1:2000 -- Waiting for Service Handshake -2012-10-18 16:25:43.722121 D [1147:70300385630940] [508065c76b6933047b000001] RubySkynet::Connection: 127.0.0.1:2000 -- Waiting for Service Handshake -2012-10-18 16:25:43.722352 I [1147:70300390817460] RubySkynet::Registry -- Start monitoring /services/*/*/*/*/* -2012-10-18 16:25:43.722352 I [1147:70300390817460] RubySkynet::Registry -- Start monitoring /services/*/*/*/*/* -2012-10-18 16:25:43.722391 T [1147:70300390817460] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007fe02ba54250@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -2012-10-18 16:25:43.722391 T [1147:70300390817460] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007fe02ba54250@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007fe02ba54250@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -2012-10-18 16:25:43.723071 D [1147:70300390306460] SimpleServer -- Client connected, waiting for data from client -2012-10-18 16:25:43.723071 D [1147:70300390306460] SimpleServer -- Client connected, waiting for data from client -2012-10-18 16:25:43.723558 T [1147:70300385630940] [508065c76b6933047b000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "$\x00\x00\x00" -2012-10-18 16:25:43.723558 T [1147:70300385630940] [508065c76b6933047b000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "$\x00\x00\x00" -- "$\x00\x00\x00" -2012-10-18 16:25:43.723571 D [1147:70300385630940] [508065c76b6933047b000001] (1.4ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes -2012-10-18 16:25:43.723571 D [1147:70300385630940] [508065c76b6933047b000001] (1.4ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes -2012-10-18 16:25:43.723628 T [1147:70300385630940] [508065c76b6933047b000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "\bregistered\x00\x01\x02clientid\x00\x04\x00\x00\x00123\x00\x00" -2012-10-18 16:25:43.723628 T [1147:70300385630940] [508065c76b6933047b000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "\bregistered\x00\x01\x02clientid\x00\x04\x00\x00\x00123\x00\x00" -- "\bregistered\x00\x01\x02clientid\x00\x04\x00\x00\x00123\x00\x00" -2012-10-18 16:25:43.723638 D [1147:70300385630940] [508065c76b6933047b000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 32 bytes -2012-10-18 16:25:43.723638 D [1147:70300385630940] [508065c76b6933047b000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 32 bytes -2012-10-18 16:25:43.723684 T [1147:70300385630940] [508065c76b6933047b000001] RubySkynet::Connection: 127.0.0.1:2000 -- Service Handshake -- {"registered"=>true, "clientid"=>"123"} -2012-10-18 16:25:43.723684 T [1147:70300385630940] [508065c76b6933047b000001] RubySkynet::Connection: 127.0.0.1:2000 -- Service Handshake -- {"registered"=>true, "clientid"=>"123"} -- {"registered"=>true, "clientid"=>"123"} -2012-10-18 16:25:43.723703 D [1147:70300385630940] [508065c76b6933047b000001] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Client Handshake -2012-10-18 16:25:43.723703 D [1147:70300385630940] [508065c76b6933047b000001] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Client Handshake -2012-10-18 16:25:43.723713 T [1147:70300385630940] [508065c76b6933047b000001] RubySkynet::Connection: 127.0.0.1:2000 -- Client Handshake -- {"clientid"=>"123"} -2012-10-18 16:25:43.723713 T [1147:70300385630940] [508065c76b6933047b000001] RubySkynet::Connection: 127.0.0.1:2000 -- Client Handshake -- {"clientid"=>"123"} -- {"clientid"=>"123"} -2012-10-18 16:25:43.723732 T [1147:70300385630940] [508065c76b6933047b000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- clientid123 -2012-10-18 16:25:43.723732 T [1147:70300385630940] [508065c76b6933047b000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- clientid123 -- clientid123 -2012-10-18 16:25:43.723777 D [1147:70300385630940] [508065c76b6933047b000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 23 bytes -2012-10-18 16:25:43.723777 D [1147:70300385630940] [508065c76b6933047b000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 23 bytes -2012-10-18 16:25:43.723848 D [1147:70300385630940] [508065c76b6933047b000001] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Header -2012-10-18 16:25:43.723848 D [1147:70300385630940] [508065c76b6933047b000001] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Header -2012-10-18 16:25:43.723866 T [1147:70300385630940] [508065c76b6933047b000001] RubySkynet::Connection: 127.0.0.1:2000 -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} -2012-10-18 16:25:43.723866 T [1147:70300385630940] [508065c76b6933047b000001] RubySkynet::Connection: 127.0.0.1:2000 -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} -- {"servicemethod"=>"TestService.Forward", "seq"=>0} -2012-10-18 16:25:43.723891 T [1147:70300385630940] [508065c76b6933047b000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- 5servicemethodTestService.Forwardseq -2012-10-18 16:25:43.723891 T [1147:70300385630940] [508065c76b6933047b000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- 5servicemethodTestService.Forwardseq -- 5servicemethodTestService.Forwardseq -2012-10-18 16:25:43.724220 D [1147:70300385630940] [508065c76b6933047b000001] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 53 bytes -2012-10-18 16:25:43.724220 D [1147:70300385630940] [508065c76b6933047b000001] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 53 bytes -2012-10-18 16:25:43.724262 D [1147:70300385630940] [508065c76b6933047b000001] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Request -2012-10-18 16:25:43.724262 D [1147:70300385630940] [508065c76b6933047b000001] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Request -2012-10-18 16:25:43.724274 T [1147:70300385630940] [508065c76b6933047b000001] RubySkynet::Connection: 127.0.0.1:2000 -- Request -- {"clientid"=>"123", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"test1", "requestinfo"=>{"requestid"=>"508065c76b6933047b000001", "retrycount"=>0, "originaddress"=>""}} -2012-10-18 16:25:43.724274 T [1147:70300385630940] [508065c76b6933047b000001] RubySkynet::Connection: 127.0.0.1:2000 -- Request -- {"clientid"=>"123", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"test1", "requestinfo"=>{"requestid"=>"508065c76b6933047b000001", "retrycount"=>0, "originaddress"=>""}} -- {"clientid"=>"123", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"test1", "requestinfo"=>{"requestid"=>"508065c76b6933047b000001", "retrycount"=>0, "originaddress"=>""}} -2012-10-18 16:25:43.724283 T [1147:70300385630940] [508065c76b6933047b000001] RubySkynet::Connection: 127.0.0.1:2000 -- Parameters: -- {"some"=>"parameters"} -2012-10-18 16:25:43.724283 T [1147:70300385630940] [508065c76b6933047b000001] RubySkynet::Connection: 127.0.0.1:2000 -- Parameters: -- {"some"=>"parameters"} -- {"some"=>"parameters"} -2012-10-18 16:25:43.724303 T [1147:70300385630940] [508065c76b6933047b000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- clientid123insome parametersmethodtest1requestinfoQrequestid508065c76b6933047b000001retrycountoriginaddress -2012-10-18 16:25:43.724303 T [1147:70300385630940] [508065c76b6933047b000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- clientid123insome parametersmethodtest1requestinfoQrequestid508065c76b6933047b000001retrycountoriginaddress -- clientid123insome parametersmethodtest1requestinfoQrequestid508065c76b6933047b000001retrycountoriginaddress -2012-10-18 16:25:43.724733 T [1147:70300390817460] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H -2012-10-18 16:25:43.724733 T [1147:70300390817460] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H -- "/services/*/*/*/*/*H -2012-10-18 16:25:43.724772 D [1147:70300385630940] [508065c76b6933047b000001] (0.5ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 170 bytes -2012-10-18 16:25:43.724772 D [1147:70300385630940] [508065c76b6933047b000001] (0.5ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 170 bytes -2012-10-18 16:25:43.724801 D [1147:70300385630940] [508065c76b6933047b000001] RubySkynet::Connection: 127.0.0.1:2000 -- Reading header from server -2012-10-18 16:25:43.724801 D [1147:70300385630940] [508065c76b6933047b000001] RubySkynet::Connection: 127.0.0.1:2000 -- Reading header from server -2012-10-18 16:25:43.725295 D [1147:70300390817460] (0.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 33 bytes -2012-10-18 16:25:43.725295 D [1147:70300390817460] (0.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 33 bytes -2012-10-18 16:25:43.725425 D [1147:70300390306460] SimpleServer -- +2012-12-04 15:35:12.530568 I [36355:70140049971920] [50be5e5d6b69338e03000001] (35282.4ms) RubySkynet::Client: RubySkynet.Service/1/Test -- Called Skynet Service: RubySkynet.Service.echo -- Interrupt: +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:378:in `select' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:378:in `block in read' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_debug' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:374:in `read' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/common.rb:10:in `read_bson_document' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:178:in `rpc_call' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:65:in `block (3 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/gene_pool-1.3.0/lib/gene_pool.rb:134:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:214:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:64:in `block (2 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_info' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:60:in `block in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:126:in `with_tags' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:59:in `call' +/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_service_test.rb:56:in `block (4 levels) in <class:RubySkynetServiceTest>' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `block in create_test_from_should_hash' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/mocha-0.10.5/lib/mocha/integration/mini_test/version_230_to_262.rb:28:in `run' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/testcase.rb:17:in `run' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:787:in `block in _run_suite' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `map' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `_run_suite' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:565:in `block in _run_suites' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:563:in `each' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:563:in `_run_suites' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:746:in `_run_anything' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:909:in `run_tests' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:896:in `block in _run' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:895:in `each' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:895:in `_run' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:884:in `run' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:21:in `run' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:326:in `block (2 levels) in autorun' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:27:in `run_once' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:325:in `block in autorun' +2012-12-04 15:35:12.532960 I [36355:70140049971920] Celluloid -- Terminating 4 actors... +2012-12-04 15:35:12.534047 I [36355:70140049971920] Celluloid -- Shutdown completed cleanly +2012-12-04 15:35:20.465061 D [36367:70159532365620] RubySkynet::Server: localhost:2100 -- Waiting for a client to connect +2012-12-04 15:35:20.473572 D [36367:70159532514000] RubySkynet::Registry -- Doozer Connection Pool: Created connection #1 #<Thread:0x007f9e9406b5a0>(70159532514000) for Doozer Connection Pool +2012-12-04 15:35:20.498160 T [36367:70159532514000] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007f9e94d15c60@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-04 15:35:20.502339 D [36367:70159532514000] RubySkynet::Registry -- Doozer Connection Pool: Renewed connection old=70159532514000 new=#<RubySkynet::Doozer::Client:0x007f9e94d15e90>(70159539154760) +2012-12-04 15:35:20.502378 D [36367:70159532514000] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f9e94d15e90>(70159539154760) self=connections=70159539154760 checked_out=70159539154760 with_map= +2012-12-04 15:35:20.534541 T [36367:70159532514000] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- ""2/services/RubySkynet.Service/1/Test/localhost/2100*{"Config":{"UUID":"localhost:2100-36367-RubySkynet::Service-70159536882840","Name":"RubySkynet.Service","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"localhost","Port":2100,"MaxPort":3099}},"Registered":true}H +2012-12-04 15:35:20.535653 D [36367:70159532514000] (1.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 294 bytes +2012-12-04 15:35:20.541249 T [36367:70159532514000] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-04 15:35:20.541314 D [36367:70159532514000] (5.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-04 15:35:20.542514 T [36367:70159532514000] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\x86\r" +2012-12-04 15:35:20.542724 D [36367:70159532514000] (1.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-04 15:35:20.542993 D [36367:70159532514000] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007f9e94d15e90>(70159539154760) self=connections=70159539154760 checked_out= with_map= +2012-12-04 15:35:20.545968 D [36367:70159532514000] [50be5e886b69338e0f000001] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f9e94d15e90>(70159539154760) self=connections=70159539154760 checked_out=70159539154760 with_map= +2012-12-04 15:35:20.546188 T [36367:70159532514000] [50be5e886b69338e0f000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  +2012-12-04 15:35:20.546255 D [36367:70159532514000] [50be5e886b69338e0f000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 8 bytes +2012-12-04 15:35:20.546511 T [36367:70159532514000] [50be5e886b69338e0f000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-04 15:35:20.546519 D [36367:70159532514000] [50be5e886b69338e0f000001] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-04 15:35:20.549233 T [36367:70159532514000] [50be5e886b69338e0f000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\x86\r" +2012-12-04 15:35:20.549249 D [36367:70159532514000] [50be5e886b69338e0f000001] (2.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-04 15:35:20.549602 T [36367:70159532514000] [50be5e886b69338e0f000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H +2012-12-04 15:35:20.549649 D [36367:70159532514000] [50be5e886b69338e0f000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-04 15:35:20.550148 T [36367:70159532514000] [50be5e886b69338e0f000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01(" +2012-12-04 15:35:20.550196 D [36367:70159532514000] [50be5e886b69338e0f000001] (0.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-04 15:35:20.550513 T [36367:70159532514000] [50be5e886b69338e0f000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xA2\t*9/services/RubySkynet.Service/1/Development/localhost/21002\xE3\x01{\"Config\":{\"UUID\":\"localhost:2100-36005-RubySkynet::Service-70299094646300\",\"Name\":\"RubySkynet.Service\",\"Version\":\"1\",\"Region\":\"Development\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-04 15:35:20.550611 D [36367:70159532514000] [50be5e886b69338e0f000001] (0.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 296 bytes +2012-12-04 15:35:20.551091 T [36367:70159532514000] [50be5e886b69338e0f000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H +2012-12-04 15:35:20.551136 D [36367:70159532514000] [50be5e886b69338e0f000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-04 15:35:20.551802 T [36367:70159532514000] [50be5e886b69338e0f000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01\x1A" +2012-12-04 15:35:20.551839 D [36367:70159532514000] [50be5e886b69338e0f000001] (0.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-04 15:35:20.551922 T [36367:70159532514000] [50be5e886b69338e0f000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\x86\r*2/services/RubySkynet.Service/1/Test/localhost/21002\xDC\x01{\"Config\":{\"UUID\":\"localhost:2100-36367-RubySkynet::Service-70159536882840\",\"Name\":\"RubySkynet.Service\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-04 15:35:20.551928 D [36367:70159532514000] [50be5e886b69338e0f000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 282 bytes +2012-12-04 15:35:20.552209 T [36367:70159532514000] [50be5e886b69338e0f000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H +2012-12-04 15:35:20.552608 D [36367:70159532514000] [50be5e886b69338e0f000001] (0.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-04 15:35:20.552897 T [36367:70159532514000] [50be5e886b69338e0f000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-04 15:35:20.552940 D [36367:70159532514000] [50be5e886b69338e0f000001] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-04 15:35:20.553023 T [36367:70159532514000] [50be5e886b69338e0f000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\xA0\x06\b" +2012-12-04 15:35:20.553029 D [36367:70159532514000] [50be5e886b69338e0f000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-04 15:35:20.553223 D [36367:70159532514000] [50be5e886b69338e0f000001] RubySkynet::Registry -- #start_monitoring Add Service: RubySkynet.Service/1/Development => localhost:2100 +2012-12-04 15:35:20.553278 D [36367:70159532514000] [50be5e886b69338e0f000001] RubySkynet::Registry -- #start_monitoring Add Service: RubySkynet.Service/1/Test => localhost:2100 +2012-12-04 15:35:20.553323 D [36367:70159532514000] [50be5e886b69338e0f000001] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007f9e94d15e90>(70159539154760) self=connections=70159539154760 checked_out= with_map= +2012-12-04 15:35:20.554970 D [36367:70159532514000] [50be5e886b69338e0f000001] RubySkynet::Connection: localhost:2100 -- Waiting for Service Handshake +2012-12-04 15:35:20.555348 I [36367:70159537464240] RubySkynet::Registry -- Start monitoring /services/*/*/*/*/* +2012-12-04 15:35:20.555397 T [36367:70159537464240] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007f9e941458e0@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-04 15:35:20.556200 D [36367:70159532365620] RubySkynet::Server: localhost:2100 -- Waiting for a client to connect +2012-12-04 15:35:20.556295 D [36367:70159532365620] RubySkynet::Server: localhost:2100 -- Client connected, waiting for data from client +2012-12-04 15:35:20.557992 T [36367:70159537464240] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-04 15:35:20.558151 D [36367:70159537464240] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-04 15:35:20.558723 T [36367:70159532514000] [50be5e886b69338e0f000001] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "9\x00\x00\x00" +2012-12-04 15:35:20.558817 D [36367:70159532514000] [50be5e886b69338e0f000001] (1.3ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 4 bytes +2012-12-04 15:35:20.559120 T [36367:70159532514000] [50be5e886b69338e0f000001] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "\bregistered\x00\x01\x02clientid\x00\x19\x00\x00\x0050be5e886b69338e0f000002\x00\x00" +2012-12-04 15:35:20.559156 D [36367:70159532514000] [50be5e886b69338e0f000001] (0.3ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 53 bytes +2012-12-04 15:35:20.559211 T [36367:70159532514000] [50be5e886b69338e0f000001] RubySkynet::Connection: localhost:2100 -- Service Handshake -- {"registered"=>true, "clientid"=>"50be5e886b69338e0f000002"} +2012-12-04 15:35:20.559224 D [36367:70159532514000] [50be5e886b69338e0f000001] RubySkynet::Connection: localhost:2100 -- Sending Client Handshake +2012-12-04 15:35:20.559230 T [36367:70159532514000] [50be5e886b69338e0f000001] RubySkynet::Connection: localhost:2100 -- Client Handshake -- {"clientid"=>"50be5e886b69338e0f000002"} +2012-12-04 15:35:20.559249 T [36367:70159532514000] [50be5e886b69338e0f000001] ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sending -- ,clientid50be5e886b69338e0f000002 +2012-12-04 15:35:20.559291 D [36367:70159532514000] [50be5e886b69338e0f000001] (0.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sent 44 bytes +2012-12-04 15:35:20.559355 D [36367:70159532514000] [50be5e886b69338e0f000001] RubySkynet::Connection: localhost:2100 -- Sending Header +2012-12-04 15:35:20.559364 T [36367:70159532514000] [50be5e886b69338e0f000001] RubySkynet::Connection: localhost:2100 -- Header -- {"servicemethod"=>"RubySkynet.Service.Forward", "seq"=>0} +2012-12-04 15:35:20.559386 T [36367:70159532514000] [50be5e886b69338e0f000001] ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sending -- <servicemethodRubySkynet.Service.Forwardseq +2012-12-04 15:35:20.559429 D [36367:70159532514000] [50be5e886b69338e0f000001] (0.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sent 60 bytes +2012-12-04 15:35:20.559463 D [36367:70159532514000] [50be5e886b69338e0f000001] RubySkynet::Connection: localhost:2100 -- Sending Request +2012-12-04 15:35:20.559470 T [36367:70159532514000] [50be5e886b69338e0f000001] RubySkynet::Connection: localhost:2100 -- Request -- {"clientid"=>"50be5e886b69338e0f000002", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"echo", "requestinfo"=>{"requestid"=>"50be5e886b69338e0f000001", "retrycount"=>0, "originaddress"=>""}} +2012-12-04 15:35:20.559475 T [36367:70159532514000] [50be5e886b69338e0f000001] RubySkynet::Connection: localhost:2100 -- Parameters: -- {"some"=>"parameters"} +2012-12-04 15:35:20.559492 T [36367:70159532514000] [50be5e886b69338e0f000001] ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sending -- clientid50be5e886b69338e0f000002insome parametersmethodechorequestinfoQrequestid50be5e886b69338e0f000001retrycountoriginaddress +2012-12-04 15:35:20.559533 D [36367:70159532514000] [50be5e886b69338e0f000001] (0.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sent 190 bytes +2012-12-04 15:35:20.559546 D [36367:70159532514000] [50be5e886b69338e0f000001] RubySkynet::Connection: localhost:2100 -- Reading header from server +2012-12-04 15:35:20.560873 D [36367:70159532365620] RubySkynet::Server: localhost:2100 -- ****************** -2012-10-18 16:25:43.725425 D [1147:70300390306460] SimpleServer -- +2012-12-04 15:35:20.560888 D [36367:70159532365620] RubySkynet::Server: localhost:2100 -- Received Request +2012-12-04 15:35:20.560894 T [36367:70159532365620] RubySkynet::Server: localhost:2100 -- Header -- {"servicemethod"=>"RubySkynet.Service.Forward", "seq"=>0} +2012-12-04 15:35:20.561049 T [36367:70159532365620] RubySkynet::Server: localhost:2100 -- Request -- {"clientid"=>"50be5e886b69338e0f000002", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"echo", "requestinfo"=>{"requestid"=>"50be5e886b69338e0f000001", "retrycount"=>0, "originaddress"=>""}} +2012-12-04 15:35:20.561101 D [36367:70159532365620] (0.0ms) RubySkynet::Server: localhost:2100 -- Called: service#echo -- NameError: uninitialized class variable @@services in RubySkynet::Server +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/server.rb:86:in `block in on_message' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_debug' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/server.rb:85:in `on_message' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/server.rb:122:in `handle_connection' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/celluloid-0.12.3/lib/celluloid/calls.rb:99:in `dispatch' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/celluloid-0.12.3/lib/celluloid/actor.rb:323:in `block in handle_message' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/celluloid-0.12.3/lib/celluloid/tasks/task_fiber.rb:22:in `block in initialize' +2012-12-04 15:35:20.561162 E [36367:70159532365620] Celluloid -- RubySkynet::Server crashed! +NameError: uninitialized class variable @@services in RubySkynet::Server +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/server.rb:86:in `block in on_message' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_debug' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/server.rb:85:in `on_message' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/server.rb:122:in `handle_connection' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/celluloid-0.12.3/lib/celluloid/calls.rb:99:in `dispatch' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/celluloid-0.12.3/lib/celluloid/actor.rb:323:in `block in handle_message' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/celluloid-0.12.3/lib/celluloid/tasks/task_fiber.rb:22:in `block in initialize' +2012-12-04 15:35:20.561212 I [36367:70159532365620] RubySkynet::Server: localhost:2100 -- Skynet Server Stopped +2012-12-04 15:35:31.075744 D [36367:70159532514000] [50be5e886b69338e0f000001] (10516.2ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 4 bytes -- Interrupt: +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:378:in `select' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:378:in `block in read' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_debug' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:374:in `read' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/common.rb:10:in `read_bson_document' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:178:in `rpc_call' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:65:in `block (3 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/gene_pool-1.3.0/lib/gene_pool.rb:134:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:214:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:64:in `block (2 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_info' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:60:in `block in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:126:in `with_tags' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:59:in `call' +/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_service_test.rb:56:in `block (4 levels) in <class:RubySkynetServiceTest>' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `block in create_test_from_should_hash' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/mocha-0.10.5/lib/mocha/integration/mini_test/version_230_to_262.rb:28:in `run' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/testcase.rb:17:in `run' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:787:in `block in _run_suite' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `map' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `_run_suite' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:565:in `block in _run_suites' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:563:in `each' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:563:in `_run_suites' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:746:in `_run_anything' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:909:in `run_tests' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:896:in `block in _run' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:895:in `each' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:895:in `_run' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:884:in `run' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:21:in `run' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:326:in `block (2 levels) in autorun' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:27:in `run_once' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:325:in `block in autorun' +2012-12-04 15:35:31.075823 I [36367:70159532514000] [50be5e886b69338e0f000001] (10531.7ms) RubySkynet::Client: RubySkynet.Service/1/Test -- Called Skynet Service: RubySkynet.Service.echo -- Interrupt: +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:378:in `select' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:378:in `block in read' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_debug' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:374:in `read' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/common.rb:10:in `read_bson_document' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:178:in `rpc_call' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:65:in `block (3 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/gene_pool-1.3.0/lib/gene_pool.rb:134:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:214:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:64:in `block (2 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_info' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:60:in `block in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:126:in `with_tags' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:59:in `call' +/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_service_test.rb:56:in `block (4 levels) in <class:RubySkynetServiceTest>' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `block in create_test_from_should_hash' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/mocha-0.10.5/lib/mocha/integration/mini_test/version_230_to_262.rb:28:in `run' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/testcase.rb:17:in `run' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:787:in `block in _run_suite' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `map' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `_run_suite' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:565:in `block in _run_suites' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:563:in `each' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:563:in `_run_suites' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:746:in `_run_anything' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:909:in `run_tests' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:896:in `block in _run' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:895:in `each' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:895:in `_run' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:884:in `run' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:21:in `run' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:326:in `block (2 levels) in autorun' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:27:in `run_once' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:325:in `block in autorun' +2012-12-04 15:35:31.082607 I [36367:70159532514000] Celluloid -- Terminating 4 actors... +2012-12-04 15:35:41.246702 D [36376:70271868420380] RubySkynet::Server: localhost:2100 -- Waiting for a client to connect +2012-12-04 15:35:41.257305 D [36376:70271868558040] RubySkynet::Registry -- Doozer Connection Pool: Created connection #1 #<Thread:0x007fd2e386b5b0>(70271868558040) for Doozer Connection Pool +2012-12-04 15:35:41.279870 T [36376:70271868558040] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007fd2e3c24b48@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-04 15:35:41.283917 D [36376:70271868558040] RubySkynet::Registry -- Doozer Connection Pool: Renewed connection old=70271868558040 new=#<RubySkynet::Doozer::Client:0x007fd2e3c24c60>(70271870510640) +2012-12-04 15:35:41.283967 D [36376:70271868558040] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fd2e3c24c60>(70271870510640) self=connections=70271870510640 checked_out=70271870510640 with_map= +2012-12-04 15:35:41.329504 T [36376:70271868558040] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- ""2/services/RubySkynet.Service/1/Test/localhost/2100*{"Config":{"UUID":"localhost:2100-36376-RubySkynet::Service-70271872760860","Name":"RubySkynet.Service","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"localhost","Port":2100,"MaxPort":3099}},"Registered":true}H +2012-12-04 15:35:41.329966 D [36376:70271868558040] (0.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 294 bytes +2012-12-04 15:35:41.334003 T [36376:70271868558040] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-04 15:35:41.334026 D [36376:70271868558040] (4.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-04 15:35:41.339197 T [36376:70271868558040] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\x9B\r" +2012-12-04 15:35:41.339251 D [36376:70271868558040] (5.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-04 15:35:41.339466 D [36376:70271868558040] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fd2e3c24c60>(70271870510640) self=connections=70271870510640 checked_out= with_map= +2012-12-04 15:35:41.343126 D [36376:70271868558040] [50be5e9d6b69338e18000001] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fd2e3c24c60>(70271870510640) self=connections=70271870510640 checked_out=70271870510640 with_map= +2012-12-04 15:35:41.343356 T [36376:70271868558040] [50be5e9d6b69338e18000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  +2012-12-04 15:35:41.343418 D [36376:70271868558040] [50be5e9d6b69338e18000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 8 bytes +2012-12-04 15:35:41.344065 T [36376:70271868558040] [50be5e9d6b69338e18000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-04 15:35:41.344096 D [36376:70271868558040] [50be5e9d6b69338e18000001] (0.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-04 15:35:41.344533 T [36376:70271868558040] [50be5e9d6b69338e18000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\x9B\r" +2012-12-04 15:35:41.344561 D [36376:70271868558040] [50be5e9d6b69338e18000001] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-04 15:35:41.344996 T [36376:70271868558040] [50be5e9d6b69338e18000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H +2012-12-04 15:35:41.345038 D [36376:70271868558040] [50be5e9d6b69338e18000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-04 15:35:41.345771 T [36376:70271868558040] [50be5e9d6b69338e18000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01(" +2012-12-04 15:35:41.345810 D [36376:70271868558040] [50be5e9d6b69338e18000001] (0.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-04 15:35:41.346054 T [36376:70271868558040] [50be5e9d6b69338e18000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xA2\t*9/services/RubySkynet.Service/1/Development/localhost/21002\xE3\x01{\"Config\":{\"UUID\":\"localhost:2100-36005-RubySkynet::Service-70299094646300\",\"Name\":\"RubySkynet.Service\",\"Version\":\"1\",\"Region\":\"Development\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-04 15:35:41.346090 D [36376:70271868558040] [50be5e9d6b69338e18000001] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 296 bytes +2012-12-04 15:35:41.346396 T [36376:70271868558040] [50be5e9d6b69338e18000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H +2012-12-04 15:35:41.346998 D [36376:70271868558040] [50be5e9d6b69338e18000001] (0.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-04 15:35:41.347186 T [36376:70271868558040] [50be5e9d6b69338e18000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01\x1A" +2012-12-04 15:35:41.347221 D [36376:70271868558040] [50be5e9d6b69338e18000001] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-04 15:35:41.347457 T [36376:70271868558040] [50be5e9d6b69338e18000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\x9B\r*2/services/RubySkynet.Service/1/Test/localhost/21002\xDC\x01{\"Config\":{\"UUID\":\"localhost:2100-36376-RubySkynet::Service-70271872760860\",\"Name\":\"RubySkynet.Service\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-04 15:35:41.347492 D [36376:70271868558040] [50be5e9d6b69338e18000001] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 282 bytes +2012-12-04 15:35:41.347753 T [36376:70271868558040] [50be5e9d6b69338e18000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H +2012-12-04 15:35:41.348478 D [36376:70271868558040] [50be5e9d6b69338e18000001] (0.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-04 15:35:41.348722 T [36376:70271868558040] [50be5e9d6b69338e18000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-04 15:35:41.348733 D [36376:70271868558040] [50be5e9d6b69338e18000001] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-04 15:35:41.348792 T [36376:70271868558040] [50be5e9d6b69338e18000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\xA0\x06\b" +2012-12-04 15:35:41.348798 D [36376:70271868558040] [50be5e9d6b69338e18000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-04 15:35:41.348977 D [36376:70271868558040] [50be5e9d6b69338e18000001] RubySkynet::Registry -- #start_monitoring Add Service: RubySkynet.Service/1/Development => localhost:2100 +2012-12-04 15:35:41.349031 D [36376:70271868558040] [50be5e9d6b69338e18000001] RubySkynet::Registry -- #start_monitoring Add Service: RubySkynet.Service/1/Test => localhost:2100 +2012-12-04 15:35:41.349071 D [36376:70271868558040] [50be5e9d6b69338e18000001] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fd2e3c24c60>(70271870510640) self=connections=70271870510640 checked_out= with_map= +2012-12-04 15:35:41.349493 I [36376:70271873254780] RubySkynet::Registry -- Start monitoring /services/*/*/*/*/* +2012-12-04 15:35:41.349531 T [36376:70271873254780] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007fd2e39f43c8@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-04 15:35:41.352677 D [36376:70271868420380] RubySkynet::Server: localhost:2100 -- Waiting for a client to connect +2012-12-04 15:35:41.352785 D [36376:70271868420380] RubySkynet::Server: localhost:2100 -- Client connected, waiting for data from client +2012-12-04 15:35:41.354582 T [36376:70271873254780] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-04 15:35:41.354646 D [36376:70271873254780] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-04 15:35:41.355755 D [36376:70271868558040] [50be5e9d6b69338e18000001] RubySkynet::Connection: localhost:2100 -- Waiting for Service Handshake +2012-12-04 15:35:41.355931 T [36376:70271868558040] [50be5e9d6b69338e18000001] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "9\x00\x00\x00" +2012-12-04 15:35:41.355967 D [36376:70271868558040] [50be5e9d6b69338e18000001] (0.2ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 4 bytes +2012-12-04 15:35:41.356438 T [36376:70271868558040] [50be5e9d6b69338e18000001] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "\bregistered\x00\x01\x02clientid\x00\x19\x00\x00\x0050be5e9d6b69338e18000002\x00\x00" +2012-12-04 15:35:41.356474 D [36376:70271868558040] [50be5e9d6b69338e18000001] (0.5ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 53 bytes +2012-12-04 15:35:41.356532 T [36376:70271868558040] [50be5e9d6b69338e18000001] RubySkynet::Connection: localhost:2100 -- Service Handshake -- {"registered"=>true, "clientid"=>"50be5e9d6b69338e18000002"} +2012-12-04 15:35:41.356545 D [36376:70271868558040] [50be5e9d6b69338e18000001] RubySkynet::Connection: localhost:2100 -- Sending Client Handshake +2012-12-04 15:35:41.356551 T [36376:70271868558040] [50be5e9d6b69338e18000001] RubySkynet::Connection: localhost:2100 -- Client Handshake -- {"clientid"=>"50be5e9d6b69338e18000002"} +2012-12-04 15:35:41.356570 T [36376:70271868558040] [50be5e9d6b69338e18000001] ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sending -- ,clientid50be5e9d6b69338e18000002 +2012-12-04 15:35:41.357317 D [36376:70271868558040] [50be5e9d6b69338e18000001] (0.7ms) ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sent 44 bytes +2012-12-04 15:35:41.359762 D [36376:70271868558040] [50be5e9d6b69338e18000001] RubySkynet::Connection: localhost:2100 -- Sending Header +2012-12-04 15:35:41.359775 T [36376:70271868558040] [50be5e9d6b69338e18000001] RubySkynet::Connection: localhost:2100 -- Header -- {"servicemethod"=>"RubySkynet.Service.Forward", "seq"=>0} +2012-12-04 15:35:41.359802 T [36376:70271868558040] [50be5e9d6b69338e18000001] ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sending -- <servicemethodRubySkynet.Service.Forwardseq +2012-12-04 15:35:41.360137 D [36376:70271868420380] RubySkynet::Server: localhost:2100 -- ****************** -2012-10-18 16:25:43.725439 D [1147:70300390306460] SimpleServer -- Received Request -2012-10-18 16:25:43.725439 D [1147:70300390306460] SimpleServer -- Received Request -2012-10-18 16:25:43.725448 T [1147:70300390306460] SimpleServer -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} -2012-10-18 16:25:43.725448 T [1147:70300390306460] SimpleServer -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} -- {"servicemethod"=>"TestService.Forward", "seq"=>0} -2012-10-18 16:25:43.725521 T [1147:70300390306460] SimpleServer -- Request -- {"clientid"=>"123", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"test1", "requestinfo"=>{"requestid"=>"508065c76b6933047b000001", "retrycount"=>0, "originaddress"=>""}} -2012-10-18 16:25:43.725521 T [1147:70300390306460] SimpleServer -- Request -- {"clientid"=>"123", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"test1", "requestinfo"=>{"requestid"=>"508065c76b6933047b000001", "retrycount"=>0, "originaddress"=>""}} -- {"clientid"=>"123", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"test1", "requestinfo"=>{"requestid"=>"508065c76b6933047b000001", "retrycount"=>0, "originaddress"=>""}} -2012-10-18 16:25:43.725546 D [1147:70300390306460] SimpleServer -- Sending Header -2012-10-18 16:25:43.725546 D [1147:70300390306460] SimpleServer -- Sending Header -2012-10-18 16:25:43.725605 D [1147:70300390306460] SimpleServer -- Sending Reply -2012-10-18 16:25:43.725605 D [1147:70300390306460] SimpleServer -- Sending Reply -2012-10-18 16:25:43.725619 T [1147:70300390306460] SimpleServer -- Reply -- {"result"=>"test1"} -2012-10-18 16:25:43.725619 T [1147:70300390306460] SimpleServer -- Reply -- {"result"=>"test1"} -- {"result"=>"test1"} -2012-10-18 16:25:43.725854 T [1147:70300385630940] [508065c76b6933047b000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "5\x00\x00\x00" -2012-10-18 16:25:43.725854 T [1147:70300385630940] [508065c76b6933047b000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "5\x00\x00\x00" -- "5\x00\x00\x00" -2012-10-18 16:25:43.725868 D [1147:70300385630940] [508065c76b6933047b000001] (1.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes -2012-10-18 16:25:43.725868 D [1147:70300385630940] [508065c76b6933047b000001] (1.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes -2012-10-18 16:25:43.725925 T [1147:70300385630940] [508065c76b6933047b000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "\x02servicemethod\x00\x14\x00\x00\x00TestService.Forward\x00\x10seq\x00\x00\x00\x00\x00\x00" -2012-10-18 16:25:43.725925 T [1147:70300385630940] [508065c76b6933047b000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "\x02servicemethod\x00\x14\x00\x00\x00TestService.Forward\x00\x10seq\x00\x00\x00\x00\x00\x00" -- "\x02servicemethod\x00\x14\x00\x00\x00TestService.Forward\x00\x10seq\x00\x00\x00\x00\x00\x00" -2012-10-18 16:25:43.725936 D [1147:70300385630940] [508065c76b6933047b000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 49 bytes -2012-10-18 16:25:43.725936 D [1147:70300385630940] [508065c76b6933047b000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 49 bytes -2012-10-18 16:25:43.725976 D [1147:70300385630940] [508065c76b6933047b000001] RubySkynet::Connection: 127.0.0.1:2000 -- Response Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} -2012-10-18 16:25:43.725976 D [1147:70300385630940] [508065c76b6933047b000001] RubySkynet::Connection: 127.0.0.1:2000 -- Response Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} -- {"servicemethod"=>"TestService.Forward", "seq"=>0} -2012-10-18 16:25:43.725987 D [1147:70300385630940] [508065c76b6933047b000001] RubySkynet::Connection: 127.0.0.1:2000 -- Reading response from server -2012-10-18 16:25:43.725987 D [1147:70300385630940] [508065c76b6933047b000001] RubySkynet::Connection: 127.0.0.1:2000 -- Reading response from server -2012-10-18 16:25:43.726034 T [1147:70300385630940] [508065c76b6933047b000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "&\x00\x00\x00" -2012-10-18 16:25:43.726034 T [1147:70300385630940] [508065c76b6933047b000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "&\x00\x00\x00" -- "&\x00\x00\x00" -2012-10-18 16:25:43.726045 D [1147:70300385630940] [508065c76b6933047b000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes -2012-10-18 16:25:43.726045 D [1147:70300385630940] [508065c76b6933047b000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes -2012-10-18 16:25:43.726097 T [1147:70300385630940] [508065c76b6933047b000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "\x02out\x00\x18\x00\x00\x00\x17\x00\x00\x00\x02result\x00\x06\x00\x00\x00test1\x00\x00\x00\x00" -2012-10-18 16:25:43.726097 T [1147:70300385630940] [508065c76b6933047b000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "\x02out\x00\x18\x00\x00\x00\x17\x00\x00\x00\x02result\x00\x06\x00\x00\x00test1\x00\x00\x00\x00" -- "\x02out\x00\x18\x00\x00\x00\x17\x00\x00\x00\x02result\x00\x06\x00\x00\x00test1\x00\x00\x00\x00" -2012-10-18 16:25:43.726107 D [1147:70300385630940] [508065c76b6933047b000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 34 bytes -2012-10-18 16:25:43.726107 D [1147:70300385630940] [508065c76b6933047b000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 34 bytes -2012-10-18 16:25:43.726136 T [1147:70300385630940] [508065c76b6933047b000001] RubySkynet::Connection: 127.0.0.1:2000 -- Response -- {"out"=>"\x17\x00\x00\x00\x02result\x00\x06\x00\x00\x00test1\x00\x00"} -2012-10-18 16:25:43.726136 T [1147:70300385630940] [508065c76b6933047b000001] RubySkynet::Connection: 127.0.0.1:2000 -- Response -- {"out"=>"\x17\x00\x00\x00\x02result\x00\x06\x00\x00\x00test1\x00\x00"} -- {"out"=>"\x17\x00\x00\x00\x02result\x00\x06\x00\x00\x00test1\x00\x00"} -2012-10-18 16:25:43.726160 T [1147:70300385630940] [508065c76b6933047b000001] RubySkynet::Connection: 127.0.0.1:2000 -- Return Value -- {"result"=>"test1"} -2012-10-18 16:25:43.726160 T [1147:70300385630940] [508065c76b6933047b000001] RubySkynet::Connection: 127.0.0.1:2000 -- Return Value -- {"result"=>"test1"} -- {"result"=>"test1"} -2012-10-18 16:25:43.726180 I [1147:70300385630940] [508065c76b6933047b000001] (12.1ms) RubySkynet::Client: TestService/1/Test -- Called Skynet Service: TestService.test1 -2012-10-18 16:25:43.726180 I [1147:70300385630940] [508065c76b6933047b000001] (12.1ms) RubySkynet::Client: TestService/1/Test -- Called Skynet Service: TestService.test1 -2012-10-18 16:25:43.726921 D [1147:70300385630940] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fe02b17a170>(70300386185400) self=connections=70300386185400 checked_out=70300386185400 with_map= -2012-10-18 16:25:43.726921 D [1147:70300385630940] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fe02b17a170>(70300386185400) self=connections=70300386185400 checked_out=70300386185400 with_map= -2012-10-18 16:25:43.727173 T [1147:70300385630940] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- <"+/services/TestService/1/Test/127.0.0.1/2000H -2012-10-18 16:25:43.727173 T [1147:70300385630940] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- <"+/services/TestService/1/Test/127.0.0.1/2000H -- <"+/services/TestService/1/Test/127.0.0.1/2000H -2012-10-18 16:25:43.727227 D [1147:70300385630940] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 64 bytes -2012-10-18 16:25:43.727227 D [1147:70300385630940] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 64 bytes -2012-10-18 16:25:43.737295 T [1147:70300385630940] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x02" -2012-10-18 16:25:43.737295 T [1147:70300385630940] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x02" -- "\x00\x00\x00\x02" -2012-10-18 16:25:43.737313 D [1147:70300385630940] (10.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:25:43.737313 D [1147:70300385630940] (10.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:25:43.737397 T [1147:70300385630940] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00" -2012-10-18 16:25:43.737397 T [1147:70300385630940] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00" -- "\b\x00" -2012-10-18 16:25:43.737408 D [1147:70300385630940] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 2 bytes -2012-10-18 16:25:43.737408 D [1147:70300385630940] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 2 bytes -2012-10-18 16:25:43.737517 D [1147:70300385630940] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fe02b17a170>(70300386185400) self=connections=70300386185400 checked_out= with_map= -2012-10-18 16:25:43.737517 D [1147:70300385630940] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fe02b17a170>(70300386185400) self=connections=70300386185400 checked_out= with_map= -2012-10-18 16:25:43.738186 D [1147:70300385630940] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fe02b17a170>(70300386185400) self=connections=70300386185400 checked_out=70300386185400 with_map= -2012-10-18 16:25:43.738186 D [1147:70300385630940] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fe02b17a170>(70300386185400) self=connections=70300386185400 checked_out=70300386185400 with_map= -2012-10-18 16:25:43.738605 T [1147:70300385630940] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "+/services/TestService/1/Test/127.0.0.1/2000*{"Config":{"UUID":"3978b371-15e9-40f8-9b7b-59ae88d8c7ec","Name":"TestService","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"127.0.0.1","Port":2000,"MaxPort":2999}},"Registered":true}H -2012-10-18 16:25:43.738605 T [1147:70300385630940] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "+/services/TestService/1/Test/127.0.0.1/2000*{"Config":{"UUID":"3978b371-15e9-40f8-9b7b-59ae88d8c7ec","Name":"TestService","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"127.0.0.1","Port":2000,"MaxPort":2999}},"Registered":true}H -- "+/services/TestService/1/Test/127.0.0.1/2000*{"Config":{"UUID":"3978b371-15e9-40f8-9b7b-59ae88d8c7ec","Name":"TestService","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"127.0.0.1","Port":2000,"MaxPort":2999}},"Registered":true}H -2012-10-18 16:25:43.738680 T [1147:70300390817460] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x007" -2012-10-18 16:25:43.738680 T [1147:70300390817460] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x007" -- "\x00\x00\x007" -2012-10-18 16:25:43.738692 D [1147:70300390817460] (13.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:25:43.738692 D [1147:70300390817460] (13.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:25:43.738777 T [1147:70300390817460] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\b\x18\xC9\xD0\x03*+/services/TestService/1/Test/127.0.0.1/20002\x00" -2012-10-18 16:25:43.738777 T [1147:70300390817460] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\b\x18\xC9\xD0\x03*+/services/TestService/1/Test/127.0.0.1/20002\x00" -- "\b\x00\x10\b\x18\xC9\xD0\x03*+/services/TestService/1/Test/127.0.0.1/20002\x00" -2012-10-18 16:25:43.738787 D [1147:70300390817460] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 55 bytes -2012-10-18 16:25:43.738787 D [1147:70300390817460] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 55 bytes -2012-10-18 16:25:43.738897 D [1147:70300390817460] RubySkynet::Registry -- #monitor Service stopped, remove: TestService/1/Test => 127.0.0.1:2000 -2012-10-18 16:25:43.738897 D [1147:70300390817460] RubySkynet::Registry -- #monitor Service stopped, remove: TestService/1/Test => 127.0.0.1:2000 -2012-10-18 16:25:43.738923 I [1147:70300390817460] RubySkynet::Registry -- Calling callback for server: 127.0.0.1:2000 -2012-10-18 16:25:43.738923 I [1147:70300390817460] RubySkynet::Registry -- Calling callback for server: 127.0.0.1:2000 -2012-10-18 16:25:43.739006 D [1147:70300390817460] RubySkynet::Connection -- Connection pool for server:127.0.0.1:2000 has been released -2012-10-18 16:25:43.739006 D [1147:70300390817460] RubySkynet::Connection -- Connection pool for server:127.0.0.1:2000 has been released -2012-10-18 16:25:43.739020 D [1147:70300390817460] RubySkynet::Registry -- Updated registry -- {"TutorialService/1/Development"=>["127.0.0.1:9000"]} -2012-10-18 16:25:43.739020 D [1147:70300390817460] RubySkynet::Registry -- Updated registry -- {"TutorialService/1/Development"=>["127.0.0.1:9000"]} -- {"TutorialService/1/Development"=>["127.0.0.1:9000"]} -2012-10-18 16:25:43.739219 T [1147:70300390817460] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H -2012-10-18 16:25:43.739219 T [1147:70300390817460] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H -- "/services/*/*/*/*/*H -2012-10-18 16:25:43.739264 D [1147:70300390817460] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 33 bytes -2012-10-18 16:25:43.739264 D [1147:70300390817460] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 33 bytes -2012-10-18 16:25:43.739756 D [1147:70300390932920] SimpleServer -- Waiting for a client to connect -2012-10-18 16:25:43.739756 D [1147:70300390932920] SimpleServer -- Waiting for a client to connect -2012-10-18 16:25:43.742982 D [1147:70300385630940] (4.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 261 bytes -2012-10-18 16:25:43.742982 D [1147:70300385630940] (4.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 261 bytes -2012-10-18 16:25:43.744449 T [1147:70300385630940] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x06" -2012-10-18 16:25:43.744449 T [1147:70300385630940] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x06" -- "\x00\x00\x00\x06" -2012-10-18 16:25:43.744466 D [1147:70300385630940] (1.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:25:43.744466 D [1147:70300385630940] (1.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:25:43.745662 T [1147:70300390817460] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\xFA" -2012-10-18 16:25:43.745662 T [1147:70300390817460] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\xFA" -- "\x00\x00\x00\xFA" -2012-10-18 16:25:43.745677 D [1147:70300390817460] (6.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:25:43.745677 D [1147:70300390817460] (6.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:25:43.746136 T [1147:70300385630940] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xCA\xD0\x03" -2012-10-18 16:25:43.746136 T [1147:70300385630940] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xCA\xD0\x03" -- "\b\x00\x18\xCA\xD0\x03" -2012-10-18 16:25:43.746152 D [1147:70300385630940] (1.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 6 bytes -2012-10-18 16:25:43.746152 D [1147:70300385630940] (1.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 6 bytes -2012-10-18 16:25:43.746276 D [1147:70300385630940] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fe02b17a170>(70300386185400) self=connections=70300386185400 checked_out= with_map= -2012-10-18 16:25:43.746276 D [1147:70300385630940] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fe02b17a170>(70300386185400) self=connections=70300386185400 checked_out= with_map= -2012-10-18 16:25:43.746524 W [1147:70300385630940] [508065c76b6933047b000002] RubySkynet::Registry -- No servers available for service: TestService with version: 1 in region: Test -2012-10-18 16:25:43.746524 W [1147:70300385630940] [508065c76b6933047b000002] RubySkynet::Registry -- No servers available for service: TestService with version: 1 in region: Test -2012-10-18 16:25:43.746612 I [1147:70300385630940] [508065c76b6933047b000002] (0.2ms) RubySkynet::Client: TestService/1/Test -- Called Skynet Service: TestService.sleep -- RubySkynet::ServiceUnavailable: No servers available for service: TestService with version: 1 in region: Test -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/registry.rb:92:in `server_for' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:66:in `block (2 levels) in call' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.7.0/lib/semantic_logger/base.rb:181:in `benchmark_info' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:62:in `block in call' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.7.0/lib/semantic_logger/base.rb:161:in `with_tags' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:61:in `call' -/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_client_test.rb:90:in `block (5 levels) in <class:RubySkynetClientTest>' -/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:330:in `assert_raises' -/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/assertions.rb:69:in `assert_raise' -/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_client_test.rb:88:in `block (4 levels) in <class:RubySkynetClientTest>' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.0/lib/shoulda/context/context.rb:398:in `call' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.0/lib/shoulda/context/context.rb:398:in `block in create_test_from_should_hash' -/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:949:in `run' +2012-12-04 15:35:41.360145 D [36376:70271868420380] RubySkynet::Server: localhost:2100 -- Received Request +2012-12-04 15:35:41.360151 T [36376:70271868420380] RubySkynet::Server: localhost:2100 -- Header -- {"servicemethod"=>"RubySkynet.Service.Forward", "seq"=>0} +2012-12-04 15:35:41.360805 D [36376:70271868558040] [50be5e9d6b69338e18000001] (1.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sent 60 bytes +2012-12-04 15:35:41.361091 D [36376:70271868558040] [50be5e9d6b69338e18000001] RubySkynet::Connection: localhost:2100 -- Sending Request +2012-12-04 15:35:41.361111 T [36376:70271868558040] [50be5e9d6b69338e18000001] RubySkynet::Connection: localhost:2100 -- Request -- {"clientid"=>"50be5e9d6b69338e18000002", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"echo", "requestinfo"=>{"requestid"=>"50be5e9d6b69338e18000001", "retrycount"=>0, "originaddress"=>""}} +2012-12-04 15:35:41.361129 T [36376:70271868558040] [50be5e9d6b69338e18000001] RubySkynet::Connection: localhost:2100 -- Parameters: -- {"some"=>"parameters"} +2012-12-04 15:35:41.361256 T [36376:70271868558040] [50be5e9d6b69338e18000001] ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sending -- clientid50be5e9d6b69338e18000002insome parametersmethodechorequestinfoQrequestid50be5e9d6b69338e18000001retrycountoriginaddress +2012-12-04 15:35:41.362029 T [36376:70271868420380] RubySkynet::Server: localhost:2100 -- Request -- {"clientid"=>"50be5e9d6b69338e18000002", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"echo", "requestinfo"=>{"requestid"=>"50be5e9d6b69338e18000001", "retrycount"=>0, "originaddress"=>""}} +2012-12-04 15:35:41.362087 D [36376:70271868420380] (0.0ms) RubySkynet::Server: localhost:2100 -- Called: service#echo -- NameError: uninitialized class variable @@services in RubySkynet::Server +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/server.rb:86:in `block in on_message' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_debug' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/server.rb:85:in `on_message' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/server.rb:122:in `handle_connection' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/celluloid-0.12.3/lib/celluloid/calls.rb:99:in `dispatch' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/celluloid-0.12.3/lib/celluloid/actor.rb:323:in `block in handle_message' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/celluloid-0.12.3/lib/celluloid/tasks/task_fiber.rb:22:in `block in initialize' +2012-12-04 15:35:41.362147 E [36376:70271868420380] Celluloid -- RubySkynet::Server crashed! +NameError: uninitialized class variable @@services in RubySkynet::Server +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/server.rb:86:in `block in on_message' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_debug' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/server.rb:85:in `on_message' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/server.rb:122:in `handle_connection' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/celluloid-0.12.3/lib/celluloid/calls.rb:99:in `dispatch' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/celluloid-0.12.3/lib/celluloid/actor.rb:323:in `block in handle_message' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/celluloid-0.12.3/lib/celluloid/tasks/task_fiber.rb:22:in `block in initialize' +2012-12-04 15:35:41.362197 I [36376:70271868420380] RubySkynet::Server: localhost:2100 -- Skynet Server Stopped +2012-12-04 15:35:41.362734 D [36376:70271868558040] [50be5e9d6b69338e18000001] (1.4ms) ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sent 190 bytes +2012-12-04 15:35:41.362753 D [36376:70271868558040] [50be5e9d6b69338e18000001] RubySkynet::Connection: localhost:2100 -- Reading header from server +2012-12-04 15:36:41.336155 W [36376:70271868558040] [50be5e9d6b69338e18000001] ResilientSocket::TCPClient ["localhost:2100"] -- #read Timeout waiting for server to reply +2012-12-04 15:36:41.336316 D [36376:70271868558040] [50be5e9d6b69338e18000001] (59971.3ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 4 bytes -- ResilientSocket::ReadTimeout: Timedout after 60.0 seconds trying to read from localhost:2100 +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:392:in `block in read' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_debug' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:374:in `read' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/common.rb:10:in `read_bson_document' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:178:in `rpc_call' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:65:in `block (3 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/gene_pool-1.3.0/lib/gene_pool.rb:134:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:214:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:64:in `block (2 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_info' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:60:in `block in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:126:in `with_tags' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:59:in `call' +/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_service_test.rb:56:in `block (4 levels) in <class:RubySkynetServiceTest>' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `block in create_test_from_should_hash' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/mocha-0.10.5/lib/mocha/integration/mini_test/version_230_to_262.rb:28:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/testcase.rb:17:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:787:in `block in _run_suite' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `map' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `_run_suite' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:565:in `block in _run_suites' @@ -1179,24 +1455,28 @@ /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:884:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:21:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:326:in `block (2 levels) in autorun' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:27:in `run_once' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:325:in `block in autorun' -2012-10-18 16:25:43.746612 I [1147:70300385630940] [508065c76b6933047b000002] (0.2ms) RubySkynet::Client: TestService/1/Test -- Called Skynet Service: TestService.sleep -- RubySkynet::ServiceUnavailable: No servers available for service: TestService with version: 1 in region: Test -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/registry.rb:92:in `server_for' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:66:in `block (2 levels) in call' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.7.0/lib/semantic_logger/base.rb:181:in `benchmark_info' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:62:in `block in call' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.7.0/lib/semantic_logger/base.rb:161:in `with_tags' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:61:in `call' -/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_client_test.rb:90:in `block (5 levels) in <class:RubySkynetClientTest>' -/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:330:in `assert_raises' -/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/assertions.rb:69:in `assert_raise' -/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_client_test.rb:88:in `block (4 levels) in <class:RubySkynetClientTest>' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.0/lib/shoulda/context/context.rb:398:in `call' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.0/lib/shoulda/context/context.rb:398:in `block in create_test_from_should_hash' -/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:949:in `run' +2012-12-04 15:36:41.336373 I [36376:70271868558040] [50be5e9d6b69338e18000001] (59995.3ms) RubySkynet::Client: RubySkynet.Service/1/Test -- Called Skynet Service: RubySkynet.Service.echo -- ResilientSocket::ReadTimeout: Timedout after 60.0 seconds trying to read from localhost:2100 +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:392:in `block in read' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_debug' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:374:in `read' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/common.rb:10:in `read_bson_document' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:178:in `rpc_call' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:65:in `block (3 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/gene_pool-1.3.0/lib/gene_pool.rb:134:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:214:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:64:in `block (2 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_info' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:60:in `block in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:126:in `with_tags' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:59:in `call' +/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_service_test.rb:56:in `block (4 levels) in <class:RubySkynetServiceTest>' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `block in create_test_from_should_hash' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/mocha-0.10.5/lib/mocha/integration/mini_test/version_230_to_262.rb:28:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/testcase.rb:17:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:787:in `block in _run_suite' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `map' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `_run_suite' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:565:in `block in _run_suites' @@ -1209,24 +1489,134 @@ /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:895:in `_run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:884:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:21:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:326:in `block (2 levels) in autorun' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:27:in `run_once' -/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:325:in `block in autorun' -- RubySkynet::ServiceUnavailable: No servers available for service: TestService with version: 1 in region: Test -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/registry.rb:92:in `server_for' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:66:in `block (2 levels) in call' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.7.0/lib/semantic_logger/base.rb:181:in `benchmark_info' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:62:in `block in call' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.7.0/lib/semantic_logger/base.rb:161:in `with_tags' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:61:in `call' -/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_client_test.rb:90:in `block (5 levels) in <class:RubySkynetClientTest>' -/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:330:in `assert_raises' -/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/assertions.rb:69:in `assert_raise' -/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_client_test.rb:88:in `block (4 levels) in <class:RubySkynetClientTest>' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.0/lib/shoulda/context/context.rb:398:in `call' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.0/lib/shoulda/context/context.rb:398:in `block in create_test_from_should_hash' -/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:949:in `run' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:325:in `block in autorun' +2012-12-04 15:36:41.338653 D [36376:70271868420380] RubySkynet::Server: localhost:2100 -- Waiting for a client to connect +2012-12-04 15:36:41.340017 I [36376:70271868420380] RubySkynet::Server: localhost:2100 -- Skynet Server Stopped +2012-12-04 15:36:41.341287 D [36376:70271868420380] RubySkynet::Server: localhost:2100 -- Waiting for a client to connect +2012-12-04 15:36:41.341535 D [36376:70271868558040] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fd2e3c24c60>(70271870510640) self=connections=70271870510640 checked_out=70271870510640 with_map= +2012-12-04 15:36:41.341832 T [36376:70271868558040] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- 8"2/services/RubySkynet.Service/1/Test/localhost/2100 +2012-12-04 15:36:41.343568 D [36376:70271868558040] (1.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 60 bytes +2012-12-04 15:36:41.344215 T [36376:70271868558040] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\xE4" +2012-12-04 15:36:41.344228 D [36376:70271868558040] (0.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-04 15:36:41.345537 T [36376:70271868558040] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\x9B\r2\xDC\x01{\"Config\":{\"UUID\":\"localhost:2100-36376-RubySkynet::Service-70271872760860\",\"Name\":\"RubySkynet.Service\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-04 15:36:41.345544 D [36376:70271868558040] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 228 bytes +2012-12-04 15:36:41.345713 D [36376:70271868558040] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fd2e3c24c60>(70271870510640) self=connections=70271870510640 checked_out= with_map= +2012-12-04 15:36:41.346451 I [36376:70271868420380] RubySkynet::Server: localhost:2100 -- Skynet Server Stopped +2012-12-04 15:36:41.348161 I [36376:70271868558040] Celluloid -- Terminating 4 actors... +2012-12-04 15:46:03.825115 I [36682:70200649217080] RubySkynet::Server -- Starting listener on localhost:2100 +2012-12-04 15:46:03.825146 D [36682:70200649217080] RubySkynet::Server -- Waiting for a client to connect +2012-12-04 15:46:03.836588 D [36682:70200649276120] RubySkynet::Registry -- Doozer Connection Pool: Created connection #1 #<Thread:0x007fb1b986b5b0>(70200649276120) for Doozer Connection Pool +2012-12-04 15:46:03.857770 T [36682:70200649276120] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007fb1b9cd4f98@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-04 15:46:03.865113 D [36682:70200649276120] RubySkynet::Registry -- Doozer Connection Pool: Renewed connection old=70200649276120 new=#<RubySkynet::Doozer::Client:0x007fb1b9cd50d8>(70200651589740) +2012-12-04 15:46:03.865205 D [36682:70200649276120] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fb1b9cd50d8>(70200651589740) self=connections=70200651589740 checked_out=70200651589740 with_map= +2012-12-04 15:46:03.890765 T [36682:70200649276120] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- ""2/services/RubySkynet.Service/1/Test/localhost/2100*{"Config":{"UUID":"localhost:2100-36682-RubySkynet::Service-70200653668560","Name":"RubySkynet.Service","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"localhost","Port":2100,"MaxPort":3099}},"Registered":true}H +2012-12-04 15:46:03.891423 D [36682:70200649276120] (0.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 294 bytes +2012-12-04 15:46:03.895856 T [36682:70200649276120] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-04 15:46:03.895915 D [36682:70200649276120] (4.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-04 15:46:03.897865 T [36682:70200649276120] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\x89\x12" +2012-12-04 15:46:03.897905 D [36682:70200649276120] (1.8ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-04 15:46:03.898087 D [36682:70200649276120] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fb1b9cd50d8>(70200651589740) self=connections=70200651589740 checked_out= with_map= +2012-12-04 15:46:03.902326 D [36682:70200649276120] [50be610b6b69338f4a000001] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fb1b9cd50d8>(70200651589740) self=connections=70200651589740 checked_out=70200651589740 with_map= +2012-12-04 15:46:03.902591 T [36682:70200649276120] [50be610b6b69338f4a000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  +2012-12-04 15:46:03.903056 D [36682:70200649276120] [50be610b6b69338f4a000001] (0.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 8 bytes +2012-12-04 15:46:03.903294 T [36682:70200649276120] [50be610b6b69338f4a000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-04 15:46:03.903305 D [36682:70200649276120] [50be610b6b69338f4a000001] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-04 15:46:03.903644 T [36682:70200649276120] [50be610b6b69338f4a000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\x89\x12" +2012-12-04 15:46:03.903655 D [36682:70200649276120] [50be610b6b69338f4a000001] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-04 15:46:03.903968 T [36682:70200649276120] [50be610b6b69338f4a000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H +2012-12-04 15:46:03.904012 D [36682:70200649276120] [50be610b6b69338f4a000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-04 15:46:03.904389 T [36682:70200649276120] [50be610b6b69338f4a000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01(" +2012-12-04 15:46:03.904423 D [36682:70200649276120] [50be610b6b69338f4a000001] (0.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-04 15:46:03.904507 T [36682:70200649276120] [50be610b6b69338f4a000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xA2\t*9/services/RubySkynet.Service/1/Development/localhost/21002\xE3\x01{\"Config\":{\"UUID\":\"localhost:2100-36005-RubySkynet::Service-70299094646300\",\"Name\":\"RubySkynet.Service\",\"Version\":\"1\",\"Region\":\"Development\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-04 15:46:03.904513 D [36682:70200649276120] [50be610b6b69338f4a000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 296 bytes +2012-12-04 15:46:03.904811 T [36682:70200649276120] [50be610b6b69338f4a000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H +2012-12-04 15:46:03.905218 D [36682:70200649276120] [50be610b6b69338f4a000001] (0.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-04 15:46:03.905690 T [36682:70200649276120] [50be610b6b69338f4a000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01\x1A" +2012-12-04 15:46:03.905703 D [36682:70200649276120] [50be610b6b69338f4a000001] (0.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-04 15:46:03.905963 T [36682:70200649276120] [50be610b6b69338f4a000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\x89\x12*2/services/RubySkynet.Service/1/Test/localhost/21002\xDC\x01{\"Config\":{\"UUID\":\"localhost:2100-36682-RubySkynet::Service-70200653668560\",\"Name\":\"RubySkynet.Service\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-04 15:46:03.905973 D [36682:70200649276120] [50be610b6b69338f4a000001] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 282 bytes +2012-12-04 15:46:03.906299 T [36682:70200649276120] [50be610b6b69338f4a000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H +2012-12-04 15:46:03.906341 D [36682:70200649276120] [50be610b6b69338f4a000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-04 15:46:03.906867 T [36682:70200649276120] [50be610b6b69338f4a000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-04 15:46:03.906902 D [36682:70200649276120] [50be610b6b69338f4a000001] (0.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-04 15:46:03.907224 T [36682:70200649276120] [50be610b6b69338f4a000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\xA0\x06\b" +2012-12-04 15:46:03.907268 D [36682:70200649276120] [50be610b6b69338f4a000001] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-04 15:46:03.907472 D [36682:70200649276120] [50be610b6b69338f4a000001] RubySkynet::Registry -- #start_monitoring Add Service: RubySkynet.Service/1/Development => localhost:2100 +2012-12-04 15:46:03.907523 D [36682:70200649276120] [50be610b6b69338f4a000001] RubySkynet::Registry -- #start_monitoring Add Service: RubySkynet.Service/1/Test => localhost:2100 +2012-12-04 15:46:03.907561 D [36682:70200649276120] [50be610b6b69338f4a000001] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fb1b9cd50d8>(70200651589740) self=connections=70200651589740 checked_out= with_map= +2012-12-04 15:46:03.908648 I [36682:70200653582000] RubySkynet::Registry -- Start monitoring /services/*/*/*/*/* +2012-12-04 15:46:03.908797 T [36682:70200653582000] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007fb1b9a52ef0@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-04 15:46:03.909763 T [36682:70200653582000] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-04 15:46:03.909837 D [36682:70200653582000] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-04 15:46:03.911534 D [36682:70200649217080] RubySkynet::Server -- Waiting for a client to connect +2012-12-04 15:46:03.911642 D [36682:70200649217080] RubySkynet::Server -- Client connected, waiting for data from client +2012-12-04 15:46:03.914486 D [36682:70200649276120] [50be610b6b69338f4a000001] RubySkynet::Connection: localhost:2100 -- Waiting for Service Handshake +2012-12-04 15:46:03.914667 T [36682:70200649276120] [50be610b6b69338f4a000001] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "9\x00\x00\x00" +2012-12-04 15:46:03.914698 D [36682:70200649276120] [50be610b6b69338f4a000001] (0.2ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 4 bytes +2012-12-04 15:46:03.914792 T [36682:70200649276120] [50be610b6b69338f4a000001] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "\bregistered\x00\x01\x02clientid\x00\x19\x00\x00\x0050be610b6b69338f4a000002\x00\x00" +2012-12-04 15:46:03.914799 D [36682:70200649276120] [50be610b6b69338f4a000001] (0.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 53 bytes +2012-12-04 15:46:03.914857 T [36682:70200649276120] [50be610b6b69338f4a000001] RubySkynet::Connection: localhost:2100 -- Service Handshake -- {"registered"=>true, "clientid"=>"50be610b6b69338f4a000002"} +2012-12-04 15:46:03.914869 D [36682:70200649276120] [50be610b6b69338f4a000001] RubySkynet::Connection: localhost:2100 -- Sending Client Handshake +2012-12-04 15:46:03.914875 T [36682:70200649276120] [50be610b6b69338f4a000001] RubySkynet::Connection: localhost:2100 -- Client Handshake -- {"clientid"=>"50be610b6b69338f4a000002"} +2012-12-04 15:46:03.914898 T [36682:70200649276120] [50be610b6b69338f4a000001] ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sending -- ,clientid50be610b6b69338f4a000002 +2012-12-04 15:46:03.915370 D [36682:70200649276120] [50be610b6b69338f4a000001] (0.5ms) ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sent 44 bytes +2012-12-04 15:46:03.915440 D [36682:70200649276120] [50be610b6b69338f4a000001] RubySkynet::Connection: localhost:2100 -- Sending Header +2012-12-04 15:46:03.915450 T [36682:70200649276120] [50be610b6b69338f4a000001] RubySkynet::Connection: localhost:2100 -- Header -- {"servicemethod"=>"RubySkynet.Service.Forward", "seq"=>0} +2012-12-04 15:46:03.915472 T [36682:70200649276120] [50be610b6b69338f4a000001] ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sending -- <servicemethodRubySkynet.Service.Forwardseq +2012-12-04 15:46:03.915518 D [36682:70200649276120] [50be610b6b69338f4a000001] (0.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sent 60 bytes +2012-12-04 15:46:03.915552 D [36682:70200649276120] [50be610b6b69338f4a000001] RubySkynet::Connection: localhost:2100 -- Sending Request +2012-12-04 15:46:03.915559 T [36682:70200649276120] [50be610b6b69338f4a000001] RubySkynet::Connection: localhost:2100 -- Request -- {"clientid"=>"50be610b6b69338f4a000002", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"echo", "requestinfo"=>{"requestid"=>"50be610b6b69338f4a000001", "retrycount"=>0, "originaddress"=>""}} +2012-12-04 15:46:03.915565 T [36682:70200649276120] [50be610b6b69338f4a000001] RubySkynet::Connection: localhost:2100 -- Parameters: -- {"some"=>"parameters"} +2012-12-04 15:46:03.915582 T [36682:70200649276120] [50be610b6b69338f4a000001] ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sending -- clientid50be610b6b69338f4a000002insome parametersmethodechorequestinfoQrequestid50be610b6b69338f4a000001retrycountoriginaddress +2012-12-04 15:46:03.915623 D [36682:70200649276120] [50be610b6b69338f4a000001] (0.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sent 190 bytes +2012-12-04 15:46:03.915637 D [36682:70200649276120] [50be610b6b69338f4a000001] RubySkynet::Connection: localhost:2100 -- Reading header from server +2012-12-04 15:46:03.917225 D [36682:70200649217080] RubySkynet::Server -- +****************** +2012-12-04 15:46:03.917244 D [36682:70200649217080] RubySkynet::Server -- Received Request +2012-12-04 15:46:03.917395 T [36682:70200649217080] RubySkynet::Server -- Header -- {"servicemethod"=>"RubySkynet.Service.Forward", "seq"=>0} +2012-12-04 15:46:03.917612 T [36682:70200649217080] RubySkynet::Server -- Request -- {"clientid"=>"50be610b6b69338f4a000002", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"echo", "requestinfo"=>{"requestid"=>"50be610b6b69338f4a000001", "retrycount"=>0, "originaddress"=>""}} +2012-12-04 15:46:03.917646 T [36682:70200649217080] RubySkynet::Server -- Method Call: echo with parameters: -- {"some"=>"parameters"} +2012-12-04 15:46:03.917687 D [36682:70200649217080] (0.1ms) RubySkynet::Server -- Called: service#echo -- RuntimeError: Invalid Skynet RPC call, service: service is not available at this server +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/server.rb:89:in `block in on_message' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_debug' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/server.rb:86:in `on_message' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/server.rb:124:in `handle_connection' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/celluloid-0.12.3/lib/celluloid/calls.rb:99:in `dispatch' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/celluloid-0.12.3/lib/celluloid/actor.rb:323:in `block in handle_message' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/celluloid-0.12.3/lib/celluloid/tasks/task_fiber.rb:22:in `block in initialize' +2012-12-04 15:46:03.917869 E [36682:70200649217080] Celluloid -- RubySkynet::Server crashed! +RuntimeError: Invalid Skynet RPC call, service: service is not available at this server +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/server.rb:89:in `block in on_message' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_debug' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/server.rb:86:in `on_message' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/server.rb:124:in `handle_connection' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/celluloid-0.12.3/lib/celluloid/calls.rb:99:in `dispatch' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/celluloid-0.12.3/lib/celluloid/actor.rb:323:in `block in handle_message' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/celluloid-0.12.3/lib/celluloid/tasks/task_fiber.rb:22:in `block in initialize' +2012-12-04 15:46:03.917953 I [36682:70200649217080] RubySkynet::Server -- Skynet Server Stopped +2012-12-04 15:47:03.887783 W [36682:70200649276120] [50be610b6b69338f4a000001] ResilientSocket::TCPClient ["localhost:2100"] -- #read Timeout waiting for server to reply +2012-12-04 15:47:03.887927 D [36682:70200649276120] [50be610b6b69338f4a000001] (59972.3ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 4 bytes -- ResilientSocket::ReadTimeout: Timedout after 60.0 seconds trying to read from localhost:2100 +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:392:in `block in read' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_debug' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:374:in `read' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/common.rb:10:in `read_bson_document' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:178:in `rpc_call' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:65:in `block (3 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/gene_pool-1.3.0/lib/gene_pool.rb:134:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:214:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:64:in `block (2 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_info' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:60:in `block in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:126:in `with_tags' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:59:in `call' +/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_service_test.rb:56:in `block (4 levels) in <class:RubySkynetServiceTest>' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `block in create_test_from_should_hash' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/mocha-0.10.5/lib/mocha/integration/mini_test/version_230_to_262.rb:28:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/testcase.rb:17:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:787:in `block in _run_suite' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `map' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `_run_suite' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:565:in `block in _run_suites' @@ -1240,247 +1630,28 @@ /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:884:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:21:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:326:in `block (2 levels) in autorun' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:27:in `run_once' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:325:in `block in autorun' -2012-10-18 16:25:43.748315 T [1147:70300390817460] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xCA\xD0\x03*+/services/TestService/1/Test/127.0.0.1/20002\xC2\x01{\"Config\":{\"UUID\":\"3978b371-15e9-40f8-9b7b-59ae88d8c7ec\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"127.0.0.1\",\"Port\":2000,\"MaxPort\":2999}},\"Registered\":true}" -2012-10-18 16:25:43.748315 T [1147:70300390817460] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xCA\xD0\x03*+/services/TestService/1/Test/127.0.0.1/20002\xC2\x01{\"Config\":{\"UUID\":\"3978b371-15e9-40f8-9b7b-59ae88d8c7ec\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"127.0.0.1\",\"Port\":2000,\"MaxPort\":2999}},\"Registered\":true}" -- "\b\x00\x10\x04\x18\xCA\xD0\x03*+/services/TestService/1/Test/127.0.0.1/20002\xC2\x01{\"Config\":{\"UUID\":\"3978b371-15e9-40f8-9b7b-59ae88d8c7ec\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"127.0.0.1\",\"Port\":2000,\"MaxPort\":2999}},\"Registered\":true}" -2012-10-18 16:25:43.748337 D [1147:70300390817460] (2.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 250 bytes -2012-10-18 16:25:43.748337 D [1147:70300390817460] (2.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 250 bytes -2012-10-18 16:25:43.748571 D [1147:70300390817460] RubySkynet::Registry -- #monitor Add/Update Service: TestService/1/Test => 127.0.0.1:2000 -2012-10-18 16:25:43.748571 D [1147:70300390817460] RubySkynet::Registry -- #monitor Add/Update Service: TestService/1/Test => 127.0.0.1:2000 -2012-10-18 16:25:43.748586 D [1147:70300390817460] RubySkynet::Registry -- Updated registry -- {"TutorialService/1/Development"=>["127.0.0.1:9000"], "TestService/1/Test"=>["127.0.0.1:2000"]} -2012-10-18 16:25:43.748586 D [1147:70300390817460] RubySkynet::Registry -- Updated registry -- {"TutorialService/1/Development"=>["127.0.0.1:9000"], "TestService/1/Test"=>["127.0.0.1:2000"]} -- {"TutorialService/1/Development"=>["127.0.0.1:9000"], "TestService/1/Test"=>["127.0.0.1:2000"]} -2012-10-18 16:25:43.748855 T [1147:70300390817460] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H -2012-10-18 16:25:43.748855 T [1147:70300390817460] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H -- "/services/*/*/*/*/*H -2012-10-18 16:25:43.748906 D [1147:70300390817460] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 33 bytes -2012-10-18 16:25:43.748906 D [1147:70300390817460] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 33 bytes -2012-10-18 16:25:43.749021 D [1147:70300385630940] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fe02b17a170>(70300386185400) self=connections=70300386185400 checked_out=70300386185400 with_map= -2012-10-18 16:25:43.749021 D [1147:70300385630940] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fe02b17a170>(70300386185400) self=connections=70300386185400 checked_out=70300386185400 with_map= -2012-10-18 16:25:43.749376 T [1147:70300385630940] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- <"+/services/TestService/1/Test/127.0.0.1/2000H -2012-10-18 16:25:43.749376 T [1147:70300385630940] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- <"+/services/TestService/1/Test/127.0.0.1/2000H -- <"+/services/TestService/1/Test/127.0.0.1/2000H -2012-10-18 16:25:43.749454 D [1147:70300385630940] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 64 bytes -2012-10-18 16:25:43.749454 D [1147:70300385630940] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 64 bytes -2012-10-18 16:25:43.754841 T [1147:70300390817460] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x007" -2012-10-18 16:25:43.754841 T [1147:70300390817460] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x007" -- "\x00\x00\x007" -2012-10-18 16:25:43.754869 D [1147:70300390817460] (5.9ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:25:43.754869 D [1147:70300390817460] (5.9ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:25:43.757041 T [1147:70300385630940] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x02" -2012-10-18 16:25:43.757041 T [1147:70300385630940] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x02" -- "\x00\x00\x00\x02" -2012-10-18 16:25:43.757060 D [1147:70300385630940] (7.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:25:43.757060 D [1147:70300385630940] (7.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:25:43.757870 T [1147:70300390817460] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\b\x18\xCB\xD0\x03*+/services/TestService/1/Test/127.0.0.1/20002\x00" -2012-10-18 16:25:43.757870 T [1147:70300390817460] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\b\x18\xCB\xD0\x03*+/services/TestService/1/Test/127.0.0.1/20002\x00" -- "\b\x00\x10\b\x18\xCB\xD0\x03*+/services/TestService/1/Test/127.0.0.1/20002\x00" -2012-10-18 16:25:43.757888 D [1147:70300390817460] (3.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 55 bytes -2012-10-18 16:25:43.757888 D [1147:70300390817460] (3.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 55 bytes -2012-10-18 16:25:43.758861 D [1147:70300390817460] RubySkynet::Registry -- #monitor Service stopped, remove: TestService/1/Test => 127.0.0.1:2000 -2012-10-18 16:25:43.758861 D [1147:70300390817460] RubySkynet::Registry -- #monitor Service stopped, remove: TestService/1/Test => 127.0.0.1:2000 -2012-10-18 16:25:43.758888 D [1147:70300390817460] RubySkynet::Registry -- Updated registry -- {"TutorialService/1/Development"=>["127.0.0.1:9000"]} -2012-10-18 16:25:43.758888 D [1147:70300390817460] RubySkynet::Registry -- Updated registry -- {"TutorialService/1/Development"=>["127.0.0.1:9000"]} -- {"TutorialService/1/Development"=>["127.0.0.1:9000"]} -2012-10-18 16:25:43.759200 T [1147:70300390817460] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H -2012-10-18 16:25:43.759200 T [1147:70300390817460] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H -- "/services/*/*/*/*/*H -2012-10-18 16:25:43.759901 T [1147:70300385630940] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00" -2012-10-18 16:25:43.759901 T [1147:70300385630940] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00" -- "\b\x00" -2012-10-18 16:25:43.759914 D [1147:70300385630940] (2.8ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 2 bytes -2012-10-18 16:25:43.759914 D [1147:70300385630940] (2.8ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 2 bytes -2012-10-18 16:25:43.760167 D [1147:70300385630940] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fe02b17a170>(70300386185400) self=connections=70300386185400 checked_out= with_map= -2012-10-18 16:25:43.760167 D [1147:70300385630940] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fe02b17a170>(70300386185400) self=connections=70300386185400 checked_out= with_map= -2012-10-18 16:26:04.359436 T [1159:70111004416720] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007f87fb84ce68@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -2012-10-18 16:26:04.359436 T [1159:70111004416720] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007f87fb84ce68@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007f87fb84ce68@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -2012-10-18 16:26:04.365038 T [1159:70111004416720] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "/8 -2012-10-18 16:26:04.365038 T [1159:70111004416720] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "/8 -- "/8 -2012-10-18 16:26:04.365105 D [1159:70111004416720] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 13 bytes -2012-10-18 16:26:04.365105 D [1159:70111004416720] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 13 bytes -2012-10-18 16:26:04.365521 T [1159:70111004416720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\a" -2012-10-18 16:26:04.365521 T [1159:70111004416720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\a" -- "\x00\x00\x00\a" -2012-10-18 16:26:04.365534 D [1159:70111004416720] (0.4ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:26:04.365534 D [1159:70111004416720] (0.4ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:26:04.365696 T [1159:70111004416720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00*\x03ctl" -2012-10-18 16:26:04.365696 T [1159:70111004416720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00*\x03ctl" -- "\b\x00*\x03ctl" -2012-10-18 16:26:04.365714 D [1159:70111004416720] (0.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 7 bytes -2012-10-18 16:26:04.365714 D [1159:70111004416720] (0.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 7 bytes -2012-10-18 16:26:04.366045 T [1159:70111004416720] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "/8 -2012-10-18 16:26:04.366045 T [1159:70111004416720] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "/8 -- "/8 -2012-10-18 16:26:04.366091 D [1159:70111004416720] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 13 bytes -2012-10-18 16:26:04.366091 D [1159:70111004416720] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 13 bytes -2012-10-18 16:26:04.366506 T [1159:70111004416720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\f" -2012-10-18 16:26:04.366506 T [1159:70111004416720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\f" -- "\x00\x00\x00\f" -2012-10-18 16:26:04.366519 D [1159:70111004416720] (0.4ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:26:04.366519 D [1159:70111004416720] (0.4ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:26:04.366584 T [1159:70111004416720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00*\bservices" -2012-10-18 16:26:04.366584 T [1159:70111004416720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00*\bservices" -- "\b\x00*\bservices" -2012-10-18 16:26:04.366594 D [1159:70111004416720] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 12 bytes -2012-10-18 16:26:04.366594 D [1159:70111004416720] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 12 bytes -2012-10-18 16:26:04.366826 T [1159:70111004416720] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "/8 -2012-10-18 16:26:04.366826 T [1159:70111004416720] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "/8 -- "/8 -2012-10-18 16:26:04.366870 D [1159:70111004416720] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 13 bytes -2012-10-18 16:26:04.366870 D [1159:70111004416720] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 13 bytes -2012-10-18 16:26:04.367072 T [1159:70111004416720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x0E" -2012-10-18 16:26:04.367072 T [1159:70111004416720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x0E" -- "\x00\x00\x00\x0E" -2012-10-18 16:26:04.367085 D [1159:70111004416720] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:26:04.367085 D [1159:70111004416720] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:26:04.367145 T [1159:70111004416720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00*\nstatistics" -2012-10-18 16:26:04.367145 T [1159:70111004416720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00*\nstatistics" -- "\b\x00*\nstatistics" -2012-10-18 16:26:04.367155 D [1159:70111004416720] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 14 bytes -2012-10-18 16:26:04.367155 D [1159:70111004416720] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 14 bytes -2012-10-18 16:26:04.367364 T [1159:70111004416720] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "/8 -2012-10-18 16:26:04.367364 T [1159:70111004416720] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "/8 -- "/8 -2012-10-18 16:26:04.367654 D [1159:70111004416720] (0.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 13 bytes -2012-10-18 16:26:04.367654 D [1159:70111004416720] (0.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 13 bytes -2012-10-18 16:26:04.367734 T [1159:70111004416720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x05" -2012-10-18 16:26:04.367734 T [1159:70111004416720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x05" -- "\x00\x00\x00\x05" -2012-10-18 16:26:04.367746 D [1159:70111004416720] (0.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:26:04.367746 D [1159:70111004416720] (0.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:26:04.367809 T [1159:70111004416720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\xA0\x06\b" -2012-10-18 16:26:04.367809 T [1159:70111004416720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\xA0\x06\b" -- "\b\x00\xA0\x06\b" -2012-10-18 16:26:04.367819 D [1159:70111004416720] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 5 bytes -2012-10-18 16:26:04.367819 D [1159:70111004416720] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 5 bytes -2012-10-18 16:26:04.369253 T [1159:70111004416720] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/fooH -2012-10-18 16:26:04.369253 T [1159:70111004416720] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/fooH -- " /test/fooH -2012-10-18 16:26:04.369303 D [1159:70111004416720] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 30 bytes -2012-10-18 16:26:04.369303 D [1159:70111004416720] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 30 bytes -2012-10-18 16:26:04.372649 T [1159:70111004416720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x02" -2012-10-18 16:26:04.372649 T [1159:70111004416720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x02" -- "\x00\x00\x00\x02" -2012-10-18 16:26:04.372668 D [1159:70111004416720] (3.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:26:04.372668 D [1159:70111004416720] (3.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:26:04.372740 T [1159:70111004416720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00" -2012-10-18 16:26:04.372740 T [1159:70111004416720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00" -- "\b\x00" -2012-10-18 16:26:04.372750 D [1159:70111004416720] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 2 bytes -2012-10-18 16:26:04.372750 D [1159:70111004416720] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 2 bytes -2012-10-18 16:26:04.373453 T [1159:70111004416720] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007f87fb868c30@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -2012-10-18 16:26:04.373453 T [1159:70111004416720] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007f87fb868c30@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007f87fb868c30@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -2012-10-18 16:26:04.375067 T [1159:70111004416720] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending --  -2012-10-18 16:26:04.375067 T [1159:70111004416720] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending --  --  -2012-10-18 16:26:04.375303 D [1159:70111004416720] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 8 bytes -2012-10-18 16:26:04.375303 D [1159:70111004416720] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 8 bytes -2012-10-18 16:26:04.375524 T [1159:70111004416720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x06" -2012-10-18 16:26:04.375524 T [1159:70111004416720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x06" -- "\x00\x00\x00\x06" -2012-10-18 16:26:04.375546 D [1159:70111004416720] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:26:04.375546 D [1159:70111004416720] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:26:04.375693 T [1159:70111004416720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xE4\xD0\x03" -2012-10-18 16:26:04.375693 T [1159:70111004416720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xE4\xD0\x03" -- "\b\x00\x18\xE4\xD0\x03" -2012-10-18 16:26:04.375705 D [1159:70111004416720] (0.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 6 bytes -2012-10-18 16:26:04.375705 D [1159:70111004416720] (0.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 6 bytes -2012-10-18 16:26:04.376982 T [1159:70111004416720] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/fooH -2012-10-18 16:26:04.376982 T [1159:70111004416720] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/fooH -- " /test/fooH -2012-10-18 16:26:04.377056 D [1159:70111004416720] (0.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 30 bytes -2012-10-18 16:26:04.377056 D [1159:70111004416720] (0.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 30 bytes -2012-10-18 16:26:04.380358 T [1159:70111004416720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x02" -2012-10-18 16:26:04.380358 T [1159:70111004416720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x02" -- "\x00\x00\x00\x02" -2012-10-18 16:26:04.380382 D [1159:70111004416720] (3.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:26:04.380382 D [1159:70111004416720] (3.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:26:04.380460 T [1159:70111004416720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00" -2012-10-18 16:26:04.380460 T [1159:70111004416720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00" -- "\b\x00" -2012-10-18 16:26:04.380470 D [1159:70111004416720] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 2 bytes -2012-10-18 16:26:04.380470 D [1159:70111004416720] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 2 bytes -2012-10-18 16:26:04.380806 T [1159:70111004416720] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007f87fb887f18@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -2012-10-18 16:26:04.380806 T [1159:70111004416720] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007f87fb887f18@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007f87fb887f18@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -2012-10-18 16:26:04.383174 T [1159:70111004416720] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "" /test/foo*value2H -2012-10-18 16:26:04.383174 T [1159:70111004416720] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "" /test/foo*value2H -- "" /test/foo*value2H -2012-10-18 16:26:04.383430 D [1159:70111004416720] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 38 bytes -2012-10-18 16:26:04.383430 D [1159:70111004416720] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 38 bytes -2012-10-18 16:26:04.384833 T [1159:70111004416720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x06" -2012-10-18 16:26:04.384833 T [1159:70111004416720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x06" -- "\x00\x00\x00\x06" -2012-10-18 16:26:04.384866 D [1159:70111004416720] (1.4ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:26:04.384866 D [1159:70111004416720] (1.4ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:26:04.385765 T [1159:70111004416720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xE6\xD0\x03" -2012-10-18 16:26:04.385765 T [1159:70111004416720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xE6\xD0\x03" -- "\b\x00\x18\xE6\xD0\x03" -2012-10-18 16:26:04.385782 D [1159:70111004416720] (0.9ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 6 bytes -2012-10-18 16:26:04.385782 D [1159:70111004416720] (0.9ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 6 bytes -2012-10-18 16:26:04.386124 T [1159:70111004416720] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/foo -2012-10-18 16:26:04.386124 T [1159:70111004416720] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/foo -- " /test/foo -2012-10-18 16:26:04.386201 D [1159:70111004416720] (0.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 19 bytes -2012-10-18 16:26:04.386201 D [1159:70111004416720] (0.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 19 bytes -2012-10-18 16:26:04.387132 T [1159:70111004416720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x0E" -2012-10-18 16:26:04.387132 T [1159:70111004416720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x0E" -- "\x00\x00\x00\x0E" -2012-10-18 16:26:04.387160 D [1159:70111004416720] (0.9ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:26:04.387160 D [1159:70111004416720] (0.9ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:26:04.387243 T [1159:70111004416720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xE6\xD0\x032\x06value2" -2012-10-18 16:26:04.387243 T [1159:70111004416720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xE6\xD0\x032\x06value2" -- "\b\x00\x18\xE6\xD0\x032\x06value2" -2012-10-18 16:26:04.387253 D [1159:70111004416720] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 14 bytes -2012-10-18 16:26:04.387253 D [1159:70111004416720] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 14 bytes -2012-10-18 16:26:04.394315 T [1159:70111004416720] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/fooH -2012-10-18 16:26:04.394315 T [1159:70111004416720] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/fooH -- " /test/fooH -2012-10-18 16:26:04.394374 D [1159:70111004416720] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 30 bytes -2012-10-18 16:26:04.394374 D [1159:70111004416720] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 30 bytes -2012-10-18 16:26:04.396345 T [1159:70111004416720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x02" -2012-10-18 16:26:04.396345 T [1159:70111004416720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x02" -- "\x00\x00\x00\x02" -2012-10-18 16:26:04.396362 D [1159:70111004416720] (2.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:26:04.396362 D [1159:70111004416720] (2.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:26:04.399151 T [1159:70111004416720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00" -2012-10-18 16:26:04.399151 T [1159:70111004416720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00" -- "\b\x00" -2012-10-18 16:26:04.399173 D [1159:70111004416720] (2.8ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 2 bytes -2012-10-18 16:26:04.399173 D [1159:70111004416720] (2.8ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 2 bytes -2012-10-18 16:26:04.399406 T [1159:70111004416720] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007f87fb040210@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -2012-10-18 16:26:04.399406 T [1159:70111004416720] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007f87fb040210@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007f87fb040210@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -2012-10-18 16:26:04.401165 T [1159:70111004416720] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- !" /test/foo*valueH -2012-10-18 16:26:04.401165 T [1159:70111004416720] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- !" /test/foo*valueH -- !" /test/foo*valueH -2012-10-18 16:26:04.401249 D [1159:70111004416720] (0.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 37 bytes -2012-10-18 16:26:04.401249 D [1159:70111004416720] (0.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 37 bytes -2012-10-18 16:26:04.406964 T [1159:70111004416720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x06" -2012-10-18 16:26:04.406964 T [1159:70111004416720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x06" -- "\x00\x00\x00\x06" -2012-10-18 16:26:04.406996 D [1159:70111004416720] (5.7ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:26:04.406996 D [1159:70111004416720] (5.7ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:26:04.407087 T [1159:70111004416720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xE9\xD0\x03" -2012-10-18 16:26:04.407087 T [1159:70111004416720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xE9\xD0\x03" -- "\b\x00\x18\xE9\xD0\x03" -2012-10-18 16:26:04.407098 D [1159:70111004416720] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 6 bytes -2012-10-18 16:26:04.407098 D [1159:70111004416720] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 6 bytes -2012-10-18 16:26:04.407376 T [1159:70111004416720] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/foo -2012-10-18 16:26:04.407376 T [1159:70111004416720] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/foo -- " /test/foo -2012-10-18 16:26:04.407452 D [1159:70111004416720] (0.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 19 bytes -2012-10-18 16:26:04.407452 D [1159:70111004416720] (0.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 19 bytes -2012-10-18 16:26:04.411010 T [1159:70111004416720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\r" -2012-10-18 16:26:04.411010 T [1159:70111004416720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\r" -- "\x00\x00\x00\r" -2012-10-18 16:26:04.411041 D [1159:70111004416720] (3.6ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:26:04.411041 D [1159:70111004416720] (3.6ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:26:04.411140 T [1159:70111004416720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xE9\xD0\x032\x05value" -2012-10-18 16:26:04.411140 T [1159:70111004416720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xE9\xD0\x032\x05value" -- "\b\x00\x18\xE9\xD0\x032\x05value" -2012-10-18 16:26:04.411151 D [1159:70111004416720] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 13 bytes -2012-10-18 16:26:04.411151 D [1159:70111004416720] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 13 bytes -2012-10-18 16:26:04.412525 T [1159:70111004416720] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/fooH -2012-10-18 16:26:04.412525 T [1159:70111004416720] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/fooH -- " /test/fooH -2012-10-18 16:26:04.412885 D [1159:70111004416720] (0.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 30 bytes -2012-10-18 16:26:04.412885 D [1159:70111004416720] (0.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 30 bytes -2012-10-18 16:26:04.416796 T [1159:70111004416720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x02" -2012-10-18 16:26:04.416796 T [1159:70111004416720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x02" -- "\x00\x00\x00\x02" -2012-10-18 16:26:04.416821 D [1159:70111004416720] (3.9ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:26:04.416821 D [1159:70111004416720] (3.9ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:26:04.416895 T [1159:70111004416720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00" -2012-10-18 16:26:04.416895 T [1159:70111004416720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00" -- "\b\x00" -2012-10-18 16:26:04.416906 D [1159:70111004416720] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 2 bytes -2012-10-18 16:26:04.416906 D [1159:70111004416720] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 2 bytes -2012-10-18 16:26:04.417110 T [1159:70111004416720] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:9999", :connect_retry_interval=>0.1, :connect_retry_count=>5, :read_timeout=>5, :connect_timeout=>3, :buffered=>false, :on_connect=>#<Proc:0x007f87fb1a0268@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -2012-10-18 16:26:04.417110 T [1159:70111004416720] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:9999", :connect_retry_interval=>0.1, :connect_retry_count=>5, :read_timeout=>5, :connect_timeout=>3, :buffered=>false, :on_connect=>#<Proc:0x007f87fb1a0268@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -- {:server=>"localhost:9999", :connect_retry_interval=>0.1, :connect_retry_count=>5, :read_timeout=>5, :connect_timeout=>3, :buffered=>false, :on_connect=>#<Proc:0x007f87fb1a0268@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -2012-10-18 16:26:04.418242 W [1159:70111004416720] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 1 -2012-10-18 16:26:04.418242 W [1159:70111004416720] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 1 -2012-10-18 16:26:04.519454 W [1159:70111004416720] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 2 -2012-10-18 16:26:04.519454 W [1159:70111004416720] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 2 -2012-10-18 16:26:04.619953 W [1159:70111004416720] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 3 -2012-10-18 16:26:04.619953 W [1159:70111004416720] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 3 -2012-10-18 16:26:04.720820 W [1159:70111004416720] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 4 -2012-10-18 16:26:04.720820 W [1159:70111004416720] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 4 -2012-10-18 16:26:04.821579 W [1159:70111004416720] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 5 -2012-10-18 16:26:04.821579 W [1159:70111004416720] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 5 -2012-10-18 16:26:04.922771 E [1159:70111004416720] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Giving up after 5 retries -2012-10-18 16:26:04.922771 E [1159:70111004416720] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Giving up after 5 retries -2012-10-18 16:26:04.922885 I [1159:70111004416720] (505.7ms) ResilientSocket::TCPClient ["localhost:9999"] -- Connecting to server localhost:9999 -- ResilientSocket::ConnectionFailure: After 5 connection attempts to host 'localhost:9999': Errno::ECONNREFUSED: Connection refused - connect(2) -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:570:in `rescue in block in connect_to_server' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:548:in `block in connect_to_server' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.7.0/lib/semantic_logger/base.rb:181:in `benchmark_info' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:541:in `connect_to_server' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:304:in `connect' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:232:in `initialize' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:36:in `new' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:36:in `initialize' -/Users/rmorrison/Sandbox/ruby_skynet/test/doozer_client_test.rb:22:in `new' -/Users/rmorrison/Sandbox/ruby_skynet/test/doozer_client_test.rb:22:in `block (4 levels) in <class:DoozerClientTest>' -/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:330:in `assert_raises' -/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/assertions.rb:69:in `assert_raise' -/Users/rmorrison/Sandbox/ruby_skynet/test/doozer_client_test.rb:21:in `block (3 levels) in <class:DoozerClientTest>' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.0/lib/shoulda/context/context.rb:398:in `call' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.0/lib/shoulda/context/context.rb:398:in `block in create_test_from_should_hash' -/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:949:in `run' +2012-12-04 15:47:03.887982 I [36682:70200649276120] [50be610b6b69338f4a000001] (59987.7ms) RubySkynet::Client: RubySkynet.Service/1/Test -- Called Skynet Service: RubySkynet.Service.echo -- ResilientSocket::ReadTimeout: Timedout after 60.0 seconds trying to read from localhost:2100 +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:392:in `block in read' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_debug' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:374:in `read' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/common.rb:10:in `read_bson_document' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:178:in `rpc_call' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:65:in `block (3 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/gene_pool-1.3.0/lib/gene_pool.rb:134:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:214:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:64:in `block (2 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_info' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:60:in `block in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:126:in `with_tags' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:59:in `call' +/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_service_test.rb:56:in `block (4 levels) in <class:RubySkynetServiceTest>' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `block in create_test_from_should_hash' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/mocha-0.10.5/lib/mocha/integration/mini_test/version_230_to_262.rb:28:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/testcase.rb:17:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:787:in `block in _run_suite' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `map' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `_run_suite' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:565:in `block in _run_suites' @@ -1494,27 +1665,136 @@ /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:884:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:21:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:326:in `block (2 levels) in autorun' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:27:in `run_once' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:325:in `block in autorun' -2012-10-18 16:26:04.922885 I [1159:70111004416720] (505.7ms) ResilientSocket::TCPClient ["localhost:9999"] -- Connecting to server localhost:9999 -- ResilientSocket::ConnectionFailure: After 5 connection attempts to host 'localhost:9999': Errno::ECONNREFUSED: Connection refused - connect(2) -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:570:in `rescue in block in connect_to_server' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:548:in `block in connect_to_server' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.7.0/lib/semantic_logger/base.rb:181:in `benchmark_info' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:541:in `connect_to_server' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:304:in `connect' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:232:in `initialize' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:36:in `new' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:36:in `initialize' -/Users/rmorrison/Sandbox/ruby_skynet/test/doozer_client_test.rb:22:in `new' -/Users/rmorrison/Sandbox/ruby_skynet/test/doozer_client_test.rb:22:in `block (4 levels) in <class:DoozerClientTest>' -/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:330:in `assert_raises' -/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/assertions.rb:69:in `assert_raise' -/Users/rmorrison/Sandbox/ruby_skynet/test/doozer_client_test.rb:21:in `block (3 levels) in <class:DoozerClientTest>' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.0/lib/shoulda/context/context.rb:398:in `call' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.0/lib/shoulda/context/context.rb:398:in `block in create_test_from_should_hash' -/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:949:in `run' +2012-12-04 15:47:03.889815 I [36682:70200649217080] RubySkynet::Server -- Starting listener on localhost:2100 +2012-12-04 15:47:03.889840 D [36682:70200649217080] RubySkynet::Server -- Waiting for a client to connect +2012-12-04 15:47:03.890372 I [36682:70200649217080] RubySkynet::Server -- Skynet Server Stopped +2012-12-04 15:47:03.892860 I [36682:70200649217080] RubySkynet::Server -- Starting listener on localhost:2100 +2012-12-04 15:47:03.892882 D [36682:70200649217080] RubySkynet::Server -- Waiting for a client to connect +2012-12-04 15:47:03.893301 D [36682:70200649276120] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fb1b9cd50d8>(70200651589740) self=connections=70200651589740 checked_out=70200651589740 with_map= +2012-12-04 15:47:03.893644 T [36682:70200649276120] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- 8"2/services/RubySkynet.Service/1/Test/localhost/2100 +2012-12-04 15:47:03.893780 D [36682:70200649276120] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 60 bytes +2012-12-04 15:47:03.894223 T [36682:70200649276120] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\xE4" +2012-12-04 15:47:03.894236 D [36682:70200649276120] (0.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-04 15:47:03.894381 T [36682:70200649276120] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\x89\x122\xDC\x01{\"Config\":{\"UUID\":\"localhost:2100-36682-RubySkynet::Service-70200653668560\",\"Name\":\"RubySkynet.Service\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-04 15:47:03.894387 D [36682:70200649276120] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 228 bytes +2012-12-04 15:47:03.894559 D [36682:70200649276120] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fb1b9cd50d8>(70200651589740) self=connections=70200651589740 checked_out= with_map= +2012-12-04 15:47:03.895050 I [36682:70200649217080] RubySkynet::Server -- Skynet Server Stopped +2012-12-04 15:47:03.896788 I [36682:70200649276120] Celluloid -- Terminating 4 actors... +2012-12-04 15:50:10.787357 I [36774:70144424571700] RubySkynet::Server -- Starting listener on localhost:2100 +2012-12-04 15:50:10.787390 D [36774:70144424571700] RubySkynet::Server -- Waiting for a client to connect +2012-12-04 15:50:10.796264 D [36774:70144424631000] RubySkynet::Registry -- Doozer Connection Pool: Created connection #1 #<Thread:0x007f978b06b5b0>(70144424631000) for Doozer Connection Pool +2012-12-04 15:50:10.826541 T [36774:70144424631000] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007f978b4be1f8@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-04 15:50:10.830460 D [36774:70144424631000] RubySkynet::Registry -- Doozer Connection Pool: Renewed connection old=70144424631000 new=#<RubySkynet::Doozer::Client:0x007f978b4be310>(70144426897800) +2012-12-04 15:50:10.830584 D [36774:70144424631000] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f978b4be310>(70144426897800) self=connections=70144426897800 checked_out=70144426897800 with_map= +2012-12-04 15:50:10.863775 T [36774:70144424631000] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- ""2/services/RubySkynet.Service/1/Test/localhost/2100*{"Config":{"UUID":"localhost:2100-36774-RubySkynet::Service-70144425266120","Name":"RubySkynet.Service","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"localhost","Port":2100,"MaxPort":3099}},"Registered":true}H +2012-12-04 15:50:10.864007 D [36774:70144424631000] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 294 bytes +2012-12-04 15:50:10.865773 T [36774:70144424631000] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-04 15:50:10.865936 D [36774:70144424631000] (1.8ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-04 15:50:10.867232 T [36774:70144424631000] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\x81\x14" +2012-12-04 15:50:10.867275 D [36774:70144424631000] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-04 15:50:10.867446 D [36774:70144424631000] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007f978b4be310>(70144426897800) self=connections=70144426897800 checked_out= with_map= +2012-12-04 15:50:10.874954 D [36774:70144424631000] [50be62026b69338fa6000001] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f978b4be310>(70144426897800) self=connections=70144426897800 checked_out=70144426897800 with_map= +2012-12-04 15:50:10.878437 T [36774:70144424631000] [50be62026b69338fa6000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  +2012-12-04 15:50:10.878693 D [36774:70144424631000] [50be62026b69338fa6000001] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 8 bytes +2012-12-04 15:50:10.878999 T [36774:70144424631000] [50be62026b69338fa6000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-04 15:50:10.879011 D [36774:70144424631000] [50be62026b69338fa6000001] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-04 15:50:10.879088 T [36774:70144424631000] [50be62026b69338fa6000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\x81\x14" +2012-12-04 15:50:10.879094 D [36774:70144424631000] [50be62026b69338fa6000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-04 15:50:10.879394 T [36774:70144424631000] [50be62026b69338fa6000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H +2012-12-04 15:50:10.879439 D [36774:70144424631000] [50be62026b69338fa6000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-04 15:50:10.880216 T [36774:70144424631000] [50be62026b69338fa6000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01(" +2012-12-04 15:50:10.880229 D [36774:70144424631000] [50be62026b69338fa6000001] (0.8ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-04 15:50:10.880509 T [36774:70144424631000] [50be62026b69338fa6000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xA2\t*9/services/RubySkynet.Service/1/Development/localhost/21002\xE3\x01{\"Config\":{\"UUID\":\"localhost:2100-36005-RubySkynet::Service-70299094646300\",\"Name\":\"RubySkynet.Service\",\"Version\":\"1\",\"Region\":\"Development\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-04 15:50:10.880520 D [36774:70144424631000] [50be62026b69338fa6000001] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 296 bytes +2012-12-04 15:50:10.880816 T [36774:70144424631000] [50be62026b69338fa6000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H +2012-12-04 15:50:10.880858 D [36774:70144424631000] [50be62026b69338fa6000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-04 15:50:10.881747 T [36774:70144424631000] [50be62026b69338fa6000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01\x1A" +2012-12-04 15:50:10.881777 D [36774:70144424631000] [50be62026b69338fa6000001] (0.9ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-04 15:50:10.882047 T [36774:70144424631000] [50be62026b69338fa6000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\x81\x14*2/services/RubySkynet.Service/1/Test/localhost/21002\xDC\x01{\"Config\":{\"UUID\":\"localhost:2100-36774-RubySkynet::Service-70144425266120\",\"Name\":\"RubySkynet.Service\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-04 15:50:10.882058 D [36774:70144424631000] [50be62026b69338fa6000001] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 282 bytes +2012-12-04 15:50:10.882333 T [36774:70144424631000] [50be62026b69338fa6000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H +2012-12-04 15:50:10.882375 D [36774:70144424631000] [50be62026b69338fa6000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-04 15:50:10.882823 T [36774:70144424631000] [50be62026b69338fa6000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-04 15:50:10.882834 D [36774:70144424631000] [50be62026b69338fa6000001] (0.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-04 15:50:10.882893 T [36774:70144424631000] [50be62026b69338fa6000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\xA0\x06\b" +2012-12-04 15:50:10.882899 D [36774:70144424631000] [50be62026b69338fa6000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-04 15:50:10.883101 D [36774:70144424631000] [50be62026b69338fa6000001] RubySkynet::Registry -- #start_monitoring Add Service: RubySkynet.Service/1/Development => localhost:2100 +2012-12-04 15:50:10.883155 D [36774:70144424631000] [50be62026b69338fa6000001] RubySkynet::Registry -- #start_monitoring Add Service: RubySkynet.Service/1/Test => localhost:2100 +2012-12-04 15:50:10.883197 D [36774:70144424631000] [50be62026b69338fa6000001] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007f978b4be310>(70144426897800) self=connections=70144426897800 checked_out= with_map= +2012-12-04 15:50:10.884166 I [36774:70144433100500] RubySkynet::Registry -- Start monitoring /services/*/*/*/*/* +2012-12-04 15:50:10.884216 T [36774:70144433100500] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007f978c097808@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-04 15:50:10.886088 T [36774:70144433100500] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-04 15:50:10.886191 D [36774:70144433100500] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-04 15:50:10.893709 D [36774:70144424631000] [50be62026b69338fa6000001] RubySkynet::Connection: localhost:2100 -- Waiting for Service Handshake +2012-12-04 15:50:10.894842 D [36774:70144424571700] RubySkynet::Server -- Waiting for a client to connect +2012-12-04 15:50:10.894948 D [36774:70144424571700] RubySkynet::Server -- Client connected, waiting for data from client +2012-12-04 15:50:10.895589 T [36774:70144424631000] [50be62026b69338fa6000001] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "9\x00\x00\x00" +2012-12-04 15:50:10.895602 D [36774:70144424631000] [50be62026b69338fa6000001] (1.2ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 4 bytes +2012-12-04 15:50:10.895662 T [36774:70144424631000] [50be62026b69338fa6000001] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "\bregistered\x00\x01\x02clientid\x00\x19\x00\x00\x0050be62026b69338fa6000002\x00\x00" +2012-12-04 15:50:10.895669 D [36774:70144424631000] [50be62026b69338fa6000001] (0.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 53 bytes +2012-12-04 15:50:10.895717 T [36774:70144424631000] [50be62026b69338fa6000001] RubySkynet::Connection: localhost:2100 -- Service Handshake -- {"registered"=>true, "clientid"=>"50be62026b69338fa6000002"} +2012-12-04 15:50:10.895730 D [36774:70144424631000] [50be62026b69338fa6000001] RubySkynet::Connection: localhost:2100 -- Sending Client Handshake +2012-12-04 15:50:10.895736 T [36774:70144424631000] [50be62026b69338fa6000001] RubySkynet::Connection: localhost:2100 -- Client Handshake -- {"clientid"=>"50be62026b69338fa6000002"} +2012-12-04 15:50:10.895907 T [36774:70144424631000] [50be62026b69338fa6000001] ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sending -- ,clientid50be62026b69338fa6000002 +2012-12-04 15:50:10.896789 D [36774:70144424631000] [50be62026b69338fa6000001] (0.9ms) ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sent 44 bytes +2012-12-04 15:50:10.896863 D [36774:70144424631000] [50be62026b69338fa6000001] RubySkynet::Connection: localhost:2100 -- Sending Header +2012-12-04 15:50:10.896873 T [36774:70144424631000] [50be62026b69338fa6000001] RubySkynet::Connection: localhost:2100 -- Header -- {"servicemethod"=>"RubySkynet.Service.Forward", "seq"=>0} +2012-12-04 15:50:10.896896 T [36774:70144424631000] [50be62026b69338fa6000001] ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sending -- <servicemethodRubySkynet.Service.Forwardseq +2012-12-04 15:50:10.897008 D [36774:70144424631000] [50be62026b69338fa6000001] (0.1ms) ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sent 60 bytes +2012-12-04 15:50:10.897044 D [36774:70144424631000] [50be62026b69338fa6000001] RubySkynet::Connection: localhost:2100 -- Sending Request +2012-12-04 15:50:10.897051 T [36774:70144424631000] [50be62026b69338fa6000001] RubySkynet::Connection: localhost:2100 -- Request -- {"clientid"=>"50be62026b69338fa6000002", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"echo", "requestinfo"=>{"requestid"=>"50be62026b69338fa6000001", "retrycount"=>0, "originaddress"=>""}} +2012-12-04 15:50:10.897057 T [36774:70144424631000] [50be62026b69338fa6000001] RubySkynet::Connection: localhost:2100 -- Parameters: -- {"some"=>"parameters"} +2012-12-04 15:50:10.897074 T [36774:70144424631000] [50be62026b69338fa6000001] ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sending -- clientid50be62026b69338fa6000002insome parametersmethodechorequestinfoQrequestid50be62026b69338fa6000001retrycountoriginaddress +2012-12-04 15:50:10.897240 D [36774:70144424571700] RubySkynet::Server -- +****************** +2012-12-04 15:50:10.897252 D [36774:70144424571700] RubySkynet::Server -- Received Request +2012-12-04 15:50:10.897262 T [36774:70144424571700] RubySkynet::Server -- Header -- {"servicemethod"=>"RubySkynet.Service.Forward", "seq"=>0} +2012-12-04 15:50:10.898370 T [36774:70144424571700] RubySkynet::Server -- Request -- {"clientid"=>"50be62026b69338fa6000002", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"echo", "requestinfo"=>{"requestid"=>"50be62026b69338fa6000001", "retrycount"=>0, "originaddress"=>""}} +2012-12-04 15:50:10.898409 T [36774:70144424571700] RubySkynet::Server -- Parameters -- {"some"=>"parameters"} +2012-12-04 15:50:10.898431 T [36774:70144424571700] RubySkynet::Server -- Method Call: echo with parameters: -- {"some"=>"parameters"} +2012-12-04 15:50:10.898470 D [36774:70144424571700] (0.0ms) RubySkynet::Server -- Called: service#echo -- RuntimeError: Invalid Skynet RPC call, service: service is not available at this server +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/server.rb:89:in `block in on_message' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_debug' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/server.rb:86:in `on_message' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/server.rb:126:in `handle_connection' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/celluloid-0.12.3/lib/celluloid/calls.rb:99:in `dispatch' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/celluloid-0.12.3/lib/celluloid/actor.rb:323:in `block in handle_message' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/celluloid-0.12.3/lib/celluloid/tasks/task_fiber.rb:22:in `block in initialize' +2012-12-04 15:50:10.898536 E [36774:70144424571700] Celluloid -- RubySkynet::Server crashed! +RuntimeError: Invalid Skynet RPC call, service: service is not available at this server +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/server.rb:89:in `block in on_message' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_debug' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/server.rb:86:in `on_message' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/server.rb:126:in `handle_connection' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/celluloid-0.12.3/lib/celluloid/calls.rb:99:in `dispatch' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/celluloid-0.12.3/lib/celluloid/actor.rb:323:in `block in handle_message' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/celluloid-0.12.3/lib/celluloid/tasks/task_fiber.rb:22:in `block in initialize' +2012-12-04 15:50:10.898591 I [36774:70144424571700] RubySkynet::Server -- Skynet Server Stopped +2012-12-04 15:50:10.899761 D [36774:70144424631000] [50be62026b69338fa6000001] (2.7ms) ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sent 190 bytes +2012-12-04 15:50:10.899787 D [36774:70144424631000] [50be62026b69338fa6000001] RubySkynet::Connection: localhost:2100 -- Reading header from server +2012-12-04 15:51:10.870466 W [36774:70144424631000] [50be62026b69338fa6000001] ResilientSocket::TCPClient ["localhost:2100"] -- #read Timeout waiting for server to reply +2012-12-04 15:51:10.870654 D [36774:70144424631000] [50be62026b69338fa6000001] (59970.9ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 4 bytes -- ResilientSocket::ReadTimeout: Timedout after 60.0 seconds trying to read from localhost:2100 +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:392:in `block in read' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_debug' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:374:in `read' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/common.rb:10:in `read_bson_document' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:178:in `rpc_call' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:65:in `block (3 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/gene_pool-1.3.0/lib/gene_pool.rb:134:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:214:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:64:in `block (2 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_info' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:60:in `block in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:126:in `with_tags' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:59:in `call' +/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_service_test.rb:56:in `block (4 levels) in <class:RubySkynetServiceTest>' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `block in create_test_from_should_hash' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/mocha-0.10.5/lib/mocha/integration/mini_test/version_230_to_262.rb:28:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/testcase.rb:17:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:787:in `block in _run_suite' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `map' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `_run_suite' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:565:in `block in _run_suites' @@ -1527,27 +1807,29 @@ /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:895:in `_run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:884:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:21:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:326:in `block (2 levels) in autorun' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:27:in `run_once' -/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:325:in `block in autorun' -- ResilientSocket::ConnectionFailure: After 5 connection attempts to host 'localhost:9999': Errno::ECONNREFUSED: Connection refused - connect(2) -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:570:in `rescue in block in connect_to_server' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:548:in `block in connect_to_server' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.7.0/lib/semantic_logger/base.rb:181:in `benchmark_info' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:541:in `connect_to_server' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:304:in `connect' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:232:in `initialize' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:36:in `new' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:36:in `initialize' -/Users/rmorrison/Sandbox/ruby_skynet/test/doozer_client_test.rb:22:in `new' -/Users/rmorrison/Sandbox/ruby_skynet/test/doozer_client_test.rb:22:in `block (4 levels) in <class:DoozerClientTest>' -/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:330:in `assert_raises' -/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/assertions.rb:69:in `assert_raise' -/Users/rmorrison/Sandbox/ruby_skynet/test/doozer_client_test.rb:21:in `block (3 levels) in <class:DoozerClientTest>' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.0/lib/shoulda/context/context.rb:398:in `call' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.0/lib/shoulda/context/context.rb:398:in `block in create_test_from_should_hash' -/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:949:in `run' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:325:in `block in autorun' +2012-12-04 15:51:10.870732 I [36774:70144424631000] [50be62026b69338fa6000001] (60001.9ms) RubySkynet::Client: RubySkynet.Service/1/Test -- Called Skynet Service: RubySkynet.Service.echo -- ResilientSocket::ReadTimeout: Timedout after 60.0 seconds trying to read from localhost:2100 +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:392:in `block in read' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_debug' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:374:in `read' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/common.rb:10:in `read_bson_document' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:178:in `rpc_call' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:65:in `block (3 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/gene_pool-1.3.0/lib/gene_pool.rb:134:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:214:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:64:in `block (2 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_info' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:60:in `block in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:126:in `with_tags' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:59:in `call' +/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_service_test.rb:56:in `block (4 levels) in <class:RubySkynetServiceTest>' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `block in create_test_from_should_hash' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/mocha-0.10.5/lib/mocha/integration/mini_test/version_230_to_262.rb:28:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/testcase.rb:17:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:787:in `block in _run_suite' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `map' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `_run_suite' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:565:in `block in _run_suites' @@ -1561,256 +1843,745 @@ /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:884:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:21:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:326:in `block (2 levels) in autorun' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:27:in `run_once' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:325:in `block in autorun' -2012-10-18 16:26:04.929011 D [1159:70111005212220] SimpleServer -- Waiting for a client to connect -2012-10-18 16:26:04.929011 D [1159:70111005212220] SimpleServer -- Waiting for a client to connect -2012-10-18 16:26:04.935137 D [1159:70111004416720] RubySkynet::Registry -- Doozer Connection Pool: Created connection #1 #<Thread:0x007f87fb06b5a0>(70111004416720) for Doozer Connection Pool -2012-10-18 16:26:04.935137 D [1159:70111004416720] RubySkynet::Registry -- Doozer Connection Pool: Created connection #1 #<Thread:0x007f87fb06b5a0>(70111004416720) for Doozer Connection Pool -2012-10-18 16:26:04.935205 T [1159:70111004416720] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007f87fb863ac8@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -2012-10-18 16:26:04.935205 T [1159:70111004416720] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007f87fb863ac8@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007f87fb863ac8@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -2012-10-18 16:26:04.935932 D [1159:70111004416720] RubySkynet::Registry -- Doozer Connection Pool: Renewed connection old=70111004416720 new=#<RubySkynet::Doozer::Client:0x007f87fb863ca8>(70111008595540) -2012-10-18 16:26:04.935932 D [1159:70111004416720] RubySkynet::Registry -- Doozer Connection Pool: Renewed connection old=70111004416720 new=#<RubySkynet::Doozer::Client:0x007f87fb863ca8>(70111008595540) -2012-10-18 16:26:04.935971 D [1159:70111004416720] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f87fb863ca8>(70111008595540) self=connections=70111008595540 checked_out=70111008595540 with_map= -2012-10-18 16:26:04.935971 D [1159:70111004416720] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f87fb863ca8>(70111008595540) self=connections=70111008595540 checked_out=70111008595540 with_map= -2012-10-18 16:26:04.947276 T [1159:70111004416720] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "+/services/TestService/1/Test/127.0.0.1/2000*{"Config":{"UUID":"3978b371-15e9-40f8-9b7b-59ae88d8c7ec","Name":"TestService","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"127.0.0.1","Port":2000,"MaxPort":2999}},"Registered":true}H -2012-10-18 16:26:04.947276 T [1159:70111004416720] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "+/services/TestService/1/Test/127.0.0.1/2000*{"Config":{"UUID":"3978b371-15e9-40f8-9b7b-59ae88d8c7ec","Name":"TestService","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"127.0.0.1","Port":2000,"MaxPort":2999}},"Registered":true}H -- "+/services/TestService/1/Test/127.0.0.1/2000*{"Config":{"UUID":"3978b371-15e9-40f8-9b7b-59ae88d8c7ec","Name":"TestService","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"127.0.0.1","Port":2000,"MaxPort":2999}},"Registered":true}H -2012-10-18 16:26:04.947983 D [1159:70111004416720] (0.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 261 bytes -2012-10-18 16:26:04.947983 D [1159:70111004416720] (0.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 261 bytes -2012-10-18 16:26:04.949973 T [1159:70111004416720] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x06" -2012-10-18 16:26:04.949973 T [1159:70111004416720] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x06" -- "\x00\x00\x00\x06" -2012-10-18 16:26:04.949991 D [1159:70111004416720] (1.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:26:04.949991 D [1159:70111004416720] (1.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:26:04.950521 T [1159:70111004416720] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xEB\xD0\x03" -2012-10-18 16:26:04.950521 T [1159:70111004416720] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xEB\xD0\x03" -- "\b\x00\x18\xEB\xD0\x03" -2012-10-18 16:26:04.950534 D [1159:70111004416720] (0.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 6 bytes -2012-10-18 16:26:04.950534 D [1159:70111004416720] (0.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 6 bytes -2012-10-18 16:26:04.950662 D [1159:70111004416720] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007f87fb863ca8>(70111008595540) self=connections=70111008595540 checked_out= with_map= -2012-10-18 16:26:04.950662 D [1159:70111004416720] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007f87fb863ca8>(70111008595540) self=connections=70111008595540 checked_out= with_map= -2012-10-18 16:26:04.953187 D [1159:70111004416720] [508065dc6b69330487000001] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f87fb863ca8>(70111008595540) self=connections=70111008595540 checked_out=70111008595540 with_map= -2012-10-18 16:26:04.953187 D [1159:70111004416720] [508065dc6b69330487000001] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f87fb863ca8>(70111008595540) self=connections=70111008595540 checked_out=70111008595540 with_map= -2012-10-18 16:26:04.953443 T [1159:70111004416720] [508065dc6b69330487000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  -2012-10-18 16:26:04.953443 T [1159:70111004416720] [508065dc6b69330487000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  --  -2012-10-18 16:26:04.953502 D [1159:70111004416720] [508065dc6b69330487000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 8 bytes -2012-10-18 16:26:04.953502 D [1159:70111004416720] [508065dc6b69330487000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 8 bytes -2012-10-18 16:26:04.955937 T [1159:70111004416720] [508065dc6b69330487000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x06" -2012-10-18 16:26:04.955937 T [1159:70111004416720] [508065dc6b69330487000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x06" -- "\x00\x00\x00\x06" -2012-10-18 16:26:04.955951 D [1159:70111004416720] [508065dc6b69330487000001] (2.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:26:04.955951 D [1159:70111004416720] [508065dc6b69330487000001] (2.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:26:04.956027 T [1159:70111004416720] [508065dc6b69330487000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xEB\xD0\x03" -2012-10-18 16:26:04.956027 T [1159:70111004416720] [508065dc6b69330487000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xEB\xD0\x03" -- "\b\x00\x18\xEB\xD0\x03" -2012-10-18 16:26:04.956038 D [1159:70111004416720] [508065dc6b69330487000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 6 bytes -2012-10-18 16:26:04.956038 D [1159:70111004416720] [508065dc6b69330487000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 6 bytes -2012-10-18 16:26:04.956350 T [1159:70111004416720] [508065dc6b69330487000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H -2012-10-18 16:26:04.956350 T [1159:70111004416720] [508065dc6b69330487000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H --  "/services/*/*/*/*/*8H -2012-10-18 16:26:04.956395 D [1159:70111004416720] [508065dc6b69330487000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 35 bytes -2012-10-18 16:26:04.956395 D [1159:70111004416720] [508065dc6b69330487000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 35 bytes -2012-10-18 16:26:04.956706 T [1159:70111004416720] [508065dc6b69330487000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\xFA" -2012-10-18 16:26:04.956706 T [1159:70111004416720] [508065dc6b69330487000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\xFA" -- "\x00\x00\x00\xFA" -2012-10-18 16:26:04.956719 D [1159:70111004416720] [508065dc6b69330487000001] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:26:04.956719 D [1159:70111004416720] [508065dc6b69330487000001] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:26:04.956794 T [1159:70111004416720] [508065dc6b69330487000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xEB\xD0\x03*+/services/TestService/1/Test/127.0.0.1/20002\xC2\x01{\"Config\":{\"UUID\":\"3978b371-15e9-40f8-9b7b-59ae88d8c7ec\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"127.0.0.1\",\"Port\":2000,\"MaxPort\":2999}},\"Registered\":true}" -2012-10-18 16:26:04.956794 T [1159:70111004416720] [508065dc6b69330487000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xEB\xD0\x03*+/services/TestService/1/Test/127.0.0.1/20002\xC2\x01{\"Config\":{\"UUID\":\"3978b371-15e9-40f8-9b7b-59ae88d8c7ec\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"127.0.0.1\",\"Port\":2000,\"MaxPort\":2999}},\"Registered\":true}" -- "\b\x00\x10\x04\x18\xEB\xD0\x03*+/services/TestService/1/Test/127.0.0.1/20002\xC2\x01{\"Config\":{\"UUID\":\"3978b371-15e9-40f8-9b7b-59ae88d8c7ec\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"127.0.0.1\",\"Port\":2000,\"MaxPort\":2999}},\"Registered\":true}" -2012-10-18 16:26:04.956810 D [1159:70111004416720] [508065dc6b69330487000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 250 bytes -2012-10-18 16:26:04.956810 D [1159:70111004416720] [508065dc6b69330487000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 250 bytes -2012-10-18 16:26:04.957148 T [1159:70111004416720] [508065dc6b69330487000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H -2012-10-18 16:26:04.957148 T [1159:70111004416720] [508065dc6b69330487000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H --  "/services/*/*/*/*/*8H -2012-10-18 16:26:04.957192 D [1159:70111004416720] [508065dc6b69330487000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 35 bytes -2012-10-18 16:26:04.957192 D [1159:70111004416720] [508065dc6b69330487000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 35 bytes -2012-10-18 16:26:04.959159 T [1159:70111004416720] [508065dc6b69330487000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01Q" -2012-10-18 16:26:04.959159 T [1159:70111004416720] [508065dc6b69330487000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01Q" -- "\x00\x00\x01Q" -2012-10-18 16:26:04.959173 D [1159:70111004416720] [508065dc6b69330487000001] (2.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:26:04.959173 D [1159:70111004416720] [508065dc6b69330487000001] (2.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:26:04.959256 T [1159:70111004416720] [508065dc6b69330487000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xD5\xC8\x03*6/services/TutorialService/1/Development/127.0.0.1/90002\x8E\x02{\"Config\":{\"UUID\":\"aa58fa11-6ab7-4b53-aad9-3d657120f2b8\",\"Name\":\"TutorialService\",\"Version\":\"1\",\"Region\":\"Development\",\"ServiceAddr\":{\"IPAddress\":\"127.0.0.1\",\"Port\":9000,\"MaxPort\":9999},\"AdminAddr\":{\"IPAddress\":\"127.0.0.1\",\"Port\":9001,\"MaxPort\":9999}},\"Registered\":true}" -2012-10-18 16:26:04.959256 T [1159:70111004416720] [508065dc6b69330487000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xD5\xC8\x03*6/services/TutorialService/1/Development/127.0.0.1/90002\x8E\x02{\"Config\":{\"UUID\":\"aa58fa11-6ab7-4b53-aad9-3d657120f2b8\",\"Name\":\"TutorialService\",\"Version\":\"1\",\"Region\":\"Development\",\"ServiceAddr\":{\"IPAddress\":\"127.0.0.1\",\"Port\":9000,\"MaxPort\":9999},\"AdminAddr\":{\"IPAddress\":\"127.0.0.1\",\"Port\":9001,\"MaxPort\":9999}},\"Registered\":true}" -- "\b\x00\x10\x04\x18\xD5\xC8\x03*6/services/TutorialService/1/Development/127.0.0.1/90002\x8E\x02{\"Config\":{\"UUID\":\"aa58fa11-6ab7-4b53-aad9-3d657120f2b8\",\"Name\":\"TutorialService\",\"Version\":\"1\",\"Region\":\"Development\",\"ServiceAddr\":{\"IPAddress\":\"127.0.0.1\",\"Port\":9000,\"MaxPort\":9999},\"AdminAddr\":{\"IPAddress\":\"127.0.0.1\",\"Port\":9001,\"MaxPort\":9999}},\"Registered\":true}" -2012-10-18 16:26:04.959267 D [1159:70111004416720] [508065dc6b69330487000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 337 bytes -2012-10-18 16:26:04.959267 D [1159:70111004416720] [508065dc6b69330487000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 337 bytes -2012-10-18 16:26:04.959569 T [1159:70111004416720] [508065dc6b69330487000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H -2012-10-18 16:26:04.959569 T [1159:70111004416720] [508065dc6b69330487000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H --  "/services/*/*/*/*/*8H -2012-10-18 16:26:04.959613 D [1159:70111004416720] [508065dc6b69330487000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 35 bytes -2012-10-18 16:26:04.959613 D [1159:70111004416720] [508065dc6b69330487000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 35 bytes -2012-10-18 16:26:04.960298 T [1159:70111004416720] [508065dc6b69330487000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" -2012-10-18 16:26:04.960298 T [1159:70111004416720] [508065dc6b69330487000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" -- "\x00\x00\x00\x05" -2012-10-18 16:26:04.960311 D [1159:70111004416720] [508065dc6b69330487000001] (0.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:26:04.960311 D [1159:70111004416720] [508065dc6b69330487000001] (0.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:26:04.960373 T [1159:70111004416720] [508065dc6b69330487000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\xA0\x06\b" -2012-10-18 16:26:04.960373 T [1159:70111004416720] [508065dc6b69330487000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\xA0\x06\b" -- "\b\x00\xA0\x06\b" -2012-10-18 16:26:04.960383 D [1159:70111004416720] [508065dc6b69330487000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes -2012-10-18 16:26:04.960383 D [1159:70111004416720] [508065dc6b69330487000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes -2012-10-18 16:26:04.960561 D [1159:70111004416720] [508065dc6b69330487000001] RubySkynet::Registry -- #start_monitoring Add Service: TestService/1/Test => 127.0.0.1:2000 -2012-10-18 16:26:04.960561 D [1159:70111004416720] [508065dc6b69330487000001] RubySkynet::Registry -- #start_monitoring Add Service: TestService/1/Test => 127.0.0.1:2000 -2012-10-18 16:26:04.960622 D [1159:70111004416720] [508065dc6b69330487000001] RubySkynet::Registry -- #start_monitoring Add Service: TutorialService/1/Development => 127.0.0.1:9000 -2012-10-18 16:26:04.960622 D [1159:70111004416720] [508065dc6b69330487000001] RubySkynet::Registry -- #start_monitoring Add Service: TutorialService/1/Development => 127.0.0.1:9000 -2012-10-18 16:26:04.960669 D [1159:70111004416720] [508065dc6b69330487000001] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007f87fb863ca8>(70111008595540) self=connections=70111008595540 checked_out= with_map= -2012-10-18 16:26:04.960669 D [1159:70111004416720] [508065dc6b69330487000001] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007f87fb863ca8>(70111008595540) self=connections=70111008595540 checked_out= with_map= -2012-10-18 16:26:04.961321 I [1159:70111008822380] RubySkynet::Registry -- Start monitoring /services/*/*/*/*/* -2012-10-18 16:26:04.961321 I [1159:70111008822380] RubySkynet::Registry -- Start monitoring /services/*/*/*/*/* -2012-10-18 16:26:04.961361 T [1159:70111008822380] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007f87fb8d7108@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -2012-10-18 16:26:04.961361 T [1159:70111008822380] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007f87fb8d7108@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007f87fb8d7108@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -2012-10-18 16:26:04.962450 T [1159:70111008822380] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H -2012-10-18 16:26:04.962450 T [1159:70111008822380] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H -- "/services/*/*/*/*/*H -2012-10-18 16:26:04.962499 D [1159:70111008822380] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 33 bytes -2012-10-18 16:26:04.962499 D [1159:70111008822380] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 33 bytes -2012-10-18 16:26:04.962904 D [1159:70111004416720] [508065dc6b69330487000001] RubySkynet::Connection: 127.0.0.1:2000 -- Waiting for Service Handshake -2012-10-18 16:26:04.962904 D [1159:70111004416720] [508065dc6b69330487000001] RubySkynet::Connection: 127.0.0.1:2000 -- Waiting for Service Handshake -2012-10-18 16:26:04.963867 D [1159:70111005212220] SimpleServer -- Client connected, waiting for data from client -2012-10-18 16:26:04.963867 D [1159:70111005212220] SimpleServer -- Client connected, waiting for data from client -2012-10-18 16:26:04.964081 T [1159:70111004416720] [508065dc6b69330487000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "$\x00\x00\x00" -2012-10-18 16:26:04.964081 T [1159:70111004416720] [508065dc6b69330487000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "$\x00\x00\x00" -- "$\x00\x00\x00" -2012-10-18 16:26:04.964092 D [1159:70111004416720] [508065dc6b69330487000001] (1.2ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes -2012-10-18 16:26:04.964092 D [1159:70111004416720] [508065dc6b69330487000001] (1.2ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes -2012-10-18 16:26:04.964151 T [1159:70111004416720] [508065dc6b69330487000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "\bregistered\x00\x01\x02clientid\x00\x04\x00\x00\x00123\x00\x00" -2012-10-18 16:26:04.964151 T [1159:70111004416720] [508065dc6b69330487000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "\bregistered\x00\x01\x02clientid\x00\x04\x00\x00\x00123\x00\x00" -- "\bregistered\x00\x01\x02clientid\x00\x04\x00\x00\x00123\x00\x00" -2012-10-18 16:26:04.964162 D [1159:70111004416720] [508065dc6b69330487000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 32 bytes -2012-10-18 16:26:04.964162 D [1159:70111004416720] [508065dc6b69330487000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 32 bytes -2012-10-18 16:26:04.964208 T [1159:70111004416720] [508065dc6b69330487000001] RubySkynet::Connection: 127.0.0.1:2000 -- Service Handshake -- {"registered"=>true, "clientid"=>"123"} -2012-10-18 16:26:04.964208 T [1159:70111004416720] [508065dc6b69330487000001] RubySkynet::Connection: 127.0.0.1:2000 -- Service Handshake -- {"registered"=>true, "clientid"=>"123"} -- {"registered"=>true, "clientid"=>"123"} -2012-10-18 16:26:04.964223 D [1159:70111004416720] [508065dc6b69330487000001] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Client Handshake -2012-10-18 16:26:04.964223 D [1159:70111004416720] [508065dc6b69330487000001] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Client Handshake -2012-10-18 16:26:04.964233 T [1159:70111004416720] [508065dc6b69330487000001] RubySkynet::Connection: 127.0.0.1:2000 -- Client Handshake -- {"clientid"=>"123"} -2012-10-18 16:26:04.964233 T [1159:70111004416720] [508065dc6b69330487000001] RubySkynet::Connection: 127.0.0.1:2000 -- Client Handshake -- {"clientid"=>"123"} -- {"clientid"=>"123"} -2012-10-18 16:26:04.964251 T [1159:70111004416720] [508065dc6b69330487000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- clientid123 -2012-10-18 16:26:04.964251 T [1159:70111004416720] [508065dc6b69330487000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- clientid123 -- clientid123 -2012-10-18 16:26:04.964295 D [1159:70111004416720] [508065dc6b69330487000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 23 bytes -2012-10-18 16:26:04.964295 D [1159:70111004416720] [508065dc6b69330487000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 23 bytes -2012-10-18 16:26:04.964356 D [1159:70111004416720] [508065dc6b69330487000001] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Header -2012-10-18 16:26:04.964356 D [1159:70111004416720] [508065dc6b69330487000001] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Header -2012-10-18 16:26:04.964374 T [1159:70111004416720] [508065dc6b69330487000001] RubySkynet::Connection: 127.0.0.1:2000 -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} -2012-10-18 16:26:04.964374 T [1159:70111004416720] [508065dc6b69330487000001] RubySkynet::Connection: 127.0.0.1:2000 -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} -- {"servicemethod"=>"TestService.Forward", "seq"=>0} -2012-10-18 16:26:04.964398 T [1159:70111004416720] [508065dc6b69330487000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- 5servicemethodTestService.Forwardseq -2012-10-18 16:26:04.964398 T [1159:70111004416720] [508065dc6b69330487000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- 5servicemethodTestService.Forwardseq -- 5servicemethodTestService.Forwardseq -2012-10-18 16:26:04.964450 D [1159:70111004416720] [508065dc6b69330487000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 53 bytes -2012-10-18 16:26:04.964450 D [1159:70111004416720] [508065dc6b69330487000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 53 bytes -2012-10-18 16:26:04.964487 D [1159:70111004416720] [508065dc6b69330487000001] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Request -2012-10-18 16:26:04.964487 D [1159:70111004416720] [508065dc6b69330487000001] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Request -2012-10-18 16:26:04.964497 T [1159:70111004416720] [508065dc6b69330487000001] RubySkynet::Connection: 127.0.0.1:2000 -- Request -- {"clientid"=>"123", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"test1", "requestinfo"=>{"requestid"=>"508065dc6b69330487000001", "retrycount"=>0, "originaddress"=>""}} -2012-10-18 16:26:04.964497 T [1159:70111004416720] [508065dc6b69330487000001] RubySkynet::Connection: 127.0.0.1:2000 -- Request -- {"clientid"=>"123", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"test1", "requestinfo"=>{"requestid"=>"508065dc6b69330487000001", "retrycount"=>0, "originaddress"=>""}} -- {"clientid"=>"123", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"test1", "requestinfo"=>{"requestid"=>"508065dc6b69330487000001", "retrycount"=>0, "originaddress"=>""}} -2012-10-18 16:26:04.964506 T [1159:70111004416720] [508065dc6b69330487000001] RubySkynet::Connection: 127.0.0.1:2000 -- Parameters: -- {"some"=>"parameters"} -2012-10-18 16:26:04.964506 T [1159:70111004416720] [508065dc6b69330487000001] RubySkynet::Connection: 127.0.0.1:2000 -- Parameters: -- {"some"=>"parameters"} -- {"some"=>"parameters"} -2012-10-18 16:26:04.964525 T [1159:70111004416720] [508065dc6b69330487000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- clientid123insome parametersmethodtest1requestinfoQrequestid508065dc6b69330487000001retrycountoriginaddress -2012-10-18 16:26:04.964525 T [1159:70111004416720] [508065dc6b69330487000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- clientid123insome parametersmethodtest1requestinfoQrequestid508065dc6b69330487000001retrycountoriginaddress -- clientid123insome parametersmethodtest1requestinfoQrequestid508065dc6b69330487000001retrycountoriginaddress -2012-10-18 16:26:04.964568 D [1159:70111004416720] [508065dc6b69330487000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 170 bytes -2012-10-18 16:26:04.964568 D [1159:70111004416720] [508065dc6b69330487000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 170 bytes -2012-10-18 16:26:04.964585 D [1159:70111004416720] [508065dc6b69330487000001] RubySkynet::Connection: 127.0.0.1:2000 -- Reading header from server -2012-10-18 16:26:04.964585 D [1159:70111004416720] [508065dc6b69330487000001] RubySkynet::Connection: 127.0.0.1:2000 -- Reading header from server -2012-10-18 16:26:04.964731 D [1159:70111005212220] SimpleServer -- +2012-12-04 15:51:10.874780 I [36774:70144424571700] RubySkynet::Server -- Starting listener on localhost:2100 +2012-12-04 15:51:10.874806 D [36774:70144424571700] RubySkynet::Server -- Waiting for a client to connect +2012-12-04 15:51:10.876018 I [36774:70144424571700] RubySkynet::Server -- Skynet Server Stopped +2012-12-04 15:51:10.877434 I [36774:70144424571700] RubySkynet::Server -- Starting listener on localhost:2100 +2012-12-04 15:51:10.877456 D [36774:70144424571700] RubySkynet::Server -- Waiting for a client to connect +2012-12-04 15:51:10.877916 D [36774:70144424631000] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f978b4be310>(70144426897800) self=connections=70144426897800 checked_out=70144426897800 with_map= +2012-12-04 15:51:10.878219 T [36774:70144424631000] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- 8"2/services/RubySkynet.Service/1/Test/localhost/2100 +2012-12-04 15:51:10.878351 D [36774:70144424631000] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 60 bytes +2012-12-04 15:51:10.878760 T [36774:70144424631000] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\xE4" +2012-12-04 15:51:10.878821 D [36774:70144424631000] (0.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-04 15:51:10.878938 T [36774:70144424631000] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\x81\x142\xDC\x01{\"Config\":{\"UUID\":\"localhost:2100-36774-RubySkynet::Service-70144425266120\",\"Name\":\"RubySkynet.Service\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-04 15:51:10.878945 D [36774:70144424631000] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 228 bytes +2012-12-04 15:51:10.879077 D [36774:70144424631000] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007f978b4be310>(70144426897800) self=connections=70144426897800 checked_out= with_map= +2012-12-04 15:51:10.879237 I [36774:70144424571700] RubySkynet::Server -- Skynet Server Stopped +2012-12-04 15:51:10.881012 I [36774:70144424631000] Celluloid -- Terminating 4 actors... +2012-12-04 15:53:36.046398 I [36840:70098392100180] RubySkynet::Server -- Starting listener on localhost:2100 +2012-12-04 15:53:36.046430 D [36840:70098392100180] RubySkynet::Server -- Waiting for a client to connect +2012-12-04 15:53:36.054416 D [36840:70098392144600] RubySkynet::Registry -- Doozer Connection Pool: Created connection #1 #<Thread:0x007f821b86b5b0>(70098392144600) for Doozer Connection Pool +2012-12-04 15:53:36.075038 T [36840:70098392144600] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007f821c3a0e80@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-04 15:53:36.078617 D [36840:70098392144600] RubySkynet::Registry -- Doozer Connection Pool: Renewed connection old=70098392144600 new=#<RubySkynet::Doozer::Client:0x007f821c3a0fe8>(70098398021620) +2012-12-04 15:53:36.078660 D [36840:70098392144600] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f821c3a0fe8>(70098398021620) self=connections=70098398021620 checked_out=70098398021620 with_map= +2012-12-04 15:53:36.103846 T [36840:70098392144600] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- ""2/services/RubySkynet.Service/1/Test/localhost/2100*{"Config":{"UUID":"localhost:2100-36840-RubySkynet::Service-70098392615700","Name":"RubySkynet.Service","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"localhost","Port":2100,"MaxPort":3099}},"Registered":true}H +2012-12-04 15:53:36.104324 D [36840:70098392144600] (0.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 294 bytes +2012-12-04 15:53:36.106436 T [36840:70098392144600] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-04 15:53:36.106481 D [36840:70098392144600] (2.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-04 15:53:36.108138 T [36840:70098392144600] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xCE\x15" +2012-12-04 15:53:36.108152 D [36840:70098392144600] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-04 15:53:36.108333 D [36840:70098392144600] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007f821c3a0fe8>(70098398021620) self=connections=70098398021620 checked_out= with_map= +2012-12-04 15:53:36.111283 D [36840:70098392144600] [50be62d06b69338fe8000001] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f821c3a0fe8>(70098398021620) self=connections=70098398021620 checked_out=70098398021620 with_map= +2012-12-04 15:53:36.111482 T [36840:70098392144600] [50be62d06b69338fe8000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  +2012-12-04 15:53:36.112442 D [36840:70098392144600] [50be62d06b69338fe8000001] (0.9ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 8 bytes +2012-12-04 15:53:36.112641 T [36840:70098392144600] [50be62d06b69338fe8000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-04 15:53:36.112692 D [36840:70098392144600] [50be62d06b69338fe8000001] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-04 15:53:36.112767 T [36840:70098392144600] [50be62d06b69338fe8000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xCE\x15" +2012-12-04 15:53:36.112774 D [36840:70098392144600] [50be62d06b69338fe8000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-04 15:53:36.113047 T [36840:70098392144600] [50be62d06b69338fe8000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H +2012-12-04 15:53:36.113090 D [36840:70098392144600] [50be62d06b69338fe8000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-04 15:53:36.113790 T [36840:70098392144600] [50be62d06b69338fe8000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01(" +2012-12-04 15:53:36.113818 D [36840:70098392144600] [50be62d06b69338fe8000001] (0.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-04 15:53:36.114129 T [36840:70098392144600] [50be62d06b69338fe8000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xA2\t*9/services/RubySkynet.Service/1/Development/localhost/21002\xE3\x01{\"Config\":{\"UUID\":\"localhost:2100-36005-RubySkynet::Service-70299094646300\",\"Name\":\"RubySkynet.Service\",\"Version\":\"1\",\"Region\":\"Development\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-04 15:53:36.114204 D [36840:70098392144600] [50be62d06b69338fe8000001] (0.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 296 bytes +2012-12-04 15:53:36.114506 T [36840:70098392144600] [50be62d06b69338fe8000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H +2012-12-04 15:53:36.114557 D [36840:70098392144600] [50be62d06b69338fe8000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-04 15:53:36.115313 T [36840:70098392144600] [50be62d06b69338fe8000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01\x1A" +2012-12-04 15:53:36.115325 D [36840:70098392144600] [50be62d06b69338fe8000001] (0.8ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-04 15:53:36.115419 T [36840:70098392144600] [50be62d06b69338fe8000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xCE\x15*2/services/RubySkynet.Service/1/Test/localhost/21002\xDC\x01{\"Config\":{\"UUID\":\"localhost:2100-36840-RubySkynet::Service-70098392615700\",\"Name\":\"RubySkynet.Service\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-04 15:53:36.115426 D [36840:70098392144600] [50be62d06b69338fe8000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 282 bytes +2012-12-04 15:53:36.115695 T [36840:70098392144600] [50be62d06b69338fe8000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H +2012-12-04 15:53:36.115737 D [36840:70098392144600] [50be62d06b69338fe8000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-04 15:53:36.116455 T [36840:70098392144600] [50be62d06b69338fe8000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-04 15:53:36.116467 D [36840:70098392144600] [50be62d06b69338fe8000001] (0.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-04 15:53:36.116783 T [36840:70098392144600] [50be62d06b69338fe8000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\xA0\x06\b" +2012-12-04 15:53:36.116811 D [36840:70098392144600] [50be62d06b69338fe8000001] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-04 15:53:36.117031 D [36840:70098392144600] [50be62d06b69338fe8000001] RubySkynet::Registry -- #start_monitoring Add Service: RubySkynet.Service/1/Development => localhost:2100 +2012-12-04 15:53:36.117083 D [36840:70098392144600] [50be62d06b69338fe8000001] RubySkynet::Registry -- #start_monitoring Add Service: RubySkynet.Service/1/Test => localhost:2100 +2012-12-04 15:53:36.117120 D [36840:70098392144600] [50be62d06b69338fe8000001] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007f821c3a0fe8>(70098398021620) self=connections=70098398021620 checked_out= with_map= +2012-12-04 15:53:36.117819 I [36840:70098396478720] RubySkynet::Registry -- Start monitoring /services/*/*/*/*/* +2012-12-04 15:53:36.117863 T [36840:70098396478720] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007f821ba31bd8@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-04 15:53:36.118807 T [36840:70098396478720] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-04 15:53:36.118852 D [36840:70098396478720] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-04 15:53:36.119604 D [36840:70098392144600] [50be62d06b69338fe8000001] RubySkynet::Connection: localhost:2100 -- Waiting for Service Handshake +2012-12-04 15:53:36.120641 D [36840:70098392100180] RubySkynet::Server -- Waiting for a client to connect +2012-12-04 15:53:36.120743 D [36840:70098392100180] RubySkynet::Server -- Client connected, waiting for data from client +2012-12-04 15:53:36.121444 T [36840:70098392144600] [50be62d06b69338fe8000001] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "9\x00\x00\x00" +2012-12-04 15:53:36.121460 D [36840:70098392144600] [50be62d06b69338fe8000001] (1.2ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 4 bytes +2012-12-04 15:53:36.121518 T [36840:70098392144600] [50be62d06b69338fe8000001] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "\bregistered\x00\x01\x02clientid\x00\x19\x00\x00\x0050be62d06b69338fe8000002\x00\x00" +2012-12-04 15:53:36.121524 D [36840:70098392144600] [50be62d06b69338fe8000001] (0.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 53 bytes +2012-12-04 15:53:36.121572 T [36840:70098392144600] [50be62d06b69338fe8000001] RubySkynet::Connection: localhost:2100 -- Service Handshake -- {"registered"=>true, "clientid"=>"50be62d06b69338fe8000002"} +2012-12-04 15:53:36.121584 D [36840:70098392144600] [50be62d06b69338fe8000001] RubySkynet::Connection: localhost:2100 -- Sending Client Handshake +2012-12-04 15:53:36.121590 T [36840:70098392144600] [50be62d06b69338fe8000001] RubySkynet::Connection: localhost:2100 -- Client Handshake -- {"clientid"=>"50be62d06b69338fe8000002"} +2012-12-04 15:53:36.121607 T [36840:70098392144600] [50be62d06b69338fe8000001] ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sending -- ,clientid50be62d06b69338fe8000002 +2012-12-04 15:53:36.121650 D [36840:70098392144600] [50be62d06b69338fe8000001] (0.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sent 44 bytes +2012-12-04 15:53:36.121724 D [36840:70098392144600] [50be62d06b69338fe8000001] RubySkynet::Connection: localhost:2100 -- Sending Header +2012-12-04 15:53:36.121733 T [36840:70098392144600] [50be62d06b69338fe8000001] RubySkynet::Connection: localhost:2100 -- Header -- {"servicemethod"=>"RubySkynet.Service.Forward", "seq"=>0} +2012-12-04 15:53:36.121754 T [36840:70098392144600] [50be62d06b69338fe8000001] ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sending -- <servicemethodRubySkynet.Service.Forwardseq +2012-12-04 15:53:36.121799 D [36840:70098392144600] [50be62d06b69338fe8000001] (0.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sent 60 bytes +2012-12-04 15:53:36.121833 D [36840:70098392144600] [50be62d06b69338fe8000001] RubySkynet::Connection: localhost:2100 -- Sending Request +2012-12-04 15:53:36.121841 T [36840:70098392144600] [50be62d06b69338fe8000001] RubySkynet::Connection: localhost:2100 -- Request -- {"clientid"=>"50be62d06b69338fe8000002", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"echo", "requestinfo"=>{"requestid"=>"50be62d06b69338fe8000001", "retrycount"=>0, "originaddress"=>""}} +2012-12-04 15:53:36.121847 T [36840:70098392144600] [50be62d06b69338fe8000001] RubySkynet::Connection: localhost:2100 -- Parameters: -- {"some"=>"parameters"} +2012-12-04 15:53:36.121864 T [36840:70098392144600] [50be62d06b69338fe8000001] ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sending -- clientid50be62d06b69338fe8000002insome parametersmethodechorequestinfoQrequestid50be62d06b69338fe8000001retrycountoriginaddress +2012-12-04 15:53:36.122371 D [36840:70098392100180] RubySkynet::Server -- ****************** -2012-10-18 16:26:04.964731 D [1159:70111005212220] SimpleServer -- +2012-12-04 15:53:36.122386 D [36840:70098392100180] RubySkynet::Server -- Received Request +2012-12-04 15:53:36.122397 T [36840:70098392100180] RubySkynet::Server -- Header -- {"servicemethod"=>"RubySkynet.Service.Forward", "seq"=>0} +2012-12-04 15:53:36.122915 T [36840:70098392100180] RubySkynet::Server -- Request -- {"clientid"=>"50be62d06b69338fe8000002", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"echo", "requestinfo"=>{"requestid"=>"50be62d06b69338fe8000001", "retrycount"=>0, "originaddress"=>""}} +2012-12-04 15:53:36.122940 T [36840:70098392100180] RubySkynet::Server -- Parameters -- {"some"=>"parameters"} +2012-12-04 15:53:36.122963 T [36840:70098392100180] RubySkynet::Server -- Method Call: echo with parameters: -- {"some"=>"parameters"} +2012-12-04 15:53:36.122978 D [36840:70098392100180] (0.0ms) RubySkynet::Server -- Called: RubySkynet.Service#echo +2012-12-04 15:53:36.122995 D [36840:70098392100180] RubySkynet::Server -- Sending Header +2012-12-04 15:53:36.123053 D [36840:70098392100180] RubySkynet::Server -- Sending Reply +2012-12-04 15:53:36.123065 T [36840:70098392100180] RubySkynet::Server -- Reply -- {"some"=>"parameters"} +2012-12-04 15:53:36.123298 D [36840:70098392144600] [50be62d06b69338fe8000001] (1.4ms) ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sent 190 bytes +2012-12-04 15:53:36.123315 D [36840:70098392144600] [50be62d06b69338fe8000001] RubySkynet::Connection: localhost:2100 -- Reading header from server +2012-12-04 15:53:36.123369 T [36840:70098392144600] [50be62d06b69338fe8000001] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "<\x00\x00\x00" +2012-12-04 15:53:36.123376 D [36840:70098392144600] [50be62d06b69338fe8000001] (0.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 4 bytes +2012-12-04 15:53:36.123426 T [36840:70098392144600] [50be62d06b69338fe8000001] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "\x02servicemethod\x00\e\x00\x00\x00RubySkynet.Service.Forward\x00\x10seq\x00\x00\x00\x00\x00\x00" +2012-12-04 15:53:36.123432 D [36840:70098392144600] [50be62d06b69338fe8000001] (0.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 56 bytes +2012-12-04 15:53:36.123466 D [36840:70098392144600] [50be62d06b69338fe8000001] RubySkynet::Connection: localhost:2100 -- Response Header -- {"servicemethod"=>"RubySkynet.Service.Forward", "seq"=>0} +2012-12-04 15:53:36.123473 D [36840:70098392144600] [50be62d06b69338fe8000001] RubySkynet::Connection: localhost:2100 -- Reading response from server +2012-12-04 15:53:36.123515 T [36840:70098392144600] [50be62d06b69338fe8000001] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- ")\x00\x00\x00" +2012-12-04 15:53:36.123521 D [36840:70098392144600] [50be62d06b69338fe8000001] (0.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 4 bytes +2012-12-04 15:53:36.123571 T [36840:70098392144600] [50be62d06b69338fe8000001] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "\x02out\x00\e\x00\x00\x00\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00\x00\x00" +2012-12-04 15:53:36.123577 D [36840:70098392144600] [50be62d06b69338fe8000001] (0.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 37 bytes +2012-12-04 15:53:36.123609 T [36840:70098392144600] [50be62d06b69338fe8000001] RubySkynet::Connection: localhost:2100 -- Response -- {"out"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00"} +2012-12-04 15:53:36.123632 T [36840:70098392144600] [50be62d06b69338fe8000001] RubySkynet::Connection: localhost:2100 -- Return Value -- {"some"=>"parameters"} +2012-12-04 15:53:36.123651 I [36840:70098392144600] [50be62d06b69338fe8000001] (14.2ms) RubySkynet::Client: RubySkynet.Service/1/Test -- Called Skynet Service: RubySkynet.Service.echo +2012-12-04 15:53:36.124332 I [36840:70098392100180] RubySkynet::Server -- Skynet Server Stopped +2012-12-04 15:53:36.129360 I [36840:70098392100180] RubySkynet::Server -- Starting listener on localhost:2100 +2012-12-04 15:53:36.129422 D [36840:70098392100180] RubySkynet::Server -- Waiting for a client to connect +2012-12-04 15:53:36.129969 I [36840:70098392100180] RubySkynet::Server -- Skynet Server Stopped +2012-12-04 15:53:36.130909 I [36840:70098392100180] RubySkynet::Server -- Starting listener on localhost:2100 +2012-12-04 15:53:36.130930 D [36840:70098392100180] RubySkynet::Server -- Waiting for a client to connect +2012-12-04 15:53:36.131231 D [36840:70098392144600] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f821c3a0fe8>(70098398021620) self=connections=70098398021620 checked_out=70098398021620 with_map= +2012-12-04 15:53:36.131509 T [36840:70098392144600] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- 8"2/services/RubySkynet.Service/1/Test/localhost/2100 +2012-12-04 15:53:36.131810 D [36840:70098392144600] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 60 bytes +2012-12-04 15:53:36.132145 T [36840:70098392144600] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\xE4" +2012-12-04 15:53:36.132183 D [36840:70098392144600] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-04 15:53:36.132510 T [36840:70098392144600] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xCE\x152\xDC\x01{\"Config\":{\"UUID\":\"localhost:2100-36840-RubySkynet::Service-70098392615700\",\"Name\":\"RubySkynet.Service\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-04 15:53:36.132523 D [36840:70098392144600] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 228 bytes +2012-12-04 15:53:36.132670 D [36840:70098392144600] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007f821c3a0fe8>(70098398021620) self=connections=70098398021620 checked_out= with_map= +2012-12-04 15:53:36.133037 I [36840:70098392100180] RubySkynet::Server -- Skynet Server Stopped +2012-12-04 15:53:36.134847 I [36840:70098392144600] Celluloid -- Terminating 4 actors... +2012-12-04 15:53:36.135571 I [36840:70098392144600] Celluloid -- Shutdown completed cleanly +2012-12-04 15:53:53.404778 I [36845:70364734596760] RubySkynet::Server -- Starting listener on localhost:2100 +2012-12-04 15:53:53.404811 D [36845:70364734596760] RubySkynet::Server -- Waiting for a client to connect +2012-12-04 15:53:53.411682 D [36845:70364734642900] RubySkynet::Registry -- Doozer Connection Pool: Created connection #1 #<Thread:0x007ffe2206b5a8>(70364734642900) for Doozer Connection Pool +2012-12-04 15:53:53.431188 T [36845:70364734642900] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007ffe2225bea8@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-04 15:53:53.437992 D [36845:70364734642900] RubySkynet::Registry -- Doozer Connection Pool: Renewed connection old=70364734642900 new=#<RubySkynet::Doozer::Client:0x007ffe2225bfe8>(70364735660020) +2012-12-04 15:53:53.438034 D [36845:70364734642900] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007ffe2225bfe8>(70364735660020) self=connections=70364735660020 checked_out=70364735660020 with_map= +2012-12-04 15:53:53.460915 T [36845:70364734642900] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- ""2/services/RubySkynet.Service/1/Test/localhost/2100*{"Config":{"UUID":"localhost:2100-36845-RubySkynet::Service-70364742920740","Name":"RubySkynet.Service","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"localhost","Port":2100,"MaxPort":3099}},"Registered":true}H +2012-12-04 15:53:53.461367 D [36845:70364734642900] (0.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 294 bytes +2012-12-04 15:53:53.463089 T [36845:70364734642900] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-04 15:53:53.463103 D [36845:70364734642900] (1.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-04 15:53:53.465654 T [36845:70364734642900] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xE1\x15" +2012-12-04 15:53:53.465672 D [36845:70364734642900] (2.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-04 15:53:53.465904 D [36845:70364734642900] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007ffe2225bfe8>(70364735660020) self=connections=70364735660020 checked_out= with_map= +2012-12-04 15:53:53.469971 D [36845:70364734642900] [50be62e16b69338fed000001] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007ffe2225bfe8>(70364735660020) self=connections=70364735660020 checked_out=70364735660020 with_map= +2012-12-04 15:53:53.470193 T [36845:70364734642900] [50be62e16b69338fed000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  +2012-12-04 15:53:53.470614 D [36845:70364734642900] [50be62e16b69338fed000001] (0.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 8 bytes +2012-12-04 15:53:53.470677 T [36845:70364734642900] [50be62e16b69338fed000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-04 15:53:53.470684 D [36845:70364734642900] [50be62e16b69338fed000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-04 15:53:53.470827 T [36845:70364734642900] [50be62e16b69338fed000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xE1\x15" +2012-12-04 15:53:53.470834 D [36845:70364734642900] [50be62e16b69338fed000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-04 15:53:53.471118 T [36845:70364734642900] [50be62e16b69338fed000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H +2012-12-04 15:53:53.471162 D [36845:70364734642900] [50be62e16b69338fed000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-04 15:53:53.471994 T [36845:70364734642900] [50be62e16b69338fed000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01(" +2012-12-04 15:53:53.472006 D [36845:70364734642900] [50be62e16b69338fed000001] (0.8ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-04 15:53:53.472310 T [36845:70364734642900] [50be62e16b69338fed000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xA2\t*9/services/RubySkynet.Service/1/Development/localhost/21002\xE3\x01{\"Config\":{\"UUID\":\"localhost:2100-36005-RubySkynet::Service-70299094646300\",\"Name\":\"RubySkynet.Service\",\"Version\":\"1\",\"Region\":\"Development\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-04 15:53:53.472318 D [36845:70364734642900] [50be62e16b69338fed000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 296 bytes +2012-12-04 15:53:53.472613 T [36845:70364734642900] [50be62e16b69338fed000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H +2012-12-04 15:53:53.473002 D [36845:70364734642900] [50be62e16b69338fed000001] (0.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-04 15:53:53.473108 T [36845:70364734642900] [50be62e16b69338fed000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01\x1A" +2012-12-04 15:53:53.473115 D [36845:70364734642900] [50be62e16b69338fed000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-04 15:53:53.473188 T [36845:70364734642900] [50be62e16b69338fed000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xE1\x15*2/services/RubySkynet.Service/1/Test/localhost/21002\xDC\x01{\"Config\":{\"UUID\":\"localhost:2100-36845-RubySkynet::Service-70364742920740\",\"Name\":\"RubySkynet.Service\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-04 15:53:53.473195 D [36845:70364734642900] [50be62e16b69338fed000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 282 bytes +2012-12-04 15:53:53.473457 T [36845:70364734642900] [50be62e16b69338fed000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H +2012-12-04 15:53:53.473499 D [36845:70364734642900] [50be62e16b69338fed000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-04 15:53:53.474264 T [36845:70364734642900] [50be62e16b69338fed000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-04 15:53:53.474276 D [36845:70364734642900] [50be62e16b69338fed000001] (0.8ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-04 15:53:53.474374 T [36845:70364734642900] [50be62e16b69338fed000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\xA0\x06\b" +2012-12-04 15:53:53.474381 D [36845:70364734642900] [50be62e16b69338fed000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-04 15:53:53.474559 D [36845:70364734642900] [50be62e16b69338fed000001] RubySkynet::Registry -- #start_monitoring Add Service: RubySkynet.Service/1/Development => localhost:2100 +2012-12-04 15:53:53.474611 D [36845:70364734642900] [50be62e16b69338fed000001] RubySkynet::Registry -- #start_monitoring Add Service: RubySkynet.Service/1/Test => localhost:2100 +2012-12-04 15:53:53.474651 D [36845:70364734642900] [50be62e16b69338fed000001] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007ffe2225bfe8>(70364735660020) self=connections=70364735660020 checked_out= with_map= +2012-12-04 15:53:53.475408 I [36845:70364743743780] RubySkynet::Registry -- Start monitoring /services/*/*/*/*/* +2012-12-04 15:53:53.475449 T [36845:70364743743780] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007ffe231eb0f8@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-04 15:53:53.476193 T [36845:70364743743780] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-04 15:53:53.476238 D [36845:70364743743780] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-04 15:53:53.476585 D [36845:70364734642900] [50be62e16b69338fed000001] RubySkynet::Connection: localhost:2100 -- Waiting for Service Handshake +2012-12-04 15:53:53.478245 D [36845:70364734596760] RubySkynet::Server -- Waiting for a client to connect +2012-12-04 15:53:53.478355 D [36845:70364734596760] RubySkynet::Server -- Client connected, waiting for data from client +2012-12-04 15:53:53.478927 T [36845:70364734642900] [50be62e16b69338fed000001] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "9\x00\x00\x00" +2012-12-04 15:53:53.478937 D [36845:70364734642900] [50be62e16b69338fed000001] (1.7ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 4 bytes +2012-12-04 15:53:53.478996 T [36845:70364734642900] [50be62e16b69338fed000001] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "\bregistered\x00\x01\x02clientid\x00\x19\x00\x00\x0050be62e16b69338fed000002\x00\x00" +2012-12-04 15:53:53.479003 D [36845:70364734642900] [50be62e16b69338fed000001] (0.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 53 bytes +2012-12-04 15:53:53.479052 T [36845:70364734642900] [50be62e16b69338fed000001] RubySkynet::Connection: localhost:2100 -- Service Handshake -- {"registered"=>true, "clientid"=>"50be62e16b69338fed000002"} +2012-12-04 15:53:53.479064 D [36845:70364734642900] [50be62e16b69338fed000001] RubySkynet::Connection: localhost:2100 -- Sending Client Handshake +2012-12-04 15:53:53.479071 T [36845:70364734642900] [50be62e16b69338fed000001] RubySkynet::Connection: localhost:2100 -- Client Handshake -- {"clientid"=>"50be62e16b69338fed000002"} +2012-12-04 15:53:53.479090 T [36845:70364734642900] [50be62e16b69338fed000001] ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sending -- ,clientid50be62e16b69338fed000002 +2012-12-04 15:53:53.479132 D [36845:70364734642900] [50be62e16b69338fed000001] (0.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sent 44 bytes +2012-12-04 15:53:53.479193 D [36845:70364734642900] [50be62e16b69338fed000001] RubySkynet::Connection: localhost:2100 -- Sending Header +2012-12-04 15:53:53.479204 T [36845:70364734642900] [50be62e16b69338fed000001] RubySkynet::Connection: localhost:2100 -- Header -- {"servicemethod"=>"RubySkynet.Service.Forward", "seq"=>0} +2012-12-04 15:53:53.479226 T [36845:70364734642900] [50be62e16b69338fed000001] ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sending -- <servicemethodRubySkynet.Service.Forwardseq +2012-12-04 15:53:53.479271 D [36845:70364734642900] [50be62e16b69338fed000001] (0.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sent 60 bytes +2012-12-04 15:53:53.479306 D [36845:70364734642900] [50be62e16b69338fed000001] RubySkynet::Connection: localhost:2100 -- Sending Request +2012-12-04 15:53:53.479314 T [36845:70364734642900] [50be62e16b69338fed000001] RubySkynet::Connection: localhost:2100 -- Request -- {"clientid"=>"50be62e16b69338fed000002", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"echo", "requestinfo"=>{"requestid"=>"50be62e16b69338fed000001", "retrycount"=>0, "originaddress"=>""}} +2012-12-04 15:53:53.479320 T [36845:70364734642900] [50be62e16b69338fed000001] RubySkynet::Connection: localhost:2100 -- Parameters: -- {"some"=>"parameters"} +2012-12-04 15:53:53.479338 T [36845:70364734642900] [50be62e16b69338fed000001] ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sending -- clientid50be62e16b69338fed000002insome parametersmethodechorequestinfoQrequestid50be62e16b69338fed000001retrycountoriginaddress +2012-12-04 15:53:53.479379 D [36845:70364734642900] [50be62e16b69338fed000001] (0.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sent 190 bytes +2012-12-04 15:53:53.479395 D [36845:70364734642900] [50be62e16b69338fed000001] RubySkynet::Connection: localhost:2100 -- Reading header from server +2012-12-04 15:53:53.481259 D [36845:70364734596760] RubySkynet::Server -- ****************** -2012-10-18 16:26:04.964743 D [1159:70111005212220] SimpleServer -- Received Request -2012-10-18 16:26:04.964743 D [1159:70111005212220] SimpleServer -- Received Request -2012-10-18 16:26:04.964752 T [1159:70111005212220] SimpleServer -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} -2012-10-18 16:26:04.964752 T [1159:70111005212220] SimpleServer -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} -- {"servicemethod"=>"TestService.Forward", "seq"=>0} -2012-10-18 16:26:04.964822 T [1159:70111005212220] SimpleServer -- Request -- {"clientid"=>"123", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"test1", "requestinfo"=>{"requestid"=>"508065dc6b69330487000001", "retrycount"=>0, "originaddress"=>""}} -2012-10-18 16:26:04.964822 T [1159:70111005212220] SimpleServer -- Request -- {"clientid"=>"123", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"test1", "requestinfo"=>{"requestid"=>"508065dc6b69330487000001", "retrycount"=>0, "originaddress"=>""}} -- {"clientid"=>"123", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"test1", "requestinfo"=>{"requestid"=>"508065dc6b69330487000001", "retrycount"=>0, "originaddress"=>""}} -2012-10-18 16:26:04.964846 D [1159:70111005212220] SimpleServer -- Sending Header -2012-10-18 16:26:04.964846 D [1159:70111005212220] SimpleServer -- Sending Header -2012-10-18 16:26:04.964903 D [1159:70111005212220] SimpleServer -- Sending Reply -2012-10-18 16:26:04.964903 D [1159:70111005212220] SimpleServer -- Sending Reply -2012-10-18 16:26:04.964918 T [1159:70111005212220] SimpleServer -- Reply -- {"result"=>"test1"} -2012-10-18 16:26:04.964918 T [1159:70111005212220] SimpleServer -- Reply -- {"result"=>"test1"} -- {"result"=>"test1"} -2012-10-18 16:26:04.965699 T [1159:70111004416720] [508065dc6b69330487000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "5\x00\x00\x00" -2012-10-18 16:26:04.965699 T [1159:70111004416720] [508065dc6b69330487000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "5\x00\x00\x00" -- "5\x00\x00\x00" -2012-10-18 16:26:04.965715 D [1159:70111004416720] [508065dc6b69330487000001] (1.1ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes -2012-10-18 16:26:04.965715 D [1159:70111004416720] [508065dc6b69330487000001] (1.1ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes -2012-10-18 16:26:04.965767 T [1159:70111004416720] [508065dc6b69330487000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "\x02servicemethod\x00\x14\x00\x00\x00TestService.Forward\x00\x10seq\x00\x00\x00\x00\x00\x00" -2012-10-18 16:26:04.965767 T [1159:70111004416720] [508065dc6b69330487000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "\x02servicemethod\x00\x14\x00\x00\x00TestService.Forward\x00\x10seq\x00\x00\x00\x00\x00\x00" -- "\x02servicemethod\x00\x14\x00\x00\x00TestService.Forward\x00\x10seq\x00\x00\x00\x00\x00\x00" -2012-10-18 16:26:04.965777 D [1159:70111004416720] [508065dc6b69330487000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 49 bytes -2012-10-18 16:26:04.965777 D [1159:70111004416720] [508065dc6b69330487000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 49 bytes -2012-10-18 16:26:04.965830 D [1159:70111004416720] [508065dc6b69330487000001] RubySkynet::Connection: 127.0.0.1:2000 -- Response Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} -2012-10-18 16:26:04.965830 D [1159:70111004416720] [508065dc6b69330487000001] RubySkynet::Connection: 127.0.0.1:2000 -- Response Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} -- {"servicemethod"=>"TestService.Forward", "seq"=>0} -2012-10-18 16:26:04.965843 D [1159:70111004416720] [508065dc6b69330487000001] RubySkynet::Connection: 127.0.0.1:2000 -- Reading response from server -2012-10-18 16:26:04.965843 D [1159:70111004416720] [508065dc6b69330487000001] RubySkynet::Connection: 127.0.0.1:2000 -- Reading response from server -2012-10-18 16:26:04.966282 T [1159:70111004416720] [508065dc6b69330487000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "&\x00\x00\x00" -2012-10-18 16:26:04.966282 T [1159:70111004416720] [508065dc6b69330487000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "&\x00\x00\x00" -- "&\x00\x00\x00" -2012-10-18 16:26:04.966297 D [1159:70111004416720] [508065dc6b69330487000001] (0.4ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes -2012-10-18 16:26:04.966297 D [1159:70111004416720] [508065dc6b69330487000001] (0.4ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes -2012-10-18 16:26:04.966355 T [1159:70111004416720] [508065dc6b69330487000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "\x02out\x00\x18\x00\x00\x00\x17\x00\x00\x00\x02result\x00\x06\x00\x00\x00test1\x00\x00\x00\x00" -2012-10-18 16:26:04.966355 T [1159:70111004416720] [508065dc6b69330487000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "\x02out\x00\x18\x00\x00\x00\x17\x00\x00\x00\x02result\x00\x06\x00\x00\x00test1\x00\x00\x00\x00" -- "\x02out\x00\x18\x00\x00\x00\x17\x00\x00\x00\x02result\x00\x06\x00\x00\x00test1\x00\x00\x00\x00" -2012-10-18 16:26:04.966365 D [1159:70111004416720] [508065dc6b69330487000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 34 bytes -2012-10-18 16:26:04.966365 D [1159:70111004416720] [508065dc6b69330487000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 34 bytes -2012-10-18 16:26:04.966395 T [1159:70111004416720] [508065dc6b69330487000001] RubySkynet::Connection: 127.0.0.1:2000 -- Response -- {"out"=>"\x17\x00\x00\x00\x02result\x00\x06\x00\x00\x00test1\x00\x00"} -2012-10-18 16:26:04.966395 T [1159:70111004416720] [508065dc6b69330487000001] RubySkynet::Connection: 127.0.0.1:2000 -- Response -- {"out"=>"\x17\x00\x00\x00\x02result\x00\x06\x00\x00\x00test1\x00\x00"} -- {"out"=>"\x17\x00\x00\x00\x02result\x00\x06\x00\x00\x00test1\x00\x00"} -2012-10-18 16:26:04.966419 T [1159:70111004416720] [508065dc6b69330487000001] RubySkynet::Connection: 127.0.0.1:2000 -- Return Value -- {"result"=>"test1"} -2012-10-18 16:26:04.966419 T [1159:70111004416720] [508065dc6b69330487000001] RubySkynet::Connection: 127.0.0.1:2000 -- Return Value -- {"result"=>"test1"} -- {"result"=>"test1"} -2012-10-18 16:26:04.966438 I [1159:70111004416720] [508065dc6b69330487000001] (15.6ms) RubySkynet::Client: TestService/1/Test -- Called Skynet Service: TestService.test1 -2012-10-18 16:26:04.966438 I [1159:70111004416720] [508065dc6b69330487000001] (15.6ms) RubySkynet::Client: TestService/1/Test -- Called Skynet Service: TestService.test1 -2012-10-18 16:26:04.966663 D [1159:70111004416720] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f87fb863ca8>(70111008595540) self=connections=70111008595540 checked_out=70111008595540 with_map= -2012-10-18 16:26:04.966663 D [1159:70111004416720] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f87fb863ca8>(70111008595540) self=connections=70111008595540 checked_out=70111008595540 with_map= -2012-10-18 16:26:04.966988 T [1159:70111004416720] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- <"+/services/TestService/1/Test/127.0.0.1/2000H -2012-10-18 16:26:04.966988 T [1159:70111004416720] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- <"+/services/TestService/1/Test/127.0.0.1/2000H -- <"+/services/TestService/1/Test/127.0.0.1/2000H -2012-10-18 16:26:04.967037 D [1159:70111004416720] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 64 bytes -2012-10-18 16:26:04.967037 D [1159:70111004416720] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 64 bytes -2012-10-18 16:26:04.979089 T [1159:70111008822380] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x007" -2012-10-18 16:26:04.979089 T [1159:70111008822380] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x007" -- "\x00\x00\x007" -2012-10-18 16:26:04.979109 D [1159:70111008822380] (16.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:26:04.979109 D [1159:70111008822380] (16.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:26:04.979400 T [1159:70111004416720] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x02" -2012-10-18 16:26:04.979400 T [1159:70111004416720] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x02" -- "\x00\x00\x00\x02" -2012-10-18 16:26:04.979413 D [1159:70111004416720] (12.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:26:04.979413 D [1159:70111004416720] (12.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:26:04.979480 T [1159:70111004416720] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00" -2012-10-18 16:26:04.979480 T [1159:70111004416720] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00" -- "\b\x00" -2012-10-18 16:26:04.979490 D [1159:70111004416720] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 2 bytes -2012-10-18 16:26:04.979490 D [1159:70111004416720] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 2 bytes -2012-10-18 16:26:04.979587 D [1159:70111004416720] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007f87fb863ca8>(70111008595540) self=connections=70111008595540 checked_out= with_map= -2012-10-18 16:26:04.979587 D [1159:70111004416720] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007f87fb863ca8>(70111008595540) self=connections=70111008595540 checked_out= with_map= -2012-10-18 16:26:04.980077 D [1159:70111004416720] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f87fb863ca8>(70111008595540) self=connections=70111008595540 checked_out=70111008595540 with_map= -2012-10-18 16:26:04.980077 D [1159:70111004416720] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f87fb863ca8>(70111008595540) self=connections=70111008595540 checked_out=70111008595540 with_map= -2012-10-18 16:26:04.980671 T [1159:70111004416720] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "+/services/TestService/1/Test/127.0.0.1/2000*{"Config":{"UUID":"3978b371-15e9-40f8-9b7b-59ae88d8c7ec","Name":"TestService","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"127.0.0.1","Port":2000,"MaxPort":2999}},"Registered":true}H -2012-10-18 16:26:04.980671 T [1159:70111004416720] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "+/services/TestService/1/Test/127.0.0.1/2000*{"Config":{"UUID":"3978b371-15e9-40f8-9b7b-59ae88d8c7ec","Name":"TestService","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"127.0.0.1","Port":2000,"MaxPort":2999}},"Registered":true}H -- "+/services/TestService/1/Test/127.0.0.1/2000*{"Config":{"UUID":"3978b371-15e9-40f8-9b7b-59ae88d8c7ec","Name":"TestService","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"127.0.0.1","Port":2000,"MaxPort":2999}},"Registered":true}H -2012-10-18 16:26:04.980742 T [1159:70111008822380] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\b\x18\xEC\xD0\x03*+/services/TestService/1/Test/127.0.0.1/20002\x00" -2012-10-18 16:26:04.980742 T [1159:70111008822380] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\b\x18\xEC\xD0\x03*+/services/TestService/1/Test/127.0.0.1/20002\x00" -- "\b\x00\x10\b\x18\xEC\xD0\x03*+/services/TestService/1/Test/127.0.0.1/20002\x00" -2012-10-18 16:26:04.980754 D [1159:70111008822380] (1.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 55 bytes -2012-10-18 16:26:04.980754 D [1159:70111008822380] (1.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 55 bytes -2012-10-18 16:26:04.980875 D [1159:70111008822380] RubySkynet::Registry -- #monitor Service stopped, remove: TestService/1/Test => 127.0.0.1:2000 -2012-10-18 16:26:04.980875 D [1159:70111008822380] RubySkynet::Registry -- #monitor Service stopped, remove: TestService/1/Test => 127.0.0.1:2000 -2012-10-18 16:26:04.980901 I [1159:70111008822380] RubySkynet::Registry -- Calling callback for server: 127.0.0.1:2000 -2012-10-18 16:26:04.980901 I [1159:70111008822380] RubySkynet::Registry -- Calling callback for server: 127.0.0.1:2000 -2012-10-18 16:26:04.980980 D [1159:70111008822380] RubySkynet::Connection -- Connection pool for server:127.0.0.1:2000 has been released -2012-10-18 16:26:04.980980 D [1159:70111008822380] RubySkynet::Connection -- Connection pool for server:127.0.0.1:2000 has been released -2012-10-18 16:26:04.980994 D [1159:70111008822380] RubySkynet::Registry -- Updated registry -- {"TutorialService/1/Development"=>["127.0.0.1:9000"]} -2012-10-18 16:26:04.980994 D [1159:70111008822380] RubySkynet::Registry -- Updated registry -- {"TutorialService/1/Development"=>["127.0.0.1:9000"]} -- {"TutorialService/1/Development"=>["127.0.0.1:9000"]} -2012-10-18 16:26:04.981544 T [1159:70111008822380] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H -2012-10-18 16:26:04.981544 T [1159:70111008822380] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H -- "/services/*/*/*/*/*H -2012-10-18 16:26:04.981625 D [1159:70111008822380] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 33 bytes -2012-10-18 16:26:04.981625 D [1159:70111008822380] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 33 bytes -2012-10-18 16:26:04.981812 D [1159:70111008946240] SimpleServer -- Waiting for a client to connect -2012-10-18 16:26:04.981812 D [1159:70111008946240] SimpleServer -- Waiting for a client to connect -2012-10-18 16:26:04.981838 D [1159:70111004416720] (1.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 261 bytes -2012-10-18 16:26:04.981838 D [1159:70111004416720] (1.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 261 bytes -2012-10-18 16:26:04.985863 T [1159:70111004416720] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x06" -2012-10-18 16:26:04.985863 T [1159:70111004416720] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x06" -- "\x00\x00\x00\x06" -2012-10-18 16:26:04.985881 D [1159:70111004416720] (4.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:26:04.985881 D [1159:70111004416720] (4.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:26:04.986750 T [1159:70111008822380] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\xFA" -2012-10-18 16:26:04.986750 T [1159:70111008822380] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\xFA" -- "\x00\x00\x00\xFA" -2012-10-18 16:26:04.986765 D [1159:70111008822380] (5.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:26:04.986765 D [1159:70111008822380] (5.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:26:04.988499 T [1159:70111004416720] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xED\xD0\x03" -2012-10-18 16:26:04.988499 T [1159:70111004416720] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xED\xD0\x03" -- "\b\x00\x18\xED\xD0\x03" -2012-10-18 16:26:04.988521 D [1159:70111004416720] (2.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 6 bytes -2012-10-18 16:26:04.988521 D [1159:70111004416720] (2.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 6 bytes -2012-10-18 16:26:04.988646 D [1159:70111004416720] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007f87fb863ca8>(70111008595540) self=connections=70111008595540 checked_out= with_map= -2012-10-18 16:26:04.988646 D [1159:70111004416720] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007f87fb863ca8>(70111008595540) self=connections=70111008595540 checked_out= with_map= -2012-10-18 16:26:04.989340 W [1159:70111004416720] [508065dc6b69330487000002] RubySkynet::Registry -- No servers available for service: TestService with version: 1 in region: Test -2012-10-18 16:26:04.989340 W [1159:70111004416720] [508065dc6b69330487000002] RubySkynet::Registry -- No servers available for service: TestService with version: 1 in region: Test -2012-10-18 16:26:04.989431 I [1159:70111004416720] [508065dc6b69330487000002] (0.2ms) RubySkynet::Client: TestService/1/Test -- Called Skynet Service: TestService.sleep -- RubySkynet::ServiceUnavailable: No servers available for service: TestService with version: 1 in region: Test +2012-12-04 15:53:53.481279 D [36845:70364734596760] RubySkynet::Server -- Received Request +2012-12-04 15:53:53.481290 T [36845:70364734596760] RubySkynet::Server -- Header -- {"servicemethod"=>"RubySkynet.Service.Forward", "seq"=>0} +2012-12-04 15:53:53.481728 T [36845:70364734596760] RubySkynet::Server -- Request -- {"clientid"=>"50be62e16b69338fed000002", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"echo", "requestinfo"=>{"requestid"=>"50be62e16b69338fed000001", "retrycount"=>0, "originaddress"=>""}} +2012-12-04 15:53:53.481793 T [36845:70364734596760] RubySkynet::Server -- Parameters -- {"some"=>"parameters"} +2012-12-04 15:53:53.481819 T [36845:70364734596760] RubySkynet::Server -- Method Call: echo with parameters: -- {"some"=>"parameters"} +2012-12-04 15:53:53.481835 D [36845:70364734596760] (0.0ms) RubySkynet::Server -- Called: RubySkynet.Service#echo +2012-12-04 15:53:53.481854 D [36845:70364734596760] RubySkynet::Server -- Sending Header +2012-12-04 15:53:53.481916 D [36845:70364734596760] RubySkynet::Server -- Sending Reply +2012-12-04 15:53:53.481929 T [36845:70364734596760] RubySkynet::Server -- Reply -- {"some"=>"parameters"} +2012-12-04 15:53:53.482192 T [36845:70364734642900] [50be62e16b69338fed000001] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "<\x00\x00\x00" +2012-12-04 15:53:53.482201 D [36845:70364734642900] [50be62e16b69338fed000001] (2.8ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 4 bytes +2012-12-04 15:53:53.482254 T [36845:70364734642900] [50be62e16b69338fed000001] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "\x02servicemethod\x00\e\x00\x00\x00RubySkynet.Service.Forward\x00\x10seq\x00\x00\x00\x00\x00\x00" +2012-12-04 15:53:53.482261 D [36845:70364734642900] [50be62e16b69338fed000001] (0.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 56 bytes +2012-12-04 15:53:53.482294 D [36845:70364734642900] [50be62e16b69338fed000001] RubySkynet::Connection: localhost:2100 -- Response Header -- {"servicemethod"=>"RubySkynet.Service.Forward", "seq"=>0} +2012-12-04 15:53:53.482301 D [36845:70364734642900] [50be62e16b69338fed000001] RubySkynet::Connection: localhost:2100 -- Reading response from server +2012-12-04 15:53:53.482345 T [36845:70364734642900] [50be62e16b69338fed000001] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- ")\x00\x00\x00" +2012-12-04 15:53:53.482352 D [36845:70364734642900] [50be62e16b69338fed000001] (0.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 4 bytes +2012-12-04 15:53:53.482401 T [36845:70364734642900] [50be62e16b69338fed000001] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "\x02out\x00\e\x00\x00\x00\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00\x00\x00" +2012-12-04 15:53:53.482407 D [36845:70364734642900] [50be62e16b69338fed000001] (0.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 37 bytes +2012-12-04 15:53:53.482434 T [36845:70364734642900] [50be62e16b69338fed000001] RubySkynet::Connection: localhost:2100 -- Response -- {"out"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00"} +2012-12-04 15:53:53.482457 T [36845:70364734642900] [50be62e16b69338fed000001] RubySkynet::Connection: localhost:2100 -- Return Value -- {"some"=>"parameters"} +2012-12-04 15:53:53.482477 I [36845:70364734642900] [50be62e16b69338fed000001] (14.9ms) RubySkynet::Client: RubySkynet.Service/1/Test -- Called Skynet Service: RubySkynet.Service.echo +2012-12-04 15:53:53.482944 I [36845:70364734596760] RubySkynet::Server -- Skynet Server Stopped +2012-12-04 15:53:53.486533 I [36845:70364734596760] RubySkynet::Server -- Starting listener on localhost:2100 +2012-12-04 15:53:53.486557 D [36845:70364734596760] RubySkynet::Server -- Waiting for a client to connect +2012-12-04 15:53:53.486881 I [36845:70364734596760] RubySkynet::Server -- Skynet Server Stopped +2012-12-04 15:53:53.487875 I [36845:70364734596760] RubySkynet::Server -- Starting listener on localhost:2100 +2012-12-04 15:53:53.487896 D [36845:70364734596760] RubySkynet::Server -- Waiting for a client to connect +2012-12-04 15:53:53.488135 D [36845:70364734642900] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007ffe2225bfe8>(70364735660020) self=connections=70364735660020 checked_out=70364735660020 with_map= +2012-12-04 15:53:53.488411 T [36845:70364734642900] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- 8"2/services/RubySkynet.Service/1/Test/localhost/2100 +2012-12-04 15:53:53.488517 D [36845:70364734642900] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 60 bytes +2012-12-04 15:53:53.489380 T [36845:70364734642900] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\xE4" +2012-12-04 15:53:53.489393 D [36845:70364734642900] (0.9ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-04 15:53:53.489551 T [36845:70364734642900] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xE1\x152\xDC\x01{\"Config\":{\"UUID\":\"localhost:2100-36845-RubySkynet::Service-70364742920740\",\"Name\":\"RubySkynet.Service\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-04 15:53:53.489570 D [36845:70364734642900] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 228 bytes +2012-12-04 15:53:53.489698 D [36845:70364734642900] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007ffe2225bfe8>(70364735660020) self=connections=70364735660020 checked_out= with_map= +2012-12-04 15:53:53.490512 I [36845:70364734596760] RubySkynet::Server -- Skynet Server Stopped +2012-12-04 15:53:53.492333 I [36845:70364734642900] Celluloid -- Terminating 4 actors... +2012-12-04 15:53:53.493082 I [36845:70364734642900] Celluloid -- Shutdown completed cleanly +2012-12-04 15:58:57.020605 I [37444:70195540566300] RubySkynet::Server -- Starting listener on localhost:2100 +2012-12-04 15:58:57.020644 D [37444:70195540566300] RubySkynet::Server -- Waiting for a client to connect +2012-12-04 15:58:57.032010 D [37444:70195540613840] RubySkynet::Registry -- Doozer Connection Pool: Created connection #1 #<Thread:0x007faf5886b5a0>(70195540613840) for Doozer Connection Pool +2012-12-04 15:58:57.056355 T [37444:70195540613840] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007faf58c8dd90@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-04 15:58:57.060291 D [37444:70195540613840] RubySkynet::Registry -- Doozer Connection Pool: Renewed connection old=70195540613840 new=#<RubySkynet::Doozer::Client:0x007faf58c8def8>(70195542781820) +2012-12-04 15:58:57.060448 D [37444:70195540613840] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007faf58c8def8>(70195542781820) self=connections=70195542781820 checked_out=70195542781820 with_map= +2012-12-04 15:58:57.089981 T [37444:70195540613840] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- ""2/services/RubySkynet.Service/1/Test/localhost/2100*{"Config":{"UUID":"localhost:2100-37444-RubySkynet::Service-70195540999360","Name":"RubySkynet.Service","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"localhost","Port":2100,"MaxPort":3099}},"Registered":true}H +2012-12-04 15:58:57.090372 D [37444:70195540613840] (0.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 294 bytes +2012-12-04 15:58:57.095511 T [37444:70195540613840] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-04 15:58:57.095571 D [37444:70195540613840] (5.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-04 15:58:57.096111 T [37444:70195540613840] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\x90\x18" +2012-12-04 15:58:57.096307 D [37444:70195540613840] (0.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-04 15:58:57.096563 D [37444:70195540613840] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007faf58c8def8>(70195542781820) self=connections=70195542781820 checked_out= with_map= +2012-12-04 15:58:57.101468 D [37444:70195540613840] [50be64116b69339244000001] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007faf58c8def8>(70195542781820) self=connections=70195542781820 checked_out=70195542781820 with_map= +2012-12-04 15:58:57.101714 T [37444:70195540613840] [50be64116b69339244000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  +2012-12-04 15:58:57.101971 D [37444:70195540613840] [50be64116b69339244000001] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 8 bytes +2012-12-04 15:58:57.102288 T [37444:70195540613840] [50be64116b69339244000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-04 15:58:57.102316 D [37444:70195540613840] [50be64116b69339244000001] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-04 15:58:57.102402 T [37444:70195540613840] [50be64116b69339244000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\x90\x18" +2012-12-04 15:58:57.102408 D [37444:70195540613840] [50be64116b69339244000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-04 15:58:57.102704 T [37444:70195540613840] [50be64116b69339244000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H +2012-12-04 15:58:57.102742 D [37444:70195540613840] [50be64116b69339244000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-04 15:58:57.103538 T [37444:70195540613840] [50be64116b69339244000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01(" +2012-12-04 15:58:57.103579 D [37444:70195540613840] [50be64116b69339244000001] (0.8ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-04 15:58:57.105845 T [37444:70195540613840] [50be64116b69339244000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xA2\t*9/services/RubySkynet.Service/1/Development/localhost/21002\xE3\x01{\"Config\":{\"UUID\":\"localhost:2100-36005-RubySkynet::Service-70299094646300\",\"Name\":\"RubySkynet.Service\",\"Version\":\"1\",\"Region\":\"Development\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-04 15:58:57.105887 D [37444:70195540613840] [50be64116b69339244000001] (2.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 296 bytes +2012-12-04 15:58:57.106344 T [37444:70195540613840] [50be64116b69339244000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H +2012-12-04 15:58:57.106740 D [37444:70195540613840] [50be64116b69339244000001] (0.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-04 15:58:57.107031 T [37444:70195540613840] [50be64116b69339244000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01\x1A" +2012-12-04 15:58:57.107039 D [37444:70195540613840] [50be64116b69339244000001] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-04 15:58:57.107531 T [37444:70195540613840] [50be64116b69339244000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\x90\x18*2/services/RubySkynet.Service/1/Test/localhost/21002\xDC\x01{\"Config\":{\"UUID\":\"localhost:2100-37444-RubySkynet::Service-70195540999360\",\"Name\":\"RubySkynet.Service\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-04 15:58:57.107543 D [37444:70195540613840] [50be64116b69339244000001] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 282 bytes +2012-12-04 15:58:57.107834 T [37444:70195540613840] [50be64116b69339244000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H +2012-12-04 15:58:57.107877 D [37444:70195540613840] [50be64116b69339244000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-04 15:58:57.108580 T [37444:70195540613840] [50be64116b69339244000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-04 15:58:57.108592 D [37444:70195540613840] [50be64116b69339244000001] (0.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-04 15:58:57.108852 T [37444:70195540613840] [50be64116b69339244000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\xA0\x06\b" +2012-12-04 15:58:57.108918 D [37444:70195540613840] [50be64116b69339244000001] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-04 15:58:57.109122 D [37444:70195540613840] [50be64116b69339244000001] RubySkynet::Registry -- #start_monitoring Add Service: RubySkynet.Service/1/Development => localhost:2100 +2012-12-04 15:58:57.109174 D [37444:70195540613840] [50be64116b69339244000001] RubySkynet::Registry -- #start_monitoring Add Service: RubySkynet.Service/1/Test => localhost:2100 +2012-12-04 15:58:57.109216 D [37444:70195540613840] [50be64116b69339244000001] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007faf58c8def8>(70195542781820) self=connections=70195542781820 checked_out= with_map= +2012-12-04 15:58:57.109717 I [37444:70195541477280] RubySkynet::Registry -- Start monitoring /services/*/*/*/*/* +2012-12-04 15:58:57.109756 T [37444:70195541477280] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007faf58a15270@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-04 15:58:57.110468 T [37444:70195541477280] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-04 15:58:57.110511 D [37444:70195541477280] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-04 15:58:57.115374 D [37444:70195540566300] RubySkynet::Server -- Waiting for a client to connect +2012-12-04 15:58:57.115489 D [37444:70195540566300] RubySkynet::Server -- Client connected, waiting for data from client +2012-12-04 15:58:57.117547 D [37444:70195540613840] [50be64116b69339244000001] RubySkynet::Connection: localhost:2100 -- Waiting for Service Handshake +2012-12-04 15:58:57.117772 T [37444:70195540613840] [50be64116b69339244000001] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "9\x00\x00\x00" +2012-12-04 15:58:57.117785 D [37444:70195540613840] [50be64116b69339244000001] (0.2ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 4 bytes +2012-12-04 15:58:57.117865 T [37444:70195540613840] [50be64116b69339244000001] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "\bregistered\x00\x01\x02clientid\x00\x19\x00\x00\x0050be64116b69339244000002\x00\x00" +2012-12-04 15:58:57.117871 D [37444:70195540613840] [50be64116b69339244000001] (0.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 53 bytes +2012-12-04 15:58:57.117969 T [37444:70195540613840] [50be64116b69339244000001] RubySkynet::Connection: localhost:2100 -- Service Handshake -- {"registered"=>true, "clientid"=>"50be64116b69339244000002"} +2012-12-04 15:58:57.117987 D [37444:70195540613840] [50be64116b69339244000001] RubySkynet::Connection: localhost:2100 -- Sending Client Handshake +2012-12-04 15:58:57.117993 T [37444:70195540613840] [50be64116b69339244000001] RubySkynet::Connection: localhost:2100 -- Client Handshake -- {"clientid"=>"50be64116b69339244000002"} +2012-12-04 15:58:57.118018 T [37444:70195540613840] [50be64116b69339244000001] ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sending -- ,clientid50be64116b69339244000002 +2012-12-04 15:58:57.120018 D [37444:70195540613840] [50be64116b69339244000001] (2.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sent 44 bytes +2012-12-04 15:58:57.120171 D [37444:70195540613840] [50be64116b69339244000001] RubySkynet::Connection: localhost:2100 -- Sending Header +2012-12-04 15:58:57.120195 T [37444:70195540613840] [50be64116b69339244000001] RubySkynet::Connection: localhost:2100 -- Header -- {"servicemethod"=>"RubySkynet.Service.Forward", "seq"=>0} +2012-12-04 15:58:57.120223 T [37444:70195540613840] [50be64116b69339244000001] ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sending -- <servicemethodRubySkynet.Service.Forwardseq +2012-12-04 15:58:57.120818 D [37444:70195540613840] [50be64116b69339244000001] (0.6ms) ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sent 60 bytes +2012-12-04 15:58:57.120887 D [37444:70195540613840] [50be64116b69339244000001] RubySkynet::Connection: localhost:2100 -- Sending Request +2012-12-04 15:58:57.120894 T [37444:70195540613840] [50be64116b69339244000001] RubySkynet::Connection: localhost:2100 -- Request -- {"clientid"=>"50be64116b69339244000002", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"echo", "requestinfo"=>{"requestid"=>"50be64116b69339244000001", "retrycount"=>0, "originaddress"=>""}} +2012-12-04 15:58:57.120900 T [37444:70195540613840] [50be64116b69339244000001] RubySkynet::Connection: localhost:2100 -- Parameters: -- {"some"=>"parameters"} +2012-12-04 15:58:57.120917 T [37444:70195540613840] [50be64116b69339244000001] ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sending -- clientid50be64116b69339244000002insome parametersmethodechorequestinfoQrequestid50be64116b69339244000001retrycountoriginaddress +2012-12-04 15:58:57.121092 D [37444:70195540613840] [50be64116b69339244000001] (0.2ms) ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sent 190 bytes +2012-12-04 15:58:57.121108 D [37444:70195540613840] [50be64116b69339244000001] RubySkynet::Connection: localhost:2100 -- Reading header from server +2012-12-04 15:58:57.121256 D [37444:70195540566300] RubySkynet::Server -- +****************** +2012-12-04 15:58:57.121269 D [37444:70195540566300] RubySkynet::Server -- Received Request +2012-12-04 15:58:57.121279 T [37444:70195540566300] RubySkynet::Server -- Header -- {"servicemethod"=>"RubySkynet.Service.Forward", "seq"=>0} +2012-12-04 15:58:57.121587 T [37444:70195540566300] RubySkynet::Server -- Request -- {"clientid"=>"50be64116b69339244000002", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"echo", "requestinfo"=>{"requestid"=>"50be64116b69339244000001", "retrycount"=>0, "originaddress"=>""}} +2012-12-04 15:58:57.121610 T [37444:70195540566300] RubySkynet::Server -- Parameters -- {"some"=>"parameters"} +2012-12-04 15:58:57.121633 T [37444:70195540566300] RubySkynet::Server -- Method Call: echo with parameters: -- {"some"=>"parameters"} +2012-12-04 15:58:57.121652 D [37444:70195540566300] (0.0ms) RubySkynet::Server -- Called: RubySkynet.Service#echo +2012-12-04 15:58:57.121669 D [37444:70195540566300] RubySkynet::Server -- Sending Header +2012-12-04 15:58:57.121735 D [37444:70195540566300] RubySkynet::Server -- Sending Reply +2012-12-04 15:58:57.121747 T [37444:70195540566300] RubySkynet::Server -- Reply -- {"some"=>"parameters"} +2012-12-04 15:58:57.122022 T [37444:70195540613840] [50be64116b69339244000001] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "<\x00\x00\x00" +2012-12-04 15:58:57.122030 D [37444:70195540613840] [50be64116b69339244000001] (0.9ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 4 bytes +2012-12-04 15:58:57.122110 T [37444:70195540613840] [50be64116b69339244000001] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "\x02servicemethod\x00\e\x00\x00\x00RubySkynet.Service.Forward\x00\x10seq\x00\x00\x00\x00\x00\x00" +2012-12-04 15:58:57.122117 D [37444:70195540613840] [50be64116b69339244000001] (0.1ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 56 bytes +2012-12-04 15:58:57.122175 D [37444:70195540613840] [50be64116b69339244000001] RubySkynet::Connection: localhost:2100 -- Response Header -- {"servicemethod"=>"RubySkynet.Service.Forward", "seq"=>0} +2012-12-04 15:58:57.122185 D [37444:70195540613840] [50be64116b69339244000001] RubySkynet::Connection: localhost:2100 -- Reading response from server +2012-12-04 15:58:57.122644 T [37444:70195540613840] [50be64116b69339244000001] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- ")\x00\x00\x00" +2012-12-04 15:58:57.122673 D [37444:70195540613840] [50be64116b69339244000001] (0.5ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 4 bytes +2012-12-04 15:58:57.123122 T [37444:70195540613840] [50be64116b69339244000001] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "\x02out\x00\e\x00\x00\x00\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00\x00\x00" +2012-12-04 15:58:57.123179 D [37444:70195540613840] [50be64116b69339244000001] (0.5ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 37 bytes +2012-12-04 15:58:57.123221 T [37444:70195540613840] [50be64116b69339244000001] RubySkynet::Connection: localhost:2100 -- Response -- {"out"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00"} +2012-12-04 15:58:57.123245 T [37444:70195540613840] [50be64116b69339244000001] RubySkynet::Connection: localhost:2100 -- Return Value -- {"some"=>"parameters"} +2012-12-04 15:58:57.123266 I [37444:70195540613840] [50be64116b69339244000001] (23.8ms) RubySkynet::Client: RubySkynet.Service/1/Test -- Called Skynet Service: RubySkynet.Service.echo +2012-12-04 15:58:57.124327 I [37444:70195540566300] RubySkynet::Server -- Skynet Server Stopped +2012-12-04 15:58:57.128837 I [37444:70195540566300] RubySkynet::Server -- Starting listener on localhost:2100 +2012-12-04 15:58:57.128860 D [37444:70195540566300] RubySkynet::Server -- Waiting for a client to connect +2012-12-04 15:58:57.129338 I [37444:70195540566300] RubySkynet::Server -- Skynet Server Stopped +2012-12-04 15:58:57.130151 I [37444:70195540566300] RubySkynet::Server -- Starting listener on localhost:2100 +2012-12-04 15:58:57.130171 D [37444:70195540566300] RubySkynet::Server -- Waiting for a client to connect +2012-12-04 15:58:57.130527 D [37444:70195540613840] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007faf58c8def8>(70195542781820) self=connections=70195542781820 checked_out=70195542781820 with_map= +2012-12-04 15:58:57.130860 T [37444:70195540613840] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- 8"2/services/RubySkynet.Service/1/Test/localhost/2100 +2012-12-04 15:58:57.131359 D [37444:70195540613840] (0.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 60 bytes +2012-12-04 15:58:57.131606 T [37444:70195540613840] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\xE4" +2012-12-04 15:58:57.131642 D [37444:70195540613840] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-04 15:58:57.131889 T [37444:70195540613840] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\x90\x182\xDC\x01{\"Config\":{\"UUID\":\"localhost:2100-37444-RubySkynet::Service-70195540999360\",\"Name\":\"RubySkynet.Service\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-04 15:58:57.131925 D [37444:70195540613840] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 228 bytes +2012-12-04 15:58:57.132278 D [37444:70195540613840] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007faf58c8def8>(70195542781820) self=connections=70195542781820 checked_out= with_map= +2012-12-04 15:58:57.132937 I [37444:70195540566300] RubySkynet::Server -- Skynet Server Stopped +2012-12-04 15:58:57.134820 I [37444:70195540613840] Celluloid -- Terminating 4 actors... +2012-12-04 15:58:57.135698 I [37444:70195540613840] Celluloid -- Shutdown completed cleanly +2012-12-05 08:24:38.358083 I [38153:70177693814980] RubySkynet::Server -- Starting listener on localhost:2100 +2012-12-05 08:24:38.358115 D [38153:70177693814980] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 08:24:38.378391 D [38153:70177693850320] RubySkynet::Registry -- Doozer Connection Pool: Created connection #1 #<Thread:0x007fa70906b5a0>(70177693850320) for Doozer Connection Pool +2012-12-05 08:24:38.409483 T [38153:70177693850320] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007fa7094043b0@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 08:24:38.413844 W [38153:70177693850320] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 1 +2012-12-05 08:24:39.415002 W [38153:70177693850320] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 2 +2012-12-05 08:24:40.416102 W [38153:70177693850320] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 3 +2012-12-05 08:24:41.417165 W [38153:70177693850320] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 4 +2012-12-05 08:24:42.418409 W [38153:70177693850320] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 5 +2012-12-05 08:24:43.420060 W [38153:70177693850320] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 6 +2012-12-05 08:24:44.421742 W [38153:70177693850320] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 7 +2012-12-05 08:24:45.422373 W [38153:70177693850320] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 8 +2012-12-05 08:24:46.422939 W [38153:70177693850320] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 9 +2012-12-05 08:24:47.424099 W [38153:70177693850320] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 10 +2012-12-05 08:24:48.424701 W [38153:70177693850320] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 11 +2012-12-05 08:24:49.425163 W [38153:70177693850320] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 12 +2012-12-05 08:24:50.426001 W [38153:70177693850320] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 13 +2012-12-05 08:24:51.427064 W [38153:70177693850320] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 14 +2012-12-05 08:24:52.427928 W [38153:70177693850320] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 15 +2012-12-05 08:24:53.428487 W [38153:70177693850320] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 16 +2012-12-05 08:24:54.429496 W [38153:70177693850320] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 17 +2012-12-05 08:24:55.430543 W [38153:70177693850320] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 18 +2012-12-05 08:24:56.432085 W [38153:70177693850320] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 19 +2012-12-05 08:24:57.437429 W [38153:70177693850320] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 20 +2012-12-05 08:24:58.438706 W [38153:70177693850320] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 21 +2012-12-05 08:24:59.439787 W [38153:70177693850320] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 22 +2012-12-05 08:25:00.441256 W [38153:70177693850320] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 23 +2012-12-05 08:25:01.442807 W [38153:70177693850320] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 24 +2012-12-05 08:25:02.443541 W [38153:70177693850320] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 25 +2012-12-05 08:25:03.444699 W [38153:70177693850320] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 26 +2012-12-05 08:25:04.445744 W [38153:70177693850320] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 27 +2012-12-05 08:25:05.446969 W [38153:70177693850320] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 28 +2012-12-05 08:25:06.447715 W [38153:70177693850320] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 29 +2012-12-05 08:25:07.448347 W [38153:70177693850320] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 30 +2012-12-05 08:25:08.449916 W [38153:70177693850320] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 31 +2012-12-05 08:25:09.450999 W [38153:70177693850320] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 32 +2012-12-05 08:25:10.452071 W [38153:70177693850320] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 33 +2012-12-05 08:25:11.453614 W [38153:70177693850320] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 34 +2012-12-05 08:25:12.454848 W [38153:70177693850320] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 35 +2012-12-05 08:25:13.468800 W [38153:70177693850320] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 36 +2012-12-05 08:25:14.470345 W [38153:70177693850320] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 37 +2012-12-05 08:25:15.470885 W [38153:70177693850320] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 38 +2012-12-05 08:25:16.472798 D [38153:70177693850320] RubySkynet::Registry -- Doozer Connection Pool: Renewed connection old=70177693850320 new=#<RubySkynet::Doozer::Client:0x007fa7094044c8>(70177695736420) +2012-12-05 08:25:16.472873 D [38153:70177693850320] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fa7094044c8>(70177695736420) self=connections=70177695736420 checked_out=70177695736420 with_map= +2012-12-05 08:25:16.507769 T [38153:70177693850320] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- ""2/services/RubySkynet.Service/1/Test/localhost/2100*{"Config":{"UUID":"localhost:2100-38153-RubySkynet::Service-70177694137240","Name":"RubySkynet.Service","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"localhost","Port":2100,"MaxPort":3099}},"Registered":true}H +2012-12-05 08:25:16.508159 D [38153:70177693850320] (0.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 294 bytes +2012-12-05 08:25:16.517451 T [38153:70177693850320] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x04" +2012-12-05 08:25:16.517543 D [38153:70177693850320] (9.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 08:25:16.517883 T [38153:70177693850320] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18;" +2012-12-05 08:25:16.517897 D [38153:70177693850320] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 08:25:16.518080 D [38153:70177693850320] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fa7094044c8>(70177695736420) self=connections=70177695736420 checked_out= with_map= +2012-12-05 08:25:16.522366 D [38153:70177693850320] [50bf4b3c6b69339509000001] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fa7094044c8>(70177695736420) self=connections=70177695736420 checked_out=70177695736420 with_map= +2012-12-05 08:25:16.522611 T [38153:70177693850320] [50bf4b3c6b69339509000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  +2012-12-05 08:25:16.522844 D [38153:70177693850320] [50bf4b3c6b69339509000001] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 8 bytes +2012-12-05 08:25:16.522985 T [38153:70177693850320] [50bf4b3c6b69339509000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x04" +2012-12-05 08:25:16.522992 D [38153:70177693850320] [50bf4b3c6b69339509000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 08:25:16.523204 T [38153:70177693850320] [50bf4b3c6b69339509000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18;" +2012-12-05 08:25:16.523211 D [38153:70177693850320] [50bf4b3c6b69339509000001] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 08:25:16.523479 T [38153:70177693850320] [50bf4b3c6b69339509000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H; +2012-12-05 08:25:16.523519 D [38153:70177693850320] [50bf4b3c6b69339509000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 33 bytes +2012-12-05 08:25:16.524332 T [38153:70177693850320] [50bf4b3c6b69339509000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01\x19" +2012-12-05 08:25:16.524362 D [38153:70177693850320] [50bf4b3c6b69339509000001] (0.8ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 08:25:16.524689 T [38153:70177693850320] [50bf4b3c6b69339509000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18;*2/services/RubySkynet.Service/1/Test/localhost/21002\xDC\x01{\"Config\":{\"UUID\":\"localhost:2100-38153-RubySkynet::Service-70177694137240\",\"Name\":\"RubySkynet.Service\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-05 08:25:16.524746 D [38153:70177693850320] [50bf4b3c6b69339509000001] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 281 bytes +2012-12-05 08:25:16.525069 T [38153:70177693850320] [50bf4b3c6b69339509000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H; +2012-12-05 08:25:16.525500 D [38153:70177693850320] [50bf4b3c6b69339509000001] (0.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 33 bytes +2012-12-05 08:25:16.525730 T [38153:70177693850320] [50bf4b3c6b69339509000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 08:25:16.525742 D [38153:70177693850320] [50bf4b3c6b69339509000001] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 08:25:16.525804 T [38153:70177693850320] [50bf4b3c6b69339509000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\xA0\x06\b" +2012-12-05 08:25:16.525810 D [38153:70177693850320] [50bf4b3c6b69339509000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 08:25:16.525993 D [38153:70177693850320] [50bf4b3c6b69339509000001] RubySkynet::Registry -- #start_monitoring Add Service: RubySkynet.Service/1/Test => localhost:2100 +2012-12-05 08:25:16.526032 D [38153:70177693850320] [50bf4b3c6b69339509000001] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fa7094044c8>(70177695736420) self=connections=70177695736420 checked_out= with_map= +2012-12-05 08:25:16.526895 I [38153:70177696103200] RubySkynet::Registry -- Start monitoring /services/*/*/*/*/* +2012-12-05 08:25:16.526941 T [38153:70177696103200] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007fa70a27e198@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 08:25:16.528087 T [38153:70177696103200] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H< +2012-12-05 08:25:16.528161 D [38153:70177696103200] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 31 bytes +2012-12-05 08:25:16.529452 D [38153:70177693814980] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 08:25:16.529555 D [38153:70177693814980] RubySkynet::Server -- Client connected, waiting for data from client +2012-12-05 08:25:16.531320 D [38153:70177693850320] [50bf4b3c6b69339509000001] RubySkynet::Connection: localhost:2100 -- Waiting for Service Handshake +2012-12-05 08:25:16.531504 T [38153:70177693850320] [50bf4b3c6b69339509000001] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "9\x00\x00\x00" +2012-12-05 08:25:16.531536 D [38153:70177693850320] [50bf4b3c6b69339509000001] (0.2ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 4 bytes +2012-12-05 08:25:16.531786 T [38153:70177693850320] [50bf4b3c6b69339509000001] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "\bregistered\x00\x01\x02clientid\x00\x19\x00\x00\x0050bf4b3c6b69339509000002\x00\x00" +2012-12-05 08:25:16.531814 D [38153:70177693850320] [50bf4b3c6b69339509000001] (0.3ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 53 bytes +2012-12-05 08:25:16.531887 T [38153:70177693850320] [50bf4b3c6b69339509000001] RubySkynet::Connection: localhost:2100 -- Service Handshake -- {"registered"=>true, "clientid"=>"50bf4b3c6b69339509000002"} +2012-12-05 08:25:16.531899 D [38153:70177693850320] [50bf4b3c6b69339509000001] RubySkynet::Connection: localhost:2100 -- Sending Client Handshake +2012-12-05 08:25:16.531905 T [38153:70177693850320] [50bf4b3c6b69339509000001] RubySkynet::Connection: localhost:2100 -- Client Handshake -- {"clientid"=>"50bf4b3c6b69339509000002"} +2012-12-05 08:25:16.531924 T [38153:70177693850320] [50bf4b3c6b69339509000001] ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sending -- ,clientid50bf4b3c6b69339509000002 +2012-12-05 08:25:16.532912 D [38153:70177693850320] [50bf4b3c6b69339509000001] (1.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sent 44 bytes +2012-12-05 08:25:16.533076 D [38153:70177693850320] [50bf4b3c6b69339509000001] RubySkynet::Connection: localhost:2100 -- Sending Header +2012-12-05 08:25:16.533087 T [38153:70177693850320] [50bf4b3c6b69339509000001] RubySkynet::Connection: localhost:2100 -- Header -- {"servicemethod"=>"RubySkynet.Service.Forward", "seq"=>0} +2012-12-05 08:25:16.533109 T [38153:70177693850320] [50bf4b3c6b69339509000001] ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sending -- <servicemethodRubySkynet.Service.Forwardseq +2012-12-05 08:25:16.533630 D [38153:70177693814980] RubySkynet::Server -- +****************** +2012-12-05 08:25:16.533649 D [38153:70177693814980] RubySkynet::Server -- Received Request +2012-12-05 08:25:16.533660 T [38153:70177693814980] RubySkynet::Server -- Header -- {"servicemethod"=>"RubySkynet.Service.Forward", "seq"=>0} +2012-12-05 08:25:16.533882 D [38153:70177693850320] [50bf4b3c6b69339509000001] (0.8ms) ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sent 60 bytes +2012-12-05 08:25:16.533919 D [38153:70177693850320] [50bf4b3c6b69339509000001] RubySkynet::Connection: localhost:2100 -- Sending Request +2012-12-05 08:25:16.533926 T [38153:70177693850320] [50bf4b3c6b69339509000001] RubySkynet::Connection: localhost:2100 -- Request -- {"clientid"=>"50bf4b3c6b69339509000002", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"echo", "requestinfo"=>{"requestid"=>"50bf4b3c6b69339509000001", "retrycount"=>0, "originaddress"=>""}} +2012-12-05 08:25:16.533932 T [38153:70177693850320] [50bf4b3c6b69339509000001] RubySkynet::Connection: localhost:2100 -- Parameters: -- {"some"=>"parameters"} +2012-12-05 08:25:16.533949 T [38153:70177693850320] [50bf4b3c6b69339509000001] ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sending -- clientid50bf4b3c6b69339509000002insome parametersmethodechorequestinfoQrequestid50bf4b3c6b69339509000001retrycountoriginaddress +2012-12-05 08:25:16.533992 D [38153:70177693850320] [50bf4b3c6b69339509000001] (0.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sent 190 bytes +2012-12-05 08:25:16.534006 D [38153:70177693850320] [50bf4b3c6b69339509000001] RubySkynet::Connection: localhost:2100 -- Reading header from server +2012-12-05 08:25:16.534831 T [38153:70177693814980] RubySkynet::Server -- Request -- {"clientid"=>"50bf4b3c6b69339509000002", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"echo", "requestinfo"=>{"requestid"=>"50bf4b3c6b69339509000001", "retrycount"=>0, "originaddress"=>""}} +2012-12-05 08:25:16.534859 T [38153:70177693814980] RubySkynet::Server -- Parameters -- {"some"=>"parameters"} +2012-12-05 08:25:16.534882 T [38153:70177693814980] RubySkynet::Server -- Method Call: echo with parameters: -- {"some"=>"parameters"} +2012-12-05 08:25:16.534896 D [38153:70177693814980] (0.0ms) RubySkynet::Server -- Called: RubySkynet.Service#echo +2012-12-05 08:25:16.534913 D [38153:70177693814980] RubySkynet::Server -- Sending Header +2012-12-05 08:25:16.534973 D [38153:70177693814980] RubySkynet::Server -- Sending Reply +2012-12-05 08:25:16.534985 T [38153:70177693814980] RubySkynet::Server -- Reply -- {"some"=>"parameters"} +2012-12-05 08:25:16.535212 T [38153:70177693850320] [50bf4b3c6b69339509000001] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "<\x00\x00\x00" +2012-12-05 08:25:16.535221 D [38153:70177693850320] [50bf4b3c6b69339509000001] (1.2ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 4 bytes +2012-12-05 08:25:16.535819 T [38153:70177693850320] [50bf4b3c6b69339509000001] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "\x02servicemethod\x00\e\x00\x00\x00RubySkynet.Service.Forward\x00\x10seq\x00\x00\x00\x00\x00\x00" +2012-12-05 08:25:16.535906 D [38153:70177693850320] [50bf4b3c6b69339509000001] (0.7ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 56 bytes +2012-12-05 08:25:16.535973 D [38153:70177693850320] [50bf4b3c6b69339509000001] RubySkynet::Connection: localhost:2100 -- Response Header -- {"servicemethod"=>"RubySkynet.Service.Forward", "seq"=>0} +2012-12-05 08:25:16.535981 D [38153:70177693850320] [50bf4b3c6b69339509000001] RubySkynet::Connection: localhost:2100 -- Reading response from server +2012-12-05 08:25:16.536395 T [38153:70177693850320] [50bf4b3c6b69339509000001] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- ")\x00\x00\x00" +2012-12-05 08:25:16.536468 D [38153:70177693850320] [50bf4b3c6b69339509000001] (0.5ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 4 bytes +2012-12-05 08:25:16.536711 T [38153:70177693850320] [50bf4b3c6b69339509000001] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "\x02out\x00\e\x00\x00\x00\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00\x00\x00" +2012-12-05 08:25:16.536746 D [38153:70177693850320] [50bf4b3c6b69339509000001] (0.3ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 37 bytes +2012-12-05 08:25:16.536789 T [38153:70177693850320] [50bf4b3c6b69339509000001] RubySkynet::Connection: localhost:2100 -- Response -- {"out"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00"} +2012-12-05 08:25:16.536814 T [38153:70177693850320] [50bf4b3c6b69339509000001] RubySkynet::Connection: localhost:2100 -- Return Value -- {"some"=>"parameters"} +2012-12-05 08:25:16.536834 I [38153:70177693850320] [50bf4b3c6b69339509000001] (17.0ms) RubySkynet::Client: RubySkynet.Service/1/Test -- Called Skynet Service: RubySkynet.Service.echo +2012-12-05 08:25:16.537413 I [38153:70177693814980] RubySkynet::Server -- Skynet Server Stopped +2012-12-05 08:25:16.538638 I [38153:70177693814980] RubySkynet::Server -- Starting listener on localhost:2100 +2012-12-05 08:25:16.538658 D [38153:70177693814980] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 08:25:16.541484 I [38153:70177693814980] RubySkynet::Server -- Skynet Server Stopped +2012-12-05 08:25:16.543767 I [38153:70177693814980] RubySkynet::Server -- Starting listener on localhost:2100 +2012-12-05 08:25:16.543801 D [38153:70177693814980] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 08:25:16.544147 D [38153:70177693850320] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fa7094044c8>(70177695736420) self=connections=70177695736420 checked_out=70177695736420 with_map= +2012-12-05 08:25:16.544457 T [38153:70177693850320] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- 8"2/services/RubySkynet.Service/1/Test/localhost/2100 +2012-12-05 08:25:16.544581 D [38153:70177693850320] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 60 bytes +2012-12-05 08:25:16.556173 T [38153:70177693850320] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\xE3" +2012-12-05 08:25:16.556211 D [38153:70177693850320] (11.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 08:25:16.556690 T [38153:70177693850320] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18;2\xDC\x01{\"Config\":{\"UUID\":\"localhost:2100-38153-RubySkynet::Service-70177694137240\",\"Name\":\"RubySkynet.Service\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-05 08:25:16.556697 D [38153:70177693850320] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 227 bytes +2012-12-05 08:25:16.556951 D [38153:70177693850320] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fa7094044c8>(70177695736420) self=connections=70177695736420 checked_out= with_map= +2012-12-05 08:25:16.557251 I [38153:70177693814980] RubySkynet::Server -- Skynet Server Stopped +2012-12-05 08:25:16.566409 I [38153:70177693850320] Celluloid -- Terminating 4 actors... +2012-12-05 08:25:16.567202 I [38153:70177693850320] Celluloid -- Shutdown completed cleanly +2012-12-05 08:25:36.894289 I [38169:70196308125820] RubySkynet::Server -- Starting listener on localhost:2100 +2012-12-05 08:25:36.894323 D [38169:70196308125820] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 08:25:36.902487 D [38169:70196308171480] RubySkynet::Registry -- Doozer Connection Pool: Created connection #1 #<Thread:0x007fafb406b5b0>(70196308171480) for Doozer Connection Pool +2012-12-05 08:25:36.921648 T [38169:70196308171480] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007fafb4d910f0@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 08:25:36.925424 D [38169:70196308171480] RubySkynet::Registry -- Doozer Connection Pool: Renewed connection old=70196308171480 new=#<RubySkynet::Doozer::Client:0x007fafb4d91258>(70196315064620) +2012-12-05 08:25:36.925465 D [38169:70196308171480] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fafb4d91258>(70196315064620) self=connections=70196315064620 checked_out=70196315064620 with_map= +2012-12-05 08:25:36.952977 T [38169:70196308171480] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- ""2/services/RubySkynet.Service/1/Test/localhost/2100*{"Config":{"UUID":"localhost:2100-38169-RubySkynet::Service-70196312372700","Name":"RubySkynet.Service","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"localhost","Port":2100,"MaxPort":3099}},"Registered":true}H +2012-12-05 08:25:36.953199 D [38169:70196308171480] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 294 bytes +2012-12-05 08:25:36.954932 T [38169:70196308171480] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x04" +2012-12-05 08:25:36.954963 D [38169:70196308171480] (1.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 08:25:36.955572 T [38169:70196308171480] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18Q" +2012-12-05 08:25:36.955629 D [38169:70196308171480] (0.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 08:25:36.955779 D [38169:70196308171480] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fafb4d91258>(70196315064620) self=connections=70196315064620 checked_out= with_map= +2012-12-05 08:25:36.958586 D [38169:70196308171480] [50bf4b506b69339519000001] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fafb4d91258>(70196315064620) self=connections=70196315064620 checked_out=70196315064620 with_map= +2012-12-05 08:25:36.958776 T [38169:70196308171480] [50bf4b506b69339519000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  +2012-12-05 08:25:36.959490 D [38169:70196308171480] [50bf4b506b69339519000001] (0.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 8 bytes +2012-12-05 08:25:36.959676 T [38169:70196308171480] [50bf4b506b69339519000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x04" +2012-12-05 08:25:36.959688 D [38169:70196308171480] [50bf4b506b69339519000001] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 08:25:36.960136 T [38169:70196308171480] [50bf4b506b69339519000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18Q" +2012-12-05 08:25:36.960164 D [38169:70196308171480] [50bf4b506b69339519000001] (0.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 08:25:36.960472 T [38169:70196308171480] [50bf4b506b69339519000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8HQ +2012-12-05 08:25:36.960517 D [38169:70196308171480] [50bf4b506b69339519000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 33 bytes +2012-12-05 08:25:36.961038 T [38169:70196308171480] [50bf4b506b69339519000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01\x19" +2012-12-05 08:25:36.961050 D [38169:70196308171480] [50bf4b506b69339519000001] (0.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 08:25:36.961179 T [38169:70196308171480] [50bf4b506b69339519000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18Q*2/services/RubySkynet.Service/1/Test/localhost/21002\xDC\x01{\"Config\":{\"UUID\":\"localhost:2100-38169-RubySkynet::Service-70196312372700\",\"Name\":\"RubySkynet.Service\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-05 08:25:36.961186 D [38169:70196308171480] [50bf4b506b69339519000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 281 bytes +2012-12-05 08:25:36.961679 T [38169:70196308171480] [50bf4b506b69339519000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8HQ +2012-12-05 08:25:36.961723 D [38169:70196308171480] [50bf4b506b69339519000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 33 bytes +2012-12-05 08:25:36.962455 T [38169:70196308171480] [50bf4b506b69339519000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 08:25:36.962506 D [38169:70196308171480] [50bf4b506b69339519000001] (0.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 08:25:36.962796 T [38169:70196308171480] [50bf4b506b69339519000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\xA0\x06\b" +2012-12-05 08:25:36.962808 D [38169:70196308171480] [50bf4b506b69339519000001] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 08:25:36.963020 D [38169:70196308171480] [50bf4b506b69339519000001] RubySkynet::Registry -- #start_monitoring Add Service: RubySkynet.Service/1/Test => localhost:2100 +2012-12-05 08:25:36.963060 D [38169:70196308171480] [50bf4b506b69339519000001] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fafb4d91258>(70196315064620) self=connections=70196315064620 checked_out= with_map= +2012-12-05 08:25:36.963499 I [38169:70196313251960] RubySkynet::Registry -- Start monitoring /services/*/*/*/*/* +2012-12-05 08:25:36.963538 T [38169:70196313251960] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007fafb4a2ab50@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 08:25:36.964003 T [38169:70196313251960] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*HR +2012-12-05 08:25:36.964047 D [38169:70196313251960] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 31 bytes +2012-12-05 08:25:36.964680 D [38169:70196308171480] [50bf4b506b69339519000001] RubySkynet::Connection: localhost:2100 -- Waiting for Service Handshake +2012-12-05 08:25:36.965596 D [38169:70196308125820] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 08:25:36.965696 D [38169:70196308125820] RubySkynet::Server -- Client connected, waiting for data from client +2012-12-05 08:25:36.966190 T [38169:70196308171480] [50bf4b506b69339519000001] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "9\x00\x00\x00" +2012-12-05 08:25:36.966200 D [38169:70196308171480] [50bf4b506b69339519000001] (0.9ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 4 bytes +2012-12-05 08:25:36.966258 T [38169:70196308171480] [50bf4b506b69339519000001] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "\bregistered\x00\x01\x02clientid\x00\x19\x00\x00\x0050bf4b506b69339519000002\x00\x00" +2012-12-05 08:25:36.966265 D [38169:70196308171480] [50bf4b506b69339519000001] (0.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 53 bytes +2012-12-05 08:25:36.966313 T [38169:70196308171480] [50bf4b506b69339519000001] RubySkynet::Connection: localhost:2100 -- Service Handshake -- {"registered"=>true, "clientid"=>"50bf4b506b69339519000002"} +2012-12-05 08:25:36.966326 D [38169:70196308171480] [50bf4b506b69339519000001] RubySkynet::Connection: localhost:2100 -- Sending Client Handshake +2012-12-05 08:25:36.966333 T [38169:70196308171480] [50bf4b506b69339519000001] RubySkynet::Connection: localhost:2100 -- Client Handshake -- {"clientid"=>"50bf4b506b69339519000002"} +2012-12-05 08:25:36.966351 T [38169:70196308171480] [50bf4b506b69339519000001] ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sending -- ,clientid50bf4b506b69339519000002 +2012-12-05 08:25:36.966394 D [38169:70196308171480] [50bf4b506b69339519000001] (0.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sent 44 bytes +2012-12-05 08:25:36.966454 D [38169:70196308171480] [50bf4b506b69339519000001] RubySkynet::Connection: localhost:2100 -- Sending Header +2012-12-05 08:25:36.966464 T [38169:70196308171480] [50bf4b506b69339519000001] RubySkynet::Connection: localhost:2100 -- Header -- {"servicemethod"=>"RubySkynet.Service.Forward", "seq"=>0} +2012-12-05 08:25:36.966486 T [38169:70196308171480] [50bf4b506b69339519000001] ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sending -- <servicemethodRubySkynet.Service.Forwardseq +2012-12-05 08:25:36.966530 D [38169:70196308171480] [50bf4b506b69339519000001] (0.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sent 60 bytes +2012-12-05 08:25:36.966565 D [38169:70196308171480] [50bf4b506b69339519000001] RubySkynet::Connection: localhost:2100 -- Sending Request +2012-12-05 08:25:36.966574 T [38169:70196308171480] [50bf4b506b69339519000001] RubySkynet::Connection: localhost:2100 -- Request -- {"clientid"=>"50bf4b506b69339519000002", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"echo", "requestinfo"=>{"requestid"=>"50bf4b506b69339519000001", "retrycount"=>0, "originaddress"=>""}} +2012-12-05 08:25:36.966581 T [38169:70196308171480] [50bf4b506b69339519000001] RubySkynet::Connection: localhost:2100 -- Parameters: -- {"some"=>"parameters"} +2012-12-05 08:25:36.966599 T [38169:70196308171480] [50bf4b506b69339519000001] ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sending -- clientid50bf4b506b69339519000002insome parametersmethodechorequestinfoQrequestid50bf4b506b69339519000001retrycountoriginaddress +2012-12-05 08:25:36.966640 D [38169:70196308171480] [50bf4b506b69339519000001] (0.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sent 190 bytes +2012-12-05 08:25:36.966654 D [38169:70196308171480] [50bf4b506b69339519000001] RubySkynet::Connection: localhost:2100 -- Reading header from server +2012-12-05 08:25:36.968698 D [38169:70196308125820] RubySkynet::Server -- +****************** +2012-12-05 08:25:36.968718 D [38169:70196308125820] RubySkynet::Server -- Received Request +2012-12-05 08:25:36.968730 T [38169:70196308125820] RubySkynet::Server -- Header -- {"servicemethod"=>"RubySkynet.Service.Forward", "seq"=>0} +2012-12-05 08:25:36.969245 T [38169:70196308125820] RubySkynet::Server -- Request -- {"clientid"=>"50bf4b506b69339519000002", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"echo", "requestinfo"=>{"requestid"=>"50bf4b506b69339519000001", "retrycount"=>0, "originaddress"=>""}} +2012-12-05 08:25:36.969284 T [38169:70196308125820] RubySkynet::Server -- Parameters -- {"some"=>"parameters"} +2012-12-05 08:25:36.969309 T [38169:70196308125820] RubySkynet::Server -- Method Call: echo with parameters: -- {"some"=>"parameters"} +2012-12-05 08:25:36.969324 D [38169:70196308125820] (0.0ms) RubySkynet::Server -- Called: RubySkynet.Service#echo +2012-12-05 08:25:36.969342 D [38169:70196308125820] RubySkynet::Server -- Sending Header +2012-12-05 08:25:36.969471 D [38169:70196308125820] RubySkynet::Server -- Sending Reply +2012-12-05 08:25:36.969484 T [38169:70196308125820] RubySkynet::Server -- Reply -- {"some"=>"parameters"} +2012-12-05 08:25:36.969772 T [38169:70196308171480] [50bf4b506b69339519000001] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "<\x00\x00\x00" +2012-12-05 08:25:36.969807 D [38169:70196308171480] [50bf4b506b69339519000001] (3.1ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 4 bytes +2012-12-05 08:25:36.970444 T [38169:70196308171480] [50bf4b506b69339519000001] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "\x02servicemethod\x00\e\x00\x00\x00RubySkynet.Service.Forward\x00\x10seq\x00\x00\x00\x00\x00\x00" +2012-12-05 08:25:36.970480 D [38169:70196308171480] [50bf4b506b69339519000001] (0.7ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 56 bytes +2012-12-05 08:25:36.970516 D [38169:70196308171480] [50bf4b506b69339519000001] RubySkynet::Connection: localhost:2100 -- Response Header -- {"servicemethod"=>"RubySkynet.Service.Forward", "seq"=>0} +2012-12-05 08:25:36.970524 D [38169:70196308171480] [50bf4b506b69339519000001] RubySkynet::Connection: localhost:2100 -- Reading response from server +2012-12-05 08:25:36.970814 T [38169:70196308171480] [50bf4b506b69339519000001] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- ")\x00\x00\x00" +2012-12-05 08:25:36.970851 D [38169:70196308171480] [50bf4b506b69339519000001] (0.3ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 4 bytes +2012-12-05 08:25:36.971035 T [38169:70196308171480] [50bf4b506b69339519000001] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "\x02out\x00\e\x00\x00\x00\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00\x00\x00" +2012-12-05 08:25:36.971070 D [38169:70196308171480] [50bf4b506b69339519000001] (0.2ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 37 bytes +2012-12-05 08:25:36.971101 T [38169:70196308171480] [50bf4b506b69339519000001] RubySkynet::Connection: localhost:2100 -- Response -- {"out"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00"} +2012-12-05 08:25:36.971126 T [38169:70196308171480] [50bf4b506b69339519000001] RubySkynet::Connection: localhost:2100 -- Return Value -- {"some"=>"parameters"} +2012-12-05 08:25:36.971148 I [38169:70196308171480] [50bf4b506b69339519000001] (14.4ms) RubySkynet::Client: RubySkynet.Service/1/Test -- Called Skynet Service: RubySkynet.Service.echo +2012-12-05 08:25:36.971706 I [38169:70196308125820] RubySkynet::Server -- Skynet Server Stopped +2012-12-05 08:25:36.973130 I [38169:70196308125820] RubySkynet::Server -- Starting listener on localhost:2100 +2012-12-05 08:25:36.973152 D [38169:70196308125820] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 08:25:36.973587 I [38169:70196308125820] RubySkynet::Server -- Skynet Server Stopped +2012-12-05 08:25:36.974634 I [38169:70196308125820] RubySkynet::Server -- Starting listener on localhost:2100 +2012-12-05 08:25:36.974655 D [38169:70196308125820] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 08:25:36.974990 D [38169:70196308171480] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fafb4d91258>(70196315064620) self=connections=70196315064620 checked_out=70196315064620 with_map= +2012-12-05 08:25:36.975307 T [38169:70196308171480] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- 8"2/services/RubySkynet.Service/1/Test/localhost/2100 +2012-12-05 08:25:36.975897 D [38169:70196308171480] (0.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 60 bytes +2012-12-05 08:25:36.976082 T [38169:70196308171480] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\xE3" +2012-12-05 08:25:36.976118 D [38169:70196308171480] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 08:25:36.976329 T [38169:70196308171480] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18Q2\xDC\x01{\"Config\":{\"UUID\":\"localhost:2100-38169-RubySkynet::Service-70196312372700\",\"Name\":\"RubySkynet.Service\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-05 08:25:36.976364 D [38169:70196308171480] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 227 bytes +2012-12-05 08:25:36.976487 D [38169:70196308171480] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fafb4d91258>(70196315064620) self=connections=70196315064620 checked_out= with_map= +2012-12-05 08:25:36.976810 I [38169:70196308125820] RubySkynet::Server -- Skynet Server Stopped +2012-12-05 08:25:36.977836 I [38169:70196308171480] Celluloid -- Terminating 4 actors... +2012-12-05 08:25:36.978577 I [38169:70196308171480] Celluloid -- Shutdown completed cleanly +2012-12-05 08:25:44.743325 I [38174:70151949165400] RubySkynet::Server -- Starting listener on localhost:2100 +2012-12-05 08:25:44.743357 D [38174:70151949165400] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 08:25:44.751043 D [38174:70151949212380] RubySkynet::Registry -- Doozer Connection Pool: Created connection #1 #<Thread:0x007f9b0c06b5b8>(70151949212380) for Doozer Connection Pool +2012-12-05 08:25:44.770422 T [38174:70151949212380] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007f9b0c422800@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 08:25:44.774285 D [38174:70151949212380] RubySkynet::Registry -- Doozer Connection Pool: Renewed connection old=70151949212380 new=#<RubySkynet::Doozer::Client:0x007f9b0c422968>(70151951160500) +2012-12-05 08:25:44.774326 D [38174:70151949212380] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f9b0c422968>(70151951160500) self=connections=70151951160500 checked_out=70151951160500 with_map= +2012-12-05 08:25:44.798780 T [38174:70151949212380] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- ""2/services/RubySkynet.Service/1/Test/localhost/2100*{"Config":{"UUID":"localhost:2100-38174-RubySkynet::Service-70151953632160","Name":"RubySkynet.Service","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"localhost","Port":2100,"MaxPort":3099}},"Registered":true}H +2012-12-05 08:25:44.798987 D [38174:70151949212380] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 294 bytes +2012-12-05 08:25:44.800725 T [38174:70151949212380] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x04" +2012-12-05 08:25:44.801042 D [38174:70151949212380] (1.9ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 08:25:44.801501 T [38174:70151949212380] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18Z" +2012-12-05 08:25:44.801512 D [38174:70151949212380] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 08:25:44.801667 D [38174:70151949212380] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007f9b0c422968>(70151951160500) self=connections=70151951160500 checked_out= with_map= +2012-12-05 08:25:44.804476 D [38174:70151949212380] [50bf4b586b6933951e000001] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f9b0c422968>(70151951160500) self=connections=70151951160500 checked_out=70151951160500 with_map= +2012-12-05 08:25:44.804670 T [38174:70151949212380] [50bf4b586b6933951e000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  +2012-12-05 08:25:44.805445 D [38174:70151949212380] [50bf4b586b6933951e000001] (0.8ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 8 bytes +2012-12-05 08:25:44.805566 T [38174:70151949212380] [50bf4b586b6933951e000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x04" +2012-12-05 08:25:44.805573 D [38174:70151949212380] [50bf4b586b6933951e000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 08:25:44.805635 T [38174:70151949212380] [50bf4b586b6933951e000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18Z" +2012-12-05 08:25:44.805642 D [38174:70151949212380] [50bf4b586b6933951e000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 08:25:44.805912 T [38174:70151949212380] [50bf4b586b6933951e000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8HZ +2012-12-05 08:25:44.805954 D [38174:70151949212380] [50bf4b586b6933951e000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 33 bytes +2012-12-05 08:25:44.806462 T [38174:70151949212380] [50bf4b586b6933951e000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01\x19" +2012-12-05 08:25:44.806602 D [38174:70151949212380] [50bf4b586b6933951e000001] (0.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 08:25:44.806679 T [38174:70151949212380] [50bf4b586b6933951e000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18Z*2/services/RubySkynet.Service/1/Test/localhost/21002\xDC\x01{\"Config\":{\"UUID\":\"localhost:2100-38174-RubySkynet::Service-70151953632160\",\"Name\":\"RubySkynet.Service\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-05 08:25:44.806685 D [38174:70151949212380] [50bf4b586b6933951e000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 281 bytes +2012-12-05 08:25:44.806974 T [38174:70151949212380] [50bf4b586b6933951e000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8HZ +2012-12-05 08:25:44.807012 D [38174:70151949212380] [50bf4b586b6933951e000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 33 bytes +2012-12-05 08:25:44.807557 T [38174:70151949212380] [50bf4b586b6933951e000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 08:25:44.807613 D [38174:70151949212380] [50bf4b586b6933951e000001] (0.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 08:25:44.807674 T [38174:70151949212380] [50bf4b586b6933951e000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\xA0\x06\b" +2012-12-05 08:25:44.807680 D [38174:70151949212380] [50bf4b586b6933951e000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 08:25:44.807904 D [38174:70151949212380] [50bf4b586b6933951e000001] RubySkynet::Registry -- #start_monitoring Add Service: RubySkynet.Service/1/Test => localhost:2100 +2012-12-05 08:25:44.807939 D [38174:70151949212380] [50bf4b586b6933951e000001] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007f9b0c422968>(70151951160500) self=connections=70151951160500 checked_out= with_map= +2012-12-05 08:25:44.809408 I [38174:70151953998580] RubySkynet::Registry -- Start monitoring /services/*/*/*/*/* +2012-12-05 08:25:44.809456 T [38174:70151953998580] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007f9b0c9614d8@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 08:25:44.810355 T [38174:70151953998580] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H[ +2012-12-05 08:25:44.810400 D [38174:70151953998580] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 31 bytes +2012-12-05 08:25:44.811149 D [38174:70151949212380] [50bf4b586b6933951e000001] RubySkynet::Connection: localhost:2100 -- Waiting for Service Handshake +2012-12-05 08:25:44.812190 D [38174:70151949165400] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 08:25:44.812293 D [38174:70151949165400] RubySkynet::Server -- Client connected, waiting for data from client +2012-12-05 08:25:44.812943 T [38174:70151949212380] [50bf4b586b6933951e000001] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "9\x00\x00\x00" +2012-12-05 08:25:44.812956 D [38174:70151949212380] [50bf4b586b6933951e000001] (1.2ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 4 bytes +2012-12-05 08:25:44.813205 T [38174:70151949212380] [50bf4b586b6933951e000001] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "\bregistered\x00\x01\x02clientid\x00\x19\x00\x00\x0050bf4b586b6933951e000002\x00\x00" +2012-12-05 08:25:44.813214 D [38174:70151949212380] [50bf4b586b6933951e000001] (0.2ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 53 bytes +2012-12-05 08:25:44.813262 T [38174:70151949212380] [50bf4b586b6933951e000001] RubySkynet::Connection: localhost:2100 -- Service Handshake -- {"registered"=>true, "clientid"=>"50bf4b586b6933951e000002"} +2012-12-05 08:25:44.813274 D [38174:70151949212380] [50bf4b586b6933951e000001] RubySkynet::Connection: localhost:2100 -- Sending Client Handshake +2012-12-05 08:25:44.813279 T [38174:70151949212380] [50bf4b586b6933951e000001] RubySkynet::Connection: localhost:2100 -- Client Handshake -- {"clientid"=>"50bf4b586b6933951e000002"} +2012-12-05 08:25:44.813296 T [38174:70151949212380] [50bf4b586b6933951e000001] ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sending -- ,clientid50bf4b586b6933951e000002 +2012-12-05 08:25:44.813889 D [38174:70151949212380] [50bf4b586b6933951e000001] (0.6ms) ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sent 44 bytes +2012-12-05 08:25:44.813985 D [38174:70151949212380] [50bf4b586b6933951e000001] RubySkynet::Connection: localhost:2100 -- Sending Header +2012-12-05 08:25:44.813995 T [38174:70151949212380] [50bf4b586b6933951e000001] RubySkynet::Connection: localhost:2100 -- Header -- {"servicemethod"=>"RubySkynet.Service.Forward", "seq"=>0} +2012-12-05 08:25:44.814018 T [38174:70151949212380] [50bf4b586b6933951e000001] ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sending -- <servicemethodRubySkynet.Service.Forwardseq +2012-12-05 08:25:44.814063 D [38174:70151949212380] [50bf4b586b6933951e000001] (0.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sent 60 bytes +2012-12-05 08:25:44.814097 D [38174:70151949212380] [50bf4b586b6933951e000001] RubySkynet::Connection: localhost:2100 -- Sending Request +2012-12-05 08:25:44.814104 T [38174:70151949212380] [50bf4b586b6933951e000001] RubySkynet::Connection: localhost:2100 -- Request -- {"clientid"=>"50bf4b586b6933951e000002", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"echo", "requestinfo"=>{"requestid"=>"50bf4b586b6933951e000001", "retrycount"=>0, "originaddress"=>""}} +2012-12-05 08:25:44.814110 T [38174:70151949212380] [50bf4b586b6933951e000001] RubySkynet::Connection: localhost:2100 -- Parameters: -- {"some"=>"parameters"} +2012-12-05 08:25:44.814126 T [38174:70151949212380] [50bf4b586b6933951e000001] ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sending -- clientid50bf4b586b6933951e000002insome parametersmethodechorequestinfoQrequestid50bf4b586b6933951e000001retrycountoriginaddress +2012-12-05 08:25:44.814167 D [38174:70151949212380] [50bf4b586b6933951e000001] (0.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sent 190 bytes +2012-12-05 08:25:44.814180 D [38174:70151949212380] [50bf4b586b6933951e000001] RubySkynet::Connection: localhost:2100 -- Reading header from server +2012-12-05 08:25:44.815188 D [38174:70151949165400] RubySkynet::Server -- +****************** +2012-12-05 08:25:44.815207 D [38174:70151949165400] RubySkynet::Server -- Received Request +2012-12-05 08:25:44.815218 T [38174:70151949165400] RubySkynet::Server -- Header -- {"servicemethod"=>"RubySkynet.Service.Forward", "seq"=>0} +2012-12-05 08:25:44.815715 T [38174:70151949165400] RubySkynet::Server -- Request -- {"clientid"=>"50bf4b586b6933951e000002", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"echo", "requestinfo"=>{"requestid"=>"50bf4b586b6933951e000001", "retrycount"=>0, "originaddress"=>""}} +2012-12-05 08:25:44.815743 T [38174:70151949165400] RubySkynet::Server -- Parameters -- {"some"=>"parameters"} +2012-12-05 08:25:44.815767 T [38174:70151949165400] RubySkynet::Server -- Method Call: echo with parameters: -- {"some"=>"parameters"} +2012-12-05 08:25:44.815780 D [38174:70151949165400] (0.0ms) RubySkynet::Server -- Called: RubySkynet.Service#echo +2012-12-05 08:25:44.815796 D [38174:70151949165400] RubySkynet::Server -- Sending Header +2012-12-05 08:25:44.815860 D [38174:70151949165400] RubySkynet::Server -- Sending Reply +2012-12-05 08:25:44.815871 T [38174:70151949165400] RubySkynet::Server -- Reply -- {"some"=>"parameters"} +2012-12-05 08:25:44.816124 T [38174:70151949212380] [50bf4b586b6933951e000001] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "<\x00\x00\x00" +2012-12-05 08:25:44.816132 D [38174:70151949212380] [50bf4b586b6933951e000001] (1.9ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 4 bytes +2012-12-05 08:25:44.818166 T [38174:70151949212380] [50bf4b586b6933951e000001] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "\x02servicemethod\x00\e\x00\x00\x00RubySkynet.Service.Forward\x00\x10seq\x00\x00\x00\x00\x00\x00" +2012-12-05 08:25:44.818180 D [38174:70151949212380] [50bf4b586b6933951e000001] (2.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 56 bytes +2012-12-05 08:25:44.818218 D [38174:70151949212380] [50bf4b586b6933951e000001] RubySkynet::Connection: localhost:2100 -- Response Header -- {"servicemethod"=>"RubySkynet.Service.Forward", "seq"=>0} +2012-12-05 08:25:44.818225 D [38174:70151949212380] [50bf4b586b6933951e000001] RubySkynet::Connection: localhost:2100 -- Reading response from server +2012-12-05 08:25:44.819066 T [38174:70151949212380] [50bf4b586b6933951e000001] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- ")\x00\x00\x00" +2012-12-05 08:25:44.819082 D [38174:70151949212380] [50bf4b586b6933951e000001] (0.8ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 4 bytes +2012-12-05 08:25:44.819150 T [38174:70151949212380] [50bf4b586b6933951e000001] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "\x02out\x00\e\x00\x00\x00\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00\x00\x00" +2012-12-05 08:25:44.819156 D [38174:70151949212380] [50bf4b586b6933951e000001] (0.1ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 37 bytes +2012-12-05 08:25:44.819183 T [38174:70151949212380] [50bf4b586b6933951e000001] RubySkynet::Connection: localhost:2100 -- Response -- {"out"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00"} +2012-12-05 08:25:44.819207 T [38174:70151949212380] [50bf4b586b6933951e000001] RubySkynet::Connection: localhost:2100 -- Return Value -- {"some"=>"parameters"} +2012-12-05 08:25:44.819228 I [38174:70151949212380] [50bf4b586b6933951e000001] (16.6ms) RubySkynet::Client: RubySkynet.Service/1/Test -- Called Skynet Service: RubySkynet.Service.echo +2012-12-05 08:25:44.819991 I [38174:70151949165400] RubySkynet::Server -- Skynet Server Stopped +2012-12-05 08:25:44.821175 I [38174:70151949165400] RubySkynet::Server -- Starting listener on localhost:2100 +2012-12-05 08:25:44.821195 D [38174:70151949165400] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 08:25:44.821770 I [38174:70151949165400] RubySkynet::Server -- Skynet Server Stopped +2012-12-05 08:25:44.822696 I [38174:70151949165400] RubySkynet::Server -- Starting listener on localhost:2100 +2012-12-05 08:25:44.822716 D [38174:70151949165400] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 08:25:44.822953 D [38174:70151949212380] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f9b0c422968>(70151951160500) self=connections=70151951160500 checked_out=70151951160500 with_map= +2012-12-05 08:25:44.823226 T [38174:70151949212380] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- 8"2/services/RubySkynet.Service/1/Test/localhost/2100 +2012-12-05 08:25:44.823591 D [38174:70151949212380] (0.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 60 bytes +2012-12-05 08:25:44.823941 T [38174:70151949212380] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\xE3" +2012-12-05 08:25:44.823969 D [38174:70151949212380] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 08:25:44.824456 T [38174:70151949212380] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18Z2\xDC\x01{\"Config\":{\"UUID\":\"localhost:2100-38174-RubySkynet::Service-70151953632160\",\"Name\":\"RubySkynet.Service\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-05 08:25:44.824506 D [38174:70151949212380] (0.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 227 bytes +2012-12-05 08:25:44.824633 D [38174:70151949212380] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007f9b0c422968>(70151951160500) self=connections=70151951160500 checked_out= with_map= +2012-12-05 08:25:44.825170 I [38174:70151949165400] RubySkynet::Server -- Skynet Server Stopped +2012-12-05 08:25:44.826227 I [38174:70151949212380] Celluloid -- Terminating 4 actors... +2012-12-05 08:25:44.827041 I [38174:70151949212380] Celluloid -- Shutdown completed cleanly +2012-12-05 08:37:52.276118 D [38617:70307763411680] RubySkynet::Registry -- Doozer Connection Pool: Created connection #1 #<Thread:0x007fe39a86b5c0>(70307763411680) for Doozer Connection Pool +2012-12-05 08:37:52.295145 T [38617:70307763411680] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007fe39b4d8a38@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 08:37:52.299219 D [38617:70307763411680] RubySkynet::Registry -- Doozer Connection Pool: Renewed connection old=70307763411680 new=#<RubySkynet::Doozer::Client:0x007fe39b4d8b50>(70307769927080) +2012-12-05 08:37:52.299301 D [38617:70307763411680] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fe39b4d8b50>(70307769927080) self=connections=70307769927080 checked_out=70307769927080 with_map= +2012-12-05 08:37:52.311056 T [38617:70307763411680] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "2/services/TestService/1/Development/airspeedy/2000*{"Config":{"UUID":"airspeedy:2000-38617-TestService-70307763380060","Name":"TestService","Version":"1","Region":"Development","ServiceAddr":{"IPAddress":"airspeedy","Port":2000,"MaxPort":2999}},"Registered":true}H +2012-12-05 08:37:52.311469 D [38617:70307763411680] (0.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 286 bytes +2012-12-05 08:37:52.312812 T [38617:70307763411680] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 08:37:52.312849 D [38617:70307763411680] (1.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 08:37:52.313855 T [38617:70307763411680] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xB0\x06" +2012-12-05 08:37:52.313901 D [38617:70307763411680] (0.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 08:37:52.314068 D [38617:70307763411680] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fe39b4d8b50>(70307769927080) self=connections=70307769927080 checked_out= with_map= +2012-12-05 08:37:52.314976 I [38617:70307763411680] Celluloid -- Terminating 4 actors... +2012-12-05 08:37:52.316773 I [38617:70307763411680] Celluloid -- Shutdown completed cleanly +2012-12-05 08:37:52.323196 I [38617:70307770210700] RubySkynet::Server -- Starting listener on localhost:2100 +2012-12-05 08:37:52.323225 D [38617:70307770210700] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 08:37:52.338223 D [38617:70307763411680] [50bf4e306b693396d9000001] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fe39b4d8b50>(70307769927080) self=connections=70307769927080 checked_out=70307769927080 with_map= +2012-12-05 08:37:52.338488 T [38617:70307763411680] [50bf4e306b693396d9000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  +2012-12-05 08:37:52.338858 D [38617:70307763411680] [50bf4e306b693396d9000001] (0.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 8 bytes +2012-12-05 08:37:52.339121 T [38617:70307763411680] [50bf4e306b693396d9000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 08:37:52.339149 D [38617:70307763411680] [50bf4e306b693396d9000001] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 08:37:52.339249 T [38617:70307763411680] [50bf4e306b693396d9000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xB0\x06" +2012-12-05 08:37:52.339256 D [38617:70307763411680] [50bf4e306b693396d9000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 08:37:52.339528 T [38617:70307763411680] [50bf4e306b693396d9000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H +2012-12-05 08:37:52.339570 D [38617:70307763411680] [50bf4e306b693396d9000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-05 08:37:52.340417 T [38617:70307763411680] [50bf4e306b693396d9000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01\x19" +2012-12-05 08:37:52.340446 D [38617:70307763411680] [50bf4e306b693396d9000001] (0.9ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 08:37:52.340603 T [38617:70307763411680] [50bf4e306b693396d9000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18Z*2/services/RubySkynet.Service/1/Test/localhost/21002\xDC\x01{\"Config\":{\"UUID\":\"localhost:2100-38174-RubySkynet::Service-70151953632160\",\"Name\":\"RubySkynet.Service\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-05 08:37:52.340610 D [38617:70307763411680] [50bf4e306b693396d9000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 281 bytes +2012-12-05 08:37:52.340898 T [38617:70307763411680] [50bf4e306b693396d9000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H +2012-12-05 08:37:52.340939 D [38617:70307763411680] [50bf4e306b693396d9000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-05 08:37:52.341488 T [38617:70307763411680] [50bf4e306b693396d9000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01\x12" +2012-12-05 08:37:52.341500 D [38617:70307763411680] [50bf4e306b693396d9000001] (0.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 08:37:52.341787 T [38617:70307763411680] [50bf4e306b693396d9000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xB0\x06*2/services/TestService/1/Development/airspeedy/20002\xD4\x01{\"Config\":{\"UUID\":\"airspeedy:2000-38617-TestService-70307763380060\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Development\",\"ServiceAddr\":{\"IPAddress\":\"airspeedy\",\"Port\":2000,\"MaxPort\":2999}},\"Registered\":true}" +2012-12-05 08:37:52.341794 D [38617:70307763411680] [50bf4e306b693396d9000001] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 274 bytes +2012-12-05 08:37:52.342058 T [38617:70307763411680] [50bf4e306b693396d9000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H +2012-12-05 08:37:52.342100 D [38617:70307763411680] [50bf4e306b693396d9000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-05 08:37:52.342546 T [38617:70307763411680] [50bf4e306b693396d9000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 08:37:52.342583 D [38617:70307763411680] [50bf4e306b693396d9000001] (0.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 08:37:52.342947 T [38617:70307763411680] [50bf4e306b693396d9000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\xA0\x06\b" +2012-12-05 08:37:52.343014 D [38617:70307763411680] [50bf4e306b693396d9000001] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 08:37:52.343200 D [38617:70307763411680] [50bf4e306b693396d9000001] RubySkynet::Registry -- #start_monitoring Add Service: RubySkynet.Service/1/Test => localhost:2100 +2012-12-05 08:37:52.343254 D [38617:70307763411680] [50bf4e306b693396d9000001] RubySkynet::Registry -- #start_monitoring Add Service: TestService/1/Development => airspeedy:2000 +2012-12-05 08:37:52.343292 D [38617:70307763411680] [50bf4e306b693396d9000001] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fe39b4d8b50>(70307769927080) self=connections=70307769927080 checked_out= with_map= +2012-12-05 08:37:52.343378 W [38617:70307763411680] [50bf4e306b693396d9000001] RubySkynet::Registry -- No servers available for service: TestService with version: 1 in region: Test +2012-12-05 08:37:52.343452 I [38617:70307763411680] [50bf4e306b693396d9000001] (7.1ms) RubySkynet::Client: TestService/1/Test -- Called Skynet Service: TestService.echo -- RubySkynet::ServiceUnavailable: No servers available for service: TestService with version: 1 in region: Test /Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/registry.rb:92:in `server_for' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:66:in `block (2 levels) in call' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.7.0/lib/semantic_logger/base.rb:181:in `benchmark_info' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:62:in `block in call' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.7.0/lib/semantic_logger/base.rb:161:in `with_tags' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:61:in `call' -/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_client_test.rb:86:in `block (5 levels) in <class:RubySkynetClientTest>' -/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:330:in `assert_raises' -/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/assertions.rb:69:in `assert_raise' -/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_client_test.rb:84:in `block (4 levels) in <class:RubySkynetClientTest>' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.0/lib/shoulda/context/context.rb:398:in `call' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.0/lib/shoulda/context/context.rb:398:in `block in create_test_from_should_hash' -/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:949:in `run' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:64:in `block (2 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_info' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:60:in `block in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:126:in `with_tags' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:59:in `call' +/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_service_test.rb:64:in `block (4 levels) in <class:RubySkynetServiceTest>' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `block in create_test_from_should_hash' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/mocha-0.10.5/lib/mocha/integration/mini_test/version_230_to_262.rb:28:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/testcase.rb:17:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:787:in `block in _run_suite' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `map' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `_run_suite' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:565:in `block in _run_suites' @@ -1824,24 +2595,84 @@ /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:884:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:21:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:326:in `block (2 levels) in autorun' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:27:in `run_once' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:325:in `block in autorun' -2012-10-18 16:26:04.989431 I [1159:70111004416720] [508065dc6b69330487000002] (0.2ms) RubySkynet::Client: TestService/1/Test -- Called Skynet Service: TestService.sleep -- RubySkynet::ServiceUnavailable: No servers available for service: TestService with version: 1 in region: Test +2012-12-05 08:37:52.344245 I [38617:70307770210700] RubySkynet::Server -- Skynet Server Stopped +2012-12-05 08:37:52.344539 I [38617:70307763728120] RubySkynet::Registry -- Start monitoring /services/*/*/*/*/* +2012-12-05 08:37:52.344591 T [38617:70307763728120] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007fe39b15ece0@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 08:37:52.345779 T [38617:70307763728120] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-05 08:37:52.345826 D [38617:70307763728120] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 08:37:52.347083 I [38617:70307770638720] RubySkynet::Server -- Starting listener on localhost:2100 +2012-12-05 08:37:52.347112 D [38617:70307770638720] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 08:37:52.348020 I [38617:70307770638720] RubySkynet::Server -- Skynet Server Stopped +2012-12-05 08:37:52.349030 I [38617:70307763317160] RubySkynet::Server -- Starting listener on localhost:2100 +2012-12-05 08:37:52.349050 D [38617:70307763317160] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 08:37:52.349289 D [38617:70307763411680] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fe39b4d8b50>(70307769927080) self=connections=70307769927080 checked_out=70307769927080 with_map= +2012-12-05 08:37:52.349542 T [38617:70307763411680] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- 1"+/services/TestService/1/Test/localhost/2100 +2012-12-05 08:37:52.350062 D [38617:70307763411680] (0.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 53 bytes +2012-12-05 08:37:52.350279 T [38617:70307763411680] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x06" +2012-12-05 08:37:52.350333 D [38617:70307763411680] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 08:37:52.350406 T [38617:70307763411680] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\x002\x00" +2012-12-05 08:37:52.350413 D [38617:70307763411680] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 6 bytes +2012-12-05 08:37:52.350693 D [38617:70307763411680] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fe39b4d8b50>(70307769927080) self=connections=70307769927080 checked_out= with_map= +2012-12-05 08:37:52.351231 I [38617:70307763317160] RubySkynet::Server -- Skynet Server Stopped +2012-12-05 08:41:44.456906 D [38707:70321046772440] RubySkynet::Registry -- Doozer Connection Pool: Created connection #1 #<Thread:0x007fe9ca06b5b0>(70321046772440) for Doozer Connection Pool +2012-12-05 08:41:44.478940 T [38707:70321046772440] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007fe9ca4e9678@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 08:41:44.486695 D [38707:70321046772440] RubySkynet::Registry -- Doozer Connection Pool: Renewed connection old=70321046772440 new=#<RubySkynet::Doozer::Client:0x007fe9ca4e9790>(70321049127880) +2012-12-05 08:41:44.486784 D [38707:70321046772440] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fe9ca4e9790>(70321049127880) self=connections=70321049127880 checked_out=70321049127880 with_map= +2012-12-05 08:41:44.501263 T [38707:70321046772440] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "2/services/TestService/1/Development/airspeedy/2000*{"Config":{"UUID":"airspeedy:2000-38707-TestService-70321046707960","Name":"TestService","Version":"1","Region":"Development","ServiceAddr":{"IPAddress":"airspeedy","Port":2000,"MaxPort":2999}},"Registered":true}H +2012-12-05 08:41:44.503826 D [38707:70321046772440] (2.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 286 bytes +2012-12-05 08:41:44.504751 T [38707:70321046772440] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 08:41:44.504890 D [38707:70321046772440] (1.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 08:41:44.505688 T [38707:70321046772440] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\x99\b" +2012-12-05 08:41:44.505731 D [38707:70321046772440] (0.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 08:41:44.505905 D [38707:70321046772440] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fe9ca4e9790>(70321049127880) self=connections=70321049127880 checked_out= with_map= +2012-12-05 08:41:44.506862 I [38707:70321046772440] Celluloid -- Terminating 4 actors... +2012-12-05 08:41:44.510910 I [38707:70321046772440] Celluloid -- Shutdown completed cleanly +2012-12-05 08:41:44.514626 I [38707:70321048973160] RubySkynet::Server -- Starting listener on localhost:2100 +2012-12-05 08:41:44.514657 D [38707:70321048973160] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 08:41:44.533040 D [38707:70321046772440] [50bf4f186b69339733000001] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fe9ca4e9790>(70321049127880) self=connections=70321049127880 checked_out=70321049127880 with_map= +2012-12-05 08:41:44.533319 T [38707:70321046772440] [50bf4f186b69339733000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  +2012-12-05 08:41:44.533387 D [38707:70321046772440] [50bf4f186b69339733000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 8 bytes +2012-12-05 08:41:44.533861 T [38707:70321046772440] [50bf4f186b69339733000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 08:41:44.533868 D [38707:70321046772440] [50bf4f186b69339733000001] (0.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 08:41:44.533932 T [38707:70321046772440] [50bf4f186b69339733000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\x99\b" +2012-12-05 08:41:44.533938 D [38707:70321046772440] [50bf4f186b69339733000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 08:41:44.534216 T [38707:70321046772440] [50bf4f186b69339733000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H +2012-12-05 08:41:44.534568 D [38707:70321046772440] [50bf4f186b69339733000001] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-05 08:41:44.534616 T [38707:70321046772440] [50bf4f186b69339733000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01\x19" +2012-12-05 08:41:44.534622 D [38707:70321046772440] [50bf4f186b69339733000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 08:41:44.534689 T [38707:70321046772440] [50bf4f186b69339733000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18Z*2/services/RubySkynet.Service/1/Test/localhost/21002\xDC\x01{\"Config\":{\"UUID\":\"localhost:2100-38174-RubySkynet::Service-70151953632160\",\"Name\":\"RubySkynet.Service\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-05 08:41:44.534696 D [38707:70321046772440] [50bf4f186b69339733000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 281 bytes +2012-12-05 08:41:44.535028 T [38707:70321046772440] [50bf4f186b69339733000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H +2012-12-05 08:41:44.536375 D [38707:70321046772440] [50bf4f186b69339733000001] (1.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-05 08:41:44.536589 T [38707:70321046772440] [50bf4f186b69339733000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01\x12" +2012-12-05 08:41:44.536601 D [38707:70321046772440] [50bf4f186b69339733000001] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 08:41:44.536676 T [38707:70321046772440] [50bf4f186b69339733000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\x99\b*2/services/TestService/1/Development/airspeedy/20002\xD4\x01{\"Config\":{\"UUID\":\"airspeedy:2000-38707-TestService-70321046707960\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Development\",\"ServiceAddr\":{\"IPAddress\":\"airspeedy\",\"Port\":2000,\"MaxPort\":2999}},\"Registered\":true}" +2012-12-05 08:41:44.536682 D [38707:70321046772440] [50bf4f186b69339733000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 274 bytes +2012-12-05 08:41:44.536969 T [38707:70321046772440] [50bf4f186b69339733000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H +2012-12-05 08:41:44.537239 D [38707:70321046772440] [50bf4f186b69339733000001] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-05 08:41:44.537625 T [38707:70321046772440] [50bf4f186b69339733000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 08:41:44.537654 D [38707:70321046772440] [50bf4f186b69339733000001] (0.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 08:41:44.537974 T [38707:70321046772440] [50bf4f186b69339733000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\xA0\x06\b" +2012-12-05 08:41:44.537987 D [38707:70321046772440] [50bf4f186b69339733000001] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 08:41:44.538198 D [38707:70321046772440] [50bf4f186b69339733000001] RubySkynet::Registry -- #start_monitoring Add Service: RubySkynet.Service/1/Test => localhost:2100 +2012-12-05 08:41:44.538253 D [38707:70321046772440] [50bf4f186b69339733000001] RubySkynet::Registry -- #start_monitoring Add Service: TestService/1/Development => airspeedy:2000 +2012-12-05 08:41:44.538295 D [38707:70321046772440] [50bf4f186b69339733000001] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fe9ca4e9790>(70321049127880) self=connections=70321049127880 checked_out= with_map= +2012-12-05 08:41:44.538389 W [38707:70321046772440] [50bf4f186b69339733000001] RubySkynet::Registry -- No servers available for service: TestService with version: 1 in region: Test +2012-12-05 08:41:44.538467 I [38707:70321046772440] [50bf4f186b69339733000001] (9.1ms) RubySkynet::Client: TestService/1/Test -- Called Skynet Service: TestService.echo -- RubySkynet::ServiceUnavailable: No servers available for service: TestService with version: 1 in region: Test /Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/registry.rb:92:in `server_for' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:66:in `block (2 levels) in call' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.7.0/lib/semantic_logger/base.rb:181:in `benchmark_info' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:62:in `block in call' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.7.0/lib/semantic_logger/base.rb:161:in `with_tags' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:61:in `call' -/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_client_test.rb:86:in `block (5 levels) in <class:RubySkynetClientTest>' -/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:330:in `assert_raises' -/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/assertions.rb:69:in `assert_raise' -/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_client_test.rb:84:in `block (4 levels) in <class:RubySkynetClientTest>' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.0/lib/shoulda/context/context.rb:398:in `call' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.0/lib/shoulda/context/context.rb:398:in `block in create_test_from_should_hash' -/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:949:in `run' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:64:in `block (2 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_info' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:60:in `block in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:126:in `with_tags' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:59:in `call' +/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_service_test.rb:64:in `block (4 levels) in <class:RubySkynetServiceTest>' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `block in create_test_from_should_hash' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/mocha-0.10.5/lib/mocha/integration/mini_test/version_230_to_262.rb:28:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/testcase.rb:17:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:787:in `block in _run_suite' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `map' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `_run_suite' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:565:in `block in _run_suites' @@ -1854,24 +2685,85 @@ /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:895:in `_run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:884:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:21:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:326:in `block (2 levels) in autorun' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:27:in `run_once' -/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:325:in `block in autorun' -- RubySkynet::ServiceUnavailable: No servers available for service: TestService with version: 1 in region: Test +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:325:in `block in autorun' +2012-12-05 08:41:44.538943 I [38707:70321048973160] RubySkynet::Server -- Skynet Server Stopped +2012-12-05 08:41:44.539249 I [38707:70321051147440] RubySkynet::Registry -- Start monitoring /services/*/*/*/*/* +2012-12-05 08:41:44.539303 T [38707:70321051147440] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007fe9ca192e48@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 08:41:44.543212 T [38707:70321051147440] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-05 08:41:44.543505 D [38707:70321051147440] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 08:41:44.545105 I [38707:70321046668880] RubySkynet::Server -- Starting listener on localhost:2100 +2012-12-05 08:41:44.545129 D [38707:70321046668880] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 08:41:44.545813 I [38707:70321046668880] RubySkynet::Server -- Skynet Server Stopped +2012-12-05 08:41:44.546908 I [38707:70321048285040] RubySkynet::Server -- Starting listener on localhost:2100 +2012-12-05 08:41:44.546930 D [38707:70321048285040] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 08:41:44.548105 D [38707:70321046772440] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fe9ca4e9790>(70321049127880) self=connections=70321049127880 checked_out=70321049127880 with_map= +2012-12-05 08:41:44.548448 T [38707:70321046772440] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- 1"+/services/TestService/1/Test/localhost/2100 +2012-12-05 08:41:44.548734 D [38707:70321046772440] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 53 bytes +2012-12-05 08:41:44.549218 T [38707:70321046772440] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x06" +2012-12-05 08:41:44.549255 D [38707:70321046772440] (0.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 08:41:44.552654 T [38707:70321046772440] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\x002\x00" +2012-12-05 08:41:44.552694 D [38707:70321046772440] (3.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 6 bytes +2012-12-05 08:41:44.553033 D [38707:70321046772440] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fe9ca4e9790>(70321049127880) self=connections=70321049127880 checked_out= with_map= +2012-12-05 08:41:44.553936 I [38707:70321048285040] RubySkynet::Server -- Skynet Server Stopped +2012-12-05 08:41:48.521972 D [38710:70141866105560] RubySkynet::Registry -- Doozer Connection Pool: Created connection #1 #<Thread:0x007f965a06b5b0>(70141866105560) for Doozer Connection Pool +2012-12-05 08:41:48.542492 T [38710:70141866105560] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007f965a44e150@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 08:41:48.546570 D [38710:70141866105560] RubySkynet::Registry -- Doozer Connection Pool: Renewed connection old=70141866105560 new=#<RubySkynet::Doozer::Client:0x007f965a44e290>(70141868142920) +2012-12-05 08:41:48.546649 D [38710:70141866105560] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f965a44e290>(70141868142920) self=connections=70141868142920 checked_out=70141868142920 with_map= +2012-12-05 08:41:48.560377 T [38710:70141866105560] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "2/services/TestService/1/Development/airspeedy/2000*{"Config":{"UUID":"airspeedy:2000-38710-TestService-70141866033020","Name":"TestService","Version":"1","Region":"Development","ServiceAddr":{"IPAddress":"airspeedy","Port":2000,"MaxPort":2999}},"Registered":true}H +2012-12-05 08:41:48.560554 D [38710:70141866105560] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 286 bytes +2012-12-05 08:41:48.562271 T [38710:70141866105560] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 08:41:48.562284 D [38710:70141866105560] (1.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 08:41:48.562804 T [38710:70141866105560] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\x9E\b" +2012-12-05 08:41:48.562844 D [38710:70141866105560] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 08:41:48.562998 D [38710:70141866105560] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007f965a44e290>(70141868142920) self=connections=70141868142920 checked_out= with_map= +2012-12-05 08:41:48.563931 I [38710:70141866105560] Celluloid -- Terminating 4 actors... +2012-12-05 08:41:48.564998 I [38710:70141866105560] Celluloid -- Shutdown completed cleanly +2012-12-05 08:41:48.572116 I [38710:70141867799980] RubySkynet::Server -- Starting listener on localhost:2100 +2012-12-05 08:41:48.572146 D [38710:70141867799980] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 08:41:48.591476 D [38710:70141866105560] [50bf4f1c6b69339736000001] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f965a44e290>(70141868142920) self=connections=70141868142920 checked_out=70141868142920 with_map= +2012-12-05 08:41:48.591714 T [38710:70141866105560] [50bf4f1c6b69339736000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  +2012-12-05 08:41:48.591994 D [38710:70141866105560] [50bf4f1c6b69339736000001] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 8 bytes +2012-12-05 08:41:48.592053 T [38710:70141866105560] [50bf4f1c6b69339736000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 08:41:48.592059 D [38710:70141866105560] [50bf4f1c6b69339736000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 08:41:48.592655 T [38710:70141866105560] [50bf4f1c6b69339736000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\x9E\b" +2012-12-05 08:41:48.592662 D [38710:70141866105560] [50bf4f1c6b69339736000001] (0.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 08:41:48.592991 T [38710:70141866105560] [50bf4f1c6b69339736000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H +2012-12-05 08:41:48.593034 D [38710:70141866105560] [50bf4f1c6b69339736000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-05 08:41:48.593622 T [38710:70141866105560] [50bf4f1c6b69339736000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01\x19" +2012-12-05 08:41:48.593686 D [38710:70141866105560] [50bf4f1c6b69339736000001] (0.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 08:41:48.593998 T [38710:70141866105560] [50bf4f1c6b69339736000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18Z*2/services/RubySkynet.Service/1/Test/localhost/21002\xDC\x01{\"Config\":{\"UUID\":\"localhost:2100-38174-RubySkynet::Service-70151953632160\",\"Name\":\"RubySkynet.Service\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-05 08:41:48.594031 D [38710:70141866105560] [50bf4f1c6b69339736000001] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 281 bytes +2012-12-05 08:41:48.594357 T [38710:70141866105560] [50bf4f1c6b69339736000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H +2012-12-05 08:41:48.594399 D [38710:70141866105560] [50bf4f1c6b69339736000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-05 08:41:48.595173 T [38710:70141866105560] [50bf4f1c6b69339736000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01\x12" +2012-12-05 08:41:48.595184 D [38710:70141866105560] [50bf4f1c6b69339736000001] (0.8ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 08:41:48.595301 T [38710:70141866105560] [50bf4f1c6b69339736000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\x9E\b*2/services/TestService/1/Development/airspeedy/20002\xD4\x01{\"Config\":{\"UUID\":\"airspeedy:2000-38710-TestService-70141866033020\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Development\",\"ServiceAddr\":{\"IPAddress\":\"airspeedy\",\"Port\":2000,\"MaxPort\":2999}},\"Registered\":true}" +2012-12-05 08:41:48.595307 D [38710:70141866105560] [50bf4f1c6b69339736000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 274 bytes +2012-12-05 08:41:48.595572 T [38710:70141866105560] [50bf4f1c6b69339736000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H +2012-12-05 08:41:48.595614 D [38710:70141866105560] [50bf4f1c6b69339736000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-05 08:41:48.596421 T [38710:70141866105560] [50bf4f1c6b69339736000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 08:41:48.596449 D [38710:70141866105560] [50bf4f1c6b69339736000001] (0.8ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 08:41:48.596671 T [38710:70141866105560] [50bf4f1c6b69339736000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\xA0\x06\b" +2012-12-05 08:41:48.596697 D [38710:70141866105560] [50bf4f1c6b69339736000001] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 08:41:48.596882 D [38710:70141866105560] [50bf4f1c6b69339736000001] RubySkynet::Registry -- #start_monitoring Add Service: RubySkynet.Service/1/Test => localhost:2100 +2012-12-05 08:41:48.596936 D [38710:70141866105560] [50bf4f1c6b69339736000001] RubySkynet::Registry -- #start_monitoring Add Service: TestService/1/Development => airspeedy:2000 +2012-12-05 08:41:48.596976 D [38710:70141866105560] [50bf4f1c6b69339736000001] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007f965a44e290>(70141868142920) self=connections=70141868142920 checked_out= with_map= +2012-12-05 08:41:48.597075 W [38710:70141866105560] [50bf4f1c6b69339736000001] RubySkynet::Registry -- No servers available for service: TestService with version: 1 in region: Test +2012-12-05 08:41:48.597152 I [38710:70141866105560] [50bf4f1c6b69339736000001] (7.6ms) RubySkynet::Client: TestService/1/Test -- Called Skynet Service: TestService.echo -- RubySkynet::ServiceUnavailable: No servers available for service: TestService with version: 1 in region: Test /Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/registry.rb:92:in `server_for' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:66:in `block (2 levels) in call' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.7.0/lib/semantic_logger/base.rb:181:in `benchmark_info' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:62:in `block in call' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.7.0/lib/semantic_logger/base.rb:161:in `with_tags' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:61:in `call' -/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_client_test.rb:86:in `block (5 levels) in <class:RubySkynetClientTest>' -/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:330:in `assert_raises' -/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/assertions.rb:69:in `assert_raise' -/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_client_test.rb:84:in `block (4 levels) in <class:RubySkynetClientTest>' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.0/lib/shoulda/context/context.rb:398:in `call' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.0/lib/shoulda/context/context.rb:398:in `block in create_test_from_should_hash' -/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:949:in `run' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:64:in `block (2 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_info' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:60:in `block in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:126:in `with_tags' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:59:in `call' +/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_service_test.rb:64:in `block (4 levels) in <class:RubySkynetServiceTest>' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `block in create_test_from_should_hash' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/mocha-0.10.5/lib/mocha/integration/mini_test/version_230_to_262.rb:28:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/testcase.rb:17:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:787:in `block in _run_suite' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `map' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `_run_suite' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:565:in `block in _run_suites' @@ -1885,249 +2777,77 @@ /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:884:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:21:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:326:in `block (2 levels) in autorun' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:27:in `run_once' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:325:in `block in autorun' -2012-10-18 16:26:04.990023 T [1159:70111008822380] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xED\xD0\x03*+/services/TestService/1/Test/127.0.0.1/20002\xC2\x01{\"Config\":{\"UUID\":\"3978b371-15e9-40f8-9b7b-59ae88d8c7ec\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"127.0.0.1\",\"Port\":2000,\"MaxPort\":2999}},\"Registered\":true}" -2012-10-18 16:26:04.990023 T [1159:70111008822380] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xED\xD0\x03*+/services/TestService/1/Test/127.0.0.1/20002\xC2\x01{\"Config\":{\"UUID\":\"3978b371-15e9-40f8-9b7b-59ae88d8c7ec\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"127.0.0.1\",\"Port\":2000,\"MaxPort\":2999}},\"Registered\":true}" -- "\b\x00\x10\x04\x18\xED\xD0\x03*+/services/TestService/1/Test/127.0.0.1/20002\xC2\x01{\"Config\":{\"UUID\":\"3978b371-15e9-40f8-9b7b-59ae88d8c7ec\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"127.0.0.1\",\"Port\":2000,\"MaxPort\":2999}},\"Registered\":true}" -2012-10-18 16:26:04.990041 D [1159:70111008822380] (3.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 250 bytes -2012-10-18 16:26:04.990041 D [1159:70111008822380] (3.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 250 bytes -2012-10-18 16:26:04.990251 D [1159:70111008822380] RubySkynet::Registry -- #monitor Add/Update Service: TestService/1/Test => 127.0.0.1:2000 -2012-10-18 16:26:04.990251 D [1159:70111008822380] RubySkynet::Registry -- #monitor Add/Update Service: TestService/1/Test => 127.0.0.1:2000 -2012-10-18 16:26:04.990266 D [1159:70111008822380] RubySkynet::Registry -- Updated registry -- {"TutorialService/1/Development"=>["127.0.0.1:9000"], "TestService/1/Test"=>["127.0.0.1:2000"]} -2012-10-18 16:26:04.990266 D [1159:70111008822380] RubySkynet::Registry -- Updated registry -- {"TutorialService/1/Development"=>["127.0.0.1:9000"], "TestService/1/Test"=>["127.0.0.1:2000"]} -- {"TutorialService/1/Development"=>["127.0.0.1:9000"], "TestService/1/Test"=>["127.0.0.1:2000"]} -2012-10-18 16:26:04.990536 T [1159:70111008822380] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H -2012-10-18 16:26:04.990536 T [1159:70111008822380] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H -- "/services/*/*/*/*/*H -2012-10-18 16:26:04.990771 D [1159:70111004416720] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f87fb863ca8>(70111008595540) self=connections=70111008595540 checked_out=70111008595540 with_map= -2012-10-18 16:26:04.990771 D [1159:70111004416720] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f87fb863ca8>(70111008595540) self=connections=70111008595540 checked_out=70111008595540 with_map= -2012-10-18 16:26:04.991281 T [1159:70111004416720] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- <"+/services/TestService/1/Test/127.0.0.1/2000H -2012-10-18 16:26:04.991281 T [1159:70111004416720] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- <"+/services/TestService/1/Test/127.0.0.1/2000H -- <"+/services/TestService/1/Test/127.0.0.1/2000H -2012-10-18 16:26:04.991334 D [1159:70111004416720] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 64 bytes -2012-10-18 16:26:04.991334 D [1159:70111004416720] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 64 bytes -2012-10-18 16:26:04.991387 D [1159:70111008822380] (0.8ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 33 bytes -2012-10-18 16:26:04.991387 D [1159:70111008822380] (0.8ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 33 bytes -2012-10-18 16:26:04.994445 T [1159:70111008822380] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x007" -2012-10-18 16:26:04.994445 T [1159:70111008822380] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x007" -- "\x00\x00\x007" -2012-10-18 16:26:04.994465 D [1159:70111008822380] (3.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:26:04.994465 D [1159:70111008822380] (3.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:26:04.994556 T [1159:70111004416720] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x02" -2012-10-18 16:26:04.994556 T [1159:70111004416720] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x02" -- "\x00\x00\x00\x02" -2012-10-18 16:26:04.994566 D [1159:70111004416720] (3.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:26:04.994566 D [1159:70111004416720] (3.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:26:04.996005 T [1159:70111008822380] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\b\x18\xEE\xD0\x03*+/services/TestService/1/Test/127.0.0.1/20002\x00" -2012-10-18 16:26:04.996005 T [1159:70111008822380] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\b\x18\xEE\xD0\x03*+/services/TestService/1/Test/127.0.0.1/20002\x00" -- "\b\x00\x10\b\x18\xEE\xD0\x03*+/services/TestService/1/Test/127.0.0.1/20002\x00" -2012-10-18 16:26:04.996023 D [1159:70111008822380] (1.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 55 bytes -2012-10-18 16:26:04.996023 D [1159:70111008822380] (1.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 55 bytes -2012-10-18 16:26:04.996347 D [1159:70111008822380] RubySkynet::Registry -- #monitor Service stopped, remove: TestService/1/Test => 127.0.0.1:2000 -2012-10-18 16:26:04.996347 D [1159:70111008822380] RubySkynet::Registry -- #monitor Service stopped, remove: TestService/1/Test => 127.0.0.1:2000 -2012-10-18 16:26:04.996370 D [1159:70111008822380] RubySkynet::Registry -- Updated registry -- {"TutorialService/1/Development"=>["127.0.0.1:9000"]} -2012-10-18 16:26:04.996370 D [1159:70111008822380] RubySkynet::Registry -- Updated registry -- {"TutorialService/1/Development"=>["127.0.0.1:9000"]} -- {"TutorialService/1/Development"=>["127.0.0.1:9000"]} -2012-10-18 16:26:04.996623 T [1159:70111008822380] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H -2012-10-18 16:26:04.996623 T [1159:70111008822380] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H -- "/services/*/*/*/*/*H -2012-10-18 16:26:04.996671 D [1159:70111008822380] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 33 bytes -2012-10-18 16:26:04.996671 D [1159:70111008822380] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 33 bytes -2012-10-18 16:26:04.998025 T [1159:70111004416720] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00" -2012-10-18 16:26:04.998025 T [1159:70111004416720] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00" -- "\b\x00" -2012-10-18 16:26:04.998041 D [1159:70111004416720] (3.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 2 bytes -2012-10-18 16:26:04.998041 D [1159:70111004416720] (3.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 2 bytes -2012-10-18 16:26:04.998180 D [1159:70111004416720] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007f87fb863ca8>(70111008595540) self=connections=70111008595540 checked_out= with_map= -2012-10-18 16:26:04.998180 D [1159:70111004416720] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007f87fb863ca8>(70111008595540) self=connections=70111008595540 checked_out= with_map= -2012-10-18 16:27:12.325267 T [1177:70308291893980] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007fe3da100520@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -2012-10-18 16:27:12.325267 T [1177:70308291893980] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007fe3da100520@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007fe3da100520@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -2012-10-18 16:27:12.332018 T [1177:70308291893980] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "/8 -2012-10-18 16:27:12.332018 T [1177:70308291893980] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "/8 -- "/8 -2012-10-18 16:27:12.332295 D [1177:70308291893980] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 13 bytes -2012-10-18 16:27:12.332295 D [1177:70308291893980] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 13 bytes -2012-10-18 16:27:12.332370 T [1177:70308291893980] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\a" -2012-10-18 16:27:12.332370 T [1177:70308291893980] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\a" -- "\x00\x00\x00\a" -2012-10-18 16:27:12.332381 D [1177:70308291893980] (0.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:27:12.332381 D [1177:70308291893980] (0.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:27:12.332539 T [1177:70308291893980] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00*\x03ctl" -2012-10-18 16:27:12.332539 T [1177:70308291893980] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00*\x03ctl" -- "\b\x00*\x03ctl" -2012-10-18 16:27:12.332557 D [1177:70308291893980] (0.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 7 bytes -2012-10-18 16:27:12.332557 D [1177:70308291893980] (0.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 7 bytes -2012-10-18 16:27:12.332906 T [1177:70308291893980] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "/8 -2012-10-18 16:27:12.332906 T [1177:70308291893980] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "/8 -- "/8 -2012-10-18 16:27:12.332953 D [1177:70308291893980] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 13 bytes -2012-10-18 16:27:12.332953 D [1177:70308291893980] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 13 bytes -2012-10-18 16:27:12.333298 T [1177:70308291893980] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\f" -2012-10-18 16:27:12.333298 T [1177:70308291893980] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\f" -- "\x00\x00\x00\f" -2012-10-18 16:27:12.333309 D [1177:70308291893980] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:27:12.333309 D [1177:70308291893980] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:27:12.333368 T [1177:70308291893980] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00*\bservices" -2012-10-18 16:27:12.333368 T [1177:70308291893980] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00*\bservices" -- "\b\x00*\bservices" -2012-10-18 16:27:12.333379 D [1177:70308291893980] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 12 bytes -2012-10-18 16:27:12.333379 D [1177:70308291893980] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 12 bytes -2012-10-18 16:27:12.333587 T [1177:70308291893980] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "/8 -2012-10-18 16:27:12.333587 T [1177:70308291893980] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "/8 -- "/8 -2012-10-18 16:27:12.333811 D [1177:70308291893980] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 13 bytes -2012-10-18 16:27:12.333811 D [1177:70308291893980] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 13 bytes -2012-10-18 16:27:12.333861 T [1177:70308291893980] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x0E" -2012-10-18 16:27:12.333861 T [1177:70308291893980] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x0E" -- "\x00\x00\x00\x0E" -2012-10-18 16:27:12.333871 D [1177:70308291893980] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:27:12.333871 D [1177:70308291893980] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:27:12.333927 T [1177:70308291893980] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00*\nstatistics" -2012-10-18 16:27:12.333927 T [1177:70308291893980] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00*\nstatistics" -- "\b\x00*\nstatistics" -2012-10-18 16:27:12.333937 D [1177:70308291893980] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 14 bytes -2012-10-18 16:27:12.333937 D [1177:70308291893980] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 14 bytes -2012-10-18 16:27:12.335409 T [1177:70308291893980] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "/8 -2012-10-18 16:27:12.335409 T [1177:70308291893980] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "/8 -- "/8 -2012-10-18 16:27:12.337150 D [1177:70308291893980] (1.7ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 13 bytes -2012-10-18 16:27:12.337150 D [1177:70308291893980] (1.7ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 13 bytes -2012-10-18 16:27:12.337215 T [1177:70308291893980] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x05" -2012-10-18 16:27:12.337215 T [1177:70308291893980] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x05" -- "\x00\x00\x00\x05" -2012-10-18 16:27:12.337225 D [1177:70308291893980] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:27:12.337225 D [1177:70308291893980] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:27:12.337289 T [1177:70308291893980] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\xA0\x06\b" -2012-10-18 16:27:12.337289 T [1177:70308291893980] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\xA0\x06\b" -- "\b\x00\xA0\x06\b" -2012-10-18 16:27:12.337299 D [1177:70308291893980] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 5 bytes -2012-10-18 16:27:12.337299 D [1177:70308291893980] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 5 bytes -2012-10-18 16:27:12.339192 T [1177:70308291893980] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/fooH -2012-10-18 16:27:12.339192 T [1177:70308291893980] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/fooH -- " /test/fooH -2012-10-18 16:27:12.339241 D [1177:70308291893980] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 30 bytes -2012-10-18 16:27:12.339241 D [1177:70308291893980] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 30 bytes -2012-10-18 16:27:12.340854 T [1177:70308291893980] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x02" -2012-10-18 16:27:12.340854 T [1177:70308291893980] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x02" -- "\x00\x00\x00\x02" -2012-10-18 16:27:12.340898 D [1177:70308291893980] (1.6ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:27:12.340898 D [1177:70308291893980] (1.6ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:27:12.342556 T [1177:70308291893980] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00" -2012-10-18 16:27:12.342556 T [1177:70308291893980] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00" -- "\b\x00" -2012-10-18 16:27:12.342598 D [1177:70308291893980] (1.7ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 2 bytes -2012-10-18 16:27:12.342598 D [1177:70308291893980] (1.7ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 2 bytes -2012-10-18 16:27:12.343257 T [1177:70308291893980] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007fe3d9a3e2a0@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -2012-10-18 16:27:12.343257 T [1177:70308291893980] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007fe3d9a3e2a0@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007fe3d9a3e2a0@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -2012-10-18 16:27:12.345128 T [1177:70308291893980] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending --  -2012-10-18 16:27:12.345128 T [1177:70308291893980] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending --  --  -2012-10-18 16:27:12.345463 D [1177:70308291893980] (0.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 8 bytes -2012-10-18 16:27:12.345463 D [1177:70308291893980] (0.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 8 bytes -2012-10-18 16:27:12.345685 T [1177:70308291893980] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x06" -2012-10-18 16:27:12.345685 T [1177:70308291893980] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x06" -- "\x00\x00\x00\x06" -2012-10-18 16:27:12.345700 D [1177:70308291893980] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:27:12.345700 D [1177:70308291893980] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:27:12.345796 T [1177:70308291893980] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xBF\xD1\x03" -2012-10-18 16:27:12.345796 T [1177:70308291893980] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xBF\xD1\x03" -- "\b\x00\x18\xBF\xD1\x03" -2012-10-18 16:27:12.345808 D [1177:70308291893980] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 6 bytes -2012-10-18 16:27:12.345808 D [1177:70308291893980] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 6 bytes -2012-10-18 16:27:12.347054 T [1177:70308291893980] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/fooH -2012-10-18 16:27:12.347054 T [1177:70308291893980] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/fooH -- " /test/fooH -2012-10-18 16:27:12.347101 D [1177:70308291893980] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 30 bytes -2012-10-18 16:27:12.347101 D [1177:70308291893980] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 30 bytes -2012-10-18 16:27:12.350112 T [1177:70308291893980] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x02" -2012-10-18 16:27:12.350112 T [1177:70308291893980] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x02" -- "\x00\x00\x00\x02" -2012-10-18 16:27:12.350173 D [1177:70308291893980] (3.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:27:12.350173 D [1177:70308291893980] (3.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:27:12.350537 T [1177:70308291893980] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00" -2012-10-18 16:27:12.350537 T [1177:70308291893980] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00" -- "\b\x00" -2012-10-18 16:27:12.350578 D [1177:70308291893980] (0.4ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 2 bytes -2012-10-18 16:27:12.350578 D [1177:70308291893980] (0.4ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 2 bytes -2012-10-18 16:27:12.351288 T [1177:70308291893980] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007fe3d9a55770@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -2012-10-18 16:27:12.351288 T [1177:70308291893980] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007fe3d9a55770@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007fe3d9a55770@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -2012-10-18 16:27:12.353751 T [1177:70308291893980] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "" /test/foo*value2H -2012-10-18 16:27:12.353751 T [1177:70308291893980] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "" /test/foo*value2H -- "" /test/foo*value2H -2012-10-18 16:27:12.354536 D [1177:70308291893980] (0.8ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 38 bytes -2012-10-18 16:27:12.354536 D [1177:70308291893980] (0.8ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 38 bytes -2012-10-18 16:27:12.360091 T [1177:70308291893980] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x06" -2012-10-18 16:27:12.360091 T [1177:70308291893980] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x06" -- "\x00\x00\x00\x06" -2012-10-18 16:27:12.360264 D [1177:70308291893980] (5.7ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:27:12.360264 D [1177:70308291893980] (5.7ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:27:12.363187 T [1177:70308291893980] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xC1\xD1\x03" -2012-10-18 16:27:12.363187 T [1177:70308291893980] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xC1\xD1\x03" -- "\b\x00\x18\xC1\xD1\x03" -2012-10-18 16:27:12.363229 D [1177:70308291893980] (0.5ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 6 bytes -2012-10-18 16:27:12.363229 D [1177:70308291893980] (0.5ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 6 bytes -2012-10-18 16:27:12.363578 T [1177:70308291893980] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/foo -2012-10-18 16:27:12.363578 T [1177:70308291893980] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/foo -- " /test/foo -2012-10-18 16:27:12.364029 D [1177:70308291893980] (0.4ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 19 bytes -2012-10-18 16:27:12.364029 D [1177:70308291893980] (0.4ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 19 bytes -2012-10-18 16:27:12.364702 T [1177:70308291893980] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x0E" -2012-10-18 16:27:12.364702 T [1177:70308291893980] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x0E" -- "\x00\x00\x00\x0E" -2012-10-18 16:27:12.364745 D [1177:70308291893980] (0.7ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:27:12.364745 D [1177:70308291893980] (0.7ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:27:12.365077 T [1177:70308291893980] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xC1\xD1\x032\x06value2" -2012-10-18 16:27:12.365077 T [1177:70308291893980] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xC1\xD1\x032\x06value2" -- "\b\x00\x18\xC1\xD1\x032\x06value2" -2012-10-18 16:27:12.365118 D [1177:70308291893980] (0.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 14 bytes -2012-10-18 16:27:12.365118 D [1177:70308291893980] (0.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 14 bytes -2012-10-18 16:27:12.376031 T [1177:70308291893980] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/fooH -2012-10-18 16:27:12.376031 T [1177:70308291893980] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/fooH -- " /test/fooH -2012-10-18 16:27:12.376634 D [1177:70308291893980] (0.6ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 30 bytes -2012-10-18 16:27:12.376634 D [1177:70308291893980] (0.6ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 30 bytes -2012-10-18 16:27:12.382908 T [1177:70308291893980] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x02" -2012-10-18 16:27:12.382908 T [1177:70308291893980] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x02" -- "\x00\x00\x00\x02" -2012-10-18 16:27:12.382981 D [1177:70308291893980] (6.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:27:12.382981 D [1177:70308291893980] (6.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:27:12.383215 T [1177:70308291893980] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00" -2012-10-18 16:27:12.383215 T [1177:70308291893980] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00" -- "\b\x00" -2012-10-18 16:27:12.384580 D [1177:70308291893980] (1.4ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 2 bytes -2012-10-18 16:27:12.384580 D [1177:70308291893980] (1.4ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 2 bytes -2012-10-18 16:27:12.385556 T [1177:70308291893980] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007fe3d9849e40@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -2012-10-18 16:27:12.385556 T [1177:70308291893980] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007fe3d9849e40@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007fe3d9849e40@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -2012-10-18 16:27:12.387966 T [1177:70308291893980] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- !" /test/foo*valueH -2012-10-18 16:27:12.387966 T [1177:70308291893980] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- !" /test/foo*valueH -- !" /test/foo*valueH -2012-10-18 16:27:12.388224 D [1177:70308291893980] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 37 bytes -2012-10-18 16:27:12.388224 D [1177:70308291893980] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 37 bytes -2012-10-18 16:27:12.389889 T [1177:70308291893980] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x06" -2012-10-18 16:27:12.389889 T [1177:70308291893980] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x06" -- "\x00\x00\x00\x06" -2012-10-18 16:27:12.389934 D [1177:70308291893980] (0.9ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:27:12.389934 D [1177:70308291893980] (0.9ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:27:12.390350 T [1177:70308291893980] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xC3\xD1\x03" -2012-10-18 16:27:12.390350 T [1177:70308291893980] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xC3\xD1\x03" -- "\b\x00\x18\xC3\xD1\x03" -2012-10-18 16:27:12.390390 D [1177:70308291893980] (0.4ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 6 bytes -2012-10-18 16:27:12.390390 D [1177:70308291893980] (0.4ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 6 bytes -2012-10-18 16:27:12.390633 T [1177:70308291893980] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/foo -2012-10-18 16:27:12.390633 T [1177:70308291893980] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/foo -- " /test/foo -2012-10-18 16:27:12.391113 D [1177:70308291893980] (0.5ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 19 bytes -2012-10-18 16:27:12.391113 D [1177:70308291893980] (0.5ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 19 bytes -2012-10-18 16:27:12.393012 T [1177:70308291893980] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\r" -2012-10-18 16:27:12.393012 T [1177:70308291893980] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\r" -- "\x00\x00\x00\r" -2012-10-18 16:27:12.393165 D [1177:70308291893980] (2.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:27:12.393165 D [1177:70308291893980] (2.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:27:12.394186 T [1177:70308291893980] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xC3\xD1\x032\x05value" -2012-10-18 16:27:12.394186 T [1177:70308291893980] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xC3\xD1\x032\x05value" -- "\b\x00\x18\xC3\xD1\x032\x05value" -2012-10-18 16:27:12.394200 D [1177:70308291893980] (0.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 13 bytes -2012-10-18 16:27:12.394200 D [1177:70308291893980] (0.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 13 bytes -2012-10-18 16:27:12.395507 T [1177:70308291893980] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/fooH -2012-10-18 16:27:12.395507 T [1177:70308291893980] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/fooH -- " /test/fooH -2012-10-18 16:27:12.395560 D [1177:70308291893980] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 30 bytes -2012-10-18 16:27:12.395560 D [1177:70308291893980] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 30 bytes -2012-10-18 16:27:12.397045 T [1177:70308291893980] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x02" -2012-10-18 16:27:12.397045 T [1177:70308291893980] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x02" -- "\x00\x00\x00\x02" -2012-10-18 16:27:12.397081 D [1177:70308291893980] (1.5ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:27:12.397081 D [1177:70308291893980] (1.5ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:27:12.399073 T [1177:70308291893980] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00" -2012-10-18 16:27:12.399073 T [1177:70308291893980] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00" -- "\b\x00" -2012-10-18 16:27:12.399117 D [1177:70308291893980] (2.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 2 bytes -2012-10-18 16:27:12.399117 D [1177:70308291893980] (2.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 2 bytes -2012-10-18 16:27:12.399938 T [1177:70308291893980] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:9999", :connect_retry_interval=>0.1, :connect_retry_count=>5, :read_timeout=>5, :connect_timeout=>3, :buffered=>false, :on_connect=>#<Proc:0x007fe3d98e5598@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -2012-10-18 16:27:12.399938 T [1177:70308291893980] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:9999", :connect_retry_interval=>0.1, :connect_retry_count=>5, :read_timeout=>5, :connect_timeout=>3, :buffered=>false, :on_connect=>#<Proc:0x007fe3d98e5598@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -- {:server=>"localhost:9999", :connect_retry_interval=>0.1, :connect_retry_count=>5, :read_timeout=>5, :connect_timeout=>3, :buffered=>false, :on_connect=>#<Proc:0x007fe3d98e5598@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -2012-10-18 16:27:12.401088 W [1177:70308291893980] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 1 -2012-10-18 16:27:12.401088 W [1177:70308291893980] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 1 -2012-10-18 16:27:12.502659 W [1177:70308291893980] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 2 -2012-10-18 16:27:12.502659 W [1177:70308291893980] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 2 -2012-10-18 16:27:12.604290 W [1177:70308291893980] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 3 -2012-10-18 16:27:12.604290 W [1177:70308291893980] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 3 -2012-10-18 16:27:12.705236 W [1177:70308291893980] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 4 -2012-10-18 16:27:12.705236 W [1177:70308291893980] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 4 -2012-10-18 16:27:12.806701 W [1177:70308291893980] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 5 -2012-10-18 16:27:12.806701 W [1177:70308291893980] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 5 -2012-10-18 16:27:12.908260 E [1177:70308291893980] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Giving up after 5 retries -2012-10-18 16:27:12.908260 E [1177:70308291893980] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Giving up after 5 retries -2012-10-18 16:27:12.908396 I [1177:70308291893980] (508.4ms) ResilientSocket::TCPClient ["localhost:9999"] -- Connecting to server localhost:9999 -- ResilientSocket::ConnectionFailure: After 5 connection attempts to host 'localhost:9999': Errno::ECONNREFUSED: Connection refused - connect(2) -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:570:in `rescue in block in connect_to_server' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:548:in `block in connect_to_server' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.7.0/lib/semantic_logger/base.rb:181:in `benchmark_info' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:541:in `connect_to_server' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:304:in `connect' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:232:in `initialize' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:36:in `new' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:36:in `initialize' -/Users/rmorrison/Sandbox/ruby_skynet/test/doozer_client_test.rb:22:in `new' -/Users/rmorrison/Sandbox/ruby_skynet/test/doozer_client_test.rb:22:in `block (4 levels) in <class:DoozerClientTest>' -/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:330:in `assert_raises' -/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/assertions.rb:69:in `assert_raise' -/Users/rmorrison/Sandbox/ruby_skynet/test/doozer_client_test.rb:21:in `block (3 levels) in <class:DoozerClientTest>' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.0/lib/shoulda/context/context.rb:398:in `call' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.0/lib/shoulda/context/context.rb:398:in `block in create_test_from_should_hash' -/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:949:in `run' +2012-12-05 08:41:48.597780 I [38710:70141874816820] RubySkynet::Registry -- Start monitoring /services/*/*/*/*/* +2012-12-05 08:41:48.597838 T [38710:70141874816820] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007f965b1664f0@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 08:41:48.598469 T [38710:70141874816820] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-05 08:41:48.598534 D [38710:70141874816820] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 08:41:48.598659 I [38710:70141867799980] RubySkynet::Server -- Skynet Server Stopped +2012-12-05 08:41:48.600357 I [38710:70141876003600] RubySkynet::Server -- Starting listener on localhost:2100 +2012-12-05 08:41:48.600378 D [38710:70141876003600] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 08:41:48.600868 I [38710:70141876003600] RubySkynet::Server -- Skynet Server Stopped +2012-12-05 08:41:48.602040 I [38710:70141865983120] RubySkynet::Server -- Starting listener on localhost:2100 +2012-12-05 08:41:48.602061 D [38710:70141865983120] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 08:41:48.602417 D [38710:70141866105560] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f965a44e290>(70141868142920) self=connections=70141868142920 checked_out=70141868142920 with_map= +2012-12-05 08:41:48.602664 T [38710:70141866105560] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- 1"+/services/TestService/1/Test/localhost/2100 +2012-12-05 08:41:48.603109 D [38710:70141866105560] (0.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 53 bytes +2012-12-05 08:41:48.603288 T [38710:70141866105560] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x06" +2012-12-05 08:41:48.603314 D [38710:70141866105560] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 08:41:48.603533 T [38710:70141866105560] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\x002\x00" +2012-12-05 08:41:48.603559 D [38710:70141866105560] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 6 bytes +2012-12-05 08:41:48.603823 D [38710:70141866105560] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007f965a44e290>(70141868142920) self=connections=70141868142920 checked_out= with_map= +2012-12-05 08:41:48.604146 I [38710:70141865983120] RubySkynet::Server -- Skynet Server Stopped +2012-12-05 08:43:01.525536 D [38730:70271042280160] RubySkynet::Registry -- Doozer Connection Pool: Created connection #1 #<Thread:0x007fd28106b5c0>(70271042280160) for Doozer Connection Pool +2012-12-05 08:43:01.545465 T [38730:70271042280160] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007fd2817a0958@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 08:43:01.550904 D [38730:70271042280160] RubySkynet::Registry -- Doozer Connection Pool: Renewed connection old=70271042280160 new=#<RubySkynet::Doozer::Client:0x007fd2817a0a98>(70271046059340) +2012-12-05 08:43:01.550990 D [38730:70271042280160] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fd2817a0a98>(70271046059340) self=connections=70271046059340 checked_out=70271046059340 with_map= +2012-12-05 08:43:01.564993 T [38730:70271042280160] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "2/services/TestService/1/Development/airspeedy/2000*{"Config":{"UUID":"airspeedy:2000-38730-TestService-70271042251200","Name":"TestService","Version":"1","Region":"Development","ServiceAddr":{"IPAddress":"airspeedy","Port":2000,"MaxPort":2999}},"Registered":true}H +2012-12-05 08:43:01.565080 D [38730:70271042280160] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 286 bytes +2012-12-05 08:43:01.568194 T [38730:70271042280160] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x04" +2012-12-05 08:43:01.568304 D [38730:70271042280160] (3.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 08:43:01.572009 T [38730:70271042280160] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18G" +2012-12-05 08:43:01.572072 D [38730:70271042280160] (3.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 08:43:01.572283 D [38730:70271042280160] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fd2817a0a98>(70271046059340) self=connections=70271046059340 checked_out= with_map= +2012-12-05 08:43:01.573244 I [38730:70271042280160] Celluloid -- Terminating 4 actors... +2012-12-05 08:43:01.575565 I [38730:70271042280160] Celluloid -- Shutdown completed cleanly +2012-12-05 08:43:01.578694 I [38730:70271045478620] RubySkynet::Server -- Starting listener on localhost:2100 +2012-12-05 08:43:01.578720 D [38730:70271045478620] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 08:43:01.596195 D [38730:70271042280160] [50bf4f656b6933974a000001] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fd2817a0a98>(70271046059340) self=connections=70271046059340 checked_out=70271046059340 with_map= +2012-12-05 08:43:01.596430 T [38730:70271042280160] [50bf4f656b6933974a000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  +2012-12-05 08:43:01.596665 D [38730:70271042280160] [50bf4f656b6933974a000001] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 8 bytes +2012-12-05 08:43:01.597005 T [38730:70271042280160] [50bf4f656b6933974a000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x04" +2012-12-05 08:43:01.597043 D [38730:70271042280160] [50bf4f656b6933974a000001] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 08:43:01.597256 T [38730:70271042280160] [50bf4f656b6933974a000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18G" +2012-12-05 08:43:01.597292 D [38730:70271042280160] [50bf4f656b6933974a000001] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 08:43:01.597576 T [38730:70271042280160] [50bf4f656b6933974a000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8HG +2012-12-05 08:43:01.598403 D [38730:70271042280160] [50bf4f656b6933974a000001] (0.8ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 33 bytes +2012-12-05 08:43:01.598526 T [38730:70271042280160] [50bf4f656b6933974a000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01\x11" +2012-12-05 08:43:01.598532 D [38730:70271042280160] [50bf4f656b6933974a000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 08:43:01.599005 T [38730:70271042280160] [50bf4f656b6933974a000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18G*2/services/TestService/1/Development/airspeedy/20002\xD4\x01{\"Config\":{\"UUID\":\"airspeedy:2000-38730-TestService-70271042251200\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Development\",\"ServiceAddr\":{\"IPAddress\":\"airspeedy\",\"Port\":2000,\"MaxPort\":2999}},\"Registered\":true}" +2012-12-05 08:43:01.599040 D [38730:70271042280160] [50bf4f656b6933974a000001] (0.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 273 bytes +2012-12-05 08:43:01.599341 T [38730:70271042280160] [50bf4f656b6933974a000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8HG +2012-12-05 08:43:01.599386 D [38730:70271042280160] [50bf4f656b6933974a000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 33 bytes +2012-12-05 08:43:01.599968 T [38730:70271042280160] [50bf4f656b6933974a000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 08:43:01.599980 D [38730:70271042280160] [50bf4f656b6933974a000001] (0.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 08:43:01.600241 T [38730:70271042280160] [50bf4f656b6933974a000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\xA0\x06\b" +2012-12-05 08:43:01.600320 D [38730:70271042280160] [50bf4f656b6933974a000001] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 08:43:01.601482 D [38730:70271042280160] [50bf4f656b6933974a000001] RubySkynet::Registry -- #start_monitoring Add Service: TestService/1/Development => airspeedy:2000 +2012-12-05 08:43:01.601549 D [38730:70271042280160] [50bf4f656b6933974a000001] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fd2817a0a98>(70271046059340) self=connections=70271046059340 checked_out= with_map= +2012-12-05 08:43:01.601698 W [38730:70271042280160] [50bf4f656b6933974a000001] RubySkynet::Registry -- No servers available for service: TestService with version: 1 in region: Test +2012-12-05 08:43:01.601800 I [38730:70271042280160] [50bf4f656b6933974a000001] (7.5ms) RubySkynet::Client: TestService/1/Test -- Called Skynet Service: TestService.echo -- RubySkynet::ServiceUnavailable: No servers available for service: TestService with version: 1 in region: Test +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/registry.rb:92:in `server_for' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:64:in `block (2 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_info' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:60:in `block in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:126:in `with_tags' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:59:in `call' +/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_service_test.rb:64:in `block (4 levels) in <class:RubySkynetServiceTest>' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `block in create_test_from_should_hash' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/mocha-0.10.5/lib/mocha/integration/mini_test/version_230_to_262.rb:28:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/testcase.rb:17:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:787:in `block in _run_suite' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `map' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `_run_suite' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:565:in `block in _run_suites' @@ -2141,27 +2861,155 @@ /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:884:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:21:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:326:in `block (2 levels) in autorun' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:27:in `run_once' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:325:in `block in autorun' -2012-10-18 16:27:12.908396 I [1177:70308291893980] (508.4ms) ResilientSocket::TCPClient ["localhost:9999"] -- Connecting to server localhost:9999 -- ResilientSocket::ConnectionFailure: After 5 connection attempts to host 'localhost:9999': Errno::ECONNREFUSED: Connection refused - connect(2) -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:570:in `rescue in block in connect_to_server' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:548:in `block in connect_to_server' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.7.0/lib/semantic_logger/base.rb:181:in `benchmark_info' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:541:in `connect_to_server' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:304:in `connect' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:232:in `initialize' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:36:in `new' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:36:in `initialize' -/Users/rmorrison/Sandbox/ruby_skynet/test/doozer_client_test.rb:22:in `new' -/Users/rmorrison/Sandbox/ruby_skynet/test/doozer_client_test.rb:22:in `block (4 levels) in <class:DoozerClientTest>' -/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:330:in `assert_raises' -/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/assertions.rb:69:in `assert_raise' -/Users/rmorrison/Sandbox/ruby_skynet/test/doozer_client_test.rb:21:in `block (3 levels) in <class:DoozerClientTest>' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.0/lib/shoulda/context/context.rb:398:in `call' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.0/lib/shoulda/context/context.rb:398:in `block in create_test_from_should_hash' -/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:949:in `run' +2012-12-05 08:43:01.603416 I [38730:70271045478620] RubySkynet::Server -- Skynet Server Stopped +2012-12-05 08:43:01.604539 I [38730:70271042822220] RubySkynet::Registry -- Start monitoring /services/*/*/*/*/* +2012-12-05 08:43:01.604620 T [38730:70271042822220] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007fd28118f2a8@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 08:43:01.605549 T [38730:70271042822220] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*HH +2012-12-05 08:43:01.605598 D [38730:70271042822220] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 31 bytes +2012-12-05 08:43:01.607379 I [38730:70271042128520] RubySkynet::Server -- Starting listener on localhost:2100 +2012-12-05 08:43:01.607401 D [38730:70271042128520] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 08:43:01.607745 I [38730:70271042128520] RubySkynet::Server -- Skynet Server Stopped +2012-12-05 08:43:01.619605 I [38730:70271046179560] RubySkynet::Server -- Starting listener on localhost:2100 +2012-12-05 08:43:01.619636 D [38730:70271046179560] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 08:43:01.620938 D [38730:70271042280160] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fd2817a0a98>(70271046059340) self=connections=70271046059340 checked_out=70271046059340 with_map= +2012-12-05 08:43:01.621275 T [38730:70271042280160] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- 1"+/services/TestService/1/Test/localhost/2100 +2012-12-05 08:43:01.621551 D [38730:70271042280160] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 53 bytes +2012-12-05 08:43:01.634168 T [38730:70271042280160] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x06" +2012-12-05 08:43:01.634211 D [38730:70271042280160] (12.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 08:43:01.634360 T [38730:70271042280160] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\x002\x00" +2012-12-05 08:43:01.634367 D [38730:70271042280160] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 6 bytes +2012-12-05 08:43:01.634829 D [38730:70271042280160] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fd2817a0a98>(70271046059340) self=connections=70271046059340 checked_out= with_map= +2012-12-05 08:43:01.635203 I [38730:70271046179560] RubySkynet::Server -- Skynet Server Stopped +2012-12-05 08:43:36.899650 D [38755:70283067349720] RubySkynet::Registry -- Doozer Connection Pool: Created connection #1 #<Thread:0x007fd81a86b5b0>(70283067349720) for Doozer Connection Pool +2012-12-05 08:43:36.919194 T [38755:70283067349720] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007fd81af60550@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 08:43:36.924249 D [38755:70283067349720] RubySkynet::Registry -- Doozer Connection Pool: Renewed connection old=70283067349720 new=#<RubySkynet::Doozer::Client:0x007fd81af60668>(70283070997300) +2012-12-05 08:43:36.924317 D [38755:70283067349720] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fd81af60668>(70283070997300) self=connections=70283070997300 checked_out=70283070997300 with_map= +2012-12-05 08:43:36.939822 T [38755:70283067349720] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "2/services/TestService/1/Development/airspeedy/2000*{"Config":{"UUID":"airspeedy:2000-38755-TestService-70283067275940","Name":"TestService","Version":"1","Region":"Development","ServiceAddr":{"IPAddress":"airspeedy","Port":2000,"MaxPort":2999}},"Registered":true}H +2012-12-05 08:43:36.940039 D [38755:70283067349720] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 286 bytes +2012-12-05 08:43:36.941917 T [38755:70283067349720] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x04" +2012-12-05 08:43:36.942015 D [38755:70283067349720] (1.8ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 08:43:36.942941 T [38755:70283067349720] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18l" +2012-12-05 08:43:36.942974 D [38755:70283067349720] (0.8ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 08:43:36.943154 D [38755:70283067349720] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fd81af60668>(70283070997300) self=connections=70283070997300 checked_out= with_map= +2012-12-05 08:43:36.943361 I [38755:70283067349720] Celluloid -- Terminating 4 actors... +2012-12-05 08:43:36.949345 I [38755:70283067349720] Celluloid -- Shutdown completed cleanly +2012-12-05 08:47:36.003446 D [38836:70353783315160] RubySkynet::Registry -- Doozer Connection Pool: Created connection #1 #<Thread:0x007ff90886b5b0>(70353783315160) for Doozer Connection Pool +2012-12-05 08:47:36.022519 T [38836:70353783315160] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007ff908e64958@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 08:47:36.026597 D [38836:70353783315160] RubySkynet::Registry -- Doozer Connection Pool: Renewed connection old=70353783315160 new=#<RubySkynet::Doozer::Client:0x007ff908e64a70>(70353786447160) +2012-12-05 08:47:36.026680 D [38836:70353783315160] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007ff908e64a70>(70353786447160) self=connections=70353786447160 checked_out=70353786447160 with_map= +2012-12-05 08:47:36.038909 T [38836:70353783315160] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "+/services/TestService/1/Test/localhost/2100*{"Config":{"UUID":"localhost:2100-38836-TestService-70353783243740","Name":"TestService","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"localhost","Port":2100,"MaxPort":3099}},"Registered":true}H +2012-12-05 08:47:36.039405 D [38836:70353783315160] (0.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 272 bytes +2012-12-05 08:47:36.041037 T [38836:70353783315160] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 08:47:36.041070 D [38836:70353783315160] (1.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 08:47:36.041765 T [38836:70353783315160] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xDB\x02" +2012-12-05 08:47:36.041797 D [38836:70353783315160] (0.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 08:47:36.041956 D [38836:70353783315160] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007ff908e64a70>(70353786447160) self=connections=70353786447160 checked_out= with_map= +2012-12-05 08:47:36.059980 I [38836:70353783315160] Celluloid -- Terminating 4 actors... +2012-12-05 08:47:36.061310 I [38836:70353783315160] Celluloid -- Shutdown completed cleanly +2012-12-05 08:47:36.064176 I [38836:70353787585200] RubySkynet::Server -- Starting listener on localhost:2100 +2012-12-05 08:47:36.064204 D [38836:70353787585200] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 08:47:36.067648 D [38836:70353783315160] [50bf50786b693397b4000001] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007ff908e64a70>(70353786447160) self=connections=70353786447160 checked_out=70353786447160 with_map= +2012-12-05 08:47:36.067889 T [38836:70353783315160] [50bf50786b693397b4000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  +2012-12-05 08:47:36.068424 D [38836:70353783315160] [50bf50786b693397b4000001] (0.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 8 bytes +2012-12-05 08:47:36.068728 T [38836:70353783315160] [50bf50786b693397b4000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 08:47:36.068739 D [38836:70353783315160] [50bf50786b693397b4000001] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 08:47:36.069398 T [38836:70353783315160] [50bf50786b693397b4000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xDB\x02" +2012-12-05 08:47:36.069411 D [38836:70353783315160] [50bf50786b693397b4000001] (0.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 08:47:36.069761 T [38836:70353783315160] [50bf50786b693397b4000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H +2012-12-05 08:47:36.069805 D [38836:70353783315160] [50bf50786b693397b4000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-05 08:47:36.070173 T [38836:70353783315160] [50bf50786b693397b4000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01\x11" +2012-12-05 08:47:36.070220 D [38836:70353783315160] [50bf50786b693397b4000001] (0.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 08:47:36.070453 T [38836:70353783315160] [50bf50786b693397b4000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18l*2/services/TestService/1/Development/airspeedy/20002\xD4\x01{\"Config\":{\"UUID\":\"airspeedy:2000-38755-TestService-70283067275940\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Development\",\"ServiceAddr\":{\"IPAddress\":\"airspeedy\",\"Port\":2000,\"MaxPort\":2999}},\"Registered\":true}" +2012-12-05 08:47:36.070460 D [38836:70353783315160] [50bf50786b693397b4000001] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 273 bytes +2012-12-05 08:47:36.070803 T [38836:70353783315160] [50bf50786b693397b4000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H +2012-12-05 08:47:36.071109 D [38836:70353783315160] [50bf50786b693397b4000001] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-05 08:47:36.071355 T [38836:70353783315160] [50bf50786b693397b4000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01\x04" +2012-12-05 08:47:36.071367 D [38836:70353783315160] [50bf50786b693397b4000001] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 08:47:36.071502 T [38836:70353783315160] [50bf50786b693397b4000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xDB\x02*+/services/TestService/1/Test/localhost/21002\xCD\x01{\"Config\":{\"UUID\":\"localhost:2100-38836-TestService-70353783243740\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-05 08:47:36.071509 D [38836:70353783315160] [50bf50786b693397b4000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 260 bytes +2012-12-05 08:47:36.071777 T [38836:70353783315160] [50bf50786b693397b4000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H +2012-12-05 08:47:36.071819 D [38836:70353783315160] [50bf50786b693397b4000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-05 08:47:36.072542 T [38836:70353783315160] [50bf50786b693397b4000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 08:47:36.072554 D [38836:70353783315160] [50bf50786b693397b4000001] (0.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 08:47:36.072861 T [38836:70353783315160] [50bf50786b693397b4000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\xA0\x06\b" +2012-12-05 08:47:36.072896 D [38836:70353783315160] [50bf50786b693397b4000001] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 08:47:36.073108 D [38836:70353783315160] [50bf50786b693397b4000001] RubySkynet::Registry -- #start_monitoring Add Service: TestService/1/Development => airspeedy:2000 +2012-12-05 08:47:36.073160 D [38836:70353783315160] [50bf50786b693397b4000001] RubySkynet::Registry -- #start_monitoring Add Service: TestService/1/Test => localhost:2100 +2012-12-05 08:47:36.073201 D [38836:70353783315160] [50bf50786b693397b4000001] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007ff908e64a70>(70353786447160) self=connections=70353786447160 checked_out= with_map= +2012-12-05 08:47:36.073895 I [38836:70353784385260] RubySkynet::Registry -- Start monitoring /services/*/*/*/*/* +2012-12-05 08:47:36.073937 T [38836:70353784385260] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007ff908aba7a8@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 08:47:36.074809 T [38836:70353784385260] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-05 08:47:36.074909 D [38836:70353784385260] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 08:47:36.076270 D [38836:70353783315160] [50bf50786b693397b4000001] RubySkynet::Connection: localhost:2100 -- Waiting for Service Handshake +2012-12-05 08:47:36.077337 D [38836:70353787585200] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 08:47:36.077441 D [38836:70353787585200] RubySkynet::Server -- Client connected, waiting for data from client +2012-12-05 08:47:36.078131 T [38836:70353783315160] [50bf50786b693397b4000001] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "9\x00\x00\x00" +2012-12-05 08:47:36.078160 D [38836:70353783315160] [50bf50786b693397b4000001] (1.2ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 4 bytes +2012-12-05 08:47:36.078356 T [38836:70353783315160] [50bf50786b693397b4000001] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "\bregistered\x00\x01\x02clientid\x00\x19\x00\x00\x0050bf50786b693397b4000002\x00\x00" +2012-12-05 08:47:36.078383 D [38836:70353783315160] [50bf50786b693397b4000001] (0.2ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 53 bytes +2012-12-05 08:47:36.078434 T [38836:70353783315160] [50bf50786b693397b4000001] RubySkynet::Connection: localhost:2100 -- Service Handshake -- {"registered"=>true, "clientid"=>"50bf50786b693397b4000002"} +2012-12-05 08:47:36.078448 D [38836:70353783315160] [50bf50786b693397b4000001] RubySkynet::Connection: localhost:2100 -- Sending Client Handshake +2012-12-05 08:47:36.078454 T [38836:70353783315160] [50bf50786b693397b4000001] RubySkynet::Connection: localhost:2100 -- Client Handshake -- {"clientid"=>"50bf50786b693397b4000002"} +2012-12-05 08:47:36.078471 T [38836:70353783315160] [50bf50786b693397b4000001] ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sending -- ,clientid50bf50786b693397b4000002 +2012-12-05 08:47:36.078514 D [38836:70353783315160] [50bf50786b693397b4000001] (0.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sent 44 bytes +2012-12-05 08:47:36.078578 D [38836:70353783315160] [50bf50786b693397b4000001] RubySkynet::Connection: localhost:2100 -- Sending Header +2012-12-05 08:47:36.078588 T [38836:70353783315160] [50bf50786b693397b4000001] RubySkynet::Connection: localhost:2100 -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 08:47:36.078608 T [38836:70353783315160] [50bf50786b693397b4000001] ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sending -- 5servicemethodTestService.Forwardseq +2012-12-05 08:47:36.078652 D [38836:70353783315160] [50bf50786b693397b4000001] (0.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sent 53 bytes +2012-12-05 08:47:36.078686 D [38836:70353783315160] [50bf50786b693397b4000001] RubySkynet::Connection: localhost:2100 -- Sending Request +2012-12-05 08:47:36.078693 T [38836:70353783315160] [50bf50786b693397b4000001] RubySkynet::Connection: localhost:2100 -- Request -- {"clientid"=>"50bf50786b693397b4000002", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"echo", "requestinfo"=>{"requestid"=>"50bf50786b693397b4000001", "retrycount"=>0, "originaddress"=>""}} +2012-12-05 08:47:36.078698 T [38836:70353783315160] [50bf50786b693397b4000001] RubySkynet::Connection: localhost:2100 -- Parameters: -- {"some"=>"parameters"} +2012-12-05 08:47:36.078716 T [38836:70353783315160] [50bf50786b693397b4000001] ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sending -- clientid50bf50786b693397b4000002insome parametersmethodechorequestinfoQrequestid50bf50786b693397b4000001retrycountoriginaddress +2012-12-05 08:47:36.078756 D [38836:70353783315160] [50bf50786b693397b4000001] (0.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sent 190 bytes +2012-12-05 08:47:36.078769 D [38836:70353783315160] [50bf50786b693397b4000001] RubySkynet::Connection: localhost:2100 -- Reading header from server +2012-12-05 08:47:36.081853 D [38836:70353787585200] RubySkynet::Server -- +****************** +2012-12-05 08:47:36.081875 D [38836:70353787585200] RubySkynet::Server -- Received Request +2012-12-05 08:47:36.081886 T [38836:70353787585200] RubySkynet::Server -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 08:47:36.082013 T [38836:70353787585200] RubySkynet::Server -- Request -- {"clientid"=>"50bf50786b693397b4000002", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"echo", "requestinfo"=>{"requestid"=>"50bf50786b693397b4000001", "retrycount"=>0, "originaddress"=>""}} +2012-12-05 08:47:36.082037 T [38836:70353787585200] RubySkynet::Server -- Parameters -- {"some"=>"parameters"} +2012-12-05 08:47:36.082062 T [38836:70353787585200] RubySkynet::Server -- Method Call: echo with parameters: -- {"some"=>"parameters"} +2012-12-05 08:47:36.082113 D [38836:70353787585200] (0.1ms) RubySkynet::Server -- Called: TestService#echo -- NoMethodError: undefined method `new' for RubySkynet::Service:Module +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/server.rb:90:in `block in on_message' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_debug' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/server.rb:86:in `on_message' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/server.rb:126:in `handle_connection' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/celluloid-0.12.3/lib/celluloid/calls.rb:99:in `dispatch' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/celluloid-0.12.3/lib/celluloid/actor.rb:323:in `block in handle_message' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/celluloid-0.12.3/lib/celluloid/tasks/task_fiber.rb:22:in `block in initialize' +2012-12-05 08:47:36.082201 E [38836:70353787585200] Celluloid -- RubySkynet::Server crashed! +NoMethodError: undefined method `new' for RubySkynet::Service:Module +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/server.rb:90:in `block in on_message' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_debug' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/server.rb:86:in `on_message' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/server.rb:126:in `handle_connection' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/celluloid-0.12.3/lib/celluloid/calls.rb:99:in `dispatch' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/celluloid-0.12.3/lib/celluloid/actor.rb:323:in `block in handle_message' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/celluloid-0.12.3/lib/celluloid/tasks/task_fiber.rb:22:in `block in initialize' +2012-12-05 08:47:36.082272 I [38836:70353787585200] RubySkynet::Server -- Skynet Server Stopped +2012-12-05 08:48:36.049335 W [38836:70353783315160] [50bf50786b693397b4000001] ResilientSocket::TCPClient ["localhost:2100"] -- #read Timeout waiting for server to reply +2012-12-05 08:48:36.049483 D [38836:70353783315160] [50bf50786b693397b4000001] (59970.7ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 4 bytes -- ResilientSocket::ReadTimeout: Timedout after 60.0 seconds trying to read from localhost:2100 +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:392:in `block in read' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_debug' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:374:in `read' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/common.rb:10:in `read_bson_document' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:178:in `rpc_call' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:65:in `block (3 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/gene_pool-1.3.0/lib/gene_pool.rb:134:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:214:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:64:in `block (2 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_info' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:60:in `block in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:126:in `with_tags' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:59:in `call' +/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_service_test.rb:65:in `block (4 levels) in <class:RubySkynetServiceTest>' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `block in create_test_from_should_hash' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/mocha-0.10.5/lib/mocha/integration/mini_test/version_230_to_262.rb:28:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/testcase.rb:17:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:787:in `block in _run_suite' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `map' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `_run_suite' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:565:in `block in _run_suites' @@ -2174,27 +3022,29 @@ /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:895:in `_run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:884:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:21:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:326:in `block (2 levels) in autorun' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:27:in `run_once' -/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:325:in `block in autorun' -- ResilientSocket::ConnectionFailure: After 5 connection attempts to host 'localhost:9999': Errno::ECONNREFUSED: Connection refused - connect(2) -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:570:in `rescue in block in connect_to_server' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:548:in `block in connect_to_server' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.7.0/lib/semantic_logger/base.rb:181:in `benchmark_info' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:541:in `connect_to_server' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:304:in `connect' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:232:in `initialize' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:36:in `new' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:36:in `initialize' -/Users/rmorrison/Sandbox/ruby_skynet/test/doozer_client_test.rb:22:in `new' -/Users/rmorrison/Sandbox/ruby_skynet/test/doozer_client_test.rb:22:in `block (4 levels) in <class:DoozerClientTest>' -/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:330:in `assert_raises' -/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/assertions.rb:69:in `assert_raise' -/Users/rmorrison/Sandbox/ruby_skynet/test/doozer_client_test.rb:21:in `block (3 levels) in <class:DoozerClientTest>' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.0/lib/shoulda/context/context.rb:398:in `call' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.0/lib/shoulda/context/context.rb:398:in `block in create_test_from_should_hash' -/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:949:in `run' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:325:in `block in autorun' +2012-12-05 08:48:36.049540 I [38836:70353783315160] [50bf50786b693397b4000001] (59983.8ms) RubySkynet::Client: TestService/1/Test -- Called Skynet Service: TestService.echo -- ResilientSocket::ReadTimeout: Timedout after 60.0 seconds trying to read from localhost:2100 +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:392:in `block in read' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_debug' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:374:in `read' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/common.rb:10:in `read_bson_document' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:178:in `rpc_call' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:65:in `block (3 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/gene_pool-1.3.0/lib/gene_pool.rb:134:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:214:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:64:in `block (2 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_info' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:60:in `block in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:126:in `with_tags' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:59:in `call' +/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_service_test.rb:65:in `block (4 levels) in <class:RubySkynetServiceTest>' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `block in create_test_from_should_hash' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/mocha-0.10.5/lib/mocha/integration/mini_test/version_230_to_262.rb:28:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/testcase.rb:17:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:787:in `block in _run_suite' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `map' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `_run_suite' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:565:in `block in _run_suites' @@ -2208,567 +3058,4640 @@ /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:884:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:21:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:326:in `block (2 levels) in autorun' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:27:in `run_once' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:325:in `block in autorun' -2012-10-18 16:27:12.918696 D [1177:70308292351360] SimpleServer -- Waiting for a client to connect -2012-10-18 16:27:12.918696 D [1177:70308292351360] SimpleServer -- Waiting for a client to connect -2012-10-18 16:27:12.925846 D [1177:70308291893980] RubySkynet::Registry -- Doozer Connection Pool: Created connection #1 #<Thread:0x007fe3d986b5b8>(70308291893980) for Doozer Connection Pool -2012-10-18 16:27:12.925846 D [1177:70308291893980] RubySkynet::Registry -- Doozer Connection Pool: Created connection #1 #<Thread:0x007fe3d986b5b8>(70308291893980) for Doozer Connection Pool -2012-10-18 16:27:12.925916 T [1177:70308291893980] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007fe3da24ff98@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -2012-10-18 16:27:12.925916 T [1177:70308291893980] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007fe3da24ff98@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007fe3da24ff98@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -2012-10-18 16:27:12.926809 D [1177:70308291893980] RubySkynet::Registry -- Doozer Connection Pool: Renewed connection old=70308291893980 new=#<RubySkynet::Doozer::Client:0x007fe3da250178>(70308297081020) -2012-10-18 16:27:12.926809 D [1177:70308291893980] RubySkynet::Registry -- Doozer Connection Pool: Renewed connection old=70308291893980 new=#<RubySkynet::Doozer::Client:0x007fe3da250178>(70308297081020) -2012-10-18 16:27:12.926848 D [1177:70308291893980] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fe3da250178>(70308297081020) self=connections=70308297081020 checked_out=70308297081020 with_map= -2012-10-18 16:27:12.926848 D [1177:70308291893980] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fe3da250178>(70308297081020) self=connections=70308297081020 checked_out=70308297081020 with_map= -2012-10-18 16:27:12.938636 T [1177:70308291893980] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "+/services/TestService/1/Test/127.0.0.1/2000*{"Config":{"UUID":"3978b371-15e9-40f8-9b7b-59ae88d8c7ec","Name":"TestService","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"127.0.0.1","Port":2000,"MaxPort":2999}},"Registered":true}H -2012-10-18 16:27:12.938636 T [1177:70308291893980] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "+/services/TestService/1/Test/127.0.0.1/2000*{"Config":{"UUID":"3978b371-15e9-40f8-9b7b-59ae88d8c7ec","Name":"TestService","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"127.0.0.1","Port":2000,"MaxPort":2999}},"Registered":true}H -- "+/services/TestService/1/Test/127.0.0.1/2000*{"Config":{"UUID":"3978b371-15e9-40f8-9b7b-59ae88d8c7ec","Name":"TestService","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"127.0.0.1","Port":2000,"MaxPort":2999}},"Registered":true}H -2012-10-18 16:27:12.939346 D [1177:70308291893980] (0.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 261 bytes -2012-10-18 16:27:12.939346 D [1177:70308291893980] (0.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 261 bytes -2012-10-18 16:27:12.940905 T [1177:70308291893980] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x06" -2012-10-18 16:27:12.940905 T [1177:70308291893980] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x06" -- "\x00\x00\x00\x06" -2012-10-18 16:27:12.948593 D [1177:70308291893980] (9.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:27:12.948593 D [1177:70308291893980] (9.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:27:12.953279 T [1177:70308291893980] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xC6\xD1\x03" -2012-10-18 16:27:12.953279 T [1177:70308291893980] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xC6\xD1\x03" -- "\b\x00\x18\xC6\xD1\x03" -2012-10-18 16:27:12.953299 D [1177:70308291893980] (4.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 6 bytes -2012-10-18 16:27:12.953299 D [1177:70308291893980] (4.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 6 bytes -2012-10-18 16:27:12.953504 D [1177:70308291893980] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fe3da250178>(70308297081020) self=connections=70308297081020 checked_out= with_map= -2012-10-18 16:27:12.953504 D [1177:70308291893980] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fe3da250178>(70308297081020) self=connections=70308297081020 checked_out= with_map= -2012-10-18 16:27:12.956240 D [1177:70308291893980] [508066206b69330499000001] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fe3da250178>(70308297081020) self=connections=70308297081020 checked_out=70308297081020 with_map= -2012-10-18 16:27:12.956240 D [1177:70308291893980] [508066206b69330499000001] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fe3da250178>(70308297081020) self=connections=70308297081020 checked_out=70308297081020 with_map= -2012-10-18 16:27:12.956529 T [1177:70308291893980] [508066206b69330499000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  -2012-10-18 16:27:12.956529 T [1177:70308291893980] [508066206b69330499000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  --  -2012-10-18 16:27:12.956765 D [1177:70308291893980] [508066206b69330499000001] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 8 bytes -2012-10-18 16:27:12.956765 D [1177:70308291893980] [508066206b69330499000001] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 8 bytes -2012-10-18 16:27:12.958746 T [1177:70308291893980] [508066206b69330499000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x06" -2012-10-18 16:27:12.958746 T [1177:70308291893980] [508066206b69330499000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x06" -- "\x00\x00\x00\x06" -2012-10-18 16:27:12.958769 D [1177:70308291893980] [508066206b69330499000001] (2.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:27:12.958769 D [1177:70308291893980] [508066206b69330499000001] (2.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:27:12.958849 T [1177:70308291893980] [508066206b69330499000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xC6\xD1\x03" -2012-10-18 16:27:12.958849 T [1177:70308291893980] [508066206b69330499000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xC6\xD1\x03" -- "\b\x00\x18\xC6\xD1\x03" -2012-10-18 16:27:12.958861 D [1177:70308291893980] [508066206b69330499000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 6 bytes -2012-10-18 16:27:12.958861 D [1177:70308291893980] [508066206b69330499000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 6 bytes -2012-10-18 16:27:12.959230 T [1177:70308291893980] [508066206b69330499000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H -2012-10-18 16:27:12.959230 T [1177:70308291893980] [508066206b69330499000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H --  "/services/*/*/*/*/*8H -2012-10-18 16:27:12.959304 D [1177:70308291893980] [508066206b69330499000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 35 bytes -2012-10-18 16:27:12.959304 D [1177:70308291893980] [508066206b69330499000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 35 bytes -2012-10-18 16:27:12.960669 T [1177:70308291893980] [508066206b69330499000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\xFA" -2012-10-18 16:27:12.960669 T [1177:70308291893980] [508066206b69330499000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\xFA" -- "\x00\x00\x00\xFA" -2012-10-18 16:27:12.960687 D [1177:70308291893980] [508066206b69330499000001] (1.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:27:12.960687 D [1177:70308291893980] [508066206b69330499000001] (1.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:27:12.960761 T [1177:70308291893980] [508066206b69330499000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xC6\xD1\x03*+/services/TestService/1/Test/127.0.0.1/20002\xC2\x01{\"Config\":{\"UUID\":\"3978b371-15e9-40f8-9b7b-59ae88d8c7ec\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"127.0.0.1\",\"Port\":2000,\"MaxPort\":2999}},\"Registered\":true}" -2012-10-18 16:27:12.960761 T [1177:70308291893980] [508066206b69330499000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xC6\xD1\x03*+/services/TestService/1/Test/127.0.0.1/20002\xC2\x01{\"Config\":{\"UUID\":\"3978b371-15e9-40f8-9b7b-59ae88d8c7ec\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"127.0.0.1\",\"Port\":2000,\"MaxPort\":2999}},\"Registered\":true}" -- "\b\x00\x10\x04\x18\xC6\xD1\x03*+/services/TestService/1/Test/127.0.0.1/20002\xC2\x01{\"Config\":{\"UUID\":\"3978b371-15e9-40f8-9b7b-59ae88d8c7ec\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"127.0.0.1\",\"Port\":2000,\"MaxPort\":2999}},\"Registered\":true}" -2012-10-18 16:27:12.960772 D [1177:70308291893980] [508066206b69330499000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 250 bytes -2012-10-18 16:27:12.960772 D [1177:70308291893980] [508066206b69330499000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 250 bytes -2012-10-18 16:27:12.961071 T [1177:70308291893980] [508066206b69330499000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H -2012-10-18 16:27:12.961071 T [1177:70308291893980] [508066206b69330499000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H --  "/services/*/*/*/*/*8H -2012-10-18 16:27:12.961178 D [1177:70308291893980] [508066206b69330499000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 35 bytes -2012-10-18 16:27:12.961178 D [1177:70308291893980] [508066206b69330499000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 35 bytes -2012-10-18 16:27:12.962416 T [1177:70308291893980] [508066206b69330499000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01Q" -2012-10-18 16:27:12.962416 T [1177:70308291893980] [508066206b69330499000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01Q" -- "\x00\x00\x01Q" -2012-10-18 16:27:12.962434 D [1177:70308291893980] [508066206b69330499000001] (1.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:27:12.962434 D [1177:70308291893980] [508066206b69330499000001] (1.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:27:12.962522 T [1177:70308291893980] [508066206b69330499000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xD5\xC8\x03*6/services/TutorialService/1/Development/127.0.0.1/90002\x8E\x02{\"Config\":{\"UUID\":\"aa58fa11-6ab7-4b53-aad9-3d657120f2b8\",\"Name\":\"TutorialService\",\"Version\":\"1\",\"Region\":\"Development\",\"ServiceAddr\":{\"IPAddress\":\"127.0.0.1\",\"Port\":9000,\"MaxPort\":9999},\"AdminAddr\":{\"IPAddress\":\"127.0.0.1\",\"Port\":9001,\"MaxPort\":9999}},\"Registered\":true}" -2012-10-18 16:27:12.962522 T [1177:70308291893980] [508066206b69330499000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xD5\xC8\x03*6/services/TutorialService/1/Development/127.0.0.1/90002\x8E\x02{\"Config\":{\"UUID\":\"aa58fa11-6ab7-4b53-aad9-3d657120f2b8\",\"Name\":\"TutorialService\",\"Version\":\"1\",\"Region\":\"Development\",\"ServiceAddr\":{\"IPAddress\":\"127.0.0.1\",\"Port\":9000,\"MaxPort\":9999},\"AdminAddr\":{\"IPAddress\":\"127.0.0.1\",\"Port\":9001,\"MaxPort\":9999}},\"Registered\":true}" -- "\b\x00\x10\x04\x18\xD5\xC8\x03*6/services/TutorialService/1/Development/127.0.0.1/90002\x8E\x02{\"Config\":{\"UUID\":\"aa58fa11-6ab7-4b53-aad9-3d657120f2b8\",\"Name\":\"TutorialService\",\"Version\":\"1\",\"Region\":\"Development\",\"ServiceAddr\":{\"IPAddress\":\"127.0.0.1\",\"Port\":9000,\"MaxPort\":9999},\"AdminAddr\":{\"IPAddress\":\"127.0.0.1\",\"Port\":9001,\"MaxPort\":9999}},\"Registered\":true}" -2012-10-18 16:27:12.962533 D [1177:70308291893980] [508066206b69330499000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 337 bytes -2012-10-18 16:27:12.962533 D [1177:70308291893980] [508066206b69330499000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 337 bytes -2012-10-18 16:27:12.962825 T [1177:70308291893980] [508066206b69330499000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H -2012-10-18 16:27:12.962825 T [1177:70308291893980] [508066206b69330499000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H --  "/services/*/*/*/*/*8H -2012-10-18 16:27:12.962896 D [1177:70308291893980] [508066206b69330499000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 35 bytes -2012-10-18 16:27:12.962896 D [1177:70308291893980] [508066206b69330499000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 35 bytes -2012-10-18 16:27:12.964867 T [1177:70308291893980] [508066206b69330499000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" -2012-10-18 16:27:12.964867 T [1177:70308291893980] [508066206b69330499000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" -- "\x00\x00\x00\x05" -2012-10-18 16:27:12.964888 D [1177:70308291893980] [508066206b69330499000001] (2.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:27:12.964888 D [1177:70308291893980] [508066206b69330499000001] (2.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:27:12.964958 T [1177:70308291893980] [508066206b69330499000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\xA0\x06\b" -2012-10-18 16:27:12.964958 T [1177:70308291893980] [508066206b69330499000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\xA0\x06\b" -- "\b\x00\xA0\x06\b" -2012-10-18 16:27:12.964968 D [1177:70308291893980] [508066206b69330499000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes -2012-10-18 16:27:12.964968 D [1177:70308291893980] [508066206b69330499000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes -2012-10-18 16:27:12.965216 D [1177:70308291893980] [508066206b69330499000001] RubySkynet::Registry -- #start_monitoring Add Service: TestService/1/Test => 127.0.0.1:2000 -2012-10-18 16:27:12.965216 D [1177:70308291893980] [508066206b69330499000001] RubySkynet::Registry -- #start_monitoring Add Service: TestService/1/Test => 127.0.0.1:2000 -2012-10-18 16:27:12.965337 D [1177:70308291893980] [508066206b69330499000001] RubySkynet::Registry -- #start_monitoring Add Service: TutorialService/1/Development => 127.0.0.1:9000 -2012-10-18 16:27:12.965337 D [1177:70308291893980] [508066206b69330499000001] RubySkynet::Registry -- #start_monitoring Add Service: TutorialService/1/Development => 127.0.0.1:9000 -2012-10-18 16:27:12.965389 D [1177:70308291893980] [508066206b69330499000001] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fe3da250178>(70308297081020) self=connections=70308297081020 checked_out= with_map= -2012-10-18 16:27:12.965389 D [1177:70308291893980] [508066206b69330499000001] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fe3da250178>(70308297081020) self=connections=70308297081020 checked_out= with_map= -2012-10-18 16:27:12.966337 D [1177:70308291893980] [508066206b69330499000001] RubySkynet::Connection: 127.0.0.1:2000 -- Waiting for Service Handshake -2012-10-18 16:27:12.966337 D [1177:70308291893980] [508066206b69330499000001] RubySkynet::Connection: 127.0.0.1:2000 -- Waiting for Service Handshake -2012-10-18 16:27:12.967785 D [1177:70308292351360] SimpleServer -- Client connected, waiting for data from client -2012-10-18 16:27:12.967785 D [1177:70308292351360] SimpleServer -- Client connected, waiting for data from client -2012-10-18 16:27:12.968265 I [1177:70308293213420] RubySkynet::Registry -- Start monitoring /services/*/*/*/*/* -2012-10-18 16:27:12.968265 I [1177:70308293213420] RubySkynet::Registry -- Start monitoring /services/*/*/*/*/* -2012-10-18 16:27:12.968605 T [1177:70308293213420] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007fe3d9afb580@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -2012-10-18 16:27:12.968605 T [1177:70308293213420] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007fe3d9afb580@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007fe3d9afb580@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -2012-10-18 16:27:12.969181 T [1177:70308293213420] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H -2012-10-18 16:27:12.969181 T [1177:70308293213420] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H -- "/services/*/*/*/*/*H -2012-10-18 16:27:12.969229 D [1177:70308293213420] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 33 bytes -2012-10-18 16:27:12.969229 D [1177:70308293213420] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 33 bytes -2012-10-18 16:27:12.969311 T [1177:70308291893980] [508066206b69330499000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "$\x00\x00\x00" -2012-10-18 16:27:12.969311 T [1177:70308291893980] [508066206b69330499000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "$\x00\x00\x00" -- "$\x00\x00\x00" -2012-10-18 16:27:12.969322 D [1177:70308291893980] [508066206b69330499000001] (2.9ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes -2012-10-18 16:27:12.969322 D [1177:70308291893980] [508066206b69330499000001] (2.9ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes -2012-10-18 16:27:12.969380 T [1177:70308291893980] [508066206b69330499000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "\bregistered\x00\x01\x02clientid\x00\x04\x00\x00\x00123\x00\x00" -2012-10-18 16:27:12.969380 T [1177:70308291893980] [508066206b69330499000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "\bregistered\x00\x01\x02clientid\x00\x04\x00\x00\x00123\x00\x00" -- "\bregistered\x00\x01\x02clientid\x00\x04\x00\x00\x00123\x00\x00" -2012-10-18 16:27:12.969392 D [1177:70308291893980] [508066206b69330499000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 32 bytes -2012-10-18 16:27:12.969392 D [1177:70308291893980] [508066206b69330499000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 32 bytes -2012-10-18 16:27:12.969444 T [1177:70308291893980] [508066206b69330499000001] RubySkynet::Connection: 127.0.0.1:2000 -- Service Handshake -- {"registered"=>true, "clientid"=>"123"} -2012-10-18 16:27:12.969444 T [1177:70308291893980] [508066206b69330499000001] RubySkynet::Connection: 127.0.0.1:2000 -- Service Handshake -- {"registered"=>true, "clientid"=>"123"} -- {"registered"=>true, "clientid"=>"123"} -2012-10-18 16:27:12.969460 D [1177:70308291893980] [508066206b69330499000001] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Client Handshake -2012-10-18 16:27:12.969460 D [1177:70308291893980] [508066206b69330499000001] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Client Handshake -2012-10-18 16:27:12.969470 T [1177:70308291893980] [508066206b69330499000001] RubySkynet::Connection: 127.0.0.1:2000 -- Client Handshake -- {"clientid"=>"123"} -2012-10-18 16:27:12.969470 T [1177:70308291893980] [508066206b69330499000001] RubySkynet::Connection: 127.0.0.1:2000 -- Client Handshake -- {"clientid"=>"123"} -- {"clientid"=>"123"} -2012-10-18 16:27:12.969490 T [1177:70308291893980] [508066206b69330499000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- clientid123 -2012-10-18 16:27:12.969490 T [1177:70308291893980] [508066206b69330499000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- clientid123 -- clientid123 -2012-10-18 16:27:12.969535 D [1177:70308291893980] [508066206b69330499000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 23 bytes -2012-10-18 16:27:12.969535 D [1177:70308291893980] [508066206b69330499000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 23 bytes -2012-10-18 16:27:12.969603 D [1177:70308291893980] [508066206b69330499000001] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Header -2012-10-18 16:27:12.969603 D [1177:70308291893980] [508066206b69330499000001] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Header -2012-10-18 16:27:12.969623 T [1177:70308291893980] [508066206b69330499000001] RubySkynet::Connection: 127.0.0.1:2000 -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} -2012-10-18 16:27:12.969623 T [1177:70308291893980] [508066206b69330499000001] RubySkynet::Connection: 127.0.0.1:2000 -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} -- {"servicemethod"=>"TestService.Forward", "seq"=>0} -2012-10-18 16:27:12.969655 T [1177:70308291893980] [508066206b69330499000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- 5servicemethodTestService.Forwardseq -2012-10-18 16:27:12.969655 T [1177:70308291893980] [508066206b69330499000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- 5servicemethodTestService.Forwardseq -- 5servicemethodTestService.Forwardseq -2012-10-18 16:27:12.969703 D [1177:70308291893980] [508066206b69330499000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 53 bytes -2012-10-18 16:27:12.969703 D [1177:70308291893980] [508066206b69330499000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 53 bytes -2012-10-18 16:27:12.969739 D [1177:70308291893980] [508066206b69330499000001] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Request -2012-10-18 16:27:12.969739 D [1177:70308291893980] [508066206b69330499000001] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Request -2012-10-18 16:27:12.969750 T [1177:70308291893980] [508066206b69330499000001] RubySkynet::Connection: 127.0.0.1:2000 -- Request -- {"clientid"=>"123", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"test1", "requestinfo"=>{"requestid"=>"508066206b69330499000001", "retrycount"=>0, "originaddress"=>""}} -2012-10-18 16:27:12.969750 T [1177:70308291893980] [508066206b69330499000001] RubySkynet::Connection: 127.0.0.1:2000 -- Request -- {"clientid"=>"123", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"test1", "requestinfo"=>{"requestid"=>"508066206b69330499000001", "retrycount"=>0, "originaddress"=>""}} -- {"clientid"=>"123", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"test1", "requestinfo"=>{"requestid"=>"508066206b69330499000001", "retrycount"=>0, "originaddress"=>""}} -2012-10-18 16:27:12.969759 T [1177:70308291893980] [508066206b69330499000001] RubySkynet::Connection: 127.0.0.1:2000 -- Parameters: -- {"some"=>"parameters"} -2012-10-18 16:27:12.969759 T [1177:70308291893980] [508066206b69330499000001] RubySkynet::Connection: 127.0.0.1:2000 -- Parameters: -- {"some"=>"parameters"} -- {"some"=>"parameters"} -2012-10-18 16:27:12.969778 T [1177:70308291893980] [508066206b69330499000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- clientid123insome parametersmethodtest1requestinfoQrequestid508066206b69330499000001retrycountoriginaddress -2012-10-18 16:27:12.969778 T [1177:70308291893980] [508066206b69330499000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- clientid123insome parametersmethodtest1requestinfoQrequestid508066206b69330499000001retrycountoriginaddress -- clientid123insome parametersmethodtest1requestinfoQrequestid508066206b69330499000001retrycountoriginaddress -2012-10-18 16:27:12.969821 D [1177:70308291893980] [508066206b69330499000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 170 bytes -2012-10-18 16:27:12.969821 D [1177:70308291893980] [508066206b69330499000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 170 bytes -2012-10-18 16:27:12.969838 D [1177:70308291893980] [508066206b69330499000001] RubySkynet::Connection: 127.0.0.1:2000 -- Reading header from server -2012-10-18 16:27:12.969838 D [1177:70308291893980] [508066206b69330499000001] RubySkynet::Connection: 127.0.0.1:2000 -- Reading header from server -2012-10-18 16:27:12.970107 D [1177:70308292351360] SimpleServer -- +2012-12-05 08:48:36.051346 I [38836:70353788610240] RubySkynet::Server -- Starting listener on localhost:2100 +2012-12-05 08:48:36.051500 D [38836:70353788610240] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 08:48:36.051868 I [38836:70353788610240] RubySkynet::Server -- Skynet Server Stopped +2012-12-05 08:48:36.055563 I [38836:70353783164160] RubySkynet::Server -- Starting listener on localhost:2100 +2012-12-05 08:48:36.055584 D [38836:70353783164160] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 08:48:36.055826 D [38836:70353783315160] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007ff908e64a70>(70353786447160) self=connections=70353786447160 checked_out=70353786447160 with_map= +2012-12-05 08:48:36.056107 T [38836:70353783315160] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- 1"+/services/TestService/1/Test/localhost/2100 +2012-12-05 08:48:36.056203 D [38836:70353783315160] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 53 bytes +2012-12-05 08:48:36.062014 T [38836:70353783315160] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\xD5" +2012-12-05 08:48:36.062280 D [38836:70353783315160] (6.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 08:48:36.062445 T [38836:70353783315160] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xDB\x022\xCD\x01{\"Config\":{\"UUID\":\"localhost:2100-38836-TestService-70353783243740\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-05 08:48:36.062452 D [38836:70353783315160] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 213 bytes +2012-12-05 08:48:36.062684 D [38836:70353783315160] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007ff908e64a70>(70353786447160) self=connections=70353786447160 checked_out= with_map= +2012-12-05 08:48:36.063529 I [38836:70353783164160] RubySkynet::Server -- Skynet Server Stopped +2012-12-05 08:50:15.312842 D [38896:70134823869140] RubySkynet::Service -- Registering Service: TestService +2012-12-05 08:50:15.317172 D [38896:70134823869140] RubySkynet::Registry -- Doozer Connection Pool: Created connection #1 #<Thread:0x007f931286b5a8>(70134823869140) for Doozer Connection Pool +2012-12-05 08:50:15.337753 T [38896:70134823869140] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007f9312c21e68@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 08:50:15.341584 D [38896:70134823869140] RubySkynet::Registry -- Doozer Connection Pool: Renewed connection old=70134823869140 new=#<RubySkynet::Doozer::Client:0x007f9312c21fa8>(70134825816020) +2012-12-05 08:50:15.341678 D [38896:70134823869140] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f9312c21fa8>(70134825816020) self=connections=70134825816020 checked_out=70134825816020 with_map= +2012-12-05 08:50:15.355172 T [38896:70134823869140] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "+/services/TestService/1/Test/localhost/2100*{"Config":{"UUID":"localhost:2100-38896-TestService-70134823809100","Name":"TestService","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"localhost","Port":2100,"MaxPort":3099}},"Registered":true}H +2012-12-05 08:50:15.357365 D [38896:70134823869140] (2.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 272 bytes +2012-12-05 08:50:15.362548 T [38896:70134823869140] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 08:50:15.362600 D [38896:70134823869140] (5.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 08:50:15.363555 T [38896:70134823869140] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xFB\x03" +2012-12-05 08:50:15.363598 D [38896:70134823869140] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 08:50:15.364189 D [38896:70134823869140] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007f9312c21fa8>(70134825816020) self=connections=70134825816020 checked_out= with_map= +2012-12-05 08:50:15.381973 I [38896:70134823869140] Celluloid -- Terminating 4 actors... +2012-12-05 08:50:15.383225 I [38896:70134823869140] Celluloid -- Shutdown completed cleanly +2012-12-05 08:50:15.389247 I [38896:70134825788720] RubySkynet::Server -- Starting listener on localhost:2100 +2012-12-05 08:50:15.389308 D [38896:70134825788720] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 08:50:15.393439 D [38896:70134823869140] [50bf51176b693397f0000001] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f9312c21fa8>(70134825816020) self=connections=70134825816020 checked_out=70134825816020 with_map= +2012-12-05 08:50:15.393724 T [38896:70134823869140] [50bf51176b693397f0000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  +2012-12-05 08:50:15.396854 D [38896:70134823869140] [50bf51176b693397f0000001] (3.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 8 bytes +2012-12-05 08:50:15.397438 T [38896:70134823869140] [50bf51176b693397f0000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 08:50:15.397460 D [38896:70134823869140] [50bf51176b693397f0000001] (0.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 08:50:15.397550 T [38896:70134823869140] [50bf51176b693397f0000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xFB\x03" +2012-12-05 08:50:15.397556 D [38896:70134823869140] [50bf51176b693397f0000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 08:50:15.397920 T [38896:70134823869140] [50bf51176b693397f0000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H +2012-12-05 08:50:15.398642 D [38896:70134823869140] [50bf51176b693397f0000001] (0.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-05 08:50:15.399133 T [38896:70134823869140] [50bf51176b693397f0000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01\x11" +2012-12-05 08:50:15.399145 D [38896:70134823869140] [50bf51176b693397f0000001] (0.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 08:50:15.399396 T [38896:70134823869140] [50bf51176b693397f0000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18l*2/services/TestService/1/Development/airspeedy/20002\xD4\x01{\"Config\":{\"UUID\":\"airspeedy:2000-38755-TestService-70283067275940\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Development\",\"ServiceAddr\":{\"IPAddress\":\"airspeedy\",\"Port\":2000,\"MaxPort\":2999}},\"Registered\":true}" +2012-12-05 08:50:15.399407 D [38896:70134823869140] [50bf51176b693397f0000001] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 273 bytes +2012-12-05 08:50:15.399760 T [38896:70134823869140] [50bf51176b693397f0000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H +2012-12-05 08:50:15.399803 D [38896:70134823869140] [50bf51176b693397f0000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-05 08:50:15.400328 T [38896:70134823869140] [50bf51176b693397f0000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01\x04" +2012-12-05 08:50:15.400339 D [38896:70134823869140] [50bf51176b693397f0000001] (0.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 08:50:15.400422 T [38896:70134823869140] [50bf51176b693397f0000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xFB\x03*+/services/TestService/1/Test/localhost/21002\xCD\x01{\"Config\":{\"UUID\":\"localhost:2100-38896-TestService-70134823809100\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-05 08:50:15.400429 D [38896:70134823869140] [50bf51176b693397f0000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 260 bytes +2012-12-05 08:50:15.401002 T [38896:70134823869140] [50bf51176b693397f0000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H +2012-12-05 08:50:15.401046 D [38896:70134823869140] [50bf51176b693397f0000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-05 08:50:15.401522 T [38896:70134823869140] [50bf51176b693397f0000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 08:50:15.401560 D [38896:70134823869140] [50bf51176b693397f0000001] (0.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 08:50:15.402120 T [38896:70134823869140] [50bf51176b693397f0000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\xA0\x06\b" +2012-12-05 08:50:15.402159 D [38896:70134823869140] [50bf51176b693397f0000001] (0.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 08:50:15.402372 D [38896:70134823869140] [50bf51176b693397f0000001] RubySkynet::Registry -- #start_monitoring Add Service: TestService/1/Development => airspeedy:2000 +2012-12-05 08:50:15.402431 D [38896:70134823869140] [50bf51176b693397f0000001] RubySkynet::Registry -- #start_monitoring Add Service: TestService/1/Test => localhost:2100 +2012-12-05 08:50:15.402475 D [38896:70134823869140] [50bf51176b693397f0000001] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007f9312c21fa8>(70134825816020) self=connections=70134825816020 checked_out= with_map= +2012-12-05 08:50:15.408621 I [38896:70134824548160] RubySkynet::Registry -- Start monitoring /services/*/*/*/*/* +2012-12-05 08:50:15.408669 T [38896:70134824548160] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007f9313117378@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 08:50:15.413090 T [38896:70134824548160] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-05 08:50:15.413184 D [38896:70134824548160] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 08:50:15.417844 D [38896:70134825788720] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 08:50:15.417976 D [38896:70134825788720] RubySkynet::Server -- Client connected, waiting for data from client +2012-12-05 08:50:15.419648 D [38896:70134823869140] [50bf51176b693397f0000001] RubySkynet::Connection: localhost:2100 -- Waiting for Service Handshake +2012-12-05 08:50:15.419846 T [38896:70134823869140] [50bf51176b693397f0000001] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "9\x00\x00\x00" +2012-12-05 08:50:15.419885 D [38896:70134823869140] [50bf51176b693397f0000001] (0.2ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 4 bytes +2012-12-05 08:50:15.420118 T [38896:70134823869140] [50bf51176b693397f0000001] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "\bregistered\x00\x01\x02clientid\x00\x19\x00\x00\x0050bf51176b693397f0000002\x00\x00" +2012-12-05 08:50:15.420155 D [38896:70134823869140] [50bf51176b693397f0000001] (0.2ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 53 bytes +2012-12-05 08:50:15.420422 T [38896:70134823869140] [50bf51176b693397f0000001] RubySkynet::Connection: localhost:2100 -- Service Handshake -- {"registered"=>true, "clientid"=>"50bf51176b693397f0000002"} +2012-12-05 08:50:15.420507 D [38896:70134823869140] [50bf51176b693397f0000001] RubySkynet::Connection: localhost:2100 -- Sending Client Handshake +2012-12-05 08:50:15.420515 T [38896:70134823869140] [50bf51176b693397f0000001] RubySkynet::Connection: localhost:2100 -- Client Handshake -- {"clientid"=>"50bf51176b693397f0000002"} +2012-12-05 08:50:15.420535 T [38896:70134823869140] [50bf51176b693397f0000001] ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sending -- ,clientid50bf51176b693397f0000002 +2012-12-05 08:50:15.421308 D [38896:70134823869140] [50bf51176b693397f0000001] (0.8ms) ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sent 44 bytes +2012-12-05 08:50:15.421461 D [38896:70134823869140] [50bf51176b693397f0000001] RubySkynet::Connection: localhost:2100 -- Sending Header +2012-12-05 08:50:15.421472 T [38896:70134823869140] [50bf51176b693397f0000001] RubySkynet::Connection: localhost:2100 -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 08:50:15.421494 T [38896:70134823869140] [50bf51176b693397f0000001] ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sending -- 5servicemethodTestService.Forwardseq +2012-12-05 08:50:15.422016 D [38896:70134825788720] RubySkynet::Server -- ****************** -2012-10-18 16:27:12.970107 D [1177:70308292351360] SimpleServer -- +2012-12-05 08:50:15.422035 D [38896:70134825788720] RubySkynet::Server -- Received Request +2012-12-05 08:50:15.422048 T [38896:70134825788720] RubySkynet::Server -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 08:50:15.422445 D [38896:70134823869140] [50bf51176b693397f0000001] (0.9ms) ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sent 53 bytes +2012-12-05 08:50:15.422513 D [38896:70134823869140] [50bf51176b693397f0000001] RubySkynet::Connection: localhost:2100 -- Sending Request +2012-12-05 08:50:15.422521 T [38896:70134823869140] [50bf51176b693397f0000001] RubySkynet::Connection: localhost:2100 -- Request -- {"clientid"=>"50bf51176b693397f0000002", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"echo", "requestinfo"=>{"requestid"=>"50bf51176b693397f0000001", "retrycount"=>0, "originaddress"=>""}} +2012-12-05 08:50:15.422527 T [38896:70134823869140] [50bf51176b693397f0000001] RubySkynet::Connection: localhost:2100 -- Parameters: -- {"some"=>"parameters"} +2012-12-05 08:50:15.422544 T [38896:70134823869140] [50bf51176b693397f0000001] ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sending -- clientid50bf51176b693397f0000002insome parametersmethodechorequestinfoQrequestid50bf51176b693397f0000001retrycountoriginaddress +2012-12-05 08:50:15.423282 T [38896:70134825788720] RubySkynet::Server -- Request -- {"clientid"=>"50bf51176b693397f0000002", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"echo", "requestinfo"=>{"requestid"=>"50bf51176b693397f0000001", "retrycount"=>0, "originaddress"=>""}} +2012-12-05 08:50:15.423311 T [38896:70134825788720] RubySkynet::Server -- Parameters -- {"some"=>"parameters"} +2012-12-05 08:50:15.423335 T [38896:70134825788720] RubySkynet::Server -- Method Call: echo with parameters: -- {"some"=>"parameters"} +2012-12-05 08:50:15.423379 D [38896:70134825788720] (0.1ms) RubySkynet::Server -- Called: TestService#echo -- NoMethodError: undefined method `new' for RubySkynet::Service:Module +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/server.rb:90:in `block in on_message' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_debug' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/server.rb:86:in `on_message' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/server.rb:126:in `handle_connection' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/celluloid-0.12.3/lib/celluloid/calls.rb:99:in `dispatch' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/celluloid-0.12.3/lib/celluloid/actor.rb:323:in `block in handle_message' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/celluloid-0.12.3/lib/celluloid/tasks/task_fiber.rb:22:in `block in initialize' +2012-12-05 08:50:15.423453 E [38896:70134825788720] Celluloid -- RubySkynet::Server crashed! +NoMethodError: undefined method `new' for RubySkynet::Service:Module +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/server.rb:90:in `block in on_message' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_debug' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/server.rb:86:in `on_message' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/server.rb:126:in `handle_connection' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/celluloid-0.12.3/lib/celluloid/calls.rb:99:in `dispatch' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/celluloid-0.12.3/lib/celluloid/actor.rb:323:in `block in handle_message' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/celluloid-0.12.3/lib/celluloid/tasks/task_fiber.rb:22:in `block in initialize' +2012-12-05 08:50:15.423506 I [38896:70134825788720] RubySkynet::Server -- Skynet Server Stopped +2012-12-05 08:50:15.424239 D [38896:70134823869140] [50bf51176b693397f0000001] (1.7ms) ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sent 190 bytes +2012-12-05 08:50:15.424286 D [38896:70134823869140] [50bf51176b693397f0000001] RubySkynet::Connection: localhost:2100 -- Reading header from server +2012-12-05 08:51:08.975738 D [38896:70134823869140] [50bf51176b693397f0000001] (53551.4ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 4 bytes -- Interrupt: +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:378:in `select' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:378:in `block in read' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_debug' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:374:in `read' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/common.rb:10:in `read_bson_document' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:178:in `rpc_call' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:65:in `block (3 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/gene_pool-1.3.0/lib/gene_pool.rb:134:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:214:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:64:in `block (2 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_info' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:60:in `block in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:126:in `with_tags' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:59:in `call' +/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_service_test.rb:65:in `block (4 levels) in <class:RubySkynetServiceTest>' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `block in create_test_from_should_hash' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/mocha-0.10.5/lib/mocha/integration/mini_test/version_230_to_262.rb:28:in `run' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/testcase.rb:17:in `run' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:787:in `block in _run_suite' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `map' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `_run_suite' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:565:in `block in _run_suites' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:563:in `each' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:563:in `_run_suites' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:746:in `_run_anything' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:909:in `run_tests' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:896:in `block in _run' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:895:in `each' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:895:in `_run' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:884:in `run' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:21:in `run' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:326:in `block (2 levels) in autorun' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:27:in `run_once' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:325:in `block in autorun' +2012-12-05 08:51:08.975816 I [38896:70134823869140] [50bf51176b693397f0000001] (53584.4ms) RubySkynet::Client: TestService/1/Test -- Called Skynet Service: TestService.echo -- Interrupt: +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:378:in `select' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:378:in `block in read' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_debug' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:374:in `read' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/common.rb:10:in `read_bson_document' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:178:in `rpc_call' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:65:in `block (3 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/gene_pool-1.3.0/lib/gene_pool.rb:134:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:214:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:64:in `block (2 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_info' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:60:in `block in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:126:in `with_tags' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:59:in `call' +/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_service_test.rb:65:in `block (4 levels) in <class:RubySkynetServiceTest>' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `block in create_test_from_should_hash' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/mocha-0.10.5/lib/mocha/integration/mini_test/version_230_to_262.rb:28:in `run' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/testcase.rb:17:in `run' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:787:in `block in _run_suite' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `map' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `_run_suite' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:565:in `block in _run_suites' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:563:in `each' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:563:in `_run_suites' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:746:in `_run_anything' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:909:in `run_tests' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:896:in `block in _run' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:895:in `each' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:895:in `_run' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:884:in `run' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:21:in `run' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:326:in `block (2 levels) in autorun' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:27:in `run_once' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:325:in `block in autorun' +2012-12-05 08:52:29.382419 I [38943:70283751395660] RubySkynet::Server -- Starting listener on localhost:2100 +2012-12-05 08:52:29.382450 D [38943:70283751395660] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 08:52:29.396207 D [38943:70283746826960] RubySkynet::Service -- Registering Service: TestService +2012-12-05 08:52:29.406379 D [38943:70283746826960] RubySkynet::Registry -- Doozer Connection Pool: Created connection #1 #<Thread:0x007fd86b86b5a0>(70283746826960) for Doozer Connection Pool +2012-12-05 08:52:29.444215 T [38943:70283746826960] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007fd86b82e268@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 08:52:29.449796 D [38943:70283746826960] RubySkynet::Registry -- Doozer Connection Pool: Renewed connection old=70283746826960 new=#<RubySkynet::Doozer::Client:0x007fd86b826c48>(70283746686500) +2012-12-05 08:52:29.449867 D [38943:70283746826960] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fd86b826c48>(70283746686500) self=connections=70283746686500 checked_out=70283746686500 with_map= +2012-12-05 08:52:29.463555 T [38943:70283746826960] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "2/services/TestService/1/Development/localhost/2100*{"Config":{"UUID":"localhost:2100-38943-TestService-70283747979360","Name":"TestService","Version":"1","Region":"Development","ServiceAddr":{"IPAddress":"localhost","Port":2100,"MaxPort":3099}},"Registered":true}H +2012-12-05 08:52:29.463643 D [38943:70283746826960] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 286 bytes +2012-12-05 08:52:29.466529 T [38943:70283746826960] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 08:52:29.466674 D [38943:70283746826960] (1.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 08:52:29.467390 T [38943:70283746826960] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\x82\x05" +2012-12-05 08:52:29.467423 D [38943:70283746826960] (0.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 08:52:29.467589 D [38943:70283746826960] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fd86b826c48>(70283746686500) self=connections=70283746686500 checked_out= with_map= +2012-12-05 08:52:29.475736 D [38943:70283746826960] [50bf519d6b6933981f000001] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fd86b826c48>(70283746686500) self=connections=70283746686500 checked_out=70283746686500 with_map= +2012-12-05 08:52:29.476096 T [38943:70283746826960] [50bf519d6b6933981f000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  +2012-12-05 08:52:29.476546 D [38943:70283746826960] [50bf519d6b6933981f000001] (0.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 8 bytes +2012-12-05 08:52:29.476666 T [38943:70283746826960] [50bf519d6b6933981f000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 08:52:29.476675 D [38943:70283746826960] [50bf519d6b6933981f000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 08:52:29.476742 T [38943:70283746826960] [50bf519d6b6933981f000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\x82\x05" +2012-12-05 08:52:29.476749 D [38943:70283746826960] [50bf519d6b6933981f000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 08:52:29.477018 T [38943:70283746826960] [50bf519d6b6933981f000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H +2012-12-05 08:52:29.477059 D [38943:70283746826960] [50bf519d6b6933981f000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-05 08:52:29.477718 T [38943:70283746826960] [50bf519d6b6933981f000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01\x11" +2012-12-05 08:52:29.477748 D [38943:70283746826960] [50bf519d6b6933981f000001] (0.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 08:52:29.478797 T [38943:70283746826960] [50bf519d6b6933981f000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18l*2/services/TestService/1/Development/airspeedy/20002\xD4\x01{\"Config\":{\"UUID\":\"airspeedy:2000-38755-TestService-70283067275940\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Development\",\"ServiceAddr\":{\"IPAddress\":\"airspeedy\",\"Port\":2000,\"MaxPort\":2999}},\"Registered\":true}" +2012-12-05 08:52:29.478808 D [38943:70283746826960] [50bf519d6b6933981f000001] (0.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 273 bytes +2012-12-05 08:52:29.479195 T [38943:70283746826960] [50bf519d6b6933981f000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H +2012-12-05 08:52:29.479238 D [38943:70283746826960] [50bf519d6b6933981f000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-05 08:52:29.480255 T [38943:70283746826960] [50bf519d6b6933981f000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01\x12" +2012-12-05 08:52:29.480285 D [38943:70283746826960] [50bf519d6b6933981f000001] (1.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 08:52:29.480392 T [38943:70283746826960] [50bf519d6b6933981f000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\x82\x05*2/services/TestService/1/Development/localhost/21002\xD4\x01{\"Config\":{\"UUID\":\"localhost:2100-38943-TestService-70283747979360\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Development\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-05 08:52:29.480399 D [38943:70283746826960] [50bf519d6b6933981f000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 274 bytes +2012-12-05 08:52:29.480674 T [38943:70283746826960] [50bf519d6b6933981f000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H +2012-12-05 08:52:29.480717 D [38943:70283746826960] [50bf519d6b6933981f000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-05 08:52:29.481256 T [38943:70283746826960] [50bf519d6b6933981f000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01\x04" +2012-12-05 08:52:29.481267 D [38943:70283746826960] [50bf519d6b6933981f000001] (0.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 08:52:29.481337 T [38943:70283746826960] [50bf519d6b6933981f000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xFB\x03*+/services/TestService/1/Test/localhost/21002\xCD\x01{\"Config\":{\"UUID\":\"localhost:2100-38896-TestService-70134823809100\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-05 08:52:29.481342 D [38943:70283746826960] [50bf519d6b6933981f000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 260 bytes +2012-12-05 08:52:29.481609 T [38943:70283746826960] [50bf519d6b6933981f000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H +2012-12-05 08:52:29.481645 D [38943:70283746826960] [50bf519d6b6933981f000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-05 08:52:29.482468 T [38943:70283746826960] [50bf519d6b6933981f000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 08:52:29.482504 D [38943:70283746826960] [50bf519d6b6933981f000001] (0.8ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 08:52:29.482701 T [38943:70283746826960] [50bf519d6b6933981f000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\xA0\x06\b" +2012-12-05 08:52:29.482737 D [38943:70283746826960] [50bf519d6b6933981f000001] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 08:52:29.482923 D [38943:70283746826960] [50bf519d6b6933981f000001] RubySkynet::Registry -- #start_monitoring Add Service: TestService/1/Development => airspeedy:2000 +2012-12-05 08:52:29.482971 D [38943:70283746826960] [50bf519d6b6933981f000001] RubySkynet::Registry -- #start_monitoring Add Service: TestService/1/Development => localhost:2100 +2012-12-05 08:52:29.483017 D [38943:70283746826960] [50bf519d6b6933981f000001] RubySkynet::Registry -- #start_monitoring Add Service: TestService/1/Test => localhost:2100 +2012-12-05 08:52:29.483055 D [38943:70283746826960] [50bf519d6b6933981f000001] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fd86b826c48>(70283746686500) self=connections=70283746686500 checked_out= with_map= +2012-12-05 08:52:29.483838 I [38943:70283748005060] RubySkynet::Registry -- Start monitoring /services/*/*/*/*/* +2012-12-05 08:52:29.483880 T [38943:70283748005060] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007fd86c14a040@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 08:52:29.485423 T [38943:70283748005060] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-05 08:52:29.485489 D [38943:70283748005060] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 08:52:59.549930 I [38943:70283746826960] [50bf519d6b6933981f000001] (30066.5ms) ResilientSocket::TCPClient ["airspeedy:2000"] -- Connecting to server airspeedy:2000 -- ResilientSocket::ConnectionTimeout: Timedout after 30.0 seconds trying to connect to airspeedy:2000 +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:566:in `block in connect_to_server' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_info' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:542:in `connect_to_server' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:305:in `connect' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:233:in `initialize' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:104:in `new' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:104:in `initialize' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:235:in `new' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:235:in `block in new_connection_pool' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/gene_pool-1.3.0/lib/gene_pool.rb:193:in `call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/gene_pool-1.3.0/lib/gene_pool.rb:193:in `renew' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/gene_pool-1.3.0/lib/gene_pool.rb:97:in `checkout' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/gene_pool-1.3.0/lib/gene_pool.rb:129:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:214:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:64:in `block (2 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_info' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:60:in `block in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:126:in `with_tags' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:59:in `call' +(irb):22:in `irb_binding' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/workspace.rb:80:in `eval' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/workspace.rb:80:in `evaluate' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/context.rb:254:in `evaluate' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:159:in `block (2 levels) in eval_input' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:273:in `signal_status' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:156:in `block in eval_input' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:243:in `block (2 levels) in each_top_level_statement' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:229:in `loop' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:229:in `block in each_top_level_statement' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:228:in `catch' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:228:in `each_top_level_statement' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:155:in `eval_input' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:70:in `block in start' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:69:in `catch' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:69:in `start' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/bin/irb:16:in `<main>' +2012-12-05 08:52:59.549999 I [38943:70283746826960] [50bf519d6b6933981f000001] (30075.9ms) RubySkynet::Client: TestService/*/Development -- Called Skynet Service: TestService.echo -- ResilientSocket::ConnectionTimeout: Timedout after 30.0 seconds trying to connect to airspeedy:2000 +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:566:in `block in connect_to_server' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_info' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:542:in `connect_to_server' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:305:in `connect' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:233:in `initialize' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:104:in `new' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:104:in `initialize' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:235:in `new' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:235:in `block in new_connection_pool' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/gene_pool-1.3.0/lib/gene_pool.rb:193:in `call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/gene_pool-1.3.0/lib/gene_pool.rb:193:in `renew' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/gene_pool-1.3.0/lib/gene_pool.rb:97:in `checkout' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/gene_pool-1.3.0/lib/gene_pool.rb:129:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:214:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:64:in `block (2 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_info' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:60:in `block in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:126:in `with_tags' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:59:in `call' +(irb):22:in `irb_binding' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/workspace.rb:80:in `eval' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/workspace.rb:80:in `evaluate' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/context.rb:254:in `evaluate' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:159:in `block (2 levels) in eval_input' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:273:in `signal_status' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:156:in `block in eval_input' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:243:in `block (2 levels) in each_top_level_statement' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:229:in `loop' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:229:in `block in each_top_level_statement' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:228:in `catch' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:228:in `each_top_level_statement' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:155:in `eval_input' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:70:in `block in start' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:69:in `catch' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:69:in `start' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/bin/irb:16:in `<main>' +2012-12-05 08:54:24.170901 T [38943:70283748005060] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- nil +2012-12-05 08:54:24.171017 W [38943:70283748005060] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read server closed the connection before 4 bytes were returned +2012-12-05 08:54:24.171102 D [38943:70283748005060] (114685.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -- ResilientSocket::ConnectionFailure: Connection lost while reading data +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:405:in `block in read' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_debug' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:374:in `read' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:202:in `read' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:181:in `block in invoke' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:466:in `retry_on_connection_failure' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:179:in `invoke' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:148:in `wait' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:160:in `block in watch' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:159:in `loop' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:159:in `watch' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/registry.rb:197:in `watch' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/registry.rb:188:in `block in start_monitoring' +2012-12-05 08:54:24.171149 W [38943:70283748005060] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #retry_on_connection_failure retry 1 due to ResilientSocket::ConnectionFailure: Connection lost while reading data +2012-12-05 08:54:24.171504 W [38943:70283748005060] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 1 +2012-12-05 08:54:25.172732 T [38943:70283748005060] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-05 08:54:25.173140 D [38943:70283748005060] (0.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 08:54:29.490653 I [38943:70283746826960] Celluloid -- Terminating 5 actors... +2012-12-05 08:54:29.491518 I [38943:70283751395660] RubySkynet::Server -- Skynet Server Stopped +2012-12-05 08:54:29.492144 I [38943:70283746826960] Celluloid -- Shutdown completed cleanly +2012-12-05 08:54:32.808043 I [38983:70336364823000] RubySkynet::Server -- Starting listener on localhost:2100 +2012-12-05 08:54:32.808076 D [38983:70336364823000] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 08:54:32.821045 D [38983:70336360176340] RubySkynet::Service -- Registering Service: TestService +2012-12-05 08:54:32.830862 D [38983:70336360176340] RubySkynet::Registry -- Doozer Connection Pool: Created connection #1 #<Thread:0x007ff0eb86b5a8>(70336360176340) for Doozer Connection Pool +2012-12-05 08:54:32.869930 T [38983:70336360176340] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007ff0eb8269d0@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 08:54:32.873646 D [38983:70336360176340] RubySkynet::Registry -- Doozer Connection Pool: Renewed connection old=70336360176340 new=#<RubySkynet::Doozer::Client:0x007ff0eb826d68>(70336360036020) +2012-12-05 08:54:32.873688 D [38983:70336360176340] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007ff0eb826d68>(70336360036020) self=connections=70336360036020 checked_out=70336360036020 with_map= +2012-12-05 08:54:32.887021 T [38983:70336360176340] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "2/services/TestService/1/Development/localhost/2100*{"Config":{"UUID":"localhost:2100-38983-TestService-70336365097060","Name":"TestService","Version":"1","Region":"Development","ServiceAddr":{"IPAddress":"localhost","Port":2100,"MaxPort":3099}},"Registered":true}H +2012-12-05 08:54:32.887449 D [38983:70336360176340] (0.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 286 bytes +2012-12-05 08:54:32.891687 T [38983:70336360176340] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x04" +2012-12-05 08:54:32.891757 D [38983:70336360176340] (4.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 08:54:32.892432 T [38983:70336360176340] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18B" +2012-12-05 08:54:32.892474 D [38983:70336360176340] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 08:54:32.892644 D [38983:70336360176340] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007ff0eb826d68>(70336360036020) self=connections=70336360036020 checked_out= with_map= +2012-12-05 08:54:32.900511 D [38983:70336360176340] [50bf52186b69339847000001] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007ff0eb826d68>(70336360036020) self=connections=70336360036020 checked_out=70336360036020 with_map= +2012-12-05 08:54:32.900758 T [38983:70336360176340] [50bf52186b69339847000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  +2012-12-05 08:54:32.901328 D [38983:70336360176340] [50bf52186b69339847000001] (0.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 8 bytes +2012-12-05 08:54:32.901440 T [38983:70336360176340] [50bf52186b69339847000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x04" +2012-12-05 08:54:32.901448 D [38983:70336360176340] [50bf52186b69339847000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 08:54:32.901939 T [38983:70336360176340] [50bf52186b69339847000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18B" +2012-12-05 08:54:32.901964 D [38983:70336360176340] [50bf52186b69339847000001] (0.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 08:54:32.902273 T [38983:70336360176340] [50bf52186b69339847000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8HB +2012-12-05 08:54:32.903720 D [38983:70336360176340] [50bf52186b69339847000001] (1.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 33 bytes +2012-12-05 08:54:32.904624 T [38983:70336360176340] [50bf52186b69339847000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01\x11" +2012-12-05 08:54:32.904641 D [38983:70336360176340] [50bf52186b69339847000001] (0.9ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 08:54:32.904734 T [38983:70336360176340] [50bf52186b69339847000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18B*2/services/TestService/1/Development/localhost/21002\xD4\x01{\"Config\":{\"UUID\":\"localhost:2100-38983-TestService-70336365097060\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Development\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-05 08:54:32.904740 D [38983:70336360176340] [50bf52186b69339847000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 273 bytes +2012-12-05 08:54:32.905112 T [38983:70336360176340] [50bf52186b69339847000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8HB +2012-12-05 08:54:32.905463 D [38983:70336360176340] [50bf52186b69339847000001] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 33 bytes +2012-12-05 08:54:32.906111 T [38983:70336360176340] [50bf52186b69339847000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 08:54:32.906134 D [38983:70336360176340] [50bf52186b69339847000001] (0.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 08:54:32.906226 T [38983:70336360176340] [50bf52186b69339847000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\xA0\x06\b" +2012-12-05 08:54:32.906233 D [38983:70336360176340] [50bf52186b69339847000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 08:54:32.906435 D [38983:70336360176340] [50bf52186b69339847000001] RubySkynet::Registry -- #start_monitoring Add Service: TestService/1/Development => localhost:2100 +2012-12-05 08:54:32.906479 D [38983:70336360176340] [50bf52186b69339847000001] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007ff0eb826d68>(70336360036020) self=connections=70336360036020 checked_out= with_map= +2012-12-05 08:54:32.907051 I [38983:70336365011280] RubySkynet::Registry -- Start monitoring /services/*/*/*/*/* +2012-12-05 08:54:32.907090 T [38983:70336365011280] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007ff0ec1b41f0@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 08:54:32.907934 T [38983:70336365011280] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*HC +2012-12-05 08:54:32.908386 D [38983:70336365011280] (0.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 31 bytes +2012-12-05 08:54:32.909602 D [38983:70336360176340] [50bf52186b69339847000001] RubySkynet::Connection: localhost:2100 -- Waiting for Service Handshake +2012-12-05 08:54:32.910732 D [38983:70336364823000] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 08:54:32.910837 D [38983:70336364823000] RubySkynet::Server -- Client connected, waiting for data from client +2012-12-05 08:54:32.911484 T [38983:70336360176340] [50bf52186b69339847000001] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "9\x00\x00\x00" +2012-12-05 08:54:32.911542 D [38983:70336360176340] [50bf52186b69339847000001] (1.4ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 4 bytes +2012-12-05 08:54:32.911599 T [38983:70336360176340] [50bf52186b69339847000001] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "\bregistered\x00\x01\x02clientid\x00\x19\x00\x00\x0050bf52186b69339847000002\x00\x00" +2012-12-05 08:54:32.911605 D [38983:70336360176340] [50bf52186b69339847000001] (0.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 53 bytes +2012-12-05 08:54:32.911655 T [38983:70336360176340] [50bf52186b69339847000001] RubySkynet::Connection: localhost:2100 -- Service Handshake -- {"registered"=>true, "clientid"=>"50bf52186b69339847000002"} +2012-12-05 08:54:32.911667 D [38983:70336360176340] [50bf52186b69339847000001] RubySkynet::Connection: localhost:2100 -- Sending Client Handshake +2012-12-05 08:54:32.911673 T [38983:70336360176340] [50bf52186b69339847000001] RubySkynet::Connection: localhost:2100 -- Client Handshake -- {"clientid"=>"50bf52186b69339847000002"} +2012-12-05 08:54:32.911690 T [38983:70336360176340] [50bf52186b69339847000001] ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sending -- ,clientid50bf52186b69339847000002 +2012-12-05 08:54:32.911734 D [38983:70336360176340] [50bf52186b69339847000001] (0.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sent 44 bytes +2012-12-05 08:54:32.911807 D [38983:70336360176340] [50bf52186b69339847000001] RubySkynet::Connection: localhost:2100 -- Sending Header +2012-12-05 08:54:32.911816 T [38983:70336360176340] [50bf52186b69339847000001] RubySkynet::Connection: localhost:2100 -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 08:54:32.911837 T [38983:70336360176340] [50bf52186b69339847000001] ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sending -- 5servicemethodTestService.Forwardseq +2012-12-05 08:54:32.911881 D [38983:70336360176340] [50bf52186b69339847000001] (0.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sent 53 bytes +2012-12-05 08:54:32.911917 D [38983:70336360176340] [50bf52186b69339847000001] RubySkynet::Connection: localhost:2100 -- Sending Request +2012-12-05 08:54:32.911924 T [38983:70336360176340] [50bf52186b69339847000001] RubySkynet::Connection: localhost:2100 -- Request -- {"clientid"=>"50bf52186b69339847000002", "in"=>"\x10\x00\x00\x00\x10value\x00\x05\x00\x00\x00\x00", "method"=>"echo", "requestinfo"=>{"requestid"=>"50bf52186b69339847000001", "retrycount"=>0, "originaddress"=>""}} +2012-12-05 08:54:32.911929 T [38983:70336360176340] [50bf52186b69339847000001] RubySkynet::Connection: localhost:2100 -- Parameters: -- {:value=>5} +2012-12-05 08:54:32.911946 T [38983:70336360176340] [50bf52186b69339847000001] ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sending -- clientid50bf52186b69339847000002invaluemethodechorequestinfoQrequestid50bf52186b69339847000001retrycountoriginaddress +2012-12-05 08:54:32.911986 D [38983:70336360176340] [50bf52186b69339847000001] (0.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sent 180 bytes +2012-12-05 08:54:32.912000 D [38983:70336360176340] [50bf52186b69339847000001] RubySkynet::Connection: localhost:2100 -- Reading header from server +2012-12-05 08:54:32.913760 D [38983:70336364823000] RubySkynet::Server -- ****************** -2012-10-18 16:27:12.970123 D [1177:70308292351360] SimpleServer -- Received Request -2012-10-18 16:27:12.970123 D [1177:70308292351360] SimpleServer -- Received Request -2012-10-18 16:27:12.970133 T [1177:70308292351360] SimpleServer -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} -2012-10-18 16:27:12.970133 T [1177:70308292351360] SimpleServer -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} -- {"servicemethod"=>"TestService.Forward", "seq"=>0} -2012-10-18 16:27:12.970211 T [1177:70308292351360] SimpleServer -- Request -- {"clientid"=>"123", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"test1", "requestinfo"=>{"requestid"=>"508066206b69330499000001", "retrycount"=>0, "originaddress"=>""}} -2012-10-18 16:27:12.970211 T [1177:70308292351360] SimpleServer -- Request -- {"clientid"=>"123", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"test1", "requestinfo"=>{"requestid"=>"508066206b69330499000001", "retrycount"=>0, "originaddress"=>""}} -- {"clientid"=>"123", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"test1", "requestinfo"=>{"requestid"=>"508066206b69330499000001", "retrycount"=>0, "originaddress"=>""}} -2012-10-18 16:27:12.970235 D [1177:70308292351360] SimpleServer -- Sending Header -2012-10-18 16:27:12.970235 D [1177:70308292351360] SimpleServer -- Sending Header -2012-10-18 16:27:12.970291 D [1177:70308292351360] SimpleServer -- Sending Reply -2012-10-18 16:27:12.970291 D [1177:70308292351360] SimpleServer -- Sending Reply -2012-10-18 16:27:12.970303 T [1177:70308292351360] SimpleServer -- Reply -- {"result"=>"test1"} -2012-10-18 16:27:12.970303 T [1177:70308292351360] SimpleServer -- Reply -- {"result"=>"test1"} -- {"result"=>"test1"} -2012-10-18 16:27:12.970399 T [1177:70308291893980] [508066206b69330499000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "5\x00\x00\x00" -2012-10-18 16:27:12.970399 T [1177:70308291893980] [508066206b69330499000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "5\x00\x00\x00" -- "5\x00\x00\x00" -2012-10-18 16:27:12.970411 D [1177:70308291893980] [508066206b69330499000001] (0.6ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes -2012-10-18 16:27:12.970411 D [1177:70308291893980] [508066206b69330499000001] (0.6ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes -2012-10-18 16:27:12.970465 T [1177:70308291893980] [508066206b69330499000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "\x02servicemethod\x00\x14\x00\x00\x00TestService.Forward\x00\x10seq\x00\x00\x00\x00\x00\x00" -2012-10-18 16:27:12.970465 T [1177:70308291893980] [508066206b69330499000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "\x02servicemethod\x00\x14\x00\x00\x00TestService.Forward\x00\x10seq\x00\x00\x00\x00\x00\x00" -- "\x02servicemethod\x00\x14\x00\x00\x00TestService.Forward\x00\x10seq\x00\x00\x00\x00\x00\x00" -2012-10-18 16:27:12.970476 D [1177:70308291893980] [508066206b69330499000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 49 bytes -2012-10-18 16:27:12.970476 D [1177:70308291893980] [508066206b69330499000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 49 bytes -2012-10-18 16:27:12.970508 D [1177:70308291893980] [508066206b69330499000001] RubySkynet::Connection: 127.0.0.1:2000 -- Response Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} -2012-10-18 16:27:12.970508 D [1177:70308291893980] [508066206b69330499000001] RubySkynet::Connection: 127.0.0.1:2000 -- Response Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} -- {"servicemethod"=>"TestService.Forward", "seq"=>0} -2012-10-18 16:27:12.970518 D [1177:70308291893980] [508066206b69330499000001] RubySkynet::Connection: 127.0.0.1:2000 -- Reading response from server -2012-10-18 16:27:12.970518 D [1177:70308291893980] [508066206b69330499000001] RubySkynet::Connection: 127.0.0.1:2000 -- Reading response from server -2012-10-18 16:27:12.970570 T [1177:70308291893980] [508066206b69330499000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "&\x00\x00\x00" -2012-10-18 16:27:12.970570 T [1177:70308291893980] [508066206b69330499000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "&\x00\x00\x00" -- "&\x00\x00\x00" -2012-10-18 16:27:12.970580 D [1177:70308291893980] [508066206b69330499000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes -2012-10-18 16:27:12.970580 D [1177:70308291893980] [508066206b69330499000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes -2012-10-18 16:27:12.970632 T [1177:70308291893980] [508066206b69330499000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "\x02out\x00\x18\x00\x00\x00\x17\x00\x00\x00\x02result\x00\x06\x00\x00\x00test1\x00\x00\x00\x00" -2012-10-18 16:27:12.970632 T [1177:70308291893980] [508066206b69330499000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "\x02out\x00\x18\x00\x00\x00\x17\x00\x00\x00\x02result\x00\x06\x00\x00\x00test1\x00\x00\x00\x00" -- "\x02out\x00\x18\x00\x00\x00\x17\x00\x00\x00\x02result\x00\x06\x00\x00\x00test1\x00\x00\x00\x00" -2012-10-18 16:27:12.970642 D [1177:70308291893980] [508066206b69330499000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 34 bytes -2012-10-18 16:27:12.970642 D [1177:70308291893980] [508066206b69330499000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 34 bytes -2012-10-18 16:27:12.970672 T [1177:70308291893980] [508066206b69330499000001] RubySkynet::Connection: 127.0.0.1:2000 -- Response -- {"out"=>"\x17\x00\x00\x00\x02result\x00\x06\x00\x00\x00test1\x00\x00"} -2012-10-18 16:27:12.970672 T [1177:70308291893980] [508066206b69330499000001] RubySkynet::Connection: 127.0.0.1:2000 -- Response -- {"out"=>"\x17\x00\x00\x00\x02result\x00\x06\x00\x00\x00test1\x00\x00"} -- {"out"=>"\x17\x00\x00\x00\x02result\x00\x06\x00\x00\x00test1\x00\x00"} -2012-10-18 16:27:12.970696 T [1177:70308291893980] [508066206b69330499000001] RubySkynet::Connection: 127.0.0.1:2000 -- Return Value -- {"result"=>"test1"} -2012-10-18 16:27:12.970696 T [1177:70308291893980] [508066206b69330499000001] RubySkynet::Connection: 127.0.0.1:2000 -- Return Value -- {"result"=>"test1"} -- {"result"=>"test1"} -2012-10-18 16:27:12.970716 I [1177:70308291893980] [508066206b69330499000001] (17.0ms) RubySkynet::Client: TestService/1/Test -- Called Skynet Service: TestService.test1 -2012-10-18 16:27:12.970716 I [1177:70308291893980] [508066206b69330499000001] (17.0ms) RubySkynet::Client: TestService/1/Test -- Called Skynet Service: TestService.test1 -2012-10-18 16:27:12.970951 D [1177:70308291893980] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fe3da250178>(70308297081020) self=connections=70308297081020 checked_out=70308297081020 with_map= -2012-10-18 16:27:12.970951 D [1177:70308291893980] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fe3da250178>(70308297081020) self=connections=70308297081020 checked_out=70308297081020 with_map= -2012-10-18 16:27:12.971226 T [1177:70308291893980] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- <"+/services/TestService/1/Test/127.0.0.1/2000H -2012-10-18 16:27:12.971226 T [1177:70308291893980] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- <"+/services/TestService/1/Test/127.0.0.1/2000H -- <"+/services/TestService/1/Test/127.0.0.1/2000H -2012-10-18 16:27:12.971279 D [1177:70308291893980] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 64 bytes -2012-10-18 16:27:12.971279 D [1177:70308291893980] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 64 bytes -2012-10-18 16:27:12.973483 T [1177:70308293213420] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x007" -2012-10-18 16:27:12.973483 T [1177:70308293213420] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x007" -- "\x00\x00\x007" -2012-10-18 16:27:12.973500 D [1177:70308293213420] (4.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:27:12.973500 D [1177:70308293213420] (4.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:27:12.976968 T [1177:70308291893980] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x02" -2012-10-18 16:27:12.976968 T [1177:70308291893980] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x02" -- "\x00\x00\x00\x02" -2012-10-18 16:27:12.977584 D [1177:70308291893980] (6.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:27:12.977584 D [1177:70308291893980] (6.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:27:12.993892 T [1177:70308291893980] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00" -2012-10-18 16:27:12.993892 T [1177:70308291893980] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00" -- "\b\x00" -2012-10-18 16:27:12.994208 D [1177:70308291893980] (16.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 2 bytes -2012-10-18 16:27:12.994208 D [1177:70308291893980] (16.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 2 bytes -2012-10-18 16:27:12.994398 D [1177:70308291893980] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fe3da250178>(70308297081020) self=connections=70308297081020 checked_out= with_map= -2012-10-18 16:27:12.994398 D [1177:70308291893980] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fe3da250178>(70308297081020) self=connections=70308297081020 checked_out= with_map= -2012-10-18 16:27:12.994510 T [1177:70308293213420] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\b\x18\xC7\xD1\x03*+/services/TestService/1/Test/127.0.0.1/20002\x00" -2012-10-18 16:27:12.994510 T [1177:70308293213420] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\b\x18\xC7\xD1\x03*+/services/TestService/1/Test/127.0.0.1/20002\x00" -- "\b\x00\x10\b\x18\xC7\xD1\x03*+/services/TestService/1/Test/127.0.0.1/20002\x00" -2012-10-18 16:27:12.994646 D [1177:70308293213420] (21.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 55 bytes -2012-10-18 16:27:12.994646 D [1177:70308293213420] (21.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 55 bytes -2012-10-18 16:27:12.994779 D [1177:70308293213420] RubySkynet::Registry -- #monitor Service stopped, remove: TestService/1/Test => 127.0.0.1:2000 -2012-10-18 16:27:12.994779 D [1177:70308293213420] RubySkynet::Registry -- #monitor Service stopped, remove: TestService/1/Test => 127.0.0.1:2000 -2012-10-18 16:27:12.994846 I [1177:70308293213420] RubySkynet::Registry -- Calling callback for server: 127.0.0.1:2000 -2012-10-18 16:27:12.994846 I [1177:70308293213420] RubySkynet::Registry -- Calling callback for server: 127.0.0.1:2000 -2012-10-18 16:27:12.994986 D [1177:70308293213420] RubySkynet::Connection -- Connection pool for server:127.0.0.1:2000 has been released -2012-10-18 16:27:12.994986 D [1177:70308293213420] RubySkynet::Connection -- Connection pool for server:127.0.0.1:2000 has been released -2012-10-18 16:27:12.995002 D [1177:70308293213420] RubySkynet::Registry -- Updated registry -- {"TutorialService/1/Development"=>["127.0.0.1:9000"]} -2012-10-18 16:27:12.995002 D [1177:70308293213420] RubySkynet::Registry -- Updated registry -- {"TutorialService/1/Development"=>["127.0.0.1:9000"]} -- {"TutorialService/1/Development"=>["127.0.0.1:9000"]} -2012-10-18 16:27:12.995382 T [1177:70308293213420] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H -2012-10-18 16:27:12.995382 T [1177:70308293213420] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H -- "/services/*/*/*/*/*H -2012-10-18 16:27:12.995463 D [1177:70308293213420] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 33 bytes -2012-10-18 16:27:12.995463 D [1177:70308293213420] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 33 bytes -2012-10-18 16:27:12.996644 D [1177:70308291893980] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fe3da250178>(70308297081020) self=connections=70308297081020 checked_out=70308297081020 with_map= -2012-10-18 16:27:12.996644 D [1177:70308291893980] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fe3da250178>(70308297081020) self=connections=70308297081020 checked_out=70308297081020 with_map= -2012-10-18 16:27:12.997285 T [1177:70308291893980] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "+/services/TestService/1/Test/127.0.0.1/2000*{"Config":{"UUID":"3978b371-15e9-40f8-9b7b-59ae88d8c7ec","Name":"TestService","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"127.0.0.1","Port":2000,"MaxPort":2999}},"Registered":true}H -2012-10-18 16:27:12.997285 T [1177:70308291893980] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "+/services/TestService/1/Test/127.0.0.1/2000*{"Config":{"UUID":"3978b371-15e9-40f8-9b7b-59ae88d8c7ec","Name":"TestService","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"127.0.0.1","Port":2000,"MaxPort":2999}},"Registered":true}H -- "+/services/TestService/1/Test/127.0.0.1/2000*{"Config":{"UUID":"3978b371-15e9-40f8-9b7b-59ae88d8c7ec","Name":"TestService","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"127.0.0.1","Port":2000,"MaxPort":2999}},"Registered":true}H -2012-10-18 16:27:12.997395 D [1177:70308291893980] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 261 bytes -2012-10-18 16:27:12.997395 D [1177:70308291893980] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 261 bytes -2012-10-18 16:27:13.005698 D [1177:70308293160520] SimpleServer -- Waiting for a client to connect -2012-10-18 16:27:13.005698 D [1177:70308293160520] SimpleServer -- Waiting for a client to connect -2012-10-18 16:27:13.006821 T [1177:70308291893980] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x06" -2012-10-18 16:27:13.006821 T [1177:70308291893980] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x06" -- "\x00\x00\x00\x06" -2012-10-18 16:27:13.006839 D [1177:70308291893980] (9.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:27:13.006839 D [1177:70308291893980] (9.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:27:13.010437 T [1177:70308293213420] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\xFA" -2012-10-18 16:27:13.010437 T [1177:70308293213420] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\xFA" -- "\x00\x00\x00\xFA" -2012-10-18 16:27:13.010458 D [1177:70308293213420] (15.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:27:13.010458 D [1177:70308293213420] (15.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:27:13.010576 T [1177:70308293213420] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xC9\xD1\x03*+/services/TestService/1/Test/127.0.0.1/20002\xC2\x01{\"Config\":{\"UUID\":\"3978b371-15e9-40f8-9b7b-59ae88d8c7ec\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"127.0.0.1\",\"Port\":2000,\"MaxPort\":2999}},\"Registered\":true}" -2012-10-18 16:27:13.010576 T [1177:70308293213420] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xC9\xD1\x03*+/services/TestService/1/Test/127.0.0.1/20002\xC2\x01{\"Config\":{\"UUID\":\"3978b371-15e9-40f8-9b7b-59ae88d8c7ec\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"127.0.0.1\",\"Port\":2000,\"MaxPort\":2999}},\"Registered\":true}" -- "\b\x00\x10\x04\x18\xC9\xD1\x03*+/services/TestService/1/Test/127.0.0.1/20002\xC2\x01{\"Config\":{\"UUID\":\"3978b371-15e9-40f8-9b7b-59ae88d8c7ec\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"127.0.0.1\",\"Port\":2000,\"MaxPort\":2999}},\"Registered\":true}" -2012-10-18 16:27:13.010586 D [1177:70308293213420] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 250 bytes -2012-10-18 16:27:13.010586 D [1177:70308293213420] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 250 bytes -2012-10-18 16:27:13.010804 D [1177:70308293213420] RubySkynet::Registry -- #monitor Add/Update Service: TestService/1/Test => 127.0.0.1:2000 -2012-10-18 16:27:13.010804 D [1177:70308293213420] RubySkynet::Registry -- #monitor Add/Update Service: TestService/1/Test => 127.0.0.1:2000 -2012-10-18 16:27:13.010963 D [1177:70308293213420] RubySkynet::Registry -- Updated registry -- {"TutorialService/1/Development"=>["127.0.0.1:9000"], "TestService/1/Test"=>["127.0.0.1:2000"]} -2012-10-18 16:27:13.010963 D [1177:70308293213420] RubySkynet::Registry -- Updated registry -- {"TutorialService/1/Development"=>["127.0.0.1:9000"], "TestService/1/Test"=>["127.0.0.1:2000"]} -- {"TutorialService/1/Development"=>["127.0.0.1:9000"], "TestService/1/Test"=>["127.0.0.1:2000"]} -2012-10-18 16:27:13.011262 T [1177:70308293213420] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H -2012-10-18 16:27:13.011262 T [1177:70308293213420] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H -- "/services/*/*/*/*/*H -2012-10-18 16:27:13.011340 D [1177:70308293213420] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 33 bytes -2012-10-18 16:27:13.011340 D [1177:70308293213420] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 33 bytes -2012-10-18 16:27:13.011407 T [1177:70308291893980] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xC9\xD1\x03" -2012-10-18 16:27:13.011407 T [1177:70308291893980] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xC9\xD1\x03" -- "\b\x00\x18\xC9\xD1\x03" -2012-10-18 16:27:13.011417 D [1177:70308291893980] (4.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 6 bytes -2012-10-18 16:27:13.011417 D [1177:70308291893980] (4.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 6 bytes -2012-10-18 16:27:13.011512 D [1177:70308291893980] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fe3da250178>(70308297081020) self=connections=70308297081020 checked_out= with_map= -2012-10-18 16:27:13.011512 D [1177:70308291893980] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fe3da250178>(70308297081020) self=connections=70308297081020 checked_out= with_map= -2012-10-18 16:27:13.012423 D [1177:70308291893980] [508066216b69330499000002] RubySkynet::Connection: 127.0.0.1:2000 -- Waiting for Service Handshake -2012-10-18 16:27:13.012423 D [1177:70308291893980] [508066216b69330499000002] RubySkynet::Connection: 127.0.0.1:2000 -- Waiting for Service Handshake -2012-10-18 16:27:13.022696 D [1177:70308293160520] SimpleServer -- Client connected, waiting for data from client -2012-10-18 16:27:13.022696 D [1177:70308293160520] SimpleServer -- Client connected, waiting for data from client -2012-10-18 16:27:13.024242 T [1177:70308291893980] [508066216b69330499000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "$\x00\x00\x00" -2012-10-18 16:27:13.024242 T [1177:70308291893980] [508066216b69330499000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "$\x00\x00\x00" -- "$\x00\x00\x00" -2012-10-18 16:27:13.024265 D [1177:70308291893980] [508066216b69330499000002] (11.8ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes -2012-10-18 16:27:13.024265 D [1177:70308291893980] [508066216b69330499000002] (11.8ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes -2012-10-18 16:27:13.024340 T [1177:70308291893980] [508066216b69330499000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "\bregistered\x00\x01\x02clientid\x00\x04\x00\x00\x00123\x00\x00" -2012-10-18 16:27:13.024340 T [1177:70308291893980] [508066216b69330499000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "\bregistered\x00\x01\x02clientid\x00\x04\x00\x00\x00123\x00\x00" -- "\bregistered\x00\x01\x02clientid\x00\x04\x00\x00\x00123\x00\x00" -2012-10-18 16:27:13.024377 D [1177:70308291893980] [508066216b69330499000002] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 32 bytes -2012-10-18 16:27:13.024377 D [1177:70308291893980] [508066216b69330499000002] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 32 bytes -2012-10-18 16:27:13.024424 T [1177:70308291893980] [508066216b69330499000002] RubySkynet::Connection: 127.0.0.1:2000 -- Service Handshake -- {"registered"=>true, "clientid"=>"123"} -2012-10-18 16:27:13.024424 T [1177:70308291893980] [508066216b69330499000002] RubySkynet::Connection: 127.0.0.1:2000 -- Service Handshake -- {"registered"=>true, "clientid"=>"123"} -- {"registered"=>true, "clientid"=>"123"} -2012-10-18 16:27:13.024442 D [1177:70308291893980] [508066216b69330499000002] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Client Handshake -2012-10-18 16:27:13.024442 D [1177:70308291893980] [508066216b69330499000002] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Client Handshake -2012-10-18 16:27:13.024452 T [1177:70308291893980] [508066216b69330499000002] RubySkynet::Connection: 127.0.0.1:2000 -- Client Handshake -- {"clientid"=>"123"} -2012-10-18 16:27:13.024452 T [1177:70308291893980] [508066216b69330499000002] RubySkynet::Connection: 127.0.0.1:2000 -- Client Handshake -- {"clientid"=>"123"} -- {"clientid"=>"123"} -2012-10-18 16:27:13.024487 T [1177:70308291893980] [508066216b69330499000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- clientid123 -2012-10-18 16:27:13.024487 T [1177:70308291893980] [508066216b69330499000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- clientid123 -- clientid123 -2012-10-18 16:27:13.024575 D [1177:70308291893980] [508066216b69330499000002] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 23 bytes -2012-10-18 16:27:13.024575 D [1177:70308291893980] [508066216b69330499000002] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 23 bytes -2012-10-18 16:27:13.024676 D [1177:70308291893980] [508066216b69330499000002] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Header -2012-10-18 16:27:13.024676 D [1177:70308291893980] [508066216b69330499000002] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Header -2012-10-18 16:27:13.024696 T [1177:70308291893980] [508066216b69330499000002] RubySkynet::Connection: 127.0.0.1:2000 -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} -2012-10-18 16:27:13.024696 T [1177:70308291893980] [508066216b69330499000002] RubySkynet::Connection: 127.0.0.1:2000 -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} -- {"servicemethod"=>"TestService.Forward", "seq"=>0} -2012-10-18 16:27:13.024722 T [1177:70308291893980] [508066216b69330499000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- 5servicemethodTestService.Forwardseq -2012-10-18 16:27:13.024722 T [1177:70308291893980] [508066216b69330499000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- 5servicemethodTestService.Forwardseq -- 5servicemethodTestService.Forwardseq -2012-10-18 16:27:13.024797 D [1177:70308291893980] [508066216b69330499000002] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 53 bytes -2012-10-18 16:27:13.024797 D [1177:70308291893980] [508066216b69330499000002] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 53 bytes -2012-10-18 16:27:13.024847 D [1177:70308291893980] [508066216b69330499000002] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Request -2012-10-18 16:27:13.024847 D [1177:70308291893980] [508066216b69330499000002] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Request -2012-10-18 16:27:13.024858 T [1177:70308291893980] [508066216b69330499000002] RubySkynet::Connection: 127.0.0.1:2000 -- Request -- {"clientid"=>"123", "in"=>"\x17\x00\x00\x00\x01duration\x00\x00\x00\x00\x00\x00\x00\f@\x00", "method"=>"sleep", "requestinfo"=>{"requestid"=>"508066216b69330499000002", "retrycount"=>0, "originaddress"=>""}} -2012-10-18 16:27:13.024858 T [1177:70308291893980] [508066216b69330499000002] RubySkynet::Connection: 127.0.0.1:2000 -- Request -- {"clientid"=>"123", "in"=>"\x17\x00\x00\x00\x01duration\x00\x00\x00\x00\x00\x00\x00\f@\x00", "method"=>"sleep", "requestinfo"=>{"requestid"=>"508066216b69330499000002", "retrycount"=>0, "originaddress"=>""}} -- {"clientid"=>"123", "in"=>"\x17\x00\x00\x00\x01duration\x00\x00\x00\x00\x00\x00\x00\f@\x00", "method"=>"sleep", "requestinfo"=>{"requestid"=>"508066216b69330499000002", "retrycount"=>0, "originaddress"=>""}} -2012-10-18 16:27:13.024867 T [1177:70308291893980] [508066216b69330499000002] RubySkynet::Connection: 127.0.0.1:2000 -- Parameters: -- {"duration"=>3.5} -2012-10-18 16:27:13.024867 T [1177:70308291893980] [508066216b69330499000002] RubySkynet::Connection: 127.0.0.1:2000 -- Parameters: -- {"duration"=>3.5} -- {"duration"=>3.5} -2012-10-18 16:27:13.024896 T [1177:70308291893980] [508066216b69330499000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- clientid123induration @methodsleeprequestinfoQrequestid508066216b69330499000002retrycountoriginaddress -2012-10-18 16:27:13.024896 T [1177:70308291893980] [508066216b69330499000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- clientid123induration @methodsleeprequestinfoQrequestid508066216b69330499000002retrycountoriginaddress -- clientid123induration @methodsleeprequestinfoQrequestid508066216b69330499000002retrycountoriginaddress -2012-10-18 16:27:13.024966 D [1177:70308291893980] [508066216b69330499000002] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 167 bytes -2012-10-18 16:27:13.024966 D [1177:70308291893980] [508066216b69330499000002] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 167 bytes -2012-10-18 16:27:13.024984 D [1177:70308291893980] [508066216b69330499000002] RubySkynet::Connection: 127.0.0.1:2000 -- Reading header from server -2012-10-18 16:27:13.024984 D [1177:70308291893980] [508066216b69330499000002] RubySkynet::Connection: 127.0.0.1:2000 -- Reading header from server -2012-10-18 16:27:13.029133 D [1177:70308293160520] SimpleServer -- +2012-12-05 08:54:32.913779 D [38983:70336364823000] RubySkynet::Server -- Received Request +2012-12-05 08:54:32.913790 T [38983:70336364823000] RubySkynet::Server -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 08:54:32.913911 T [38983:70336364823000] RubySkynet::Server -- Request -- {"clientid"=>"50bf52186b69339847000002", "in"=>"\x10\x00\x00\x00\x10value\x00\x05\x00\x00\x00\x00", "method"=>"echo", "requestinfo"=>{"requestid"=>"50bf52186b69339847000001", "retrycount"=>0, "originaddress"=>""}} +2012-12-05 08:54:32.913933 T [38983:70336364823000] RubySkynet::Server -- Parameters -- {"value"=>5} +2012-12-05 08:54:32.913956 T [38983:70336364823000] RubySkynet::Server -- Method Call: echo with parameters: -- {"value"=>5} +2012-12-05 08:54:32.913998 D [38983:70336364823000] (0.1ms) RubySkynet::Server -- Called: TestService#echo -- NoMethodError: undefined method `new' for RubySkynet::Service:Module +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/server.rb:90:in `block in on_message' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_debug' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/server.rb:86:in `on_message' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/server.rb:126:in `handle_connection' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/celluloid-0.12.3/lib/celluloid/calls.rb:99:in `dispatch' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/celluloid-0.12.3/lib/celluloid/actor.rb:323:in `block in handle_message' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/celluloid-0.12.3/lib/celluloid/tasks/task_fiber.rb:22:in `block in initialize' +2012-12-05 08:54:32.914068 E [38983:70336364823000] Celluloid -- RubySkynet::Server crashed! +NoMethodError: undefined method `new' for RubySkynet::Service:Module +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/server.rb:90:in `block in on_message' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_debug' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/server.rb:86:in `on_message' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/server.rb:126:in `handle_connection' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/celluloid-0.12.3/lib/celluloid/calls.rb:99:in `dispatch' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/celluloid-0.12.3/lib/celluloid/actor.rb:323:in `block in handle_message' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/celluloid-0.12.3/lib/celluloid/tasks/task_fiber.rb:22:in `block in initialize' +2012-12-05 08:54:32.914133 I [38983:70336364823000] RubySkynet::Server -- Skynet Server Stopped +2012-12-05 08:55:32.883205 W [38983:70336360176340] [50bf52186b69339847000001] ResilientSocket::TCPClient ["localhost:2100"] -- #read Timeout waiting for server to reply +2012-12-05 08:55:32.883374 D [38983:70336360176340] [50bf52186b69339847000001] (59971.4ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 4 bytes -- ResilientSocket::ReadTimeout: Timedout after 60.0 seconds trying to read from localhost:2100 +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:392:in `block in read' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_debug' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:374:in `read' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/common.rb:10:in `read_bson_document' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:178:in `rpc_call' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:65:in `block (3 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/gene_pool-1.3.0/lib/gene_pool.rb:134:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:214:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:64:in `block (2 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_info' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:60:in `block in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:126:in `with_tags' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:59:in `call' +(irb):22:in `irb_binding' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/workspace.rb:80:in `eval' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/workspace.rb:80:in `evaluate' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/context.rb:254:in `evaluate' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:159:in `block (2 levels) in eval_input' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:273:in `signal_status' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:156:in `block in eval_input' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:243:in `block (2 levels) in each_top_level_statement' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:229:in `loop' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:229:in `block in each_top_level_statement' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:228:in `catch' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:228:in `each_top_level_statement' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:155:in `eval_input' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:70:in `block in start' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:69:in `catch' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:69:in `start' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/bin/irb:16:in `<main>' +2012-12-05 08:55:32.883448 I [38983:70336360176340] [50bf52186b69339847000001] (59985.2ms) RubySkynet::Client: TestService/*/Development -- Called Skynet Service: TestService.echo -- ResilientSocket::ReadTimeout: Timedout after 60.0 seconds trying to read from localhost:2100 +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:392:in `block in read' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_debug' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:374:in `read' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/common.rb:10:in `read_bson_document' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:178:in `rpc_call' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:65:in `block (3 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/gene_pool-1.3.0/lib/gene_pool.rb:134:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:214:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:64:in `block (2 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_info' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:60:in `block in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:126:in `with_tags' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:59:in `call' +(irb):22:in `irb_binding' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/workspace.rb:80:in `eval' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/workspace.rb:80:in `evaluate' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/context.rb:254:in `evaluate' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:159:in `block (2 levels) in eval_input' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:273:in `signal_status' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:156:in `block in eval_input' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:243:in `block (2 levels) in each_top_level_statement' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:229:in `loop' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:229:in `block in each_top_level_statement' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:228:in `catch' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:228:in `each_top_level_statement' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:155:in `eval_input' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:70:in `block in start' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:69:in `catch' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:69:in `start' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/bin/irb:16:in `<main>' +2012-12-05 08:59:14.708319 I [38983:70336360176340] Celluloid -- Terminating 4 actors... +2012-12-05 08:59:14.709307 I [38983:70336360176340] Celluloid -- Shutdown completed cleanly +2012-12-05 08:59:26.213198 I [39075:70157851096000] RubySkynet::Server -- Starting listener on localhost:2000 +2012-12-05 08:59:26.213228 D [39075:70157851096000] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 08:59:26.229170 D [39075:70157846403800] RubySkynet::Service -- Registering Service: RubySkynet::Service +2012-12-05 09:01:53.081250 I [39075:70157846403800] Celluloid -- Terminating 5 actors... +2012-12-05 09:01:53.082037 I [39075:70157851096000] RubySkynet::Server -- Skynet Server Stopped +2012-12-05 09:01:53.083009 I [39075:70157846403800] Celluloid -- Shutdown completed cleanly +2012-12-05 09:01:58.803855 I [39159:70148237814360] RubySkynet::Server -- Starting listener on localhost:2000 +2012-12-05 09:01:58.803886 D [39159:70148237814360] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 09:01:58.815634 D [39159:70148237253340] RubySkynet::Service -- Registering Service: TestService with name: TestService +2012-12-05 09:01:58.824833 D [39159:70148237253340] RubySkynet::Registry -- Doozer Connection Pool: Created connection #1 #<Thread:0x007f995186b5b8>(70148237253340) for Doozer Connection Pool +2012-12-05 09:01:58.857063 T [39159:70148237253340] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007f9951830698@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 09:01:58.860151 D [39159:70148237253340] RubySkynet::Registry -- Doozer Connection Pool: Renewed connection old=70148237253340 new=#<RubySkynet::Doozer::Client:0x007f9951830c88>(70148237133380) +2012-12-05 09:01:58.860191 D [39159:70148237253340] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f9951830c88>(70148237133380) self=connections=70148237133380 checked_out=70148237133380 with_map= +2012-12-05 09:01:58.873742 T [39159:70148237253340] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "2/services/TestService/1/Development/localhost/2000*{"Config":{"UUID":"localhost:2000-39159-TestService-70148242304680","Name":"TestService","Version":"1","Region":"Development","ServiceAddr":{"IPAddress":"localhost","Port":2000,"MaxPort":2999}},"Registered":true}H +2012-12-05 09:01:58.874244 D [39159:70148237253340] (0.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 286 bytes +2012-12-05 09:01:58.875556 T [39159:70148237253340] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 09:01:58.875568 D [39159:70148237253340] (1.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 09:01:58.882203 T [39159:70148237253340] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\x80\x04" +2012-12-05 09:01:58.882274 D [39159:70148237253340] (6.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 09:01:58.882503 D [39159:70148237253340] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007f9951830c88>(70148237133380) self=connections=70148237133380 checked_out= with_map= +2012-12-05 09:03:39.595082 D [39195:70207444048600] RubySkynet::Service -- Registering Service: TestService with name: TestService +2012-12-05 09:03:39.600376 D [39195:70207444048600] RubySkynet::Registry -- Doozer Connection Pool: Created connection #1 #<Thread:0x007fb4e386b5b0>(70207444048600) for Doozer Connection Pool +2012-12-05 09:03:39.626136 T [39195:70207444048600] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007fb4e3de79d0@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 09:03:39.630613 D [39195:70207444048600] RubySkynet::Registry -- Doozer Connection Pool: Renewed connection old=70207444048600 new=#<RubySkynet::Doozer::Client:0x007fb4e3de7ae8>(70207446924660) +2012-12-05 09:03:39.630680 D [39195:70207444048600] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fb4e3de7ae8>(70207446924660) self=connections=70207446924660 checked_out=70207446924660 with_map= +2012-12-05 09:03:39.649327 T [39195:70207444048600] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "+/services/TestService/1/Test/localhost/2100*{"Config":{"UUID":"localhost:2100-39195-TestService-70207443976760","Name":"TestService","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"localhost","Port":2100,"MaxPort":3099}},"Registered":true}H +2012-12-05 09:03:39.649635 D [39195:70207444048600] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 272 bytes +2012-12-05 09:03:39.652107 T [39195:70207444048600] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 09:03:39.652149 D [39195:70207444048600] (2.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 09:03:39.652896 T [39195:70207444048600] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xE6\x04" +2012-12-05 09:03:39.652939 D [39195:70207444048600] (0.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 09:03:39.653111 D [39195:70207444048600] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fb4e3de7ae8>(70207446924660) self=connections=70207446924660 checked_out= with_map= +2012-12-05 09:03:39.672763 I [39195:70207444048600] Celluloid -- Terminating 4 actors... +2012-12-05 09:03:39.675083 I [39195:70207444048600] Celluloid -- Shutdown completed cleanly +2012-12-05 09:03:39.679203 I [39195:70207448982000] RubySkynet::Server -- Starting listener on localhost:2100 +2012-12-05 09:03:39.679235 D [39195:70207448982000] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 09:03:39.682661 D [39195:70207444048600] [50bf543b6b6933991b000001] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fb4e3de7ae8>(70207446924660) self=connections=70207446924660 checked_out=70207446924660 with_map= +2012-12-05 09:03:39.682908 T [39195:70207444048600] [50bf543b6b6933991b000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  +2012-12-05 09:03:39.682974 D [39195:70207444048600] [50bf543b6b6933991b000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 8 bytes +2012-12-05 09:03:39.685495 T [39195:70207444048600] [50bf543b6b6933991b000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 09:03:39.685509 D [39195:70207444048600] [50bf543b6b6933991b000001] (2.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 09:03:39.685583 T [39195:70207444048600] [50bf543b6b6933991b000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xE6\x04" +2012-12-05 09:03:39.685589 D [39195:70207444048600] [50bf543b6b6933991b000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 09:03:39.685892 T [39195:70207444048600] [50bf543b6b6933991b000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H +2012-12-05 09:03:39.686047 D [39195:70207444048600] [50bf543b6b6933991b000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-05 09:03:39.686629 T [39195:70207444048600] [50bf543b6b6933991b000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01\x12" +2012-12-05 09:03:39.686657 D [39195:70207444048600] [50bf543b6b6933991b000001] (0.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 09:03:39.687172 T [39195:70207444048600] [50bf543b6b6933991b000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\x80\x04*2/services/TestService/1/Development/localhost/20002\xD4\x01{\"Config\":{\"UUID\":\"localhost:2000-39159-TestService-70148242304680\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Development\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2000,\"MaxPort\":2999}},\"Registered\":true}" +2012-12-05 09:03:39.687201 D [39195:70207444048600] [50bf543b6b6933991b000001] (0.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 274 bytes +2012-12-05 09:03:39.687515 T [39195:70207444048600] [50bf543b6b6933991b000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H +2012-12-05 09:03:39.691689 D [39195:70207444048600] [50bf543b6b6933991b000001] (4.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-05 09:03:39.692178 T [39195:70207444048600] [50bf543b6b6933991b000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01\x11" +2012-12-05 09:03:39.692191 D [39195:70207444048600] [50bf543b6b6933991b000001] (0.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 09:03:39.692302 T [39195:70207444048600] [50bf543b6b6933991b000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18B*2/services/TestService/1/Development/localhost/21002\xD4\x01{\"Config\":{\"UUID\":\"localhost:2100-38983-TestService-70336365097060\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Development\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-05 09:03:39.692308 D [39195:70207444048600] [50bf543b6b6933991b000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 273 bytes +2012-12-05 09:03:39.692651 T [39195:70207444048600] [50bf543b6b6933991b000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H +2012-12-05 09:03:39.692693 D [39195:70207444048600] [50bf543b6b6933991b000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-05 09:03:39.693448 T [39195:70207444048600] [50bf543b6b6933991b000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01\x04" +2012-12-05 09:03:39.693477 D [39195:70207444048600] [50bf543b6b6933991b000001] (0.8ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 09:03:39.693800 T [39195:70207444048600] [50bf543b6b6933991b000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xE6\x04*+/services/TestService/1/Test/localhost/21002\xCD\x01{\"Config\":{\"UUID\":\"localhost:2100-39195-TestService-70207443976760\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-05 09:03:39.693835 D [39195:70207444048600] [50bf543b6b6933991b000001] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 260 bytes +2012-12-05 09:03:39.694111 T [39195:70207444048600] [50bf543b6b6933991b000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H +2012-12-05 09:03:39.694154 D [39195:70207444048600] [50bf543b6b6933991b000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-05 09:03:39.694677 T [39195:70207444048600] [50bf543b6b6933991b000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 09:03:39.694690 D [39195:70207444048600] [50bf543b6b6933991b000001] (0.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 09:03:39.694769 T [39195:70207444048600] [50bf543b6b6933991b000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\xA0\x06\b" +2012-12-05 09:03:39.694776 D [39195:70207444048600] [50bf543b6b6933991b000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 09:03:39.694979 D [39195:70207444048600] [50bf543b6b6933991b000001] RubySkynet::Registry -- #start_monitoring Add Service: TestService/1/Development => localhost:2000 +2012-12-05 09:03:39.695033 D [39195:70207444048600] [50bf543b6b6933991b000001] RubySkynet::Registry -- #start_monitoring Add Service: TestService/1/Development => localhost:2100 +2012-12-05 09:03:39.695081 D [39195:70207444048600] [50bf543b6b6933991b000001] RubySkynet::Registry -- #start_monitoring Add Service: TestService/1/Test => localhost:2100 +2012-12-05 09:03:39.695123 D [39195:70207444048600] [50bf543b6b6933991b000001] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fb4e3de7ae8>(70207446924660) self=connections=70207446924660 checked_out= with_map= +2012-12-05 09:03:39.695968 I [39195:70207445413780] RubySkynet::Registry -- Start monitoring /services/*/*/*/*/* +2012-12-05 09:03:39.696274 T [39195:70207445413780] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007fb4e405b978@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 09:03:39.696897 T [39195:70207445413780] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-05 09:03:39.697642 D [39195:70207444048600] [50bf543b6b6933991b000001] RubySkynet::Connection: localhost:2100 -- Waiting for Service Handshake +2012-12-05 09:03:39.698624 D [39195:70207448982000] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 09:03:39.698725 D [39195:70207448982000] RubySkynet::Server -- Client connected, waiting for data from client +2012-12-05 09:03:39.699418 T [39195:70207444048600] [50bf543b6b6933991b000001] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "9\x00\x00\x00" +2012-12-05 09:03:39.699445 D [39195:70207444048600] [50bf543b6b6933991b000001] (1.1ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 4 bytes +2012-12-05 09:03:39.699537 D [39195:70207445413780] (2.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 09:03:39.700345 T [39195:70207444048600] [50bf543b6b6933991b000001] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "\bregistered\x00\x01\x02clientid\x00\x19\x00\x00\x0050bf543b6b6933991b000002\x00\x00" +2012-12-05 09:03:39.700357 D [39195:70207444048600] [50bf543b6b6933991b000001] (0.9ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 53 bytes +2012-12-05 09:03:39.700422 T [39195:70207444048600] [50bf543b6b6933991b000001] RubySkynet::Connection: localhost:2100 -- Service Handshake -- {"registered"=>true, "clientid"=>"50bf543b6b6933991b000002"} +2012-12-05 09:03:39.700435 D [39195:70207444048600] [50bf543b6b6933991b000001] RubySkynet::Connection: localhost:2100 -- Sending Client Handshake +2012-12-05 09:03:39.700441 T [39195:70207444048600] [50bf543b6b6933991b000001] RubySkynet::Connection: localhost:2100 -- Client Handshake -- {"clientid"=>"50bf543b6b6933991b000002"} +2012-12-05 09:03:39.700458 T [39195:70207444048600] [50bf543b6b6933991b000001] ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sending -- ,clientid50bf543b6b6933991b000002 +2012-12-05 09:03:39.700502 D [39195:70207444048600] [50bf543b6b6933991b000001] (0.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sent 44 bytes +2012-12-05 09:03:39.700564 D [39195:70207444048600] [50bf543b6b6933991b000001] RubySkynet::Connection: localhost:2100 -- Sending Header +2012-12-05 09:03:39.700574 T [39195:70207444048600] [50bf543b6b6933991b000001] RubySkynet::Connection: localhost:2100 -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 09:03:39.700595 T [39195:70207444048600] [50bf543b6b6933991b000001] ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sending -- 5servicemethodTestService.Forwardseq +2012-12-05 09:03:39.700639 D [39195:70207444048600] [50bf543b6b6933991b000001] (0.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sent 53 bytes +2012-12-05 09:03:39.700673 D [39195:70207444048600] [50bf543b6b6933991b000001] RubySkynet::Connection: localhost:2100 -- Sending Request +2012-12-05 09:03:39.700680 T [39195:70207444048600] [50bf543b6b6933991b000001] RubySkynet::Connection: localhost:2100 -- Request -- {"clientid"=>"50bf543b6b6933991b000002", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"echo", "requestinfo"=>{"requestid"=>"50bf543b6b6933991b000001", "retrycount"=>0, "originaddress"=>""}} +2012-12-05 09:03:39.700686 T [39195:70207444048600] [50bf543b6b6933991b000001] RubySkynet::Connection: localhost:2100 -- Parameters: -- {"some"=>"parameters"} +2012-12-05 09:03:39.700702 T [39195:70207444048600] [50bf543b6b6933991b000001] ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sending -- clientid50bf543b6b6933991b000002insome parametersmethodechorequestinfoQrequestid50bf543b6b6933991b000001retrycountoriginaddress +2012-12-05 09:03:39.700743 D [39195:70207444048600] [50bf543b6b6933991b000001] (0.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sent 190 bytes +2012-12-05 09:03:39.700757 D [39195:70207444048600] [50bf543b6b6933991b000001] RubySkynet::Connection: localhost:2100 -- Reading header from server +2012-12-05 09:03:39.702497 D [39195:70207448982000] RubySkynet::Server -- ****************** -2012-10-18 16:27:13.029133 D [1177:70308293160520] SimpleServer -- +2012-12-05 09:03:39.702515 D [39195:70207448982000] RubySkynet::Server -- Received Request +2012-12-05 09:03:39.702526 T [39195:70207448982000] RubySkynet::Server -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 09:03:39.702989 T [39195:70207448982000] RubySkynet::Server -- Request -- {"clientid"=>"50bf543b6b6933991b000002", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"echo", "requestinfo"=>{"requestid"=>"50bf543b6b6933991b000001", "retrycount"=>0, "originaddress"=>""}} +2012-12-05 09:03:39.703018 T [39195:70207448982000] RubySkynet::Server -- Parameters -- {"some"=>"parameters"} +2012-12-05 09:03:39.703041 T [39195:70207448982000] RubySkynet::Server -- Method Call: echo with parameters: -- {"some"=>"parameters"} +2012-12-05 09:03:39.703059 D [39195:70207448982000] (0.0ms) RubySkynet::Server -- Called: TestService#echo +2012-12-05 09:03:39.703077 D [39195:70207448982000] RubySkynet::Server -- Sending Header +2012-12-05 09:03:39.703144 D [39195:70207448982000] RubySkynet::Server -- Sending Reply +2012-12-05 09:03:39.703156 T [39195:70207448982000] RubySkynet::Server -- Reply -- {"some"=>"parameters"} +2012-12-05 09:03:39.703423 T [39195:70207444048600] [50bf543b6b6933991b000001] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "5\x00\x00\x00" +2012-12-05 09:03:39.703431 D [39195:70207444048600] [50bf543b6b6933991b000001] (2.7ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 4 bytes +2012-12-05 09:03:39.703479 T [39195:70207444048600] [50bf543b6b6933991b000001] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "\x02servicemethod\x00\x14\x00\x00\x00TestService.Forward\x00\x10seq\x00\x00\x00\x00\x00\x00" +2012-12-05 09:03:39.703485 D [39195:70207444048600] [50bf543b6b6933991b000001] (0.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 49 bytes +2012-12-05 09:03:39.703514 D [39195:70207444048600] [50bf543b6b6933991b000001] RubySkynet::Connection: localhost:2100 -- Response Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 09:03:39.703521 D [39195:70207444048600] [50bf543b6b6933991b000001] RubySkynet::Connection: localhost:2100 -- Reading response from server +2012-12-05 09:03:39.703560 T [39195:70207444048600] [50bf543b6b6933991b000001] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- ")\x00\x00\x00" +2012-12-05 09:03:39.703566 D [39195:70207444048600] [50bf543b6b6933991b000001] (0.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 4 bytes +2012-12-05 09:03:39.703609 T [39195:70207444048600] [50bf543b6b6933991b000001] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "\x02out\x00\e\x00\x00\x00\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00\x00\x00" +2012-12-05 09:03:39.703615 D [39195:70207444048600] [50bf543b6b6933991b000001] (0.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 37 bytes +2012-12-05 09:03:39.703641 T [39195:70207444048600] [50bf543b6b6933991b000001] RubySkynet::Connection: localhost:2100 -- Response -- {"out"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00"} +2012-12-05 09:03:39.703664 T [39195:70207444048600] [50bf543b6b6933991b000001] RubySkynet::Connection: localhost:2100 -- Return Value -- {"some"=>"parameters"} +2012-12-05 09:03:39.703686 I [39195:70207444048600] [50bf543b6b6933991b000001] (22.9ms) RubySkynet::Client: TestService/1/Test -- Called Skynet Service: TestService.echo +2012-12-05 09:03:39.703905 I [39195:70207448982000] RubySkynet::Server -- Skynet Server Stopped +2012-12-05 09:03:39.708361 I [39195:70207446993360] RubySkynet::Server -- Starting listener on localhost:2100 +2012-12-05 09:03:39.708385 D [39195:70207446993360] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 09:03:39.708990 I [39195:70207446993360] RubySkynet::Server -- Skynet Server Stopped +2012-12-05 09:03:39.709938 I [39195:70207443897540] RubySkynet::Server -- Starting listener on localhost:2100 +2012-12-05 09:03:39.709958 D [39195:70207443897540] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 09:03:39.710437 D [39195:70207444048600] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fb4e3de7ae8>(70207446924660) self=connections=70207446924660 checked_out=70207446924660 with_map= +2012-12-05 09:03:39.710725 T [39195:70207444048600] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- 1"+/services/TestService/1/Test/localhost/2100 +2012-12-05 09:03:39.713271 D [39195:70207444048600] (2.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 53 bytes +2012-12-05 09:03:39.713495 T [39195:70207444048600] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\xD5" +2012-12-05 09:03:39.713531 D [39195:70207444048600] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 09:03:39.713750 T [39195:70207444048600] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xE6\x042\xCD\x01{\"Config\":{\"UUID\":\"localhost:2100-39195-TestService-70207443976760\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-05 09:03:39.713803 D [39195:70207444048600] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 213 bytes +2012-12-05 09:03:39.713972 D [39195:70207444048600] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fb4e3de7ae8>(70207446924660) self=connections=70207446924660 checked_out= with_map= +2012-12-05 10:35:40.595633 D [41040:70182211115740] RubySkynet::Server -- Registering Service: TestService with name: TestService +2012-12-05 10:35:40.596093 I [41040:70182211115740] Celluloid -- Terminating 4 actors... +2012-12-05 10:35:40.598442 I [41040:70182211115740] Celluloid -- Shutdown completed cleanly +2012-12-05 10:44:24.808212 D [41243:70191384058580] RubySkynet::Server -- Registering Service: TestService with name: TestService +2012-12-05 10:44:24.808525 I [41243:70191384058580] Celluloid -- Terminating 4 actors... +2012-12-05 10:44:24.810128 I [41243:70191384058580] Celluloid -- Shutdown completed cleanly +2012-12-05 11:09:11.957122 D [41991:70189186243280] RubySkynet::Server -- Registering Service: TestService with name: TestService +2012-12-05 11:09:11.958556 I [41991:70189186243280] Celluloid -- Terminating 5 actors... +2012-12-05 11:09:11.959155 E [41991:70189186851600] Celluloid -- RubySkynet::Server#finalize crashed! +NoMethodError: protected method `finalize' called for #<RubySkynet::Server:0x007fac6318f3f0> +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/celluloid-0.12.3/lib/celluloid.rb:272:in `method_missing' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/celluloid-0.12.3/lib/celluloid/actor.rb:376:in `block in run_finalizer' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/celluloid-0.12.3/lib/celluloid/tasks/task_fiber.rb:22:in `block in initialize' +2012-12-05 11:09:11.959481 I [41991:70189186243280] Celluloid -- Shutdown completed cleanly +2012-12-05 14:07:50.877107 D [42655:70247969413840] RubySkynet::Server -- Registering Service: TestService with name: TestService +2012-12-05 14:07:50.878506 I [42655:70247969413840] Celluloid -- Terminating 5 actors... +2012-12-05 14:07:50.879501 I [42655:70247969413840] Celluloid -- Shutdown completed cleanly +2012-12-05 14:08:03.711351 D [42660:70265409329880] RubySkynet::Server -- Registering Service: TestService with name: TestService +2012-12-05 14:08:03.713346 I [42660:70265409329880] Celluloid -- Terminating 5 actors... +2012-12-05 14:08:03.714866 I [42660:70265409329880] Celluloid -- Shutdown completed cleanly +2012-12-05 14:11:39.645560 D [42722:70321311013600] RubySkynet::Server -- Registering Service: TestService with name: TestService +2012-12-05 14:11:39.647016 I [42722:70321311013600] Celluloid -- Terminating 5 actors... +2012-12-05 14:11:39.648165 I [42722:70321311013600] Celluloid -- Shutdown completed cleanly +2012-12-05 14:12:06.617543 D [42737:70296694643420] RubySkynet::Server -- Registering Service: TestService with name: TestService +2012-12-05 14:12:06.618635 E [42737:70296698837400] Celluloid -- RubySkynet::Server crashed! +NoMethodError: undefined method `closed?' for nil:NilClass +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/server.rb:108:in `running?' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/celluloid-0.12.3/lib/celluloid/calls.rb:57:in `dispatch' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/celluloid-0.12.3/lib/celluloid/actor.rb:323:in `block in handle_message' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/celluloid-0.12.3/lib/celluloid/tasks/task_fiber.rb:22:in `block in initialize' +2012-12-05 14:12:06.618886 I [42737:70296694643420] Celluloid -- Terminating 4 actors... +2012-12-05 14:12:06.619741 I [42737:70296694643420] Celluloid -- Shutdown completed cleanly +2012-12-05 14:12:31.540950 D [42752:70144487545560] RubySkynet::Server -- Registering Service: TestService with name: TestService +2012-12-05 14:12:31.547105 D [42752:70144487545560] RubySkynet::Registry -- Doozer Connection Pool: Created connection #1 #<Thread:0x007f979286b5b0>(70144487545560) for Doozer Connection Pool +2012-12-05 14:12:31.576179 T [42752:70144487545560] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007f9792cf41e0@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 14:12:31.581618 D [42752:70144487545560] RubySkynet::Registry -- Doozer Connection Pool: Renewed connection old=70144487545560 new=#<RubySkynet::Doozer::Client:0x007f9792cf4320>(70144489922960) +2012-12-05 14:12:31.581707 D [42752:70144487545560] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f9792cf4320>(70144489922960) self=connections=70144489922960 checked_out=70144489922960 with_map= +2012-12-05 14:12:31.610280 T [42752:70144487545560] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "+/services/TestService/1/Test/localhost/2100*{"Config":{"UUID":"localhost:2100-42752-TestService-70144487484260","Name":"TestService","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"localhost","Port":2100,"MaxPort":3099}},"Registered":true}H +2012-12-05 14:12:31.610900 D [42752:70144487545560] (0.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 272 bytes +2012-12-05 14:12:31.612414 T [42752:70144487545560] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 14:12:31.612477 D [42752:70144487545560] (1.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:12:31.613080 T [42752:70144487545560] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xE9T" +2012-12-05 14:12:31.613121 D [42752:70144487545560] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 14:12:31.613287 D [42752:70144487545560] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007f9792cf4320>(70144489922960) self=connections=70144489922960 checked_out= with_map= +2012-12-05 14:12:31.614631 I [42752:70144487545560] Celluloid -- Terminating 5 actors... +2012-12-05 14:12:31.619181 I [42752:70144487545560] Celluloid -- Shutdown completed cleanly +2012-12-05 14:13:32.030414 D [42796:70255821150940] RubySkynet::Server -- Registering Service: TestService with name: TestService +2012-12-05 14:13:32.035741 D [42796:70255821150940] RubySkynet::Registry -- Doozer Connection Pool: Created connection #1 #<Thread:0x007fcb6a86b5b8>(70255821150940) for Doozer Connection Pool +2012-12-05 14:13:32.054456 T [42796:70255821150940] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007fcb6ad1ec18@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 14:13:32.059154 D [42796:70255821150940] RubySkynet::Registry -- Doozer Connection Pool: Renewed connection old=70255821150940 new=#<RubySkynet::Doozer::Client:0x007fcb6ad1ed30>(70255823615640) +2012-12-05 14:13:32.059233 D [42796:70255821150940] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fcb6ad1ed30>(70255823615640) self=connections=70255823615640 checked_out=70255823615640 with_map= +2012-12-05 14:13:32.082858 T [42796:70255821150940] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "+/services/TestService/1/Test/localhost/2100*{"Config":{"UUID":"localhost:2100-42796-TestService-70255821087020","Name":"TestService","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"localhost","Port":2100,"MaxPort":3099}},"Registered":true}H +2012-12-05 14:13:32.083752 D [42796:70255821150940] (0.9ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 272 bytes +2012-12-05 14:13:32.084949 T [42796:70255821150940] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 14:13:32.084989 D [42796:70255821150940] (0.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:13:32.085680 T [42796:70255821150940] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xA6U" +2012-12-05 14:13:32.085722 D [42796:70255821150940] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 14:13:32.085886 D [42796:70255821150940] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fcb6ad1ed30>(70255823615640) self=connections=70255823615640 checked_out= with_map= +2012-12-05 14:13:32.086909 I [42796:70255821150940] Celluloid -- Terminating 5 actors... +2012-12-05 14:13:32.089232 I [42796:70255821150940] Celluloid -- Shutdown completed cleanly +2012-12-05 14:14:20.131947 I [39159:70148237253340] Celluloid -- Terminating 5 actors... +2012-12-05 14:14:20.133742 I [39159:70148237814360] RubySkynet::Server -- Skynet Server Stopped +2012-12-05 14:14:20.135001 I [39159:70148237253340] Celluloid -- Shutdown completed cleanly +2012-12-05 14:15:39.356707 I [42807:70244618164960] Celluloid -- Terminating 4 actors... +2012-12-05 14:15:39.372462 I [42807:70244618164960] Celluloid -- Shutdown completed cleanly +2012-12-05 14:15:41.920217 D [42847:70136220572380] RubySkynet::Server -- Registering Service: TestService with name: TestService +2012-12-05 14:15:41.930873 D [42847:70136220572380] RubySkynet::Registry -- Doozer Connection Pool: Created connection #1 #<Thread:0x007f93b906b5b8>(70136220572380) for Doozer Connection Pool +2012-12-05 14:15:41.963822 T [42847:70136220572380] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007f93b9055808@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 14:15:41.968092 D [42847:70136220572380] RubySkynet::Registry -- Doozer Connection Pool: Renewed connection old=70136220572380 new=#<RubySkynet::Doozer::Client:0x007f93b9055ba0>(70136220528080) +2012-12-05 14:15:41.968138 D [42847:70136220572380] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f93b9055ba0>(70136220528080) self=connections=70136220528080 checked_out=70136220528080 with_map= +2012-12-05 14:15:41.981442 T [42847:70136220572380] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "2/services/TestService/1/Development/localhost/2000*{"Config":{"UUID":"localhost:2000-42847-TestService-70136225654280","Name":"TestService","Version":"1","Region":"Development","ServiceAddr":{"IPAddress":"localhost","Port":2000,"MaxPort":2999}},"Registered":true}H +2012-12-05 14:15:41.981772 D [42847:70136220572380] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 286 bytes +2012-12-05 14:15:41.983432 T [42847:70136220572380] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 14:15:41.983444 D [42847:70136220572380] (1.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:15:41.983930 T [42847:70136220572380] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xA9V" +2012-12-05 14:15:41.983942 D [42847:70136220572380] (0.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 14:15:41.984111 D [42847:70136220572380] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007f93b9055ba0>(70136220528080) self=connections=70136220528080 checked_out= with_map= +2012-12-05 14:20:32.705934 I [42847:70136220572380] Celluloid -- Terminating 4 actors... +2012-12-05 14:20:32.707801 I [42847:70136220572380] Celluloid -- Shutdown completed cleanly +2012-12-05 14:20:35.123944 D [42972:70255607241440] RubySkynet::Server -- Registering Service: TestService with name: TestService +2012-12-05 14:20:35.134111 D [42972:70255607241440] RubySkynet::Registry -- Doozer Connection Pool: Created connection #1 #<Thread:0x007fcb5106b5c0>(70255607241440) for Doozer Connection Pool +2012-12-05 14:20:35.165999 T [42972:70255607241440] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007fcb51058ba0@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 14:20:35.170601 D [42972:70255607241440] RubySkynet::Registry -- Doozer Connection Pool: Renewed connection old=70255607241440 new=#<RubySkynet::Doozer::Client:0x007fcb51059208>(70255607204100) +2012-12-05 14:20:35.170682 D [42972:70255607241440] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fcb51059208>(70255607204100) self=connections=70255607204100 checked_out=70255607204100 with_map= +2012-12-05 14:20:35.184139 T [42972:70255607241440] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "2/services/TestService/1/Development/localhost/2000*{"Config":{"UUID":"localhost:2000-42972-TestService-70255608210320","Name":"TestService","Version":"1","Region":"Development","ServiceAddr":{"IPAddress":"localhost","Port":2000,"MaxPort":2999}},"Registered":true}H +2012-12-05 14:20:35.184401 D [42972:70255607241440] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 286 bytes +2012-12-05 14:20:35.186984 T [42972:70255607241440] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 14:20:35.187017 D [42972:70255607241440] (2.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:20:35.187908 T [42972:70255607241440] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xCEX" +2012-12-05 14:20:35.187942 D [42972:70255607241440] (0.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 14:20:35.188135 D [42972:70255607241440] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fcb51059208>(70255607204100) self=connections=70255607204100 checked_out= with_map= +2012-12-05 14:21:55.427748 I [42972:70255607241440] Celluloid -- Terminating 5 actors... +2012-12-05 14:21:55.430353 I [42972:70255607241440] Celluloid -- Shutdown completed cleanly +2012-12-05 14:21:57.756013 D [43006:70102083132120] RubySkynet::Server -- Registering Service: TestService with name: TestService +2012-12-05 14:22:22.259588 I [43006:70102083132120] Celluloid -- Terminating 5 actors... +2012-12-05 14:22:22.261948 I [43006:70102083132120] Celluloid -- Shutdown completed cleanly +2012-12-05 14:22:25.021935 D [43023:70222010866400] RubySkynet::Server -- Registering Service: TestService with name: TestService +2012-12-05 14:22:33.595710 E [43023:70222012817740] Celluloid -- RubySkynet::Server crashed! +NoMethodError: undefined method `register_service_in_doozer' for #<RubySkynet::Server:0x007fbbac412570> +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/celluloid-0.12.3/lib/celluloid.rb:272:in `method_missing' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/server.rb:152:in `block in start' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/server.rb:152:in `each_pair' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/server.rb:152:in `start' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/celluloid-0.12.3/lib/celluloid/calls.rb:57:in `dispatch' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/celluloid-0.12.3/lib/celluloid/actor.rb:323:in `block in handle_message' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/celluloid-0.12.3/lib/celluloid/tasks/task_fiber.rb:22:in `block in initialize' +2012-12-05 14:22:33.595985 I [43023:70222012817740] RubySkynet::Server -- Skynet Server Stopped +2012-12-05 14:22:33.605171 D [43023:70222012817740] RubySkynet::Registry -- Doozer Connection Pool: Created connection #1 #<Thread:0x007fbbac424298>(70222012817740) for Doozer Connection Pool +2012-12-05 14:22:33.637649 T [43023:70222012817740] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007fbbac0b89b0@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 14:22:33.640911 D [43023:70222012817740] RubySkynet::Registry -- Doozer Connection Pool: Renewed connection old=70222012817740 new=#<RubySkynet::Doozer::Client:0x007fbbac0b8e10>(70222011025160) +2012-12-05 14:22:33.640952 D [43023:70222012817740] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fbbac0b8e10>(70222011025160) self=connections=70222011025160 checked_out=70222011025160 with_map= +2012-12-05 14:22:33.642298 T [43023:70222012817740] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- C"2/services/TestService/1/Development/localhost/2000H +2012-12-05 14:22:33.642673 D [43023:70222012817740] (0.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 71 bytes +2012-12-05 14:22:33.646881 T [43023:70222012817740] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 14:22:33.646901 D [43023:70222012817740] (4.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:22:33.647154 T [43023:70222012817740] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00" +2012-12-05 14:22:33.647165 D [43023:70222012817740] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 2 bytes +2012-12-05 14:22:33.647456 D [43023:70222012817740] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fbbac0b8e10>(70222011025160) self=connections=70222011025160 checked_out= with_map= +2012-12-05 14:22:33.647490 I [43023:70222012817740] RubySkynet::Server -- Skynet Services De-registered in Doozer +2012-12-05 14:23:07.891942 I [43023:70222010866400] Celluloid -- Terminating 4 actors... +2012-12-05 14:23:07.895485 I [43023:70222010866400] Celluloid -- Shutdown completed cleanly +2012-12-05 14:23:09.828056 D [43046:70349643537120] RubySkynet::Server -- Registering Service: TestService with name: TestService +2012-12-05 14:23:13.143050 D [43046:70349648774320] RubySkynet::Registry -- Doozer Connection Pool: Created connection #1 #<Thread:0x007ff71ba68960>(70349648774320) for Doozer Connection Pool +2012-12-05 14:23:13.173697 T [43046:70349648774320] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007ff71b05d718@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 14:23:13.176952 D [43046:70349648774320] RubySkynet::Registry -- Doozer Connection Pool: Renewed connection old=70349648774320 new=#<RubySkynet::Doozer::Client:0x007ff71b05dab0>(70349643509080) +2012-12-05 14:23:13.176986 D [43046:70349648774320] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007ff71b05dab0>(70349643509080) self=connections=70349643509080 checked_out=70349643509080 with_map= +2012-12-05 14:23:13.189970 T [43046:70349648774320] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "2/services/TestService/1/Development/localhost/2000*{"Config":{"UUID":"localhost:2000-43046-TestService-70349648397580","Name":"TestService","Version":"1","Region":"Development","ServiceAddr":{"IPAddress":"localhost","Port":2000,"MaxPort":2999}},"Registered":true}H +2012-12-05 14:23:13.190115 D [43046:70349648774320] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 286 bytes +2012-12-05 14:23:13.191668 T [43046:70349648774320] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 14:23:13.191681 D [43046:70349648774320] (1.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:23:13.193624 T [43046:70349648774320] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xEEY" +2012-12-05 14:23:13.193641 D [43046:70349648774320] (1.8ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 14:23:13.193814 D [43046:70349648774320] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007ff71b05dab0>(70349643509080) self=connections=70349643509080 checked_out= with_map= +2012-12-05 14:23:13.194554 I [43046:70349648774320] RubySkynet::Server -- Starting listener on localhost:2000 +2012-12-05 14:23:13.194575 D [43046:70349648774320] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 14:23:36.949536 D [43046:70349643537120] [50bf9f386b6933a826000001] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007ff71b05dab0>(70349643509080) self=connections=70349643509080 checked_out=70349643509080 with_map= +2012-12-05 14:23:36.949799 T [43046:70349643537120] [50bf9f386b6933a826000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  +2012-12-05 14:23:36.950056 D [43046:70349643537120] [50bf9f386b6933a826000001] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 8 bytes +2012-12-05 14:23:36.950199 T [43046:70349643537120] [50bf9f386b6933a826000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 14:23:36.950207 D [43046:70349643537120] [50bf9f386b6933a826000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:23:36.950272 T [43046:70349643537120] [50bf9f386b6933a826000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\x86Z" +2012-12-05 14:23:36.950279 D [43046:70349643537120] [50bf9f386b6933a826000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 14:23:36.950603 T [43046:70349643537120] [50bf9f386b6933a826000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8HZ +2012-12-05 14:23:36.950674 D [43046:70349643537120] [50bf9f386b6933a826000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-05 14:23:36.951052 T [43046:70349643537120] [50bf9f386b6933a826000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01\x12" +2012-12-05 14:23:36.951059 D [43046:70349643537120] [50bf9f386b6933a826000001] (0.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:23:36.951130 T [43046:70349643537120] [50bf9f386b6933a826000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xEEY*2/services/TestService/1/Development/localhost/20002\xD4\x01{\"Config\":{\"UUID\":\"localhost:2000-43046-TestService-70349648397580\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Development\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2000,\"MaxPort\":2999}},\"Registered\":true}" +2012-12-05 14:23:36.951136 D [43046:70349643537120] [50bf9f386b6933a826000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 274 bytes +2012-12-05 14:23:36.951435 T [43046:70349643537120] [50bf9f386b6933a826000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8HZ +2012-12-05 14:23:36.951499 D [43046:70349643537120] [50bf9f386b6933a826000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-05 14:23:36.951832 T [43046:70349643537120] [50bf9f386b6933a826000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01\x11" +2012-12-05 14:23:36.951838 D [43046:70349643537120] [50bf9f386b6933a826000001] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:23:36.951907 T [43046:70349643537120] [50bf9f386b6933a826000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18B*2/services/TestService/1/Development/localhost/21002\xD4\x01{\"Config\":{\"UUID\":\"localhost:2100-38983-TestService-70336365097060\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Development\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-05 14:23:36.951913 D [43046:70349643537120] [50bf9f386b6933a826000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 273 bytes +2012-12-05 14:23:36.952872 T [43046:70349643537120] [50bf9f386b6933a826000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8HZ +2012-12-05 14:23:36.953948 D [43046:70349643537120] [50bf9f386b6933a826000001] (1.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-05 14:23:36.954897 T [43046:70349643537120] [50bf9f386b6933a826000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01\x04" +2012-12-05 14:23:36.954909 D [43046:70349643537120] [50bf9f386b6933a826000001] (0.9ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:23:36.954984 T [43046:70349643537120] [50bf9f386b6933a826000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xA6U*+/services/TestService/1/Test/localhost/21002\xCD\x01{\"Config\":{\"UUID\":\"localhost:2100-42796-TestService-70255821087020\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-05 14:23:36.954990 D [43046:70349643537120] [50bf9f386b6933a826000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 260 bytes +2012-12-05 14:23:36.955291 T [43046:70349643537120] [50bf9f386b6933a826000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8HZ +2012-12-05 14:23:36.955354 D [43046:70349643537120] [50bf9f386b6933a826000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-05 14:23:36.956108 T [43046:70349643537120] [50bf9f386b6933a826000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 14:23:36.956119 D [43046:70349643537120] [50bf9f386b6933a826000001] (0.8ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:23:36.956177 T [43046:70349643537120] [50bf9f386b6933a826000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\xA0\x06\b" +2012-12-05 14:23:36.956183 D [43046:70349643537120] [50bf9f386b6933a826000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 14:23:36.956372 D [43046:70349643537120] [50bf9f386b6933a826000001] RubySkynet::Registry -- #start_monitoring Add Service: TestService/1/Development => localhost:2000 +2012-12-05 14:23:36.956421 D [43046:70349643537120] [50bf9f386b6933a826000001] RubySkynet::Registry -- #start_monitoring Add Service: TestService/1/Development => localhost:2100 +2012-12-05 14:23:36.956467 D [43046:70349643537120] [50bf9f386b6933a826000001] RubySkynet::Registry -- #start_monitoring Add Service: TestService/1/Test => localhost:2100 +2012-12-05 14:23:36.956506 D [43046:70349643537120] [50bf9f386b6933a826000001] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007ff71b05dab0>(70349643509080) self=connections=70349643509080 checked_out= with_map= +2012-12-05 14:23:36.957463 I [43046:70349648330280] RubySkynet::Registry -- Start monitoring /services/*/*/*/*/* +2012-12-05 14:23:36.957505 T [43046:70349648330280] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007ff71b9a36b0@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 14:23:36.963003 T [43046:70349648330280] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*HZ +2012-12-05 14:23:36.963101 D [43046:70349648330280] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 14:23:36.964282 D [43046:70349643537120] [50bf9f386b6933a826000001] RubySkynet::Connection: localhost:2000 -- Waiting for Service Handshake +2012-12-05 14:23:36.964961 D [43046:70349648774320] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 14:23:36.965068 D [43046:70349648774320] RubySkynet::Server -- Client connected, waiting for data from client +2012-12-05 14:23:36.966442 T [43046:70349643537120] [50bf9f386b6933a826000001] ResilientSocket::TCPClient ["localhost:2000"] -- #read <== received -- "9\x00\x00\x00" +2012-12-05 14:23:36.966457 D [43046:70349643537120] [50bf9f386b6933a826000001] (0.6ms) ResilientSocket::TCPClient ["localhost:2000"] -- #read <== read 4 bytes +2012-12-05 14:23:36.966637 T [43046:70349643537120] [50bf9f386b6933a826000001] ResilientSocket::TCPClient ["localhost:2000"] -- #read <== received -- "\bregistered\x00\x01\x02clientid\x00\x19\x00\x00\x0050bf9f386b6933a826000002\x00\x00" +2012-12-05 14:23:36.966643 D [43046:70349643537120] [50bf9f386b6933a826000001] (0.1ms) ResilientSocket::TCPClient ["localhost:2000"] -- #read <== read 53 bytes +2012-12-05 14:23:36.966732 T [43046:70349643537120] [50bf9f386b6933a826000001] RubySkynet::Connection: localhost:2000 -- Service Handshake -- {"registered"=>true, "clientid"=>"50bf9f386b6933a826000002"} +2012-12-05 14:23:36.966747 D [43046:70349643537120] [50bf9f386b6933a826000001] RubySkynet::Connection: localhost:2000 -- Sending Client Handshake +2012-12-05 14:23:36.966754 T [43046:70349643537120] [50bf9f386b6933a826000001] RubySkynet::Connection: localhost:2000 -- Client Handshake -- {"clientid"=>"50bf9f386b6933a826000002"} +2012-12-05 14:23:36.966773 T [43046:70349643537120] [50bf9f386b6933a826000001] ResilientSocket::TCPClient ["localhost:2000"] -- #write ==> sending -- ,clientid50bf9f386b6933a826000002 +2012-12-05 14:23:36.966913 D [43046:70349643537120] [50bf9f386b6933a826000001] (0.1ms) ResilientSocket::TCPClient ["localhost:2000"] -- #write ==> sent 44 bytes +2012-12-05 14:23:36.966989 D [43046:70349643537120] [50bf9f386b6933a826000001] RubySkynet::Connection: localhost:2000 -- Sending Header +2012-12-05 14:23:36.967000 T [43046:70349643537120] [50bf9f386b6933a826000001] RubySkynet::Connection: localhost:2000 -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 14:23:36.967021 T [43046:70349643537120] [50bf9f386b6933a826000001] ResilientSocket::TCPClient ["localhost:2000"] -- #write ==> sending -- 5servicemethodTestService.Forwardseq +2012-12-05 14:23:36.967064 D [43046:70349643537120] [50bf9f386b6933a826000001] (0.0ms) ResilientSocket::TCPClient ["localhost:2000"] -- #write ==> sent 53 bytes +2012-12-05 14:23:36.967106 D [43046:70349643537120] [50bf9f386b6933a826000001] RubySkynet::Connection: localhost:2000 -- Sending Request +2012-12-05 14:23:36.967113 T [43046:70349643537120] [50bf9f386b6933a826000001] RubySkynet::Connection: localhost:2000 -- Request -- {"clientid"=>"50bf9f386b6933a826000002", "in"=>"\x10\x00\x00\x00\x10value\x00\x05\x00\x00\x00\x00", "method"=>"echo", "requestinfo"=>{"requestid"=>"50bf9f386b6933a826000001", "retrycount"=>0, "originaddress"=>""}} +2012-12-05 14:23:36.967119 T [43046:70349643537120] [50bf9f386b6933a826000001] RubySkynet::Connection: localhost:2000 -- Parameters: -- {:value=>5} +2012-12-05 14:23:36.967136 T [43046:70349643537120] [50bf9f386b6933a826000001] ResilientSocket::TCPClient ["localhost:2000"] -- #write ==> sending -- clientid50bf9f386b6933a826000002invaluemethodechorequestinfoQrequestid50bf9f386b6933a826000001retrycountoriginaddress +2012-12-05 14:23:36.967177 D [43046:70349643537120] [50bf9f386b6933a826000001] (0.0ms) ResilientSocket::TCPClient ["localhost:2000"] -- #write ==> sent 180 bytes +2012-12-05 14:23:36.967190 D [43046:70349643537120] [50bf9f386b6933a826000001] RubySkynet::Connection: localhost:2000 -- Reading header from server +2012-12-05 14:23:36.968504 D [43046:70349648774320] RubySkynet::Server -- ****************** -2012-10-18 16:27:13.029161 D [1177:70308293160520] SimpleServer -- Received Request -2012-10-18 16:27:13.029161 D [1177:70308293160520] SimpleServer -- Received Request -2012-10-18 16:27:13.029172 T [1177:70308293160520] SimpleServer -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} -2012-10-18 16:27:13.029172 T [1177:70308293160520] SimpleServer -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} -- {"servicemethod"=>"TestService.Forward", "seq"=>0} -2012-10-18 16:27:13.029241 T [1177:70308293160520] SimpleServer -- Request -- {"clientid"=>"123", "in"=>"\x17\x00\x00\x00\x01duration\x00\x00\x00\x00\x00\x00\x00\f@\x00", "method"=>"sleep", "requestinfo"=>{"requestid"=>"508066216b69330499000002", "retrycount"=>0, "originaddress"=>""}} -2012-10-18 16:27:13.029241 T [1177:70308293160520] SimpleServer -- Request -- {"clientid"=>"123", "in"=>"\x17\x00\x00\x00\x01duration\x00\x00\x00\x00\x00\x00\x00\f@\x00", "method"=>"sleep", "requestinfo"=>{"requestid"=>"508066216b69330499000002", "retrycount"=>0, "originaddress"=>""}} -- {"clientid"=>"123", "in"=>"\x17\x00\x00\x00\x01duration\x00\x00\x00\x00\x00\x00\x00\f@\x00", "method"=>"sleep", "requestinfo"=>{"requestid"=>"508066216b69330499000002", "retrycount"=>0, "originaddress"=>""}} -2012-10-18 16:27:16.530457 D [1177:70308293160520] SimpleServer -- Sending Header -2012-10-18 16:27:16.530457 D [1177:70308293160520] SimpleServer -- Sending Header -2012-10-18 16:27:16.530693 D [1177:70308293160520] SimpleServer -- Sending Reply -2012-10-18 16:27:16.530693 D [1177:70308293160520] SimpleServer -- Sending Reply -2012-10-18 16:27:16.530713 T [1177:70308293160520] SimpleServer -- Reply -- {"result"=>"sleep"} -2012-10-18 16:27:16.530713 T [1177:70308293160520] SimpleServer -- Reply -- {"result"=>"sleep"} -- {"result"=>"sleep"} -2012-10-18 16:27:16.531488 T [1177:70308291893980] [508066216b69330499000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "5\x00\x00\x00" -2012-10-18 16:27:16.531488 T [1177:70308291893980] [508066216b69330499000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "5\x00\x00\x00" -- "5\x00\x00\x00" -2012-10-18 16:27:16.531510 D [1177:70308291893980] [508066216b69330499000002] (3506.5ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes -2012-10-18 16:27:16.531510 D [1177:70308291893980] [508066216b69330499000002] (3506.5ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes -2012-10-18 16:27:16.531596 T [1177:70308291893980] [508066216b69330499000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "\x02servicemethod\x00\x14\x00\x00\x00TestService.Forward\x00\x10seq\x00\x00\x00\x00\x00\x00" -2012-10-18 16:27:16.531596 T [1177:70308291893980] [508066216b69330499000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "\x02servicemethod\x00\x14\x00\x00\x00TestService.Forward\x00\x10seq\x00\x00\x00\x00\x00\x00" -- "\x02servicemethod\x00\x14\x00\x00\x00TestService.Forward\x00\x10seq\x00\x00\x00\x00\x00\x00" -2012-10-18 16:27:16.531612 D [1177:70308291893980] [508066216b69330499000002] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 49 bytes -2012-10-18 16:27:16.531612 D [1177:70308291893980] [508066216b69330499000002] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 49 bytes -2012-10-18 16:27:16.531663 D [1177:70308291893980] [508066216b69330499000002] RubySkynet::Connection: 127.0.0.1:2000 -- Response Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} -2012-10-18 16:27:16.531663 D [1177:70308291893980] [508066216b69330499000002] RubySkynet::Connection: 127.0.0.1:2000 -- Response Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} -- {"servicemethod"=>"TestService.Forward", "seq"=>0} -2012-10-18 16:27:16.531677 D [1177:70308291893980] [508066216b69330499000002] RubySkynet::Connection: 127.0.0.1:2000 -- Reading response from server -2012-10-18 16:27:16.531677 D [1177:70308291893980] [508066216b69330499000002] RubySkynet::Connection: 127.0.0.1:2000 -- Reading response from server -2012-10-18 16:27:16.531735 T [1177:70308291893980] [508066216b69330499000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "&\x00\x00\x00" -2012-10-18 16:27:16.531735 T [1177:70308291893980] [508066216b69330499000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "&\x00\x00\x00" -- "&\x00\x00\x00" -2012-10-18 16:27:16.531748 D [1177:70308291893980] [508066216b69330499000002] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes -2012-10-18 16:27:16.531748 D [1177:70308291893980] [508066216b69330499000002] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes -2012-10-18 16:27:16.531895 T [1177:70308291893980] [508066216b69330499000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "\x02out\x00\x18\x00\x00\x00\x17\x00\x00\x00\x02result\x00\x06\x00\x00\x00sleep\x00\x00\x00\x00" -2012-10-18 16:27:16.531895 T [1177:70308291893980] [508066216b69330499000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "\x02out\x00\x18\x00\x00\x00\x17\x00\x00\x00\x02result\x00\x06\x00\x00\x00sleep\x00\x00\x00\x00" -- "\x02out\x00\x18\x00\x00\x00\x17\x00\x00\x00\x02result\x00\x06\x00\x00\x00sleep\x00\x00\x00\x00" -2012-10-18 16:27:16.531907 D [1177:70308291893980] [508066216b69330499000002] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 34 bytes -2012-10-18 16:27:16.531907 D [1177:70308291893980] [508066216b69330499000002] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 34 bytes -2012-10-18 16:27:16.531944 T [1177:70308291893980] [508066216b69330499000002] RubySkynet::Connection: 127.0.0.1:2000 -- Response -- {"out"=>"\x17\x00\x00\x00\x02result\x00\x06\x00\x00\x00sleep\x00\x00"} -2012-10-18 16:27:16.531944 T [1177:70308291893980] [508066216b69330499000002] RubySkynet::Connection: 127.0.0.1:2000 -- Response -- {"out"=>"\x17\x00\x00\x00\x02result\x00\x06\x00\x00\x00sleep\x00\x00"} -- {"out"=>"\x17\x00\x00\x00\x02result\x00\x06\x00\x00\x00sleep\x00\x00"} -2012-10-18 16:27:16.531980 T [1177:70308291893980] [508066216b69330499000002] RubySkynet::Connection: 127.0.0.1:2000 -- Return Value -- {"result"=>"sleep"} -2012-10-18 16:27:16.531980 T [1177:70308291893980] [508066216b69330499000002] RubySkynet::Connection: 127.0.0.1:2000 -- Return Value -- {"result"=>"sleep"} -- {"result"=>"sleep"} -2012-10-18 16:27:16.532015 I [1177:70308291893980] [508066216b69330499000002] (3520.4ms) RubySkynet::Client: TestService/1/Test -- Called Skynet Service: TestService.sleep -2012-10-18 16:27:16.532015 I [1177:70308291893980] [508066216b69330499000002] (3520.4ms) RubySkynet::Client: TestService/1/Test -- Called Skynet Service: TestService.sleep -2012-10-18 16:27:16.532501 D [1177:70308291893980] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fe3da250178>(70308297081020) self=connections=70308297081020 checked_out=70308297081020 with_map= -2012-10-18 16:27:16.532501 D [1177:70308291893980] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fe3da250178>(70308297081020) self=connections=70308297081020 checked_out=70308297081020 with_map= -2012-10-18 16:27:16.533098 T [1177:70308291893980] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- <"+/services/TestService/1/Test/127.0.0.1/2000H -2012-10-18 16:27:16.533098 T [1177:70308291893980] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- <"+/services/TestService/1/Test/127.0.0.1/2000H -- <"+/services/TestService/1/Test/127.0.0.1/2000H -2012-10-18 16:27:16.536326 T [1177:70308293213420] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x007" -2012-10-18 16:27:16.536326 T [1177:70308293213420] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x007" -- "\x00\x00\x007" -2012-10-18 16:27:16.536363 D [1177:70308293213420] (3525.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:27:16.536363 D [1177:70308293213420] (3525.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:27:16.537756 D [1177:70308291893980] (4.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 64 bytes -2012-10-18 16:27:16.537756 D [1177:70308291893980] (4.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 64 bytes -2012-10-18 16:27:16.537825 T [1177:70308291893980] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x02" -2012-10-18 16:27:16.537825 T [1177:70308291893980] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x02" -- "\x00\x00\x00\x02" -2012-10-18 16:27:16.537836 D [1177:70308291893980] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:27:16.537836 D [1177:70308291893980] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:27:16.538451 T [1177:70308293213420] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\b\x18\xCD\xD1\x03*+/services/TestService/1/Test/127.0.0.1/20002\x00" -2012-10-18 16:27:16.538451 T [1177:70308293213420] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\b\x18\xCD\xD1\x03*+/services/TestService/1/Test/127.0.0.1/20002\x00" -- "\b\x00\x10\b\x18\xCD\xD1\x03*+/services/TestService/1/Test/127.0.0.1/20002\x00" -2012-10-18 16:27:16.538464 D [1177:70308293213420] (1.9ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 55 bytes -2012-10-18 16:27:16.538464 D [1177:70308293213420] (1.9ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 55 bytes -2012-10-18 16:27:16.538656 D [1177:70308293213420] RubySkynet::Registry -- #monitor Service stopped, remove: TestService/1/Test => 127.0.0.1:2000 -2012-10-18 16:27:16.538656 D [1177:70308293213420] RubySkynet::Registry -- #monitor Service stopped, remove: TestService/1/Test => 127.0.0.1:2000 -2012-10-18 16:27:16.538687 I [1177:70308293213420] RubySkynet::Registry -- Calling callback for server: 127.0.0.1:2000 -2012-10-18 16:27:16.538687 I [1177:70308293213420] RubySkynet::Registry -- Calling callback for server: 127.0.0.1:2000 -2012-10-18 16:27:16.538837 D [1177:70308293213420] RubySkynet::Connection -- Connection pool for server:127.0.0.1:2000 has been released -2012-10-18 16:27:16.538837 D [1177:70308293213420] RubySkynet::Connection -- Connection pool for server:127.0.0.1:2000 has been released -2012-10-18 16:27:16.538856 D [1177:70308293213420] RubySkynet::Registry -- Updated registry -- {"TutorialService/1/Development"=>["127.0.0.1:9000"]} -2012-10-18 16:27:16.538856 D [1177:70308293213420] RubySkynet::Registry -- Updated registry -- {"TutorialService/1/Development"=>["127.0.0.1:9000"]} -- {"TutorialService/1/Development"=>["127.0.0.1:9000"]} -2012-10-18 16:27:16.539096 T [1177:70308293213420] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H -2012-10-18 16:27:16.539096 T [1177:70308293213420] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H -- "/services/*/*/*/*/*H -2012-10-18 16:27:16.539178 D [1177:70308293213420] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 33 bytes -2012-10-18 16:27:16.539178 D [1177:70308293213420] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 33 bytes -2012-10-18 16:27:16.542655 T [1177:70308291893980] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00" -2012-10-18 16:27:16.542655 T [1177:70308291893980] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00" -- "\b\x00" -2012-10-18 16:27:16.542678 D [1177:70308291893980] (4.8ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 2 bytes -2012-10-18 16:27:16.542678 D [1177:70308291893980] (4.8ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 2 bytes -2012-10-18 16:27:16.542775 D [1177:70308291893980] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fe3da250178>(70308297081020) self=connections=70308297081020 checked_out= with_map= -2012-10-18 16:27:16.542775 D [1177:70308291893980] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fe3da250178>(70308297081020) self=connections=70308297081020 checked_out= with_map= -2012-10-18 16:27:44.913174 T [1192:70332132317920] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007feef3a167a8@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -2012-10-18 16:27:44.913174 T [1192:70332132317920] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007feef3a167a8@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007feef3a167a8@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -2012-10-18 16:27:44.918766 T [1192:70332132317920] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "/8 -2012-10-18 16:27:44.918766 T [1192:70332132317920] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "/8 -- "/8 -2012-10-18 16:27:44.919063 D [1192:70332132317920] (0.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 13 bytes -2012-10-18 16:27:44.919063 D [1192:70332132317920] (0.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 13 bytes -2012-10-18 16:27:44.919137 T [1192:70332132317920] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\a" -2012-10-18 16:27:44.919137 T [1192:70332132317920] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\a" -- "\x00\x00\x00\a" -2012-10-18 16:27:44.919148 D [1192:70332132317920] (0.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:27:44.919148 D [1192:70332132317920] (0.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:27:44.919309 T [1192:70332132317920] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00*\x03ctl" -2012-10-18 16:27:44.919309 T [1192:70332132317920] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00*\x03ctl" -- "\b\x00*\x03ctl" -2012-10-18 16:27:44.919326 D [1192:70332132317920] (0.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 7 bytes -2012-10-18 16:27:44.919326 D [1192:70332132317920] (0.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 7 bytes -2012-10-18 16:27:44.919662 T [1192:70332132317920] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "/8 -2012-10-18 16:27:44.919662 T [1192:70332132317920] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "/8 -- "/8 -2012-10-18 16:27:44.919706 D [1192:70332132317920] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 13 bytes -2012-10-18 16:27:44.919706 D [1192:70332132317920] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 13 bytes -2012-10-18 16:27:44.924883 T [1192:70332132317920] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\f" -2012-10-18 16:27:44.924883 T [1192:70332132317920] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\f" -- "\x00\x00\x00\f" -2012-10-18 16:27:44.924902 D [1192:70332132317920] (5.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:27:44.924902 D [1192:70332132317920] (5.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:27:44.924999 T [1192:70332132317920] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00*\bservices" -2012-10-18 16:27:44.924999 T [1192:70332132317920] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00*\bservices" -- "\b\x00*\bservices" -2012-10-18 16:27:44.925009 D [1192:70332132317920] (0.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 12 bytes -2012-10-18 16:27:44.925009 D [1192:70332132317920] (0.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 12 bytes -2012-10-18 16:27:44.925281 T [1192:70332132317920] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "/8 -2012-10-18 16:27:44.925281 T [1192:70332132317920] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "/8 -- "/8 -2012-10-18 16:27:44.925325 D [1192:70332132317920] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 13 bytes -2012-10-18 16:27:44.925325 D [1192:70332132317920] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 13 bytes -2012-10-18 16:27:44.925754 T [1192:70332132317920] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x0E" -2012-10-18 16:27:44.925754 T [1192:70332132317920] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x0E" -- "\x00\x00\x00\x0E" -2012-10-18 16:27:44.925767 D [1192:70332132317920] (0.4ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:27:44.925767 D [1192:70332132317920] (0.4ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:27:44.925829 T [1192:70332132317920] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00*\nstatistics" -2012-10-18 16:27:44.925829 T [1192:70332132317920] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00*\nstatistics" -- "\b\x00*\nstatistics" -2012-10-18 16:27:44.925839 D [1192:70332132317920] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 14 bytes -2012-10-18 16:27:44.925839 D [1192:70332132317920] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 14 bytes -2012-10-18 16:27:44.926046 T [1192:70332132317920] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "/8 -2012-10-18 16:27:44.926046 T [1192:70332132317920] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "/8 -- "/8 -2012-10-18 16:27:44.926090 D [1192:70332132317920] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 13 bytes -2012-10-18 16:27:44.926090 D [1192:70332132317920] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 13 bytes -2012-10-18 16:27:44.926309 T [1192:70332132317920] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x05" -2012-10-18 16:27:44.926309 T [1192:70332132317920] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x05" -- "\x00\x00\x00\x05" -2012-10-18 16:27:44.926322 D [1192:70332132317920] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:27:44.926322 D [1192:70332132317920] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:27:44.926391 T [1192:70332132317920] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\xA0\x06\b" -2012-10-18 16:27:44.926391 T [1192:70332132317920] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\xA0\x06\b" -- "\b\x00\xA0\x06\b" -2012-10-18 16:27:44.926401 D [1192:70332132317920] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 5 bytes -2012-10-18 16:27:44.926401 D [1192:70332132317920] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 5 bytes -2012-10-18 16:27:44.928342 T [1192:70332132317920] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/fooH -2012-10-18 16:27:44.928342 T [1192:70332132317920] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/fooH -- " /test/fooH -2012-10-18 16:27:44.928392 D [1192:70332132317920] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 30 bytes -2012-10-18 16:27:44.928392 D [1192:70332132317920] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 30 bytes -2012-10-18 16:27:44.930828 T [1192:70332132317920] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x02" -2012-10-18 16:27:44.930828 T [1192:70332132317920] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x02" -- "\x00\x00\x00\x02" -2012-10-18 16:27:44.930865 D [1192:70332132317920] (2.5ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:27:44.930865 D [1192:70332132317920] (2.5ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:27:44.932530 T [1192:70332132317920] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00" -2012-10-18 16:27:44.932530 T [1192:70332132317920] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00" -- "\b\x00" -2012-10-18 16:27:44.932573 D [1192:70332132317920] (1.7ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 2 bytes -2012-10-18 16:27:44.932573 D [1192:70332132317920] (1.7ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 2 bytes -2012-10-18 16:27:44.933233 T [1192:70332132317920] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007feef3a23ae8@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -2012-10-18 16:27:44.933233 T [1192:70332132317920] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007feef3a23ae8@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007feef3a23ae8@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -2012-10-18 16:27:44.934883 T [1192:70332132317920] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending --  -2012-10-18 16:27:44.934883 T [1192:70332132317920] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending --  --  -2012-10-18 16:27:44.935207 D [1192:70332132317920] (0.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 8 bytes -2012-10-18 16:27:44.935207 D [1192:70332132317920] (0.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 8 bytes -2012-10-18 16:27:44.936089 T [1192:70332132317920] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x06" -2012-10-18 16:27:44.936089 T [1192:70332132317920] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x06" -- "\x00\x00\x00\x06" -2012-10-18 16:27:44.936135 D [1192:70332132317920] (0.9ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:27:44.936135 D [1192:70332132317920] (0.9ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:27:44.936461 T [1192:70332132317920] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xF1\xD1\x03" -2012-10-18 16:27:44.936461 T [1192:70332132317920] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xF1\xD1\x03" -- "\b\x00\x18\xF1\xD1\x03" -2012-10-18 16:27:44.936502 D [1192:70332132317920] (0.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 6 bytes -2012-10-18 16:27:44.936502 D [1192:70332132317920] (0.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 6 bytes -2012-10-18 16:27:44.940260 T [1192:70332132317920] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/fooH -2012-10-18 16:27:44.940260 T [1192:70332132317920] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/fooH -- " /test/fooH -2012-10-18 16:27:44.940602 D [1192:70332132317920] (0.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 30 bytes -2012-10-18 16:27:44.940602 D [1192:70332132317920] (0.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 30 bytes -2012-10-18 16:27:44.945889 T [1192:70332132317920] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x02" -2012-10-18 16:27:44.945889 T [1192:70332132317920] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x02" -- "\x00\x00\x00\x02" -2012-10-18 16:27:44.945942 D [1192:70332132317920] (5.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:27:44.945942 D [1192:70332132317920] (5.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:27:44.946355 T [1192:70332132317920] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00" -2012-10-18 16:27:44.946355 T [1192:70332132317920] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00" -- "\b\x00" -2012-10-18 16:27:44.946368 D [1192:70332132317920] (0.4ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 2 bytes -2012-10-18 16:27:44.946368 D [1192:70332132317920] (0.4ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 2 bytes -2012-10-18 16:27:44.946585 T [1192:70332132317920] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007feef498e7f8@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -2012-10-18 16:27:44.946585 T [1192:70332132317920] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007feef498e7f8@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007feef498e7f8@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -2012-10-18 16:27:44.949396 T [1192:70332132317920] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "" /test/foo*value2H -2012-10-18 16:27:44.949396 T [1192:70332132317920] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "" /test/foo*value2H -- "" /test/foo*value2H -2012-10-18 16:27:44.949738 D [1192:70332132317920] (0.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 38 bytes -2012-10-18 16:27:44.949738 D [1192:70332132317920] (0.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 38 bytes -2012-10-18 16:27:44.956699 T [1192:70332132317920] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x06" -2012-10-18 16:27:44.956699 T [1192:70332132317920] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x06" -- "\x00\x00\x00\x06" -2012-10-18 16:27:44.956759 D [1192:70332132317920] (7.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:27:44.956759 D [1192:70332132317920] (7.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:27:44.957348 T [1192:70332132317920] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xF3\xD1\x03" -2012-10-18 16:27:44.957348 T [1192:70332132317920] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xF3\xD1\x03" -- "\b\x00\x18\xF3\xD1\x03" -2012-10-18 16:27:44.957390 D [1192:70332132317920] (0.6ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 6 bytes -2012-10-18 16:27:44.957390 D [1192:70332132317920] (0.6ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 6 bytes -2012-10-18 16:27:44.957791 T [1192:70332132317920] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/foo -2012-10-18 16:27:44.957791 T [1192:70332132317920] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/foo -- " /test/foo -2012-10-18 16:27:44.958434 D [1192:70332132317920] (0.6ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 19 bytes -2012-10-18 16:27:44.958434 D [1192:70332132317920] (0.6ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 19 bytes -2012-10-18 16:27:44.958659 T [1192:70332132317920] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x0E" -2012-10-18 16:27:44.958659 T [1192:70332132317920] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x0E" -- "\x00\x00\x00\x0E" -2012-10-18 16:27:44.958698 D [1192:70332132317920] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:27:44.958698 D [1192:70332132317920] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:27:44.959132 T [1192:70332132317920] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xF3\xD1\x032\x06value2" -2012-10-18 16:27:44.959132 T [1192:70332132317920] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xF3\xD1\x032\x06value2" -- "\b\x00\x18\xF3\xD1\x032\x06value2" -2012-10-18 16:27:44.959172 D [1192:70332132317920] (0.4ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 14 bytes -2012-10-18 16:27:44.959172 D [1192:70332132317920] (0.4ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 14 bytes -2012-10-18 16:27:44.974976 T [1192:70332132317920] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/fooH -2012-10-18 16:27:44.974976 T [1192:70332132317920] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/fooH -- " /test/fooH -2012-10-18 16:27:44.975224 D [1192:70332132317920] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 30 bytes -2012-10-18 16:27:44.975224 D [1192:70332132317920] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 30 bytes -2012-10-18 16:27:44.977455 T [1192:70332132317920] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x02" -2012-10-18 16:27:44.977455 T [1192:70332132317920] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x02" -- "\x00\x00\x00\x02" -2012-10-18 16:27:44.977509 D [1192:70332132317920] (2.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:27:44.977509 D [1192:70332132317920] (2.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:27:44.977909 T [1192:70332132317920] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00" -2012-10-18 16:27:44.977909 T [1192:70332132317920] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00" -- "\b\x00" -2012-10-18 16:27:44.978135 D [1192:70332132317920] (0.6ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 2 bytes -2012-10-18 16:27:44.978135 D [1192:70332132317920] (0.6ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 2 bytes -2012-10-18 16:27:44.978654 T [1192:70332132317920] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007feef38497e0@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -2012-10-18 16:27:44.978654 T [1192:70332132317920] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007feef38497e0@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007feef38497e0@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -2012-10-18 16:27:44.980792 T [1192:70332132317920] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- !" /test/foo*valueH -2012-10-18 16:27:44.980792 T [1192:70332132317920] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- !" /test/foo*valueH -- !" /test/foo*valueH -2012-10-18 16:27:44.981459 D [1192:70332132317920] (0.6ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 37 bytes -2012-10-18 16:27:44.981459 D [1192:70332132317920] (0.6ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 37 bytes -2012-10-18 16:27:44.982654 T [1192:70332132317920] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x06" -2012-10-18 16:27:44.982654 T [1192:70332132317920] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x06" -- "\x00\x00\x00\x06" -2012-10-18 16:27:44.982704 D [1192:70332132317920] (1.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:27:44.982704 D [1192:70332132317920] (1.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:27:44.983064 T [1192:70332132317920] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xF5\xD1\x03" -2012-10-18 16:27:44.983064 T [1192:70332132317920] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xF5\xD1\x03" -- "\b\x00\x18\xF5\xD1\x03" -2012-10-18 16:27:44.983106 D [1192:70332132317920] (0.4ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 6 bytes -2012-10-18 16:27:44.983106 D [1192:70332132317920] (0.4ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 6 bytes -2012-10-18 16:27:44.983352 T [1192:70332132317920] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/foo -2012-10-18 16:27:44.983352 T [1192:70332132317920] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/foo -- " /test/foo -2012-10-18 16:27:44.983792 D [1192:70332132317920] (0.4ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 19 bytes -2012-10-18 16:27:44.983792 D [1192:70332132317920] (0.4ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 19 bytes -2012-10-18 16:27:44.984790 T [1192:70332132317920] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\r" -2012-10-18 16:27:44.984790 T [1192:70332132317920] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\r" -- "\x00\x00\x00\r" -2012-10-18 16:27:44.984836 D [1192:70332132317920] (1.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:27:44.984836 D [1192:70332132317920] (1.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:27:44.986237 T [1192:70332132317920] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xF5\xD1\x032\x05value" -2012-10-18 16:27:44.986237 T [1192:70332132317920] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xF5\xD1\x032\x05value" -- "\b\x00\x18\xF5\xD1\x032\x05value" -2012-10-18 16:27:44.986255 D [1192:70332132317920] (1.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 13 bytes -2012-10-18 16:27:44.986255 D [1192:70332132317920] (1.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 13 bytes -2012-10-18 16:27:44.989523 T [1192:70332132317920] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/fooH -2012-10-18 16:27:44.989523 T [1192:70332132317920] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/fooH -- " /test/fooH -2012-10-18 16:27:44.989735 D [1192:70332132317920] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 30 bytes -2012-10-18 16:27:44.989735 D [1192:70332132317920] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 30 bytes -2012-10-18 16:27:44.991046 T [1192:70332132317920] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x02" -2012-10-18 16:27:44.991046 T [1192:70332132317920] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x02" -- "\x00\x00\x00\x02" -2012-10-18 16:27:44.991064 D [1192:70332132317920] (1.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:27:44.991064 D [1192:70332132317920] (1.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:27:44.991487 T [1192:70332132317920] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00" -2012-10-18 16:27:44.991487 T [1192:70332132317920] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00" -- "\b\x00" -2012-10-18 16:27:44.991529 D [1192:70332132317920] (0.4ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 2 bytes -2012-10-18 16:27:44.991529 D [1192:70332132317920] (0.4ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 2 bytes -2012-10-18 16:27:44.991985 T [1192:70332132317920] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:9999", :connect_retry_interval=>0.1, :connect_retry_count=>5, :read_timeout=>5, :connect_timeout=>3, :buffered=>false, :on_connect=>#<Proc:0x007feef39693a0@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -2012-10-18 16:27:44.991985 T [1192:70332132317920] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:9999", :connect_retry_interval=>0.1, :connect_retry_count=>5, :read_timeout=>5, :connect_timeout=>3, :buffered=>false, :on_connect=>#<Proc:0x007feef39693a0@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -- {:server=>"localhost:9999", :connect_retry_interval=>0.1, :connect_retry_count=>5, :read_timeout=>5, :connect_timeout=>3, :buffered=>false, :on_connect=>#<Proc:0x007feef39693a0@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -2012-10-18 16:27:44.994805 W [1192:70332132317920] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 1 -2012-10-18 16:27:44.994805 W [1192:70332132317920] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 1 -2012-10-18 16:27:45.096594 W [1192:70332132317920] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 2 -2012-10-18 16:27:45.096594 W [1192:70332132317920] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 2 -2012-10-18 16:27:45.197367 W [1192:70332132317920] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 3 -2012-10-18 16:27:45.197367 W [1192:70332132317920] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 3 -2012-10-18 16:27:45.298754 W [1192:70332132317920] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 4 -2012-10-18 16:27:45.298754 W [1192:70332132317920] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 4 -2012-10-18 16:27:45.400285 W [1192:70332132317920] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 5 -2012-10-18 16:27:45.400285 W [1192:70332132317920] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 5 -2012-10-18 16:27:45.501783 E [1192:70332132317920] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Giving up after 5 retries -2012-10-18 16:27:45.501783 E [1192:70332132317920] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Giving up after 5 retries -2012-10-18 16:27:45.501887 I [1192:70332132317920] (509.8ms) ResilientSocket::TCPClient ["localhost:9999"] -- Connecting to server localhost:9999 -- ResilientSocket::ConnectionFailure: After 5 connection attempts to host 'localhost:9999': Errno::ECONNREFUSED: Connection refused - connect(2) -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:570:in `rescue in block in connect_to_server' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:548:in `block in connect_to_server' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.7.0/lib/semantic_logger/base.rb:181:in `benchmark_info' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:541:in `connect_to_server' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:304:in `connect' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:232:in `initialize' +2012-12-05 14:23:36.968522 D [43046:70349648774320] RubySkynet::Server -- Received Request +2012-12-05 14:23:36.968532 T [43046:70349648774320] RubySkynet::Server -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 14:23:36.968662 T [43046:70349648774320] RubySkynet::Server -- Request -- {"clientid"=>"50bf9f386b6933a826000002", "in"=>"\x10\x00\x00\x00\x10value\x00\x05\x00\x00\x00\x00", "method"=>"echo", "requestinfo"=>{"requestid"=>"50bf9f386b6933a826000001", "retrycount"=>0, "originaddress"=>""}} +2012-12-05 14:23:36.968684 T [43046:70349648774320] RubySkynet::Server -- Parameters -- {"value"=>5} +2012-12-05 14:23:36.968707 T [43046:70349648774320] RubySkynet::Server -- Method Call: echo with parameters: -- {"value"=>5} +2012-12-05 14:23:36.968747 D [43046:70349648774320] (0.0ms) RubySkynet::Server -- Called: TestService#echo -- NoMethodError: undefined method `registered_services' for RubySkynet::Service:Module +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/server.rb:173:in `block in on_message' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_debug' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/server.rb:171:in `on_message' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/server.rb:211:in `handle_connection' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/celluloid-0.12.3/lib/celluloid/calls.rb:99:in `dispatch' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/celluloid-0.12.3/lib/celluloid/actor.rb:323:in `block in handle_message' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/celluloid-0.12.3/lib/celluloid/tasks/task_fiber.rb:22:in `block in initialize' +2012-12-05 14:23:36.968819 E [43046:70349648774320] Celluloid -- RubySkynet::Server crashed! +NoMethodError: undefined method `registered_services' for RubySkynet::Service:Module +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/server.rb:173:in `block in on_message' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_debug' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/server.rb:171:in `on_message' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/server.rb:211:in `handle_connection' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/celluloid-0.12.3/lib/celluloid/calls.rb:99:in `dispatch' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/celluloid-0.12.3/lib/celluloid/actor.rb:323:in `block in handle_message' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/celluloid-0.12.3/lib/celluloid/tasks/task_fiber.rb:22:in `block in initialize' +2012-12-05 14:23:36.968884 I [43046:70349648774320] RubySkynet::Server -- Skynet Server Stopped +2012-12-05 14:23:36.968956 D [43046:70349648774320] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007ff71b05dab0>(70349643509080) self=connections=70349643509080 checked_out=70349643509080 with_map= +2012-12-05 14:23:36.969282 T [43046:70349648774320] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- C"2/services/TestService/1/Development/localhost/2000H +2012-12-05 14:23:36.969321 D [43046:70349648774320] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 71 bytes +2012-12-05 14:23:36.972176 T [43046:70349648330280] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00=" +2012-12-05 14:23:36.972191 D [43046:70349648330280] (9.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:23:36.972445 T [43046:70349648774320] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 14:23:36.972452 D [43046:70349648774320] (3.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:23:36.974154 T [43046:70349648774320] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00" +2012-12-05 14:23:36.974168 D [43046:70349648774320] (1.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 2 bytes +2012-12-05 14:23:36.974505 D [43046:70349648774320] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007ff71b05dab0>(70349643509080) self=connections=70349643509080 checked_out= with_map= +2012-12-05 14:23:36.974539 I [43046:70349648774320] RubySkynet::Server -- Skynet Services De-registered in Doozer +2012-12-05 14:23:36.974910 T [43046:70349648330280] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\b\x18\x87Z*2/services/TestService/1/Development/localhost/20002\x00" +2012-12-05 14:23:36.974917 D [43046:70349648330280] (2.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 61 bytes +2012-12-05 14:23:36.975254 D [43046:70349648330280] RubySkynet::Registry -- #monitor Service stopped, remove: TestService/1/Development => localhost:2000 +2012-12-05 14:23:36.975282 I [43046:70349648330280] RubySkynet::Registry -- Calling callback for server: localhost:2000 +2012-12-05 14:23:36.975310 D [43046:70349648330280] RubySkynet::Connection -- Connection pool for server:localhost:2000 has been released +2012-12-05 14:23:36.975322 D [43046:70349648330280] RubySkynet::Registry -- Updated registry -- {"TestService/1/Development"=>["localhost:2100"], "TestService/1/Test"=>["localhost:2100"]} +2012-12-05 14:23:36.975546 T [43046:70349648330280] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*HZ +2012-12-05 14:23:36.975597 D [43046:70349648330280] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 14:24:14.341747 D [43046:70349643537120] [50bf9f386b6933a826000001] (37374.5ms) ResilientSocket::TCPClient ["localhost:2000"] -- #read <== read 4 bytes -- IRB::Abort: abort then interrupt! +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:88:in `irb_abort' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:257:in `signal_handle' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:65:in `block in start' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:378:in `call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:378:in `select' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:378:in `block in read' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_debug' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:374:in `read' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/common.rb:10:in `read_bson_document' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:178:in `rpc_call' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:65:in `block (3 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/gene_pool-1.3.0/lib/gene_pool.rb:134:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:214:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:64:in `block (2 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_info' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:60:in `block in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:126:in `with_tags' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:59:in `call' +(irb):24:in `irb_binding' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/workspace.rb:80:in `eval' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/workspace.rb:80:in `evaluate' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/context.rb:254:in `evaluate' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:159:in `block (2 levels) in eval_input' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:273:in `signal_status' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:156:in `block in eval_input' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:243:in `block (2 levels) in each_top_level_statement' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:229:in `loop' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:229:in `block in each_top_level_statement' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:228:in `catch' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:228:in `each_top_level_statement' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:155:in `eval_input' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:70:in `block in start' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:69:in `catch' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:69:in `start' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/bin/irb:16:in `<main>' +2012-12-05 14:24:14.341821 I [43046:70349643537120] [50bf9f386b6933a826000001] (37394.1ms) RubySkynet::Client: TestService/*/Development -- Called Skynet Service: TestService.echo -- IRB::Abort: abort then interrupt! +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:88:in `irb_abort' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:257:in `signal_handle' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:65:in `block in start' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:378:in `call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:378:in `select' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:378:in `block in read' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_debug' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:374:in `read' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/common.rb:10:in `read_bson_document' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:178:in `rpc_call' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:65:in `block (3 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/gene_pool-1.3.0/lib/gene_pool.rb:134:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:214:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:64:in `block (2 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_info' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:60:in `block in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:126:in `with_tags' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:59:in `call' +(irb):24:in `irb_binding' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/workspace.rb:80:in `eval' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/workspace.rb:80:in `evaluate' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/context.rb:254:in `evaluate' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:159:in `block (2 levels) in eval_input' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:273:in `signal_status' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:156:in `block in eval_input' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:243:in `block (2 levels) in each_top_level_statement' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:229:in `loop' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:229:in `block in each_top_level_statement' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:228:in `catch' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:228:in `each_top_level_statement' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:155:in `eval_input' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:70:in `block in start' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:69:in `catch' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:69:in `start' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/bin/irb:16:in `<main>' +2012-12-05 14:24:17.032485 I [43046:70349643537120] Celluloid -- Terminating 4 actors... +2012-12-05 14:24:17.033539 I [43046:70349643537120] Celluloid -- Shutdown completed cleanly +2012-12-05 14:24:34.310638 D [43085:70275622460120] RubySkynet::Server -- Registering Service: TestService with name: TestService +2012-12-05 14:24:34.324399 D [43085:70275628121400] RubySkynet::Registry -- Doozer Connection Pool: Created connection #1 #<Thread:0x007fd4a3b37a70>(70275628121400) for Doozer Connection Pool +2012-12-05 14:24:34.356788 T [43085:70275628121400] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007fd4a305cdd0@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 14:24:34.359850 D [43085:70275628121400] RubySkynet::Registry -- Doozer Connection Pool: Renewed connection old=70275628121400 new=#<RubySkynet::Doozer::Client:0x007fd4a305d078>(70275622430780) +2012-12-05 14:24:34.359885 D [43085:70275628121400] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fd4a305d078>(70275622430780) self=connections=70275622430780 checked_out=70275622430780 with_map= +2012-12-05 14:24:34.372277 T [43085:70275628121400] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "2/services/TestService/1/Development/localhost/2000*{"Config":{"UUID":"localhost:2000-43085-TestService-70275627804820","Name":"TestService","Version":"1","Region":"Development","ServiceAddr":{"IPAddress":"localhost","Port":2000,"MaxPort":2999}},"Registered":true}H +2012-12-05 14:24:34.372419 D [43085:70275628121400] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 286 bytes +2012-12-05 14:24:34.373904 T [43085:70275628121400] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 14:24:34.373917 D [43085:70275628121400] (1.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:24:34.377487 T [43085:70275628121400] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xC1Z" +2012-12-05 14:24:34.377507 D [43085:70275628121400] (3.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 14:24:34.377695 D [43085:70275628121400] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fd4a305d078>(70275622430780) self=connections=70275622430780 checked_out= with_map= +2012-12-05 14:24:34.378070 I [43085:70275628121400] RubySkynet::Server -- Starting listener on localhost:2000 +2012-12-05 14:24:34.378085 D [43085:70275628121400] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 14:24:34.384213 D [43085:70275622460120] [50bf9f726b6933a84d000001] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fd4a305d078>(70275622430780) self=connections=70275622430780 checked_out=70275622430780 with_map= +2012-12-05 14:24:34.384494 T [43085:70275622460120] [50bf9f726b6933a84d000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  +2012-12-05 14:24:34.384702 D [43085:70275622460120] [50bf9f726b6933a84d000001] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 8 bytes +2012-12-05 14:24:34.384761 T [43085:70275622460120] [50bf9f726b6933a84d000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 14:24:34.384767 D [43085:70275622460120] [50bf9f726b6933a84d000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:24:34.386177 T [43085:70275622460120] [50bf9f726b6933a84d000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xC1Z" +2012-12-05 14:24:34.386222 D [43085:70275622460120] [50bf9f726b6933a84d000001] (1.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 14:24:34.386549 T [43085:70275622460120] [50bf9f726b6933a84d000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8HZ +2012-12-05 14:24:34.386591 D [43085:70275622460120] [50bf9f726b6933a84d000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-05 14:24:34.387237 T [43085:70275622460120] [50bf9f726b6933a84d000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01\x12" +2012-12-05 14:24:34.387249 D [43085:70275622460120] [50bf9f726b6933a84d000001] (0.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:24:34.387342 T [43085:70275622460120] [50bf9f726b6933a84d000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xC1Z*2/services/TestService/1/Development/localhost/20002\xD4\x01{\"Config\":{\"UUID\":\"localhost:2000-43085-TestService-70275627804820\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Development\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2000,\"MaxPort\":2999}},\"Registered\":true}" +2012-12-05 14:24:34.387348 D [43085:70275622460120] [50bf9f726b6933a84d000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 274 bytes +2012-12-05 14:24:34.387640 T [43085:70275622460120] [50bf9f726b6933a84d000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8HZ +2012-12-05 14:24:34.387682 D [43085:70275622460120] [50bf9f726b6933a84d000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-05 14:24:34.388351 T [43085:70275622460120] [50bf9f726b6933a84d000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01\x11" +2012-12-05 14:24:34.388361 D [43085:70275622460120] [50bf9f726b6933a84d000001] (0.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:24:34.388712 T [43085:70275622460120] [50bf9f726b6933a84d000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18B*2/services/TestService/1/Development/localhost/21002\xD4\x01{\"Config\":{\"UUID\":\"localhost:2100-38983-TestService-70336365097060\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Development\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-05 14:24:34.388749 D [43085:70275622460120] [50bf9f726b6933a84d000001] (0.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 273 bytes +2012-12-05 14:24:34.389021 T [43085:70275622460120] [50bf9f726b6933a84d000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8HZ +2012-12-05 14:24:34.389332 D [43085:70275622460120] [50bf9f726b6933a84d000001] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-05 14:24:34.389996 T [43085:70275622460120] [50bf9f726b6933a84d000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01\x04" +2012-12-05 14:24:34.390009 D [43085:70275622460120] [50bf9f726b6933a84d000001] (0.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:24:34.390327 T [43085:70275622460120] [50bf9f726b6933a84d000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xA6U*+/services/TestService/1/Test/localhost/21002\xCD\x01{\"Config\":{\"UUID\":\"localhost:2100-42796-TestService-70255821087020\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-05 14:24:34.390363 D [43085:70275622460120] [50bf9f726b6933a84d000001] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 260 bytes +2012-12-05 14:24:34.390691 T [43085:70275622460120] [50bf9f726b6933a84d000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8HZ +2012-12-05 14:24:34.391244 D [43085:70275622460120] [50bf9f726b6933a84d000001] (0.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-05 14:24:34.391412 T [43085:70275622460120] [50bf9f726b6933a84d000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 14:24:34.391450 D [43085:70275622460120] [50bf9f726b6933a84d000001] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:24:34.391708 T [43085:70275622460120] [50bf9f726b6933a84d000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\xA0\x06\b" +2012-12-05 14:24:34.391860 D [43085:70275622460120] [50bf9f726b6933a84d000001] (0.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 14:24:34.392055 D [43085:70275622460120] [50bf9f726b6933a84d000001] RubySkynet::Registry -- #start_monitoring Add Service: TestService/1/Development => localhost:2000 +2012-12-05 14:24:34.392109 D [43085:70275622460120] [50bf9f726b6933a84d000001] RubySkynet::Registry -- #start_monitoring Add Service: TestService/1/Development => localhost:2100 +2012-12-05 14:24:34.392158 D [43085:70275622460120] [50bf9f726b6933a84d000001] RubySkynet::Registry -- #start_monitoring Add Service: TestService/1/Test => localhost:2100 +2012-12-05 14:24:34.392197 D [43085:70275622460120] [50bf9f726b6933a84d000001] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fd4a305d078>(70275622430780) self=connections=70275622430780 checked_out= with_map= +2012-12-05 14:24:34.393122 I [43085:70275622870620] RubySkynet::Registry -- Start monitoring /services/*/*/*/*/* +2012-12-05 14:24:34.393166 T [43085:70275622870620] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007fd4a318d2b8@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 14:24:34.393669 T [43085:70275622870620] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*HZ +2012-12-05 14:24:34.393707 D [43085:70275622870620] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 14:24:34.394454 W [43085:70275622460120] [50bf9f726b6933a84d000001] ResilientSocket::TCPClient ["localhost:2100"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 1 +2012-12-05 14:24:34.495081 W [43085:70275622460120] [50bf9f726b6933a84d000001] ResilientSocket::TCPClient ["localhost:2100"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 2 +2012-12-05 14:24:34.596131 W [43085:70275622460120] [50bf9f726b6933a84d000001] ResilientSocket::TCPClient ["localhost:2100"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 3 +2012-12-05 14:24:34.697434 W [43085:70275622460120] [50bf9f726b6933a84d000001] ResilientSocket::TCPClient ["localhost:2100"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 4 +2012-12-05 14:24:34.798355 W [43085:70275622460120] [50bf9f726b6933a84d000001] ResilientSocket::TCPClient ["localhost:2100"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 5 +2012-12-05 14:24:34.899875 E [43085:70275622460120] [50bf9f726b6933a84d000001] ResilientSocket::TCPClient ["localhost:2100"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Giving up after 5 retries +2012-12-05 14:24:34.900048 I [43085:70275622460120] [50bf9f726b6933a84d000001] (507.4ms) ResilientSocket::TCPClient ["localhost:2100"] -- Connecting to server localhost:2100 -- ResilientSocket::ConnectionFailure: After 5 connection attempts to host 'localhost:2100': Errno::ECONNREFUSED: Connection refused - connect(2) +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:578:in `rescue in block in connect_to_server' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:549:in `block in connect_to_server' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_info' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:542:in `connect_to_server' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:305:in `connect' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:233:in `initialize' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:104:in `new' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:104:in `initialize' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:235:in `new' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:235:in `block in new_connection_pool' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/gene_pool-1.3.0/lib/gene_pool.rb:193:in `call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/gene_pool-1.3.0/lib/gene_pool.rb:193:in `renew' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/gene_pool-1.3.0/lib/gene_pool.rb:97:in `checkout' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/gene_pool-1.3.0/lib/gene_pool.rb:129:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:214:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:64:in `block (2 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_info' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:60:in `block in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:126:in `with_tags' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:59:in `call' +(irb):23:in `irb_binding' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/workspace.rb:80:in `eval' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/workspace.rb:80:in `evaluate' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/context.rb:254:in `evaluate' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:159:in `block (2 levels) in eval_input' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:273:in `signal_status' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:156:in `block in eval_input' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:243:in `block (2 levels) in each_top_level_statement' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:229:in `loop' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:229:in `block in each_top_level_statement' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:228:in `catch' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:228:in `each_top_level_statement' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:155:in `eval_input' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:70:in `block in start' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:69:in `catch' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:69:in `start' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/bin/irb:16:in `<main>' +2012-12-05 14:24:34.901693 W [43085:70275622460120] [50bf9f726b6933a84d000001] ResilientSocket::TCPClient ["localhost:2100"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 1 +2012-12-05 14:24:35.003111 W [43085:70275622460120] [50bf9f726b6933a84d000001] ResilientSocket::TCPClient ["localhost:2100"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 2 +2012-12-05 14:24:35.104519 W [43085:70275622460120] [50bf9f726b6933a84d000001] ResilientSocket::TCPClient ["localhost:2100"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 3 +2012-12-05 14:24:35.205578 W [43085:70275622460120] [50bf9f726b6933a84d000001] ResilientSocket::TCPClient ["localhost:2100"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 4 +2012-12-05 14:24:35.307107 W [43085:70275622460120] [50bf9f726b6933a84d000001] ResilientSocket::TCPClient ["localhost:2100"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 5 +2012-12-05 14:24:35.408116 E [43085:70275622460120] [50bf9f726b6933a84d000001] ResilientSocket::TCPClient ["localhost:2100"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Giving up after 5 retries +2012-12-05 14:24:35.408336 I [43085:70275622460120] [50bf9f726b6933a84d000001] (507.9ms) ResilientSocket::TCPClient ["localhost:2100"] -- Connecting to server localhost:2100 -- ResilientSocket::ConnectionFailure: After 5 connection attempts to host 'localhost:2100': Errno::ECONNREFUSED: Connection refused - connect(2) +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:578:in `rescue in block in connect_to_server' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:549:in `block in connect_to_server' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_info' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:542:in `connect_to_server' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:305:in `connect' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:233:in `initialize' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:104:in `new' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:104:in `initialize' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:235:in `new' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:235:in `block in new_connection_pool' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/gene_pool-1.3.0/lib/gene_pool.rb:193:in `call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/gene_pool-1.3.0/lib/gene_pool.rb:193:in `renew' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/gene_pool-1.3.0/lib/gene_pool.rb:97:in `checkout' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/gene_pool-1.3.0/lib/gene_pool.rb:129:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:214:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:64:in `block (2 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_info' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:60:in `block in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:126:in `with_tags' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:59:in `call' +(irb):23:in `irb_binding' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/workspace.rb:80:in `eval' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/workspace.rb:80:in `evaluate' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/context.rb:254:in `evaluate' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:159:in `block (2 levels) in eval_input' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:273:in `signal_status' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:156:in `block in eval_input' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:243:in `block (2 levels) in each_top_level_statement' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:229:in `loop' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:229:in `block in each_top_level_statement' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:228:in `catch' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:228:in `each_top_level_statement' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:155:in `eval_input' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:70:in `block in start' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:69:in `catch' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:69:in `start' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/bin/irb:16:in `<main>' +2012-12-05 14:24:35.410086 W [43085:70275622460120] [50bf9f726b6933a84d000001] ResilientSocket::TCPClient ["localhost:2100"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 1 +2012-12-05 14:24:35.511327 W [43085:70275622460120] [50bf9f726b6933a84d000001] ResilientSocket::TCPClient ["localhost:2100"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 2 +2012-12-05 14:24:35.612029 W [43085:70275622460120] [50bf9f726b6933a84d000001] ResilientSocket::TCPClient ["localhost:2100"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 3 +2012-12-05 14:24:35.713266 W [43085:70275622460120] [50bf9f726b6933a84d000001] ResilientSocket::TCPClient ["localhost:2100"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 4 +2012-12-05 14:24:35.813693 W [43085:70275622460120] [50bf9f726b6933a84d000001] ResilientSocket::TCPClient ["localhost:2100"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 5 +2012-12-05 14:24:35.915170 E [43085:70275622460120] [50bf9f726b6933a84d000001] ResilientSocket::TCPClient ["localhost:2100"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Giving up after 5 retries +2012-12-05 14:24:35.915283 I [43085:70275622460120] [50bf9f726b6933a84d000001] (506.3ms) ResilientSocket::TCPClient ["localhost:2100"] -- Connecting to server localhost:2100 -- ResilientSocket::ConnectionFailure: After 5 connection attempts to host 'localhost:2100': Errno::ECONNREFUSED: Connection refused - connect(2) +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:578:in `rescue in block in connect_to_server' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:549:in `block in connect_to_server' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_info' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:542:in `connect_to_server' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:305:in `connect' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:233:in `initialize' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:104:in `new' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:104:in `initialize' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:235:in `new' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:235:in `block in new_connection_pool' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/gene_pool-1.3.0/lib/gene_pool.rb:193:in `call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/gene_pool-1.3.0/lib/gene_pool.rb:193:in `renew' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/gene_pool-1.3.0/lib/gene_pool.rb:97:in `checkout' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/gene_pool-1.3.0/lib/gene_pool.rb:129:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:214:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:64:in `block (2 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_info' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:60:in `block in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:126:in `with_tags' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:59:in `call' +(irb):23:in `irb_binding' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/workspace.rb:80:in `eval' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/workspace.rb:80:in `evaluate' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/context.rb:254:in `evaluate' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:159:in `block (2 levels) in eval_input' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:273:in `signal_status' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:156:in `block in eval_input' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:243:in `block (2 levels) in each_top_level_statement' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:229:in `loop' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:229:in `block in each_top_level_statement' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:228:in `catch' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:228:in `each_top_level_statement' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:155:in `eval_input' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:70:in `block in start' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:69:in `catch' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:69:in `start' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/bin/irb:16:in `<main>' +2012-12-05 14:24:35.916746 D [43085:70275622460120] [50bf9f726b6933a84d000001] RubySkynet::Connection: localhost:2000 -- Waiting for Service Handshake +2012-12-05 14:24:35.917953 D [43085:70275628121400] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 14:24:35.918089 D [43085:70275628121400] RubySkynet::Server -- Client connected, waiting for data from client +2012-12-05 14:24:35.919278 T [43085:70275622460120] [50bf9f726b6933a84d000001] ResilientSocket::TCPClient ["localhost:2000"] -- #read <== received -- "9\x00\x00\x00" +2012-12-05 14:24:35.919296 D [43085:70275622460120] [50bf9f726b6933a84d000001] (1.7ms) ResilientSocket::TCPClient ["localhost:2000"] -- #read <== read 4 bytes +2012-12-05 14:24:35.919372 T [43085:70275622460120] [50bf9f726b6933a84d000001] ResilientSocket::TCPClient ["localhost:2000"] -- #read <== received -- "\bregistered\x00\x01\x02clientid\x00\x19\x00\x00\x0050bf9f736b6933a84d000002\x00\x00" +2012-12-05 14:24:35.919380 D [43085:70275622460120] [50bf9f726b6933a84d000001] (0.1ms) ResilientSocket::TCPClient ["localhost:2000"] -- #read <== read 53 bytes +2012-12-05 14:24:35.919451 T [43085:70275622460120] [50bf9f726b6933a84d000001] RubySkynet::Connection: localhost:2000 -- Service Handshake -- {"registered"=>true, "clientid"=>"50bf9f736b6933a84d000002"} +2012-12-05 14:24:35.919467 D [43085:70275622460120] [50bf9f726b6933a84d000001] RubySkynet::Connection: localhost:2000 -- Sending Client Handshake +2012-12-05 14:24:35.919475 T [43085:70275622460120] [50bf9f726b6933a84d000001] RubySkynet::Connection: localhost:2000 -- Client Handshake -- {"clientid"=>"50bf9f736b6933a84d000002"} +2012-12-05 14:24:35.919496 T [43085:70275622460120] [50bf9f726b6933a84d000001] ResilientSocket::TCPClient ["localhost:2000"] -- #write ==> sending -- ,clientid50bf9f736b6933a84d000002 +2012-12-05 14:24:35.919549 D [43085:70275622460120] [50bf9f726b6933a84d000001] (0.0ms) ResilientSocket::TCPClient ["localhost:2000"] -- #write ==> sent 44 bytes +2012-12-05 14:24:35.919628 D [43085:70275622460120] [50bf9f726b6933a84d000001] RubySkynet::Connection: localhost:2000 -- Sending Header +2012-12-05 14:24:35.919640 T [43085:70275622460120] [50bf9f726b6933a84d000001] RubySkynet::Connection: localhost:2000 -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 14:24:35.919667 T [43085:70275622460120] [50bf9f726b6933a84d000001] ResilientSocket::TCPClient ["localhost:2000"] -- #write ==> sending -- 5servicemethodTestService.Forwardseq +2012-12-05 14:24:35.919723 D [43085:70275622460120] [50bf9f726b6933a84d000001] (0.0ms) ResilientSocket::TCPClient ["localhost:2000"] -- #write ==> sent 53 bytes +2012-12-05 14:24:35.919776 D [43085:70275622460120] [50bf9f726b6933a84d000001] RubySkynet::Connection: localhost:2000 -- Sending Request +2012-12-05 14:24:35.919786 T [43085:70275622460120] [50bf9f726b6933a84d000001] RubySkynet::Connection: localhost:2000 -- Request -- {"clientid"=>"50bf9f736b6933a84d000002", "in"=>"\x10\x00\x00\x00\x10value\x00\x05\x00\x00\x00\x00", "method"=>"echo", "requestinfo"=>{"requestid"=>"50bf9f726b6933a84d000001", "retrycount"=>0, "originaddress"=>""}} +2012-12-05 14:24:35.919793 T [43085:70275622460120] [50bf9f726b6933a84d000001] RubySkynet::Connection: localhost:2000 -- Parameters: -- {:value=>5} +2012-12-05 14:24:35.919815 T [43085:70275622460120] [50bf9f726b6933a84d000001] ResilientSocket::TCPClient ["localhost:2000"] -- #write ==> sending -- clientid50bf9f736b6933a84d000002invaluemethodechorequestinfoQrequestid50bf9f726b6933a84d000001retrycountoriginaddress +2012-12-05 14:24:35.919867 D [43085:70275622460120] [50bf9f726b6933a84d000001] (0.0ms) ResilientSocket::TCPClient ["localhost:2000"] -- #write ==> sent 180 bytes +2012-12-05 14:24:35.919884 D [43085:70275622460120] [50bf9f726b6933a84d000001] RubySkynet::Connection: localhost:2000 -- Reading header from server +2012-12-05 14:24:35.927450 D [43085:70275628121400] RubySkynet::Server -- +****************** +2012-12-05 14:24:35.927469 D [43085:70275628121400] RubySkynet::Server -- Received Request +2012-12-05 14:24:35.927481 T [43085:70275628121400] RubySkynet::Server -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 14:24:35.927644 T [43085:70275628121400] RubySkynet::Server -- Request -- {"clientid"=>"50bf9f736b6933a84d000002", "in"=>"\x10\x00\x00\x00\x10value\x00\x05\x00\x00\x00\x00", "method"=>"echo", "requestinfo"=>{"requestid"=>"50bf9f726b6933a84d000001", "retrycount"=>0, "originaddress"=>""}} +2012-12-05 14:24:35.927670 T [43085:70275628121400] RubySkynet::Server -- Parameters -- {"value"=>5} +2012-12-05 14:24:35.927695 T [43085:70275628121400] RubySkynet::Server -- Method Call: echo with parameters: -- {"value"=>5} +2012-12-05 14:24:35.927744 D [43085:70275628121400] (0.1ms) RubySkynet::Server -- Called: TestService#echo -- NoMethodError: undefined method `services' for RubySkynet::Service:Module +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/server.rb:173:in `block in on_message' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_debug' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/server.rb:171:in `on_message' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/server.rb:211:in `handle_connection' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/celluloid-0.12.3/lib/celluloid/calls.rb:99:in `dispatch' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/celluloid-0.12.3/lib/celluloid/actor.rb:323:in `block in handle_message' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/celluloid-0.12.3/lib/celluloid/tasks/task_fiber.rb:22:in `block in initialize' +2012-12-05 14:24:35.927829 E [43085:70275628121400] Celluloid -- RubySkynet::Server crashed! +NoMethodError: undefined method `services' for RubySkynet::Service:Module +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/server.rb:173:in `block in on_message' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_debug' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/server.rb:171:in `on_message' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/server.rb:211:in `handle_connection' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/celluloid-0.12.3/lib/celluloid/calls.rb:99:in `dispatch' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/celluloid-0.12.3/lib/celluloid/actor.rb:323:in `block in handle_message' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/celluloid-0.12.3/lib/celluloid/tasks/task_fiber.rb:22:in `block in initialize' +2012-12-05 14:24:35.927905 I [43085:70275628121400] RubySkynet::Server -- Skynet Server Stopped +2012-12-05 14:24:35.928004 D [43085:70275628121400] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fd4a305d078>(70275622430780) self=connections=70275622430780 checked_out=70275622430780 with_map= +2012-12-05 14:24:35.928348 T [43085:70275628121400] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- C"2/services/TestService/1/Development/localhost/2000H +2012-12-05 14:24:35.929235 D [43085:70275628121400] (0.9ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 71 bytes +2012-12-05 14:24:35.931819 T [43085:70275622870620] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00=" +2012-12-05 14:24:35.931836 D [43085:70275622870620] (1538.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:24:35.932246 T [43085:70275622870620] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\b\x18\xC3Z*2/services/TestService/1/Development/localhost/20002\x00" +2012-12-05 14:24:35.932256 D [43085:70275622870620] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 61 bytes +2012-12-05 14:24:35.932412 D [43085:70275622870620] RubySkynet::Registry -- #monitor Service stopped, remove: TestService/1/Development => localhost:2000 +2012-12-05 14:24:35.932436 I [43085:70275622870620] RubySkynet::Registry -- Calling callback for server: localhost:2000 +2012-12-05 14:24:35.932464 D [43085:70275622870620] RubySkynet::Connection -- Connection pool for server:localhost:2000 has been released +2012-12-05 14:24:35.932475 D [43085:70275622870620] RubySkynet::Registry -- Updated registry -- {"TestService/1/Development"=>["localhost:2100"], "TestService/1/Test"=>["localhost:2100"]} +2012-12-05 14:24:35.932718 T [43085:70275622870620] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*HZ +2012-12-05 14:24:35.932792 D [43085:70275622870620] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 14:24:35.934966 T [43085:70275628121400] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 14:24:35.934975 D [43085:70275628121400] (5.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:24:35.935042 T [43085:70275628121400] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00" +2012-12-05 14:24:35.935048 D [43085:70275628121400] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 2 bytes +2012-12-05 14:24:35.935279 D [43085:70275628121400] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fd4a305d078>(70275622430780) self=connections=70275622430780 checked_out= with_map= +2012-12-05 14:24:35.935313 I [43085:70275628121400] RubySkynet::Server -- Skynet Services De-registered in Doozer +2012-12-05 14:25:35.890781 W [43085:70275622460120] [50bf9f726b6933a84d000001] ResilientSocket::TCPClient ["localhost:2000"] -- #read Timeout waiting for server to reply +2012-12-05 14:25:35.891209 D [43085:70275622460120] [50bf9f726b6933a84d000001] (59971.3ms) ResilientSocket::TCPClient ["localhost:2000"] -- #read <== read 4 bytes -- ResilientSocket::ReadTimeout: Timedout after 60.0 seconds trying to read from localhost:2000 +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:392:in `block in read' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_debug' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:374:in `read' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/common.rb:10:in `read_bson_document' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:178:in `rpc_call' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:65:in `block (3 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/gene_pool-1.3.0/lib/gene_pool.rb:134:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:214:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:64:in `block (2 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_info' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:60:in `block in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:126:in `with_tags' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:59:in `call' +(irb):23:in `irb_binding' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/workspace.rb:80:in `eval' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/workspace.rb:80:in `evaluate' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/context.rb:254:in `evaluate' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:159:in `block (2 levels) in eval_input' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:273:in `signal_status' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:156:in `block in eval_input' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:243:in `block (2 levels) in each_top_level_statement' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:229:in `loop' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:229:in `block in each_top_level_statement' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:228:in `catch' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:228:in `each_top_level_statement' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:155:in `eval_input' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:70:in `block in start' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:69:in `catch' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:69:in `start' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/bin/irb:16:in `<main>' +2012-12-05 14:25:35.891341 I [43085:70275622460120] [50bf9f726b6933a84d000001] (61508.7ms) RubySkynet::Client: TestService/*/Development -- Called Skynet Service: TestService.echo -- ResilientSocket::ReadTimeout: Timedout after 60.0 seconds trying to read from localhost:2000 +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:392:in `block in read' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_debug' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:374:in `read' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/common.rb:10:in `read_bson_document' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:178:in `rpc_call' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:65:in `block (3 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/gene_pool-1.3.0/lib/gene_pool.rb:134:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:214:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:64:in `block (2 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_info' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:60:in `block in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:126:in `with_tags' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:59:in `call' +(irb):23:in `irb_binding' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/workspace.rb:80:in `eval' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/workspace.rb:80:in `evaluate' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/context.rb:254:in `evaluate' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:159:in `block (2 levels) in eval_input' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:273:in `signal_status' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:156:in `block in eval_input' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:243:in `block (2 levels) in each_top_level_statement' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:229:in `loop' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:229:in `block in each_top_level_statement' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:228:in `catch' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:228:in `each_top_level_statement' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:155:in `eval_input' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:70:in `block in start' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:69:in `catch' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:69:in `start' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/bin/irb:16:in `<main>' +2012-12-05 14:27:07.124452 I [43085:70275622460120] Celluloid -- Terminating 4 actors... +2012-12-05 14:27:07.125507 I [43085:70275622460120] Celluloid -- Shutdown completed cleanly +2012-12-05 14:27:09.192644 D [43152:70104486468320] RubySkynet::Server -- Registering Service: TestService with name: TestService +2012-12-05 14:27:09.205530 D [43152:70104492085200] RubySkynet::Registry -- Doozer Connection Pool: Created connection #1 #<Thread:0x007f84f2b21fa0>(70104492085200) for Doozer Connection Pool +2012-12-05 14:27:09.240049 T [43152:70104492085200] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007f84f20586f0@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 14:27:09.243263 D [43152:70104492085200] RubySkynet::Registry -- Doozer Connection Pool: Renewed connection old=70104492085200 new=#<RubySkynet::Doozer::Client:0x007f84f2058998>(70104486429900) +2012-12-05 14:27:09.243303 D [43152:70104492085200] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f84f2058998>(70104486429900) self=connections=70104486429900 checked_out=70104486429900 with_map= +2012-12-05 14:27:09.254820 T [43152:70104492085200] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "2/services/TestService/1/Development/localhost/2000*{"Config":{"UUID":"localhost:2000-43152-TestService-70104491805240","Name":"TestService","Version":"1","Region":"Development","ServiceAddr":{"IPAddress":"localhost","Port":2000,"MaxPort":2999}},"Registered":true}H +2012-12-05 14:27:09.255124 D [43152:70104492085200] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 286 bytes +2012-12-05 14:27:09.256852 T [43152:70104492085200] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 14:27:09.256865 D [43152:70104492085200] (1.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:27:09.257164 T [43152:70104492085200] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xDD[" +2012-12-05 14:27:09.257174 D [43152:70104492085200] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 14:27:09.257325 D [43152:70104492085200] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007f84f2058998>(70104486429900) self=connections=70104486429900 checked_out= with_map= +2012-12-05 14:27:09.257763 I [43152:70104492085200] RubySkynet::Server -- Starting listener on localhost:2000 +2012-12-05 14:27:09.257783 D [43152:70104492085200] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 14:27:09.264696 D [43152:70104486468320] [50bfa00d6b6933a890000001] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f84f2058998>(70104486429900) self=connections=70104486429900 checked_out=70104486429900 with_map= +2012-12-05 14:27:09.264948 T [43152:70104486468320] [50bfa00d6b6933a890000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  +2012-12-05 14:27:09.265322 D [43152:70104486468320] [50bfa00d6b6933a890000001] (0.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 8 bytes +2012-12-05 14:27:09.265498 T [43152:70104486468320] [50bfa00d6b6933a890000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 14:27:09.265504 D [43152:70104486468320] [50bfa00d6b6933a890000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:27:09.265573 T [43152:70104486468320] [50bfa00d6b6933a890000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xDD[" +2012-12-05 14:27:09.265580 D [43152:70104486468320] [50bfa00d6b6933a890000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 14:27:09.266588 T [43152:70104486468320] [50bfa00d6b6933a890000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H[ +2012-12-05 14:27:09.267671 D [43152:70104486468320] [50bfa00d6b6933a890000001] (1.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-05 14:27:09.268173 T [43152:70104486468320] [50bfa00d6b6933a890000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01\x12" +2012-12-05 14:27:09.268185 D [43152:70104486468320] [50bfa00d6b6933a890000001] (0.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:27:09.268429 T [43152:70104486468320] [50bfa00d6b6933a890000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xDD[*2/services/TestService/1/Development/localhost/20002\xD4\x01{\"Config\":{\"UUID\":\"localhost:2000-43152-TestService-70104491805240\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Development\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2000,\"MaxPort\":2999}},\"Registered\":true}" +2012-12-05 14:27:09.268498 D [43152:70104486468320] [50bfa00d6b6933a890000001] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 274 bytes +2012-12-05 14:27:09.268976 T [43152:70104486468320] [50bfa00d6b6933a890000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H[ +2012-12-05 14:27:09.269454 D [43152:70104486468320] [50bfa00d6b6933a890000001] (0.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-05 14:27:09.270043 T [43152:70104486468320] [50bfa00d6b6933a890000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01\x11" +2012-12-05 14:27:09.270056 D [43152:70104486468320] [50bfa00d6b6933a890000001] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:27:09.270147 T [43152:70104486468320] [50bfa00d6b6933a890000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18B*2/services/TestService/1/Development/localhost/21002\xD4\x01{\"Config\":{\"UUID\":\"localhost:2100-38983-TestService-70336365097060\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Development\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-05 14:27:09.270153 D [43152:70104486468320] [50bfa00d6b6933a890000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 273 bytes +2012-12-05 14:27:09.270424 T [43152:70104486468320] [50bfa00d6b6933a890000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H[ +2012-12-05 14:27:09.270466 D [43152:70104486468320] [50bfa00d6b6933a890000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-05 14:27:09.271023 T [43152:70104486468320] [50bfa00d6b6933a890000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01\x04" +2012-12-05 14:27:09.271073 D [43152:70104486468320] [50bfa00d6b6933a890000001] (0.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:27:09.271307 T [43152:70104486468320] [50bfa00d6b6933a890000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xA6U*+/services/TestService/1/Test/localhost/21002\xCD\x01{\"Config\":{\"UUID\":\"localhost:2100-42796-TestService-70255821087020\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-05 14:27:09.271314 D [43152:70104486468320] [50bfa00d6b6933a890000001] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 260 bytes +2012-12-05 14:27:09.271903 T [43152:70104486468320] [50bfa00d6b6933a890000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H[ +2012-12-05 14:27:09.272701 D [43152:70104486468320] [50bfa00d6b6933a890000001] (0.8ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-05 14:27:09.273105 T [43152:70104486468320] [50bfa00d6b6933a890000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 14:27:09.273117 D [43152:70104486468320] [50bfa00d6b6933a890000001] (0.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:27:09.273200 T [43152:70104486468320] [50bfa00d6b6933a890000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\xA0\x06\b" +2012-12-05 14:27:09.273206 D [43152:70104486468320] [50bfa00d6b6933a890000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 14:27:09.273408 D [43152:70104486468320] [50bfa00d6b6933a890000001] RubySkynet::Registry -- #start_monitoring Add Service: TestService/1/Development => localhost:2000 +2012-12-05 14:27:09.273458 D [43152:70104486468320] [50bfa00d6b6933a890000001] RubySkynet::Registry -- #start_monitoring Add Service: TestService/1/Development => localhost:2100 +2012-12-05 14:27:09.273502 D [43152:70104486468320] [50bfa00d6b6933a890000001] RubySkynet::Registry -- #start_monitoring Add Service: TestService/1/Test => localhost:2100 +2012-12-05 14:27:09.273544 D [43152:70104486468320] [50bfa00d6b6933a890000001] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007f84f2058998>(70104486429900) self=connections=70104486429900 checked_out= with_map= +2012-12-05 14:27:09.274493 I [43152:70104491762080] RubySkynet::Registry -- Start monitoring /services/*/*/*/*/* +2012-12-05 14:27:09.274610 T [43152:70104491762080] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007f84f21cc770@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 14:27:09.275163 T [43152:70104491762080] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H[ +2012-12-05 14:27:09.275468 D [43152:70104491762080] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 14:27:09.275993 D [43152:70104486468320] [50bfa00d6b6933a890000001] RubySkynet::Connection: localhost:2000 -- Waiting for Service Handshake +2012-12-05 14:27:09.276460 D [43152:70104492085200] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 14:27:09.276555 D [43152:70104492085200] RubySkynet::Server -- Client connected, waiting for data from client +2012-12-05 14:27:09.277893 T [43152:70104486468320] [50bfa00d6b6933a890000001] ResilientSocket::TCPClient ["localhost:2000"] -- #read <== received -- "9\x00\x00\x00" +2012-12-05 14:27:09.277909 D [43152:70104486468320] [50bfa00d6b6933a890000001] (0.4ms) ResilientSocket::TCPClient ["localhost:2000"] -- #read <== read 4 bytes +2012-12-05 14:27:09.278158 T [43152:70104486468320] [50bfa00d6b6933a890000001] ResilientSocket::TCPClient ["localhost:2000"] -- #read <== received -- "\bregistered\x00\x01\x02clientid\x00\x19\x00\x00\x0050bfa00d6b6933a890000002\x00\x00" +2012-12-05 14:27:09.278229 D [43152:70104486468320] [50bfa00d6b6933a890000001] (0.3ms) ResilientSocket::TCPClient ["localhost:2000"] -- #read <== read 53 bytes +2012-12-05 14:27:09.278281 T [43152:70104486468320] [50bfa00d6b6933a890000001] RubySkynet::Connection: localhost:2000 -- Service Handshake -- {"registered"=>true, "clientid"=>"50bfa00d6b6933a890000002"} +2012-12-05 14:27:09.278294 D [43152:70104486468320] [50bfa00d6b6933a890000001] RubySkynet::Connection: localhost:2000 -- Sending Client Handshake +2012-12-05 14:27:09.278301 T [43152:70104486468320] [50bfa00d6b6933a890000001] RubySkynet::Connection: localhost:2000 -- Client Handshake -- {"clientid"=>"50bfa00d6b6933a890000002"} +2012-12-05 14:27:09.278320 T [43152:70104486468320] [50bfa00d6b6933a890000001] ResilientSocket::TCPClient ["localhost:2000"] -- #write ==> sending -- ,clientid50bfa00d6b6933a890000002 +2012-12-05 14:27:09.278363 D [43152:70104486468320] [50bfa00d6b6933a890000001] (0.0ms) ResilientSocket::TCPClient ["localhost:2000"] -- #write ==> sent 44 bytes +2012-12-05 14:27:09.278421 D [43152:70104486468320] [50bfa00d6b6933a890000001] RubySkynet::Connection: localhost:2000 -- Sending Header +2012-12-05 14:27:09.278430 T [43152:70104486468320] [50bfa00d6b6933a890000001] RubySkynet::Connection: localhost:2000 -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 14:27:09.278450 T [43152:70104486468320] [50bfa00d6b6933a890000001] ResilientSocket::TCPClient ["localhost:2000"] -- #write ==> sending -- 5servicemethodTestService.Forwardseq +2012-12-05 14:27:09.278563 D [43152:70104486468320] [50bfa00d6b6933a890000001] (0.1ms) ResilientSocket::TCPClient ["localhost:2000"] -- #write ==> sent 53 bytes +2012-12-05 14:27:09.278620 D [43152:70104486468320] [50bfa00d6b6933a890000001] RubySkynet::Connection: localhost:2000 -- Sending Request +2012-12-05 14:27:09.278627 T [43152:70104486468320] [50bfa00d6b6933a890000001] RubySkynet::Connection: localhost:2000 -- Request -- {"clientid"=>"50bfa00d6b6933a890000002", "in"=>"\x10\x00\x00\x00\x10value\x00\x05\x00\x00\x00\x00", "method"=>"echo", "requestinfo"=>{"requestid"=>"50bfa00d6b6933a890000001", "retrycount"=>0, "originaddress"=>""}} +2012-12-05 14:27:09.278633 T [43152:70104486468320] [50bfa00d6b6933a890000001] RubySkynet::Connection: localhost:2000 -- Parameters: -- {:value=>5} +2012-12-05 14:27:09.278649 T [43152:70104486468320] [50bfa00d6b6933a890000001] ResilientSocket::TCPClient ["localhost:2000"] -- #write ==> sending -- clientid50bfa00d6b6933a890000002invaluemethodechorequestinfoQrequestid50bfa00d6b6933a890000001retrycountoriginaddress +2012-12-05 14:27:09.280310 D [43152:70104492085200] RubySkynet::Server -- +****************** +2012-12-05 14:27:09.280327 D [43152:70104492085200] RubySkynet::Server -- Received Request +2012-12-05 14:27:09.280338 T [43152:70104492085200] RubySkynet::Server -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 14:27:09.280713 D [43152:70104486468320] [50bfa00d6b6933a890000001] (2.1ms) ResilientSocket::TCPClient ["localhost:2000"] -- #write ==> sent 180 bytes +2012-12-05 14:27:09.280764 D [43152:70104486468320] [50bfa00d6b6933a890000001] RubySkynet::Connection: localhost:2000 -- Reading header from server +2012-12-05 14:27:09.280901 T [43152:70104492085200] RubySkynet::Server -- Request -- {"clientid"=>"50bfa00d6b6933a890000002", "in"=>"\x10\x00\x00\x00\x10value\x00\x05\x00\x00\x00\x00", "method"=>"echo", "requestinfo"=>{"requestid"=>"50bfa00d6b6933a890000001", "retrycount"=>0, "originaddress"=>""}} +2012-12-05 14:27:09.280924 T [43152:70104492085200] RubySkynet::Server -- Parameters -- {"value"=>5} +2012-12-05 14:27:09.280966 T [43152:70104492085200] RubySkynet::Server -- Method Call: echo with parameters: -- {"value"=>5} +2012-12-05 14:27:09.280980 D [43152:70104492085200] (0.0ms) RubySkynet::Server -- Called: TestService#echo +2012-12-05 14:27:09.280997 D [43152:70104492085200] RubySkynet::Server -- Sending Header +2012-12-05 14:27:09.281057 D [43152:70104492085200] RubySkynet::Server -- Sending Reply +2012-12-05 14:27:09.281069 T [43152:70104492085200] RubySkynet::Server -- Reply -- {"value"=>5} +2012-12-05 14:27:09.283188 T [43152:70104486468320] [50bfa00d6b6933a890000001] ResilientSocket::TCPClient ["localhost:2000"] -- #read <== received -- "5\x00\x00\x00" +2012-12-05 14:27:09.283202 D [43152:70104486468320] [50bfa00d6b6933a890000001] (2.4ms) ResilientSocket::TCPClient ["localhost:2000"] -- #read <== read 4 bytes +2012-12-05 14:27:09.283336 T [43152:70104486468320] [50bfa00d6b6933a890000001] ResilientSocket::TCPClient ["localhost:2000"] -- #read <== received -- "\x02servicemethod\x00\x14\x00\x00\x00TestService.Forward\x00\x10seq\x00\x00\x00\x00\x00\x00" +2012-12-05 14:27:09.283343 D [43152:70104486468320] [50bfa00d6b6933a890000001] (0.1ms) ResilientSocket::TCPClient ["localhost:2000"] -- #read <== read 49 bytes +2012-12-05 14:27:09.283375 D [43152:70104486468320] [50bfa00d6b6933a890000001] RubySkynet::Connection: localhost:2000 -- Response Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 14:27:09.283422 D [43152:70104486468320] [50bfa00d6b6933a890000001] RubySkynet::Connection: localhost:2000 -- Reading response from server +2012-12-05 14:27:09.283507 T [43152:70104486468320] [50bfa00d6b6933a890000001] ResilientSocket::TCPClient ["localhost:2000"] -- #read <== received -- "\x1F\x00\x00\x00" +2012-12-05 14:27:09.283513 D [43152:70104486468320] [50bfa00d6b6933a890000001] (0.1ms) ResilientSocket::TCPClient ["localhost:2000"] -- #read <== read 4 bytes +2012-12-05 14:27:09.283600 T [43152:70104486468320] [50bfa00d6b6933a890000001] ResilientSocket::TCPClient ["localhost:2000"] -- #read <== received -- "\x02out\x00\x11\x00\x00\x00\x10\x00\x00\x00\x10value\x00\x05\x00\x00\x00\x00\x00\x00" +2012-12-05 14:27:09.283856 D [43152:70104486468320] [50bfa00d6b6933a890000001] (0.3ms) ResilientSocket::TCPClient ["localhost:2000"] -- #read <== read 27 bytes +2012-12-05 14:27:09.283885 T [43152:70104486468320] [50bfa00d6b6933a890000001] RubySkynet::Connection: localhost:2000 -- Response -- {"out"=>"\x10\x00\x00\x00\x10value\x00\x05\x00\x00\x00\x00"} +2012-12-05 14:27:09.284040 T [43152:70104486468320] [50bfa00d6b6933a890000001] RubySkynet::Connection: localhost:2000 -- Return Value -- {"value"=>5} +2012-12-05 14:27:09.284102 I [43152:70104486468320] [50bfa00d6b6933a890000001] (21.0ms) RubySkynet::Client: TestService/*/Development -- Called Skynet Service: TestService.echo +2012-12-05 14:27:18.835460 E [43152:70104492085200] Celluloid -- RubySkynet::Server crashed! +IOError: closed stream +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/celluloid-io-0.12.0/lib/celluloid/io/tcp_server.rb:26:in `accept_nonblock' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/celluloid-io-0.12.0/lib/celluloid/io/tcp_server.rb:26:in `accept_nonblock' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/celluloid-io-0.12.0/lib/celluloid/io/tcp_server.rb:19:in `accept' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/server.rb:161:in `block in run' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/server.rb:158:in `loop' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/server.rb:158:in `run' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/celluloid-0.12.3/lib/celluloid/calls.rb:99:in `dispatch' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/celluloid-0.12.3/lib/celluloid/actor.rb:323:in `block in handle_message' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/celluloid-0.12.3/lib/celluloid/tasks/task_fiber.rb:22:in `block in initialize' +2012-12-05 14:34:06.010781 I [43152:70104486468320] Celluloid -- Terminating 4 actors... +2012-12-05 14:34:06.012244 I [43152:70104486468320] Celluloid -- Shutdown completed cleanly +2012-12-05 14:34:08.297237 D [43332:70217829145300] RubySkynet::Server -- Registering Service: TestService with name: TestService +2012-12-05 14:34:08.309998 D [43332:70217830416460] RubySkynet::Registry -- Doozer Connection Pool: Created connection #1 #<Thread:0x007fb9b9ad8098>(70217830416460) for Doozer Connection Pool +2012-12-05 14:34:08.345782 T [43332:70217830416460] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007fb9b9829ae0@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 14:34:08.348905 D [43332:70217830416460] RubySkynet::Registry -- Doozer Connection Pool: Renewed connection old=70217830416460 new=#<RubySkynet::Doozer::Client:0x007fb9b9829e78>(70217829011260) +2012-12-05 14:34:08.348940 D [43332:70217830416460] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fb9b9829e78>(70217829011260) self=connections=70217829011260 checked_out=70217829011260 with_map= +2012-12-05 14:34:08.361276 T [43332:70217830416460] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "2/services/TestService/1/Development/localhost/2000*{"Config":{"UUID":"localhost:2000-43332-TestService-70217833984180","Name":"TestService","Version":"1","Region":"Development","ServiceAddr":{"IPAddress":"localhost","Port":2000,"MaxPort":2999}},"Registered":true}H +2012-12-05 14:34:08.361465 D [43332:70217830416460] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 286 bytes +2012-12-05 14:34:08.363146 T [43332:70217830416460] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 14:34:08.363184 D [43332:70217830416460] (1.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:34:08.363528 T [43332:70217830416460] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\x80_" +2012-12-05 14:34:08.363567 D [43332:70217830416460] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 14:34:08.363707 D [43332:70217830416460] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fb9b9829e78>(70217829011260) self=connections=70217829011260 checked_out= with_map= +2012-12-05 14:34:08.364036 I [43332:70217830416460] RubySkynet::Server -- Starting listener on localhost:2000 +2012-12-05 14:34:08.364082 D [43332:70217830416460] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 14:34:08.374794 D [43332:70217829145300] [50bfa1b06b6933a944000001] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fb9b9829e78>(70217829011260) self=connections=70217829011260 checked_out=70217829011260 with_map= +2012-12-05 14:34:08.375053 T [43332:70217829145300] [50bfa1b06b6933a944000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  +2012-12-05 14:34:08.375542 D [43332:70217829145300] [50bfa1b06b6933a944000001] (0.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 8 bytes +2012-12-05 14:34:08.375730 T [43332:70217829145300] [50bfa1b06b6933a944000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 14:34:08.375757 D [43332:70217829145300] [50bfa1b06b6933a944000001] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:34:08.375979 T [43332:70217829145300] [50bfa1b06b6933a944000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\x80_" +2012-12-05 14:34:08.376005 D [43332:70217829145300] [50bfa1b06b6933a944000001] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 14:34:08.376277 T [43332:70217829145300] [50bfa1b06b6933a944000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H_ +2012-12-05 14:34:08.376853 D [43332:70217829145300] [50bfa1b06b6933a944000001] (0.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-05 14:34:08.377045 T [43332:70217829145300] [50bfa1b06b6933a944000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01\x12" +2012-12-05 14:34:08.377070 D [43332:70217829145300] [50bfa1b06b6933a944000001] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:34:08.377358 T [43332:70217829145300] [50bfa1b06b6933a944000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\x80_*2/services/TestService/1/Development/localhost/20002\xD4\x01{\"Config\":{\"UUID\":\"localhost:2000-43332-TestService-70217833984180\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Development\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2000,\"MaxPort\":2999}},\"Registered\":true}" +2012-12-05 14:34:08.377385 D [43332:70217829145300] [50bfa1b06b6933a944000001] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 274 bytes +2012-12-05 14:34:08.377671 T [43332:70217829145300] [50bfa1b06b6933a944000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H_ +2012-12-05 14:34:08.378246 D [43332:70217829145300] [50bfa1b06b6933a944000001] (0.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-05 14:34:08.378417 T [43332:70217829145300] [50bfa1b06b6933a944000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01\x11" +2012-12-05 14:34:08.378443 D [43332:70217829145300] [50bfa1b06b6933a944000001] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:34:08.378670 T [43332:70217829145300] [50bfa1b06b6933a944000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18B*2/services/TestService/1/Development/localhost/21002\xD4\x01{\"Config\":{\"UUID\":\"localhost:2100-38983-TestService-70336365097060\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Development\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-05 14:34:08.378696 D [43332:70217829145300] [50bfa1b06b6933a944000001] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 273 bytes +2012-12-05 14:34:08.378957 T [43332:70217829145300] [50bfa1b06b6933a944000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H_ +2012-12-05 14:34:08.379543 D [43332:70217829145300] [50bfa1b06b6933a944000001] (0.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-05 14:34:08.379711 T [43332:70217829145300] [50bfa1b06b6933a944000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01\x04" +2012-12-05 14:34:08.379737 D [43332:70217829145300] [50bfa1b06b6933a944000001] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:34:08.379964 T [43332:70217829145300] [50bfa1b06b6933a944000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xA6U*+/services/TestService/1/Test/localhost/21002\xCD\x01{\"Config\":{\"UUID\":\"localhost:2100-42796-TestService-70255821087020\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-05 14:34:08.379990 D [43332:70217829145300] [50bfa1b06b6933a944000001] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 260 bytes +2012-12-05 14:34:08.380252 T [43332:70217829145300] [50bfa1b06b6933a944000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H_ +2012-12-05 14:34:08.380850 D [43332:70217829145300] [50bfa1b06b6933a944000001] (0.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-05 14:34:08.381019 T [43332:70217829145300] [50bfa1b06b6933a944000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 14:34:08.381045 D [43332:70217829145300] [50bfa1b06b6933a944000001] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:34:08.381278 T [43332:70217829145300] [50bfa1b06b6933a944000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\xA0\x06\b" +2012-12-05 14:34:08.381304 D [43332:70217829145300] [50bfa1b06b6933a944000001] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 14:34:08.381474 D [43332:70217829145300] [50bfa1b06b6933a944000001] RubySkynet::Registry -- #start_monitoring Add Service: TestService/1/Development => localhost:2000 +2012-12-05 14:34:08.381522 D [43332:70217829145300] [50bfa1b06b6933a944000001] RubySkynet::Registry -- #start_monitoring Add Service: TestService/1/Development => localhost:2100 +2012-12-05 14:34:08.381568 D [43332:70217829145300] [50bfa1b06b6933a944000001] RubySkynet::Registry -- #start_monitoring Add Service: TestService/1/Test => localhost:2100 +2012-12-05 14:34:08.381603 D [43332:70217829145300] [50bfa1b06b6933a944000001] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fb9b9829e78>(70217829011260) self=connections=70217829011260 checked_out= with_map= +2012-12-05 14:34:08.382585 I [43332:70217829843800] RubySkynet::Registry -- Start monitoring /services/*/*/*/*/* +2012-12-05 14:34:08.382628 T [43332:70217829843800] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007fb9b99df948@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 14:34:08.383381 T [43332:70217829843800] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H_ +2012-12-05 14:34:08.383423 D [43332:70217829843800] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 14:34:08.384111 W [43332:70217829145300] [50bfa1b06b6933a944000001] ResilientSocket::TCPClient ["localhost:2100"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 1 +2012-12-05 14:34:08.485126 W [43332:70217829145300] [50bfa1b06b6933a944000001] ResilientSocket::TCPClient ["localhost:2100"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 2 +2012-12-05 14:34:08.586115 W [43332:70217829145300] [50bfa1b06b6933a944000001] ResilientSocket::TCPClient ["localhost:2100"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 3 +2012-12-05 14:34:08.687711 W [43332:70217829145300] [50bfa1b06b6933a944000001] ResilientSocket::TCPClient ["localhost:2100"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 4 +2012-12-05 14:34:08.788578 W [43332:70217829145300] [50bfa1b06b6933a944000001] ResilientSocket::TCPClient ["localhost:2100"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 5 +2012-12-05 14:34:08.890100 E [43332:70217829145300] [50bfa1b06b6933a944000001] ResilientSocket::TCPClient ["localhost:2100"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Giving up after 5 retries +2012-12-05 14:34:08.890198 I [43332:70217829145300] [50bfa1b06b6933a944000001] (508.2ms) ResilientSocket::TCPClient ["localhost:2100"] -- Connecting to server localhost:2100 -- ResilientSocket::ConnectionFailure: After 5 connection attempts to host 'localhost:2100': Errno::ECONNREFUSED: Connection refused - connect(2) +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:578:in `rescue in block in connect_to_server' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:549:in `block in connect_to_server' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_info' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:542:in `connect_to_server' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:305:in `connect' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:233:in `initialize' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:104:in `new' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:104:in `initialize' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:235:in `new' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:235:in `block in new_connection_pool' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/gene_pool-1.3.0/lib/gene_pool.rb:193:in `call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/gene_pool-1.3.0/lib/gene_pool.rb:193:in `renew' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/gene_pool-1.3.0/lib/gene_pool.rb:97:in `checkout' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/gene_pool-1.3.0/lib/gene_pool.rb:129:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:214:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:64:in `block (2 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_info' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:60:in `block in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:126:in `with_tags' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:59:in `call' +(irb):23:in `irb_binding' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/workspace.rb:80:in `eval' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/workspace.rb:80:in `evaluate' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/context.rb:254:in `evaluate' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:159:in `block (2 levels) in eval_input' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:273:in `signal_status' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:156:in `block in eval_input' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:243:in `block (2 levels) in each_top_level_statement' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:229:in `loop' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:229:in `block in each_top_level_statement' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:228:in `catch' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:228:in `each_top_level_statement' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:155:in `eval_input' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:70:in `block in start' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:69:in `catch' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:69:in `start' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/bin/irb:16:in `<main>' +2012-12-05 14:34:08.891411 W [43332:70217829145300] [50bfa1b06b6933a944000001] ResilientSocket::TCPClient ["localhost:2100"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 1 +2012-12-05 14:34:08.992703 W [43332:70217829145300] [50bfa1b06b6933a944000001] ResilientSocket::TCPClient ["localhost:2100"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 2 +2012-12-05 14:34:09.093610 W [43332:70217829145300] [50bfa1b06b6933a944000001] ResilientSocket::TCPClient ["localhost:2100"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 3 +2012-12-05 14:34:09.194642 W [43332:70217829145300] [50bfa1b06b6933a944000001] ResilientSocket::TCPClient ["localhost:2100"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 4 +2012-12-05 14:34:09.295361 W [43332:70217829145300] [50bfa1b06b6933a944000001] ResilientSocket::TCPClient ["localhost:2100"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 5 +2012-12-05 14:34:09.396830 E [43332:70217829145300] [50bfa1b06b6933a944000001] ResilientSocket::TCPClient ["localhost:2100"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Giving up after 5 retries +2012-12-05 14:34:09.396918 I [43332:70217829145300] [50bfa1b06b6933a944000001] (506.5ms) ResilientSocket::TCPClient ["localhost:2100"] -- Connecting to server localhost:2100 -- ResilientSocket::ConnectionFailure: After 5 connection attempts to host 'localhost:2100': Errno::ECONNREFUSED: Connection refused - connect(2) +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:578:in `rescue in block in connect_to_server' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:549:in `block in connect_to_server' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_info' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:542:in `connect_to_server' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:305:in `connect' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:233:in `initialize' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:104:in `new' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:104:in `initialize' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:235:in `new' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:235:in `block in new_connection_pool' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/gene_pool-1.3.0/lib/gene_pool.rb:193:in `call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/gene_pool-1.3.0/lib/gene_pool.rb:193:in `renew' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/gene_pool-1.3.0/lib/gene_pool.rb:97:in `checkout' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/gene_pool-1.3.0/lib/gene_pool.rb:129:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:214:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:64:in `block (2 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_info' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:60:in `block in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:126:in `with_tags' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:59:in `call' +(irb):23:in `irb_binding' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/workspace.rb:80:in `eval' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/workspace.rb:80:in `evaluate' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/context.rb:254:in `evaluate' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:159:in `block (2 levels) in eval_input' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:273:in `signal_status' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:156:in `block in eval_input' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:243:in `block (2 levels) in each_top_level_statement' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:229:in `loop' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:229:in `block in each_top_level_statement' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:228:in `catch' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:228:in `each_top_level_statement' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:155:in `eval_input' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:70:in `block in start' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:69:in `catch' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:69:in `start' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/bin/irb:16:in `<main>' +2012-12-05 14:34:09.398039 W [43332:70217829145300] [50bfa1b06b6933a944000001] ResilientSocket::TCPClient ["localhost:2100"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 1 +2012-12-05 14:34:09.499196 W [43332:70217829145300] [50bfa1b06b6933a944000001] ResilientSocket::TCPClient ["localhost:2100"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 2 +2012-12-05 14:34:09.601234 W [43332:70217829145300] [50bfa1b06b6933a944000001] ResilientSocket::TCPClient ["localhost:2100"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 3 +2012-12-05 14:34:09.702523 W [43332:70217829145300] [50bfa1b06b6933a944000001] ResilientSocket::TCPClient ["localhost:2100"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 4 +2012-12-05 14:34:09.804264 W [43332:70217829145300] [50bfa1b06b6933a944000001] ResilientSocket::TCPClient ["localhost:2100"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 5 +2012-12-05 14:34:09.905415 E [43332:70217829145300] [50bfa1b06b6933a944000001] ResilientSocket::TCPClient ["localhost:2100"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Giving up after 5 retries +2012-12-05 14:34:09.905511 I [43332:70217829145300] [50bfa1b06b6933a944000001] (508.3ms) ResilientSocket::TCPClient ["localhost:2100"] -- Connecting to server localhost:2100 -- ResilientSocket::ConnectionFailure: After 5 connection attempts to host 'localhost:2100': Errno::ECONNREFUSED: Connection refused - connect(2) +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:578:in `rescue in block in connect_to_server' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:549:in `block in connect_to_server' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_info' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:542:in `connect_to_server' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:305:in `connect' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:233:in `initialize' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:104:in `new' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:104:in `initialize' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:235:in `new' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:235:in `block in new_connection_pool' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/gene_pool-1.3.0/lib/gene_pool.rb:193:in `call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/gene_pool-1.3.0/lib/gene_pool.rb:193:in `renew' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/gene_pool-1.3.0/lib/gene_pool.rb:97:in `checkout' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/gene_pool-1.3.0/lib/gene_pool.rb:129:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:214:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:64:in `block (2 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_info' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:60:in `block in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:126:in `with_tags' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:59:in `call' +(irb):23:in `irb_binding' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/workspace.rb:80:in `eval' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/workspace.rb:80:in `evaluate' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/context.rb:254:in `evaluate' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:159:in `block (2 levels) in eval_input' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:273:in `signal_status' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:156:in `block in eval_input' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:243:in `block (2 levels) in each_top_level_statement' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:229:in `loop' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:229:in `block in each_top_level_statement' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:228:in `catch' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:228:in `each_top_level_statement' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:155:in `eval_input' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:70:in `block in start' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:69:in `catch' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:69:in `start' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/bin/irb:16:in `<main>' +2012-12-05 14:34:09.906428 D [43332:70217829145300] [50bfa1b06b6933a944000001] RubySkynet::Connection: localhost:2000 -- Waiting for Service Handshake +2012-12-05 14:34:09.907486 D [43332:70217830416460] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 14:34:09.907584 D [43332:70217830416460] RubySkynet::Server -- Client connected, waiting for data from client +2012-12-05 14:34:09.908402 T [43332:70217829145300] [50bfa1b06b6933a944000001] ResilientSocket::TCPClient ["localhost:2000"] -- #read <== received -- "9\x00\x00\x00" +2012-12-05 14:34:09.908414 D [43332:70217829145300] [50bfa1b06b6933a944000001] (1.4ms) ResilientSocket::TCPClient ["localhost:2000"] -- #read <== read 4 bytes +2012-12-05 14:34:09.908518 T [43332:70217829145300] [50bfa1b06b6933a944000001] ResilientSocket::TCPClient ["localhost:2000"] -- #read <== received -- "\bregistered\x00\x01\x02clientid\x00\x19\x00\x00\x0050bfa1b16b6933a944000002\x00\x00" +2012-12-05 14:34:09.908524 D [43332:70217829145300] [50bfa1b06b6933a944000001] (0.1ms) ResilientSocket::TCPClient ["localhost:2000"] -- #read <== read 53 bytes +2012-12-05 14:34:09.908573 T [43332:70217829145300] [50bfa1b06b6933a944000001] RubySkynet::Connection: localhost:2000 -- Service Handshake -- {"registered"=>true, "clientid"=>"50bfa1b16b6933a944000002"} +2012-12-05 14:34:09.908584 D [43332:70217829145300] [50bfa1b06b6933a944000001] RubySkynet::Connection: localhost:2000 -- Sending Client Handshake +2012-12-05 14:34:09.908590 T [43332:70217829145300] [50bfa1b06b6933a944000001] RubySkynet::Connection: localhost:2000 -- Client Handshake -- {"clientid"=>"50bfa1b16b6933a944000002"} +2012-12-05 14:34:09.908606 T [43332:70217829145300] [50bfa1b06b6933a944000001] ResilientSocket::TCPClient ["localhost:2000"] -- #write ==> sending -- ,clientid50bfa1b16b6933a944000002 +2012-12-05 14:34:09.908650 D [43332:70217829145300] [50bfa1b06b6933a944000001] (0.0ms) ResilientSocket::TCPClient ["localhost:2000"] -- #write ==> sent 44 bytes +2012-12-05 14:34:09.908716 D [43332:70217829145300] [50bfa1b06b6933a944000001] RubySkynet::Connection: localhost:2000 -- Sending Header +2012-12-05 14:34:09.908726 T [43332:70217829145300] [50bfa1b06b6933a944000001] RubySkynet::Connection: localhost:2000 -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 14:34:09.908747 T [43332:70217829145300] [50bfa1b06b6933a944000001] ResilientSocket::TCPClient ["localhost:2000"] -- #write ==> sending -- 5servicemethodTestService.Forwardseq +2012-12-05 14:34:09.908790 D [43332:70217829145300] [50bfa1b06b6933a944000001] (0.0ms) ResilientSocket::TCPClient ["localhost:2000"] -- #write ==> sent 53 bytes +2012-12-05 14:34:09.908824 D [43332:70217829145300] [50bfa1b06b6933a944000001] RubySkynet::Connection: localhost:2000 -- Sending Request +2012-12-05 14:34:09.908831 T [43332:70217829145300] [50bfa1b06b6933a944000001] RubySkynet::Connection: localhost:2000 -- Request -- {"clientid"=>"50bfa1b16b6933a944000002", "in"=>"\x10\x00\x00\x00\x10value\x00\x05\x00\x00\x00\x00", "method"=>"echo", "requestinfo"=>{"requestid"=>"50bfa1b06b6933a944000001", "retrycount"=>0, "originaddress"=>""}} +2012-12-05 14:34:09.908836 T [43332:70217829145300] [50bfa1b06b6933a944000001] RubySkynet::Connection: localhost:2000 -- Parameters: -- {:value=>5} +2012-12-05 14:34:09.908852 T [43332:70217829145300] [50bfa1b06b6933a944000001] ResilientSocket::TCPClient ["localhost:2000"] -- #write ==> sending -- clientid50bfa1b16b6933a944000002invaluemethodechorequestinfoQrequestid50bfa1b06b6933a944000001retrycountoriginaddress +2012-12-05 14:34:09.908891 D [43332:70217829145300] [50bfa1b06b6933a944000001] (0.0ms) ResilientSocket::TCPClient ["localhost:2000"] -- #write ==> sent 180 bytes +2012-12-05 14:34:09.908904 D [43332:70217829145300] [50bfa1b06b6933a944000001] RubySkynet::Connection: localhost:2000 -- Reading header from server +2012-12-05 14:34:09.910666 D [43332:70217830416460] RubySkynet::Server -- +****************** +2012-12-05 14:34:09.910685 D [43332:70217830416460] RubySkynet::Server -- Received Request +2012-12-05 14:34:09.910695 T [43332:70217830416460] RubySkynet::Server -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 14:34:09.910846 T [43332:70217830416460] RubySkynet::Server -- Request -- {"clientid"=>"50bfa1b16b6933a944000002", "in"=>"\x10\x00\x00\x00\x10value\x00\x05\x00\x00\x00\x00", "method"=>"echo", "requestinfo"=>{"requestid"=>"50bfa1b06b6933a944000001", "retrycount"=>0, "originaddress"=>""}} +2012-12-05 14:34:09.910868 T [43332:70217830416460] RubySkynet::Server -- Parameters -- {"value"=>5} +2012-12-05 14:34:09.910891 T [43332:70217830416460] RubySkynet::Server -- Method Call: echo with parameters: -- {"value"=>5} +2012-12-05 14:34:09.910934 D [43332:70217830416460] (0.1ms) RubySkynet::Server -- Called: TestService#echo -- RuntimeError: Invalid Skynet RPC call, method: echo does not exist for service: TestService +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/server.rb:173:in `block in on_message' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_debug' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/server.rb:168:in `on_message' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/server.rb:208:in `handle_connection' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/celluloid-0.12.3/lib/celluloid/calls.rb:99:in `dispatch' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/celluloid-0.12.3/lib/celluloid/actor.rb:323:in `block in handle_message' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/celluloid-0.12.3/lib/celluloid/tasks/task_fiber.rb:22:in `block in initialize' +2012-12-05 14:34:09.910999 E [43332:70217830416460] Celluloid -- RubySkynet::Server crashed! +RuntimeError: Invalid Skynet RPC call, method: echo does not exist for service: TestService +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/server.rb:173:in `block in on_message' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_debug' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/server.rb:168:in `on_message' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/server.rb:208:in `handle_connection' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/celluloid-0.12.3/lib/celluloid/calls.rb:99:in `dispatch' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/celluloid-0.12.3/lib/celluloid/actor.rb:323:in `block in handle_message' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/celluloid-0.12.3/lib/celluloid/tasks/task_fiber.rb:22:in `block in initialize' +2012-12-05 14:34:09.911055 I [43332:70217830416460] RubySkynet::Server -- Skynet Server Stopped +2012-12-05 14:34:09.911119 D [43332:70217830416460] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fb9b9829e78>(70217829011260) self=connections=70217829011260 checked_out=70217829011260 with_map= +2012-12-05 14:34:09.911673 T [43332:70217830416460] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- C"2/services/TestService/1/Development/localhost/2000H +2012-12-05 14:34:09.911758 D [43332:70217830416460] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 71 bytes +2012-12-05 14:34:09.917896 T [43332:70217829843800] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00=" +2012-12-05 14:34:09.917920 D [43332:70217829843800] (1534.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:34:09.918095 T [43332:70217829843800] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\b\x18\x83_*2/services/TestService/1/Development/localhost/20002\x00" +2012-12-05 14:34:09.918101 D [43332:70217829843800] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 61 bytes +2012-12-05 14:34:09.925967 D [43332:70217829843800] RubySkynet::Registry -- #monitor Service stopped, remove: TestService/1/Development => localhost:2000 +2012-12-05 14:34:09.925999 I [43332:70217829843800] RubySkynet::Registry -- Calling callback for server: localhost:2000 +2012-12-05 14:34:09.926029 D [43332:70217829843800] RubySkynet::Connection -- Connection pool for server:localhost:2000 has been released +2012-12-05 14:34:09.926040 D [43332:70217829843800] RubySkynet::Registry -- Updated registry -- {"TestService/1/Development"=>["localhost:2100"], "TestService/1/Test"=>["localhost:2100"]} +2012-12-05 14:34:09.926275 T [43332:70217829843800] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H_ +2012-12-05 14:34:09.926342 T [43332:70217830416460] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 14:34:09.926347 D [43332:70217830416460] (14.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:34:09.926463 T [43332:70217830416460] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00" +2012-12-05 14:34:09.926468 D [43332:70217830416460] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 2 bytes +2012-12-05 14:34:09.926533 D [43332:70217830416460] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fb9b9829e78>(70217829011260) self=connections=70217829011260 checked_out= with_map= +2012-12-05 14:34:09.926561 I [43332:70217830416460] RubySkynet::Server -- Skynet Services De-registered in Doozer +2012-12-05 14:34:09.928783 D [43332:70217829843800] (2.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 14:34:45.890524 D [43332:70217829145300] [50bfa1b06b6933a944000001] (35981.6ms) ResilientSocket::TCPClient ["localhost:2000"] -- #read <== read 4 bytes -- IRB::Abort: abort then interrupt! +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:88:in `irb_abort' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:257:in `signal_handle' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:65:in `block in start' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:378:in `call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:378:in `select' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:378:in `block in read' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_debug' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:374:in `read' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/common.rb:10:in `read_bson_document' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:178:in `rpc_call' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:65:in `block (3 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/gene_pool-1.3.0/lib/gene_pool.rb:134:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:214:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:64:in `block (2 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_info' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:60:in `block in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:126:in `with_tags' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:59:in `call' +(irb):23:in `irb_binding' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/workspace.rb:80:in `eval' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/workspace.rb:80:in `evaluate' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/context.rb:254:in `evaluate' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:159:in `block (2 levels) in eval_input' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:273:in `signal_status' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:156:in `block in eval_input' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:243:in `block (2 levels) in each_top_level_statement' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:229:in `loop' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:229:in `block in each_top_level_statement' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:228:in `catch' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:228:in `each_top_level_statement' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:155:in `eval_input' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:70:in `block in start' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:69:in `catch' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:69:in `start' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/bin/irb:16:in `<main>' +2012-12-05 14:34:45.890603 I [43332:70217829145300] [50bfa1b06b6933a944000001] (37517.5ms) RubySkynet::Client: TestService/*/Development -- Called Skynet Service: TestService.echo -- IRB::Abort: abort then interrupt! +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:88:in `irb_abort' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:257:in `signal_handle' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:65:in `block in start' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:378:in `call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:378:in `select' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:378:in `block in read' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_debug' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:374:in `read' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/common.rb:10:in `read_bson_document' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:178:in `rpc_call' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:65:in `block (3 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/gene_pool-1.3.0/lib/gene_pool.rb:134:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:214:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:64:in `block (2 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_info' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:60:in `block in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:126:in `with_tags' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:59:in `call' +(irb):23:in `irb_binding' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/workspace.rb:80:in `eval' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/workspace.rb:80:in `evaluate' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/context.rb:254:in `evaluate' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:159:in `block (2 levels) in eval_input' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:273:in `signal_status' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:156:in `block in eval_input' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:243:in `block (2 levels) in each_top_level_statement' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:229:in `loop' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:229:in `block in each_top_level_statement' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:228:in `catch' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:228:in `each_top_level_statement' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:155:in `eval_input' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:70:in `block in start' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:69:in `catch' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:69:in `start' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/bin/irb:16:in `<main>' +2012-12-05 14:34:48.688046 I [43332:70217829145300] Celluloid -- Terminating 4 actors... +2012-12-05 14:34:48.689592 I [43332:70217829145300] Celluloid -- Shutdown completed cleanly +2012-12-05 14:34:54.624610 D [43361:70174422293200] RubySkynet::Server -- Registering Service: TestService with name: TestService +2012-12-05 14:34:54.640204 D [43361:70174431255880] RubySkynet::Registry -- Doozer Connection Pool: Created connection #1 #<Thread:0x007fa584183a90>(70174431255880) for Doozer Connection Pool +2012-12-05 14:34:54.673950 T [43361:70174431255880] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007fa583029b50@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 14:34:54.677434 D [43361:70174431255880] RubySkynet::Registry -- Doozer Connection Pool: Renewed connection old=70174431255880 new=#<RubySkynet::Doozer::Client:0x007fa583029df8>(70174422159100) +2012-12-05 14:34:54.677493 D [43361:70174431255880] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fa583029df8>(70174422159100) self=connections=70174422159100 checked_out=70174422159100 with_map= +2012-12-05 14:34:54.688912 T [43361:70174431255880] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "2/services/TestService/1/Development/localhost/2000*{"Config":{"UUID":"localhost:2000-43361-TestService-70174423670460","Name":"TestService","Version":"1","Region":"Development","ServiceAddr":{"IPAddress":"localhost","Port":2000,"MaxPort":2999}},"Registered":true}H +2012-12-05 14:34:54.689446 D [43361:70174431255880] (0.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 286 bytes +2012-12-05 14:34:54.690685 T [43361:70174431255880] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 14:34:54.690698 D [43361:70174431255880] (1.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:34:54.691664 T [43361:70174431255880] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xB1_" +2012-12-05 14:34:54.691706 D [43361:70174431255880] (0.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 14:34:54.691863 D [43361:70174431255880] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fa583029df8>(70174422159100) self=connections=70174422159100 checked_out= with_map= +2012-12-05 14:34:54.692671 I [43361:70174431255880] RubySkynet::Server -- Starting listener on localhost:2000 +2012-12-05 14:34:54.692721 D [43361:70174431255880] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 14:34:54.698879 D [43361:70174422293200] [50bfa1de6b6933a961000001] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fa583029df8>(70174422159100) self=connections=70174422159100 checked_out=70174422159100 with_map= +2012-12-05 14:34:54.699140 T [43361:70174422293200] [50bfa1de6b6933a961000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  +2012-12-05 14:34:54.699598 D [43361:70174422293200] [50bfa1de6b6933a961000001] (0.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 8 bytes +2012-12-05 14:34:54.699794 T [43361:70174422293200] [50bfa1de6b6933a961000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 14:34:54.699830 D [43361:70174422293200] [50bfa1de6b6933a961000001] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:34:54.700055 T [43361:70174422293200] [50bfa1de6b6933a961000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xB1_" +2012-12-05 14:34:54.700091 D [43361:70174422293200] [50bfa1de6b6933a961000001] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 14:34:54.700360 T [43361:70174422293200] [50bfa1de6b6933a961000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H_ +2012-12-05 14:34:54.700985 D [43361:70174422293200] [50bfa1de6b6933a961000001] (0.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-05 14:34:54.701170 T [43361:70174422293200] [50bfa1de6b6933a961000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01\x12" +2012-12-05 14:34:54.701206 D [43361:70174422293200] [50bfa1de6b6933a961000001] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:34:54.701617 T [43361:70174422293200] [50bfa1de6b6933a961000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xB1_*2/services/TestService/1/Development/localhost/20002\xD4\x01{\"Config\":{\"UUID\":\"localhost:2000-43361-TestService-70174423670460\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Development\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2000,\"MaxPort\":2999}},\"Registered\":true}" +2012-12-05 14:34:54.701653 D [43361:70174422293200] [50bfa1de6b6933a961000001] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 274 bytes +2012-12-05 14:34:54.701936 T [43361:70174422293200] [50bfa1de6b6933a961000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H_ +2012-12-05 14:34:54.702539 D [43361:70174422293200] [50bfa1de6b6933a961000001] (0.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-05 14:34:54.702724 T [43361:70174422293200] [50bfa1de6b6933a961000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01\x11" +2012-12-05 14:34:54.702759 D [43361:70174422293200] [50bfa1de6b6933a961000001] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:34:54.703008 T [43361:70174422293200] [50bfa1de6b6933a961000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18B*2/services/TestService/1/Development/localhost/21002\xD4\x01{\"Config\":{\"UUID\":\"localhost:2100-38983-TestService-70336365097060\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Development\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-05 14:34:54.703044 D [43361:70174422293200] [50bfa1de6b6933a961000001] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 273 bytes +2012-12-05 14:34:54.703307 T [43361:70174422293200] [50bfa1de6b6933a961000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H_ +2012-12-05 14:34:54.703889 D [43361:70174422293200] [50bfa1de6b6933a961000001] (0.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-05 14:34:54.704071 T [43361:70174422293200] [50bfa1de6b6933a961000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01\x04" +2012-12-05 14:34:54.704107 D [43361:70174422293200] [50bfa1de6b6933a961000001] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:34:54.704459 T [43361:70174422293200] [50bfa1de6b6933a961000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xA6U*+/services/TestService/1/Test/localhost/21002\xCD\x01{\"Config\":{\"UUID\":\"localhost:2100-42796-TestService-70255821087020\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-05 14:34:54.704495 D [43361:70174422293200] [50bfa1de6b6933a961000001] (0.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 260 bytes +2012-12-05 14:34:54.704760 T [43361:70174422293200] [50bfa1de6b6933a961000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H_ +2012-12-05 14:34:54.705360 D [43361:70174422293200] [50bfa1de6b6933a961000001] (0.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-05 14:34:54.705541 T [43361:70174422293200] [50bfa1de6b6933a961000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 14:34:54.705577 D [43361:70174422293200] [50bfa1de6b6933a961000001] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:34:54.705816 T [43361:70174422293200] [50bfa1de6b6933a961000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\xA0\x06\b" +2012-12-05 14:34:54.705851 D [43361:70174422293200] [50bfa1de6b6933a961000001] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 14:34:54.706530 D [43361:70174422293200] [50bfa1de6b6933a961000001] RubySkynet::Registry -- #start_monitoring Add Service: TestService/1/Development => localhost:2000 +2012-12-05 14:34:54.706579 D [43361:70174422293200] [50bfa1de6b6933a961000001] RubySkynet::Registry -- #start_monitoring Add Service: TestService/1/Development => localhost:2100 +2012-12-05 14:34:54.706624 D [43361:70174422293200] [50bfa1de6b6933a961000001] RubySkynet::Registry -- #start_monitoring Add Service: TestService/1/Test => localhost:2100 +2012-12-05 14:34:54.706662 D [43361:70174422293200] [50bfa1de6b6933a961000001] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fa583029df8>(70174422159100) self=connections=70174422159100 checked_out= with_map= +2012-12-05 14:34:54.708045 I [43361:70174430867160] RubySkynet::Registry -- Start monitoring /services/*/*/*/*/* +2012-12-05 14:34:54.708089 T [43361:70174430867160] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007fa5840d54e0@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 14:34:54.709081 T [43361:70174430867160] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H_ +2012-12-05 14:34:54.709123 D [43361:70174430867160] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 14:34:54.709788 W [43361:70174422293200] [50bfa1de6b6933a961000001] ResilientSocket::TCPClient ["localhost:2100"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 1 +2012-12-05 14:34:54.810915 W [43361:70174422293200] [50bfa1de6b6933a961000001] ResilientSocket::TCPClient ["localhost:2100"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 2 +2012-12-05 14:34:54.912467 W [43361:70174422293200] [50bfa1de6b6933a961000001] ResilientSocket::TCPClient ["localhost:2100"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 3 +2012-12-05 14:34:55.013131 W [43361:70174422293200] [50bfa1de6b6933a961000001] ResilientSocket::TCPClient ["localhost:2100"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 4 +2012-12-05 14:34:55.114451 W [43361:70174422293200] [50bfa1de6b6933a961000001] ResilientSocket::TCPClient ["localhost:2100"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 5 +2012-12-05 14:34:55.215572 E [43361:70174422293200] [50bfa1de6b6933a961000001] ResilientSocket::TCPClient ["localhost:2100"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Giving up after 5 retries +2012-12-05 14:34:55.215702 I [43361:70174422293200] [50bfa1de6b6933a961000001] (508.6ms) ResilientSocket::TCPClient ["localhost:2100"] -- Connecting to server localhost:2100 -- ResilientSocket::ConnectionFailure: After 5 connection attempts to host 'localhost:2100': Errno::ECONNREFUSED: Connection refused - connect(2) +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:578:in `rescue in block in connect_to_server' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:549:in `block in connect_to_server' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_info' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:542:in `connect_to_server' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:305:in `connect' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:233:in `initialize' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:104:in `new' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:104:in `initialize' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:235:in `new' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:235:in `block in new_connection_pool' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/gene_pool-1.3.0/lib/gene_pool.rb:193:in `call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/gene_pool-1.3.0/lib/gene_pool.rb:193:in `renew' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/gene_pool-1.3.0/lib/gene_pool.rb:97:in `checkout' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/gene_pool-1.3.0/lib/gene_pool.rb:129:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:214:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:64:in `block (2 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_info' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:60:in `block in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:126:in `with_tags' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:59:in `call' +(irb):23:in `irb_binding' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/workspace.rb:80:in `eval' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/workspace.rb:80:in `evaluate' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/context.rb:254:in `evaluate' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:159:in `block (2 levels) in eval_input' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:273:in `signal_status' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:156:in `block in eval_input' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:243:in `block (2 levels) in each_top_level_statement' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:229:in `loop' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:229:in `block in each_top_level_statement' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:228:in `catch' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:228:in `each_top_level_statement' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:155:in `eval_input' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:70:in `block in start' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:69:in `catch' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:69:in `start' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/bin/irb:16:in `<main>' +2012-12-05 14:34:55.219275 W [43361:70174422293200] [50bfa1de6b6933a961000001] ResilientSocket::TCPClient ["localhost:2100"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 1 +2012-12-05 14:34:55.321604 W [43361:70174422293200] [50bfa1de6b6933a961000001] ResilientSocket::TCPClient ["localhost:2100"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 2 +2012-12-05 14:34:55.423172 W [43361:70174422293200] [50bfa1de6b6933a961000001] ResilientSocket::TCPClient ["localhost:2100"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 3 +2012-12-05 14:34:55.524271 W [43361:70174422293200] [50bfa1de6b6933a961000001] ResilientSocket::TCPClient ["localhost:2100"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 4 +2012-12-05 14:34:55.624986 W [43361:70174422293200] [50bfa1de6b6933a961000001] ResilientSocket::TCPClient ["localhost:2100"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 5 +2012-12-05 14:34:55.726502 E [43361:70174422293200] [50bfa1de6b6933a961000001] ResilientSocket::TCPClient ["localhost:2100"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Giving up after 5 retries +2012-12-05 14:34:55.726596 I [43361:70174422293200] [50bfa1de6b6933a961000001] (510.6ms) ResilientSocket::TCPClient ["localhost:2100"] -- Connecting to server localhost:2100 -- ResilientSocket::ConnectionFailure: After 5 connection attempts to host 'localhost:2100': Errno::ECONNREFUSED: Connection refused - connect(2) +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:578:in `rescue in block in connect_to_server' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:549:in `block in connect_to_server' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_info' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:542:in `connect_to_server' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:305:in `connect' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:233:in `initialize' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:104:in `new' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:104:in `initialize' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:235:in `new' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:235:in `block in new_connection_pool' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/gene_pool-1.3.0/lib/gene_pool.rb:193:in `call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/gene_pool-1.3.0/lib/gene_pool.rb:193:in `renew' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/gene_pool-1.3.0/lib/gene_pool.rb:97:in `checkout' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/gene_pool-1.3.0/lib/gene_pool.rb:129:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:214:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:64:in `block (2 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_info' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:60:in `block in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:126:in `with_tags' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:59:in `call' +(irb):23:in `irb_binding' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/workspace.rb:80:in `eval' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/workspace.rb:80:in `evaluate' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/context.rb:254:in `evaluate' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:159:in `block (2 levels) in eval_input' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:273:in `signal_status' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:156:in `block in eval_input' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:243:in `block (2 levels) in each_top_level_statement' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:229:in `loop' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:229:in `block in each_top_level_statement' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:228:in `catch' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:228:in `each_top_level_statement' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:155:in `eval_input' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:70:in `block in start' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:69:in `catch' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:69:in `start' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/bin/irb:16:in `<main>' +2012-12-05 14:34:55.728088 W [43361:70174422293200] [50bfa1de6b6933a961000001] ResilientSocket::TCPClient ["localhost:2100"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 1 +2012-12-05 14:34:55.829450 W [43361:70174422293200] [50bfa1de6b6933a961000001] ResilientSocket::TCPClient ["localhost:2100"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 2 +2012-12-05 14:34:55.931414 W [43361:70174422293200] [50bfa1de6b6933a961000001] ResilientSocket::TCPClient ["localhost:2100"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 3 +2012-12-05 14:34:56.032824 W [43361:70174422293200] [50bfa1de6b6933a961000001] ResilientSocket::TCPClient ["localhost:2100"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 4 +2012-12-05 14:34:56.133369 W [43361:70174422293200] [50bfa1de6b6933a961000001] ResilientSocket::TCPClient ["localhost:2100"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 5 +2012-12-05 14:34:56.234884 E [43361:70174422293200] [50bfa1de6b6933a961000001] ResilientSocket::TCPClient ["localhost:2100"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Giving up after 5 retries +2012-12-05 14:34:56.234993 I [43361:70174422293200] [50bfa1de6b6933a961000001] (508.1ms) ResilientSocket::TCPClient ["localhost:2100"] -- Connecting to server localhost:2100 -- ResilientSocket::ConnectionFailure: After 5 connection attempts to host 'localhost:2100': Errno::ECONNREFUSED: Connection refused - connect(2) +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:578:in `rescue in block in connect_to_server' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:549:in `block in connect_to_server' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_info' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:542:in `connect_to_server' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:305:in `connect' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:233:in `initialize' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:104:in `new' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:104:in `initialize' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:235:in `new' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:235:in `block in new_connection_pool' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/gene_pool-1.3.0/lib/gene_pool.rb:193:in `call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/gene_pool-1.3.0/lib/gene_pool.rb:193:in `renew' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/gene_pool-1.3.0/lib/gene_pool.rb:97:in `checkout' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/gene_pool-1.3.0/lib/gene_pool.rb:129:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:214:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:64:in `block (2 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_info' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:60:in `block in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:126:in `with_tags' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:59:in `call' +(irb):23:in `irb_binding' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/workspace.rb:80:in `eval' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/workspace.rb:80:in `evaluate' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/context.rb:254:in `evaluate' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:159:in `block (2 levels) in eval_input' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:273:in `signal_status' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:156:in `block in eval_input' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:243:in `block (2 levels) in each_top_level_statement' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:229:in `loop' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:229:in `block in each_top_level_statement' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:228:in `catch' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:228:in `each_top_level_statement' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:155:in `eval_input' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:70:in `block in start' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:69:in `catch' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:69:in `start' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/bin/irb:16:in `<main>' +2012-12-05 14:34:56.235915 W [43361:70174422293200] [50bfa1de6b6933a961000001] ResilientSocket::TCPClient ["localhost:2100"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 1 +2012-12-05 14:34:56.337534 W [43361:70174422293200] [50bfa1de6b6933a961000001] ResilientSocket::TCPClient ["localhost:2100"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 2 +2012-12-05 14:34:56.438277 W [43361:70174422293200] [50bfa1de6b6933a961000001] ResilientSocket::TCPClient ["localhost:2100"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 3 +2012-12-05 14:34:56.538741 W [43361:70174422293200] [50bfa1de6b6933a961000001] ResilientSocket::TCPClient ["localhost:2100"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 4 +2012-12-05 14:34:56.639844 W [43361:70174422293200] [50bfa1de6b6933a961000001] ResilientSocket::TCPClient ["localhost:2100"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 5 +2012-12-05 14:34:56.740944 E [43361:70174422293200] [50bfa1de6b6933a961000001] ResilientSocket::TCPClient ["localhost:2100"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Giving up after 5 retries +2012-12-05 14:34:56.741054 I [43361:70174422293200] [50bfa1de6b6933a961000001] (505.8ms) ResilientSocket::TCPClient ["localhost:2100"] -- Connecting to server localhost:2100 -- ResilientSocket::ConnectionFailure: After 5 connection attempts to host 'localhost:2100': Errno::ECONNREFUSED: Connection refused - connect(2) +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:578:in `rescue in block in connect_to_server' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:549:in `block in connect_to_server' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_info' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:542:in `connect_to_server' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:305:in `connect' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:233:in `initialize' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:104:in `new' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:104:in `initialize' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:235:in `new' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:235:in `block in new_connection_pool' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/gene_pool-1.3.0/lib/gene_pool.rb:193:in `call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/gene_pool-1.3.0/lib/gene_pool.rb:193:in `renew' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/gene_pool-1.3.0/lib/gene_pool.rb:97:in `checkout' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/gene_pool-1.3.0/lib/gene_pool.rb:129:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:214:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:64:in `block (2 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_info' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:60:in `block in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:126:in `with_tags' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:59:in `call' +(irb):23:in `irb_binding' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/workspace.rb:80:in `eval' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/workspace.rb:80:in `evaluate' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/context.rb:254:in `evaluate' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:159:in `block (2 levels) in eval_input' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:273:in `signal_status' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:156:in `block in eval_input' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:243:in `block (2 levels) in each_top_level_statement' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:229:in `loop' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:229:in `block in each_top_level_statement' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:228:in `catch' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:228:in `each_top_level_statement' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:155:in `eval_input' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:70:in `block in start' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:69:in `catch' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:69:in `start' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/bin/irb:16:in `<main>' +2012-12-05 14:34:56.741103 I [43361:70174422293200] [50bfa1de6b6933a961000001] (2043.8ms) RubySkynet::Client: TestService/*/Development -- Called Skynet Service: TestService.echo +2012-12-05 14:35:09.906772 I [43361:70174422293200] Celluloid -- Terminating 5 actors... +2012-12-05 14:35:09.910548 I [43361:70174431255880] RubySkynet::Server -- Skynet Server Stopped +2012-12-05 14:35:09.910631 D [43361:70174431255880] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fa583029df8>(70174422159100) self=connections=70174422159100 checked_out=70174422159100 with_map= +2012-12-05 14:35:09.910914 T [43361:70174431255880] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- C"2/services/TestService/1/Development/localhost/2000H +2012-12-05 14:35:09.911020 D [43361:70174431255880] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 71 bytes +2012-12-05 14:35:09.918098 T [43361:70174430867160] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00=" +2012-12-05 14:35:09.918115 D [43361:70174430867160] (15209.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:35:09.918642 T [43361:70174430867160] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\b\x18\xC1_*2/services/TestService/1/Development/localhost/20002\x00" +2012-12-05 14:35:09.918653 D [43361:70174430867160] (0.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 61 bytes +2012-12-05 14:35:09.918790 D [43361:70174430867160] RubySkynet::Registry -- #monitor Service stopped, remove: TestService/1/Development => localhost:2000 +2012-12-05 14:35:09.918809 D [43361:70174430867160] RubySkynet::Registry -- Updated registry -- {"TestService/1/Development"=>["localhost:2100"], "TestService/1/Test"=>["localhost:2100"]} +2012-12-05 14:35:09.919029 T [43361:70174430867160] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H_ +2012-12-05 14:35:09.919097 D [43361:70174430867160] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 14:35:09.919150 T [43361:70174431255880] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 14:35:09.919157 D [43361:70174431255880] (8.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:35:09.924553 T [43361:70174431255880] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00" +2012-12-05 14:35:09.924577 D [43361:70174431255880] (5.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 2 bytes +2012-12-05 14:35:09.924703 D [43361:70174431255880] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fa583029df8>(70174422159100) self=connections=70174422159100 checked_out= with_map= +2012-12-05 14:35:09.924740 I [43361:70174431255880] RubySkynet::Server -- Skynet Services De-registered in Doozer +2012-12-05 14:35:09.926015 I [43361:70174422293200] Celluloid -- Shutdown completed cleanly +2012-12-05 14:35:13.180714 D [43378:70172547439320] RubySkynet::Server -- Registering Service: TestService with name: TestService +2012-12-05 14:35:13.194888 D [43378:70172555892360] RubySkynet::Registry -- Doozer Connection Pool: Created connection #1 #<Thread:0x007fa4a488ad10>(70172555892360) for Doozer Connection Pool +2012-12-05 14:35:13.225692 T [43378:70172555892360] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007fa4a38297a0@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 14:35:13.229530 D [43378:70172555892360] RubySkynet::Registry -- Doozer Connection Pool: Renewed connection old=70172555892360 new=#<RubySkynet::Doozer::Client:0x007fa4a3829d18>(70172547305100) +2012-12-05 14:35:13.229569 D [43378:70172555892360] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fa4a3829d18>(70172547305100) self=connections=70172547305100 checked_out=70172547305100 with_map= +2012-12-05 14:35:13.241157 T [43378:70172555892360] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "2/services/TestService/1/Development/localhost/2000*{"Config":{"UUID":"localhost:2000-43378-TestService-70172548881780","Name":"TestService","Version":"1","Region":"Development","ServiceAddr":{"IPAddress":"localhost","Port":2000,"MaxPort":2999}},"Registered":true}H +2012-12-05 14:35:13.241228 D [43378:70172555892360] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 286 bytes +2012-12-05 14:35:13.243371 T [43378:70172555892360] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 14:35:13.243385 D [43378:70172555892360] (2.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:35:13.245983 T [43378:70172555892360] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xC5_" +2012-12-05 14:35:13.246002 D [43378:70172555892360] (2.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 14:35:13.246182 D [43378:70172555892360] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fa4a3829d18>(70172547305100) self=connections=70172547305100 checked_out= with_map= +2012-12-05 14:35:13.246673 I [43378:70172555892360] RubySkynet::Server -- Starting listener on localhost:2000 +2012-12-05 14:35:13.246694 D [43378:70172555892360] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 14:35:13.252076 D [43378:70172547439320] [50bfa1f16b6933a972000001] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fa4a3829d18>(70172547305100) self=connections=70172547305100 checked_out=70172547305100 with_map= +2012-12-05 14:35:13.252290 T [43378:70172547439320] [50bfa1f16b6933a972000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  +2012-12-05 14:35:13.252546 D [43378:70172547439320] [50bfa1f16b6933a972000001] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 8 bytes +2012-12-05 14:35:13.252623 T [43378:70172547439320] [50bfa1f16b6933a972000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 14:35:13.252630 D [43378:70172547439320] [50bfa1f16b6933a972000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:35:13.252847 T [43378:70172547439320] [50bfa1f16b6933a972000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xC5_" +2012-12-05 14:35:13.252854 D [43378:70172547439320] [50bfa1f16b6933a972000001] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 14:35:13.253211 T [43378:70172547439320] [50bfa1f16b6933a972000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H_ +2012-12-05 14:35:13.253895 D [43378:70172547439320] [50bfa1f16b6933a972000001] (0.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-05 14:35:13.254005 T [43378:70172547439320] [50bfa1f16b6933a972000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01\x12" +2012-12-05 14:35:13.254055 D [43378:70172547439320] [50bfa1f16b6933a972000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:35:13.254131 T [43378:70172547439320] [50bfa1f16b6933a972000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xC5_*2/services/TestService/1/Development/localhost/20002\xD4\x01{\"Config\":{\"UUID\":\"localhost:2000-43378-TestService-70172548881780\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Development\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2000,\"MaxPort\":2999}},\"Registered\":true}" +2012-12-05 14:35:13.254137 D [43378:70172547439320] [50bfa1f16b6933a972000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 274 bytes +2012-12-05 14:35:13.254428 T [43378:70172547439320] [50bfa1f16b6933a972000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H_ +2012-12-05 14:35:13.254470 D [43378:70172547439320] [50bfa1f16b6933a972000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-05 14:35:13.255185 T [43378:70172547439320] [50bfa1f16b6933a972000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01\x11" +2012-12-05 14:35:13.255196 D [43378:70172547439320] [50bfa1f16b6933a972000001] (0.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:35:13.255265 T [43378:70172547439320] [50bfa1f16b6933a972000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18B*2/services/TestService/1/Development/localhost/21002\xD4\x01{\"Config\":{\"UUID\":\"localhost:2100-38983-TestService-70336365097060\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Development\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-05 14:35:13.255271 D [43378:70172547439320] [50bfa1f16b6933a972000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 273 bytes +2012-12-05 14:35:13.255544 T [43378:70172547439320] [50bfa1f16b6933a972000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H_ +2012-12-05 14:35:13.255586 D [43378:70172547439320] [50bfa1f16b6933a972000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-05 14:35:13.256282 T [43378:70172547439320] [50bfa1f16b6933a972000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01\x04" +2012-12-05 14:35:13.256294 D [43378:70172547439320] [50bfa1f16b6933a972000001] (0.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:35:13.256400 T [43378:70172547439320] [50bfa1f16b6933a972000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xA6U*+/services/TestService/1/Test/localhost/21002\xCD\x01{\"Config\":{\"UUID\":\"localhost:2100-42796-TestService-70255821087020\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-05 14:35:13.256407 D [43378:70172547439320] [50bfa1f16b6933a972000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 260 bytes +2012-12-05 14:35:13.256684 T [43378:70172547439320] [50bfa1f16b6933a972000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H_ +2012-12-05 14:35:13.256722 D [43378:70172547439320] [50bfa1f16b6933a972000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-05 14:35:13.257149 T [43378:70172547439320] [50bfa1f16b6933a972000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 14:35:13.257157 D [43378:70172547439320] [50bfa1f16b6933a972000001] (0.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:35:13.257243 T [43378:70172547439320] [50bfa1f16b6933a972000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\xA0\x06\b" +2012-12-05 14:35:13.257249 D [43378:70172547439320] [50bfa1f16b6933a972000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 14:35:13.257429 D [43378:70172547439320] [50bfa1f16b6933a972000001] RubySkynet::Registry -- #start_monitoring Add Service: TestService/1/Development => localhost:2000 +2012-12-05 14:35:13.257476 D [43378:70172547439320] [50bfa1f16b6933a972000001] RubySkynet::Registry -- #start_monitoring Add Service: TestService/1/Development => localhost:2100 +2012-12-05 14:35:13.257519 D [43378:70172547439320] [50bfa1f16b6933a972000001] RubySkynet::Registry -- #start_monitoring Add Service: TestService/1/Test => localhost:2100 +2012-12-05 14:35:13.257557 D [43378:70172547439320] [50bfa1f16b6933a972000001] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fa4a3829d18>(70172547305100) self=connections=70172547305100 checked_out= with_map= +2012-12-05 14:35:13.259382 I [43378:70172548934820] RubySkynet::Registry -- Start monitoring /services/*/*/*/*/* +2012-12-05 14:35:13.259428 T [43378:70172548934820] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007fa4a3b70968@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 14:35:13.260059 T [43378:70172548934820] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H_ +2012-12-05 14:35:13.260121 D [43378:70172548934820] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 14:35:13.260783 W [43378:70172547439320] [50bfa1f16b6933a972000001] ResilientSocket::TCPClient ["localhost:2100"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 1 +2012-12-05 14:35:13.362371 W [43378:70172547439320] [50bfa1f16b6933a972000001] ResilientSocket::TCPClient ["localhost:2100"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 2 +2012-12-05 14:35:13.463019 W [43378:70172547439320] [50bfa1f16b6933a972000001] ResilientSocket::TCPClient ["localhost:2100"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 3 +2012-12-05 14:35:13.563813 W [43378:70172547439320] [50bfa1f16b6933a972000001] ResilientSocket::TCPClient ["localhost:2100"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 4 +2012-12-05 14:35:13.665283 W [43378:70172547439320] [50bfa1f16b6933a972000001] ResilientSocket::TCPClient ["localhost:2100"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 5 +2012-12-05 14:35:13.766800 E [43378:70172547439320] [50bfa1f16b6933a972000001] ResilientSocket::TCPClient ["localhost:2100"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Giving up after 5 retries +2012-12-05 14:35:13.766901 I [43378:70172547439320] [50bfa1f16b6933a972000001] (508.9ms) ResilientSocket::TCPClient ["localhost:2100"] -- Connecting to server localhost:2100 -- ResilientSocket::ConnectionFailure: After 5 connection attempts to host 'localhost:2100': Errno::ECONNREFUSED: Connection refused - connect(2) +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:578:in `rescue in block in connect_to_server' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:549:in `block in connect_to_server' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_info' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:542:in `connect_to_server' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:305:in `connect' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:233:in `initialize' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:104:in `new' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:104:in `initialize' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:235:in `new' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:235:in `block in new_connection_pool' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/gene_pool-1.3.0/lib/gene_pool.rb:193:in `call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/gene_pool-1.3.0/lib/gene_pool.rb:193:in `renew' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/gene_pool-1.3.0/lib/gene_pool.rb:97:in `checkout' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/gene_pool-1.3.0/lib/gene_pool.rb:129:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:214:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:64:in `block (2 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_info' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:60:in `block in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:126:in `with_tags' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:59:in `call' +(irb):23:in `irb_binding' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/workspace.rb:80:in `eval' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/workspace.rb:80:in `evaluate' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/context.rb:254:in `evaluate' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:159:in `block (2 levels) in eval_input' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:273:in `signal_status' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:156:in `block in eval_input' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:243:in `block (2 levels) in each_top_level_statement' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:229:in `loop' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:229:in `block in each_top_level_statement' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:228:in `catch' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:228:in `each_top_level_statement' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:155:in `eval_input' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:70:in `block in start' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:69:in `catch' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:69:in `start' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/bin/irb:16:in `<main>' +2012-12-05 14:35:13.767751 W [43378:70172547439320] [50bfa1f16b6933a972000001] ResilientSocket::TCPClient ["localhost:2100"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 1 +2012-12-05 14:35:13.868347 W [43378:70172547439320] [50bfa1f16b6933a972000001] ResilientSocket::TCPClient ["localhost:2100"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 2 +2012-12-05 14:35:13.969843 W [43378:70172547439320] [50bfa1f16b6933a972000001] ResilientSocket::TCPClient ["localhost:2100"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 3 +2012-12-05 14:35:14.071224 W [43378:70172547439320] [50bfa1f16b6933a972000001] ResilientSocket::TCPClient ["localhost:2100"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 4 +2012-12-05 14:35:14.172749 W [43378:70172547439320] [50bfa1f16b6933a972000001] ResilientSocket::TCPClient ["localhost:2100"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 5 +2012-12-05 14:35:14.274332 E [43378:70172547439320] [50bfa1f16b6933a972000001] ResilientSocket::TCPClient ["localhost:2100"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Giving up after 5 retries +2012-12-05 14:35:14.274747 I [43378:70172547439320] [50bfa1f16b6933a972000001] (507.6ms) ResilientSocket::TCPClient ["localhost:2100"] -- Connecting to server localhost:2100 -- ResilientSocket::ConnectionFailure: After 5 connection attempts to host 'localhost:2100': Errno::ECONNREFUSED: Connection refused - connect(2) +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:578:in `rescue in block in connect_to_server' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:549:in `block in connect_to_server' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_info' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:542:in `connect_to_server' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:305:in `connect' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:233:in `initialize' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:104:in `new' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:104:in `initialize' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:235:in `new' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:235:in `block in new_connection_pool' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/gene_pool-1.3.0/lib/gene_pool.rb:193:in `call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/gene_pool-1.3.0/lib/gene_pool.rb:193:in `renew' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/gene_pool-1.3.0/lib/gene_pool.rb:97:in `checkout' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/gene_pool-1.3.0/lib/gene_pool.rb:129:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:214:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:64:in `block (2 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_info' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:60:in `block in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:126:in `with_tags' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:59:in `call' +(irb):23:in `irb_binding' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/workspace.rb:80:in `eval' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/workspace.rb:80:in `evaluate' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/context.rb:254:in `evaluate' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:159:in `block (2 levels) in eval_input' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:273:in `signal_status' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:156:in `block in eval_input' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:243:in `block (2 levels) in each_top_level_statement' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:229:in `loop' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:229:in `block in each_top_level_statement' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:228:in `catch' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:228:in `each_top_level_statement' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:155:in `eval_input' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:70:in `block in start' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:69:in `catch' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:69:in `start' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/bin/irb:16:in `<main>' +2012-12-05 14:35:14.276493 D [43378:70172547439320] [50bfa1f16b6933a972000001] RubySkynet::Connection: localhost:2000 -- Waiting for Service Handshake +2012-12-05 14:35:14.277418 D [43378:70172555892360] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 14:35:14.277532 D [43378:70172555892360] RubySkynet::Server -- Client connected, waiting for data from client +2012-12-05 14:35:14.278242 T [43378:70172547439320] [50bfa1f16b6933a972000001] ResilientSocket::TCPClient ["localhost:2000"] -- #read <== received -- "9\x00\x00\x00" +2012-12-05 14:35:14.278252 D [43378:70172547439320] [50bfa1f16b6933a972000001] (1.1ms) ResilientSocket::TCPClient ["localhost:2000"] -- #read <== read 4 bytes +2012-12-05 14:35:14.278336 T [43378:70172547439320] [50bfa1f16b6933a972000001] ResilientSocket::TCPClient ["localhost:2000"] -- #read <== received -- "\bregistered\x00\x01\x02clientid\x00\x19\x00\x00\x0050bfa1f26b6933a972000002\x00\x00" +2012-12-05 14:35:14.278343 D [43378:70172547439320] [50bfa1f16b6933a972000001] (0.0ms) ResilientSocket::TCPClient ["localhost:2000"] -- #read <== read 53 bytes +2012-12-05 14:35:14.278420 T [43378:70172547439320] [50bfa1f16b6933a972000001] RubySkynet::Connection: localhost:2000 -- Service Handshake -- {"registered"=>true, "clientid"=>"50bfa1f26b6933a972000002"} +2012-12-05 14:35:14.278435 D [43378:70172547439320] [50bfa1f16b6933a972000001] RubySkynet::Connection: localhost:2000 -- Sending Client Handshake +2012-12-05 14:35:14.278442 T [43378:70172547439320] [50bfa1f16b6933a972000001] RubySkynet::Connection: localhost:2000 -- Client Handshake -- {"clientid"=>"50bfa1f26b6933a972000002"} +2012-12-05 14:35:14.278461 T [43378:70172547439320] [50bfa1f16b6933a972000001] ResilientSocket::TCPClient ["localhost:2000"] -- #write ==> sending -- ,clientid50bfa1f26b6933a972000002 +2012-12-05 14:35:14.278538 D [43378:70172547439320] [50bfa1f16b6933a972000001] (0.1ms) ResilientSocket::TCPClient ["localhost:2000"] -- #write ==> sent 44 bytes +2012-12-05 14:35:14.278605 D [43378:70172547439320] [50bfa1f16b6933a972000001] RubySkynet::Connection: localhost:2000 -- Sending Header +2012-12-05 14:35:14.278616 T [43378:70172547439320] [50bfa1f16b6933a972000001] RubySkynet::Connection: localhost:2000 -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 14:35:14.278639 T [43378:70172547439320] [50bfa1f16b6933a972000001] ResilientSocket::TCPClient ["localhost:2000"] -- #write ==> sending -- 5servicemethodTestService.Forwardseq +2012-12-05 14:35:14.278868 D [43378:70172547439320] [50bfa1f16b6933a972000001] (0.2ms) ResilientSocket::TCPClient ["localhost:2000"] -- #write ==> sent 53 bytes +2012-12-05 14:35:14.279088 D [43378:70172547439320] [50bfa1f16b6933a972000001] RubySkynet::Connection: localhost:2000 -- Sending Request +2012-12-05 14:35:14.279098 T [43378:70172547439320] [50bfa1f16b6933a972000001] RubySkynet::Connection: localhost:2000 -- Request -- {"clientid"=>"50bfa1f26b6933a972000002", "in"=>"\x10\x00\x00\x00\x10value\x00\x05\x00\x00\x00\x00", "method"=>"echo", "requestinfo"=>{"requestid"=>"50bfa1f16b6933a972000001", "retrycount"=>0, "originaddress"=>""}} +2012-12-05 14:35:14.279104 T [43378:70172547439320] [50bfa1f16b6933a972000001] RubySkynet::Connection: localhost:2000 -- Parameters: -- {:value=>5} +2012-12-05 14:35:14.279127 T [43378:70172547439320] [50bfa1f16b6933a972000001] ResilientSocket::TCPClient ["localhost:2000"] -- #write ==> sending -- clientid50bfa1f26b6933a972000002invaluemethodechorequestinfoQrequestid50bfa1f16b6933a972000001retrycountoriginaddress +2012-12-05 14:35:14.279173 D [43378:70172547439320] [50bfa1f16b6933a972000001] (0.0ms) ResilientSocket::TCPClient ["localhost:2000"] -- #write ==> sent 180 bytes +2012-12-05 14:35:14.279191 D [43378:70172547439320] [50bfa1f16b6933a972000001] RubySkynet::Connection: localhost:2000 -- Reading header from server +2012-12-05 14:35:14.280714 D [43378:70172555892360] RubySkynet::Server -- +****************** +2012-12-05 14:35:14.280731 D [43378:70172555892360] RubySkynet::Server -- Received Request +2012-12-05 14:35:14.280743 T [43378:70172555892360] RubySkynet::Server -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 14:35:14.281066 T [43378:70172555892360] RubySkynet::Server -- Request -- {"clientid"=>"50bfa1f26b6933a972000002", "in"=>"\x10\x00\x00\x00\x10value\x00\x05\x00\x00\x00\x00", "method"=>"echo", "requestinfo"=>{"requestid"=>"50bfa1f16b6933a972000001", "retrycount"=>0, "originaddress"=>""}} +2012-12-05 14:35:14.281095 T [43378:70172555892360] RubySkynet::Server -- Parameters -- {"value"=>5} +2012-12-05 14:35:14.281123 T [43378:70172555892360] RubySkynet::Server -- Method Call: echo with parameters: -- {"value"=>5} +2012-12-05 14:35:14.281171 D [43378:70172555892360] (0.1ms) RubySkynet::Server -- Called: TestService#echo -- RuntimeError: Invalid Skynet RPC call, method: echo does not exist for service: TestService +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/server.rb:174:in `block in on_message' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_debug' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/server.rb:169:in `on_message' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/server.rb:209:in `handle_connection' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/celluloid-0.12.3/lib/celluloid/calls.rb:99:in `dispatch' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/celluloid-0.12.3/lib/celluloid/actor.rb:323:in `block in handle_message' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/celluloid-0.12.3/lib/celluloid/tasks/task_fiber.rb:22:in `block in initialize' +2012-12-05 14:35:14.281242 E [43378:70172555892360] Celluloid -- RubySkynet::Server crashed! +RuntimeError: Invalid Skynet RPC call, method: echo does not exist for service: TestService +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/server.rb:174:in `block in on_message' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_debug' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/server.rb:169:in `on_message' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/server.rb:209:in `handle_connection' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/celluloid-0.12.3/lib/celluloid/calls.rb:99:in `dispatch' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/celluloid-0.12.3/lib/celluloid/actor.rb:323:in `block in handle_message' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/celluloid-0.12.3/lib/celluloid/tasks/task_fiber.rb:22:in `block in initialize' +2012-12-05 14:35:14.281305 I [43378:70172555892360] RubySkynet::Server -- Skynet Server Stopped +2012-12-05 14:35:14.281379 D [43378:70172555892360] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fa4a3829d18>(70172547305100) self=connections=70172547305100 checked_out=70172547305100 with_map= +2012-12-05 14:35:14.281731 T [43378:70172555892360] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- C"2/services/TestService/1/Development/localhost/2000H +2012-12-05 14:35:14.281776 D [43378:70172555892360] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 71 bytes +2012-12-05 14:35:14.284681 T [43378:70172548934820] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00=" +2012-12-05 14:35:14.284693 D [43378:70172548934820] (1024.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:35:14.284770 T [43378:70172548934820] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\b\x18\xC7_*2/services/TestService/1/Development/localhost/20002\x00" +2012-12-05 14:35:14.284776 D [43378:70172548934820] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 61 bytes +2012-12-05 14:35:14.284914 D [43378:70172548934820] RubySkynet::Registry -- #monitor Service stopped, remove: TestService/1/Development => localhost:2000 +2012-12-05 14:35:14.284934 I [43378:70172548934820] RubySkynet::Registry -- Calling callback for server: localhost:2000 +2012-12-05 14:35:14.284963 D [43378:70172548934820] RubySkynet::Connection -- Connection pool for server:localhost:2000 has been released +2012-12-05 14:35:14.284974 D [43378:70172548934820] RubySkynet::Registry -- Updated registry -- {"TestService/1/Development"=>["localhost:2100"], "TestService/1/Test"=>["localhost:2100"]} +2012-12-05 14:35:14.285217 T [43378:70172548934820] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H_ +2012-12-05 14:35:14.285296 D [43378:70172548934820] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 14:35:14.287048 T [43378:70172555892360] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 14:35:14.287128 D [43378:70172555892360] (5.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:35:14.287314 T [43378:70172555892360] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00" +2012-12-05 14:35:14.287321 D [43378:70172555892360] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 2 bytes +2012-12-05 14:35:14.287492 D [43378:70172555892360] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fa4a3829d18>(70172547305100) self=connections=70172547305100 checked_out= with_map= +2012-12-05 14:35:14.287624 I [43378:70172555892360] RubySkynet::Server -- Skynet Services De-registered in Doozer +2012-12-05 14:35:42.124066 D [43378:70172547439320] [50bfa1f16b6933a972000001] (27844.9ms) ResilientSocket::TCPClient ["localhost:2000"] -- #read <== read 4 bytes -- IRB::Abort: abort then interrupt! +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:88:in `irb_abort' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:257:in `signal_handle' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:65:in `block in start' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:378:in `call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:378:in `select' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:378:in `block in read' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_debug' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:374:in `read' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/common.rb:10:in `read_bson_document' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:178:in `rpc_call' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:65:in `block (3 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/gene_pool-1.3.0/lib/gene_pool.rb:134:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:214:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:64:in `block (2 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_info' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:60:in `block in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:126:in `with_tags' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:59:in `call' +(irb):23:in `irb_binding' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/workspace.rb:80:in `eval' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/workspace.rb:80:in `evaluate' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/context.rb:254:in `evaluate' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:159:in `block (2 levels) in eval_input' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:273:in `signal_status' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:156:in `block in eval_input' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:243:in `block (2 levels) in each_top_level_statement' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:229:in `loop' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:229:in `block in each_top_level_statement' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:228:in `catch' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:228:in `each_top_level_statement' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:155:in `eval_input' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:70:in `block in start' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:69:in `catch' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:69:in `start' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/bin/irb:16:in `<main>' +2012-12-05 14:35:42.124140 I [43378:70172547439320] [50bfa1f16b6933a972000001] (28873.7ms) RubySkynet::Client: TestService/*/Development -- Called Skynet Service: TestService.echo -- IRB::Abort: abort then interrupt! +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:88:in `irb_abort' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:257:in `signal_handle' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:65:in `block in start' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:378:in `call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:378:in `select' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:378:in `block in read' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_debug' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:374:in `read' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/common.rb:10:in `read_bson_document' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:178:in `rpc_call' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:65:in `block (3 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/gene_pool-1.3.0/lib/gene_pool.rb:134:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:214:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:64:in `block (2 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_info' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:60:in `block in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:126:in `with_tags' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:59:in `call' +(irb):23:in `irb_binding' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/workspace.rb:80:in `eval' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/workspace.rb:80:in `evaluate' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/context.rb:254:in `evaluate' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:159:in `block (2 levels) in eval_input' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:273:in `signal_status' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:156:in `block in eval_input' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:243:in `block (2 levels) in each_top_level_statement' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:229:in `loop' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:229:in `block in each_top_level_statement' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:228:in `catch' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:228:in `each_top_level_statement' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:155:in `eval_input' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:70:in `block in start' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:69:in `catch' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:69:in `start' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/bin/irb:16:in `<main>' +2012-12-05 14:35:43.075010 I [43378:70172547439320] Celluloid -- Terminating 4 actors... +2012-12-05 14:35:43.076187 I [43378:70172547439320] Celluloid -- Shutdown completed cleanly +2012-12-05 14:35:47.155653 D [43399:70195561585360] RubySkynet::Server -- Registering Service: TestService with name: TestService +2012-12-05 14:35:47.168465 D [43399:70195562949140] RubySkynet::Registry -- Doozer Connection Pool: Created connection #1 #<Thread:0x007faf5b305428>(70195562949140) for Doozer Connection Pool +2012-12-05 14:35:47.204024 T [43399:70195562949140] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007faf5b029d08@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 14:35:47.208425 D [43399:70195562949140] RubySkynet::Registry -- Doozer Connection Pool: Renewed connection old=70195562949140 new=#<RubySkynet::Doozer::Client:0x007faf5b02a1b8>(70195561451740) +2012-12-05 14:35:47.208474 D [43399:70195562949140] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007faf5b02a1b8>(70195561451740) self=connections=70195561451740 checked_out=70195561451740 with_map= +2012-12-05 14:35:47.220561 T [43399:70195562949140] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "2/services/TestService/1/Development/localhost/2000*{"Config":{"UUID":"localhost:2000-43399-TestService-70195562566580","Name":"TestService","Version":"1","Region":"Development","ServiceAddr":{"IPAddress":"localhost","Port":2000,"MaxPort":2999}},"Registered":true}H +2012-12-05 14:35:47.220680 D [43399:70195562949140] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 286 bytes +2012-12-05 14:35:47.222894 T [43399:70195562949140] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 14:35:47.222907 D [43399:70195562949140] (2.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:35:47.225856 T [43399:70195562949140] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xE9_" +2012-12-05 14:35:47.225980 D [43399:70195562949140] (2.9ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 14:35:47.226259 D [43399:70195562949140] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007faf5b02a1b8>(70195561451740) self=connections=70195561451740 checked_out= with_map= +2012-12-05 14:35:47.226459 I [43399:70195562949140] RubySkynet::Server -- Starting listener on localhost:2000 +2012-12-05 14:35:47.226473 D [43399:70195562949140] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 14:35:47.232423 D [43399:70195561585360] [50bfa2136b6933a987000001] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007faf5b02a1b8>(70195561451740) self=connections=70195561451740 checked_out=70195561451740 with_map= +2012-12-05 14:35:47.232636 T [43399:70195561585360] [50bfa2136b6933a987000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  +2012-12-05 14:35:47.233061 D [43399:70195561585360] [50bfa2136b6933a987000001] (0.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 8 bytes +2012-12-05 14:35:47.233264 T [43399:70195561585360] [50bfa2136b6933a987000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 14:35:47.233272 D [43399:70195561585360] [50bfa2136b6933a987000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:35:47.233334 T [43399:70195561585360] [50bfa2136b6933a987000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xE9_" +2012-12-05 14:35:47.233339 D [43399:70195561585360] [50bfa2136b6933a987000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 14:35:47.233618 T [43399:70195561585360] [50bfa2136b6933a987000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H_ +2012-12-05 14:35:47.233660 D [43399:70195561585360] [50bfa2136b6933a987000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-05 14:35:47.234407 T [43399:70195561585360] [50bfa2136b6933a987000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01\x12" +2012-12-05 14:35:47.234461 D [43399:70195561585360] [50bfa2136b6933a987000001] (0.8ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:35:47.234536 T [43399:70195561585360] [50bfa2136b6933a987000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xE9_*2/services/TestService/1/Development/localhost/20002\xD4\x01{\"Config\":{\"UUID\":\"localhost:2000-43399-TestService-70195562566580\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Development\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2000,\"MaxPort\":2999}},\"Registered\":true}" +2012-12-05 14:35:47.234542 D [43399:70195561585360] [50bfa2136b6933a987000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 274 bytes +2012-12-05 14:35:47.234885 T [43399:70195561585360] [50bfa2136b6933a987000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H_ +2012-12-05 14:35:47.234928 D [43399:70195561585360] [50bfa2136b6933a987000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-05 14:35:47.235667 T [43399:70195561585360] [50bfa2136b6933a987000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01\x11" +2012-12-05 14:35:47.235728 D [43399:70195561585360] [50bfa2136b6933a987000001] (0.8ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:35:47.235981 T [43399:70195561585360] [50bfa2136b6933a987000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18B*2/services/TestService/1/Development/localhost/21002\xD4\x01{\"Config\":{\"UUID\":\"localhost:2100-38983-TestService-70336365097060\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Development\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-05 14:35:47.236036 D [43399:70195561585360] [50bfa2136b6933a987000001] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 273 bytes +2012-12-05 14:35:47.236315 T [43399:70195561585360] [50bfa2136b6933a987000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H_ +2012-12-05 14:35:47.236357 D [43399:70195561585360] [50bfa2136b6933a987000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-05 14:35:47.236816 T [43399:70195561585360] [50bfa2136b6933a987000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01\x04" +2012-12-05 14:35:47.236828 D [43399:70195561585360] [50bfa2136b6933a987000001] (0.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:35:47.236906 T [43399:70195561585360] [50bfa2136b6933a987000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xA6U*+/services/TestService/1/Test/localhost/21002\xCD\x01{\"Config\":{\"UUID\":\"localhost:2100-42796-TestService-70255821087020\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-05 14:35:47.236912 D [43399:70195561585360] [50bfa2136b6933a987000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 260 bytes +2012-12-05 14:35:47.237180 T [43399:70195561585360] [50bfa2136b6933a987000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H_ +2012-12-05 14:35:47.237228 D [43399:70195561585360] [50bfa2136b6933a987000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-05 14:35:47.237707 T [43399:70195561585360] [50bfa2136b6933a987000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 14:35:47.237791 D [43399:70195561585360] [50bfa2136b6933a987000001] (0.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:35:47.237854 T [43399:70195561585360] [50bfa2136b6933a987000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\xA0\x06\b" +2012-12-05 14:35:47.237859 D [43399:70195561585360] [50bfa2136b6933a987000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 14:35:47.238083 D [43399:70195561585360] [50bfa2136b6933a987000001] RubySkynet::Registry -- #start_monitoring Add Service: TestService/1/Development => localhost:2000 +2012-12-05 14:35:47.238132 D [43399:70195561585360] [50bfa2136b6933a987000001] RubySkynet::Registry -- #start_monitoring Add Service: TestService/1/Development => localhost:2100 +2012-12-05 14:35:47.238178 D [43399:70195561585360] [50bfa2136b6933a987000001] RubySkynet::Registry -- #start_monitoring Add Service: TestService/1/Test => localhost:2100 +2012-12-05 14:35:47.238214 D [43399:70195561585360] [50bfa2136b6933a987000001] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007faf5b02a1b8>(70195561451740) self=connections=70195561451740 checked_out= with_map= +2012-12-05 14:35:47.238747 I [43399:70195566339400] RubySkynet::Registry -- Start monitoring /services/*/*/*/*/* +2012-12-05 14:35:47.238786 T [43399:70195566339400] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007faf5b979de0@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 14:35:47.240002 W [43399:70195561585360] [50bfa2136b6933a987000001] ResilientSocket::TCPClient ["localhost:2100"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 1 +2012-12-05 14:35:47.240490 T [43399:70195566339400] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H_ +2012-12-05 14:35:47.240533 D [43399:70195566339400] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 14:35:47.341391 W [43399:70195561585360] [50bfa2136b6933a987000001] ResilientSocket::TCPClient ["localhost:2100"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 2 +2012-12-05 14:35:47.442702 W [43399:70195561585360] [50bfa2136b6933a987000001] ResilientSocket::TCPClient ["localhost:2100"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 3 +2012-12-05 14:35:47.543817 W [43399:70195561585360] [50bfa2136b6933a987000001] ResilientSocket::TCPClient ["localhost:2100"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 4 +2012-12-05 14:35:47.645344 W [43399:70195561585360] [50bfa2136b6933a987000001] ResilientSocket::TCPClient ["localhost:2100"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 5 +2012-12-05 14:35:47.746653 E [43399:70195561585360] [50bfa2136b6933a987000001] ResilientSocket::TCPClient ["localhost:2100"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Giving up after 5 retries +2012-12-05 14:35:47.746762 I [43399:70195561585360] [50bfa2136b6933a987000001] (508.2ms) ResilientSocket::TCPClient ["localhost:2100"] -- Connecting to server localhost:2100 -- ResilientSocket::ConnectionFailure: After 5 connection attempts to host 'localhost:2100': Errno::ECONNREFUSED: Connection refused - connect(2) +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:578:in `rescue in block in connect_to_server' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:549:in `block in connect_to_server' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_info' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:542:in `connect_to_server' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:305:in `connect' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:233:in `initialize' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:104:in `new' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:104:in `initialize' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:235:in `new' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:235:in `block in new_connection_pool' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/gene_pool-1.3.0/lib/gene_pool.rb:193:in `call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/gene_pool-1.3.0/lib/gene_pool.rb:193:in `renew' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/gene_pool-1.3.0/lib/gene_pool.rb:97:in `checkout' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/gene_pool-1.3.0/lib/gene_pool.rb:129:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:214:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:64:in `block (2 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_info' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:60:in `block in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:126:in `with_tags' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:59:in `call' +(irb):23:in `irb_binding' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/workspace.rb:80:in `eval' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/workspace.rb:80:in `evaluate' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/context.rb:254:in `evaluate' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:159:in `block (2 levels) in eval_input' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:273:in `signal_status' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:156:in `block in eval_input' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:243:in `block (2 levels) in each_top_level_statement' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:229:in `loop' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:229:in `block in each_top_level_statement' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:228:in `catch' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:228:in `each_top_level_statement' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:155:in `eval_input' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:70:in `block in start' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:69:in `catch' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:69:in `start' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/bin/irb:16:in `<main>' +2012-12-05 14:35:47.747717 D [43399:70195561585360] [50bfa2136b6933a987000001] RubySkynet::Connection: localhost:2000 -- Waiting for Service Handshake +2012-12-05 14:35:47.748768 D [43399:70195562949140] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 14:35:47.748864 D [43399:70195562949140] RubySkynet::Server -- Client connected, waiting for data from client +2012-12-05 14:35:47.749349 T [43399:70195561585360] [50bfa2136b6933a987000001] ResilientSocket::TCPClient ["localhost:2000"] -- #read <== received -- "9\x00\x00\x00" +2012-12-05 14:35:47.749358 D [43399:70195561585360] [50bfa2136b6933a987000001] (0.9ms) ResilientSocket::TCPClient ["localhost:2000"] -- #read <== read 4 bytes +2012-12-05 14:35:47.749698 T [43399:70195561585360] [50bfa2136b6933a987000001] ResilientSocket::TCPClient ["localhost:2000"] -- #read <== received -- "\bregistered\x00\x01\x02clientid\x00\x19\x00\x00\x0050bfa2136b6933a987000002\x00\x00" +2012-12-05 14:35:47.749704 D [43399:70195561585360] [50bfa2136b6933a987000001] (0.3ms) ResilientSocket::TCPClient ["localhost:2000"] -- #read <== read 53 bytes +2012-12-05 14:35:47.749752 T [43399:70195561585360] [50bfa2136b6933a987000001] RubySkynet::Connection: localhost:2000 -- Service Handshake -- {"registered"=>true, "clientid"=>"50bfa2136b6933a987000002"} +2012-12-05 14:35:47.749764 D [43399:70195561585360] [50bfa2136b6933a987000001] RubySkynet::Connection: localhost:2000 -- Sending Client Handshake +2012-12-05 14:35:47.749770 T [43399:70195561585360] [50bfa2136b6933a987000001] RubySkynet::Connection: localhost:2000 -- Client Handshake -- {"clientid"=>"50bfa2136b6933a987000002"} +2012-12-05 14:35:47.749793 T [43399:70195561585360] [50bfa2136b6933a987000001] ResilientSocket::TCPClient ["localhost:2000"] -- #write ==> sending -- ,clientid50bfa2136b6933a987000002 +2012-12-05 14:35:47.749884 D [43399:70195561585360] [50bfa2136b6933a987000001] (0.1ms) ResilientSocket::TCPClient ["localhost:2000"] -- #write ==> sent 44 bytes +2012-12-05 14:35:47.749941 D [43399:70195561585360] [50bfa2136b6933a987000001] RubySkynet::Connection: localhost:2000 -- Sending Header +2012-12-05 14:35:47.749951 T [43399:70195561585360] [50bfa2136b6933a987000001] RubySkynet::Connection: localhost:2000 -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 14:35:47.749972 T [43399:70195561585360] [50bfa2136b6933a987000001] ResilientSocket::TCPClient ["localhost:2000"] -- #write ==> sending -- 5servicemethodTestService.Forwardseq +2012-12-05 14:35:47.750017 D [43399:70195561585360] [50bfa2136b6933a987000001] (0.0ms) ResilientSocket::TCPClient ["localhost:2000"] -- #write ==> sent 53 bytes +2012-12-05 14:35:47.750052 D [43399:70195561585360] [50bfa2136b6933a987000001] RubySkynet::Connection: localhost:2000 -- Sending Request +2012-12-05 14:35:47.750059 T [43399:70195561585360] [50bfa2136b6933a987000001] RubySkynet::Connection: localhost:2000 -- Request -- {"clientid"=>"50bfa2136b6933a987000002", "in"=>"\x10\x00\x00\x00\x10value\x00\x05\x00\x00\x00\x00", "method"=>"echo", "requestinfo"=>{"requestid"=>"50bfa2136b6933a987000001", "retrycount"=>0, "originaddress"=>""}} +2012-12-05 14:35:47.750064 T [43399:70195561585360] [50bfa2136b6933a987000001] RubySkynet::Connection: localhost:2000 -- Parameters: -- {:value=>5} +2012-12-05 14:35:47.750081 T [43399:70195561585360] [50bfa2136b6933a987000001] ResilientSocket::TCPClient ["localhost:2000"] -- #write ==> sending -- clientid50bfa2136b6933a987000002invaluemethodechorequestinfoQrequestid50bfa2136b6933a987000001retrycountoriginaddress +2012-12-05 14:35:47.751458 D [43399:70195561585360] [50bfa2136b6933a987000001] (1.4ms) ResilientSocket::TCPClient ["localhost:2000"] -- #write ==> sent 180 bytes +2012-12-05 14:35:47.751475 D [43399:70195561585360] [50bfa2136b6933a987000001] RubySkynet::Connection: localhost:2000 -- Reading header from server +2012-12-05 14:35:47.752105 D [43399:70195562949140] RubySkynet::Server -- +****************** +2012-12-05 14:35:47.752123 D [43399:70195562949140] RubySkynet::Server -- Received Request +2012-12-05 14:35:47.752133 T [43399:70195562949140] RubySkynet::Server -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 14:35:47.752359 T [43399:70195562949140] RubySkynet::Server -- Request -- {"clientid"=>"50bfa2136b6933a987000002", "in"=>"\x10\x00\x00\x00\x10value\x00\x05\x00\x00\x00\x00", "method"=>"echo", "requestinfo"=>{"requestid"=>"50bfa2136b6933a987000001", "retrycount"=>0, "originaddress"=>""}} +2012-12-05 14:35:47.752381 T [43399:70195562949140] RubySkynet::Server -- Parameters -- {"value"=>5} +2012-12-05 14:35:47.752404 T [43399:70195562949140] RubySkynet::Server -- Method Call: echo with parameters: -- {"value"=>5} +2012-12-05 14:35:47.752416 D [43399:70195562949140] (0.0ms) RubySkynet::Server -- Called: TestService#echo +2012-12-05 14:35:47.752433 D [43399:70195562949140] RubySkynet::Server -- Sending Header +2012-12-05 14:35:47.752489 D [43399:70195562949140] RubySkynet::Server -- Sending Reply +2012-12-05 14:35:47.752500 T [43399:70195562949140] RubySkynet::Server -- Reply -- {"value"=>5} +2012-12-05 14:35:47.752847 T [43399:70195561585360] [50bfa2136b6933a987000001] ResilientSocket::TCPClient ["localhost:2000"] -- #read <== received -- "5\x00\x00\x00" +2012-12-05 14:35:47.752855 D [43399:70195561585360] [50bfa2136b6933a987000001] (1.4ms) ResilientSocket::TCPClient ["localhost:2000"] -- #read <== read 4 bytes +2012-12-05 14:35:47.752909 T [43399:70195561585360] [50bfa2136b6933a987000001] ResilientSocket::TCPClient ["localhost:2000"] -- #read <== received -- "\x02servicemethod\x00\x14\x00\x00\x00TestService.Forward\x00\x10seq\x00\x00\x00\x00\x00\x00" +2012-12-05 14:35:47.752914 D [43399:70195561585360] [50bfa2136b6933a987000001] (0.0ms) ResilientSocket::TCPClient ["localhost:2000"] -- #read <== read 49 bytes +2012-12-05 14:35:47.752945 D [43399:70195561585360] [50bfa2136b6933a987000001] RubySkynet::Connection: localhost:2000 -- Response Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 14:35:47.752952 D [43399:70195561585360] [50bfa2136b6933a987000001] RubySkynet::Connection: localhost:2000 -- Reading response from server +2012-12-05 14:35:47.752997 T [43399:70195561585360] [50bfa2136b6933a987000001] ResilientSocket::TCPClient ["localhost:2000"] -- #read <== received -- "\x1F\x00\x00\x00" +2012-12-05 14:35:47.753002 D [43399:70195561585360] [50bfa2136b6933a987000001] (0.0ms) ResilientSocket::TCPClient ["localhost:2000"] -- #read <== read 4 bytes +2012-12-05 14:35:47.753046 T [43399:70195561585360] [50bfa2136b6933a987000001] ResilientSocket::TCPClient ["localhost:2000"] -- #read <== received -- "\x02out\x00\x11\x00\x00\x00\x10\x00\x00\x00\x10value\x00\x05\x00\x00\x00\x00\x00\x00" +2012-12-05 14:35:47.753051 D [43399:70195561585360] [50bfa2136b6933a987000001] (0.0ms) ResilientSocket::TCPClient ["localhost:2000"] -- #read <== read 27 bytes +2012-12-05 14:35:47.753076 T [43399:70195561585360] [50bfa2136b6933a987000001] RubySkynet::Connection: localhost:2000 -- Response -- {"out"=>"\x10\x00\x00\x00\x10value\x00\x05\x00\x00\x00\x00"} +2012-12-05 14:35:47.753098 T [43399:70195561585360] [50bfa2136b6933a987000001] RubySkynet::Connection: localhost:2000 -- Return Value -- {"value"=>5} +2012-12-05 14:35:47.753117 I [43399:70195561585360] [50bfa2136b6933a987000001] (522.4ms) RubySkynet::Client: TestService/*/Development -- Called Skynet Service: TestService.echo +2012-12-05 14:35:53.328484 E [43399:70195563214380] Celluloid -- RubySkynet::Server crashed! +Errno::EADDRINUSE: Address already in use - bind(2) +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/celluloid-io-0.12.0/lib/celluloid/io/tcp_server.rb:11:in `initialize' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/celluloid-io-0.12.0/lib/celluloid/io/tcp_server.rb:11:in `new' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/celluloid-io-0.12.0/lib/celluloid/io/tcp_server.rb:11:in `initialize' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/server.rb:146:in `new' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/server.rb:146:in `start' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/celluloid-0.12.3/lib/celluloid/calls.rb:57:in `dispatch' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/celluloid-0.12.3/lib/celluloid/actor.rb:323:in `block in handle_message' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/celluloid-0.12.3/lib/celluloid/tasks/task_fiber.rb:22:in `block in initialize' +2012-12-05 14:35:53.328555 I [43399:70195563214380] RubySkynet::Server -- Skynet Server Stopped +2012-12-05 14:35:53.328648 D [43399:70195563214380] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007faf5b02a1b8>(70195561451740) self=connections=70195561451740 checked_out=70195561451740 with_map= +2012-12-05 14:35:53.329055 T [43399:70195563214380] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- C"2/services/TestService/1/Development/localhost/2000H +2012-12-05 14:35:53.329188 D [43399:70195563214380] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 71 bytes +2012-12-05 14:35:53.337936 T [43399:70195566339400] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00=" +2012-12-05 14:35:53.337958 D [43399:70195566339400] (6097.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:35:53.338714 T [43399:70195563214380] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 14:35:53.338725 D [43399:70195563214380] (9.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:35:53.340232 T [43399:70195566339400] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\b\x18\xF0_*2/services/TestService/1/Development/localhost/20002\x00" +2012-12-05 14:35:53.340239 D [43399:70195566339400] (2.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 61 bytes +2012-12-05 14:35:53.340426 D [43399:70195566339400] RubySkynet::Registry -- #monitor Service stopped, remove: TestService/1/Development => localhost:2000 +2012-12-05 14:35:53.340452 I [43399:70195566339400] RubySkynet::Registry -- Calling callback for server: localhost:2000 +2012-12-05 14:35:53.340593 D [43399:70195566339400] RubySkynet::Connection -- Connection pool for server:localhost:2000 has been released +2012-12-05 14:35:53.340606 D [43399:70195566339400] RubySkynet::Registry -- Updated registry -- {"TestService/1/Development"=>["localhost:2100"], "TestService/1/Test"=>["localhost:2100"]} +2012-12-05 14:35:53.343957 T [43399:70195566339400] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H_ +2012-12-05 14:35:53.344073 D [43399:70195566339400] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 14:35:53.344335 T [43399:70195563214380] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00" +2012-12-05 14:35:53.344342 D [43399:70195563214380] (5.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 2 bytes +2012-12-05 14:35:53.344429 D [43399:70195563214380] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007faf5b02a1b8>(70195561451740) self=connections=70195561451740 checked_out= with_map= +2012-12-05 14:35:53.344463 I [43399:70195563214380] RubySkynet::Server -- Skynet Services De-registered in Doozer +2012-12-05 14:35:53.344856 E [43399:70195562949140] Celluloid -- RubySkynet::Server crashed! +NoMethodError: undefined method `unpack' for nil:NilClass +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/common.rb:13:in `read_bson_document' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/server.rb:192:in `handle_connection' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/celluloid-0.12.3/lib/celluloid/calls.rb:99:in `dispatch' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/celluloid-0.12.3/lib/celluloid/actor.rb:323:in `block in handle_message' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/celluloid-0.12.3/lib/celluloid/tasks/task_fiber.rb:22:in `block in initialize' +2012-12-05 14:35:53.344918 I [43399:70195562949140] RubySkynet::Server -- Skynet Server Stopped +2012-12-05 14:35:53.344966 D [43399:70195562949140] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007faf5b02a1b8>(70195561451740) self=connections=70195561451740 checked_out=70195561451740 with_map= +2012-12-05 14:35:53.344995 D [43399:70195562949140] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007faf5b02a1b8>(70195561451740) self=connections=70195561451740 checked_out= with_map= +2012-12-05 14:35:53.345007 I [43399:70195562949140] RubySkynet::Server -- Skynet Services De-registered in Doozer +2012-12-05 14:36:19.224381 I [43399:70195561585360] Celluloid -- Terminating 4 actors... +2012-12-05 14:36:19.225808 I [43399:70195561585360] Celluloid -- Shutdown completed cleanly +2012-12-05 14:36:28.482210 D [43423:70278151625440] RubySkynet::Server -- Registering Service: TestService with name: TestService +2012-12-05 14:36:28.495958 D [43423:70278152979820] RubySkynet::Registry -- Doozer Connection Pool: Created connection #1 #<Thread:0x007fd5d0b00ad8>(70278152979820) for Doozer Connection Pool +2012-12-05 14:36:28.528679 T [43423:70278152979820] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007fd5d0829da0@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 14:36:28.531741 D [43423:70278152979820] RubySkynet::Registry -- Doozer Connection Pool: Renewed connection old=70278152979820 new=#<RubySkynet::Doozer::Client:0x007fd5d082a228>(70278151491860) +2012-12-05 14:36:28.531782 D [43423:70278152979820] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fd5d082a228>(70278151491860) self=connections=70278151491860 checked_out=70278151491860 with_map= +2012-12-05 14:36:28.543596 T [43423:70278152979820] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "2/services/TestService/1/Development/localhost/2000*{"Config":{"UUID":"localhost:2000-43423-TestService-70278152531080","Name":"TestService","Version":"1","Region":"Development","ServiceAddr":{"IPAddress":"localhost","Port":2000,"MaxPort":2999}},"Registered":true}H +2012-12-05 14:36:28.544482 D [43423:70278152979820] (0.9ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 286 bytes +2012-12-05 14:36:28.545597 T [43423:70278152979820] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 14:36:28.545609 D [43423:70278152979820] (0.9ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:36:28.546038 T [43423:70278152979820] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\x94`" +2012-12-05 14:36:28.546171 D [43423:70278152979820] (0.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 14:36:28.546322 D [43423:70278152979820] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fd5d082a228>(70278151491860) self=connections=70278151491860 checked_out= with_map= +2012-12-05 14:36:28.548106 I [43423:70278152979820] RubySkynet::Server -- Starting listener on localhost:2000 +2012-12-05 14:36:28.548601 D [43423:70278152979820] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 14:36:28.555491 D [43423:70278151625440] [50bfa23c6b6933a99f000001] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fd5d082a228>(70278151491860) self=connections=70278151491860 checked_out=70278151491860 with_map= +2012-12-05 14:36:28.555736 T [43423:70278151625440] [50bfa23c6b6933a99f000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  +2012-12-05 14:36:28.555971 D [43423:70278151625440] [50bfa23c6b6933a99f000001] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 8 bytes +2012-12-05 14:36:28.556111 T [43423:70278151625440] [50bfa23c6b6933a99f000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 14:36:28.556117 D [43423:70278151625440] [50bfa23c6b6933a99f000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:36:28.556447 T [43423:70278151625440] [50bfa23c6b6933a99f000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\x94`" +2012-12-05 14:36:28.556492 D [43423:70278151625440] [50bfa23c6b6933a99f000001] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 14:36:28.556769 T [43423:70278151625440] [50bfa23c6b6933a99f000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H` +2012-12-05 14:36:28.556811 D [43423:70278151625440] [50bfa23c6b6933a99f000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-05 14:36:28.557289 T [43423:70278151625440] [50bfa23c6b6933a99f000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01\x12" +2012-12-05 14:36:28.557326 D [43423:70278151625440] [50bfa23c6b6933a99f000001] (0.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:36:28.557399 T [43423:70278151625440] [50bfa23c6b6933a99f000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\x94`*2/services/TestService/1/Development/localhost/20002\xD4\x01{\"Config\":{\"UUID\":\"localhost:2000-43423-TestService-70278152531080\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Development\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2000,\"MaxPort\":2999}},\"Registered\":true}" +2012-12-05 14:36:28.557405 D [43423:70278151625440] [50bfa23c6b6933a99f000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 274 bytes +2012-12-05 14:36:28.557685 T [43423:70278151625440] [50bfa23c6b6933a99f000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H` +2012-12-05 14:36:28.558227 D [43423:70278151625440] [50bfa23c6b6933a99f000001] (0.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-05 14:36:28.558570 T [43423:70278151625440] [50bfa23c6b6933a99f000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01\x11" +2012-12-05 14:36:28.558580 D [43423:70278151625440] [50bfa23c6b6933a99f000001] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:36:28.558649 T [43423:70278151625440] [50bfa23c6b6933a99f000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18B*2/services/TestService/1/Development/localhost/21002\xD4\x01{\"Config\":{\"UUID\":\"localhost:2100-38983-TestService-70336365097060\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Development\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-05 14:36:28.558655 D [43423:70278151625440] [50bfa23c6b6933a99f000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 273 bytes +2012-12-05 14:36:28.558939 T [43423:70278151625440] [50bfa23c6b6933a99f000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H` +2012-12-05 14:36:28.558981 D [43423:70278151625440] [50bfa23c6b6933a99f000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-05 14:36:28.559541 T [43423:70278151625440] [50bfa23c6b6933a99f000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01\x04" +2012-12-05 14:36:28.559578 D [43423:70278151625440] [50bfa23c6b6933a99f000001] (0.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:36:28.559836 T [43423:70278151625440] [50bfa23c6b6933a99f000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xA6U*+/services/TestService/1/Test/localhost/21002\xCD\x01{\"Config\":{\"UUID\":\"localhost:2100-42796-TestService-70255821087020\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-05 14:36:28.559864 D [43423:70278151625440] [50bfa23c6b6933a99f000001] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 260 bytes +2012-12-05 14:36:28.560189 T [43423:70278151625440] [50bfa23c6b6933a99f000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H` +2012-12-05 14:36:28.560231 D [43423:70278151625440] [50bfa23c6b6933a99f000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-05 14:36:28.560742 T [43423:70278151625440] [50bfa23c6b6933a99f000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 14:36:28.560753 D [43423:70278151625440] [50bfa23c6b6933a99f000001] (0.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:36:28.561052 T [43423:70278151625440] [50bfa23c6b6933a99f000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\xA0\x06\b" +2012-12-05 14:36:28.561088 D [43423:70278151625440] [50bfa23c6b6933a99f000001] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 14:36:28.561260 D [43423:70278151625440] [50bfa23c6b6933a99f000001] RubySkynet::Registry -- #start_monitoring Add Service: TestService/1/Development => localhost:2000 +2012-12-05 14:36:28.561307 D [43423:70278151625440] [50bfa23c6b6933a99f000001] RubySkynet::Registry -- #start_monitoring Add Service: TestService/1/Development => localhost:2100 +2012-12-05 14:36:28.561351 D [43423:70278151625440] [50bfa23c6b6933a99f000001] RubySkynet::Registry -- #start_monitoring Add Service: TestService/1/Test => localhost:2100 +2012-12-05 14:36:28.561387 D [43423:70278151625440] [50bfa23c6b6933a99f000001] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fd5d082a228>(70278151491860) self=connections=70278151491860 checked_out= with_map= +2012-12-05 14:36:28.562524 I [43423:70278152615860] RubySkynet::Registry -- Start monitoring /services/*/*/*/*/* +2012-12-05 14:36:28.562572 T [43423:70278152615860] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007fd5d0a67ec8@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 14:36:28.563423 T [43423:70278152615860] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H` +2012-12-05 14:36:28.563547 D [43423:70278152615860] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 14:36:28.564013 W [43423:70278151625440] [50bfa23c6b6933a99f000001] ResilientSocket::TCPClient ["localhost:2100"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 1 +2012-12-05 14:36:28.665489 W [43423:70278151625440] [50bfa23c6b6933a99f000001] ResilientSocket::TCPClient ["localhost:2100"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 2 +2012-12-05 14:36:28.766297 W [43423:70278151625440] [50bfa23c6b6933a99f000001] ResilientSocket::TCPClient ["localhost:2100"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 3 +2012-12-05 14:36:28.867742 W [43423:70278151625440] [50bfa23c6b6933a99f000001] ResilientSocket::TCPClient ["localhost:2100"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 4 +2012-12-05 14:36:28.969340 W [43423:70278151625440] [50bfa23c6b6933a99f000001] ResilientSocket::TCPClient ["localhost:2100"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 5 +2012-12-05 14:36:29.070624 E [43423:70278151625440] [50bfa23c6b6933a99f000001] ResilientSocket::TCPClient ["localhost:2100"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Giving up after 5 retries +2012-12-05 14:36:29.070724 I [43423:70278151625440] [50bfa23c6b6933a99f000001] (509.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- Connecting to server localhost:2100 -- ResilientSocket::ConnectionFailure: After 5 connection attempts to host 'localhost:2100': Errno::ECONNREFUSED: Connection refused - connect(2) +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:578:in `rescue in block in connect_to_server' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:549:in `block in connect_to_server' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_info' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:542:in `connect_to_server' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:305:in `connect' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:233:in `initialize' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:104:in `new' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:104:in `initialize' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:235:in `new' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:235:in `block in new_connection_pool' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/gene_pool-1.3.0/lib/gene_pool.rb:193:in `call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/gene_pool-1.3.0/lib/gene_pool.rb:193:in `renew' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/gene_pool-1.3.0/lib/gene_pool.rb:97:in `checkout' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/gene_pool-1.3.0/lib/gene_pool.rb:129:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:214:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:64:in `block (2 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_info' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:60:in `block in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:126:in `with_tags' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:59:in `call' +(irb):23:in `irb_binding' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/workspace.rb:80:in `eval' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/workspace.rb:80:in `evaluate' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/context.rb:254:in `evaluate' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:159:in `block (2 levels) in eval_input' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:273:in `signal_status' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:156:in `block in eval_input' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:243:in `block (2 levels) in each_top_level_statement' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:229:in `loop' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:229:in `block in each_top_level_statement' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:228:in `catch' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:228:in `each_top_level_statement' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:155:in `eval_input' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:70:in `block in start' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:69:in `catch' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:69:in `start' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/bin/irb:16:in `<main>' +2012-12-05 14:36:29.071985 W [43423:70278151625440] [50bfa23c6b6933a99f000001] ResilientSocket::TCPClient ["localhost:2100"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 1 +2012-12-05 14:36:29.173328 W [43423:70278151625440] [50bfa23c6b6933a99f000001] ResilientSocket::TCPClient ["localhost:2100"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 2 +2012-12-05 14:36:29.274236 W [43423:70278151625440] [50bfa23c6b6933a99f000001] ResilientSocket::TCPClient ["localhost:2100"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 3 +2012-12-05 14:36:29.375523 W [43423:70278151625440] [50bfa23c6b6933a99f000001] ResilientSocket::TCPClient ["localhost:2100"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 4 +2012-12-05 14:36:29.476649 W [43423:70278151625440] [50bfa23c6b6933a99f000001] ResilientSocket::TCPClient ["localhost:2100"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 5 +2012-12-05 14:36:29.578120 E [43423:70278151625440] [50bfa23c6b6933a99f000001] ResilientSocket::TCPClient ["localhost:2100"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Giving up after 5 retries +2012-12-05 14:36:29.578212 I [43423:70278151625440] [50bfa23c6b6933a99f000001] (507.2ms) ResilientSocket::TCPClient ["localhost:2100"] -- Connecting to server localhost:2100 -- ResilientSocket::ConnectionFailure: After 5 connection attempts to host 'localhost:2100': Errno::ECONNREFUSED: Connection refused - connect(2) +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:578:in `rescue in block in connect_to_server' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:549:in `block in connect_to_server' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_info' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:542:in `connect_to_server' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:305:in `connect' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:233:in `initialize' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:104:in `new' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:104:in `initialize' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:235:in `new' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:235:in `block in new_connection_pool' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/gene_pool-1.3.0/lib/gene_pool.rb:193:in `call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/gene_pool-1.3.0/lib/gene_pool.rb:193:in `renew' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/gene_pool-1.3.0/lib/gene_pool.rb:97:in `checkout' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/gene_pool-1.3.0/lib/gene_pool.rb:129:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:214:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:64:in `block (2 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_info' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:60:in `block in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:126:in `with_tags' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:59:in `call' +(irb):23:in `irb_binding' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/workspace.rb:80:in `eval' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/workspace.rb:80:in `evaluate' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/context.rb:254:in `evaluate' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:159:in `block (2 levels) in eval_input' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:273:in `signal_status' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:156:in `block in eval_input' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:243:in `block (2 levels) in each_top_level_statement' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:229:in `loop' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:229:in `block in each_top_level_statement' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:228:in `catch' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:228:in `each_top_level_statement' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:155:in `eval_input' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:70:in `block in start' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:69:in `catch' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:69:in `start' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/bin/irb:16:in `<main>' +2012-12-05 14:36:29.579389 W [43423:70278151625440] [50bfa23c6b6933a99f000001] ResilientSocket::TCPClient ["localhost:2100"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 1 +2012-12-05 14:36:29.679983 W [43423:70278151625440] [50bfa23c6b6933a99f000001] ResilientSocket::TCPClient ["localhost:2100"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 2 +2012-12-05 14:36:29.781067 W [43423:70278151625440] [50bfa23c6b6933a99f000001] ResilientSocket::TCPClient ["localhost:2100"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 3 +2012-12-05 14:36:29.882586 W [43423:70278151625440] [50bfa23c6b6933a99f000001] ResilientSocket::TCPClient ["localhost:2100"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 4 +2012-12-05 14:36:29.984609 W [43423:70278151625440] [50bfa23c6b6933a99f000001] ResilientSocket::TCPClient ["localhost:2100"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 5 +2012-12-05 14:36:30.086025 E [43423:70278151625440] [50bfa23c6b6933a99f000001] ResilientSocket::TCPClient ["localhost:2100"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Giving up after 5 retries +2012-12-05 14:36:30.086115 I [43423:70278151625440] [50bfa23c6b6933a99f000001] (507.6ms) ResilientSocket::TCPClient ["localhost:2100"] -- Connecting to server localhost:2100 -- ResilientSocket::ConnectionFailure: After 5 connection attempts to host 'localhost:2100': Errno::ECONNREFUSED: Connection refused - connect(2) +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:578:in `rescue in block in connect_to_server' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:549:in `block in connect_to_server' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_info' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:542:in `connect_to_server' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:305:in `connect' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:233:in `initialize' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:104:in `new' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:104:in `initialize' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:235:in `new' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:235:in `block in new_connection_pool' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/gene_pool-1.3.0/lib/gene_pool.rb:193:in `call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/gene_pool-1.3.0/lib/gene_pool.rb:193:in `renew' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/gene_pool-1.3.0/lib/gene_pool.rb:97:in `checkout' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/gene_pool-1.3.0/lib/gene_pool.rb:129:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:214:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:64:in `block (2 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_info' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:60:in `block in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:126:in `with_tags' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:59:in `call' +(irb):23:in `irb_binding' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/workspace.rb:80:in `eval' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/workspace.rb:80:in `evaluate' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/context.rb:254:in `evaluate' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:159:in `block (2 levels) in eval_input' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:273:in `signal_status' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:156:in `block in eval_input' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:243:in `block (2 levels) in each_top_level_statement' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:229:in `loop' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:229:in `block in each_top_level_statement' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:228:in `catch' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:228:in `each_top_level_statement' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:155:in `eval_input' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:70:in `block in start' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:69:in `catch' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:69:in `start' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/bin/irb:16:in `<main>' +2012-12-05 14:36:30.087058 D [43423:70278151625440] [50bfa23c6b6933a99f000001] RubySkynet::Connection: localhost:2000 -- Waiting for Service Handshake +2012-12-05 14:36:30.088418 D [43423:70278152979820] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 14:36:30.088545 D [43423:70278152979820] RubySkynet::Server -- Client connected, waiting for data from client +2012-12-05 14:36:30.089331 T [43423:70278151625440] [50bfa23c6b6933a99f000001] ResilientSocket::TCPClient ["localhost:2000"] -- #read <== received -- "9\x00\x00\x00" +2012-12-05 14:36:30.089344 D [43423:70278151625440] [50bfa23c6b6933a99f000001] (1.6ms) ResilientSocket::TCPClient ["localhost:2000"] -- #read <== read 4 bytes +2012-12-05 14:36:30.089448 T [43423:70278151625440] [50bfa23c6b6933a99f000001] ResilientSocket::TCPClient ["localhost:2000"] -- #read <== received -- "\bregistered\x00\x01\x02clientid\x00\x19\x00\x00\x0050bfa23e6b6933a99f000002\x00\x00" +2012-12-05 14:36:30.089455 D [43423:70278151625440] [50bfa23c6b6933a99f000001] (0.1ms) ResilientSocket::TCPClient ["localhost:2000"] -- #read <== read 53 bytes +2012-12-05 14:36:30.089503 T [43423:70278151625440] [50bfa23c6b6933a99f000001] RubySkynet::Connection: localhost:2000 -- Service Handshake -- {"registered"=>true, "clientid"=>"50bfa23e6b6933a99f000002"} +2012-12-05 14:36:30.089515 D [43423:70278151625440] [50bfa23c6b6933a99f000001] RubySkynet::Connection: localhost:2000 -- Sending Client Handshake +2012-12-05 14:36:30.089521 T [43423:70278151625440] [50bfa23c6b6933a99f000001] RubySkynet::Connection: localhost:2000 -- Client Handshake -- {"clientid"=>"50bfa23e6b6933a99f000002"} +2012-12-05 14:36:30.089537 T [43423:70278151625440] [50bfa23c6b6933a99f000001] ResilientSocket::TCPClient ["localhost:2000"] -- #write ==> sending -- ,clientid50bfa23e6b6933a99f000002 +2012-12-05 14:36:30.089580 D [43423:70278151625440] [50bfa23c6b6933a99f000001] (0.0ms) ResilientSocket::TCPClient ["localhost:2000"] -- #write ==> sent 44 bytes +2012-12-05 14:36:30.089647 D [43423:70278151625440] [50bfa23c6b6933a99f000001] RubySkynet::Connection: localhost:2000 -- Sending Header +2012-12-05 14:36:30.089656 T [43423:70278151625440] [50bfa23c6b6933a99f000001] RubySkynet::Connection: localhost:2000 -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 14:36:30.089676 T [43423:70278151625440] [50bfa23c6b6933a99f000001] ResilientSocket::TCPClient ["localhost:2000"] -- #write ==> sending -- 5servicemethodTestService.Forwardseq +2012-12-05 14:36:30.089720 D [43423:70278151625440] [50bfa23c6b6933a99f000001] (0.0ms) ResilientSocket::TCPClient ["localhost:2000"] -- #write ==> sent 53 bytes +2012-12-05 14:36:30.089754 D [43423:70278151625440] [50bfa23c6b6933a99f000001] RubySkynet::Connection: localhost:2000 -- Sending Request +2012-12-05 14:36:30.089760 T [43423:70278151625440] [50bfa23c6b6933a99f000001] RubySkynet::Connection: localhost:2000 -- Request -- {"clientid"=>"50bfa23e6b6933a99f000002", "in"=>"\x10\x00\x00\x00\x10value\x00\x05\x00\x00\x00\x00", "method"=>"echo", "requestinfo"=>{"requestid"=>"50bfa23c6b6933a99f000001", "retrycount"=>0, "originaddress"=>""}} +2012-12-05 14:36:30.089765 T [43423:70278151625440] [50bfa23c6b6933a99f000001] RubySkynet::Connection: localhost:2000 -- Parameters: -- {:value=>5} +2012-12-05 14:36:30.089781 T [43423:70278151625440] [50bfa23c6b6933a99f000001] ResilientSocket::TCPClient ["localhost:2000"] -- #write ==> sending -- clientid50bfa23e6b6933a99f000002invaluemethodechorequestinfoQrequestid50bfa23c6b6933a99f000001retrycountoriginaddress +2012-12-05 14:36:30.089821 D [43423:70278151625440] [50bfa23c6b6933a99f000001] (0.0ms) ResilientSocket::TCPClient ["localhost:2000"] -- #write ==> sent 180 bytes +2012-12-05 14:36:30.089834 D [43423:70278151625440] [50bfa23c6b6933a99f000001] RubySkynet::Connection: localhost:2000 -- Reading header from server +2012-12-05 14:36:30.091570 D [43423:70278152979820] RubySkynet::Server -- +****************** +2012-12-05 14:36:30.091589 D [43423:70278152979820] RubySkynet::Server -- Received Request +2012-12-05 14:36:30.091599 T [43423:70278152979820] RubySkynet::Server -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 14:36:30.091928 T [43423:70278152979820] RubySkynet::Server -- Request -- {"clientid"=>"50bfa23e6b6933a99f000002", "in"=>"\x10\x00\x00\x00\x10value\x00\x05\x00\x00\x00\x00", "method"=>"echo", "requestinfo"=>{"requestid"=>"50bfa23c6b6933a99f000001", "retrycount"=>0, "originaddress"=>""}} +2012-12-05 14:36:30.091951 T [43423:70278152979820] RubySkynet::Server -- Parameters -- {"value"=>5} +2012-12-05 14:36:30.091973 T [43423:70278152979820] RubySkynet::Server -- Method Call: echo with parameters: -- {"value"=>5} +2012-12-05 14:36:30.091986 D [43423:70278152979820] (0.0ms) RubySkynet::Server -- Called: TestService#echo +2012-12-05 14:36:30.092003 D [43423:70278152979820] RubySkynet::Server -- Sending Header +2012-12-05 14:36:30.092098 D [43423:70278152979820] RubySkynet::Server -- Sending Reply +2012-12-05 14:36:30.092109 T [43423:70278152979820] RubySkynet::Server -- Reply -- {"value"=>5} +2012-12-05 14:36:30.093700 T [43423:70278151625440] [50bfa23c6b6933a99f000001] ResilientSocket::TCPClient ["localhost:2000"] -- #read <== received -- "5\x00\x00\x00" +2012-12-05 14:36:30.093712 D [43423:70278151625440] [50bfa23c6b6933a99f000001] (3.9ms) ResilientSocket::TCPClient ["localhost:2000"] -- #read <== read 4 bytes +2012-12-05 14:36:30.093767 T [43423:70278151625440] [50bfa23c6b6933a99f000001] ResilientSocket::TCPClient ["localhost:2000"] -- #read <== received -- "\x02servicemethod\x00\x14\x00\x00\x00TestService.Forward\x00\x10seq\x00\x00\x00\x00\x00\x00" +2012-12-05 14:36:30.093773 D [43423:70278151625440] [50bfa23c6b6933a99f000001] (0.0ms) ResilientSocket::TCPClient ["localhost:2000"] -- #read <== read 49 bytes +2012-12-05 14:36:30.093805 D [43423:70278151625440] [50bfa23c6b6933a99f000001] RubySkynet::Connection: localhost:2000 -- Response Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 14:36:30.093811 D [43423:70278151625440] [50bfa23c6b6933a99f000001] RubySkynet::Connection: localhost:2000 -- Reading response from server +2012-12-05 14:36:30.093850 T [43423:70278151625440] [50bfa23c6b6933a99f000001] ResilientSocket::TCPClient ["localhost:2000"] -- #read <== received -- "\x1F\x00\x00\x00" +2012-12-05 14:36:30.093911 D [43423:70278151625440] [50bfa23c6b6933a99f000001] (0.1ms) ResilientSocket::TCPClient ["localhost:2000"] -- #read <== read 4 bytes +2012-12-05 14:36:30.093963 T [43423:70278151625440] [50bfa23c6b6933a99f000001] ResilientSocket::TCPClient ["localhost:2000"] -- #read <== received -- "\x02out\x00\x11\x00\x00\x00\x10\x00\x00\x00\x10value\x00\x05\x00\x00\x00\x00\x00\x00" +2012-12-05 14:36:30.093969 D [43423:70278151625440] [50bfa23c6b6933a99f000001] (0.0ms) ResilientSocket::TCPClient ["localhost:2000"] -- #read <== read 27 bytes +2012-12-05 14:36:30.093994 T [43423:70278151625440] [50bfa23c6b6933a99f000001] RubySkynet::Connection: localhost:2000 -- Response -- {"out"=>"\x10\x00\x00\x00\x10value\x00\x05\x00\x00\x00\x00"} +2012-12-05 14:36:30.094068 T [43423:70278151625440] [50bfa23c6b6933a99f000001] RubySkynet::Connection: localhost:2000 -- Return Value -- {"value"=>5} +2012-12-05 14:36:30.094091 I [43423:70278151625440] [50bfa23c6b6933a99f000001] (1540.5ms) RubySkynet::Client: TestService/*/Development -- Called Skynet Service: TestService.echo +2012-12-05 14:36:45.938914 I [43423:70278151625440] Celluloid -- Terminating 5 actors... +2012-12-05 14:36:45.939597 I [43423:70278152979820] RubySkynet::Server -- Skynet Server Stopped +2012-12-05 14:36:45.939755 D [43423:70278152979820] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fd5d082a228>(70278151491860) self=connections=70278151491860 checked_out=70278151491860 with_map= +2012-12-05 14:36:45.940088 T [43423:70278152979820] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- C"2/services/TestService/1/Development/localhost/2000H +2012-12-05 14:36:45.940199 D [43423:70278152979820] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 71 bytes +2012-12-05 14:36:45.942692 T [43423:70278152615860] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00=" +2012-12-05 14:36:45.942707 D [43423:70278152615860] (17379.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:36:45.943083 T [43423:70278152979820] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 14:36:45.943094 D [43423:70278152979820] (2.9ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:36:45.943167 T [43423:70278152615860] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\b\x18\xA7`*2/services/TestService/1/Development/localhost/20002\x00" +2012-12-05 14:36:45.943173 D [43423:70278152615860] (0.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 61 bytes +2012-12-05 14:36:45.943331 D [43423:70278152615860] RubySkynet::Registry -- #monitor Service stopped, remove: TestService/1/Development => localhost:2000 +2012-12-05 14:36:45.943352 I [43423:70278152615860] RubySkynet::Registry -- Calling callback for server: localhost:2000 +2012-12-05 14:36:45.943467 D [43423:70278152615860] RubySkynet::Connection -- Connection pool for server:localhost:2000 has been released +2012-12-05 14:36:45.943480 D [43423:70278152615860] RubySkynet::Registry -- Updated registry -- {"TestService/1/Development"=>["localhost:2100"], "TestService/1/Test"=>["localhost:2100"]} +2012-12-05 14:36:45.943681 T [43423:70278152615860] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H` +2012-12-05 14:36:45.943743 D [43423:70278152615860] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 14:36:45.944502 T [43423:70278152979820] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00" +2012-12-05 14:36:45.944513 D [43423:70278152979820] (1.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 2 bytes +2012-12-05 14:36:45.944602 D [43423:70278152979820] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fd5d082a228>(70278151491860) self=connections=70278151491860 checked_out= with_map= +2012-12-05 14:36:45.944626 I [43423:70278152979820] RubySkynet::Server -- Skynet Services De-registered in Doozer +2012-12-05 14:36:45.955736 I [43423:70278151625440] Celluloid -- Shutdown completed cleanly +2012-12-05 14:36:48.684094 D [43434:70239119432400] RubySkynet::Server -- Registering Service: TestService with name: TestService +2012-12-05 14:36:48.696611 D [43434:70239120877420] RubySkynet::Registry -- Doozer Connection Pool: Created connection #1 #<Thread:0x007fc3a3b2ced8>(70239120877420) for Doozer Connection Pool +2012-12-05 14:36:48.728386 T [43434:70239120877420] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007fc3a3829e20@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 14:36:48.732133 D [43434:70239120877420] RubySkynet::Registry -- Doozer Connection Pool: Renewed connection old=70239120877420 new=#<RubySkynet::Doozer::Client:0x007fc3a382a280>(70239119298880) +2012-12-05 14:36:48.732176 D [43434:70239120877420] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fc3a382a280>(70239119298880) self=connections=70239119298880 checked_out=70239119298880 with_map= +2012-12-05 14:36:48.744235 T [43434:70239120877420] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "2/services/TestService/1/Development/localhost/2000*{"Config":{"UUID":"localhost:2000-43434-TestService-70239123950480","Name":"TestService","Version":"1","Region":"Development","ServiceAddr":{"IPAddress":"localhost","Port":2000,"MaxPort":2999}},"Registered":true}H +2012-12-05 14:36:48.744618 D [43434:70239120877420] (0.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 286 bytes +2012-12-05 14:36:48.747614 T [43434:70239120877420] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 14:36:48.747664 D [43434:70239120877420] (3.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:36:48.748064 T [43434:70239120877420] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xAA`" +2012-12-05 14:36:48.748105 D [43434:70239120877420] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 14:36:48.748310 D [43434:70239120877420] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fc3a382a280>(70239119298880) self=connections=70239119298880 checked_out= with_map= +2012-12-05 14:36:48.748619 I [43434:70239120877420] RubySkynet::Server -- Starting listener on localhost:2000 +2012-12-05 14:36:48.748855 D [43434:70239120877420] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 14:36:48.757431 D [43434:70239119432400] [50bfa2506b6933a9aa000001] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fc3a382a280>(70239119298880) self=connections=70239119298880 checked_out=70239119298880 with_map= +2012-12-05 14:36:48.757704 T [43434:70239119432400] [50bfa2506b6933a9aa000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  +2012-12-05 14:36:48.758419 D [43434:70239119432400] [50bfa2506b6933a9aa000001] (0.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 8 bytes +2012-12-05 14:36:48.758606 T [43434:70239119432400] [50bfa2506b6933a9aa000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 14:36:48.758632 D [43434:70239119432400] [50bfa2506b6933a9aa000001] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:36:48.758856 T [43434:70239119432400] [50bfa2506b6933a9aa000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xAA`" +2012-12-05 14:36:48.758882 D [43434:70239119432400] [50bfa2506b6933a9aa000001] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 14:36:48.759156 T [43434:70239119432400] [50bfa2506b6933a9aa000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H` +2012-12-05 14:36:48.759773 D [43434:70239119432400] [50bfa2506b6933a9aa000001] (0.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-05 14:36:48.759945 T [43434:70239119432400] [50bfa2506b6933a9aa000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01\x12" +2012-12-05 14:36:48.759971 D [43434:70239119432400] [50bfa2506b6933a9aa000001] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:36:48.760199 T [43434:70239119432400] [50bfa2506b6933a9aa000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xAA`*2/services/TestService/1/Development/localhost/20002\xD4\x01{\"Config\":{\"UUID\":\"localhost:2000-43434-TestService-70239123950480\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Development\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2000,\"MaxPort\":2999}},\"Registered\":true}" +2012-12-05 14:36:48.760225 D [43434:70239119432400] [50bfa2506b6933a9aa000001] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 274 bytes +2012-12-05 14:36:48.760780 T [43434:70239119432400] [50bfa2506b6933a9aa000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H` +2012-12-05 14:36:48.761357 D [43434:70239119432400] [50bfa2506b6933a9aa000001] (0.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-05 14:36:48.761529 T [43434:70239119432400] [50bfa2506b6933a9aa000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01\x11" +2012-12-05 14:36:48.761555 D [43434:70239119432400] [50bfa2506b6933a9aa000001] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:36:48.762475 T [43434:70239119432400] [50bfa2506b6933a9aa000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18B*2/services/TestService/1/Development/localhost/21002\xD4\x01{\"Config\":{\"UUID\":\"localhost:2100-38983-TestService-70336365097060\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Development\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-05 14:36:48.762502 D [43434:70239119432400] [50bfa2506b6933a9aa000001] (0.9ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 273 bytes +2012-12-05 14:36:48.762771 T [43434:70239119432400] [50bfa2506b6933a9aa000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H` +2012-12-05 14:36:48.763363 D [43434:70239119432400] [50bfa2506b6933a9aa000001] (0.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-05 14:36:48.763534 T [43434:70239119432400] [50bfa2506b6933a9aa000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01\x04" +2012-12-05 14:36:48.763560 D [43434:70239119432400] [50bfa2506b6933a9aa000001] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:36:48.763790 T [43434:70239119432400] [50bfa2506b6933a9aa000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xA6U*+/services/TestService/1/Test/localhost/21002\xCD\x01{\"Config\":{\"UUID\":\"localhost:2100-42796-TestService-70255821087020\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-05 14:36:48.763816 D [43434:70239119432400] [50bfa2506b6933a9aa000001] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 260 bytes +2012-12-05 14:36:48.764083 T [43434:70239119432400] [50bfa2506b6933a9aa000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H` +2012-12-05 14:36:48.765560 D [43434:70239119432400] [50bfa2506b6933a9aa000001] (1.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-05 14:36:48.765947 T [43434:70239119432400] [50bfa2506b6933a9aa000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 14:36:48.765973 D [43434:70239119432400] [50bfa2506b6933a9aa000001] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:36:48.766806 T [43434:70239119432400] [50bfa2506b6933a9aa000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\xA0\x06\b" +2012-12-05 14:36:48.766836 D [43434:70239119432400] [50bfa2506b6933a9aa000001] (0.8ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 14:36:48.767041 D [43434:70239119432400] [50bfa2506b6933a9aa000001] RubySkynet::Registry -- #start_monitoring Add Service: TestService/1/Development => localhost:2000 +2012-12-05 14:36:48.767090 D [43434:70239119432400] [50bfa2506b6933a9aa000001] RubySkynet::Registry -- #start_monitoring Add Service: TestService/1/Development => localhost:2100 +2012-12-05 14:36:48.767136 D [43434:70239119432400] [50bfa2506b6933a9aa000001] RubySkynet::Registry -- #start_monitoring Add Service: TestService/1/Test => localhost:2100 +2012-12-05 14:36:48.767176 D [43434:70239119432400] [50bfa2506b6933a9aa000001] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fc3a382a280>(70239119298880) self=connections=70239119298880 checked_out= with_map= +2012-12-05 14:36:48.768322 I [43434:70239120700140] RubySkynet::Registry -- Start monitoring /services/*/*/*/*/* +2012-12-05 14:36:48.768365 T [43434:70239120700140] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007fc3a3aef2b8@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 14:36:48.768908 T [43434:70239120700140] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H` +2012-12-05 14:36:48.768947 D [43434:70239120700140] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 14:36:48.770419 D [43434:70239119432400] [50bfa2506b6933a9aa000001] RubySkynet::Connection: localhost:2000 -- Waiting for Service Handshake +2012-12-05 14:36:48.771423 D [43434:70239120877420] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 14:36:48.771547 D [43434:70239120877420] RubySkynet::Server -- Client connected, waiting for data from client +2012-12-05 14:36:48.772185 T [43434:70239119432400] [50bfa2506b6933a9aa000001] ResilientSocket::TCPClient ["localhost:2000"] -- #read <== received -- "9\x00\x00\x00" +2012-12-05 14:36:48.772225 D [43434:70239119432400] [50bfa2506b6933a9aa000001] (1.2ms) ResilientSocket::TCPClient ["localhost:2000"] -- #read <== read 4 bytes +2012-12-05 14:36:48.772430 T [43434:70239119432400] [50bfa2506b6933a9aa000001] ResilientSocket::TCPClient ["localhost:2000"] -- #read <== received -- "\bregistered\x00\x01\x02clientid\x00\x19\x00\x00\x0050bfa2506b6933a9aa000002\x00\x00" +2012-12-05 14:36:48.772466 D [43434:70239119432400] [50bfa2506b6933a9aa000001] (0.2ms) ResilientSocket::TCPClient ["localhost:2000"] -- #read <== read 53 bytes +2012-12-05 14:36:48.772516 T [43434:70239119432400] [50bfa2506b6933a9aa000001] RubySkynet::Connection: localhost:2000 -- Service Handshake -- {"registered"=>true, "clientid"=>"50bfa2506b6933a9aa000002"} +2012-12-05 14:36:48.772528 D [43434:70239119432400] [50bfa2506b6933a9aa000001] RubySkynet::Connection: localhost:2000 -- Sending Client Handshake +2012-12-05 14:36:48.772534 T [43434:70239119432400] [50bfa2506b6933a9aa000001] RubySkynet::Connection: localhost:2000 -- Client Handshake -- {"clientid"=>"50bfa2506b6933a9aa000002"} +2012-12-05 14:36:48.772552 T [43434:70239119432400] [50bfa2506b6933a9aa000001] ResilientSocket::TCPClient ["localhost:2000"] -- #write ==> sending -- ,clientid50bfa2506b6933a9aa000002 +2012-12-05 14:36:48.773392 D [43434:70239119432400] [50bfa2506b6933a9aa000001] (0.8ms) ResilientSocket::TCPClient ["localhost:2000"] -- #write ==> sent 44 bytes +2012-12-05 14:36:48.773461 D [43434:70239119432400] [50bfa2506b6933a9aa000001] RubySkynet::Connection: localhost:2000 -- Sending Header +2012-12-05 14:36:48.773472 T [43434:70239119432400] [50bfa2506b6933a9aa000001] RubySkynet::Connection: localhost:2000 -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 14:36:48.773494 T [43434:70239119432400] [50bfa2506b6933a9aa000001] ResilientSocket::TCPClient ["localhost:2000"] -- #write ==> sending -- 5servicemethodTestService.Forwardseq +2012-12-05 14:36:48.773977 D [43434:70239120877420] RubySkynet::Server -- +****************** +2012-12-05 14:36:48.774025 D [43434:70239120877420] RubySkynet::Server -- Received Request +2012-12-05 14:36:48.774036 T [43434:70239120877420] RubySkynet::Server -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 14:36:48.774467 D [43434:70239119432400] [50bfa2506b6933a9aa000001] (1.0ms) ResilientSocket::TCPClient ["localhost:2000"] -- #write ==> sent 53 bytes +2012-12-05 14:36:48.774570 D [43434:70239119432400] [50bfa2506b6933a9aa000001] RubySkynet::Connection: localhost:2000 -- Sending Request +2012-12-05 14:36:48.774578 T [43434:70239119432400] [50bfa2506b6933a9aa000001] RubySkynet::Connection: localhost:2000 -- Request -- {"clientid"=>"50bfa2506b6933a9aa000002", "in"=>"\x10\x00\x00\x00\x10value\x00\x05\x00\x00\x00\x00", "method"=>"echo", "requestinfo"=>{"requestid"=>"50bfa2506b6933a9aa000001", "retrycount"=>0, "originaddress"=>""}} +2012-12-05 14:36:48.774583 T [43434:70239119432400] [50bfa2506b6933a9aa000001] RubySkynet::Connection: localhost:2000 -- Parameters: -- {:value=>5} +2012-12-05 14:36:48.774600 T [43434:70239119432400] [50bfa2506b6933a9aa000001] ResilientSocket::TCPClient ["localhost:2000"] -- #write ==> sending -- clientid50bfa2506b6933a9aa000002invaluemethodechorequestinfoQrequestid50bfa2506b6933a9aa000001retrycountoriginaddress +2012-12-05 14:36:48.774996 T [43434:70239120877420] RubySkynet::Server -- Request -- {"clientid"=>"50bfa2506b6933a9aa000002", "in"=>"\x10\x00\x00\x00\x10value\x00\x05\x00\x00\x00\x00", "method"=>"echo", "requestinfo"=>{"requestid"=>"50bfa2506b6933a9aa000001", "retrycount"=>0, "originaddress"=>""}} +2012-12-05 14:36:48.775019 T [43434:70239120877420] RubySkynet::Server -- Parameters -- {"value"=>5} +2012-12-05 14:36:48.775041 T [43434:70239120877420] RubySkynet::Server -- Method Call: echo with parameters: -- {"value"=>5} +2012-12-05 14:36:48.775053 D [43434:70239120877420] (0.0ms) RubySkynet::Server -- Called: TestService#echo +2012-12-05 14:36:48.775070 D [43434:70239120877420] RubySkynet::Server -- Sending Header +2012-12-05 14:36:48.775127 D [43434:70239120877420] RubySkynet::Server -- Sending Reply +2012-12-05 14:36:48.775139 T [43434:70239120877420] RubySkynet::Server -- Reply -- {"value"=>5} +2012-12-05 14:36:48.775991 D [43434:70239119432400] [50bfa2506b6933a9aa000001] (1.4ms) ResilientSocket::TCPClient ["localhost:2000"] -- #write ==> sent 180 bytes +2012-12-05 14:36:48.776011 D [43434:70239119432400] [50bfa2506b6933a9aa000001] RubySkynet::Connection: localhost:2000 -- Reading header from server +2012-12-05 14:36:48.776238 T [43434:70239119432400] [50bfa2506b6933a9aa000001] ResilientSocket::TCPClient ["localhost:2000"] -- #read <== received -- "5\x00\x00\x00" +2012-12-05 14:36:48.776266 D [43434:70239119432400] [50bfa2506b6933a9aa000001] (0.2ms) ResilientSocket::TCPClient ["localhost:2000"] -- #read <== read 4 bytes +2012-12-05 14:36:48.776468 T [43434:70239119432400] [50bfa2506b6933a9aa000001] ResilientSocket::TCPClient ["localhost:2000"] -- #read <== received -- "\x02servicemethod\x00\x14\x00\x00\x00TestService.Forward\x00\x10seq\x00\x00\x00\x00\x00\x00" +2012-12-05 14:36:48.776504 D [43434:70239119432400] [50bfa2506b6933a9aa000001] (0.2ms) ResilientSocket::TCPClient ["localhost:2000"] -- #read <== read 49 bytes +2012-12-05 14:36:48.776535 D [43434:70239119432400] [50bfa2506b6933a9aa000001] RubySkynet::Connection: localhost:2000 -- Response Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 14:36:48.776541 D [43434:70239119432400] [50bfa2506b6933a9aa000001] RubySkynet::Connection: localhost:2000 -- Reading response from server +2012-12-05 14:36:48.776957 T [43434:70239119432400] [50bfa2506b6933a9aa000001] ResilientSocket::TCPClient ["localhost:2000"] -- #read <== received -- "\x1F\x00\x00\x00" +2012-12-05 14:36:48.776968 D [43434:70239119432400] [50bfa2506b6933a9aa000001] (0.4ms) ResilientSocket::TCPClient ["localhost:2000"] -- #read <== read 4 bytes +2012-12-05 14:36:48.777015 T [43434:70239119432400] [50bfa2506b6933a9aa000001] ResilientSocket::TCPClient ["localhost:2000"] -- #read <== received -- "\x02out\x00\x11\x00\x00\x00\x10\x00\x00\x00\x10value\x00\x05\x00\x00\x00\x00\x00\x00" +2012-12-05 14:36:48.777020 D [43434:70239119432400] [50bfa2506b6933a9aa000001] (0.0ms) ResilientSocket::TCPClient ["localhost:2000"] -- #read <== read 27 bytes +2012-12-05 14:36:48.777045 T [43434:70239119432400] [50bfa2506b6933a9aa000001] RubySkynet::Connection: localhost:2000 -- Response -- {"out"=>"\x10\x00\x00\x00\x10value\x00\x05\x00\x00\x00\x00"} +2012-12-05 14:36:48.777068 T [43434:70239119432400] [50bfa2506b6933a9aa000001] RubySkynet::Connection: localhost:2000 -- Return Value -- {"value"=>5} +2012-12-05 14:36:48.777102 I [43434:70239119432400] [50bfa2506b6933a9aa000001] (21.6ms) RubySkynet::Client: TestService/*/Development -- Called Skynet Service: TestService.echo +2012-12-05 14:44:09.614507 D [43584:70178310413020] RubySkynet::Server -- Registering Service: TestService with name: TestService +2012-12-05 14:44:09.615415 I [43584:70178310413020] Celluloid -- Terminating 4 actors... +2012-12-05 14:44:09.616816 I [43584:70178310413020] Celluloid -- Shutdown completed cleanly +2012-12-05 14:44:09.626421 D [43584:70178313986840] RubySkynet::Registry -- Doozer Connection Pool: Created connection #1 #<Thread:0x007fa752f3c630>(70178313986840) for Doozer Connection Pool +2012-12-05 14:44:09.652713 T [43584:70178313986840] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007fa75387d500@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 14:44:09.657149 D [43584:70178313986840] RubySkynet::Registry -- Doozer Connection Pool: Renewed connection old=70178313986840 new=#<RubySkynet::Doozer::Client:0x007fa75387d618>(70178318838540) +2012-12-05 14:44:09.657259 D [43584:70178313986840] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fa75387d618>(70178318838540) self=connections=70178318838540 checked_out=70178318838540 with_map= +2012-12-05 14:44:09.683795 T [43584:70178313986840] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "+/services/TestService/1/Test/localhost/2100*{"Config":{"UUID":"localhost:2100-43584-TestService-70178310352080","Name":"TestService","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"localhost","Port":2100,"MaxPort":3099}},"Registered":true}H +2012-12-05 14:44:09.684699 D [43584:70178313986840] (0.9ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 272 bytes +2012-12-05 14:44:09.685985 T [43434:70239120700140] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01\x04" +2012-12-05 14:44:09.686007 D [43434:70239120700140] (440917.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:44:09.686335 T [43434:70239120700140] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xE3c*+/services/TestService/1/Test/localhost/21002\xCD\x01{\"Config\":{\"UUID\":\"localhost:2100-43584-TestService-70178310352080\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-05 14:44:09.686346 D [43434:70239120700140] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 260 bytes +2012-12-05 14:44:09.688073 D [43434:70239120700140] RubySkynet::Registry -- #monitor Add/Update Service: TestService/1/Test => localhost:2100 +2012-12-05 14:44:09.688089 D [43434:70239120700140] RubySkynet::Registry -- Updated registry -- {"TestService/1/Development"=>["localhost:2000", "localhost:2100"], "TestService/1/Test"=>["localhost:2100"]} +2012-12-05 14:44:09.688379 T [43434:70239120700140] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*Hc +2012-12-05 14:44:09.688623 D [43434:70239120700140] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 14:44:09.689516 T [43584:70178313986840] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 14:44:09.689536 D [43584:70178313986840] (4.8ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:44:09.690084 T [43584:70178313986840] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xE3c" +2012-12-05 14:44:09.690099 D [43584:70178313986840] (0.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 14:44:09.690311 D [43584:70178313986840] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fa75387d618>(70178318838540) self=connections=70178318838540 checked_out= with_map= +2012-12-05 14:44:09.691071 I [43584:70178313986840] RubySkynet::Server -- Starting listener on localhost:2100 +2012-12-05 14:44:09.691087 D [43584:70178313986840] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 14:44:09.695692 D [43584:70178310413020] [50bfa4096b6933aa40000001] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fa75387d618>(70178318838540) self=connections=70178318838540 checked_out=70178318838540 with_map= +2012-12-05 14:44:09.695989 T [43584:70178310413020] [50bfa4096b6933aa40000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  +2012-12-05 14:44:09.696282 D [43584:70178310413020] [50bfa4096b6933aa40000001] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 8 bytes +2012-12-05 14:44:09.696590 T [43584:70178310413020] [50bfa4096b6933aa40000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 14:44:09.696618 D [43584:70178310413020] [50bfa4096b6933aa40000001] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:44:09.696967 T [43584:70178310413020] [50bfa4096b6933aa40000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xE3c" +2012-12-05 14:44:09.696979 D [43584:70178310413020] [50bfa4096b6933aa40000001] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 14:44:09.697268 T [43584:70178310413020] [50bfa4096b6933aa40000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8Hc +2012-12-05 14:44:09.697625 D [43584:70178310413020] [50bfa4096b6933aa40000001] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-05 14:44:09.697925 T [43584:70178310413020] [50bfa4096b6933aa40000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01\x12" +2012-12-05 14:44:09.697961 D [43584:70178310413020] [50bfa4096b6933aa40000001] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:44:09.698141 T [43584:70178310413020] [50bfa4096b6933aa40000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xAA`*2/services/TestService/1/Development/localhost/20002\xD4\x01{\"Config\":{\"UUID\":\"localhost:2000-43434-TestService-70239123950480\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Development\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2000,\"MaxPort\":2999}},\"Registered\":true}" +2012-12-05 14:44:09.698148 D [43584:70178310413020] [50bfa4096b6933aa40000001] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 274 bytes +2012-12-05 14:44:09.698470 T [43584:70178310413020] [50bfa4096b6933aa40000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8Hc +2012-12-05 14:44:09.698844 D [43584:70178310413020] [50bfa4096b6933aa40000001] (0.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-05 14:44:09.699050 T [43584:70178310413020] [50bfa4096b6933aa40000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01\x11" +2012-12-05 14:44:09.699086 D [43584:70178310413020] [50bfa4096b6933aa40000001] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:44:09.699164 T [43584:70178310413020] [50bfa4096b6933aa40000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18B*2/services/TestService/1/Development/localhost/21002\xD4\x01{\"Config\":{\"UUID\":\"localhost:2100-38983-TestService-70336365097060\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Development\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-05 14:44:09.699170 D [43584:70178310413020] [50bfa4096b6933aa40000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 273 bytes +2012-12-05 14:44:09.699478 T [43584:70178310413020] [50bfa4096b6933aa40000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8Hc +2012-12-05 14:44:09.700093 D [43584:70178310413020] [50bfa4096b6933aa40000001] (0.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-05 14:44:09.700240 T [43584:70178310413020] [50bfa4096b6933aa40000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01\x04" +2012-12-05 14:44:09.700261 D [43584:70178310413020] [50bfa4096b6933aa40000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:44:09.700890 T [43584:70178310413020] [50bfa4096b6933aa40000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xE3c*+/services/TestService/1/Test/localhost/21002\xCD\x01{\"Config\":{\"UUID\":\"localhost:2100-43584-TestService-70178310352080\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-05 14:44:09.700927 D [43584:70178310413020] [50bfa4096b6933aa40000001] (0.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 260 bytes +2012-12-05 14:44:09.701232 T [43584:70178310413020] [50bfa4096b6933aa40000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8Hc +2012-12-05 14:44:09.701742 D [43584:70178310413020] [50bfa4096b6933aa40000001] (0.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-05 14:44:09.702526 T [43584:70178310413020] [50bfa4096b6933aa40000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 14:44:09.702539 D [43584:70178310413020] [50bfa4096b6933aa40000001] (0.8ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:44:09.702618 T [43584:70178310413020] [50bfa4096b6933aa40000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\xA0\x06\b" +2012-12-05 14:44:09.702625 D [43584:70178310413020] [50bfa4096b6933aa40000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 14:44:09.702814 D [43584:70178310413020] [50bfa4096b6933aa40000001] RubySkynet::Registry -- #start_monitoring Add Service: TestService/1/Development => localhost:2000 +2012-12-05 14:44:09.702868 D [43584:70178310413020] [50bfa4096b6933aa40000001] RubySkynet::Registry -- #start_monitoring Add Service: TestService/1/Development => localhost:2100 +2012-12-05 14:44:09.702917 D [43584:70178310413020] [50bfa4096b6933aa40000001] RubySkynet::Registry -- #start_monitoring Add Service: TestService/1/Test => localhost:2100 +2012-12-05 14:44:09.702966 D [43584:70178310413020] [50bfa4096b6933aa40000001] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fa75387d618>(70178318838540) self=connections=70178318838540 checked_out= with_map= +2012-12-05 14:44:09.703606 I [43584:70178311875500] RubySkynet::Registry -- Start monitoring /services/*/*/*/*/* +2012-12-05 14:44:09.703644 T [43584:70178311875500] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007fa752b3fa78@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 14:44:09.704276 T [43584:70178311875500] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*Hc +2012-12-05 14:44:09.704318 D [43584:70178311875500] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 14:44:09.705389 D [43584:70178310413020] [50bfa4096b6933aa40000001] RubySkynet::Connection: localhost:2100 -- Waiting for Service Handshake +2012-12-05 14:44:09.706510 D [43584:70178313986840] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 14:44:09.706614 D [43584:70178313986840] RubySkynet::Server -- Client connected, waiting for data from client +2012-12-05 14:44:09.707289 T [43584:70178310413020] [50bfa4096b6933aa40000001] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "9\x00\x00\x00" +2012-12-05 14:44:09.707303 D [43584:70178310413020] [50bfa4096b6933aa40000001] (1.2ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 4 bytes +2012-12-05 14:44:09.707576 T [43584:70178310413020] [50bfa4096b6933aa40000001] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "\bregistered\x00\x01\x02clientid\x00\x19\x00\x00\x0050bfa4096b6933aa40000002\x00\x00" +2012-12-05 14:44:09.707625 D [43584:70178310413020] [50bfa4096b6933aa40000001] (0.3ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 53 bytes +2012-12-05 14:44:09.707680 T [43584:70178310413020] [50bfa4096b6933aa40000001] RubySkynet::Connection: localhost:2100 -- Service Handshake -- {"registered"=>true, "clientid"=>"50bfa4096b6933aa40000002"} +2012-12-05 14:44:09.707693 D [43584:70178310413020] [50bfa4096b6933aa40000001] RubySkynet::Connection: localhost:2100 -- Sending Client Handshake +2012-12-05 14:44:09.707699 T [43584:70178310413020] [50bfa4096b6933aa40000001] RubySkynet::Connection: localhost:2100 -- Client Handshake -- {"clientid"=>"50bfa4096b6933aa40000002"} +2012-12-05 14:44:09.707716 T [43584:70178310413020] [50bfa4096b6933aa40000001] ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sending -- ,clientid50bfa4096b6933aa40000002 +2012-12-05 14:44:09.707760 D [43584:70178310413020] [50bfa4096b6933aa40000001] (0.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sent 44 bytes +2012-12-05 14:44:09.707821 D [43584:70178310413020] [50bfa4096b6933aa40000001] RubySkynet::Connection: localhost:2100 -- Sending Header +2012-12-05 14:44:09.707830 T [43584:70178310413020] [50bfa4096b6933aa40000001] RubySkynet::Connection: localhost:2100 -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 14:44:09.707851 T [43584:70178310413020] [50bfa4096b6933aa40000001] ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sending -- 5servicemethodTestService.Forwardseq +2012-12-05 14:44:09.707896 D [43584:70178310413020] [50bfa4096b6933aa40000001] (0.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sent 53 bytes +2012-12-05 14:44:09.707929 D [43584:70178310413020] [50bfa4096b6933aa40000001] RubySkynet::Connection: localhost:2100 -- Sending Request +2012-12-05 14:44:09.707936 T [43584:70178310413020] [50bfa4096b6933aa40000001] RubySkynet::Connection: localhost:2100 -- Request -- {"clientid"=>"50bfa4096b6933aa40000002", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"echo", "requestinfo"=>{"requestid"=>"50bfa4096b6933aa40000001", "retrycount"=>0, "originaddress"=>""}} +2012-12-05 14:44:09.707941 T [43584:70178310413020] [50bfa4096b6933aa40000001] RubySkynet::Connection: localhost:2100 -- Parameters: -- {"some"=>"parameters"} +2012-12-05 14:44:09.707958 T [43584:70178310413020] [50bfa4096b6933aa40000001] ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sending -- clientid50bfa4096b6933aa40000002insome parametersmethodechorequestinfoQrequestid50bfa4096b6933aa40000001retrycountoriginaddress +2012-12-05 14:44:09.707998 D [43584:70178310413020] [50bfa4096b6933aa40000001] (0.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sent 190 bytes +2012-12-05 14:44:09.708011 D [43584:70178310413020] [50bfa4096b6933aa40000001] RubySkynet::Connection: localhost:2100 -- Reading header from server +2012-12-05 14:44:09.709364 D [43584:70178313986840] RubySkynet::Server -- +****************** +2012-12-05 14:44:09.709382 D [43584:70178313986840] RubySkynet::Server -- Received Request +2012-12-05 14:44:09.709393 T [43584:70178313986840] RubySkynet::Server -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 14:44:09.709773 T [43584:70178313986840] RubySkynet::Server -- Request -- {"clientid"=>"50bfa4096b6933aa40000002", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"echo", "requestinfo"=>{"requestid"=>"50bfa4096b6933aa40000001", "retrycount"=>0, "originaddress"=>""}} +2012-12-05 14:44:09.709821 T [43584:70178313986840] RubySkynet::Server -- Parameters -- {"some"=>"parameters"} +2012-12-05 14:44:09.709845 T [43584:70178313986840] RubySkynet::Server -- Method Call: echo with parameters: -- {"some"=>"parameters"} +2012-12-05 14:44:09.709859 D [43584:70178313986840] (0.0ms) RubySkynet::Server -- Called: TestService#echo +2012-12-05 14:44:09.709876 D [43584:70178313986840] RubySkynet::Server -- Sending Header +2012-12-05 14:44:09.709935 D [43584:70178313986840] RubySkynet::Server -- Sending Reply +2012-12-05 14:44:09.709947 T [43584:70178313986840] RubySkynet::Server -- Reply -- {"some"=>"parameters"} +2012-12-05 14:44:09.710530 T [43584:70178310413020] [50bfa4096b6933aa40000001] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "5\x00\x00\x00" +2012-12-05 14:44:09.710574 D [43584:70178310413020] [50bfa4096b6933aa40000001] (2.5ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 4 bytes +2012-12-05 14:44:09.710629 T [43584:70178310413020] [50bfa4096b6933aa40000001] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "\x02servicemethod\x00\x14\x00\x00\x00TestService.Forward\x00\x10seq\x00\x00\x00\x00\x00\x00" +2012-12-05 14:44:09.710635 D [43584:70178310413020] [50bfa4096b6933aa40000001] (0.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 49 bytes +2012-12-05 14:44:09.710666 D [43584:70178310413020] [50bfa4096b6933aa40000001] RubySkynet::Connection: localhost:2100 -- Response Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 14:44:09.710672 D [43584:70178310413020] [50bfa4096b6933aa40000001] RubySkynet::Connection: localhost:2100 -- Reading response from server +2012-12-05 14:44:09.710717 T [43584:70178310413020] [50bfa4096b6933aa40000001] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- ")\x00\x00\x00" +2012-12-05 14:44:09.710722 D [43584:70178310413020] [50bfa4096b6933aa40000001] (0.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 4 bytes +2012-12-05 14:44:09.711262 T [43584:70178310413020] [50bfa4096b6933aa40000001] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "\x02out\x00\e\x00\x00\x00\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00\x00\x00" +2012-12-05 14:44:09.711273 D [43584:70178310413020] [50bfa4096b6933aa40000001] (0.5ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 37 bytes +2012-12-05 14:44:09.711323 T [43584:70178310413020] [50bfa4096b6933aa40000001] RubySkynet::Connection: localhost:2100 -- Response -- {"out"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00"} +2012-12-05 14:44:09.711348 T [43584:70178310413020] [50bfa4096b6933aa40000001] RubySkynet::Connection: localhost:2100 -- Return Value -- {"some"=>"parameters"} +2012-12-05 14:44:09.711366 I [43584:70178310413020] [50bfa4096b6933aa40000001] (18.8ms) RubySkynet::Client: TestService/1/Test -- Called Skynet Service: TestService.echo +2012-12-05 14:44:09.712251 I [43584:70178313986840] RubySkynet::Server -- Skynet Server Stopped +2012-12-05 14:44:09.712326 D [43584:70178313986840] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fa75387d618>(70178318838540) self=connections=70178318838540 checked_out=70178318838540 with_map= +2012-12-05 14:44:09.712651 T [43584:70178313986840] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- <"+/services/TestService/1/Test/localhost/2100H +2012-12-05 14:44:09.712697 D [43584:70178313986840] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 64 bytes +2012-12-05 14:44:09.714125 T [43434:70239120700140] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x006" +2012-12-05 14:44:09.714148 D [43434:70239120700140] (25.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:44:09.714940 T [43434:70239120700140] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\b\x18\xE4c*+/services/TestService/1/Test/localhost/21002\x00" +2012-12-05 14:44:09.714948 D [43434:70239120700140] (0.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 54 bytes +2012-12-05 14:44:09.715081 D [43434:70239120700140] RubySkynet::Registry -- #monitor Service stopped, remove: TestService/1/Test => localhost:2100 +2012-12-05 14:44:09.715101 D [43434:70239120700140] RubySkynet::Registry -- Updated registry -- {"TestService/1/Development"=>["localhost:2000", "localhost:2100"]} +2012-12-05 14:44:09.715327 T [43434:70239120700140] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*Hc +2012-12-05 14:44:09.715393 D [43434:70239120700140] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 14:44:09.714255 T [43584:70178311875500] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x006" +2012-12-05 14:44:09.714267 D [43584:70178311875500] (9.9ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:44:09.716592 T [43584:70178311875500] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\b\x18\xE4c*+/services/TestService/1/Test/localhost/21002\x00" +2012-12-05 14:44:09.716603 D [43584:70178311875500] (2.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 54 bytes +2012-12-05 14:44:09.716757 D [43584:70178311875500] RubySkynet::Registry -- #monitor Service stopped, remove: TestService/1/Test => localhost:2100 +2012-12-05 14:44:09.716782 I [43584:70178311875500] RubySkynet::Registry -- Calling callback for server: localhost:2100 +2012-12-05 14:44:09.716869 D [43584:70178311875500] RubySkynet::Connection -- Connection pool for server:localhost:2100 has been released +2012-12-05 14:44:09.716882 D [43584:70178311875500] RubySkynet::Registry -- Updated registry -- {"TestService/1/Development"=>["localhost:2000", "localhost:2100"]} +2012-12-05 14:44:09.717096 T [43584:70178311875500] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*Hc +2012-12-05 14:44:09.717138 D [43584:70178311875500] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 14:44:09.718123 T [43584:70178313986840] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 14:44:09.718134 D [43584:70178313986840] (5.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:44:09.718197 T [43584:70178313986840] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00" +2012-12-05 14:44:09.718203 D [43584:70178313986840] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 2 bytes +2012-12-05 14:44:09.718343 D [43584:70178313986840] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fa75387d618>(70178318838540) self=connections=70178318838540 checked_out= with_map= +2012-12-05 14:44:09.718371 I [43584:70178313986840] RubySkynet::Server -- Skynet Services De-registered in Doozer +2012-12-05 14:44:09.720113 I [43584:70178318841620] RubySkynet::Server -- Starting listener on localhost:2100 +2012-12-05 14:44:09.720135 D [43584:70178318841620] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 14:44:09.720939 I [43584:70178318841620] RubySkynet::Server -- Skynet Server Stopped +2012-12-05 14:44:09.721023 D [43584:70178318841620] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fa75387d618>(70178318838540) self=connections=70178318838540 checked_out=70178318838540 with_map= +2012-12-05 14:44:09.721057 D [43584:70178318841620] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fa75387d618>(70178318838540) self=connections=70178318838540 checked_out= with_map= +2012-12-05 14:44:09.721070 I [43584:70178318841620] RubySkynet::Server -- Skynet Services De-registered in Doozer +2012-12-05 14:44:09.722554 I [43584:70178310262440] RubySkynet::Server -- Starting listener on localhost:2100 +2012-12-05 14:44:09.722574 D [43584:70178310262440] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 14:44:09.722970 D [43584:70178310413020] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fa75387d618>(70178318838540) self=connections=70178318838540 checked_out=70178318838540 with_map= +2012-12-05 14:44:09.723275 T [43584:70178310413020] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- 1"+/services/TestService/1/Test/localhost/2100 +2012-12-05 14:44:09.723474 D [43584:70178310413020] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 53 bytes +2012-12-05 14:44:09.723909 T [43584:70178310413020] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x06" +2012-12-05 14:44:09.723938 D [43584:70178310413020] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:44:09.724158 T [43584:70178310413020] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\x002\x00" +2012-12-05 14:44:09.724165 D [43584:70178310413020] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 6 bytes +2012-12-05 14:44:09.724478 D [43584:70178310413020] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fa75387d618>(70178318838540) self=connections=70178318838540 checked_out= with_map= +2012-12-05 14:44:09.724665 I [43584:70178310262440] RubySkynet::Server -- Skynet Server Stopped +2012-12-05 14:44:09.724728 D [43584:70178310262440] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fa75387d618>(70178318838540) self=connections=70178318838540 checked_out=70178318838540 with_map= +2012-12-05 14:44:09.724760 D [43584:70178310262440] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fa75387d618>(70178318838540) self=connections=70178318838540 checked_out= with_map= +2012-12-05 14:44:09.724773 I [43584:70178310262440] RubySkynet::Server -- Skynet Services De-registered in Doozer +2012-12-05 14:44:56.556098 T [43434:70239120700140] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- nil +2012-12-05 14:44:56.556225 W [43434:70239120700140] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read server closed the connection before 4 bytes were returned +2012-12-05 14:44:56.559543 D [43434:70239120700140] (46844.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -- ResilientSocket::ConnectionFailure: Connection lost while reading data +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:405:in `block in read' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_debug' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:374:in `read' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:202:in `read' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:181:in `block in invoke' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:466:in `retry_on_connection_failure' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:179:in `invoke' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:148:in `wait' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:160:in `block in watch' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:159:in `loop' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:159:in `watch' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/registry.rb:197:in `watch' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/registry.rb:188:in `block in start_monitoring' +2012-12-05 14:44:56.561964 W [43434:70239120700140] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #retry_on_connection_failure retry 1 due to ResilientSocket::ConnectionFailure: Connection lost while reading data +2012-12-05 14:44:56.562421 W [43434:70239120700140] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 1 +2012-12-05 14:44:57.562824 W [43434:70239120700140] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 2 +2012-12-05 14:44:58.565292 T [43434:70239120700140] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*Hc +2012-12-05 14:44:58.565508 D [43434:70239120700140] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 14:45:47.351886 D [43615:70161810021080] RubySkynet::Server -- Registering Service: TestService with name: TestService +2012-12-05 14:45:47.352828 I [43615:70161810021080] Celluloid -- Terminating 4 actors... +2012-12-05 14:45:47.353570 I [43615:70161810021080] Celluloid -- Shutdown completed cleanly +2012-12-05 14:45:47.365539 D [43615:70161811156240] RubySkynet::Registry -- Doozer Connection Pool: Created connection #1 #<Thread:0x007f9fa3a95a20>(70161811156240) for Doozer Connection Pool +2012-12-05 14:45:47.388313 T [43615:70161811156240] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007f9fa44ad8c8@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 14:45:47.391883 D [43615:70161811156240] RubySkynet::Registry -- Doozer Connection Pool: Renewed connection old=70161811156240 new=#<RubySkynet::Doozer::Client:0x007f9fa44ad9e0>(70161816448240) +2012-12-05 14:45:47.391935 D [43615:70161811156240] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f9fa44ad9e0>(70161816448240) self=connections=70161816448240 checked_out=70161816448240 with_map= +2012-12-05 14:45:47.419121 T [43615:70161811156240] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "+/services/TestService/1/Test/localhost/2100*{"Config":{"UUID":"localhost:2100-43615-TestService-70161809957820","Name":"TestService","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"localhost","Port":2100,"MaxPort":3099}},"Registered":true}H +2012-12-05 14:45:47.419265 D [43615:70161811156240] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 272 bytes +2012-12-05 14:45:47.422554 T [43615:70161811156240] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x04" +2012-12-05 14:45:47.422634 D [43615:70161811156240] (3.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:45:47.431788 T [43615:70161811156240] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18l" +2012-12-05 14:45:47.432004 D [43615:70161811156240] (9.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:45:47.432347 D [43615:70161811156240] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007f9fa44ad9e0>(70161816448240) self=connections=70161816448240 checked_out= with_map= +2012-12-05 14:45:47.432871 I [43615:70161811156240] RubySkynet::Server -- Starting listener on localhost:2100 +2012-12-05 14:45:47.432939 D [43615:70161811156240] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 14:45:47.438378 D [43615:70161810021080] [50bfa46b6b6933aa5f000001] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f9fa44ad9e0>(70161816448240) self=connections=70161816448240 checked_out=70161816448240 with_map= +2012-12-05 14:45:47.438639 T [43615:70161810021080] [50bfa46b6b6933aa5f000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  +2012-12-05 14:45:47.438924 D [43615:70161810021080] [50bfa46b6b6933aa5f000001] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 8 bytes +2012-12-05 14:45:47.439381 T [43615:70161810021080] [50bfa46b6b6933aa5f000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x04" +2012-12-05 14:45:47.439393 D [43615:70161810021080] [50bfa46b6b6933aa5f000001] (0.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:45:47.439725 T [43615:70161810021080] [50bfa46b6b6933aa5f000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18l" +2012-12-05 14:45:47.439776 D [43615:70161810021080] [50bfa46b6b6933aa5f000001] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:45:47.440071 T [43615:70161810021080] [50bfa46b6b6933aa5f000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8Hl +2012-12-05 14:45:47.440115 D [43615:70161810021080] [50bfa46b6b6933aa5f000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 33 bytes +2012-12-05 14:45:47.440464 T [43615:70161810021080] [50bfa46b6b6933aa5f000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01\x03" +2012-12-05 14:45:47.440568 D [43615:70161810021080] [50bfa46b6b6933aa5f000001] (0.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:45:47.440917 T [43615:70161810021080] [50bfa46b6b6933aa5f000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18l*+/services/TestService/1/Test/localhost/21002\xCD\x01{\"Config\":{\"UUID\":\"localhost:2100-43615-TestService-70161809957820\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-05 14:45:47.440945 D [43615:70161810021080] [50bfa46b6b6933aa5f000001] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 259 bytes +2012-12-05 14:45:47.441242 T [43615:70161810021080] [50bfa46b6b6933aa5f000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8Hl +2012-12-05 14:45:47.441671 D [43615:70161810021080] [50bfa46b6b6933aa5f000001] (0.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 33 bytes +2012-12-05 14:45:47.442018 T [43615:70161810021080] [50bfa46b6b6933aa5f000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 14:45:47.442055 D [43615:70161810021080] [50bfa46b6b6933aa5f000001] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:45:47.447063 T [43615:70161810021080] [50bfa46b6b6933aa5f000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\xA0\x06\b" +2012-12-05 14:45:47.447180 D [43615:70161810021080] [50bfa46b6b6933aa5f000001] (5.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 14:45:47.447483 D [43615:70161810021080] [50bfa46b6b6933aa5f000001] RubySkynet::Registry -- #start_monitoring Add Service: TestService/1/Test => localhost:2100 +2012-12-05 14:45:47.447534 D [43615:70161810021080] [50bfa46b6b6933aa5f000001] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007f9fa44ad9e0>(70161816448240) self=connections=70161816448240 checked_out= with_map= +2012-12-05 14:45:47.448245 I [43615:70161810416340] RubySkynet::Registry -- Start monitoring /services/*/*/*/*/* +2012-12-05 14:45:47.448361 T [43615:70161810416340] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007f9fa3954030@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 14:45:47.449316 T [43615:70161810416340] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*Hm +2012-12-05 14:45:47.449365 D [43615:70161810416340] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 31 bytes +2012-12-05 14:45:47.449860 D [43615:70161810021080] [50bfa46b6b6933aa5f000001] RubySkynet::Connection: localhost:2100 -- Waiting for Service Handshake +2012-12-05 14:45:47.450937 D [43615:70161811156240] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 14:45:47.451056 D [43615:70161811156240] RubySkynet::Server -- Client connected, waiting for data from client +2012-12-05 14:45:47.451734 T [43615:70161810021080] [50bfa46b6b6933aa5f000001] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "9\x00\x00\x00" +2012-12-05 14:45:47.451793 D [43615:70161810021080] [50bfa46b6b6933aa5f000001] (1.3ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 4 bytes +2012-12-05 14:45:47.451850 T [43615:70161810021080] [50bfa46b6b6933aa5f000001] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "\bregistered\x00\x01\x02clientid\x00\x19\x00\x00\x0050bfa46b6b6933aa5f000002\x00\x00" +2012-12-05 14:45:47.451856 D [43615:70161810021080] [50bfa46b6b6933aa5f000001] (0.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 53 bytes +2012-12-05 14:45:47.451919 T [43615:70161810021080] [50bfa46b6b6933aa5f000001] RubySkynet::Connection: localhost:2100 -- Service Handshake -- {"registered"=>true, "clientid"=>"50bfa46b6b6933aa5f000002"} +2012-12-05 14:45:47.451932 D [43615:70161810021080] [50bfa46b6b6933aa5f000001] RubySkynet::Connection: localhost:2100 -- Sending Client Handshake +2012-12-05 14:45:47.451938 T [43615:70161810021080] [50bfa46b6b6933aa5f000001] RubySkynet::Connection: localhost:2100 -- Client Handshake -- {"clientid"=>"50bfa46b6b6933aa5f000002"} +2012-12-05 14:45:47.451956 T [43615:70161810021080] [50bfa46b6b6933aa5f000001] ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sending -- ,clientid50bfa46b6b6933aa5f000002 +2012-12-05 14:45:47.451999 D [43615:70161810021080] [50bfa46b6b6933aa5f000001] (0.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sent 44 bytes +2012-12-05 14:45:47.452060 D [43615:70161810021080] [50bfa46b6b6933aa5f000001] RubySkynet::Connection: localhost:2100 -- Sending Header +2012-12-05 14:45:47.452069 T [43615:70161810021080] [50bfa46b6b6933aa5f000001] RubySkynet::Connection: localhost:2100 -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 14:45:47.452090 T [43615:70161810021080] [50bfa46b6b6933aa5f000001] ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sending -- 5servicemethodTestService.Forwardseq +2012-12-05 14:45:47.452133 D [43615:70161810021080] [50bfa46b6b6933aa5f000001] (0.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sent 53 bytes +2012-12-05 14:45:47.452168 D [43615:70161810021080] [50bfa46b6b6933aa5f000001] RubySkynet::Connection: localhost:2100 -- Sending Request +2012-12-05 14:45:47.452174 T [43615:70161810021080] [50bfa46b6b6933aa5f000001] RubySkynet::Connection: localhost:2100 -- Request -- {"clientid"=>"50bfa46b6b6933aa5f000002", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"echo", "requestinfo"=>{"requestid"=>"50bfa46b6b6933aa5f000001", "retrycount"=>0, "originaddress"=>""}} +2012-12-05 14:45:47.452180 T [43615:70161810021080] [50bfa46b6b6933aa5f000001] RubySkynet::Connection: localhost:2100 -- Parameters: -- {"some"=>"parameters"} +2012-12-05 14:45:47.452196 T [43615:70161810021080] [50bfa46b6b6933aa5f000001] ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sending -- clientid50bfa46b6b6933aa5f000002insome parametersmethodechorequestinfoQrequestid50bfa46b6b6933aa5f000001retrycountoriginaddress +2012-12-05 14:45:47.452236 D [43615:70161810021080] [50bfa46b6b6933aa5f000001] (0.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sent 190 bytes +2012-12-05 14:45:47.452250 D [43615:70161810021080] [50bfa46b6b6933aa5f000001] RubySkynet::Connection: localhost:2100 -- Reading header from server +2012-12-05 14:45:47.453753 D [43615:70161811156240] RubySkynet::Server -- +****************** +2012-12-05 14:45:47.454072 D [43615:70161811156240] RubySkynet::Server -- Received Request +2012-12-05 14:45:47.454086 T [43615:70161811156240] RubySkynet::Server -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 14:45:47.454478 T [43615:70161811156240] RubySkynet::Server -- Request -- {"clientid"=>"50bfa46b6b6933aa5f000002", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"echo", "requestinfo"=>{"requestid"=>"50bfa46b6b6933aa5f000001", "retrycount"=>0, "originaddress"=>""}} +2012-12-05 14:45:47.454508 T [43615:70161811156240] RubySkynet::Server -- Parameters -- {"some"=>"parameters"} +2012-12-05 14:45:47.454532 T [43615:70161811156240] RubySkynet::Server -- Method Call: echo with parameters: -- {"some"=>"parameters"} +2012-12-05 14:45:47.454546 D [43615:70161811156240] (0.0ms) RubySkynet::Server -- Called: TestService#echo +2012-12-05 14:45:47.454564 D [43615:70161811156240] RubySkynet::Server -- Sending Header +2012-12-05 14:45:47.454624 D [43615:70161811156240] RubySkynet::Server -- Sending Reply +2012-12-05 14:45:47.454636 T [43615:70161811156240] RubySkynet::Server -- Reply -- {"some"=>"parameters"} +2012-12-05 14:45:47.454908 T [43615:70161810021080] [50bfa46b6b6933aa5f000001] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "5\x00\x00\x00" +2012-12-05 14:45:47.454917 D [43615:70161810021080] [50bfa46b6b6933aa5f000001] (2.7ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 4 bytes +2012-12-05 14:45:47.455600 T [43615:70161810021080] [50bfa46b6b6933aa5f000001] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "\x02servicemethod\x00\x14\x00\x00\x00TestService.Forward\x00\x10seq\x00\x00\x00\x00\x00\x00" +2012-12-05 14:45:47.455625 D [43615:70161810021080] [50bfa46b6b6933aa5f000001] (0.7ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 49 bytes +2012-12-05 14:45:47.455662 D [43615:70161810021080] [50bfa46b6b6933aa5f000001] RubySkynet::Connection: localhost:2100 -- Response Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 14:45:47.455668 D [43615:70161810021080] [50bfa46b6b6933aa5f000001] RubySkynet::Connection: localhost:2100 -- Reading response from server +2012-12-05 14:45:47.455712 T [43615:70161810021080] [50bfa46b6b6933aa5f000001] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- ")\x00\x00\x00" +2012-12-05 14:45:47.455718 D [43615:70161810021080] [50bfa46b6b6933aa5f000001] (0.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 4 bytes +2012-12-05 14:45:47.456209 T [43615:70161810021080] [50bfa46b6b6933aa5f000001] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "\x02out\x00\e\x00\x00\x00\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00\x00\x00" +2012-12-05 14:45:47.456238 D [43615:70161810021080] [50bfa46b6b6933aa5f000001] (0.5ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 37 bytes +2012-12-05 14:45:47.456269 T [43615:70161810021080] [50bfa46b6b6933aa5f000001] RubySkynet::Connection: localhost:2100 -- Response -- {"out"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00"} +2012-12-05 14:45:47.456292 T [43615:70161810021080] [50bfa46b6b6933aa5f000001] RubySkynet::Connection: localhost:2100 -- Return Value -- {"some"=>"parameters"} +2012-12-05 14:45:47.456312 I [43615:70161810021080] [50bfa46b6b6933aa5f000001] (20.4ms) RubySkynet::Client: TestService/1/Test -- Called Skynet Service: TestService.echo +2012-12-05 14:45:47.456617 I [43615:70161811156240] RubySkynet::Server -- Skynet Server Stopped +2012-12-05 14:45:47.456688 D [43615:70161811156240] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f9fa44ad9e0>(70161816448240) self=connections=70161816448240 checked_out=70161816448240 with_map= +2012-12-05 14:45:47.457000 T [43615:70161811156240] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- <"+/services/TestService/1/Test/localhost/2100H +2012-12-05 14:45:47.457046 D [43615:70161811156240] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 64 bytes +2012-12-05 14:45:47.460243 T [43615:70161810416340] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x005" +2012-12-05 14:45:47.460260 D [43615:70161810416340] (10.9ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:45:47.460347 T [43615:70161810416340] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\b\x18m*+/services/TestService/1/Test/localhost/21002\x00" +2012-12-05 14:45:47.460354 D [43615:70161810416340] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 53 bytes +2012-12-05 14:45:47.460512 D [43615:70161810416340] RubySkynet::Registry -- #monitor Service stopped, remove: TestService/1/Test => localhost:2100 +2012-12-05 14:45:47.460535 I [43615:70161810416340] RubySkynet::Registry -- Calling callback for server: localhost:2100 +2012-12-05 14:45:47.460663 D [43615:70161810416340] RubySkynet::Connection -- Connection pool for server:localhost:2100 has been released +2012-12-05 14:45:47.460676 D [43615:70161810416340] RubySkynet::Registry -- Updated registry -- {} +2012-12-05 14:45:47.460924 T [43615:70161810416340] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*Hn +2012-12-05 14:45:47.461023 D [43615:70161810416340] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 31 bytes +2012-12-05 14:45:47.462184 T [43615:70161811156240] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 14:45:47.462196 D [43615:70161811156240] (5.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:45:47.462258 T [43615:70161811156240] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00" +2012-12-05 14:45:47.462264 D [43615:70161811156240] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 2 bytes +2012-12-05 14:45:47.462364 D [43615:70161811156240] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007f9fa44ad9e0>(70161816448240) self=connections=70161816448240 checked_out= with_map= +2012-12-05 14:45:47.462397 I [43615:70161811156240] RubySkynet::Server -- Skynet Services De-registered in Doozer +2012-12-05 14:45:47.466680 I [43615:70161816451340] RubySkynet::Server -- Starting listener on localhost:2100 +2012-12-05 14:45:47.466705 D [43615:70161816451340] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 14:45:47.467434 I [43615:70161816451340] RubySkynet::Server -- Skynet Server Stopped +2012-12-05 14:45:47.467520 D [43615:70161816451340] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f9fa44ad9e0>(70161816448240) self=connections=70161816448240 checked_out=70161816448240 with_map= +2012-12-05 14:45:47.467556 D [43615:70161816451340] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007f9fa44ad9e0>(70161816448240) self=connections=70161816448240 checked_out= with_map= +2012-12-05 14:45:47.467569 I [43615:70161816451340] RubySkynet::Server -- Skynet Services De-registered in Doozer +2012-12-05 14:45:47.469271 I [43615:70161809871280] RubySkynet::Server -- Starting listener on localhost:2100 +2012-12-05 14:45:47.469292 D [43615:70161809871280] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 14:45:47.469500 D [43615:70161810021080] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f9fa44ad9e0>(70161816448240) self=connections=70161816448240 checked_out=70161816448240 with_map= +2012-12-05 14:45:47.469883 T [43615:70161810021080] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- 1"+/services/TestService/1/Test/localhost/2100 +2012-12-05 14:45:47.470768 D [43615:70161810021080] (0.9ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 53 bytes +2012-12-05 14:45:47.471588 T [43615:70161810021080] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x06" +2012-12-05 14:45:47.471619 D [43615:70161810021080] (0.8ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:45:47.472103 T [43615:70161810021080] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\x002\x00" +2012-12-05 14:45:47.472116 D [43615:70161810021080] (0.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 6 bytes +2012-12-05 14:45:47.472444 D [43615:70161810021080] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007f9fa44ad9e0>(70161816448240) self=connections=70161816448240 checked_out= with_map= +2012-12-05 14:45:47.472868 I [43615:70161809871280] RubySkynet::Server -- Skynet Server Stopped +2012-12-05 14:45:47.472947 D [43615:70161809871280] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f9fa44ad9e0>(70161816448240) self=connections=70161816448240 checked_out=70161816448240 with_map= +2012-12-05 14:45:47.472980 D [43615:70161809871280] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007f9fa44ad9e0>(70161816448240) self=connections=70161816448240 checked_out= with_map= +2012-12-05 14:45:47.472993 I [43615:70161809871280] RubySkynet::Server -- Skynet Services De-registered in Doozer +2012-12-05 14:46:39.391962 D [43652:70318366612180] RubySkynet::Server -- Registering Service: TestService with name: TestService +2012-12-05 14:46:39.392898 I [43652:70318366612180] Celluloid -- Terminating 4 actors... +2012-12-05 14:46:39.393867 I [43652:70318366612180] Celluloid -- Shutdown completed cleanly +2012-12-05 14:46:39.402644 D [43652:70318369210560] RubySkynet::Registry -- Doozer Connection Pool: Created connection #1 #<Thread:0x007fe88ad60180>(70318369210560) for Doozer Connection Pool +2012-12-05 14:46:39.422657 T [43652:70318369210560] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007fe88aef3ee8@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 14:46:39.425959 D [43652:70318369210560] RubySkynet::Registry -- Doozer Connection Pool: Renewed connection old=70318369210560 new=#<RubySkynet::Doozer::Client:0x007fe88aef4000>(70318370037760) +2012-12-05 14:46:39.426008 D [43652:70318369210560] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fe88aef4000>(70318370037760) self=connections=70318370037760 checked_out=70318370037760 with_map= +2012-12-05 14:46:39.453844 T [43652:70318369210560] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "+/services/TestService/1/Test/localhost/2100*{"Config":{"UUID":"localhost:2100-43652-TestService-70318366550720","Name":"TestService","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"localhost","Port":2100,"MaxPort":3099}},"Registered":true}H +2012-12-05 14:46:39.454418 D [43652:70318369210560] (0.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 272 bytes +2012-12-05 14:46:39.460867 T [43652:70318369210560] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 14:46:39.460895 D [43652:70318369210560] (6.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:46:39.461220 T [43652:70318369210560] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xA2\x01" +2012-12-05 14:46:39.461945 D [43652:70318369210560] (0.8ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 14:46:39.462288 D [43652:70318369210560] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fe88aef4000>(70318370037760) self=connections=70318370037760 checked_out= with_map= +2012-12-05 14:46:39.463723 I [43652:70318369210560] RubySkynet::Server -- Starting listener on localhost:2100 +2012-12-05 14:46:39.463741 D [43652:70318369210560] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 14:46:39.467124 D [43652:70318366612180] [50bfa49f6b6933aa84000001] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fe88aef4000>(70318370037760) self=connections=70318370037760 checked_out=70318370037760 with_map= +2012-12-05 14:46:39.467373 T [43652:70318366612180] [50bfa49f6b6933aa84000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  +2012-12-05 14:46:39.467601 D [43652:70318366612180] [50bfa49f6b6933aa84000001] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 8 bytes +2012-12-05 14:46:39.467660 T [43652:70318366612180] [50bfa49f6b6933aa84000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 14:46:39.467666 D [43652:70318366612180] [50bfa49f6b6933aa84000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:46:39.467841 T [43652:70318366612180] [50bfa49f6b6933aa84000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xA2\x01" +2012-12-05 14:46:39.467850 D [43652:70318366612180] [50bfa49f6b6933aa84000001] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 14:46:39.468144 T [43652:70318366612180] [50bfa49f6b6933aa84000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H +2012-12-05 14:46:39.468186 D [43652:70318366612180] [50bfa49f6b6933aa84000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-05 14:46:39.468849 T [43652:70318366612180] [50bfa49f6b6933aa84000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01\x04" +2012-12-05 14:46:39.468860 D [43652:70318366612180] [50bfa49f6b6933aa84000001] (0.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:46:39.468932 T [43652:70318366612180] [50bfa49f6b6933aa84000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xA2\x01*+/services/TestService/1/Test/localhost/21002\xCD\x01{\"Config\":{\"UUID\":\"localhost:2100-43652-TestService-70318366550720\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-05 14:46:39.468938 D [43652:70318366612180] [50bfa49f6b6933aa84000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 260 bytes +2012-12-05 14:46:39.469248 T [43652:70318366612180] [50bfa49f6b6933aa84000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H +2012-12-05 14:46:39.469394 D [43652:70318366612180] [50bfa49f6b6933aa84000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-05 14:46:39.470087 T [43652:70318366612180] [50bfa49f6b6933aa84000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 14:46:39.470099 D [43652:70318366612180] [50bfa49f6b6933aa84000001] (0.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:46:39.470156 T [43652:70318366612180] [50bfa49f6b6933aa84000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\xA0\x06\b" +2012-12-05 14:46:39.470162 D [43652:70318366612180] [50bfa49f6b6933aa84000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 14:46:39.470348 D [43652:70318366612180] [50bfa49f6b6933aa84000001] RubySkynet::Registry -- #start_monitoring Add Service: TestService/1/Test => localhost:2100 +2012-12-05 14:46:39.470387 D [43652:70318366612180] [50bfa49f6b6933aa84000001] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fe88aef4000>(70318370037760) self=connections=70318370037760 checked_out= with_map= +2012-12-05 14:46:39.470739 I [43652:70318367678200] RubySkynet::Registry -- Start monitoring /services/*/*/*/*/* +2012-12-05 14:46:39.470796 T [43652:70318367678200] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007fe88aa832a0@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 14:46:39.471751 D [43652:70318366612180] [50bfa49f6b6933aa84000001] RubySkynet::Connection: localhost:2100 -- Waiting for Service Handshake +2012-12-05 14:46:39.472758 T [43652:70318367678200] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-05 14:46:39.472807 D [43652:70318367678200] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 14:46:39.473059 D [43652:70318369210560] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 14:46:39.473153 D [43652:70318369210560] RubySkynet::Server -- Client connected, waiting for data from client +2012-12-05 14:46:39.473632 T [43652:70318366612180] [50bfa49f6b6933aa84000001] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "9\x00\x00\x00" +2012-12-05 14:46:39.473639 D [43652:70318366612180] [50bfa49f6b6933aa84000001] (1.3ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 4 bytes +2012-12-05 14:46:39.473692 T [43652:70318366612180] [50bfa49f6b6933aa84000001] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "\bregistered\x00\x01\x02clientid\x00\x19\x00\x00\x0050bfa49f6b6933aa84000002\x00\x00" +2012-12-05 14:46:39.473698 D [43652:70318366612180] [50bfa49f6b6933aa84000001] (0.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 53 bytes +2012-12-05 14:46:39.473746 T [43652:70318366612180] [50bfa49f6b6933aa84000001] RubySkynet::Connection: localhost:2100 -- Service Handshake -- {"registered"=>true, "clientid"=>"50bfa49f6b6933aa84000002"} +2012-12-05 14:46:39.473758 D [43652:70318366612180] [50bfa49f6b6933aa84000001] RubySkynet::Connection: localhost:2100 -- Sending Client Handshake +2012-12-05 14:46:39.473764 T [43652:70318366612180] [50bfa49f6b6933aa84000001] RubySkynet::Connection: localhost:2100 -- Client Handshake -- {"clientid"=>"50bfa49f6b6933aa84000002"} +2012-12-05 14:46:39.473780 T [43652:70318366612180] [50bfa49f6b6933aa84000001] ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sending -- ,clientid50bfa49f6b6933aa84000002 +2012-12-05 14:46:39.473820 D [43652:70318366612180] [50bfa49f6b6933aa84000001] (0.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sent 44 bytes +2012-12-05 14:46:39.473878 D [43652:70318366612180] [50bfa49f6b6933aa84000001] RubySkynet::Connection: localhost:2100 -- Sending Header +2012-12-05 14:46:39.473888 T [43652:70318366612180] [50bfa49f6b6933aa84000001] RubySkynet::Connection: localhost:2100 -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 14:46:39.473909 T [43652:70318366612180] [50bfa49f6b6933aa84000001] ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sending -- 5servicemethodTestService.Forwardseq +2012-12-05 14:46:39.473954 D [43652:70318366612180] [50bfa49f6b6933aa84000001] (0.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sent 53 bytes +2012-12-05 14:46:39.474647 D [43652:70318366612180] [50bfa49f6b6933aa84000001] RubySkynet::Connection: localhost:2100 -- Sending Request +2012-12-05 14:46:39.474656 T [43652:70318366612180] [50bfa49f6b6933aa84000001] RubySkynet::Connection: localhost:2100 -- Request -- {"clientid"=>"50bfa49f6b6933aa84000002", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"echo", "requestinfo"=>{"requestid"=>"50bfa49f6b6933aa84000001", "retrycount"=>0, "originaddress"=>""}} +2012-12-05 14:46:39.474662 T [43652:70318366612180] [50bfa49f6b6933aa84000001] RubySkynet::Connection: localhost:2100 -- Parameters: -- {"some"=>"parameters"} +2012-12-05 14:46:39.474681 T [43652:70318366612180] [50bfa49f6b6933aa84000001] ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sending -- clientid50bfa49f6b6933aa84000002insome parametersmethodechorequestinfoQrequestid50bfa49f6b6933aa84000001retrycountoriginaddress +2012-12-05 14:46:39.474760 D [43652:70318366612180] [50bfa49f6b6933aa84000001] (0.1ms) ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sent 190 bytes +2012-12-05 14:46:39.474775 D [43652:70318366612180] [50bfa49f6b6933aa84000001] RubySkynet::Connection: localhost:2100 -- Reading header from server +2012-12-05 14:46:39.479222 D [43652:70318369210560] RubySkynet::Server -- +****************** +2012-12-05 14:46:39.479244 D [43652:70318369210560] RubySkynet::Server -- Received Request +2012-12-05 14:46:39.479255 T [43652:70318369210560] RubySkynet::Server -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 14:46:39.479385 T [43652:70318369210560] RubySkynet::Server -- Request -- {"clientid"=>"50bfa49f6b6933aa84000002", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"echo", "requestinfo"=>{"requestid"=>"50bfa49f6b6933aa84000001", "retrycount"=>0, "originaddress"=>""}} +2012-12-05 14:46:39.479590 T [43652:70318369210560] RubySkynet::Server -- Parameters -- {"some"=>"parameters"} +2012-12-05 14:46:39.479615 T [43652:70318369210560] RubySkynet::Server -- Method Call: echo with parameters: -- {"some"=>"parameters"} +2012-12-05 14:46:39.479630 D [43652:70318369210560] (0.0ms) RubySkynet::Server -- Called: TestService#echo +2012-12-05 14:46:39.479650 D [43652:70318369210560] RubySkynet::Server -- Sending Header +2012-12-05 14:46:39.479956 D [43652:70318369210560] RubySkynet::Server -- Sending Reply +2012-12-05 14:46:39.479969 T [43652:70318369210560] RubySkynet::Server -- Reply -- {"some"=>"parameters"} +2012-12-05 14:46:39.480740 T [43652:70318366612180] [50bfa49f6b6933aa84000001] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "5\x00\x00\x00" +2012-12-05 14:46:39.480750 D [43652:70318366612180] [50bfa49f6b6933aa84000001] (6.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 4 bytes +2012-12-05 14:46:39.480803 T [43652:70318366612180] [50bfa49f6b6933aa84000001] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "\x02servicemethod\x00\x14\x00\x00\x00TestService.Forward\x00\x10seq\x00\x00\x00\x00\x00\x00" +2012-12-05 14:46:39.480809 D [43652:70318366612180] [50bfa49f6b6933aa84000001] (0.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 49 bytes +2012-12-05 14:46:39.480842 D [43652:70318366612180] [50bfa49f6b6933aa84000001] RubySkynet::Connection: localhost:2100 -- Response Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 14:46:39.480849 D [43652:70318366612180] [50bfa49f6b6933aa84000001] RubySkynet::Connection: localhost:2100 -- Reading response from server +2012-12-05 14:46:39.482204 T [43652:70318366612180] [50bfa49f6b6933aa84000001] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- ")\x00\x00\x00" +2012-12-05 14:46:39.482217 D [43652:70318366612180] [50bfa49f6b6933aa84000001] (1.4ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 4 bytes +2012-12-05 14:46:39.482267 T [43652:70318366612180] [50bfa49f6b6933aa84000001] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "\x02out\x00\e\x00\x00\x00\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00\x00\x00" +2012-12-05 14:46:39.482321 D [43652:70318366612180] [50bfa49f6b6933aa84000001] (0.1ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 37 bytes +2012-12-05 14:46:39.482351 T [43652:70318366612180] [50bfa49f6b6933aa84000001] RubySkynet::Connection: localhost:2100 -- Response -- {"out"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00"} +2012-12-05 14:46:39.482375 T [43652:70318366612180] [50bfa49f6b6933aa84000001] RubySkynet::Connection: localhost:2100 -- Return Value -- {"some"=>"parameters"} +2012-12-05 14:46:39.482399 I [43652:70318366612180] [50bfa49f6b6933aa84000001] (17.1ms) RubySkynet::Client: TestService/1/Test -- Called Skynet Service: TestService.echo +2012-12-05 14:46:39.483107 I [43652:70318369210560] RubySkynet::Server -- Skynet Server Stopped +2012-12-05 14:46:39.483186 D [43652:70318369210560] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fe88aef4000>(70318370037760) self=connections=70318370037760 checked_out=70318370037760 with_map= +2012-12-05 14:46:39.483511 T [43652:70318369210560] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- <"+/services/TestService/1/Test/localhost/2100H +2012-12-05 14:46:39.483558 D [43652:70318369210560] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 64 bytes +2012-12-05 14:46:39.485138 T [43652:70318367678200] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x006" +2012-12-05 14:46:39.485151 D [43652:70318367678200] (12.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:46:39.485479 T [43652:70318367678200] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\b\x18\xA3\x01*+/services/TestService/1/Test/localhost/21002\x00" +2012-12-05 14:46:39.485487 D [43652:70318367678200] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 54 bytes +2012-12-05 14:46:39.485620 D [43652:70318367678200] RubySkynet::Registry -- #monitor Service stopped, remove: TestService/1/Test => localhost:2100 +2012-12-05 14:46:39.485644 I [43652:70318367678200] RubySkynet::Registry -- Calling callback for server: localhost:2100 +2012-12-05 14:46:39.485764 D [43652:70318367678200] RubySkynet::Connection -- Connection pool for server:localhost:2100 has been released +2012-12-05 14:46:39.485776 D [43652:70318367678200] RubySkynet::Registry -- Updated registry -- {} +2012-12-05 14:46:39.485976 T [43652:70318367678200] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-05 14:46:39.486039 D [43652:70318367678200] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 14:46:39.486100 T [43652:70318369210560] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 14:46:39.486106 D [43652:70318369210560] (2.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:46:39.487777 T [43652:70318369210560] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00" +2012-12-05 14:46:39.487796 D [43652:70318369210560] (1.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 2 bytes +2012-12-05 14:46:39.487889 D [43652:70318369210560] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fe88aef4000>(70318370037760) self=connections=70318370037760 checked_out= with_map= +2012-12-05 14:46:39.487920 I [43652:70318369210560] RubySkynet::Server -- Skynet Services De-registered in Doozer +2012-12-05 14:46:39.493560 I [43652:70318370040360] RubySkynet::Server -- Starting listener on localhost:2100 +2012-12-05 14:46:39.493586 D [43652:70318370040360] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 14:46:39.493900 I [43652:70318370040360] RubySkynet::Server -- Skynet Server Stopped +2012-12-05 14:46:39.493984 D [43652:70318370040360] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fe88aef4000>(70318370037760) self=connections=70318370037760 checked_out=70318370037760 with_map= +2012-12-05 14:46:39.494020 D [43652:70318370040360] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fe88aef4000>(70318370037760) self=connections=70318370037760 checked_out= with_map= +2012-12-05 14:46:39.494034 I [43652:70318370040360] RubySkynet::Server -- Skynet Services De-registered in Doozer +2012-12-05 14:46:39.495475 I [43652:70318366461600] RubySkynet::Server -- Starting listener on localhost:2100 +2012-12-05 14:46:39.495495 D [43652:70318366461600] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 14:46:39.496080 D [43652:70318366612180] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fe88aef4000>(70318370037760) self=connections=70318370037760 checked_out=70318370037760 with_map= +2012-12-05 14:46:39.496393 T [43652:70318366612180] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- 1"+/services/TestService/1/Test/localhost/2100 +2012-12-05 14:46:39.496641 D [43652:70318366612180] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 53 bytes +2012-12-05 14:46:39.496981 T [43652:70318366612180] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x06" +2012-12-05 14:46:39.496993 D [43652:70318366612180] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:46:39.497130 T [43652:70318366612180] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\x002\x00" +2012-12-05 14:46:39.497137 D [43652:70318366612180] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 6 bytes +2012-12-05 14:46:39.497567 D [43652:70318366612180] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fe88aef4000>(70318370037760) self=connections=70318370037760 checked_out= with_map= +2012-12-05 14:46:39.497901 I [43652:70318366461600] RubySkynet::Server -- Skynet Server Stopped +2012-12-05 14:46:39.497965 D [43652:70318366461600] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fe88aef4000>(70318370037760) self=connections=70318370037760 checked_out=70318370037760 with_map= +2012-12-05 14:46:39.497997 D [43652:70318366461600] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fe88aef4000>(70318370037760) self=connections=70318370037760 checked_out= with_map= +2012-12-05 14:46:39.498010 I [43652:70318366461600] RubySkynet::Server -- Skynet Services De-registered in Doozer +2012-12-05 14:47:03.353693 D [43667:70226486188760] RubySkynet::Server -- Registering Service: TestService with name: TestService +2012-12-05 14:47:03.354639 I [43667:70226486188760] Celluloid -- Terminating 4 actors... +2012-12-05 14:47:03.356716 I [43667:70226486188760] Celluloid -- Shutdown completed cleanly +2012-12-05 14:47:03.365295 D [43667:70226492102220] RubySkynet::Registry -- Doozer Connection Pool: Created connection #1 #<Thread:0x007fbdc23b2c98>(70226492102220) for Doozer Connection Pool +2012-12-05 14:47:03.386531 T [43667:70226492102220] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007fbdc1d35280@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 14:47:03.391306 D [43667:70226492102220] RubySkynet::Registry -- Doozer Connection Pool: Renewed connection old=70226492102220 new=#<RubySkynet::Doozer::Client:0x007fbdc1d35398>(70226488699340) +2012-12-05 14:47:03.391354 D [43667:70226492102220] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fbdc1d35398>(70226488699340) self=connections=70226488699340 checked_out=70226488699340 with_map= +2012-12-05 14:47:03.417023 T [43667:70226492102220] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "+/services/TestService/1/Test/localhost/2100*{"Config":{"UUID":"localhost:2100-43667-TestService-70226486126780","Name":"TestService","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"localhost","Port":2100,"MaxPort":3099}},"Registered":true}H +2012-12-05 14:47:03.417758 D [43667:70226492102220] (0.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 272 bytes +2012-12-05 14:47:03.419981 T [43667:70226492102220] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 14:47:03.420014 D [43667:70226492102220] (2.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:47:03.420784 T [43667:70226492102220] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xBC\x01" +2012-12-05 14:47:03.420824 D [43667:70226492102220] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 14:47:03.421024 D [43667:70226492102220] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fbdc1d35398>(70226488699340) self=connections=70226488699340 checked_out= with_map= +2012-12-05 14:47:03.421475 I [43667:70226492102220] RubySkynet::Server -- Starting listener on localhost:2100 +2012-12-05 14:47:03.421512 D [43667:70226492102220] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 14:47:03.429251 D [43667:70226486188760] [50bfa4b76b6933aa93000001] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fbdc1d35398>(70226488699340) self=connections=70226488699340 checked_out=70226488699340 with_map= +2012-12-05 14:47:03.429529 T [43667:70226486188760] [50bfa4b76b6933aa93000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  +2012-12-05 14:47:03.429882 D [43667:70226486188760] [50bfa4b76b6933aa93000001] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 8 bytes +2012-12-05 14:47:03.430054 T [43667:70226486188760] [50bfa4b76b6933aa93000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 14:47:03.430080 D [43667:70226486188760] [50bfa4b76b6933aa93000001] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:47:03.430317 T [43667:70226486188760] [50bfa4b76b6933aa93000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xBC\x01" +2012-12-05 14:47:03.430342 D [43667:70226486188760] [50bfa4b76b6933aa93000001] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 14:47:03.430704 T [43667:70226486188760] [50bfa4b76b6933aa93000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H +2012-12-05 14:47:03.431079 D [43667:70226486188760] [50bfa4b76b6933aa93000001] (0.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-05 14:47:03.431590 T [43667:70226486188760] [50bfa4b76b6933aa93000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01\x04" +2012-12-05 14:47:03.431619 D [43667:70226486188760] [50bfa4b76b6933aa93000001] (0.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:47:03.431768 T [43667:70226486188760] [50bfa4b76b6933aa93000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xBC\x01*+/services/TestService/1/Test/localhost/21002\xCD\x01{\"Config\":{\"UUID\":\"localhost:2100-43667-TestService-70226486126780\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-05 14:47:03.431774 D [43667:70226486188760] [50bfa4b76b6933aa93000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 260 bytes +2012-12-05 14:47:03.432069 T [43667:70226486188760] [50bfa4b76b6933aa93000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H +2012-12-05 14:47:03.432112 D [43667:70226486188760] [50bfa4b76b6933aa93000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-05 14:47:03.432580 T [43667:70226486188760] [50bfa4b76b6933aa93000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 14:47:03.432608 D [43667:70226486188760] [50bfa4b76b6933aa93000001] (0.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:47:03.432917 T [43667:70226486188760] [50bfa4b76b6933aa93000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\xA0\x06\b" +2012-12-05 14:47:03.432992 D [43667:70226486188760] [50bfa4b76b6933aa93000001] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 14:47:03.433179 D [43667:70226486188760] [50bfa4b76b6933aa93000001] RubySkynet::Registry -- #start_monitoring Add Service: TestService/1/Test => localhost:2100 +2012-12-05 14:47:03.433217 D [43667:70226486188760] [50bfa4b76b6933aa93000001] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fbdc1d35398>(70226488699340) self=connections=70226488699340 checked_out= with_map= +2012-12-05 14:47:03.434412 I [43667:70226490848900] RubySkynet::Registry -- Start monitoring /services/*/*/*/*/* +2012-12-05 14:47:03.434514 T [43667:70226490848900] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007fbdc19d6738@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 14:47:03.435342 T [43667:70226490848900] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-05 14:47:03.435469 D [43667:70226490848900] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 14:47:03.435961 D [43667:70226486188760] [50bfa4b76b6933aa93000001] RubySkynet::Connection: localhost:2100 -- Waiting for Service Handshake +2012-12-05 14:47:03.437041 D [43667:70226492102220] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 14:47:03.437143 D [43667:70226492102220] RubySkynet::Server -- Client connected, waiting for data from client +2012-12-05 14:47:03.437798 T [43667:70226486188760] [50bfa4b76b6933aa93000001] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "9\x00\x00\x00" +2012-12-05 14:47:03.437858 D [43667:70226486188760] [50bfa4b76b6933aa93000001] (1.3ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 4 bytes +2012-12-05 14:47:03.437913 T [43667:70226486188760] [50bfa4b76b6933aa93000001] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "\bregistered\x00\x01\x02clientid\x00\x19\x00\x00\x0050bfa4b76b6933aa93000002\x00\x00" +2012-12-05 14:47:03.437920 D [43667:70226486188760] [50bfa4b76b6933aa93000001] (0.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 53 bytes +2012-12-05 14:47:03.438006 T [43667:70226486188760] [50bfa4b76b6933aa93000001] RubySkynet::Connection: localhost:2100 -- Service Handshake -- {"registered"=>true, "clientid"=>"50bfa4b76b6933aa93000002"} +2012-12-05 14:47:03.438022 D [43667:70226486188760] [50bfa4b76b6933aa93000001] RubySkynet::Connection: localhost:2100 -- Sending Client Handshake +2012-12-05 14:47:03.438029 T [43667:70226486188760] [50bfa4b76b6933aa93000001] RubySkynet::Connection: localhost:2100 -- Client Handshake -- {"clientid"=>"50bfa4b76b6933aa93000002"} +2012-12-05 14:47:03.438048 T [43667:70226486188760] [50bfa4b76b6933aa93000001] ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sending -- ,clientid50bfa4b76b6933aa93000002 +2012-12-05 14:47:03.438777 D [43667:70226486188760] [50bfa4b76b6933aa93000001] (0.7ms) ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sent 44 bytes +2012-12-05 14:47:03.438903 D [43667:70226486188760] [50bfa4b76b6933aa93000001] RubySkynet::Connection: localhost:2100 -- Sending Header +2012-12-05 14:47:03.438914 T [43667:70226486188760] [50bfa4b76b6933aa93000001] RubySkynet::Connection: localhost:2100 -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 14:47:03.438938 T [43667:70226486188760] [50bfa4b76b6933aa93000001] ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sending -- 5servicemethodTestService.Forwardseq +2012-12-05 14:47:03.438982 D [43667:70226486188760] [50bfa4b76b6933aa93000001] (0.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sent 53 bytes +2012-12-05 14:47:03.439017 D [43667:70226486188760] [50bfa4b76b6933aa93000001] RubySkynet::Connection: localhost:2100 -- Sending Request +2012-12-05 14:47:03.439024 T [43667:70226486188760] [50bfa4b76b6933aa93000001] RubySkynet::Connection: localhost:2100 -- Request -- {"clientid"=>"50bfa4b76b6933aa93000002", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"echo", "requestinfo"=>{"requestid"=>"50bfa4b76b6933aa93000001", "retrycount"=>0, "originaddress"=>""}} +2012-12-05 14:47:03.439036 T [43667:70226486188760] [50bfa4b76b6933aa93000001] RubySkynet::Connection: localhost:2100 -- Parameters: -- {"some"=>"parameters"} +2012-12-05 14:47:03.439054 T [43667:70226486188760] [50bfa4b76b6933aa93000001] ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sending -- clientid50bfa4b76b6933aa93000002insome parametersmethodechorequestinfoQrequestid50bfa4b76b6933aa93000001retrycountoriginaddress +2012-12-05 14:47:03.439696 D [43667:70226492102220] RubySkynet::Server -- +****************** +2012-12-05 14:47:03.439709 D [43667:70226492102220] RubySkynet::Server -- Received Request +2012-12-05 14:47:03.439719 T [43667:70226492102220] RubySkynet::Server -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 14:47:03.439965 D [43667:70226486188760] [50bfa4b76b6933aa93000001] (0.9ms) ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sent 190 bytes +2012-12-05 14:47:03.439980 D [43667:70226486188760] [50bfa4b76b6933aa93000001] RubySkynet::Connection: localhost:2100 -- Reading header from server +2012-12-05 14:47:03.440942 T [43667:70226492102220] RubySkynet::Server -- Request -- {"clientid"=>"50bfa4b76b6933aa93000002", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"echo", "requestinfo"=>{"requestid"=>"50bfa4b76b6933aa93000001", "retrycount"=>0, "originaddress"=>""}} +2012-12-05 14:47:03.440971 T [43667:70226492102220] RubySkynet::Server -- Parameters -- {"some"=>"parameters"} +2012-12-05 14:47:03.440996 T [43667:70226492102220] RubySkynet::Server -- Method Call: echo with parameters: -- {"some"=>"parameters"} +2012-12-05 14:47:03.441010 D [43667:70226492102220] (0.0ms) RubySkynet::Server -- Called: TestService#echo +2012-12-05 14:47:03.441028 D [43667:70226492102220] RubySkynet::Server -- Sending Header +2012-12-05 14:47:03.441124 D [43667:70226492102220] RubySkynet::Server -- Sending Reply +2012-12-05 14:47:03.441136 T [43667:70226492102220] RubySkynet::Server -- Reply -- {"some"=>"parameters"} +2012-12-05 14:47:03.442783 T [43667:70226486188760] [50bfa4b76b6933aa93000001] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "5\x00\x00\x00" +2012-12-05 14:47:03.442798 D [43667:70226486188760] [50bfa4b76b6933aa93000001] (2.8ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 4 bytes +2012-12-05 14:47:03.443035 T [43667:70226486188760] [50bfa4b76b6933aa93000001] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "\x02servicemethod\x00\x14\x00\x00\x00TestService.Forward\x00\x10seq\x00\x00\x00\x00\x00\x00" +2012-12-05 14:47:03.443046 D [43667:70226486188760] [50bfa4b76b6933aa93000001] (0.2ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 49 bytes +2012-12-05 14:47:03.443128 D [43667:70226486188760] [50bfa4b76b6933aa93000001] RubySkynet::Connection: localhost:2100 -- Response Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 14:47:03.443136 D [43667:70226486188760] [50bfa4b76b6933aa93000001] RubySkynet::Connection: localhost:2100 -- Reading response from server +2012-12-05 14:47:03.443501 T [43667:70226486188760] [50bfa4b76b6933aa93000001] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- ")\x00\x00\x00" +2012-12-05 14:47:03.443542 D [43667:70226486188760] [50bfa4b76b6933aa93000001] (0.4ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 4 bytes +2012-12-05 14:47:03.443793 T [43667:70226486188760] [50bfa4b76b6933aa93000001] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "\x02out\x00\e\x00\x00\x00\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00\x00\x00" +2012-12-05 14:47:03.443821 D [43667:70226486188760] [50bfa4b76b6933aa93000001] (0.3ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 37 bytes +2012-12-05 14:47:03.443885 T [43667:70226486188760] [50bfa4b76b6933aa93000001] RubySkynet::Connection: localhost:2100 -- Response -- {"out"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00"} +2012-12-05 14:47:03.443912 T [43667:70226486188760] [50bfa4b76b6933aa93000001] RubySkynet::Connection: localhost:2100 -- Return Value -- {"some"=>"parameters"} +2012-12-05 14:47:03.443936 I [43667:70226486188760] [50bfa4b76b6933aa93000001] (20.4ms) RubySkynet::Client: TestService/1/Test -- Called Skynet Service: TestService.echo +2012-12-05 14:47:03.444562 I [43667:70226492102220] RubySkynet::Server -- Skynet Server Stopped +2012-12-05 14:47:03.444652 D [43667:70226492102220] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fbdc1d35398>(70226488699340) self=connections=70226488699340 checked_out=70226488699340 with_map= +2012-12-05 14:47:03.444975 T [43667:70226492102220] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- <"+/services/TestService/1/Test/localhost/2100H +2012-12-05 14:47:03.445305 D [43667:70226492102220] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 64 bytes +2012-12-05 14:47:03.446779 T [43667:70226490848900] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x006" +2012-12-05 14:47:03.446792 D [43667:70226490848900] (11.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:47:03.451825 T [43667:70226490848900] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\b\x18\xBD\x01*+/services/TestService/1/Test/localhost/21002\x00" +2012-12-05 14:47:03.451843 D [43667:70226490848900] (2.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 54 bytes +2012-12-05 14:47:03.452097 D [43667:70226490848900] RubySkynet::Registry -- #monitor Service stopped, remove: TestService/1/Test => localhost:2100 +2012-12-05 14:47:03.452126 I [43667:70226490848900] RubySkynet::Registry -- Calling callback for server: localhost:2100 +2012-12-05 14:47:03.452237 D [43667:70226490848900] RubySkynet::Connection -- Connection pool for server:localhost:2100 has been released +2012-12-05 14:47:03.452250 D [43667:70226490848900] RubySkynet::Registry -- Updated registry -- {} +2012-12-05 14:47:03.452490 T [43667:70226490848900] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-05 14:47:03.452533 D [43667:70226490848900] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 14:47:03.453171 T [43667:70226492102220] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 14:47:03.453202 D [43667:70226492102220] (7.9ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:47:03.453503 T [43667:70226492102220] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00" +2012-12-05 14:47:03.453525 D [43667:70226492102220] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 2 bytes +2012-12-05 14:47:03.453630 D [43667:70226492102220] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fbdc1d35398>(70226488699340) self=connections=70226488699340 checked_out= with_map= +2012-12-05 14:47:03.453665 I [43667:70226492102220] RubySkynet::Server -- Skynet Services De-registered in Doozer +2012-12-05 14:47:03.455294 I [43667:70226486039100] RubySkynet::Server -- Starting listener on localhost:2100 +2012-12-05 14:47:03.455317 D [43667:70226486039100] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 14:47:03.455986 I [43667:70226486039100] RubySkynet::Server -- Skynet Server Stopped +2012-12-05 14:47:03.456068 D [43667:70226486039100] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fbdc1d35398>(70226488699340) self=connections=70226488699340 checked_out=70226488699340 with_map= +2012-12-05 14:47:03.456102 D [43667:70226486039100] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fbdc1d35398>(70226488699340) self=connections=70226488699340 checked_out= with_map= +2012-12-05 14:47:03.456115 I [43667:70226486039100] RubySkynet::Server -- Skynet Services De-registered in Doozer +2012-12-05 14:47:03.457939 I [43667:70226490965560] RubySkynet::Server -- Starting listener on localhost:2100 +2012-12-05 14:47:03.457961 D [43667:70226490965560] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 14:47:03.458501 D [43667:70226486188760] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fbdc1d35398>(70226488699340) self=connections=70226488699340 checked_out=70226488699340 with_map= +2012-12-05 14:47:03.459141 T [43667:70226486188760] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- 1"+/services/TestService/1/Test/localhost/2100 +2012-12-05 14:47:03.460866 D [43667:70226486188760] (1.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 53 bytes +2012-12-05 14:47:03.461105 T [43667:70226486188760] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x06" +2012-12-05 14:47:03.461132 D [43667:70226486188760] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:47:03.461386 T [43667:70226486188760] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\x002\x00" +2012-12-05 14:47:03.461393 D [43667:70226486188760] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 6 bytes +2012-12-05 14:47:33.463095 D [43667:70226486188760] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fbdc1d35398>(70226488699340) self=connections=70226488699340 checked_out= with_map= +2012-12-05 14:47:33.463693 I [43667:70226490965560] RubySkynet::Server -- Skynet Server Stopped +2012-12-05 14:47:33.463799 D [43667:70226490965560] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fbdc1d35398>(70226488699340) self=connections=70226488699340 checked_out=70226488699340 with_map= +2012-12-05 14:47:33.463839 D [43667:70226490965560] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fbdc1d35398>(70226488699340) self=connections=70226488699340 checked_out= with_map= +2012-12-05 14:47:33.463853 I [43667:70226490965560] RubySkynet::Server -- Skynet Services De-registered in Doozer +2012-12-05 14:48:34.474124 I [43434:70239119432400] Celluloid -- Terminating 5 actors... +2012-12-05 14:48:34.474577 I [43434:70239120877420] RubySkynet::Server -- Skynet Server Stopped +2012-12-05 14:48:34.474702 T [43434:70239120877420] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007fc3a3bbd4d8@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 14:48:34.475278 W [43434:70239120877420] RubySkynet::Registry -- Unable to close, you should explicitly set :close_proc => nil in the gene_pool options +2012-12-05 14:48:34.475309 D [43434:70239120877420] RubySkynet::Registry -- Doozer Connection Pool: Renewed connection old=70239119298880 new=#<RubySkynet::Doozer::Client:0x007fc3a3bbd618>(70239121173260) +2012-12-05 14:48:34.475349 D [43434:70239120877420] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fc3a3bbd618>(70239121173260) self=connections=70239121173260 checked_out=70239121173260 with_map= +2012-12-05 14:48:34.475691 T [43434:70239120877420] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- C"2/services/TestService/1/Development/localhost/2000H +2012-12-05 14:48:34.475764 D [43434:70239120877420] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 71 bytes +2012-12-05 14:48:34.491212 T [43434:70239120877420] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 14:48:34.491235 D [43434:70239120877420] (15.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:48:34.492181 T [43434:70239120877420] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00" +2012-12-05 14:48:34.492199 D [43434:70239120877420] (0.9ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 2 bytes +2012-12-05 14:48:34.492351 D [43434:70239120877420] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fc3a3bbd618>(70239121173260) self=connections=70239121173260 checked_out= with_map= +2012-12-05 14:48:34.492389 I [43434:70239120877420] RubySkynet::Server -- Skynet Services De-registered in Doozer +2012-12-05 14:48:34.493227 I [43434:70239119432400] Celluloid -- Shutdown completed cleanly +2012-12-05 14:48:45.666813 D [43695:70104071232220] RubySkynet::Server -- Registering Service: TestService with name: TestService +2012-12-05 14:48:51.385984 D [43695:70104076261740] RubySkynet::Registry -- Doozer Connection Pool: Created connection #1 #<Thread:0x007f84c12032d8>(70104076261740) for Doozer Connection Pool +2012-12-05 14:48:51.421716 T [43695:70104076261740] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007f84c0828f10@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 14:48:51.424741 D [43695:70104076261740] RubySkynet::Registry -- Doozer Connection Pool: Renewed connection old=70104076261740 new=#<RubySkynet::Doozer::Client:0x007f84c0829398>(70104071096780) +2012-12-05 14:48:51.424782 D [43695:70104076261740] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f84c0829398>(70104071096780) self=connections=70104071096780 checked_out=70104071096780 with_map= +2012-12-05 14:48:51.439175 T [43695:70104076261740] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "2/services/TestService/1/Development/localhost/2000*{"Config":{"UUID":"localhost:2000-43695-TestService-70104072209600","Name":"TestService","Version":"1","Region":"Development","ServiceAddr":{"IPAddress":"localhost","Port":2000,"MaxPort":2999}},"Registered":true}H +2012-12-05 14:48:51.439371 D [43695:70104076261740] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 286 bytes +2012-12-05 14:48:51.440962 T [43695:70104076261740] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 14:48:51.441040 D [43695:70104076261740] (1.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:48:51.442124 T [43695:70104076261740] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xAB\x02" +2012-12-05 14:48:51.442139 D [43695:70104076261740] (0.9ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 14:48:51.442351 D [43695:70104076261740] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007f84c0829398>(70104071096780) self=connections=70104071096780 checked_out= with_map= +2012-12-05 14:48:51.443912 I [43695:70104076261740] RubySkynet::Server -- Starting listener on localhost:2000 +2012-12-05 14:48:51.443933 D [43695:70104076261740] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 14:48:59.580138 I [43695:70104076261740] RubySkynet::Server -- Skynet Server Stopped +2012-12-05 14:48:59.580631 D [43695:70104076261740] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f84c0829398>(70104071096780) self=connections=70104071096780 checked_out=70104071096780 with_map= +2012-12-05 14:48:59.581055 T [43695:70104076261740] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- C"2/services/TestService/1/Development/localhost/2000H +2012-12-05 14:48:59.581163 D [43695:70104076261740] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 71 bytes +2012-12-05 14:48:59.592021 T [43695:70104076261740] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 14:48:59.592047 D [43695:70104076261740] (10.9ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:48:59.592261 T [43695:70104076261740] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00" +2012-12-05 14:48:59.592267 D [43695:70104076261740] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 2 bytes +2012-12-05 14:48:59.592400 D [43695:70104076261740] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007f84c0829398>(70104071096780) self=connections=70104071096780 checked_out= with_map= +2012-12-05 14:48:59.592434 I [43695:70104076261740] RubySkynet::Server -- Skynet Services De-registered in Doozer +2012-12-05 14:49:03.992758 I [43695:70104076261740] RubySkynet::Server -- Starting listener on localhost:2000 +2012-12-05 14:49:03.992785 D [43695:70104076261740] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 14:49:06.830349 E [43695:70104072102680] Celluloid -- RubySkynet::Server crashed! +Errno::EADDRINUSE: Address already in use - bind(2) +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/celluloid-io-0.12.0/lib/celluloid/io/tcp_server.rb:11:in `initialize' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/celluloid-io-0.12.0/lib/celluloid/io/tcp_server.rb:11:in `new' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/celluloid-io-0.12.0/lib/celluloid/io/tcp_server.rb:11:in `initialize' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/server.rb:147:in `new' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/server.rb:147:in `start' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/celluloid-0.12.3/lib/celluloid/calls.rb:57:in `dispatch' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/celluloid-0.12.3/lib/celluloid/actor.rb:323:in `block in handle_message' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/celluloid-0.12.3/lib/celluloid/tasks/task_fiber.rb:22:in `block in initialize' +2012-12-05 14:49:06.830404 I [43695:70104072102680] RubySkynet::Server -- Skynet Server Stopped +2012-12-05 14:49:06.830475 D [43695:70104072102680] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f84c0829398>(70104071096780) self=connections=70104071096780 checked_out=70104071096780 with_map= +2012-12-05 14:49:06.830507 D [43695:70104072102680] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007f84c0829398>(70104071096780) self=connections=70104071096780 checked_out= with_map= +2012-12-05 14:49:06.830521 I [43695:70104072102680] RubySkynet::Server -- Skynet Services De-registered in Doozer +2012-12-05 14:50:05.660112 I [43695:70104071232220] Celluloid -- Terminating 5 actors... +2012-12-05 14:50:05.661623 I [43695:70104076261740] RubySkynet::Server -- Skynet Server Stopped +2012-12-05 14:50:05.661695 D [43695:70104076261740] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f84c0829398>(70104071096780) self=connections=70104071096780 checked_out=70104071096780 with_map= +2012-12-05 14:50:05.661729 D [43695:70104076261740] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007f84c0829398>(70104071096780) self=connections=70104071096780 checked_out= with_map= +2012-12-05 14:50:05.661742 I [43695:70104076261740] RubySkynet::Server -- Skynet Services De-registered in Doozer +2012-12-05 14:50:05.666985 I [43695:70104071232220] Celluloid -- Shutdown completed cleanly +2012-12-05 14:50:08.294170 D [43727:70314344274640] RubySkynet::Server -- Registering Service: TestService with name: TestService +2012-12-05 14:50:09.827297 D [43727:70314349767620] RubySkynet::Registry -- Doozer Connection Pool: Created connection #1 #<Thread:0x007fe6abae5788>(70314349767620) for Doozer Connection Pool +2012-12-05 14:50:09.856001 T [43727:70314349767620] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007fe6ab029d30@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 14:50:09.859149 D [43727:70314349767620] RubySkynet::Registry -- Doozer Connection Pool: Renewed connection old=70314349767620 new=#<RubySkynet::Doozer::Client:0x007fe6ab02a208>(70314344141060) +2012-12-05 14:50:09.859230 D [43727:70314349767620] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fe6ab02a208>(70314344141060) self=connections=70314344141060 checked_out=70314344141060 with_map= +2012-12-05 14:50:09.871305 T [43727:70314349767620] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "2/services/TestService/1/Development/localhost/2000*{"Config":{"UUID":"localhost:2000-43727-TestService-70314349318760","Name":"TestService","Version":"1","Region":"Development","ServiceAddr":{"IPAddress":"localhost","Port":2000,"MaxPort":2999}},"Registered":true}H +2012-12-05 14:50:09.873019 D [43727:70314349767620] (1.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 286 bytes +2012-12-05 14:50:09.876759 T [43727:70314349767620] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 14:50:09.876778 D [43727:70314349767620] (3.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:50:09.877038 T [43727:70314349767620] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xFB\x02" +2012-12-05 14:50:09.877049 D [43727:70314349767620] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 14:50:09.877226 D [43727:70314349767620] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fe6ab02a208>(70314344141060) self=connections=70314344141060 checked_out= with_map= +2012-12-05 14:50:09.877433 I [43727:70314349767620] RubySkynet::Server -- Starting listener on localhost:2000 +2012-12-05 14:50:09.877448 D [43727:70314349767620] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 14:50:15.674050 I [43727:70314349767620] RubySkynet::Server -- Skynet Server Stopped +2012-12-05 14:50:15.674155 D [43727:70314349767620] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fe6ab02a208>(70314344141060) self=connections=70314344141060 checked_out=70314344141060 with_map= +2012-12-05 14:50:15.674497 T [43727:70314349767620] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- C"2/services/TestService/1/Development/localhost/2000H +2012-12-05 14:50:15.674598 D [43727:70314349767620] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 71 bytes +2012-12-05 14:50:15.686919 T [43727:70314349767620] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 14:50:15.686947 D [43727:70314349767620] (12.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:50:15.688092 T [43727:70314349767620] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00" +2012-12-05 14:50:15.688104 D [43727:70314349767620] (1.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 2 bytes +2012-12-05 14:50:15.688205 D [43727:70314349767620] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fe6ab02a208>(70314344141060) self=connections=70314344141060 checked_out= with_map= +2012-12-05 14:50:15.688229 I [43727:70314349767620] RubySkynet::Server -- Skynet Services De-registered in Doozer +2012-12-05 14:50:17.749682 D [43727:70314349767620] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fe6ab02a208>(70314344141060) self=connections=70314344141060 checked_out=70314344141060 with_map= +2012-12-05 14:50:17.750054 T [43727:70314349767620] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "2/services/TestService/1/Development/localhost/2000*{"Config":{"UUID":"localhost:2000-43727-TestService-70314349318760","Name":"TestService","Version":"1","Region":"Development","ServiceAddr":{"IPAddress":"localhost","Port":2000,"MaxPort":2999}},"Registered":true}H +2012-12-05 14:50:17.750241 D [43727:70314349767620] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 286 bytes +2012-12-05 14:50:17.756916 T [43727:70314349767620] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 14:50:17.756936 D [43727:70314349767620] (6.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:50:17.757567 T [43727:70314349767620] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\x85\x03" +2012-12-05 14:50:17.757575 D [43727:70314349767620] (0.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 14:50:17.757696 D [43727:70314349767620] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fe6ab02a208>(70314344141060) self=connections=70314344141060 checked_out= with_map= +2012-12-05 14:50:17.759060 I [43727:70314349767620] RubySkynet::Server -- Starting listener on localhost:2000 +2012-12-05 14:50:17.759076 D [43727:70314349767620] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 14:50:21.770932 I [43727:70314344274640] Celluloid -- Terminating 5 actors... +2012-12-05 14:50:21.777062 I [43727:70314349767620] RubySkynet::Server -- Skynet Server Stopped +2012-12-05 14:50:21.777149 D [43727:70314349767620] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fe6ab02a208>(70314344141060) self=connections=70314344141060 checked_out=70314344141060 with_map= +2012-12-05 14:50:21.777442 T [43727:70314349767620] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- C"2/services/TestService/1/Development/localhost/2000H +2012-12-05 14:50:21.777697 D [43727:70314349767620] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 71 bytes +2012-12-05 14:50:21.783426 T [43727:70314349767620] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 14:50:21.783456 D [43727:70314349767620] (5.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:50:21.786007 T [43727:70314349767620] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00" +2012-12-05 14:50:21.786026 D [43727:70314349767620] (2.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 2 bytes +2012-12-05 14:50:21.786140 D [43727:70314349767620] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fe6ab02a208>(70314344141060) self=connections=70314344141060 checked_out= with_map= +2012-12-05 14:50:21.786166 I [43727:70314349767620] RubySkynet::Server -- Skynet Services De-registered in Doozer +2012-12-05 14:50:21.788650 I [43727:70314344274640] Celluloid -- Shutdown completed cleanly +2012-12-05 14:50:43.373573 D [43739:70277635726040] RubySkynet::Server -- Registering Service: TestService with name: TestService +2012-12-05 14:50:43.374622 I [43739:70277635726040] Celluloid -- Terminating 4 actors... +2012-12-05 14:50:43.377980 I [43739:70277635726040] Celluloid -- Shutdown completed cleanly +2012-12-05 14:50:43.391119 D [43739:70277641398500] RubySkynet::Registry -- Doozer Connection Pool: Created connection #1 #<Thread:0x007fd593b3d1c8>(70277641398500) for Doozer Connection Pool +2012-12-05 14:50:43.414386 T [43739:70277641398500] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007fd593a80820@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 14:50:43.418175 D [43739:70277641398500] RubySkynet::Registry -- Doozer Connection Pool: Renewed connection old=70277641398500 new=#<RubySkynet::Doozer::Client:0x007fd593a80938>(70277641012380) +2012-12-05 14:50:43.418214 D [43739:70277641398500] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fd593a80938>(70277641012380) self=connections=70277641012380 checked_out=70277641012380 with_map= +2012-12-05 14:50:43.448135 T [43739:70277641398500] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "+/services/TestService/1/Test/localhost/2100*{"Config":{"UUID":"localhost:2100-43739-TestService-70277635663900","Name":"TestService","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"localhost","Port":2100,"MaxPort":3099}},"Registered":true}H +2012-12-05 14:50:43.448462 D [43739:70277641398500] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 272 bytes +2012-12-05 14:50:43.450631 T [43739:70277641398500] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 14:50:43.450672 D [43739:70277641398500] (1.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:50:43.451062 T [43739:70277641398500] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xA0\x03" +2012-12-05 14:50:43.451102 D [43739:70277641398500] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 14:50:43.451261 D [43739:70277641398500] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fd593a80938>(70277641012380) self=connections=70277641012380 checked_out= with_map= +2012-12-05 14:50:43.451752 I [43739:70277641398500] RubySkynet::Server -- Starting listener on localhost:2100 +2012-12-05 14:50:43.451801 D [43739:70277641398500] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 14:50:43.457414 D [43739:70277635726040] [50bfa5936b6933aadb000001] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fd593a80938>(70277641012380) self=connections=70277641012380 checked_out=70277641012380 with_map= +2012-12-05 14:50:43.457716 T [43739:70277635726040] [50bfa5936b6933aadb000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  +2012-12-05 14:50:43.458505 D [43739:70277635726040] [50bfa5936b6933aadb000001] (0.8ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 8 bytes +2012-12-05 14:50:43.458743 T [43739:70277635726040] [50bfa5936b6933aadb000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 14:50:43.459948 D [43739:70277635726040] [50bfa5936b6933aadb000001] (1.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:50:43.460316 T [43739:70277635726040] [50bfa5936b6933aadb000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xA0\x03" +2012-12-05 14:50:43.460353 D [43739:70277635726040] [50bfa5936b6933aadb000001] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 14:50:43.460724 T [43739:70277635726040] [50bfa5936b6933aadb000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H +2012-12-05 14:50:43.461087 D [43739:70277635726040] [50bfa5936b6933aadb000001] (0.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-05 14:50:43.461398 T [43739:70277635726040] [50bfa5936b6933aadb000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01\x04" +2012-12-05 14:50:43.461410 D [43739:70277635726040] [50bfa5936b6933aadb000001] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:50:43.461651 T [43739:70277635726040] [50bfa5936b6933aadb000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xA0\x03*+/services/TestService/1/Test/localhost/21002\xCD\x01{\"Config\":{\"UUID\":\"localhost:2100-43739-TestService-70277635663900\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-05 14:50:43.461658 D [43739:70277635726040] [50bfa5936b6933aadb000001] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 260 bytes +2012-12-05 14:50:43.461982 T [43739:70277635726040] [50bfa5936b6933aadb000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H +2012-12-05 14:50:43.462026 D [43739:70277635726040] [50bfa5936b6933aadb000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-05 14:50:43.462896 T [43739:70277635726040] [50bfa5936b6933aadb000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 14:50:43.462904 D [43739:70277635726040] [50bfa5936b6933aadb000001] (0.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:50:43.463495 T [43739:70277635726040] [50bfa5936b6933aadb000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\xA0\x06\b" +2012-12-05 14:50:43.463523 D [43739:70277635726040] [50bfa5936b6933aadb000001] (0.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 14:50:43.463905 D [43739:70277635726040] [50bfa5936b6933aadb000001] RubySkynet::Registry -- #start_monitoring Add Service: TestService/1/Test => localhost:2100 +2012-12-05 14:50:43.463948 D [43739:70277635726040] [50bfa5936b6933aadb000001] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fd593a80938>(70277641012380) self=connections=70277641012380 checked_out= with_map= +2012-12-05 14:50:43.464518 I [43739:70277636362660] RubySkynet::Registry -- Start monitoring /services/*/*/*/*/* +2012-12-05 14:50:43.464701 T [43739:70277636362660] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007fd593122828@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 14:50:43.465881 T [43739:70277636362660] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-05 14:50:43.466003 D [43739:70277636362660] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 14:50:43.466438 D [43739:70277635726040] [50bfa5936b6933aadb000001] RubySkynet::Connection: localhost:2100 -- Waiting for Service Handshake +2012-12-05 14:50:43.467546 D [43739:70277641398500] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 14:50:43.467656 D [43739:70277641398500] RubySkynet::Server -- Client connected, waiting for data from client +2012-12-05 14:50:43.468348 T [43739:70277635726040] [50bfa5936b6933aadb000001] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "9\x00\x00\x00" +2012-12-05 14:50:43.468376 D [43739:70277635726040] [50bfa5936b6933aadb000001] (1.2ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 4 bytes +2012-12-05 14:50:43.469409 T [43739:70277635726040] [50bfa5936b6933aadb000001] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "\bregistered\x00\x01\x02clientid\x00\x19\x00\x00\x0050bfa5936b6933aadb000002\x00\x00" +2012-12-05 14:50:43.469480 D [43739:70277635726040] [50bfa5936b6933aadb000001] (0.3ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 53 bytes +2012-12-05 14:50:43.469542 T [43739:70277635726040] [50bfa5936b6933aadb000001] RubySkynet::Connection: localhost:2100 -- Service Handshake -- {"registered"=>true, "clientid"=>"50bfa5936b6933aadb000002"} +2012-12-05 14:50:43.469555 D [43739:70277635726040] [50bfa5936b6933aadb000001] RubySkynet::Connection: localhost:2100 -- Sending Client Handshake +2012-12-05 14:50:43.469561 T [43739:70277635726040] [50bfa5936b6933aadb000001] RubySkynet::Connection: localhost:2100 -- Client Handshake -- {"clientid"=>"50bfa5936b6933aadb000002"} +2012-12-05 14:50:43.469582 T [43739:70277635726040] [50bfa5936b6933aadb000001] ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sending -- ,clientid50bfa5936b6933aadb000002 +2012-12-05 14:50:43.469758 D [43739:70277635726040] [50bfa5936b6933aadb000001] (0.2ms) ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sent 44 bytes +2012-12-05 14:50:43.469825 D [43739:70277635726040] [50bfa5936b6933aadb000001] RubySkynet::Connection: localhost:2100 -- Sending Header +2012-12-05 14:50:43.469835 T [43739:70277635726040] [50bfa5936b6933aadb000001] RubySkynet::Connection: localhost:2100 -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 14:50:43.469860 T [43739:70277635726040] [50bfa5936b6933aadb000001] ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sending -- 5servicemethodTestService.Forwardseq +2012-12-05 14:50:43.470037 D [43739:70277641398500] RubySkynet::Server -- +****************** +2012-12-05 14:50:43.470050 D [43739:70277641398500] RubySkynet::Server -- Received Request +2012-12-05 14:50:43.470060 T [43739:70277641398500] RubySkynet::Server -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 14:50:43.470569 D [43739:70277635726040] [50bfa5936b6933aadb000001] (0.7ms) ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sent 53 bytes +2012-12-05 14:50:43.470642 D [43739:70277635726040] [50bfa5936b6933aadb000001] RubySkynet::Connection: localhost:2100 -- Sending Request +2012-12-05 14:50:43.470649 T [43739:70277635726040] [50bfa5936b6933aadb000001] RubySkynet::Connection: localhost:2100 -- Request -- {"clientid"=>"50bfa5936b6933aadb000002", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"echo", "requestinfo"=>{"requestid"=>"50bfa5936b6933aadb000001", "retrycount"=>0, "originaddress"=>""}} +2012-12-05 14:50:43.470654 T [43739:70277635726040] [50bfa5936b6933aadb000001] RubySkynet::Connection: localhost:2100 -- Parameters: -- {"some"=>"parameters"} +2012-12-05 14:50:43.470672 T [43739:70277635726040] [50bfa5936b6933aadb000001] ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sending -- clientid50bfa5936b6933aadb000002insome parametersmethodechorequestinfoQrequestid50bfa5936b6933aadb000001retrycountoriginaddress +2012-12-05 14:50:43.471889 T [43739:70277641398500] RubySkynet::Server -- Request -- {"clientid"=>"50bfa5936b6933aadb000002", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"echo", "requestinfo"=>{"requestid"=>"50bfa5936b6933aadb000001", "retrycount"=>0, "originaddress"=>""}} +2012-12-05 14:50:43.471976 T [43739:70277641398500] RubySkynet::Server -- Parameters -- {"some"=>"parameters"} +2012-12-05 14:50:43.472001 T [43739:70277641398500] RubySkynet::Server -- Method Call: echo with parameters: -- {"some"=>"parameters"} +2012-12-05 14:50:43.472015 D [43739:70277641398500] (0.0ms) RubySkynet::Server -- Called: TestService#echo +2012-12-05 14:50:43.472032 D [43739:70277641398500] RubySkynet::Server -- Sending Header +2012-12-05 14:50:43.472096 D [43739:70277641398500] RubySkynet::Server -- Sending Reply +2012-12-05 14:50:43.472107 T [43739:70277641398500] RubySkynet::Server -- Reply -- {"some"=>"parameters"} +2012-12-05 14:50:43.472297 D [43739:70277635726040] [50bfa5936b6933aadb000001] (1.6ms) ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sent 190 bytes +2012-12-05 14:50:43.472317 D [43739:70277635726040] [50bfa5936b6933aadb000001] RubySkynet::Connection: localhost:2100 -- Reading header from server +2012-12-05 14:50:43.472372 T [43739:70277635726040] [50bfa5936b6933aadb000001] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "5\x00\x00\x00" +2012-12-05 14:50:43.472380 D [43739:70277635726040] [50bfa5936b6933aadb000001] (0.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 4 bytes +2012-12-05 14:50:43.473235 T [43739:70277635726040] [50bfa5936b6933aadb000001] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "\x02servicemethod\x00\x14\x00\x00\x00TestService.Forward\x00\x10seq\x00\x00\x00\x00\x00\x00" +2012-12-05 14:50:43.473242 D [43739:70277635726040] [50bfa5936b6933aadb000001] (0.8ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 49 bytes +2012-12-05 14:50:43.473286 D [43739:70277635726040] [50bfa5936b6933aadb000001] RubySkynet::Connection: localhost:2100 -- Response Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 14:50:43.473293 D [43739:70277635726040] [50bfa5936b6933aadb000001] RubySkynet::Connection: localhost:2100 -- Reading response from server +2012-12-05 14:50:43.474022 T [43739:70277635726040] [50bfa5936b6933aadb000001] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- ")\x00\x00\x00" +2012-12-05 14:50:43.474049 D [43739:70277635726040] [50bfa5936b6933aadb000001] (0.7ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 4 bytes +2012-12-05 14:50:43.474385 T [43739:70277635726040] [50bfa5936b6933aadb000001] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "\x02out\x00\e\x00\x00\x00\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00\x00\x00" +2012-12-05 14:50:43.474435 D [43739:70277635726040] [50bfa5936b6933aadb000001] (0.3ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 37 bytes +2012-12-05 14:50:43.474478 T [43739:70277635726040] [50bfa5936b6933aadb000001] RubySkynet::Connection: localhost:2100 -- Response -- {"out"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00"} +2012-12-05 14:50:43.474502 T [43739:70277635726040] [50bfa5936b6933aadb000001] RubySkynet::Connection: localhost:2100 -- Return Value -- {"some"=>"parameters"} +2012-12-05 14:50:43.474524 I [43739:70277635726040] [50bfa5936b6933aadb000001] (20.8ms) RubySkynet::Client: TestService/1/Test -- Called Skynet Service: TestService.echo +2012-12-05 14:50:43.474837 I [43739:70277641398500] RubySkynet::Server -- Skynet Server Stopped +2012-12-05 14:50:43.474910 D [43739:70277641398500] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fd593a80938>(70277641012380) self=connections=70277641012380 checked_out=70277641012380 with_map= +2012-12-05 14:50:43.475267 T [43739:70277641398500] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- <"+/services/TestService/1/Test/localhost/2100H +2012-12-05 14:50:43.478371 D [43739:70277641398500] (3.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 64 bytes +2012-12-05 14:50:43.479181 T [43739:70277636362660] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x006" +2012-12-05 14:50:43.479194 D [43739:70277636362660] (13.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:50:43.482638 T [43739:70277641398500] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 14:50:43.482694 D [43739:70277641398500] (4.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:50:43.483769 T [43739:70277636362660] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\b\x18\xA1\x03*+/services/TestService/1/Test/localhost/21002\x00" +2012-12-05 14:50:43.483820 D [43739:70277636362660] (4.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 54 bytes +2012-12-05 14:50:43.484049 D [43739:70277636362660] RubySkynet::Registry -- #monitor Service stopped, remove: TestService/1/Test => localhost:2100 +2012-12-05 14:50:43.484075 I [43739:70277636362660] RubySkynet::Registry -- Calling callback for server: localhost:2100 +2012-12-05 14:50:43.484342 D [43739:70277636362660] RubySkynet::Connection -- Connection pool for server:localhost:2100 has been released +2012-12-05 14:50:43.484356 D [43739:70277636362660] RubySkynet::Registry -- Updated registry -- {} +2012-12-05 14:50:43.484589 T [43739:70277636362660] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-05 14:50:43.484633 D [43739:70277636362660] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 14:50:43.485308 T [43739:70277641398500] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00" +2012-12-05 14:50:43.485340 D [43739:70277641398500] (2.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 2 bytes +2012-12-05 14:50:43.485443 D [43739:70277641398500] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fd593a80938>(70277641012380) self=connections=70277641012380 checked_out= with_map= +2012-12-05 14:50:43.485462 I [43739:70277641398500] RubySkynet::Server -- Skynet Services De-registered in Doozer +2012-12-05 14:50:43.487217 D [43739:70277641015500] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fd593a80938>(70277641012380) self=connections=70277641012380 checked_out=70277641012380 with_map= +2012-12-05 14:50:43.487607 T [43739:70277641015500] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "+/services/TestService/1/Test/localhost/2100*{"Config":{"UUID":"localhost:2100-43739-TestService-70277635663900","Name":"TestService","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"localhost","Port":2100,"MaxPort":3099}},"Registered":true}H +2012-12-05 14:50:43.487685 D [43739:70277641015500] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 272 bytes +2012-12-05 14:50:43.490127 T [43739:70277636362660] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01\x04" +2012-12-05 14:50:43.490246 D [43739:70277636362660] (5.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:50:43.490419 T [43739:70277641015500] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 14:50:43.490427 D [43739:70277641015500] (2.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:50:43.491628 T [43739:70277636362660] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xA2\x03*+/services/TestService/1/Test/localhost/21002\xCD\x01{\"Config\":{\"UUID\":\"localhost:2100-43739-TestService-70277635663900\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-05 14:50:43.491640 D [43739:70277636362660] (1.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 260 bytes +2012-12-05 14:50:43.491847 D [43739:70277636362660] RubySkynet::Registry -- #monitor Add/Update Service: TestService/1/Test => localhost:2100 +2012-12-05 14:50:43.491860 D [43739:70277636362660] RubySkynet::Registry -- Updated registry -- {"TestService/1/Test"=>["localhost:2100"]} +2012-12-05 14:50:43.492108 T [43739:70277636362660] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-05 14:50:43.492183 D [43739:70277636362660] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 14:50:43.492338 T [43739:70277641015500] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xA2\x03" +2012-12-05 14:50:43.492346 D [43739:70277641015500] (1.9ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 14:50:43.492428 D [43739:70277641015500] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fd593a80938>(70277641012380) self=connections=70277641012380 checked_out= with_map= +2012-12-05 14:50:43.492652 I [43739:70277641015500] RubySkynet::Server -- Starting listener on localhost:2100 +2012-12-05 14:50:43.492667 D [43739:70277641015500] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 14:50:43.493270 I [43739:70277641015500] RubySkynet::Server -- Skynet Server Stopped +2012-12-05 14:50:43.493339 D [43739:70277641015500] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fd593a80938>(70277641012380) self=connections=70277641012380 checked_out=70277641012380 with_map= +2012-12-05 14:50:43.493618 T [43739:70277641015500] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- <"+/services/TestService/1/Test/localhost/2100H +2012-12-05 14:50:43.493660 D [43739:70277641015500] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 64 bytes +2012-12-05 14:50:43.495927 T [43739:70277636362660] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x006" +2012-12-05 14:50:43.495940 D [43739:70277636362660] (3.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:50:43.496039 T [43739:70277641015500] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 14:50:43.496046 D [43739:70277641015500] (2.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:50:43.497219 T [43739:70277641015500] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00" +2012-12-05 14:50:43.497231 D [43739:70277641015500] (0.9ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 2 bytes +2012-12-05 14:50:43.497323 D [43739:70277641015500] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fd593a80938>(70277641012380) self=connections=70277641012380 checked_out= with_map= +2012-12-05 14:50:43.497343 I [43739:70277641015500] RubySkynet::Server -- Skynet Services De-registered in Doozer +2012-12-05 14:50:43.498669 T [43739:70277636362660] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\b\x18\xA3\x03*+/services/TestService/1/Test/localhost/21002\x00" +2012-12-05 14:50:43.498681 D [43739:70277636362660] (2.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 54 bytes +2012-12-05 14:50:43.498799 D [43739:70277636362660] RubySkynet::Registry -- #monitor Service stopped, remove: TestService/1/Test => localhost:2100 +2012-12-05 14:50:43.498818 D [43739:70277636362660] RubySkynet::Registry -- Updated registry -- {} +2012-12-05 14:50:43.499033 T [43739:70277636362660] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-05 14:50:43.499077 D [43739:70277636362660] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 14:50:43.500737 D [43739:70277635576340] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fd593a80938>(70277641012380) self=connections=70277641012380 checked_out=70277641012380 with_map= +2012-12-05 14:50:43.501102 T [43739:70277635576340] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "+/services/TestService/1/Test/localhost/2100*{"Config":{"UUID":"localhost:2100-43739-TestService-70277635663900","Name":"TestService","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"localhost","Port":2100,"MaxPort":3099}},"Registered":true}H +2012-12-05 14:50:43.501154 D [43739:70277635576340] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 272 bytes +2012-12-05 14:50:43.504875 T [43739:70277636362660] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01\x04" +2012-12-05 14:50:43.504890 D [43739:70277636362660] (5.8ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:50:43.504994 T [43739:70277635576340] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 14:50:43.505002 D [43739:70277635576340] (3.8ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:50:43.505538 T [43739:70277636362660] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xA4\x03*+/services/TestService/1/Test/localhost/21002\xCD\x01{\"Config\":{\"UUID\":\"localhost:2100-43739-TestService-70277635663900\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-05 14:50:43.505549 D [43739:70277636362660] (0.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 260 bytes +2012-12-05 14:50:43.505750 D [43739:70277636362660] RubySkynet::Registry -- #monitor Add/Update Service: TestService/1/Test => localhost:2100 +2012-12-05 14:50:43.505763 D [43739:70277636362660] RubySkynet::Registry -- Updated registry -- {"TestService/1/Test"=>["localhost:2100"]} +2012-12-05 14:50:43.505980 T [43739:70277636362660] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-05 14:50:43.506045 D [43739:70277636362660] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 14:50:43.507778 T [43739:70277635576340] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xA4\x03" +2012-12-05 14:50:43.507791 D [43739:70277635576340] (2.8ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 14:50:43.507887 D [43739:70277635576340] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fd593a80938>(70277641012380) self=connections=70277641012380 checked_out= with_map= +2012-12-05 14:50:43.507997 I [43739:70277635576340] RubySkynet::Server -- Starting listener on localhost:2100 +2012-12-05 14:50:43.508013 D [43739:70277635576340] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 14:50:43.510347 D [43739:70277635726040] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fd593a80938>(70277641012380) self=connections=70277641012380 checked_out=70277641012380 with_map= +2012-12-05 14:50:43.511025 T [43739:70277635726040] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- 1"+/services/TestService/1/Test/localhost/2100 +2012-12-05 14:50:43.511854 D [43739:70277635726040] (0.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 53 bytes +2012-12-05 14:50:43.512164 T [43739:70277635726040] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\xD5" +2012-12-05 14:50:43.512177 D [43739:70277635726040] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:50:43.512297 T [43739:70277635726040] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xA4\x032\xCD\x01{\"Config\":{\"UUID\":\"localhost:2100-43739-TestService-70277635663900\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-05 14:50:43.512306 D [43739:70277635726040] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 213 bytes +2012-12-05 14:51:05.285537 D [43739:70277635726040] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fd593a80938>(70277641012380) self=connections=70277641012380 checked_out= with_map= +2012-12-05 14:51:05.285803 I [43739:70277635576340] RubySkynet::Server -- Skynet Server Stopped +2012-12-05 14:51:05.285891 D [43739:70277635576340] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fd593a80938>(70277641012380) self=connections=70277641012380 checked_out=70277641012380 with_map= +2012-12-05 14:51:05.286307 T [43739:70277635576340] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- <"+/services/TestService/1/Test/localhost/2100H +2012-12-05 14:51:05.287785 D [43739:70277635576340] (1.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 64 bytes +2012-12-05 14:51:05.290094 T [43739:70277636362660] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x006" +2012-12-05 14:51:05.290110 D [43739:70277636362660] (21784.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:51:05.293312 T [43739:70277635576340] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 14:51:05.293328 D [43739:70277635576340] (5.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:51:05.293406 T [43739:70277635576340] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00" +2012-12-05 14:51:05.293412 D [43739:70277635576340] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 2 bytes +2012-12-05 14:51:05.293607 D [43739:70277635576340] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fd593a80938>(70277641012380) self=connections=70277641012380 checked_out= with_map= +2012-12-05 14:51:05.293633 I [43739:70277635576340] RubySkynet::Server -- Skynet Services De-registered in Doozer +2012-12-05 14:51:05.294790 T [43739:70277636362660] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\b\x18\xBB\x03*+/services/TestService/1/Test/localhost/21002\x00" +2012-12-05 14:51:05.294803 D [43739:70277636362660] (4.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 54 bytes +2012-12-05 14:51:05.294932 D [43739:70277636362660] RubySkynet::Registry -- #monitor Service stopped, remove: TestService/1/Test => localhost:2100 +2012-12-05 14:51:05.294953 D [43739:70277636362660] RubySkynet::Registry -- Updated registry -- {} +2012-12-05 14:51:05.295187 T [43739:70277636362660] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-05 14:51:05.295272 D [43739:70277636362660] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 14:51:08.065566 D [43755:70336343399120] RubySkynet::Server -- Registering Service: TestService with name: TestService +2012-12-05 14:51:08.066467 I [43755:70336343399120] Celluloid -- Terminating 4 actors... +2012-12-05 14:51:08.067620 I [43755:70336343399120] Celluloid -- Shutdown completed cleanly +2012-12-05 14:51:08.075574 D [43755:70336345895880] RubySkynet::Registry -- Doozer Connection Pool: Created connection #1 #<Thread:0x007ff0e9d2e790>(70336345895880) for Doozer Connection Pool +2012-12-05 14:51:08.094871 T [43755:70336345895880] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007ff0ea2f2dc0@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 14:51:08.098714 D [43755:70336345895880] RubySkynet::Registry -- Doozer Connection Pool: Renewed connection old=70336345895880 new=#<RubySkynet::Doozer::Client:0x007ff0ea2f2ed8>(70336348919660) +2012-12-05 14:51:08.098758 D [43755:70336345895880] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007ff0ea2f2ed8>(70336348919660) self=connections=70336348919660 checked_out=70336348919660 with_map= +2012-12-05 14:51:08.122203 T [43755:70336345895880] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "+/services/TestService/1/Test/localhost/2100*{"Config":{"UUID":"localhost:2100-43755-TestService-70336343337660","Name":"TestService","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"localhost","Port":2100,"MaxPort":3099}},"Registered":true}H +2012-12-05 14:51:08.122795 D [43755:70336345895880] (0.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 272 bytes +2012-12-05 14:51:08.124445 T [43755:70336345895880] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 14:51:08.124461 D [43755:70336345895880] (1.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:51:08.126975 T [43755:70336345895880] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xBF\x03" +2012-12-05 14:51:08.126994 D [43755:70336345895880] (2.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 14:51:08.127184 D [43755:70336345895880] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007ff0ea2f2ed8>(70336348919660) self=connections=70336348919660 checked_out= with_map= +2012-12-05 14:51:08.130724 I [43755:70336345895880] RubySkynet::Server -- Starting listener on localhost:2100 +2012-12-05 14:51:08.130764 D [43755:70336345895880] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 14:51:08.134365 D [43755:70336343399120] [50bfa5ac6b6933aaeb000001] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007ff0ea2f2ed8>(70336348919660) self=connections=70336348919660 checked_out=70336348919660 with_map= +2012-12-05 14:51:08.134705 T [43755:70336343399120] [50bfa5ac6b6933aaeb000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  +2012-12-05 14:51:08.135316 D [43755:70336343399120] [50bfa5ac6b6933aaeb000001] (0.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 8 bytes +2012-12-05 14:51:08.135387 T [43755:70336343399120] [50bfa5ac6b6933aaeb000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 14:51:08.135393 D [43755:70336343399120] [50bfa5ac6b6933aaeb000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:51:08.135480 T [43755:70336343399120] [50bfa5ac6b6933aaeb000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xBF\x03" +2012-12-05 14:51:08.135487 D [43755:70336343399120] [50bfa5ac6b6933aaeb000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 14:51:08.135772 T [43755:70336343399120] [50bfa5ac6b6933aaeb000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H +2012-12-05 14:51:08.135814 D [43755:70336343399120] [50bfa5ac6b6933aaeb000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-05 14:51:08.139139 T [43755:70336343399120] [50bfa5ac6b6933aaeb000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01\x04" +2012-12-05 14:51:08.139155 D [43755:70336343399120] [50bfa5ac6b6933aaeb000001] (3.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:51:08.139455 T [43755:70336343399120] [50bfa5ac6b6933aaeb000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xBF\x03*+/services/TestService/1/Test/localhost/21002\xCD\x01{\"Config\":{\"UUID\":\"localhost:2100-43755-TestService-70336343337660\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-05 14:51:08.139534 D [43755:70336343399120] [50bfa5ac6b6933aaeb000001] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 260 bytes +2012-12-05 14:51:08.139917 T [43755:70336343399120] [50bfa5ac6b6933aaeb000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H +2012-12-05 14:51:08.139958 D [43755:70336343399120] [50bfa5ac6b6933aaeb000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-05 14:51:08.140625 T [43755:70336343399120] [50bfa5ac6b6933aaeb000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 14:51:08.140645 D [43755:70336343399120] [50bfa5ac6b6933aaeb000001] (0.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:51:08.140890 T [43755:70336343399120] [50bfa5ac6b6933aaeb000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\xA0\x06\b" +2012-12-05 14:51:08.140965 D [43755:70336343399120] [50bfa5ac6b6933aaeb000001] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 14:51:08.141163 D [43755:70336343399120] [50bfa5ac6b6933aaeb000001] RubySkynet::Registry -- #start_monitoring Add Service: TestService/1/Test => localhost:2100 +2012-12-05 14:51:08.141206 D [43755:70336343399120] [50bfa5ac6b6933aaeb000001] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007ff0ea2f2ed8>(70336348919660) self=connections=70336348919660 checked_out= with_map= +2012-12-05 14:51:08.142066 I [43755:70336348070860] RubySkynet::Registry -- Start monitoring /services/*/*/*/*/* +2012-12-05 14:51:08.142110 T [43755:70336348070860] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007ff0e9952770@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 14:51:08.142916 T [43755:70336348070860] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-05 14:51:08.143046 D [43755:70336348070860] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 14:51:08.143576 D [43755:70336343399120] [50bfa5ac6b6933aaeb000001] RubySkynet::Connection: localhost:2100 -- Waiting for Service Handshake +2012-12-05 14:51:08.144558 D [43755:70336345895880] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 14:51:08.144704 D [43755:70336345895880] RubySkynet::Server -- Client connected, waiting for data from client +2012-12-05 14:51:08.146421 T [43755:70336343399120] [50bfa5ac6b6933aaeb000001] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "9\x00\x00\x00" +2012-12-05 14:51:08.146455 D [43755:70336343399120] [50bfa5ac6b6933aaeb000001] (2.2ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 4 bytes +2012-12-05 14:51:08.146520 T [43755:70336343399120] [50bfa5ac6b6933aaeb000001] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "\bregistered\x00\x01\x02clientid\x00\x19\x00\x00\x0050bfa5ac6b6933aaeb000002\x00\x00" +2012-12-05 14:51:08.146526 D [43755:70336343399120] [50bfa5ac6b6933aaeb000001] (0.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 53 bytes +2012-12-05 14:51:08.146577 T [43755:70336343399120] [50bfa5ac6b6933aaeb000001] RubySkynet::Connection: localhost:2100 -- Service Handshake -- {"registered"=>true, "clientid"=>"50bfa5ac6b6933aaeb000002"} +2012-12-05 14:51:08.146591 D [43755:70336343399120] [50bfa5ac6b6933aaeb000001] RubySkynet::Connection: localhost:2100 -- Sending Client Handshake +2012-12-05 14:51:08.146597 T [43755:70336343399120] [50bfa5ac6b6933aaeb000001] RubySkynet::Connection: localhost:2100 -- Client Handshake -- {"clientid"=>"50bfa5ac6b6933aaeb000002"} +2012-12-05 14:51:08.146616 T [43755:70336343399120] [50bfa5ac6b6933aaeb000001] ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sending -- ,clientid50bfa5ac6b6933aaeb000002 +2012-12-05 14:51:08.146673 D [43755:70336343399120] [50bfa5ac6b6933aaeb000001] (0.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sent 44 bytes +2012-12-05 14:51:08.146755 D [43755:70336343399120] [50bfa5ac6b6933aaeb000001] RubySkynet::Connection: localhost:2100 -- Sending Header +2012-12-05 14:51:08.146765 T [43755:70336343399120] [50bfa5ac6b6933aaeb000001] RubySkynet::Connection: localhost:2100 -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 14:51:08.146788 T [43755:70336343399120] [50bfa5ac6b6933aaeb000001] ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sending -- 5servicemethodTestService.Forwardseq +2012-12-05 14:51:08.146825 D [43755:70336343399120] [50bfa5ac6b6933aaeb000001] (0.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sent 53 bytes +2012-12-05 14:51:08.146860 D [43755:70336343399120] [50bfa5ac6b6933aaeb000001] RubySkynet::Connection: localhost:2100 -- Sending Request +2012-12-05 14:51:08.146867 T [43755:70336343399120] [50bfa5ac6b6933aaeb000001] RubySkynet::Connection: localhost:2100 -- Request -- {"clientid"=>"50bfa5ac6b6933aaeb000002", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"echo", "requestinfo"=>{"requestid"=>"50bfa5ac6b6933aaeb000001", "retrycount"=>0, "originaddress"=>""}} +2012-12-05 14:51:08.146872 T [43755:70336343399120] [50bfa5ac6b6933aaeb000001] RubySkynet::Connection: localhost:2100 -- Parameters: -- {"some"=>"parameters"} +2012-12-05 14:51:08.146889 T [43755:70336343399120] [50bfa5ac6b6933aaeb000001] ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sending -- clientid50bfa5ac6b6933aaeb000002insome parametersmethodechorequestinfoQrequestid50bfa5ac6b6933aaeb000001retrycountoriginaddress +2012-12-05 14:51:08.146922 D [43755:70336343399120] [50bfa5ac6b6933aaeb000001] (0.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sent 190 bytes +2012-12-05 14:51:08.146935 D [43755:70336343399120] [50bfa5ac6b6933aaeb000001] RubySkynet::Connection: localhost:2100 -- Reading header from server +2012-12-05 14:51:08.147324 D [43755:70336345895880] RubySkynet::Server -- +****************** +2012-12-05 14:51:08.147339 D [43755:70336345895880] RubySkynet::Server -- Received Request +2012-12-05 14:51:08.147350 T [43755:70336345895880] RubySkynet::Server -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 14:51:08.149135 T [43755:70336345895880] RubySkynet::Server -- Request -- {"clientid"=>"50bfa5ac6b6933aaeb000002", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"echo", "requestinfo"=>{"requestid"=>"50bfa5ac6b6933aaeb000001", "retrycount"=>0, "originaddress"=>""}} +2012-12-05 14:51:08.149224 T [43755:70336345895880] RubySkynet::Server -- Parameters -- {"some"=>"parameters"} +2012-12-05 14:51:08.149248 T [43755:70336345895880] RubySkynet::Server -- Method Call: echo with parameters: -- {"some"=>"parameters"} +2012-12-05 14:51:08.149262 D [43755:70336345895880] (0.0ms) RubySkynet::Server -- Called: TestService#echo +2012-12-05 14:51:08.149279 D [43755:70336345895880] RubySkynet::Server -- Sending Header +2012-12-05 14:51:08.149343 D [43755:70336345895880] RubySkynet::Server -- Sending Reply +2012-12-05 14:51:08.149355 T [43755:70336345895880] RubySkynet::Server -- Reply -- {"some"=>"parameters"} +2012-12-05 14:51:08.149633 T [43755:70336343399120] [50bfa5ac6b6933aaeb000001] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "5\x00\x00\x00" +2012-12-05 14:51:08.149641 D [43755:70336343399120] [50bfa5ac6b6933aaeb000001] (2.7ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 4 bytes +2012-12-05 14:51:08.149691 T [43755:70336343399120] [50bfa5ac6b6933aaeb000001] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "\x02servicemethod\x00\x14\x00\x00\x00TestService.Forward\x00\x10seq\x00\x00\x00\x00\x00\x00" +2012-12-05 14:51:08.149697 D [43755:70336343399120] [50bfa5ac6b6933aaeb000001] (0.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 49 bytes +2012-12-05 14:51:08.149730 D [43755:70336343399120] [50bfa5ac6b6933aaeb000001] RubySkynet::Connection: localhost:2100 -- Response Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 14:51:08.149736 D [43755:70336343399120] [50bfa5ac6b6933aaeb000001] RubySkynet::Connection: localhost:2100 -- Reading response from server +2012-12-05 14:51:08.149778 T [43755:70336343399120] [50bfa5ac6b6933aaeb000001] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- ")\x00\x00\x00" +2012-12-05 14:51:08.149784 D [43755:70336343399120] [50bfa5ac6b6933aaeb000001] (0.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 4 bytes +2012-12-05 14:51:08.149830 T [43755:70336343399120] [50bfa5ac6b6933aaeb000001] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "\x02out\x00\e\x00\x00\x00\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00\x00\x00" +2012-12-05 14:51:08.149836 D [43755:70336343399120] [50bfa5ac6b6933aaeb000001] (0.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 37 bytes +2012-12-05 14:51:08.149863 T [43755:70336343399120] [50bfa5ac6b6933aaeb000001] RubySkynet::Connection: localhost:2100 -- Response -- {"out"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00"} +2012-12-05 14:51:08.149885 T [43755:70336343399120] [50bfa5ac6b6933aaeb000001] RubySkynet::Connection: localhost:2100 -- Return Value -- {"some"=>"parameters"} +2012-12-05 14:51:08.149905 I [43755:70336343399120] [50bfa5ac6b6933aaeb000001] (17.5ms) RubySkynet::Client: TestService/1/Test -- Called Skynet Service: TestService.echo +2012-12-05 14:51:08.150495 I [43755:70336345895880] RubySkynet::Server -- Skynet Server Stopped +2012-12-05 14:51:08.150677 D [43755:70336345895880] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007ff0ea2f2ed8>(70336348919660) self=connections=70336348919660 checked_out=70336348919660 with_map= +2012-12-05 14:51:08.151009 T [43755:70336345895880] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- <"+/services/TestService/1/Test/localhost/2100H +2012-12-05 14:51:08.151055 D [43755:70336345895880] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 64 bytes +2012-12-05 14:51:08.154716 T [43755:70336348070860] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x006" +2012-12-05 14:51:08.154733 D [43755:70336348070860] (11.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:51:08.154978 T [43755:70336348070860] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\b\x18\xC0\x03*+/services/TestService/1/Test/localhost/21002\x00" +2012-12-05 14:51:08.154985 D [43755:70336348070860] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 54 bytes +2012-12-05 14:51:08.155134 D [43755:70336348070860] RubySkynet::Registry -- #monitor Service stopped, remove: TestService/1/Test => localhost:2100 +2012-12-05 14:51:08.155158 I [43755:70336348070860] RubySkynet::Registry -- Calling callback for server: localhost:2100 +2012-12-05 14:51:08.155281 D [43755:70336348070860] RubySkynet::Connection -- Connection pool for server:localhost:2100 has been released +2012-12-05 14:51:08.155295 D [43755:70336348070860] RubySkynet::Registry -- Updated registry -- {} +2012-12-05 14:51:08.155509 T [43755:70336348070860] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-05 14:51:08.155574 D [43755:70336348070860] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 14:51:08.157447 T [43755:70336345895880] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 14:51:08.157463 D [43755:70336345895880] (6.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:51:08.157538 T [43755:70336345895880] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00" +2012-12-05 14:51:08.157545 D [43755:70336345895880] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 2 bytes +2012-12-05 14:51:08.157633 D [43755:70336345895880] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007ff0ea2f2ed8>(70336348919660) self=connections=70336348919660 checked_out= with_map= +2012-12-05 14:51:08.157656 I [43755:70336345895880] RubySkynet::Server -- Skynet Services De-registered in Doozer +2012-12-05 14:51:08.166259 D [43755:70336348922460] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007ff0ea2f2ed8>(70336348919660) self=connections=70336348919660 checked_out=70336348919660 with_map= +2012-12-05 14:51:08.167756 T [43755:70336348922460] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "+/services/TestService/1/Test/localhost/2100*{"Config":{"UUID":"localhost:2100-43755-TestService-70336343337660","Name":"TestService","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"localhost","Port":2100,"MaxPort":3099}},"Registered":true}H +2012-12-05 14:51:08.168037 D [43755:70336348922460] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 272 bytes +2012-12-05 14:51:08.170018 T [43755:70336348070860] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01\x04" +2012-12-05 14:51:08.170032 D [43755:70336348070860] (14.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:51:08.182884 T [43755:70336348922460] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 14:51:08.182903 D [43755:70336348922460] (14.8ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:51:08.183753 T [43755:70336348070860] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xC1\x03*+/services/TestService/1/Test/localhost/21002\xCD\x01{\"Config\":{\"UUID\":\"localhost:2100-43755-TestService-70336343337660\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-05 14:51:08.183765 D [43755:70336348070860] (13.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 260 bytes +2012-12-05 14:51:08.184210 D [43755:70336348070860] RubySkynet::Registry -- #monitor Add/Update Service: TestService/1/Test => localhost:2100 +2012-12-05 14:51:08.184224 D [43755:70336348070860] RubySkynet::Registry -- Updated registry -- {"TestService/1/Test"=>["localhost:2100"]} +2012-12-05 14:51:08.184518 T [43755:70336348070860] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-05 14:51:08.184564 D [43755:70336348070860] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 14:51:08.184624 T [43755:70336348922460] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xC1\x03" +2012-12-05 14:51:08.184631 D [43755:70336348922460] (1.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 14:51:08.184718 D [43755:70336348922460] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007ff0ea2f2ed8>(70336348919660) self=connections=70336348919660 checked_out= with_map= +2012-12-05 14:51:08.185369 I [43755:70336348922460] RubySkynet::Server -- Starting listener on localhost:2100 +2012-12-05 14:51:08.185390 D [43755:70336348922460] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 14:51:08.185932 I [43755:70336348922460] RubySkynet::Server -- Skynet Server Stopped +2012-12-05 14:51:08.186013 D [43755:70336348922460] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007ff0ea2f2ed8>(70336348919660) self=connections=70336348919660 checked_out=70336348919660 with_map= +2012-12-05 14:51:08.186297 T [43755:70336348922460] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- <"+/services/TestService/1/Test/localhost/2100H +2012-12-05 14:51:08.186453 D [43755:70336348922460] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 64 bytes +2012-12-05 14:51:08.187571 T [43755:70336348070860] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x006" +2012-12-05 14:51:08.187584 D [43755:70336348070860] (3.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:51:08.187716 T [43755:70336348922460] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 14:51:08.187723 D [43755:70336348922460] (1.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:51:08.187870 T [43755:70336348922460] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00" +2012-12-05 14:51:08.187877 D [43755:70336348922460] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 2 bytes +2012-12-05 14:51:08.187957 D [43755:70336348922460] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007ff0ea2f2ed8>(70336348919660) self=connections=70336348919660 checked_out= with_map= +2012-12-05 14:51:08.187974 I [43755:70336348922460] RubySkynet::Server -- Skynet Services De-registered in Doozer +2012-12-05 14:51:08.190462 T [43755:70336348070860] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\b\x18\xC2\x03*+/services/TestService/1/Test/localhost/21002\x00" +2012-12-05 14:51:08.190474 D [43755:70336348070860] (2.9ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 54 bytes +2012-12-05 14:51:08.190660 D [43755:70336348070860] RubySkynet::Registry -- #monitor Service stopped, remove: TestService/1/Test => localhost:2100 +2012-12-05 14:51:08.190681 D [43755:70336348070860] RubySkynet::Registry -- Updated registry -- {} +2012-12-05 14:51:08.190923 T [43755:70336348070860] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-05 14:51:08.190994 D [43755:70336348070860] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 14:51:08.198717 D [43755:70336343248540] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007ff0ea2f2ed8>(70336348919660) self=connections=70336348919660 checked_out=70336348919660 with_map= +2012-12-05 14:51:08.199185 T [43755:70336343248540] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "+/services/TestService/1/Test/localhost/2100*{"Config":{"UUID":"localhost:2100-43755-TestService-70336343337660","Name":"TestService","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"localhost","Port":2100,"MaxPort":3099}},"Registered":true}H +2012-12-05 14:51:08.199286 D [43755:70336343248540] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 272 bytes +2012-12-05 14:51:08.203037 T [43755:70336348070860] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01\x04" +2012-12-05 14:51:08.203053 D [43755:70336348070860] (12.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:51:08.203191 T [43755:70336343248540] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 14:51:08.203255 D [43755:70336343248540] (4.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:51:08.203442 T [43755:70336343248540] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xC3\x03" +2012-12-05 14:51:08.203449 D [43755:70336343248540] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 14:51:08.203577 D [43755:70336343248540] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007ff0ea2f2ed8>(70336348919660) self=connections=70336348919660 checked_out= with_map= +2012-12-05 14:51:08.203957 I [43755:70336343248540] RubySkynet::Server -- Starting listener on localhost:2100 +2012-12-05 14:51:08.203974 D [43755:70336343248540] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 14:51:08.205292 D [43755:70336343399120] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007ff0ea2f2ed8>(70336348919660) self=connections=70336348919660 checked_out=70336348919660 with_map= +2012-12-05 14:51:08.205627 T [43755:70336343399120] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- 1"+/services/TestService/1/Test/localhost/2100 +2012-12-05 14:51:08.209629 D [43755:70336343399120] (4.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 53 bytes +2012-12-05 14:51:08.209727 T [43755:70336343399120] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\xD5" +2012-12-05 14:51:08.209734 D [43755:70336343399120] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:51:08.210391 T [43755:70336343399120] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xC3\x032\xCD\x01{\"Config\":{\"UUID\":\"localhost:2100-43755-TestService-70336343337660\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-05 14:51:08.210399 D [43755:70336343399120] (0.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 213 bytes +2012-12-05 14:51:08.210593 D [43755:70336343399120] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007ff0ea2f2ed8>(70336348919660) self=connections=70336348919660 checked_out= with_map= +2012-12-05 14:51:08.210911 I [43755:70336343248540] RubySkynet::Server -- Skynet Server Stopped +2012-12-05 14:51:08.210984 D [43755:70336343248540] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007ff0ea2f2ed8>(70336348919660) self=connections=70336348919660 checked_out=70336348919660 with_map= +2012-12-05 14:51:08.211317 T [43755:70336343248540] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- <"+/services/TestService/1/Test/localhost/2100H +2012-12-05 14:51:08.211408 D [43755:70336343248540] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 64 bytes +2012-12-05 14:51:08.213897 T [43755:70336348070860] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xC3\x03*+/services/TestService/1/Test/localhost/21002\xCD\x01{\"Config\":{\"UUID\":\"localhost:2100-43755-TestService-70336343337660\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-05 14:51:08.213913 D [43755:70336348070860] (10.8ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 260 bytes +2012-12-05 14:51:08.214129 D [43755:70336348070860] RubySkynet::Registry -- #monitor Add/Update Service: TestService/1/Test => localhost:2100 +2012-12-05 14:51:08.214142 D [43755:70336348070860] RubySkynet::Registry -- Updated registry -- {"TestService/1/Test"=>["localhost:2100"]} +2012-12-05 14:51:08.215529 T [43755:70336348070860] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-05 14:51:08.216239 D [43755:70336348070860] (0.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 14:51:08.218804 T [43755:70336343248540] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 14:51:08.218819 D [43755:70336343248540] (7.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:51:08.218994 T [43755:70336348070860] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x006" +2012-12-05 14:51:08.219001 D [43755:70336348070860] (2.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:51:08.219462 T [43755:70336343248540] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00" +2012-12-05 14:51:08.219474 D [43755:70336343248540] (0.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 2 bytes +2012-12-05 14:51:08.219568 D [43755:70336343248540] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007ff0ea2f2ed8>(70336348919660) self=connections=70336348919660 checked_out= with_map= +2012-12-05 14:51:08.219593 I [43755:70336343248540] RubySkynet::Server -- Skynet Services De-registered in Doozer +2012-12-05 14:51:08.219891 T [43755:70336348070860] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\b\x18\xC4\x03*+/services/TestService/1/Test/localhost/21002\x00" +2012-12-05 14:51:08.219898 D [43755:70336348070860] (0.8ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 54 bytes +2012-12-05 14:51:08.220005 D [43755:70336348070860] RubySkynet::Registry -- #monitor Service stopped, remove: TestService/1/Test => localhost:2100 +2012-12-05 14:51:08.220025 D [43755:70336348070860] RubySkynet::Registry -- Updated registry -- {} +2012-12-05 14:51:08.220243 T [43755:70336348070860] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-05 14:51:08.220310 D [43755:70336348070860] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 14:51:15.987094 D [43759:70102863272660] RubySkynet::Server -- Registering Service: TestService with name: TestService +2012-12-05 14:51:15.988029 I [43759:70102863272660] Celluloid -- Terminating 4 actors... +2012-12-05 14:51:15.989090 I [43759:70102863272660] Celluloid -- Shutdown completed cleanly +2012-12-05 14:51:15.999322 D [43759:70102865556900] RubySkynet::Registry -- Doozer Connection Pool: Created connection #1 #<Thread:0x007f8430cc6b48>(70102865556900) for Doozer Connection Pool +2012-12-05 14:51:16.018999 T [43759:70102865556900] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007f8430ed9868@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 14:51:16.022623 D [43759:70102865556900] RubySkynet::Registry -- Doozer Connection Pool: Renewed connection old=70102865556900 new=#<RubySkynet::Doozer::Client:0x007f8430ed9980>(70102866644160) +2012-12-05 14:51:16.022667 D [43759:70102865556900] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f8430ed9980>(70102866644160) self=connections=70102866644160 checked_out=70102866644160 with_map= +2012-12-05 14:51:16.047772 T [43759:70102865556900] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "+/services/TestService/1/Test/localhost/2100*{"Config":{"UUID":"localhost:2100-43759-TestService-70102863211380","Name":"TestService","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"localhost","Port":2100,"MaxPort":3099}},"Registered":true}H +2012-12-05 14:51:16.048520 D [43759:70102865556900] (0.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 272 bytes +2012-12-05 14:51:16.050406 T [43759:70102865556900] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 14:51:16.050525 D [43759:70102865556900] (2.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:51:16.051367 T [43759:70102865556900] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xCD\x03" +2012-12-05 14:51:16.051411 D [43759:70102865556900] (0.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 14:51:16.051580 D [43759:70102865556900] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007f8430ed9980>(70102866644160) self=connections=70102866644160 checked_out= with_map= +2012-12-05 14:51:16.052242 I [43759:70102865556900] RubySkynet::Server -- Starting listener on localhost:2100 +2012-12-05 14:51:16.052291 D [43759:70102865556900] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 14:51:16.057241 D [43759:70102863272660] [50bfa5b46b6933aaef000001] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f8430ed9980>(70102866644160) self=connections=70102866644160 checked_out=70102866644160 with_map= +2012-12-05 14:51:16.057497 T [43759:70102863272660] [50bfa5b46b6933aaef000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  +2012-12-05 14:51:16.057859 D [43759:70102863272660] [50bfa5b46b6933aaef000001] (0.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 8 bytes +2012-12-05 14:51:16.057924 T [43759:70102863272660] [50bfa5b46b6933aaef000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 14:51:16.057986 D [43759:70102863272660] [50bfa5b46b6933aaef000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:51:16.058393 T [43759:70102863272660] [50bfa5b46b6933aaef000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xCD\x03" +2012-12-05 14:51:16.058430 D [43759:70102863272660] [50bfa5b46b6933aaef000001] (0.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 14:51:16.058724 T [43759:70102863272660] [50bfa5b46b6933aaef000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H +2012-12-05 14:51:16.059388 D [43759:70102863272660] [50bfa5b46b6933aaef000001] (0.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-05 14:51:16.059583 T [43759:70102863272660] [50bfa5b46b6933aaef000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01\x04" +2012-12-05 14:51:16.059663 D [43759:70102863272660] [50bfa5b46b6933aaef000001] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:51:16.061453 T [43759:70102863272660] [50bfa5b46b6933aaef000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xCD\x03*+/services/TestService/1/Test/localhost/21002\xCD\x01{\"Config\":{\"UUID\":\"localhost:2100-43759-TestService-70102863211380\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-05 14:51:16.061696 D [43759:70102863272660] [50bfa5b46b6933aaef000001] (0.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 260 bytes +2012-12-05 14:51:16.062080 T [43759:70102863272660] [50bfa5b46b6933aaef000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H +2012-12-05 14:51:16.062127 D [43759:70102863272660] [50bfa5b46b6933aaef000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-05 14:51:16.062645 T [43759:70102863272660] [50bfa5b46b6933aaef000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 14:51:16.062657 D [43759:70102863272660] [50bfa5b46b6933aaef000001] (0.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:51:16.062885 T [43759:70102863272660] [50bfa5b46b6933aaef000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\xA0\x06\b" +2012-12-05 14:51:16.062903 D [43759:70102863272660] [50bfa5b46b6933aaef000001] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 14:51:16.063098 D [43759:70102863272660] [50bfa5b46b6933aaef000001] RubySkynet::Registry -- #start_monitoring Add Service: TestService/1/Test => localhost:2100 +2012-12-05 14:51:16.063142 D [43759:70102863272660] [50bfa5b46b6933aaef000001] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007f8430ed9980>(70102866644160) self=connections=70102866644160 checked_out= with_map= +2012-12-05 14:51:16.063608 I [43759:70102864171020] RubySkynet::Registry -- Start monitoring /services/*/*/*/*/* +2012-12-05 14:51:16.063647 T [43759:70102864171020] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007f8430a36360@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 14:51:16.064157 T [43759:70102864171020] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-05 14:51:16.064201 D [43759:70102864171020] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 14:51:16.065433 D [43759:70102863272660] [50bfa5b46b6933aaef000001] RubySkynet::Connection: localhost:2100 -- Waiting for Service Handshake +2012-12-05 14:51:16.066596 D [43759:70102865556900] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 14:51:16.066716 D [43759:70102865556900] RubySkynet::Server -- Client connected, waiting for data from client +2012-12-05 14:51:16.067444 T [43759:70102863272660] [50bfa5b46b6933aaef000001] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "9\x00\x00\x00" +2012-12-05 14:51:16.067456 D [43759:70102863272660] [50bfa5b46b6933aaef000001] (1.4ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 4 bytes +2012-12-05 14:51:16.068005 T [43759:70102863272660] [50bfa5b46b6933aaef000001] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "\bregistered\x00\x01\x02clientid\x00\x19\x00\x00\x0050bfa5b46b6933aaef000002\x00\x00" +2012-12-05 14:51:16.068041 D [43759:70102863272660] [50bfa5b46b6933aaef000001] (0.6ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 53 bytes +2012-12-05 14:51:16.068093 T [43759:70102863272660] [50bfa5b46b6933aaef000001] RubySkynet::Connection: localhost:2100 -- Service Handshake -- {"registered"=>true, "clientid"=>"50bfa5b46b6933aaef000002"} +2012-12-05 14:51:16.068105 D [43759:70102863272660] [50bfa5b46b6933aaef000001] RubySkynet::Connection: localhost:2100 -- Sending Client Handshake +2012-12-05 14:51:16.068111 T [43759:70102863272660] [50bfa5b46b6933aaef000001] RubySkynet::Connection: localhost:2100 -- Client Handshake -- {"clientid"=>"50bfa5b46b6933aaef000002"} +2012-12-05 14:51:16.068129 T [43759:70102863272660] [50bfa5b46b6933aaef000001] ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sending -- ,clientid50bfa5b46b6933aaef000002 +2012-12-05 14:51:16.069045 D [43759:70102863272660] [50bfa5b46b6933aaef000001] (0.9ms) ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sent 44 bytes +2012-12-05 14:51:16.069116 D [43759:70102863272660] [50bfa5b46b6933aaef000001] RubySkynet::Connection: localhost:2100 -- Sending Header +2012-12-05 14:51:16.069126 T [43759:70102863272660] [50bfa5b46b6933aaef000001] RubySkynet::Connection: localhost:2100 -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 14:51:16.069149 T [43759:70102863272660] [50bfa5b46b6933aaef000001] ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sending -- 5servicemethodTestService.Forwardseq +2012-12-05 14:51:16.069193 D [43759:70102863272660] [50bfa5b46b6933aaef000001] (0.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sent 53 bytes +2012-12-05 14:51:16.069228 D [43759:70102863272660] [50bfa5b46b6933aaef000001] RubySkynet::Connection: localhost:2100 -- Sending Request +2012-12-05 14:51:16.069235 T [43759:70102863272660] [50bfa5b46b6933aaef000001] RubySkynet::Connection: localhost:2100 -- Request -- {"clientid"=>"50bfa5b46b6933aaef000002", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"echo", "requestinfo"=>{"requestid"=>"50bfa5b46b6933aaef000001", "retrycount"=>0, "originaddress"=>""}} +2012-12-05 14:51:16.069241 T [43759:70102863272660] [50bfa5b46b6933aaef000001] RubySkynet::Connection: localhost:2100 -- Parameters: -- {"some"=>"parameters"} +2012-12-05 14:51:16.069258 T [43759:70102863272660] [50bfa5b46b6933aaef000001] ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sending -- clientid50bfa5b46b6933aaef000002insome parametersmethodechorequestinfoQrequestid50bfa5b46b6933aaef000001retrycountoriginaddress +2012-12-05 14:51:16.069298 D [43759:70102863272660] [50bfa5b46b6933aaef000001] (0.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sent 190 bytes +2012-12-05 14:51:16.069315 D [43759:70102863272660] [50bfa5b46b6933aaef000001] RubySkynet::Connection: localhost:2100 -- Reading header from server +2012-12-05 14:51:16.072287 D [43759:70102865556900] RubySkynet::Server -- +****************** +2012-12-05 14:51:16.072427 D [43759:70102865556900] RubySkynet::Server -- Received Request +2012-12-05 14:51:16.072440 T [43759:70102865556900] RubySkynet::Server -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 14:51:16.072910 T [43759:70102865556900] RubySkynet::Server -- Request -- {"clientid"=>"50bfa5b46b6933aaef000002", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"echo", "requestinfo"=>{"requestid"=>"50bfa5b46b6933aaef000001", "retrycount"=>0, "originaddress"=>""}} +2012-12-05 14:51:16.072960 T [43759:70102865556900] RubySkynet::Server -- Parameters -- {"some"=>"parameters"} +2012-12-05 14:51:16.072987 T [43759:70102865556900] RubySkynet::Server -- Method Call: echo with parameters: -- {"some"=>"parameters"} +2012-12-05 14:51:16.073002 D [43759:70102865556900] (0.0ms) RubySkynet::Server -- Called: TestService#echo +2012-12-05 14:51:16.073024 D [43759:70102865556900] RubySkynet::Server -- Sending Header +2012-12-05 14:51:16.073099 D [43759:70102865556900] RubySkynet::Server -- Sending Reply +2012-12-05 14:51:16.073112 T [43759:70102865556900] RubySkynet::Server -- Reply -- {"some"=>"parameters"} +2012-12-05 14:51:16.073440 T [43759:70102863272660] [50bfa5b46b6933aaef000001] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "5\x00\x00\x00" +2012-12-05 14:51:16.073449 D [43759:70102863272660] [50bfa5b46b6933aaef000001] (4.1ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 4 bytes +2012-12-05 14:51:16.073503 T [43759:70102863272660] [50bfa5b46b6933aaef000001] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "\x02servicemethod\x00\x14\x00\x00\x00TestService.Forward\x00\x10seq\x00\x00\x00\x00\x00\x00" +2012-12-05 14:51:16.073510 D [43759:70102863272660] [50bfa5b46b6933aaef000001] (0.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 49 bytes +2012-12-05 14:51:16.073542 D [43759:70102863272660] [50bfa5b46b6933aaef000001] RubySkynet::Connection: localhost:2100 -- Response Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 14:51:16.073548 D [43759:70102863272660] [50bfa5b46b6933aaef000001] RubySkynet::Connection: localhost:2100 -- Reading response from server +2012-12-05 14:51:16.073591 T [43759:70102863272660] [50bfa5b46b6933aaef000001] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- ")\x00\x00\x00" +2012-12-05 14:51:16.073597 D [43759:70102863272660] [50bfa5b46b6933aaef000001] (0.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 4 bytes +2012-12-05 14:51:16.073644 T [43759:70102863272660] [50bfa5b46b6933aaef000001] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "\x02out\x00\e\x00\x00\x00\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00\x00\x00" +2012-12-05 14:51:16.073650 D [43759:70102863272660] [50bfa5b46b6933aaef000001] (0.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 37 bytes +2012-12-05 14:51:16.073681 T [43759:70102863272660] [50bfa5b46b6933aaef000001] RubySkynet::Connection: localhost:2100 -- Response -- {"out"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00"} +2012-12-05 14:51:16.073705 T [43759:70102863272660] [50bfa5b46b6933aaef000001] RubySkynet::Connection: localhost:2100 -- Return Value -- {"some"=>"parameters"} +2012-12-05 14:51:16.073727 I [43759:70102863272660] [50bfa5b46b6933aaef000001] (19.4ms) RubySkynet::Client: TestService/1/Test -- Called Skynet Service: TestService.echo +2012-12-05 14:51:16.075918 I [43759:70102865556900] RubySkynet::Server -- Skynet Server Stopped +2012-12-05 14:51:16.076077 D [43759:70102865556900] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f8430ed9980>(70102866644160) self=connections=70102866644160 checked_out=70102866644160 with_map= +2012-12-05 14:51:16.076435 T [43759:70102865556900] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- <"+/services/TestService/1/Test/localhost/2100H +2012-12-05 14:51:16.077523 D [43759:70102865556900] (1.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 64 bytes +2012-12-05 14:51:16.078769 T [43759:70102864171020] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x006" +2012-12-05 14:51:16.078781 D [43759:70102864171020] (14.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:51:16.079693 T [43759:70102864171020] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\b\x18\xCE\x03*+/services/TestService/1/Test/localhost/21002\x00" +2012-12-05 14:51:16.079705 D [43759:70102864171020] (0.9ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 54 bytes +2012-12-05 14:51:16.079873 D [43759:70102864171020] RubySkynet::Registry -- #monitor Service stopped, remove: TestService/1/Test => localhost:2100 +2012-12-05 14:51:16.079897 I [43759:70102864171020] RubySkynet::Registry -- Calling callback for server: localhost:2100 +2012-12-05 14:51:16.080025 D [43759:70102864171020] RubySkynet::Connection -- Connection pool for server:localhost:2100 has been released +2012-12-05 14:51:16.080040 D [43759:70102864171020] RubySkynet::Registry -- Updated registry -- {} +2012-12-05 14:51:16.080381 T [43759:70102864171020] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-05 14:51:16.080448 D [43759:70102864171020] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 14:51:16.082345 T [43759:70102865556900] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 14:51:16.082404 D [43759:70102865556900] (4.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:51:16.084233 T [43759:70102865556900] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00" +2012-12-05 14:51:16.084270 D [43759:70102865556900] (1.8ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 2 bytes +2012-12-05 14:51:16.084360 D [43759:70102865556900] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007f8430ed9980>(70102866644160) self=connections=70102866644160 checked_out= with_map= +2012-12-05 14:51:16.084383 I [43759:70102865556900] RubySkynet::Server -- Skynet Services De-registered in Doozer +2012-12-05 14:51:16.086496 D [43759:70102866646820] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f8430ed9980>(70102866644160) self=connections=70102866644160 checked_out=70102866644160 with_map= +2012-12-05 14:51:16.086915 T [43759:70102866646820] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "+/services/TestService/1/Test/localhost/2100*{"Config":{"UUID":"localhost:2100-43759-TestService-70102863211380","Name":"TestService","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"localhost","Port":2100,"MaxPort":3099}},"Registered":true}H +2012-12-05 14:51:16.086976 D [43759:70102866646820] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 272 bytes +2012-12-05 14:51:16.089849 T [43759:70102864171020] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01\x04" +2012-12-05 14:51:16.089869 D [43759:70102864171020] (9.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:51:16.090063 T [43759:70102866646820] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 14:51:16.090072 D [43759:70102866646820] (3.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:51:16.092529 T [43759:70102864171020] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xCF\x03*+/services/TestService/1/Test/localhost/21002\xCD\x01{\"Config\":{\"UUID\":\"localhost:2100-43759-TestService-70102863211380\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-05 14:51:16.092547 D [43759:70102864171020] (2.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 260 bytes +2012-12-05 14:51:16.092805 D [43759:70102864171020] RubySkynet::Registry -- #monitor Add/Update Service: TestService/1/Test => localhost:2100 +2012-12-05 14:51:16.092818 D [43759:70102864171020] RubySkynet::Registry -- Updated registry -- {"TestService/1/Test"=>["localhost:2100"]} +2012-12-05 14:51:16.093058 T [43759:70102864171020] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-05 14:51:16.093131 D [43759:70102864171020] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 14:51:16.093971 T [43759:70102866646820] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xCF\x03" +2012-12-05 14:51:16.093979 D [43759:70102866646820] (3.8ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 14:51:16.094064 D [43759:70102866646820] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007f8430ed9980>(70102866644160) self=connections=70102866644160 checked_out= with_map= +2012-12-05 14:51:16.094669 I [43759:70102866646820] RubySkynet::Server -- Starting listener on localhost:2100 +2012-12-05 14:51:16.094691 D [43759:70102866646820] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 14:51:16.095940 I [43759:70102866646820] RubySkynet::Server -- Skynet Server Stopped +2012-12-05 14:51:16.096033 D [43759:70102866646820] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f8430ed9980>(70102866644160) self=connections=70102866644160 checked_out=70102866644160 with_map= +2012-12-05 14:51:16.096332 T [43759:70102866646820] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- <"+/services/TestService/1/Test/localhost/2100H +2012-12-05 14:51:16.096630 D [43759:70102866646820] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 64 bytes +2012-12-05 14:51:16.098131 T [43759:70102866646820] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 14:51:16.098143 D [43759:70102866646820] (1.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:51:16.098217 T [43759:70102864171020] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x006" +2012-12-05 14:51:16.098226 D [43759:70102864171020] (5.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:51:16.098702 T [43759:70102866646820] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00" +2012-12-05 14:51:16.098714 D [43759:70102866646820] (0.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 2 bytes +2012-12-05 14:51:16.098796 D [43759:70102866646820] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007f8430ed9980>(70102866644160) self=connections=70102866644160 checked_out= with_map= +2012-12-05 14:51:16.098812 I [43759:70102866646820] RubySkynet::Server -- Skynet Services De-registered in Doozer +2012-12-05 14:51:16.099077 T [43759:70102864171020] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\b\x18\xD0\x03*+/services/TestService/1/Test/localhost/21002\x00" +2012-12-05 14:51:16.099084 D [43759:70102864171020] (0.8ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 54 bytes +2012-12-05 14:51:16.099188 D [43759:70102864171020] RubySkynet::Registry -- #monitor Service stopped, remove: TestService/1/Test => localhost:2100 +2012-12-05 14:51:16.099207 D [43759:70102864171020] RubySkynet::Registry -- Updated registry -- {} +2012-12-05 14:51:16.099407 T [43759:70102864171020] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-05 14:51:16.099474 D [43759:70102864171020] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 14:51:16.102064 D [43759:70102863122120] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f8430ed9980>(70102866644160) self=connections=70102866644160 checked_out=70102866644160 with_map= +2012-12-05 14:51:16.102451 T [43759:70102863122120] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "+/services/TestService/1/Test/localhost/2100*{"Config":{"UUID":"localhost:2100-43759-TestService-70102863211380","Name":"TestService","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"localhost","Port":2100,"MaxPort":3099}},"Registered":true}H +2012-12-05 14:51:16.102909 D [43759:70102863122120] (0.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 272 bytes +2012-12-05 14:51:16.106201 T [43759:70102864171020] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01\x04" +2012-12-05 14:51:16.106220 D [43759:70102864171020] (6.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:51:16.106638 T [43759:70102863122120] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 14:51:16.106646 D [43759:70102863122120] (3.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:51:16.106807 T [43759:70102863122120] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xD1\x03" +2012-12-05 14:51:16.106814 D [43759:70102863122120] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 14:51:16.106931 D [43759:70102863122120] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007f8430ed9980>(70102866644160) self=connections=70102866644160 checked_out= with_map= +2012-12-05 14:51:16.107380 T [43759:70102864171020] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xD1\x03*+/services/TestService/1/Test/localhost/21002\xCD\x01{\"Config\":{\"UUID\":\"localhost:2100-43759-TestService-70102863211380\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-05 14:51:16.107387 D [43759:70102864171020] (1.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 260 bytes +2012-12-05 14:51:16.107552 D [43759:70102864171020] RubySkynet::Registry -- #monitor Add/Update Service: TestService/1/Test => localhost:2100 +2012-12-05 14:51:16.107564 D [43759:70102864171020] RubySkynet::Registry -- Updated registry -- {"TestService/1/Test"=>["localhost:2100"]} +2012-12-05 14:51:16.107784 T [43759:70102864171020] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-05 14:51:16.107957 D [43759:70102864171020] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 14:51:16.108818 I [43759:70102863122120] RubySkynet::Server -- Starting listener on localhost:2100 +2012-12-05 14:51:16.108835 D [43759:70102863122120] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 14:51:16.109158 D [43759:70102863272660] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f8430ed9980>(70102866644160) self=connections=70102866644160 checked_out=70102866644160 with_map= +2012-12-05 14:51:16.109576 T [43759:70102863272660] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- 1"+/services/TestService/1/Test/localhost/2100 +2012-12-05 14:51:16.110985 D [43759:70102863272660] (1.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 53 bytes +2012-12-05 14:51:16.111201 T [43759:70102863272660] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\xD5" +2012-12-05 14:51:16.111228 D [43759:70102863272660] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:51:16.111599 T [43759:70102863272660] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xD1\x032\xCD\x01{\"Config\":{\"UUID\":\"localhost:2100-43759-TestService-70102863211380\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-05 14:51:16.111629 D [43759:70102863272660] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 213 bytes +2012-12-05 14:51:16.111763 D [43759:70102863272660] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007f8430ed9980>(70102866644160) self=connections=70102866644160 checked_out= with_map= +2012-12-05 14:51:16.112646 I [43759:70102863122120] RubySkynet::Server -- Skynet Server Stopped +2012-12-05 14:51:16.112721 D [43759:70102863122120] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f8430ed9980>(70102866644160) self=connections=70102866644160 checked_out=70102866644160 with_map= +2012-12-05 14:51:16.113034 T [43759:70102863122120] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- <"+/services/TestService/1/Test/localhost/2100H +2012-12-05 14:51:16.113114 D [43759:70102863122120] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 64 bytes +2012-12-05 14:51:16.116464 T [43759:70102864171020] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x006" +2012-12-05 14:51:16.116484 D [43759:70102864171020] (8.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:51:16.116629 T [43759:70102863122120] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 14:51:16.116638 D [43759:70102863122120] (3.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:51:16.117514 T [43759:70102863122120] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00" +2012-12-05 14:51:16.117526 D [43759:70102863122120] (0.9ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 2 bytes +2012-12-05 14:51:16.117633 D [43759:70102863122120] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007f8430ed9980>(70102866644160) self=connections=70102866644160 checked_out= with_map= +2012-12-05 14:51:16.117655 I [43759:70102863122120] RubySkynet::Server -- Skynet Services De-registered in Doozer +2012-12-05 14:51:16.119034 T [43759:70102864171020] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\b\x18\xD2\x03*+/services/TestService/1/Test/localhost/21002\x00" +2012-12-05 14:51:16.119048 D [43759:70102864171020] (2.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 54 bytes +2012-12-05 14:51:16.119379 D [43759:70102864171020] RubySkynet::Registry -- #monitor Service stopped, remove: TestService/1/Test => localhost:2100 +2012-12-05 14:51:16.119401 D [43759:70102864171020] RubySkynet::Registry -- Updated registry -- {} +2012-12-05 14:51:16.121320 T [43759:70102864171020] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-05 14:51:16.122135 D [43759:70102864171020] (0.8ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 14:51:18.785981 D [43761:70221914397400] RubySkynet::Server -- Registering Service: TestService with name: TestService +2012-12-05 14:51:18.786862 I [43761:70221914397400] Celluloid -- Terminating 4 actors... +2012-12-05 14:51:18.787848 I [43761:70221914397400] Celluloid -- Shutdown completed cleanly +2012-12-05 14:51:18.796054 D [43761:70221920432180] RubySkynet::Registry -- Doozer Connection Pool: Created connection #1 #<Thread:0x007fbba13ee068>(70221920432180) for Doozer Connection Pool +2012-12-05 14:51:18.817680 T [43761:70221920432180] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007fbba12a9ce8@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 14:51:18.821354 D [43761:70221920432180] RubySkynet::Registry -- Doozer Connection Pool: Renewed connection old=70221920432180 new=#<RubySkynet::Doozer::Client:0x007fbba12a9e00>(70221919768320) +2012-12-05 14:51:18.821404 D [43761:70221920432180] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fbba12a9e00>(70221919768320) self=connections=70221919768320 checked_out=70221919768320 with_map= +2012-12-05 14:51:18.852322 T [43761:70221920432180] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "+/services/TestService/1/Test/localhost/2100*{"Config":{"UUID":"localhost:2100-43761-TestService-70221914335880","Name":"TestService","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"localhost","Port":2100,"MaxPort":3099}},"Registered":true}H +2012-12-05 14:51:18.853506 D [43761:70221920432180] (1.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 272 bytes +2012-12-05 14:51:18.853881 T [43761:70221920432180] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 14:51:18.853917 D [43761:70221920432180] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:51:18.855405 T [43761:70221920432180] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xD6\x03" +2012-12-05 14:51:18.855422 D [43761:70221920432180] (1.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 14:51:18.855597 D [43761:70221920432180] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fbba12a9e00>(70221919768320) self=connections=70221919768320 checked_out= with_map= +2012-12-05 14:51:18.855879 I [43761:70221920432180] RubySkynet::Server -- Starting listener on localhost:2100 +2012-12-05 14:51:18.855896 D [43761:70221920432180] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 14:51:18.861340 D [43761:70221914397400] [50bfa5b66b6933aaf1000001] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fbba12a9e00>(70221919768320) self=connections=70221919768320 checked_out=70221919768320 with_map= +2012-12-05 14:51:18.861759 T [43761:70221914397400] [50bfa5b66b6933aaf1000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  +2012-12-05 14:51:18.862155 D [43761:70221914397400] [50bfa5b66b6933aaf1000001] (0.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 8 bytes +2012-12-05 14:51:18.862228 T [43761:70221914397400] [50bfa5b66b6933aaf1000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 14:51:18.862235 D [43761:70221914397400] [50bfa5b66b6933aaf1000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:51:18.862301 T [43761:70221914397400] [50bfa5b66b6933aaf1000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xD6\x03" +2012-12-05 14:51:18.862308 D [43761:70221914397400] [50bfa5b66b6933aaf1000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 14:51:18.862599 T [43761:70221914397400] [50bfa5b66b6933aaf1000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H +2012-12-05 14:51:18.862637 D [43761:70221914397400] [50bfa5b66b6933aaf1000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-05 14:51:18.863839 T [43761:70221914397400] [50bfa5b66b6933aaf1000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01\x04" +2012-12-05 14:51:18.863852 D [43761:70221914397400] [50bfa5b66b6933aaf1000001] (1.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:51:18.863925 T [43761:70221914397400] [50bfa5b66b6933aaf1000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xD6\x03*+/services/TestService/1/Test/localhost/21002\xCD\x01{\"Config\":{\"UUID\":\"localhost:2100-43761-TestService-70221914335880\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-05 14:51:18.863932 D [43761:70221914397400] [50bfa5b66b6933aaf1000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 260 bytes +2012-12-05 14:51:18.864427 T [43761:70221914397400] [50bfa5b66b6933aaf1000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H +2012-12-05 14:51:18.864496 D [43761:70221914397400] [50bfa5b66b6933aaf1000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-05 14:51:18.865202 T [43761:70221914397400] [50bfa5b66b6933aaf1000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 14:51:18.865212 D [43761:70221914397400] [50bfa5b66b6933aaf1000001] (0.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:51:18.865282 T [43761:70221914397400] [50bfa5b66b6933aaf1000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\xA0\x06\b" +2012-12-05 14:51:18.865290 D [43761:70221914397400] [50bfa5b66b6933aaf1000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 14:51:18.865556 D [43761:70221914397400] [50bfa5b66b6933aaf1000001] RubySkynet::Registry -- #start_monitoring Add Service: TestService/1/Test => localhost:2100 +2012-12-05 14:51:18.865598 D [43761:70221914397400] [50bfa5b66b6933aaf1000001] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fbba12a9e00>(70221919768320) self=connections=70221919768320 checked_out= with_map= +2012-12-05 14:51:18.866511 I [43761:70221915558480] RubySkynet::Registry -- Start monitoring /services/*/*/*/*/* +2012-12-05 14:51:18.866558 T [43761:70221915558480] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007fbba0ae1678@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 14:51:18.867077 T [43761:70221915558480] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-05 14:51:18.867122 D [43761:70221915558480] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 14:51:18.868017 D [43761:70221920432180] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 14:51:18.868121 D [43761:70221920432180] RubySkynet::Server -- Client connected, waiting for data from client +2012-12-05 14:51:18.869344 D [43761:70221914397400] [50bfa5b66b6933aaf1000001] RubySkynet::Connection: localhost:2100 -- Waiting for Service Handshake +2012-12-05 14:51:18.869409 T [43761:70221914397400] [50bfa5b66b6933aaf1000001] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "9\x00\x00\x00" +2012-12-05 14:51:18.869417 D [43761:70221914397400] [50bfa5b66b6933aaf1000001] (0.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 4 bytes +2012-12-05 14:51:18.869469 T [43761:70221914397400] [50bfa5b66b6933aaf1000001] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "\bregistered\x00\x01\x02clientid\x00\x19\x00\x00\x0050bfa5b66b6933aaf1000002\x00\x00" +2012-12-05 14:51:18.869475 D [43761:70221914397400] [50bfa5b66b6933aaf1000001] (0.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 53 bytes +2012-12-05 14:51:18.869524 T [43761:70221914397400] [50bfa5b66b6933aaf1000001] RubySkynet::Connection: localhost:2100 -- Service Handshake -- {"registered"=>true, "clientid"=>"50bfa5b66b6933aaf1000002"} +2012-12-05 14:51:18.869537 D [43761:70221914397400] [50bfa5b66b6933aaf1000001] RubySkynet::Connection: localhost:2100 -- Sending Client Handshake +2012-12-05 14:51:18.869543 T [43761:70221914397400] [50bfa5b66b6933aaf1000001] RubySkynet::Connection: localhost:2100 -- Client Handshake -- {"clientid"=>"50bfa5b66b6933aaf1000002"} +2012-12-05 14:51:18.869562 T [43761:70221914397400] [50bfa5b66b6933aaf1000001] ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sending -- ,clientid50bfa5b66b6933aaf1000002 +2012-12-05 14:51:18.869629 D [43761:70221914397400] [50bfa5b66b6933aaf1000001] (0.1ms) ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sent 44 bytes +2012-12-05 14:51:18.869689 D [43761:70221914397400] [50bfa5b66b6933aaf1000001] RubySkynet::Connection: localhost:2100 -- Sending Header +2012-12-05 14:51:18.869699 T [43761:70221914397400] [50bfa5b66b6933aaf1000001] RubySkynet::Connection: localhost:2100 -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 14:51:18.869721 T [43761:70221914397400] [50bfa5b66b6933aaf1000001] ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sending -- 5servicemethodTestService.Forwardseq +2012-12-05 14:51:18.869783 D [43761:70221914397400] [50bfa5b66b6933aaf1000001] (0.1ms) ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sent 53 bytes +2012-12-05 14:51:18.869819 D [43761:70221914397400] [50bfa5b66b6933aaf1000001] RubySkynet::Connection: localhost:2100 -- Sending Request +2012-12-05 14:51:18.869826 T [43761:70221914397400] [50bfa5b66b6933aaf1000001] RubySkynet::Connection: localhost:2100 -- Request -- {"clientid"=>"50bfa5b66b6933aaf1000002", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"echo", "requestinfo"=>{"requestid"=>"50bfa5b66b6933aaf1000001", "retrycount"=>0, "originaddress"=>""}} +2012-12-05 14:51:18.869832 T [43761:70221914397400] [50bfa5b66b6933aaf1000001] RubySkynet::Connection: localhost:2100 -- Parameters: -- {"some"=>"parameters"} +2012-12-05 14:51:18.869849 T [43761:70221914397400] [50bfa5b66b6933aaf1000001] ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sending -- clientid50bfa5b66b6933aaf1000002insome parametersmethodechorequestinfoQrequestid50bfa5b66b6933aaf1000001retrycountoriginaddress +2012-12-05 14:51:18.869910 D [43761:70221914397400] [50bfa5b66b6933aaf1000001] (0.1ms) ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sent 190 bytes +2012-12-05 14:51:18.869925 D [43761:70221914397400] [50bfa5b66b6933aaf1000001] RubySkynet::Connection: localhost:2100 -- Reading header from server +2012-12-05 14:51:18.872069 D [43761:70221920432180] RubySkynet::Server -- +****************** +2012-12-05 14:51:18.872107 D [43761:70221920432180] RubySkynet::Server -- Received Request +2012-12-05 14:51:18.872120 T [43761:70221920432180] RubySkynet::Server -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 14:51:18.872483 T [43761:70221920432180] RubySkynet::Server -- Request -- {"clientid"=>"50bfa5b66b6933aaf1000002", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"echo", "requestinfo"=>{"requestid"=>"50bfa5b66b6933aaf1000001", "retrycount"=>0, "originaddress"=>""}} +2012-12-05 14:51:18.872530 T [43761:70221920432180] RubySkynet::Server -- Parameters -- {"some"=>"parameters"} +2012-12-05 14:51:18.872554 T [43761:70221920432180] RubySkynet::Server -- Method Call: echo with parameters: -- {"some"=>"parameters"} +2012-12-05 14:51:18.872568 D [43761:70221920432180] (0.0ms) RubySkynet::Server -- Called: TestService#echo +2012-12-05 14:51:18.872586 D [43761:70221920432180] RubySkynet::Server -- Sending Header +2012-12-05 14:51:18.872647 D [43761:70221920432180] RubySkynet::Server -- Sending Reply +2012-12-05 14:51:18.872659 T [43761:70221920432180] RubySkynet::Server -- Reply -- {"some"=>"parameters"} +2012-12-05 14:51:18.873323 T [43761:70221914397400] [50bfa5b66b6933aaf1000001] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "5\x00\x00\x00" +2012-12-05 14:51:18.873353 D [43761:70221914397400] [50bfa5b66b6933aaf1000001] (3.4ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 4 bytes +2012-12-05 14:51:18.873410 T [43761:70221914397400] [50bfa5b66b6933aaf1000001] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "\x02servicemethod\x00\x14\x00\x00\x00TestService.Forward\x00\x10seq\x00\x00\x00\x00\x00\x00" +2012-12-05 14:51:18.873417 D [43761:70221914397400] [50bfa5b66b6933aaf1000001] (0.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 49 bytes +2012-12-05 14:51:18.873448 D [43761:70221914397400] [50bfa5b66b6933aaf1000001] RubySkynet::Connection: localhost:2100 -- Response Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 14:51:18.873454 D [43761:70221914397400] [50bfa5b66b6933aaf1000001] RubySkynet::Connection: localhost:2100 -- Reading response from server +2012-12-05 14:51:18.873681 T [43761:70221914397400] [50bfa5b66b6933aaf1000001] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- ")\x00\x00\x00" +2012-12-05 14:51:18.873687 D [43761:70221914397400] [50bfa5b66b6933aaf1000001] (0.2ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 4 bytes +2012-12-05 14:51:18.873783 T [43761:70221914397400] [50bfa5b66b6933aaf1000001] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "\x02out\x00\e\x00\x00\x00\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00\x00\x00" +2012-12-05 14:51:18.873789 D [43761:70221914397400] [50bfa5b66b6933aaf1000001] (0.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 37 bytes +2012-12-05 14:51:18.873818 T [43761:70221914397400] [50bfa5b66b6933aaf1000001] RubySkynet::Connection: localhost:2100 -- Response -- {"out"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00"} +2012-12-05 14:51:18.873842 T [43761:70221914397400] [50bfa5b66b6933aaf1000001] RubySkynet::Connection: localhost:2100 -- Return Value -- {"some"=>"parameters"} +2012-12-05 14:51:18.873862 I [43761:70221914397400] [50bfa5b66b6933aaf1000001] (15.6ms) RubySkynet::Client: TestService/1/Test -- Called Skynet Service: TestService.echo +2012-12-05 14:51:18.874877 I [43761:70221920432180] RubySkynet::Server -- Skynet Server Stopped +2012-12-05 14:51:18.874987 D [43761:70221920432180] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fbba12a9e00>(70221919768320) self=connections=70221919768320 checked_out=70221919768320 with_map= +2012-12-05 14:51:18.875313 T [43761:70221920432180] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- <"+/services/TestService/1/Test/localhost/2100H +2012-12-05 14:51:18.878075 D [43761:70221920432180] (2.8ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 64 bytes +2012-12-05 14:51:18.879515 T [43761:70221915558480] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x006" +2012-12-05 14:51:18.879528 D [43761:70221915558480] (12.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:51:18.882000 T [43761:70221920432180] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 14:51:18.882027 D [43761:70221920432180] (3.9ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:51:18.884172 T [43761:70221915558480] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\b\x18\xD7\x03*+/services/TestService/1/Test/localhost/21002\x00" +2012-12-05 14:51:18.884184 D [43761:70221915558480] (4.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 54 bytes +2012-12-05 14:51:18.884802 D [43761:70221915558480] RubySkynet::Registry -- #monitor Service stopped, remove: TestService/1/Test => localhost:2100 +2012-12-05 14:51:18.884828 I [43761:70221915558480] RubySkynet::Registry -- Calling callback for server: localhost:2100 +2012-12-05 14:51:18.884991 D [43761:70221915558480] RubySkynet::Connection -- Connection pool for server:localhost:2100 has been released +2012-12-05 14:51:18.885004 D [43761:70221915558480] RubySkynet::Registry -- Updated registry -- {} +2012-12-05 14:51:18.885243 T [43761:70221915558480] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-05 14:51:18.885317 D [43761:70221915558480] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 14:51:18.888091 T [43761:70221920432180] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00" +2012-12-05 14:51:18.888146 D [43761:70221920432180] (4.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 2 bytes +2012-12-05 14:51:18.888252 D [43761:70221920432180] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fbba12a9e00>(70221919768320) self=connections=70221919768320 checked_out= with_map= +2012-12-05 14:51:18.888273 I [43761:70221920432180] RubySkynet::Server -- Skynet Services De-registered in Doozer +2012-12-05 14:51:18.891809 D [43761:70221914316960] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fbba12a9e00>(70221919768320) self=connections=70221919768320 checked_out=70221919768320 with_map= +2012-12-05 14:51:18.892234 T [43761:70221914316960] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "+/services/TestService/1/Test/localhost/2100*{"Config":{"UUID":"localhost:2100-43761-TestService-70221914335880","Name":"TestService","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"localhost","Port":2100,"MaxPort":3099}},"Registered":true}H +2012-12-05 14:51:18.893486 D [43761:70221914316960] (1.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 272 bytes +2012-12-05 14:51:18.895085 T [43761:70221915558480] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01\x04" +2012-12-05 14:51:18.895098 D [43761:70221915558480] (9.8ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:51:18.895231 T [43761:70221914316960] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 14:51:18.895238 D [43761:70221914316960] (1.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:51:18.896067 T [43761:70221915558480] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xD8\x03*+/services/TestService/1/Test/localhost/21002\xCD\x01{\"Config\":{\"UUID\":\"localhost:2100-43761-TestService-70221914335880\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-05 14:51:18.896078 D [43761:70221915558480] (0.9ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 260 bytes +2012-12-05 14:51:18.896300 D [43761:70221915558480] RubySkynet::Registry -- #monitor Add/Update Service: TestService/1/Test => localhost:2100 +2012-12-05 14:51:18.896312 D [43761:70221915558480] RubySkynet::Registry -- Updated registry -- {"TestService/1/Test"=>["localhost:2100"]} +2012-12-05 14:51:18.896555 T [43761:70221915558480] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-05 14:51:18.896629 D [43761:70221915558480] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 14:51:18.897384 T [43761:70221914316960] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xD8\x03" +2012-12-05 14:51:18.897395 D [43761:70221914316960] (2.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 14:51:18.897504 D [43761:70221914316960] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fbba12a9e00>(70221919768320) self=connections=70221919768320 checked_out= with_map= +2012-12-05 14:51:18.900552 I [43761:70221914316960] RubySkynet::Server -- Starting listener on localhost:2100 +2012-12-05 14:51:18.900578 D [43761:70221914316960] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 14:51:18.901282 I [43761:70221914316960] RubySkynet::Server -- Skynet Server Stopped +2012-12-05 14:51:18.901370 D [43761:70221914316960] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fbba12a9e00>(70221919768320) self=connections=70221919768320 checked_out=70221919768320 with_map= +2012-12-05 14:51:18.901683 T [43761:70221914316960] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- <"+/services/TestService/1/Test/localhost/2100H +2012-12-05 14:51:18.901962 D [43761:70221914316960] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 64 bytes +2012-12-05 14:51:18.903298 T [43761:70221915558480] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x006" +2012-12-05 14:51:18.903311 D [43761:70221915558480] (6.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:51:18.903385 T [43761:70221914316960] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 14:51:18.903392 D [43761:70221914316960] (1.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:51:18.904976 T [43761:70221914316960] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00" +2012-12-05 14:51:18.904991 D [43761:70221914316960] (1.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 2 bytes +2012-12-05 14:51:18.905107 D [43761:70221914316960] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fbba12a9e00>(70221919768320) self=connections=70221919768320 checked_out= with_map= +2012-12-05 14:51:18.905125 I [43761:70221914316960] RubySkynet::Server -- Skynet Services De-registered in Doozer +2012-12-05 14:51:18.905453 T [43761:70221915558480] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\b\x18\xD9\x03*+/services/TestService/1/Test/localhost/21002\x00" +2012-12-05 14:51:18.905460 D [43761:70221915558480] (2.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 54 bytes +2012-12-05 14:51:18.905571 D [43761:70221915558480] RubySkynet::Registry -- #monitor Service stopped, remove: TestService/1/Test => localhost:2100 +2012-12-05 14:51:18.905590 D [43761:70221915558480] RubySkynet::Registry -- Updated registry -- {} +2012-12-05 14:51:18.905862 T [43761:70221915558480] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-05 14:51:18.906069 D [43761:70221915558480] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 14:51:18.908201 D [43761:70221919771120] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fbba12a9e00>(70221919768320) self=connections=70221919768320 checked_out=70221919768320 with_map= +2012-12-05 14:51:18.908571 T [43761:70221919771120] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "+/services/TestService/1/Test/localhost/2100*{"Config":{"UUID":"localhost:2100-43761-TestService-70221914335880","Name":"TestService","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"localhost","Port":2100,"MaxPort":3099}},"Registered":true}H +2012-12-05 14:51:18.908623 D [43761:70221919771120] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 272 bytes +2012-12-05 14:51:18.913722 T [43761:70221915558480] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01\x04" +2012-12-05 14:51:18.913749 D [43761:70221915558480] (7.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:51:18.914218 T [43761:70221915558480] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xDA\x03*+/services/TestService/1/Test/localhost/21002\xCD\x01{\"Config\":{\"UUID\":\"localhost:2100-43761-TestService-70221914335880\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-05 14:51:18.914225 D [43761:70221915558480] (0.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 260 bytes +2012-12-05 14:51:18.914491 D [43761:70221915558480] RubySkynet::Registry -- #monitor Add/Update Service: TestService/1/Test => localhost:2100 +2012-12-05 14:51:18.914504 D [43761:70221915558480] RubySkynet::Registry -- Updated registry -- {"TestService/1/Test"=>["localhost:2100"]} +2012-12-05 14:51:18.914736 T [43761:70221915558480] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-05 14:51:18.914777 D [43761:70221915558480] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 14:51:18.914845 T [43761:70221919771120] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 14:51:18.914852 D [43761:70221919771120] (6.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:51:18.914910 T [43761:70221919771120] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xDA\x03" +2012-12-05 14:51:18.914915 D [43761:70221919771120] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 14:51:18.915045 D [43761:70221919771120] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fbba12a9e00>(70221919768320) self=connections=70221919768320 checked_out= with_map= +2012-12-05 14:51:18.916512 I [43761:70221919771120] RubySkynet::Server -- Starting listener on localhost:2100 +2012-12-05 14:51:18.916530 D [43761:70221919771120] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 14:51:18.916799 D [43761:70221914397400] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fbba12a9e00>(70221919768320) self=connections=70221919768320 checked_out=70221919768320 with_map= +2012-12-05 14:51:18.917046 T [43761:70221914397400] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- 1"+/services/TestService/1/Test/localhost/2100 +2012-12-05 14:51:18.918161 D [43761:70221914397400] (1.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 53 bytes +2012-12-05 14:51:18.918393 T [43761:70221914397400] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\xD5" +2012-12-05 14:51:18.918440 D [43761:70221914397400] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:51:18.918517 T [43761:70221914397400] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xDA\x032\xCD\x01{\"Config\":{\"UUID\":\"localhost:2100-43761-TestService-70221914335880\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-05 14:51:18.918524 D [43761:70221914397400] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 213 bytes +2012-12-05 14:51:18.918650 D [43761:70221914397400] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fbba12a9e00>(70221919768320) self=connections=70221919768320 checked_out= with_map= +2012-12-05 14:51:18.918824 I [43761:70221919771120] RubySkynet::Server -- Skynet Server Stopped +2012-12-05 14:51:18.918886 D [43761:70221919771120] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fbba12a9e00>(70221919768320) self=connections=70221919768320 checked_out=70221919768320 with_map= +2012-12-05 14:51:18.919142 T [43761:70221919771120] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- <"+/services/TestService/1/Test/localhost/2100H +2012-12-05 14:51:18.919214 D [43761:70221919771120] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 64 bytes +2012-12-05 14:51:18.922529 T [43761:70221915558480] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x006" +2012-12-05 14:51:18.922547 D [43761:70221915558480] (7.8ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:51:18.931307 T [43761:70221915558480] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\b\x18\xDB\x03*+/services/TestService/1/Test/localhost/21002\x00" +2012-12-05 14:51:18.931328 D [43761:70221915558480] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 54 bytes +2012-12-05 14:51:18.931948 D [43761:70221915558480] RubySkynet::Registry -- #monitor Service stopped, remove: TestService/1/Test => localhost:2100 +2012-12-05 14:51:18.931974 D [43761:70221915558480] RubySkynet::Registry -- Updated registry -- {} +2012-12-05 14:51:18.932220 T [43761:70221915558480] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-05 14:51:18.932272 D [43761:70221915558480] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 14:51:18.932535 T [43761:70221919771120] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 14:51:18.932543 D [43761:70221919771120] (13.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:51:18.932611 T [43761:70221919771120] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00" +2012-12-05 14:51:18.932617 D [43761:70221919771120] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 2 bytes +2012-12-05 14:51:18.932690 D [43761:70221919771120] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fbba12a9e00>(70221919768320) self=connections=70221919768320 checked_out= with_map= +2012-12-05 14:51:18.932709 I [43761:70221919771120] RubySkynet::Server -- Skynet Services De-registered in Doozer +2012-12-05 14:51:21.349716 D [43764:70355750443740] RubySkynet::Server -- Registering Service: TestService with name: TestService +2012-12-05 14:51:21.350702 I [43764:70355750443740] Celluloid -- Terminating 4 actors... +2012-12-05 14:51:21.353383 I [43764:70355750443740] Celluloid -- Shutdown completed cleanly +2012-12-05 14:51:21.362894 D [43764:70355750292940] RubySkynet::Registry -- Doozer Connection Pool: Created connection #1 #<Thread:0x007ff9f3021b98>(70355750292940) for Doozer Connection Pool +2012-12-05 14:51:21.386194 T [43764:70355750292940] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007ff9f3410a88@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 14:51:21.390726 D [43764:70355750292940] RubySkynet::Registry -- Doozer Connection Pool: Renewed connection old=70355750292940 new=#<RubySkynet::Doozer::Client:0x007ff9f3410ba0>(70355752355280) +2012-12-05 14:51:21.390951 D [43764:70355750292940] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007ff9f3410ba0>(70355752355280) self=connections=70355752355280 checked_out=70355752355280 with_map= +2012-12-05 14:51:21.424058 T [43764:70355750292940] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "+/services/TestService/1/Test/localhost/2100*{"Config":{"UUID":"localhost:2100-43764-TestService-70355750382120","Name":"TestService","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"localhost","Port":2100,"MaxPort":3099}},"Registered":true}H +2012-12-05 14:51:21.424152 D [43764:70355750292940] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 272 bytes +2012-12-05 14:51:21.429046 T [43764:70355750292940] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 14:51:21.429104 D [43764:70355750292940] (4.9ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:51:21.429632 T [43764:70355750292940] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xDE\x03" +2012-12-05 14:51:21.429673 D [43764:70355750292940] (0.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 14:51:21.429841 D [43764:70355750292940] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007ff9f3410ba0>(70355752355280) self=connections=70355752355280 checked_out= with_map= +2012-12-05 14:51:21.430221 I [43764:70355750292940] RubySkynet::Server -- Starting listener on localhost:2100 +2012-12-05 14:51:21.430269 D [43764:70355750292940] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 14:51:21.437773 D [43764:70355750443740] [50bfa5b96b6933aaf4000001] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007ff9f3410ba0>(70355752355280) self=connections=70355752355280 checked_out=70355752355280 with_map= +2012-12-05 14:51:21.438351 T [43764:70355750443740] [50bfa5b96b6933aaf4000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  +2012-12-05 14:51:21.438739 D [43764:70355750443740] [50bfa5b96b6933aaf4000001] (0.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 8 bytes +2012-12-05 14:51:21.439147 T [43764:70355750443740] [50bfa5b96b6933aaf4000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 14:51:21.439160 D [43764:70355750443740] [50bfa5b96b6933aaf4000001] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:51:21.439230 T [43764:70355750443740] [50bfa5b96b6933aaf4000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xDE\x03" +2012-12-05 14:51:21.439236 D [43764:70355750443740] [50bfa5b96b6933aaf4000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 14:51:21.439542 T [43764:70355750443740] [50bfa5b96b6933aaf4000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H +2012-12-05 14:51:21.439586 D [43764:70355750443740] [50bfa5b96b6933aaf4000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-05 14:51:21.440372 T [43764:70355750443740] [50bfa5b96b6933aaf4000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01\x04" +2012-12-05 14:51:21.440401 D [43764:70355750443740] [50bfa5b96b6933aaf4000001] (0.8ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:51:21.440664 T [43764:70355750443740] [50bfa5b96b6933aaf4000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xDE\x03*+/services/TestService/1/Test/localhost/21002\xCD\x01{\"Config\":{\"UUID\":\"localhost:2100-43764-TestService-70355750382120\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-05 14:51:21.440717 D [43764:70355750443740] [50bfa5b96b6933aaf4000001] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 260 bytes +2012-12-05 14:51:21.441075 T [43764:70355750443740] [50bfa5b96b6933aaf4000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H +2012-12-05 14:51:21.441550 D [43764:70355750443740] [50bfa5b96b6933aaf4000001] (0.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-05 14:51:21.441890 T [43764:70355750443740] [50bfa5b96b6933aaf4000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 14:51:21.441902 D [43764:70355750443740] [50bfa5b96b6933aaf4000001] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:51:21.441979 T [43764:70355750443740] [50bfa5b96b6933aaf4000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\xA0\x06\b" +2012-12-05 14:51:21.441985 D [43764:70355750443740] [50bfa5b96b6933aaf4000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 14:51:21.442175 D [43764:70355750443740] [50bfa5b96b6933aaf4000001] RubySkynet::Registry -- #start_monitoring Add Service: TestService/1/Test => localhost:2100 +2012-12-05 14:51:21.442215 D [43764:70355750443740] [50bfa5b96b6933aaf4000001] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007ff9f3410ba0>(70355752355280) self=connections=70355752355280 checked_out= with_map= +2012-12-05 14:51:21.443303 I [43764:70355754840820] RubySkynet::Registry -- Start monitoring /services/*/*/*/*/* +2012-12-05 14:51:21.443349 T [43764:70355754840820] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007ff9f39a65d8@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 14:51:21.446161 T [43764:70355754840820] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-05 14:51:21.446583 D [43764:70355754840820] (0.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 14:51:21.447304 D [43764:70355750292940] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 14:51:21.447425 D [43764:70355750292940] RubySkynet::Server -- Client connected, waiting for data from client +2012-12-05 14:51:21.449219 D [43764:70355750443740] [50bfa5b96b6933aaf4000001] RubySkynet::Connection: localhost:2100 -- Waiting for Service Handshake +2012-12-05 14:51:21.449552 T [43764:70355750443740] [50bfa5b96b6933aaf4000001] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "9\x00\x00\x00" +2012-12-05 14:51:21.449627 D [43764:70355750443740] [50bfa5b96b6933aaf4000001] (0.4ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 4 bytes +2012-12-05 14:51:21.450209 T [43764:70355750443740] [50bfa5b96b6933aaf4000001] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "\bregistered\x00\x01\x02clientid\x00\x19\x00\x00\x0050bfa5b96b6933aaf4000002\x00\x00" +2012-12-05 14:51:21.450223 D [43764:70355750443740] [50bfa5b96b6933aaf4000001] (0.6ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 53 bytes +2012-12-05 14:51:21.450285 T [43764:70355750443740] [50bfa5b96b6933aaf4000001] RubySkynet::Connection: localhost:2100 -- Service Handshake -- {"registered"=>true, "clientid"=>"50bfa5b96b6933aaf4000002"} +2012-12-05 14:51:21.450298 D [43764:70355750443740] [50bfa5b96b6933aaf4000001] RubySkynet::Connection: localhost:2100 -- Sending Client Handshake +2012-12-05 14:51:21.450304 T [43764:70355750443740] [50bfa5b96b6933aaf4000001] RubySkynet::Connection: localhost:2100 -- Client Handshake -- {"clientid"=>"50bfa5b96b6933aaf4000002"} +2012-12-05 14:51:21.450325 T [43764:70355750443740] [50bfa5b96b6933aaf4000001] ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sending -- ,clientid50bfa5b96b6933aaf4000002 +2012-12-05 14:51:21.450406 D [43764:70355750443740] [50bfa5b96b6933aaf4000001] (0.1ms) ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sent 44 bytes +2012-12-05 14:51:21.452009 D [43764:70355750443740] [50bfa5b96b6933aaf4000001] RubySkynet::Connection: localhost:2100 -- Sending Header +2012-12-05 14:51:21.452026 T [43764:70355750443740] [50bfa5b96b6933aaf4000001] RubySkynet::Connection: localhost:2100 -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 14:51:21.452057 T [43764:70355750443740] [50bfa5b96b6933aaf4000001] ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sending -- 5servicemethodTestService.Forwardseq +2012-12-05 14:51:21.452142 D [43764:70355750443740] [50bfa5b96b6933aaf4000001] (0.1ms) ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sent 53 bytes +2012-12-05 14:51:21.452184 D [43764:70355750443740] [50bfa5b96b6933aaf4000001] RubySkynet::Connection: localhost:2100 -- Sending Request +2012-12-05 14:51:21.452191 T [43764:70355750443740] [50bfa5b96b6933aaf4000001] RubySkynet::Connection: localhost:2100 -- Request -- {"clientid"=>"50bfa5b96b6933aaf4000002", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"echo", "requestinfo"=>{"requestid"=>"50bfa5b96b6933aaf4000001", "retrycount"=>0, "originaddress"=>""}} +2012-12-05 14:51:21.452196 T [43764:70355750443740] [50bfa5b96b6933aaf4000001] RubySkynet::Connection: localhost:2100 -- Parameters: -- {"some"=>"parameters"} +2012-12-05 14:51:21.452408 T [43764:70355750443740] [50bfa5b96b6933aaf4000001] ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sending -- clientid50bfa5b96b6933aaf4000002insome parametersmethodechorequestinfoQrequestid50bfa5b96b6933aaf4000001retrycountoriginaddress +2012-12-05 14:51:21.452550 D [43764:70355750443740] [50bfa5b96b6933aaf4000001] (0.1ms) ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sent 190 bytes +2012-12-05 14:51:21.452565 D [43764:70355750443740] [50bfa5b96b6933aaf4000001] RubySkynet::Connection: localhost:2100 -- Reading header from server +2012-12-05 14:51:21.453333 D [43764:70355750292940] RubySkynet::Server -- +****************** +2012-12-05 14:51:21.453350 D [43764:70355750292940] RubySkynet::Server -- Received Request +2012-12-05 14:51:21.453361 T [43764:70355750292940] RubySkynet::Server -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 14:51:21.454782 T [43764:70355750292940] RubySkynet::Server -- Request -- {"clientid"=>"50bfa5b96b6933aaf4000002", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"echo", "requestinfo"=>{"requestid"=>"50bfa5b96b6933aaf4000001", "retrycount"=>0, "originaddress"=>""}} +2012-12-05 14:51:21.454832 T [43764:70355750292940] RubySkynet::Server -- Parameters -- {"some"=>"parameters"} +2012-12-05 14:51:21.454856 T [43764:70355750292940] RubySkynet::Server -- Method Call: echo with parameters: -- {"some"=>"parameters"} +2012-12-05 14:51:21.454872 D [43764:70355750292940] (0.0ms) RubySkynet::Server -- Called: TestService#echo +2012-12-05 14:51:21.454889 D [43764:70355750292940] RubySkynet::Server -- Sending Header +2012-12-05 14:51:21.454955 D [43764:70355750292940] RubySkynet::Server -- Sending Reply +2012-12-05 14:51:21.454967 T [43764:70355750292940] RubySkynet::Server -- Reply -- {"some"=>"parameters"} +2012-12-05 14:51:21.456062 T [43764:70355750443740] [50bfa5b96b6933aaf4000001] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "5\x00\x00\x00" +2012-12-05 14:51:21.456100 D [43764:70355750443740] [50bfa5b96b6933aaf4000001] (3.5ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 4 bytes +2012-12-05 14:51:21.456651 T [43764:70355750443740] [50bfa5b96b6933aaf4000001] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "\x02servicemethod\x00\x14\x00\x00\x00TestService.Forward\x00\x10seq\x00\x00\x00\x00\x00\x00" +2012-12-05 14:51:21.456687 D [43764:70355750443740] [50bfa5b96b6933aaf4000001] (0.6ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 49 bytes +2012-12-05 14:51:21.456724 D [43764:70355750443740] [50bfa5b96b6933aaf4000001] RubySkynet::Connection: localhost:2100 -- Response Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 14:51:21.456731 D [43764:70355750443740] [50bfa5b96b6933aaf4000001] RubySkynet::Connection: localhost:2100 -- Reading response from server +2012-12-05 14:51:21.458704 T [43764:70355750443740] [50bfa5b96b6933aaf4000001] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- ")\x00\x00\x00" +2012-12-05 14:51:21.458745 D [43764:70355750443740] [50bfa5b96b6933aaf4000001] (2.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 4 bytes +2012-12-05 14:51:21.458948 T [43764:70355750443740] [50bfa5b96b6933aaf4000001] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "\x02out\x00\e\x00\x00\x00\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00\x00\x00" +2012-12-05 14:51:21.458984 D [43764:70355750443740] [50bfa5b96b6933aaf4000001] (0.2ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 37 bytes +2012-12-05 14:51:21.459018 T [43764:70355750443740] [50bfa5b96b6933aaf4000001] RubySkynet::Connection: localhost:2100 -- Response -- {"out"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00"} +2012-12-05 14:51:21.459046 T [43764:70355750443740] [50bfa5b96b6933aaf4000001] RubySkynet::Connection: localhost:2100 -- Return Value -- {"some"=>"parameters"} +2012-12-05 14:51:21.459071 I [43764:70355750443740] [50bfa5b96b6933aaf4000001] (23.3ms) RubySkynet::Client: TestService/1/Test -- Called Skynet Service: TestService.echo +2012-12-05 14:51:21.460026 I [43764:70355750292940] RubySkynet::Server -- Skynet Server Stopped +2012-12-05 14:51:21.460106 D [43764:70355750292940] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007ff9f3410ba0>(70355752355280) self=connections=70355752355280 checked_out=70355752355280 with_map= +2012-12-05 14:51:21.460446 T [43764:70355750292940] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- <"+/services/TestService/1/Test/localhost/2100H +2012-12-05 14:51:21.460759 D [43764:70355750292940] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 64 bytes +2012-12-05 14:51:21.462964 T [43764:70355754840820] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x006" +2012-12-05 14:51:21.462980 D [43764:70355754840820] (16.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:51:21.463816 T [43764:70355750292940] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 14:51:21.463855 D [43764:70355750292940] (3.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:51:21.465616 T [43764:70355750292940] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00" +2012-12-05 14:51:21.465661 D [43764:70355750292940] (1.8ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 2 bytes +2012-12-05 14:51:21.465786 D [43764:70355750292940] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007ff9f3410ba0>(70355752355280) self=connections=70355752355280 checked_out= with_map= +2012-12-05 14:51:21.465809 I [43764:70355750292940] RubySkynet::Server -- Skynet Services De-registered in Doozer +2012-12-05 14:51:21.467134 T [43764:70355754840820] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\b\x18\xDF\x03*+/services/TestService/1/Test/localhost/21002\x00" +2012-12-05 14:51:21.467147 D [43764:70355754840820] (4.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 54 bytes +2012-12-05 14:51:21.467329 D [43764:70355754840820] RubySkynet::Registry -- #monitor Service stopped, remove: TestService/1/Test => localhost:2100 +2012-12-05 14:51:21.467352 I [43764:70355754840820] RubySkynet::Registry -- Calling callback for server: localhost:2100 +2012-12-05 14:51:21.467517 D [43764:70355754840820] RubySkynet::Connection -- Connection pool for server:localhost:2100 has been released +2012-12-05 14:51:21.467532 D [43764:70355754840820] RubySkynet::Registry -- Updated registry -- {} +2012-12-05 14:51:21.467890 T [43764:70355754840820] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-05 14:51:21.468287 D [43764:70355754840820] (0.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 14:51:21.469909 D [43764:70355755562660] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007ff9f3410ba0>(70355752355280) self=connections=70355752355280 checked_out=70355752355280 with_map= +2012-12-05 14:51:21.470291 T [43764:70355755562660] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "+/services/TestService/1/Test/localhost/2100*{"Config":{"UUID":"localhost:2100-43764-TestService-70355750382120","Name":"TestService","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"localhost","Port":2100,"MaxPort":3099}},"Registered":true}H +2012-12-05 14:51:21.470340 D [43764:70355755562660] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 272 bytes +2012-12-05 14:51:21.475328 T [43764:70355754840820] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01\x04" +2012-12-05 14:51:21.475519 D [43764:70355754840820] (7.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:51:21.475676 T [43764:70355755562660] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 14:51:21.475683 D [43764:70355755562660] (5.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:51:21.476800 T [43764:70355754840820] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xE0\x03*+/services/TestService/1/Test/localhost/21002\xCD\x01{\"Config\":{\"UUID\":\"localhost:2100-43764-TestService-70355750382120\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-05 14:51:21.476812 D [43764:70355754840820] (1.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 260 bytes +2012-12-05 14:51:21.477037 D [43764:70355754840820] RubySkynet::Registry -- #monitor Add/Update Service: TestService/1/Test => localhost:2100 +2012-12-05 14:51:21.477049 D [43764:70355754840820] RubySkynet::Registry -- Updated registry -- {"TestService/1/Test"=>["localhost:2100"]} +2012-12-05 14:51:21.477397 T [43764:70355754840820] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-05 14:51:21.477463 D [43764:70355754840820] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 14:51:21.477577 T [43764:70355755562660] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xE0\x03" +2012-12-05 14:51:21.477585 D [43764:70355755562660] (1.9ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 14:51:21.477672 D [43764:70355755562660] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007ff9f3410ba0>(70355752355280) self=connections=70355752355280 checked_out= with_map= +2012-12-05 14:51:21.477868 I [43764:70355755562660] RubySkynet::Server -- Starting listener on localhost:2100 +2012-12-05 14:51:21.477885 D [43764:70355755562660] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 14:51:21.479854 I [43764:70355755562660] RubySkynet::Server -- Skynet Server Stopped +2012-12-05 14:51:21.479938 D [43764:70355755562660] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007ff9f3410ba0>(70355752355280) self=connections=70355752355280 checked_out=70355752355280 with_map= +2012-12-05 14:51:21.480619 T [43764:70355755562660] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- <"+/services/TestService/1/Test/localhost/2100H +2012-12-05 14:51:21.480940 D [43764:70355755562660] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 64 bytes +2012-12-05 14:51:21.482115 T [43764:70355755562660] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 14:51:21.482127 D [43764:70355755562660] (1.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:51:21.482207 T [43764:70355754840820] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x006" +2012-12-05 14:51:21.482215 D [43764:70355754840820] (4.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:51:21.483430 T [43764:70355754840820] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\b\x18\xE1\x03*+/services/TestService/1/Test/localhost/21002\x00" +2012-12-05 14:51:21.483443 D [43764:70355754840820] (1.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 54 bytes +2012-12-05 14:51:21.483596 D [43764:70355754840820] RubySkynet::Registry -- #monitor Service stopped, remove: TestService/1/Test => localhost:2100 +2012-12-05 14:51:21.483617 D [43764:70355754840820] RubySkynet::Registry -- Updated registry -- {} +2012-12-05 14:51:21.483918 T [43764:70355754840820] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-05 14:51:21.483989 D [43764:70355754840820] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 14:51:21.484176 T [43764:70355755562660] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00" +2012-12-05 14:51:21.484184 D [43764:70355755562660] (2.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 2 bytes +2012-12-05 14:51:21.484251 D [43764:70355755562660] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007ff9f3410ba0>(70355752355280) self=connections=70355752355280 checked_out= with_map= +2012-12-05 14:51:21.484268 I [43764:70355755562660] RubySkynet::Server -- Skynet Services De-registered in Doozer +2012-12-05 14:51:21.486593 D [43764:70355752740820] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007ff9f3410ba0>(70355752355280) self=connections=70355752355280 checked_out=70355752355280 with_map= +2012-12-05 14:51:21.486962 T [43764:70355752740820] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "+/services/TestService/1/Test/localhost/2100*{"Config":{"UUID":"localhost:2100-43764-TestService-70355750382120","Name":"TestService","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"localhost","Port":2100,"MaxPort":3099}},"Registered":true}H +2012-12-05 14:51:21.487040 D [43764:70355752740820] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 272 bytes +2012-12-05 14:51:21.488808 T [43764:70355752740820] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 14:51:21.488820 D [43764:70355752740820] (1.8ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:51:21.492965 T [43764:70355752740820] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xE2\x03" +2012-12-05 14:51:21.492979 D [43764:70355752740820] (4.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 14:51:21.493093 D [43764:70355752740820] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007ff9f3410ba0>(70355752355280) self=connections=70355752355280 checked_out= with_map= +2012-12-05 14:51:21.493738 I [43764:70355752740820] RubySkynet::Server -- Starting listener on localhost:2100 +2012-12-05 14:51:21.493759 D [43764:70355752740820] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 14:51:21.494142 D [43764:70355750443740] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007ff9f3410ba0>(70355752355280) self=connections=70355752355280 checked_out=70355752355280 with_map= +2012-12-05 14:51:21.494423 T [43764:70355750443740] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- 1"+/services/TestService/1/Test/localhost/2100 +2012-12-05 14:51:21.494829 D [43764:70355750443740] (0.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 53 bytes +2012-12-05 14:51:21.495070 T [43764:70355750443740] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\xD5" +2012-12-05 14:51:21.495097 D [43764:70355750443740] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:51:21.495321 T [43764:70355750443740] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xE2\x032\xCD\x01{\"Config\":{\"UUID\":\"localhost:2100-43764-TestService-70355750382120\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-05 14:51:21.495348 D [43764:70355750443740] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 213 bytes +2012-12-05 14:51:21.495473 D [43764:70355750443740] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007ff9f3410ba0>(70355752355280) self=connections=70355752355280 checked_out= with_map= +2012-12-05 14:51:21.495840 I [43764:70355752740820] RubySkynet::Server -- Skynet Server Stopped +2012-12-05 14:51:21.495967 D [43764:70355752740820] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007ff9f3410ba0>(70355752355280) self=connections=70355752355280 checked_out=70355752355280 with_map= +2012-12-05 14:51:21.496237 T [43764:70355752740820] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- <"+/services/TestService/1/Test/localhost/2100H +2012-12-05 14:51:21.496321 D [43764:70355752740820] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 64 bytes +2012-12-05 14:51:21.498474 T [43764:70355754840820] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01\x04" +2012-12-05 14:51:21.498493 D [43764:70355754840820] (14.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:51:21.498582 T [43764:70355754840820] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xE2\x03*+/services/TestService/1/Test/localhost/21002\xCD\x01{\"Config\":{\"UUID\":\"localhost:2100-43764-TestService-70355750382120\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-05 14:51:21.498588 D [43764:70355754840820] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 260 bytes +2012-12-05 14:51:21.498765 D [43764:70355754840820] RubySkynet::Registry -- #monitor Add/Update Service: TestService/1/Test => localhost:2100 +2012-12-05 14:51:21.498777 D [43764:70355754840820] RubySkynet::Registry -- Updated registry -- {"TestService/1/Test"=>["localhost:2100"]} +2012-12-05 14:51:21.498983 T [43764:70355754840820] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-05 14:51:21.499053 D [43764:70355754840820] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 14:51:21.500865 T [43764:70355752740820] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 14:51:21.500925 D [43764:70355752740820] (4.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:51:21.501348 T [43764:70355752740820] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00" +2012-12-05 14:51:21.501359 D [43764:70355752740820] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 2 bytes +2012-12-05 14:51:21.501437 D [43764:70355752740820] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007ff9f3410ba0>(70355752355280) self=connections=70355752355280 checked_out= with_map= +2012-12-05 14:51:21.501456 I [43764:70355752740820] RubySkynet::Server -- Skynet Services De-registered in Doozer +2012-12-05 14:54:58.421732 D [43823:70153618545360] RubySkynet::Server -- Registering Service: TestService with name: TestService +2012-12-05 14:54:58.422649 I [43823:70153618545360] Celluloid -- Terminating 4 actors... +2012-12-05 14:54:58.423810 I [43823:70153618545360] Celluloid -- Shutdown completed cleanly +2012-12-05 14:54:58.432072 D [43823:70153620644240] RubySkynet::Registry -- Doozer Connection Pool: Created connection #1 #<Thread:0x007f9bd346c320>(70153620644240) for Doozer Connection Pool +2012-12-05 14:54:58.456383 T [43823:70153620644240] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007f9bd365a4e8@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 14:54:58.464960 D [43823:70153620644240] RubySkynet::Registry -- Doozer Connection Pool: Renewed connection old=70153620644240 new=#<RubySkynet::Doozer::Client:0x007f9bd365a600>(70153621656320) +2012-12-05 14:54:58.465052 D [43823:70153620644240] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f9bd365a600>(70153621656320) self=connections=70153621656320 checked_out=70153621656320 with_map= +2012-12-05 14:54:58.496285 T [43823:70153620644240] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "+/services/TestService/1/Test/localhost/2100*{"Config":{"UUID":"localhost:2100-43823-TestService-70153618483720","Name":"TestService","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"localhost","Port":2100,"MaxPort":3099}},"Registered":true}H +2012-12-05 14:54:58.496610 D [43823:70153620644240] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 272 bytes +2012-12-05 14:54:58.498243 T [43823:70153620644240] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 14:54:58.498388 D [43823:70153620644240] (0.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:54:58.499941 T [43823:70153620644240] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xBD\x05" +2012-12-05 14:54:58.499987 D [43823:70153620644240] (1.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 14:54:58.500167 D [43823:70153620644240] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007f9bd365a600>(70153621656320) self=connections=70153621656320 checked_out= with_map= +2012-12-05 14:54:58.500490 I [43823:70153620644240] RubySkynet::Server -- Starting listener on localhost:2100 +2012-12-05 14:54:58.500538 D [43823:70153620644240] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 14:54:58.505891 D [43823:70153618545360] [50bfa6926b6933ab2f000001] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f9bd365a600>(70153621656320) self=connections=70153621656320 checked_out=70153621656320 with_map= +2012-12-05 14:54:58.506362 T [43823:70153618545360] [50bfa6926b6933ab2f000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  +2012-12-05 14:54:58.506633 D [43823:70153618545360] [50bfa6926b6933ab2f000001] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 8 bytes +2012-12-05 14:54:58.506756 T [43823:70153618545360] [50bfa6926b6933ab2f000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 14:54:58.506763 D [43823:70153618545360] [50bfa6926b6933ab2f000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:54:58.506992 T [43823:70153618545360] [50bfa6926b6933ab2f000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xBD\x05" +2012-12-05 14:54:58.506998 D [43823:70153618545360] [50bfa6926b6933ab2f000001] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 14:54:58.507304 T [43823:70153618545360] [50bfa6926b6933ab2f000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H +2012-12-05 14:54:58.507347 D [43823:70153618545360] [50bfa6926b6933ab2f000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-05 14:54:58.507970 T [43823:70153618545360] [50bfa6926b6933ab2f000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01\x04" +2012-12-05 14:54:58.507998 D [43823:70153618545360] [50bfa6926b6933ab2f000001] (0.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:54:58.508351 T [43823:70153618545360] [50bfa6926b6933ab2f000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xBD\x05*+/services/TestService/1/Test/localhost/21002\xCD\x01{\"Config\":{\"UUID\":\"localhost:2100-43823-TestService-70153618483720\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-05 14:54:58.508393 D [43823:70153618545360] [50bfa6926b6933ab2f000001] (0.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 260 bytes +2012-12-05 14:54:58.508694 T [43823:70153618545360] [50bfa6926b6933ab2f000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H +2012-12-05 14:54:58.508737 D [43823:70153618545360] [50bfa6926b6933ab2f000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-05 14:54:58.509210 T [43823:70153618545360] [50bfa6926b6933ab2f000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 14:54:58.509242 D [43823:70153618545360] [50bfa6926b6933ab2f000001] (0.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:54:58.509304 T [43823:70153618545360] [50bfa6926b6933ab2f000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\xA0\x06\b" +2012-12-05 14:54:58.509311 D [43823:70153618545360] [50bfa6926b6933ab2f000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 14:54:58.509505 D [43823:70153618545360] [50bfa6926b6933ab2f000001] RubySkynet::Registry -- #start_monitoring Add Service: TestService/1/Test => localhost:2100 +2012-12-05 14:54:58.509543 D [43823:70153618545360] [50bfa6926b6933ab2f000001] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007f9bd365a600>(70153621656320) self=connections=70153621656320 checked_out= with_map= +2012-12-05 14:54:58.510330 I [43823:70153619526500] RubySkynet::Registry -- Start monitoring /services/*/*/*/*/* +2012-12-05 14:54:58.510374 T [43823:70153619526500] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007f9bd3289918@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 14:54:58.511163 T [43823:70153619526500] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-05 14:54:58.511302 D [43823:70153619526500] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 14:54:58.511928 D [43823:70153618545360] [50bfa6926b6933ab2f000001] RubySkynet::Connection: localhost:2100 -- Waiting for Service Handshake +2012-12-05 14:54:58.514103 D [43823:70153620644240] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 14:54:58.514233 D [43823:70153620644240] RubySkynet::Server -- Client connected, waiting for data from client +2012-12-05 14:54:58.514905 T [43823:70153618545360] [50bfa6926b6933ab2f000001] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "9\x00\x00\x00" +2012-12-05 14:54:58.514935 D [43823:70153618545360] [50bfa6926b6933ab2f000001] (2.3ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 4 bytes +2012-12-05 14:54:58.515148 T [43823:70153618545360] [50bfa6926b6933ab2f000001] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "\bregistered\x00\x01\x02clientid\x00\x19\x00\x00\x0050bfa6926b6933ab2f000002\x00\x00" +2012-12-05 14:54:58.515174 D [43823:70153618545360] [50bfa6926b6933ab2f000001] (0.2ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 53 bytes +2012-12-05 14:54:58.515225 T [43823:70153618545360] [50bfa6926b6933ab2f000001] RubySkynet::Connection: localhost:2100 -- Service Handshake -- {"registered"=>true, "clientid"=>"50bfa6926b6933ab2f000002"} +2012-12-05 14:54:58.515237 D [43823:70153618545360] [50bfa6926b6933ab2f000001] RubySkynet::Connection: localhost:2100 -- Sending Client Handshake +2012-12-05 14:54:58.515243 T [43823:70153618545360] [50bfa6926b6933ab2f000001] RubySkynet::Connection: localhost:2100 -- Client Handshake -- {"clientid"=>"50bfa6926b6933ab2f000002"} +2012-12-05 14:54:58.515260 T [43823:70153618545360] [50bfa6926b6933ab2f000001] ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sending -- ,clientid50bfa6926b6933ab2f000002 +2012-12-05 14:54:58.516916 D [43823:70153618545360] [50bfa6926b6933ab2f000001] (1.6ms) ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sent 44 bytes +2012-12-05 14:54:58.517032 D [43823:70153618545360] [50bfa6926b6933ab2f000001] RubySkynet::Connection: localhost:2100 -- Sending Header +2012-12-05 14:54:58.517044 T [43823:70153618545360] [50bfa6926b6933ab2f000001] RubySkynet::Connection: localhost:2100 -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 14:54:58.517071 T [43823:70153618545360] [50bfa6926b6933ab2f000001] ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sending -- 5servicemethodTestService.Forwardseq +2012-12-05 14:54:58.518000 D [43823:70153620644240] RubySkynet::Server -- +****************** +2012-12-05 14:54:58.518048 D [43823:70153620644240] RubySkynet::Server -- Received Request +2012-12-05 14:54:58.518060 T [43823:70153620644240] RubySkynet::Server -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 14:54:58.519866 D [43823:70153618545360] [50bfa6926b6933ab2f000001] (2.8ms) ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sent 53 bytes +2012-12-05 14:54:58.520052 D [43823:70153618545360] [50bfa6926b6933ab2f000001] RubySkynet::Connection: localhost:2100 -- Sending Request +2012-12-05 14:54:58.520059 T [43823:70153618545360] [50bfa6926b6933ab2f000001] RubySkynet::Connection: localhost:2100 -- Request -- {"clientid"=>"50bfa6926b6933ab2f000002", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"echo", "requestinfo"=>{"requestid"=>"50bfa6926b6933ab2f000001", "retrycount"=>0, "originaddress"=>""}} +2012-12-05 14:54:58.520065 T [43823:70153618545360] [50bfa6926b6933ab2f000001] RubySkynet::Connection: localhost:2100 -- Parameters: -- {"some"=>"parameters"} +2012-12-05 14:54:58.520083 T [43823:70153618545360] [50bfa6926b6933ab2f000001] ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sending -- clientid50bfa6926b6933ab2f000002insome parametersmethodechorequestinfoQrequestid50bfa6926b6933ab2f000001retrycountoriginaddress +2012-12-05 14:54:58.520839 D [43823:70153618545360] [50bfa6926b6933ab2f000001] (0.7ms) ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sent 190 bytes +2012-12-05 14:54:58.520857 D [43823:70153618545360] [50bfa6926b6933ab2f000001] RubySkynet::Connection: localhost:2100 -- Reading header from server +2012-12-05 14:54:58.521337 T [43823:70153620644240] RubySkynet::Server -- Request -- {"clientid"=>"50bfa6926b6933ab2f000002", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"echo", "requestinfo"=>{"requestid"=>"50bfa6926b6933ab2f000001", "retrycount"=>0, "originaddress"=>""}} +2012-12-05 14:54:58.521366 T [43823:70153620644240] RubySkynet::Server -- Parameters -- {"some"=>"parameters"} +2012-12-05 14:54:58.521390 T [43823:70153620644240] RubySkynet::Server -- Method Call: echo with parameters: -- {"some"=>"parameters"} +2012-12-05 14:54:58.521406 D [43823:70153620644240] (0.0ms) RubySkynet::Server -- Called: TestService#echo +2012-12-05 14:54:58.521423 D [43823:70153620644240] RubySkynet::Server -- Sending Header +2012-12-05 14:54:58.521490 D [43823:70153620644240] RubySkynet::Server -- Sending Reply +2012-12-05 14:54:58.521501 T [43823:70153620644240] RubySkynet::Server -- Reply -- {"some"=>"parameters"} +2012-12-05 14:54:58.521740 T [43823:70153618545360] [50bfa6926b6933ab2f000001] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "5\x00\x00\x00" +2012-12-05 14:54:58.521749 D [43823:70153618545360] [50bfa6926b6933ab2f000001] (0.9ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 4 bytes +2012-12-05 14:54:58.521800 T [43823:70153618545360] [50bfa6926b6933ab2f000001] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "\x02servicemethod\x00\x14\x00\x00\x00TestService.Forward\x00\x10seq\x00\x00\x00\x00\x00\x00" +2012-12-05 14:54:58.521806 D [43823:70153618545360] [50bfa6926b6933ab2f000001] (0.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 49 bytes +2012-12-05 14:54:58.521835 D [43823:70153618545360] [50bfa6926b6933ab2f000001] RubySkynet::Connection: localhost:2100 -- Response Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 14:54:58.521842 D [43823:70153618545360] [50bfa6926b6933ab2f000001] RubySkynet::Connection: localhost:2100 -- Reading response from server +2012-12-05 14:54:58.521883 T [43823:70153618545360] [50bfa6926b6933ab2f000001] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- ")\x00\x00\x00" +2012-12-05 14:54:58.521889 D [43823:70153618545360] [50bfa6926b6933ab2f000001] (0.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 4 bytes +2012-12-05 14:54:58.521936 T [43823:70153618545360] [50bfa6926b6933ab2f000001] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "\x02out\x00\e\x00\x00\x00\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00\x00\x00" +2012-12-05 14:54:58.521941 D [43823:70153618545360] [50bfa6926b6933ab2f000001] (0.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 37 bytes +2012-12-05 14:54:58.521967 T [43823:70153618545360] [50bfa6926b6933ab2f000001] RubySkynet::Connection: localhost:2100 -- Response -- {"out"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00"} +2012-12-05 14:54:58.521990 T [43823:70153618545360] [50bfa6926b6933ab2f000001] RubySkynet::Connection: localhost:2100 -- Return Value -- {"some"=>"parameters"} +2012-12-05 14:54:58.522013 I [43823:70153618545360] [50bfa6926b6933ab2f000001] (18.7ms) RubySkynet::Client: TestService/1/Test -- Called Skynet Service: TestService.echo +2012-12-05 14:54:58.523826 I [43823:70153620644240] RubySkynet::Server -- Skynet Server Stopped +2012-12-05 14:54:58.523926 D [43823:70153620644240] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f9bd365a600>(70153621656320) self=connections=70153621656320 checked_out=70153621656320 with_map= +2012-12-05 14:54:58.524270 T [43823:70153620644240] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- <"+/services/TestService/1/Test/localhost/2100H +2012-12-05 14:54:58.524887 D [43823:70153620644240] (0.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 64 bytes +2012-12-05 14:54:58.527257 T [43823:70153620644240] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 14:54:58.527306 D [43823:70153620644240] (2.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:54:58.528297 T [43823:70153619526500] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x006" +2012-12-05 14:54:58.528306 D [43823:70153619526500] (17.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:54:58.528380 T [43823:70153619526500] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\b\x18\xBE\x05*+/services/TestService/1/Test/localhost/21002\x00" +2012-12-05 14:54:58.528386 D [43823:70153619526500] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 54 bytes +2012-12-05 14:54:58.528546 D [43823:70153619526500] RubySkynet::Registry -- #monitor Service stopped, remove: TestService/1/Test => localhost:2100 +2012-12-05 14:54:58.528583 I [43823:70153619526500] RubySkynet::Registry -- Calling callback for server: localhost:2100 +2012-12-05 14:54:58.528734 D [43823:70153619526500] RubySkynet::Connection -- Connection pool for server:localhost:2100 has been released +2012-12-05 14:54:58.528747 D [43823:70153619526500] RubySkynet::Registry -- Updated registry -- {} +2012-12-05 14:54:58.529001 T [43823:70153619526500] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-05 14:54:58.529082 D [43823:70153619526500] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 14:54:58.529127 T [43823:70153620644240] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00" +2012-12-05 14:54:58.529133 D [43823:70153620644240] (1.8ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 2 bytes +2012-12-05 14:54:58.529211 D [43823:70153620644240] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007f9bd365a600>(70153621656320) self=connections=70153621656320 checked_out= with_map= +2012-12-05 14:54:58.529230 I [43823:70153620644240] RubySkynet::Server -- Skynet Services De-registered in Doozer +2012-12-05 14:54:58.533823 D [43823:70153618394740] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f9bd365a600>(70153621656320) self=connections=70153621656320 checked_out=70153621656320 with_map= +2012-12-05 14:54:58.534244 T [43823:70153618394740] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "+/services/TestService/1/Test/localhost/2100*{"Config":{"UUID":"localhost:2100-43823-TestService-70153618483720","Name":"TestService","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"localhost","Port":2100,"MaxPort":3099}},"Registered":true}H +2012-12-05 14:54:58.534304 D [43823:70153618394740] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 272 bytes +2012-12-05 14:54:58.535894 T [43823:70153618394740] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 14:54:58.535916 D [43823:70153618394740] (1.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:54:58.536354 T [43823:70153619526500] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01\x04" +2012-12-05 14:54:58.536365 D [43823:70153619526500] (7.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:54:58.536623 T [43823:70153619526500] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xBF\x05*+/services/TestService/1/Test/localhost/21002\xCD\x01{\"Config\":{\"UUID\":\"localhost:2100-43823-TestService-70153618483720\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-05 14:54:58.536630 D [43823:70153619526500] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 260 bytes +2012-12-05 14:54:58.536904 D [43823:70153619526500] RubySkynet::Registry -- #monitor Add/Update Service: TestService/1/Test => localhost:2100 +2012-12-05 14:54:58.536917 D [43823:70153619526500] RubySkynet::Registry -- Updated registry -- {"TestService/1/Test"=>["localhost:2100"]} +2012-12-05 14:54:58.537177 T [43823:70153619526500] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-05 14:54:58.537491 D [43823:70153619526500] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 14:54:58.537707 T [43823:70153618394740] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xBF\x05" +2012-12-05 14:54:58.537713 D [43823:70153618394740] (1.8ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 14:54:58.537796 D [43823:70153618394740] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007f9bd365a600>(70153621656320) self=connections=70153621656320 checked_out= with_map= +2012-12-05 14:54:58.538312 I [43823:70153618394740] RubySkynet::Server -- Starting listener on localhost:2100 +2012-12-05 14:54:58.538327 D [43823:70153618394740] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 14:54:58.538784 I [43823:70153618394740] RubySkynet::Server -- Skynet Server Stopped +2012-12-05 14:54:58.538862 D [43823:70153618394740] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f9bd365a600>(70153621656320) self=connections=70153621656320 checked_out=70153621656320 with_map= +2012-12-05 14:54:58.539214 T [43823:70153618394740] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- <"+/services/TestService/1/Test/localhost/2100H +2012-12-05 14:54:58.541102 D [43823:70153618394740] (1.9ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 64 bytes +2012-12-05 14:54:58.542080 T [43823:70153619526500] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x006" +2012-12-05 14:54:58.542093 D [43823:70153619526500] (4.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:54:58.543614 T [43823:70153618394740] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 14:54:58.543800 D [43823:70153618394740] (2.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:54:58.545319 T [43823:70153618394740] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00" +2012-12-05 14:54:58.545331 D [43823:70153618394740] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 2 bytes +2012-12-05 14:54:58.545449 D [43823:70153618394740] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007f9bd365a600>(70153621656320) self=connections=70153621656320 checked_out= with_map= +2012-12-05 14:54:58.545473 I [43823:70153618394740] RubySkynet::Server -- Skynet Services De-registered in Doozer +2012-12-05 14:54:58.545831 T [43823:70153619526500] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\b\x18\xC0\x05*+/services/TestService/1/Test/localhost/21002\x00" +2012-12-05 14:54:58.545838 D [43823:70153619526500] (3.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 54 bytes +2012-12-05 14:54:58.545965 D [43823:70153619526500] RubySkynet::Registry -- #monitor Service stopped, remove: TestService/1/Test => localhost:2100 +2012-12-05 14:54:58.545985 D [43823:70153619526500] RubySkynet::Registry -- Updated registry -- {} +2012-12-05 14:54:58.546331 T [43823:70153619526500] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-05 14:54:58.546795 D [43823:70153619526500] (0.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 14:54:58.548641 D [43823:70153619919220] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f9bd365a600>(70153621656320) self=connections=70153621656320 checked_out=70153621656320 with_map= +2012-12-05 14:54:58.549021 T [43823:70153619919220] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "+/services/TestService/1/Test/localhost/2100*{"Config":{"UUID":"localhost:2100-43823-TestService-70153618483720","Name":"TestService","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"localhost","Port":2100,"MaxPort":3099}},"Registered":true}H +2012-12-05 14:54:58.549345 D [43823:70153619919220] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 272 bytes +2012-12-05 14:54:58.550820 T [43823:70153619526500] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01\x04" +2012-12-05 14:54:58.550832 D [43823:70153619526500] (4.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:54:58.551237 T [43823:70153619919220] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 14:54:58.551245 D [43823:70153619919220] (1.9ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:54:58.551311 T [43823:70153619919220] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xC1\x05" +2012-12-05 14:54:58.551318 D [43823:70153619919220] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 14:54:58.551412 D [43823:70153619919220] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007f9bd365a600>(70153621656320) self=connections=70153621656320 checked_out= with_map= +2012-12-05 14:54:58.553303 I [43823:70153619919220] RubySkynet::Server -- Starting listener on localhost:2100 +2012-12-05 14:54:58.553319 D [43823:70153619919220] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 14:54:58.553584 D [43823:70153618545360] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f9bd365a600>(70153621656320) self=connections=70153621656320 checked_out=70153621656320 with_map= +2012-12-05 14:54:58.553837 T [43823:70153618545360] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- 1"+/services/TestService/1/Test/localhost/2100 +2012-12-05 14:54:58.553931 T [43823:70153619526500] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xC1\x05*+/services/TestService/1/Test/localhost/21002\xCD\x01{\"Config\":{\"UUID\":\"localhost:2100-43823-TestService-70153618483720\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-05 14:54:58.553938 D [43823:70153619526500] (3.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 260 bytes +2012-12-05 14:54:58.554104 D [43823:70153619526500] RubySkynet::Registry -- #monitor Add/Update Service: TestService/1/Test => localhost:2100 +2012-12-05 14:54:58.554115 D [43823:70153619526500] RubySkynet::Registry -- Updated registry -- {"TestService/1/Test"=>["localhost:2100"]} +2012-12-05 14:54:58.554301 T [43823:70153619526500] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-05 14:54:58.554344 D [43823:70153619526500] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 14:54:58.555288 D [43823:70153618545360] (1.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 53 bytes +2012-12-05 14:54:58.555440 T [43823:70153618545360] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\xD5" +2012-12-05 14:54:58.555466 D [43823:70153618545360] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:54:58.555731 T [43823:70153618545360] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xC1\x052\xCD\x01{\"Config\":{\"UUID\":\"localhost:2100-43823-TestService-70153618483720\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-05 14:54:58.555743 D [43823:70153618545360] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 213 bytes +2012-12-05 14:54:58.555865 D [43823:70153618545360] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007f9bd365a600>(70153621656320) self=connections=70153621656320 checked_out= with_map= +2012-12-05 14:54:58.556291 I [43823:70153619919220] RubySkynet::Server -- Skynet Server Stopped +2012-12-05 14:54:58.556359 D [43823:70153619919220] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f9bd365a600>(70153621656320) self=connections=70153621656320 checked_out=70153621656320 with_map= +2012-12-05 14:54:58.556622 T [43823:70153619919220] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- <"+/services/TestService/1/Test/localhost/2100H +2012-12-05 14:54:58.556669 D [43823:70153619919220] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 64 bytes +2012-12-05 14:54:58.557993 T [43823:70153619526500] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x006" +2012-12-05 14:54:58.558090 D [43823:70153619526500] (3.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:54:58.558871 T [43823:70153619526500] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\b\x18\xC2\x05*+/services/TestService/1/Test/localhost/21002\x00" +2012-12-05 14:54:58.558891 D [43823:70153619526500] (0.8ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 54 bytes +2012-12-05 14:54:58.559025 D [43823:70153619526500] RubySkynet::Registry -- #monitor Service stopped, remove: TestService/1/Test => localhost:2100 +2012-12-05 14:54:58.559044 D [43823:70153619526500] RubySkynet::Registry -- Updated registry -- {} +2012-12-05 14:54:58.559283 T [43823:70153619526500] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-05 14:54:58.559357 D [43823:70153619526500] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 14:54:58.561025 T [43823:70153619919220] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 14:54:58.561034 D [43823:70153619919220] (4.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 14:54:58.561540 T [43823:70153619919220] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00" +2012-12-05 14:54:58.561547 D [43823:70153619919220] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 2 bytes +2012-12-05 14:54:58.561632 D [43823:70153619919220] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007f9bd365a600>(70153621656320) self=connections=70153621656320 checked_out= with_map= +2012-12-05 14:54:58.561656 I [43823:70153619919220] RubySkynet::Server -- Skynet Services De-registered in Doozer +2012-12-05 15:40:17.087318 D [44566:70294203226840] RubySkynet::Server -- Registering Service: TestService with name: TestService +2012-12-05 15:40:17.128380 I [44566:70294203226840] Celluloid -- Terminating 4 actors... +2012-12-05 15:40:17.129987 I [44566:70294203226840] Celluloid -- Shutdown completed cleanly +2012-12-05 15:40:17.135266 T [44566:70294203226840] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007fdd4a210f28@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 15:40:17.150272 T [44566:70294203226840] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "/8 +2012-12-05 15:40:17.150945 D [44566:70294203226840] (0.6ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 13 bytes +2012-12-05 15:40:17.151263 T [44566:70294203226840] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\a" +2012-12-05 15:40:17.151300 D [44566:70294203226840] (0.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 15:40:17.151875 T [44566:70294203226840] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00*\x03ctl" +2012-12-05 15:40:17.151909 D [44566:70294203226840] (0.4ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 7 bytes +2012-12-05 15:40:17.152283 T [44566:70294203226840] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "/8 +2012-12-05 15:40:17.153111 D [44566:70294203226840] (0.8ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 13 bytes +2012-12-05 15:40:17.153394 T [44566:70294203226840] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 15:40:17.153422 D [44566:70294203226840] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 15:40:17.153648 T [44566:70294203226840] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\xA0\x06\b" +2012-12-05 15:40:17.153685 D [44566:70294203226840] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 5 bytes +2012-12-05 15:40:17.157152 T [44566:70294203226840] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/fooH +2012-12-05 15:40:17.157351 D [44566:70294203226840] (0.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 30 bytes +2012-12-05 15:40:17.174406 T [44566:70294203226840] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 15:40:17.174477 D [44566:70294203226840] (17.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 15:40:17.175501 T [44566:70294203226840] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00" +2012-12-05 15:40:17.175542 D [44566:70294203226840] (1.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 2 bytes +2012-12-05 15:40:17.176536 T [44566:70294203226840] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007fdd4a655f48@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 15:40:17.178349 T [44566:70294203226840] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending --  +2012-12-05 15:40:17.180769 D [44566:70294203226840] (0.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 8 bytes +2012-12-05 15:40:17.182525 T [44566:70294203226840] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 15:40:17.182541 D [44566:70294203226840] (1.7ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 15:40:17.184030 T [44566:70294203226840] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xDC\x1A" +2012-12-05 15:40:17.184058 D [44566:70294203226840] (0.4ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 5 bytes +2012-12-05 15:40:17.185766 T [44566:70294203226840] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/fooH +2012-12-05 15:40:17.187720 D [44566:70294203226840] (1.9ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 30 bytes +2012-12-05 15:40:17.202413 T [44566:70294203226840] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 15:40:17.202483 D [44566:70294203226840] (14.7ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 15:40:17.203348 T [44566:70294203226840] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00" +2012-12-05 15:40:17.203385 D [44566:70294203226840] (0.8ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 2 bytes +2012-12-05 15:40:17.203673 T [44566:70294203226840] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007fdd4a662928@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 15:40:17.206617 T [44566:70294203226840] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "" /test/foo*value2H +2012-12-05 15:40:17.206957 D [44566:70294203226840] (0.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 38 bytes +2012-12-05 15:40:17.213142 T [44566:70294203226840] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 15:40:17.213209 D [44566:70294203226840] (6.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 15:40:17.218882 T [44566:70294203226840] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xDE\x1A" +2012-12-05 15:40:17.218900 D [44566:70294203226840] (5.6ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 5 bytes +2012-12-05 15:40:17.219234 T [44566:70294203226840] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/foo +2012-12-05 15:40:17.219340 D [44566:70294203226840] (0.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 19 bytes +2012-12-05 15:40:17.226536 T [44566:70294203226840] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\r" +2012-12-05 15:40:17.226589 D [44566:70294203226840] (7.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 15:40:17.226849 T [44566:70294203226840] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xDE\x1A2\x06value2" +2012-12-05 15:40:17.226876 D [44566:70294203226840] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 13 bytes +2012-12-05 15:40:17.227960 T [44566:70294203226840] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/fooH +2012-12-05 15:40:17.228003 D [44566:70294203226840] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 30 bytes +2012-12-05 15:40:17.243317 T [44566:70294203226840] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 15:40:17.243347 D [44566:70294203226840] (15.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 15:40:17.243455 T [44566:70294203226840] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00" +2012-12-05 15:40:17.243461 D [44566:70294203226840] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 2 bytes +2012-12-05 15:40:17.246055 T [44566:70294203226840] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007fdd4a689050@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 15:40:17.250967 T [44566:70294203226840] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- !" /test/foo*valueH +2012-12-05 15:40:17.251267 D [44566:70294203226840] (0.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 37 bytes +2012-12-05 15:40:17.256098 T [44566:70294203226840] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 15:40:17.256156 D [44566:70294203226840] (4.8ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 15:40:17.258708 T [44566:70294203226840] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xE0\x1A" +2012-12-05 15:40:17.258732 D [44566:70294203226840] (2.5ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 5 bytes +2012-12-05 15:40:17.259055 T [44566:70294203226840] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/foo +2012-12-05 15:40:17.259977 D [44566:70294203226840] (0.9ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 19 bytes +2012-12-05 15:40:17.260173 T [44566:70294203226840] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\f" +2012-12-05 15:40:17.260213 D [44566:70294203226840] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 15:40:17.260656 T [44566:70294203226840] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xE0\x1A2\x05value" +2012-12-05 15:40:17.260692 D [44566:70294203226840] (0.4ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 12 bytes +2012-12-05 15:40:17.283457 T [44566:70294203226840] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/fooH +2012-12-05 15:40:17.283990 D [44566:70294203226840] (0.5ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 30 bytes +2012-12-05 15:40:17.286131 T [44566:70294203226840] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 15:40:17.286180 D [44566:70294203226840] (2.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 15:40:17.286470 T [44566:70294203226840] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00" +2012-12-05 15:40:17.286507 D [44566:70294203226840] (0.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 2 bytes +2012-12-05 15:40:17.286990 T [44566:70294203226840] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:9999", :connect_retry_interval=>0.1, :connect_retry_count=>5, :read_timeout=>5, :connect_timeout=>3, :buffered=>false, :on_connect=>#<Proc:0x007fdd4ab0c4b0@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 15:40:17.291505 W [44566:70294203226840] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 1 +2012-12-05 15:40:17.396430 W [44566:70294203226840] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 2 +2012-12-05 15:40:17.497095 W [44566:70294203226840] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 3 +2012-12-05 15:40:17.600977 W [44566:70294203226840] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 4 +2012-12-05 15:40:17.702779 W [44566:70294203226840] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 5 +2012-12-05 15:40:17.804461 E [44566:70294203226840] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Giving up after 5 retries +2012-12-05 15:40:17.804609 I [44566:70294203226840] (517.5ms) ResilientSocket::TCPClient ["localhost:9999"] -- Connecting to server localhost:9999 -- ResilientSocket::ConnectionFailure: After 5 connection attempts to host 'localhost:9999': Errno::ECONNREFUSED: Connection refused - connect(2) +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:578:in `rescue in block in connect_to_server' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:549:in `block in connect_to_server' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_info' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:542:in `connect_to_server' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:305:in `connect' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:233:in `initialize' /Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:36:in `new' /Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:36:in `initialize' -/Users/rmorrison/Sandbox/ruby_skynet/test/doozer_client_test.rb:22:in `new' -/Users/rmorrison/Sandbox/ruby_skynet/test/doozer_client_test.rb:22:in `block (4 levels) in <class:DoozerClientTest>' +/Users/rmorrison/Sandbox/ruby_skynet/test/doozer_client_test.rb:19:in `new' +/Users/rmorrison/Sandbox/ruby_skynet/test/doozer_client_test.rb:19:in `block (4 levels) in <class:DoozerClientTest>' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:330:in `assert_raises' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/assertions.rb:69:in `assert_raise' -/Users/rmorrison/Sandbox/ruby_skynet/test/doozer_client_test.rb:21:in `block (3 levels) in <class:DoozerClientTest>' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.0/lib/shoulda/context/context.rb:398:in `call' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.0/lib/shoulda/context/context.rb:398:in `block in create_test_from_should_hash' -/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:949:in `run' +/Users/rmorrison/Sandbox/ruby_skynet/test/doozer_client_test.rb:18:in `block (3 levels) in <class:DoozerClientTest>' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `block in create_test_from_should_hash' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/mocha-0.10.5/lib/mocha/integration/mini_test/version_230_to_262.rb:28:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/testcase.rb:17:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:787:in `block in _run_suite' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `map' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `_run_suite' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:565:in `block in _run_suites' @@ -2782,27 +7705,134 @@ /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:884:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:21:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:326:in `block (2 levels) in autorun' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:27:in `run_once' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:325:in `block in autorun' -2012-10-18 16:27:45.501887 I [1192:70332132317920] (509.8ms) ResilientSocket::TCPClient ["localhost:9999"] -- Connecting to server localhost:9999 -- ResilientSocket::ConnectionFailure: After 5 connection attempts to host 'localhost:9999': Errno::ECONNREFUSED: Connection refused - connect(2) -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:570:in `rescue in block in connect_to_server' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:548:in `block in connect_to_server' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.7.0/lib/semantic_logger/base.rb:181:in `benchmark_info' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:541:in `connect_to_server' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:304:in `connect' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:232:in `initialize' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:36:in `new' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:36:in `initialize' -/Users/rmorrison/Sandbox/ruby_skynet/test/doozer_client_test.rb:22:in `new' -/Users/rmorrison/Sandbox/ruby_skynet/test/doozer_client_test.rb:22:in `block (4 levels) in <class:DoozerClientTest>' +2012-12-05 15:40:17.810273 D [44566:70294203925040] SimpleServer -- Waiting for a client to connect +2012-12-05 15:40:17.819640 D [44566:70294203226840] RubySkynet::Registry -- Doozer Connection Pool: Created connection #1 #<Thread:0x007fdd4a06b5b0>(70294203226840) for Doozer Connection Pool +2012-12-05 15:40:17.819760 T [44566:70294203226840] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007fdd4a281458@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 15:40:17.821157 D [44566:70294203226840] RubySkynet::Registry -- Doozer Connection Pool: Renewed connection old=70294203226840 new=#<RubySkynet::Doozer::Client:0x007fdd4a26f500>(70294204283520) +2012-12-05 15:40:17.821260 D [44566:70294203226840] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fdd4a26f500>(70294204283520) self=connections=70294204283520 checked_out=70294204283520 with_map= +2012-12-05 15:40:17.843350 T [44566:70294203226840] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "+/services/TestService/1/Test/127.0.0.1/2000*{"Config":{"UUID":"3978b371-15e9-40f8-9b7b-59ae88d8c7ec","Name":"TestService","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"127.0.0.1","Port":2000,"MaxPort":2999}},"Registered":true}H +2012-12-05 15:40:17.843682 D [44566:70294203226840] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 261 bytes +2012-12-05 15:40:17.846825 T [44566:70294203226840] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 15:40:17.846844 D [44566:70294203226840] (3.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:40:17.849174 T [44566:70294203226840] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xE2\x1A" +2012-12-05 15:40:17.849186 D [44566:70294203226840] (2.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 15:40:17.849341 D [44566:70294203226840] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fdd4a26f500>(70294204283520) self=connections=70294204283520 checked_out= with_map= +2012-12-05 15:40:17.853390 D [44566:70294203226840] [50bfb1316b6933ae16000001] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fdd4a26f500>(70294204283520) self=connections=70294204283520 checked_out=70294204283520 with_map= +2012-12-05 15:40:17.853704 T [44566:70294203226840] [50bfb1316b6933ae16000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  +2012-12-05 15:40:17.860653 D [44566:70294203226840] [50bfb1316b6933ae16000001] (6.9ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 8 bytes +2012-12-05 15:40:17.861614 T [44566:70294203226840] [50bfb1316b6933ae16000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 15:40:17.861632 D [44566:70294203226840] [50bfb1316b6933ae16000001] (0.9ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:40:17.861743 T [44566:70294203226840] [50bfb1316b6933ae16000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xE2\x1A" +2012-12-05 15:40:17.861750 D [44566:70294203226840] [50bfb1316b6933ae16000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 15:40:17.864733 T [44566:70294203226840] [50bfb1316b6933ae16000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H +2012-12-05 15:40:17.865024 D [44566:70294203226840] [50bfb1316b6933ae16000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-05 15:40:17.866005 T [44566:70294203226840] [50bfb1316b6933ae16000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\xF9" +2012-12-05 15:40:17.866046 D [44566:70294203226840] [50bfb1316b6933ae16000001] (0.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:40:17.866262 T [44566:70294203226840] [50bfb1316b6933ae16000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xE2\x1A*+/services/TestService/1/Test/127.0.0.1/20002\xC2\x01{\"Config\":{\"UUID\":\"3978b371-15e9-40f8-9b7b-59ae88d8c7ec\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"127.0.0.1\",\"Port\":2000,\"MaxPort\":2999}},\"Registered\":true}" +2012-12-05 15:40:17.866298 D [44566:70294203226840] [50bfb1316b6933ae16000001] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 249 bytes +2012-12-05 15:40:17.867539 T [44566:70294203226840] [50bfb1316b6933ae16000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H +2012-12-05 15:40:17.868206 D [44566:70294203226840] [50bfb1316b6933ae16000001] (0.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-05 15:40:17.868386 T [44566:70294203226840] [50bfb1316b6933ae16000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 15:40:17.868422 D [44566:70294203226840] [50bfb1316b6933ae16000001] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:40:17.868631 T [44566:70294203226840] [50bfb1316b6933ae16000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\xA0\x06\b" +2012-12-05 15:40:17.868666 D [44566:70294203226840] [50bfb1316b6933ae16000001] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 15:40:17.868864 D [44566:70294203226840] [50bfb1316b6933ae16000001] RubySkynet::Registry -- #start_monitoring Add Service: TestService/1/Test => 127.0.0.1:2000 +2012-12-05 15:40:17.868907 D [44566:70294203226840] [50bfb1316b6933ae16000001] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fdd4a26f500>(70294204283520) self=connections=70294204283520 checked_out= with_map= +2012-12-05 15:40:17.870299 I [44566:70294208663840] RubySkynet::Registry -- Start monitoring /services/*/*/*/*/* +2012-12-05 15:40:17.870452 T [44566:70294208663840] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007fdd4aae1850@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 15:40:17.871391 T [44566:70294208663840] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-05 15:40:17.871435 D [44566:70294208663840] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 15:40:17.872183 D [44566:70294203226840] [50bfb1316b6933ae16000001] RubySkynet::Connection: 127.0.0.1:2000 -- Waiting for Service Handshake +2012-12-05 15:40:17.873810 D [44566:70294203925040] SimpleServer -- Waiting for a client to connect +2012-12-05 15:40:17.873911 D [44566:70294203925040] SimpleServer -- Client connected, waiting for data from client +2012-12-05 15:40:17.874878 T [44566:70294203226840] [50bfb1316b6933ae16000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "$\x00\x00\x00" +2012-12-05 15:40:17.874922 D [44566:70294203226840] [50bfb1316b6933ae16000001] (1.9ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes +2012-12-05 15:40:17.875221 T [44566:70294203226840] [50bfb1316b6933ae16000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "\bregistered\x00\x01\x02clientid\x00\x04\x00\x00\x00123\x00\x00" +2012-12-05 15:40:17.875257 D [44566:70294203226840] [50bfb1316b6933ae16000001] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 32 bytes +2012-12-05 15:40:17.875358 T [44566:70294203226840] [50bfb1316b6933ae16000001] RubySkynet::Connection: 127.0.0.1:2000 -- Service Handshake -- {"registered"=>true, "clientid"=>"123"} +2012-12-05 15:40:17.875379 D [44566:70294203226840] [50bfb1316b6933ae16000001] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Client Handshake +2012-12-05 15:40:17.875385 T [44566:70294203226840] [50bfb1316b6933ae16000001] RubySkynet::Connection: 127.0.0.1:2000 -- Client Handshake -- {"clientid"=>"123"} +2012-12-05 15:40:17.875404 T [44566:70294203226840] [50bfb1316b6933ae16000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- clientid123 +2012-12-05 15:40:17.875864 D [44566:70294203226840] [50bfb1316b6933ae16000001] (0.5ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 23 bytes +2012-12-05 15:40:17.876009 D [44566:70294203226840] [50bfb1316b6933ae16000001] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Header +2012-12-05 15:40:17.876022 T [44566:70294203226840] [50bfb1316b6933ae16000001] RubySkynet::Connection: 127.0.0.1:2000 -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 15:40:17.876047 T [44566:70294203226840] [50bfb1316b6933ae16000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- 5servicemethodTestService.Forwardseq +2012-12-05 15:40:17.876092 D [44566:70294203226840] [50bfb1316b6933ae16000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 53 bytes +2012-12-05 15:40:17.876127 D [44566:70294203226840] [50bfb1316b6933ae16000001] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Request +2012-12-05 15:40:17.876134 T [44566:70294203226840] [50bfb1316b6933ae16000001] RubySkynet::Connection: 127.0.0.1:2000 -- Request -- {"clientid"=>"123", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"test1", "requestinfo"=>{"requestid"=>"50bfb1316b6933ae16000001", "retrycount"=>0, "originaddress"=>""}} +2012-12-05 15:40:17.876139 T [44566:70294203226840] [50bfb1316b6933ae16000001] RubySkynet::Connection: 127.0.0.1:2000 -- Parameters: -- {"some"=>"parameters"} +2012-12-05 15:40:17.876156 T [44566:70294203226840] [50bfb1316b6933ae16000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- clientid123insome parametersmethodtest1requestinfoQrequestid50bfb1316b6933ae16000001retrycountoriginaddress +2012-12-05 15:40:17.876192 D [44566:70294203226840] [50bfb1316b6933ae16000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 170 bytes +2012-12-05 15:40:17.876205 D [44566:70294203226840] [50bfb1316b6933ae16000001] RubySkynet::Connection: 127.0.0.1:2000 -- Reading header from server +2012-12-05 15:40:17.877130 D [44566:70294203925040] SimpleServer -- +****************** +2012-12-05 15:40:17.877143 D [44566:70294203925040] SimpleServer -- Received Request +2012-12-05 15:40:17.877149 T [44566:70294203925040] SimpleServer -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 15:40:17.877236 T [44566:70294203925040] SimpleServer -- Request -- {"clientid"=>"123", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"test1", "requestinfo"=>{"requestid"=>"50bfb1316b6933ae16000001", "retrycount"=>0, "originaddress"=>""}} +2012-12-05 15:40:17.877257 D [44566:70294203925040] SimpleServer -- Sending Header +2012-12-05 15:40:17.877310 D [44566:70294203925040] SimpleServer -- Sending Reply +2012-12-05 15:40:17.877318 T [44566:70294203925040] SimpleServer -- Reply -- {"result"=>"test1"} +2012-12-05 15:40:17.884503 T [44566:70294203226840] [50bfb1316b6933ae16000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "5\x00\x00\x00" +2012-12-05 15:40:17.884638 D [44566:70294203226840] [50bfb1316b6933ae16000001] (8.4ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes +2012-12-05 15:40:17.886349 T [44566:70294203226840] [50bfb1316b6933ae16000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "\x02servicemethod\x00\x14\x00\x00\x00TestService.Forward\x00\x10seq\x00\x00\x00\x00\x00\x00" +2012-12-05 15:40:17.886365 D [44566:70294203226840] [50bfb1316b6933ae16000001] (1.7ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 49 bytes +2012-12-05 15:40:17.886437 D [44566:70294203226840] [50bfb1316b6933ae16000001] RubySkynet::Connection: 127.0.0.1:2000 -- Response Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 15:40:17.886445 D [44566:70294203226840] [50bfb1316b6933ae16000001] RubySkynet::Connection: 127.0.0.1:2000 -- Reading response from server +2012-12-05 15:40:17.886810 T [44566:70294203226840] [50bfb1316b6933ae16000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "&\x00\x00\x00" +2012-12-05 15:40:17.887757 D [44566:70294203226840] [50bfb1316b6933ae16000001] (1.3ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes +2012-12-05 15:40:17.887982 T [44566:70294203226840] [50bfb1316b6933ae16000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "\x02out\x00\x18\x00\x00\x00\x17\x00\x00\x00\x02result\x00\x06\x00\x00\x00test1\x00\x00\x00\x00" +2012-12-05 15:40:17.888020 D [44566:70294203226840] [50bfb1316b6933ae16000001] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 34 bytes +2012-12-05 15:40:17.888053 T [44566:70294203226840] [50bfb1316b6933ae16000001] RubySkynet::Connection: 127.0.0.1:2000 -- Response -- {"out"=>"\x17\x00\x00\x00\x02result\x00\x06\x00\x00\x00test1\x00\x00"} +2012-12-05 15:40:17.888082 T [44566:70294203226840] [50bfb1316b6933ae16000001] RubySkynet::Connection: 127.0.0.1:2000 -- Return Value -- {"result"=>"test1"} +2012-12-05 15:40:17.888123 I [44566:70294203226840] [50bfb1316b6933ae16000001] (38.6ms) RubySkynet::Client: TestService/1/Test -- Called Skynet Service: TestService.test1 +2012-12-05 15:40:17.889259 D [44566:70294203226840] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fdd4a26f500>(70294204283520) self=connections=70294204283520 checked_out=70294204283520 with_map= +2012-12-05 15:40:17.890119 T [44566:70294203226840] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- <"+/services/TestService/1/Test/127.0.0.1/2000H +2012-12-05 15:40:17.890721 D [44566:70294203226840] (0.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 64 bytes +2012-12-05 15:40:17.892295 T [44566:70294208663840] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x006" +2012-12-05 15:40:17.892309 D [44566:70294208663840] (20.9ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:40:17.892527 T [44566:70294203226840] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 15:40:17.892534 D [44566:70294203226840] (1.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:40:17.893661 T [44566:70294203226840] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00" +2012-12-05 15:40:17.893669 D [44566:70294203226840] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 2 bytes +2012-12-05 15:40:17.893769 D [44566:70294203226840] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fdd4a26f500>(70294204283520) self=connections=70294204283520 checked_out= with_map= +2012-12-05 15:40:17.897663 T [44566:70294208663840] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\b\x18\xE3\x1A*+/services/TestService/1/Test/127.0.0.1/20002\x00" +2012-12-05 15:40:17.897682 D [44566:70294208663840] (5.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 54 bytes +2012-12-05 15:40:17.897877 D [44566:70294208663840] RubySkynet::Registry -- #monitor Service stopped, remove: TestService/1/Test => 127.0.0.1:2000 +2012-12-05 15:40:17.897903 I [44566:70294208663840] RubySkynet::Registry -- Calling callback for server: 127.0.0.1:2000 +2012-12-05 15:40:17.898075 D [44566:70294208663840] RubySkynet::Connection -- Connection pool for server:127.0.0.1:2000 has been released +2012-12-05 15:40:17.898089 D [44566:70294208663840] RubySkynet::Registry -- Updated registry -- {} +2012-12-05 15:40:17.898452 T [44566:70294208663840] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-05 15:40:17.898606 D [44566:70294208663840] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 15:40:17.898721 D [44566:70294203918140] SimpleServer -- Waiting for a client to connect +2012-12-05 15:40:17.905162 D [44566:70294203226840] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fdd4a26f500>(70294204283520) self=connections=70294204283520 checked_out=70294204283520 with_map= +2012-12-05 15:40:17.905543 T [44566:70294203226840] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "+/services/TestService/1/Test/127.0.0.1/2000*{"Config":{"UUID":"3978b371-15e9-40f8-9b7b-59ae88d8c7ec","Name":"TestService","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"127.0.0.1","Port":2000,"MaxPort":2999}},"Registered":true}H +2012-12-05 15:40:17.905599 D [44566:70294203226840] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 261 bytes +2012-12-05 15:40:17.907964 T [44566:70294208663840] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\xF9" +2012-12-05 15:40:17.907981 D [44566:70294208663840] (9.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:40:17.908428 T [44566:70294203226840] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 15:40:17.908469 D [44566:70294203226840] (2.9ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:40:17.909787 T [44566:70294203226840] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xE4\x1A" +2012-12-05 15:40:17.909827 D [44566:70294203226840] (1.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 15:40:17.909946 D [44566:70294203226840] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fdd4a26f500>(70294204283520) self=connections=70294204283520 checked_out= with_map= +2012-12-05 15:40:17.910177 W [44566:70294203226840] [50bfb1316b6933ae16000002] RubySkynet::Registry -- No servers available for service: TestService with version: 1 in region: Test +2012-12-05 15:40:17.910289 I [44566:70294203226840] [50bfb1316b6933ae16000002] (0.2ms) RubySkynet::Client: TestService/1/Test -- Called Skynet Service: TestService.sleep -- RubySkynet::ServiceUnavailable: No servers available for service: TestService with version: 1 in region: Test +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/registry.rb:92:in `server_for' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:64:in `block (2 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_info' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:60:in `block in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:126:in `with_tags' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:59:in `call' +/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_client_test.rb:87:in `block (5 levels) in <class:RubySkynetClientTest>' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:330:in `assert_raises' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/assertions.rb:69:in `assert_raise' -/Users/rmorrison/Sandbox/ruby_skynet/test/doozer_client_test.rb:21:in `block (3 levels) in <class:DoozerClientTest>' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.0/lib/shoulda/context/context.rb:398:in `call' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.0/lib/shoulda/context/context.rb:398:in `block in create_test_from_should_hash' -/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:949:in `run' +/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_client_test.rb:85:in `block (4 levels) in <class:RubySkynetClientTest>' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `block in create_test_from_should_hash' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/mocha-0.10.5/lib/mocha/integration/mini_test/version_230_to_262.rb:28:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/testcase.rb:17:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:787:in `block in _run_suite' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `map' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `_run_suite' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:565:in `block in _run_suites' @@ -2815,27 +7845,307 @@ /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:895:in `_run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:884:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:21:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:326:in `block (2 levels) in autorun' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:27:in `run_once' -/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:325:in `block in autorun' -- ResilientSocket::ConnectionFailure: After 5 connection attempts to host 'localhost:9999': Errno::ECONNREFUSED: Connection refused - connect(2) -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:570:in `rescue in block in connect_to_server' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:548:in `block in connect_to_server' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.7.0/lib/semantic_logger/base.rb:181:in `benchmark_info' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:541:in `connect_to_server' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:304:in `connect' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:232:in `initialize' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:325:in `block in autorun' +2012-12-05 15:40:17.912117 D [44566:70294203226840] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fdd4a26f500>(70294204283520) self=connections=70294204283520 checked_out=70294204283520 with_map= +2012-12-05 15:40:17.912893 T [44566:70294203226840] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- <"+/services/TestService/1/Test/127.0.0.1/2000H +2012-12-05 15:40:17.913525 T [44566:70294208663840] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xE4\x1A*+/services/TestService/1/Test/127.0.0.1/20002\xC2\x01{\"Config\":{\"UUID\":\"3978b371-15e9-40f8-9b7b-59ae88d8c7ec\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"127.0.0.1\",\"Port\":2000,\"MaxPort\":2999}},\"Registered\":true}" +2012-12-05 15:40:17.913537 D [44566:70294208663840] (5.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 249 bytes +2012-12-05 15:40:17.913727 D [44566:70294208663840] RubySkynet::Registry -- #monitor Add/Update Service: TestService/1/Test => 127.0.0.1:2000 +2012-12-05 15:40:17.913740 D [44566:70294208663840] RubySkynet::Registry -- Updated registry -- {"TestService/1/Test"=>["127.0.0.1:2000"]} +2012-12-05 15:40:17.913933 T [44566:70294208663840] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-05 15:40:17.914009 D [44566:70294208663840] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 15:40:17.915666 D [44566:70294203226840] (2.8ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 64 bytes +2012-12-05 15:40:17.925103 T [44566:70294208663840] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x006" +2012-12-05 15:40:17.925133 D [44566:70294208663840] (11.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:40:17.926988 T [44566:70294208663840] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\b\x18\xE5\x1A*+/services/TestService/1/Test/127.0.0.1/20002\x00" +2012-12-05 15:40:17.927006 D [44566:70294208663840] (1.8ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 54 bytes +2012-12-05 15:40:17.927152 D [44566:70294208663840] RubySkynet::Registry -- #monitor Service stopped, remove: TestService/1/Test => 127.0.0.1:2000 +2012-12-05 15:40:17.927173 D [44566:70294208663840] RubySkynet::Registry -- Updated registry -- {} +2012-12-05 15:40:17.928390 T [44566:70294208663840] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-05 15:40:17.931311 D [44566:70294208663840] (2.9ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 15:40:17.935593 T [44566:70294203226840] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 15:40:17.939678 D [44566:70294203226840] (24.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:40:17.939822 T [44566:70294203226840] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00" +2012-12-05 15:40:17.939829 D [44566:70294203226840] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 2 bytes +2012-12-05 15:40:17.939983 D [44566:70294203226840] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fdd4a26f500>(70294204283520) self=connections=70294204283520 checked_out= with_map= +2012-12-05 15:40:17.940657 W [44566:70294203226840] [50bfb1316b6933ae16000003] RubySkynet::Registry -- No servers available for service: SomeService with version: * in region: Development +2012-12-05 15:40:17.940743 I [44566:70294203226840] [50bfb1316b6933ae16000003] (0.2ms) RubySkynet::Client: SomeService/*/Development -- Called Skynet Service: SomeService.test -- RubySkynet::ServiceUnavailable: No servers available for service: SomeService with version: * in region: Development +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/registry.rb:92:in `server_for' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:64:in `block (2 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_info' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:60:in `block in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:126:in `with_tags' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:59:in `call' +/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_client_test.rb:26:in `block (4 levels) in <class:RubySkynetClientTest>' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:330:in `assert_raises' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/assertions.rb:69:in `assert_raise' +/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_client_test.rb:24:in `block (3 levels) in <class:RubySkynetClientTest>' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `block in create_test_from_should_hash' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/mocha-0.10.5/lib/mocha/integration/mini_test/version_230_to_262.rb:28:in `run' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/testcase.rb:17:in `run' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:787:in `block in _run_suite' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `map' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `_run_suite' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:565:in `block in _run_suites' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:563:in `each' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:563:in `_run_suites' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:746:in `_run_anything' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:909:in `run_tests' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:896:in `block in _run' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:895:in `each' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:895:in `_run' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:884:in `run' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:21:in `run' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:326:in `block (2 levels) in autorun' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:27:in `run_once' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:325:in `block in autorun' +2012-12-05 15:40:17.942938 D [44566:70294203946260] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fdd4a26f500>(70294204283520) self=connections=70294204283520 checked_out=70294204283520 with_map= +2012-12-05 15:40:17.943352 T [44566:70294203946260] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "+/services/TestService/1/Test/localhost/2100*{"Config":{"UUID":"localhost:2100-44566-TestService-70294205824120","Name":"TestService","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"localhost","Port":2100,"MaxPort":3099}},"Registered":true}H +2012-12-05 15:40:17.943409 D [44566:70294203946260] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 272 bytes +2012-12-05 15:40:17.951413 T [44566:70294203946260] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 15:40:17.951438 D [44566:70294203946260] (8.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:40:17.951897 T [44566:70294203946260] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xE6\x1A" +2012-12-05 15:40:17.951904 D [44566:70294203946260] (0.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 15:40:17.952034 D [44566:70294203946260] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fdd4a26f500>(70294204283520) self=connections=70294204283520 checked_out= with_map= +2012-12-05 15:40:17.960318 I [44566:70294203946260] RubySkynet::Server -- Starting listener on localhost:2100 +2012-12-05 15:40:17.960348 D [44566:70294203946260] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 15:40:17.974636 W [44566:70294203226840] [50bfb1316b6933ae16000004] RubySkynet::Registry -- No servers available for service: TestService with version: 1 in region: Test +2012-12-05 15:40:17.974733 I [44566:70294203226840] [50bfb1316b6933ae16000004] (0.2ms) RubySkynet::Client: TestService/1/Test -- Called Skynet Service: TestService.echo -- RubySkynet::ServiceUnavailable: No servers available for service: TestService with version: 1 in region: Test +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/registry.rb:92:in `server_for' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:64:in `block (2 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_info' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:60:in `block in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:126:in `with_tags' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:59:in `call' +/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_service_test.rb:65:in `block (4 levels) in <class:RubySkynetServiceTest>' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `block in create_test_from_should_hash' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/mocha-0.10.5/lib/mocha/integration/mini_test/version_230_to_262.rb:28:in `run' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/testcase.rb:17:in `run' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:787:in `block in _run_suite' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `map' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `_run_suite' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:565:in `block in _run_suites' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:563:in `each' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:563:in `_run_suites' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:746:in `_run_anything' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:909:in `run_tests' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:896:in `block in _run' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:895:in `each' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:895:in `_run' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:884:in `run' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:21:in `run' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:326:in `block (2 levels) in autorun' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:27:in `run_once' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:325:in `block in autorun' +2012-12-05 15:40:17.974983 I [44566:70294203946260] RubySkynet::Server -- Skynet Server Stopped +2012-12-05 15:40:17.975096 D [44566:70294203946260] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fdd4a26f500>(70294204283520) self=connections=70294204283520 checked_out=70294204283520 with_map= +2012-12-05 15:40:17.975459 T [44566:70294203946260] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- <"+/services/TestService/1/Test/localhost/2100H +2012-12-05 15:40:17.977046 D [44566:70294203946260] (1.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 64 bytes +2012-12-05 15:40:17.979766 T [44566:70294208663840] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01\x04" +2012-12-05 15:40:17.979785 D [44566:70294208663840] (48.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:40:17.979906 T [44566:70294208663840] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xE6\x1A*+/services/TestService/1/Test/localhost/21002\xCD\x01{\"Config\":{\"UUID\":\"localhost:2100-44566-TestService-70294205824120\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-05 15:40:17.979912 D [44566:70294208663840] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 260 bytes +2012-12-05 15:40:17.980150 D [44566:70294208663840] RubySkynet::Registry -- #monitor Add/Update Service: TestService/1/Test => localhost:2100 +2012-12-05 15:40:17.980162 D [44566:70294208663840] RubySkynet::Registry -- Updated registry -- {} +2012-12-05 15:40:17.980398 T [44566:70294208663840] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-05 15:40:17.980708 D [44566:70294208663840] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 15:40:17.986182 T [44566:70294208663840] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x006" +2012-12-05 15:40:17.986200 D [44566:70294208663840] (5.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:40:17.988748 T [44566:70294203946260] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 15:40:17.988760 D [44566:70294203946260] (11.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:40:17.990122 T [44566:70294208663840] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\b\x18\xE7\x1A*+/services/TestService/1/Test/localhost/21002\x00" +2012-12-05 15:40:17.990218 D [44566:70294208663840] (3.9ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 54 bytes +2012-12-05 15:40:17.990369 D [44566:70294208663840] RubySkynet::Registry -- #monitor Service stopped, remove: TestService/1/Test => localhost:2100 +2012-12-05 15:40:17.990409 D [44566:70294208663840] RubySkynet::Registry -- Updated registry -- {} +2012-12-05 15:40:17.990662 T [44566:70294208663840] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-05 15:40:17.990977 D [44566:70294208663840] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 15:40:17.993732 T [44566:70294203946260] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00" +2012-12-05 15:40:17.993743 D [44566:70294203946260] (4.9ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 2 bytes +2012-12-05 15:40:17.993838 D [44566:70294203946260] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fdd4a26f500>(70294204283520) self=connections=70294204283520 checked_out= with_map= +2012-12-05 15:40:17.993857 I [44566:70294203946260] RubySkynet::Server -- Skynet Services De-registered in Doozer +2012-12-05 15:40:17.996658 D [44566:70294203951560] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fdd4a26f500>(70294204283520) self=connections=70294204283520 checked_out=70294204283520 with_map= +2012-12-05 15:40:17.997372 T [44566:70294203951560] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "+/services/TestService/1/Test/localhost/2100*{"Config":{"UUID":"localhost:2100-44566-TestService-70294205824120","Name":"TestService","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"localhost","Port":2100,"MaxPort":3099}},"Registered":true}H +2012-12-05 15:40:17.997432 D [44566:70294203951560] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 272 bytes +2012-12-05 15:40:17.998951 T [44566:70294208663840] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01\x04" +2012-12-05 15:40:17.998965 D [44566:70294208663840] (8.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:40:17.999381 T [44566:70294208663840] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xE8\x1A*+/services/TestService/1/Test/localhost/21002\xCD\x01{\"Config\":{\"UUID\":\"localhost:2100-44566-TestService-70294205824120\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-05 15:40:17.999389 D [44566:70294208663840] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 260 bytes +2012-12-05 15:40:17.999611 D [44566:70294208663840] RubySkynet::Registry -- #monitor Add/Update Service: TestService/1/Test => localhost:2100 +2012-12-05 15:40:17.999623 D [44566:70294208663840] RubySkynet::Registry -- Updated registry -- {"TestService/1/Test"=>["localhost:2100"]} +2012-12-05 15:40:17.999842 T [44566:70294208663840] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-05 15:40:17.999920 D [44566:70294208663840] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 15:40:17.999972 T [44566:70294203951560] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 15:40:17.999978 D [44566:70294203951560] (2.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:40:18.000031 T [44566:70294203951560] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xE8\x1A" +2012-12-05 15:40:18.000036 D [44566:70294203951560] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 15:40:18.000122 D [44566:70294203951560] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fdd4a26f500>(70294204283520) self=connections=70294204283520 checked_out= with_map= +2012-12-05 15:40:18.007132 I [44566:70294203951560] RubySkynet::Server -- Starting listener on localhost:2100 +2012-12-05 15:40:18.007157 D [44566:70294203951560] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 15:40:18.007646 I [44566:70294203951560] RubySkynet::Server -- Skynet Server Stopped +2012-12-05 15:40:18.007766 D [44566:70294203951560] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fdd4a26f500>(70294204283520) self=connections=70294204283520 checked_out=70294204283520 with_map= +2012-12-05 15:40:18.008167 T [44566:70294203951560] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- <"+/services/TestService/1/Test/localhost/2100H +2012-12-05 15:40:18.011281 D [44566:70294203951560] (3.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 64 bytes +2012-12-05 15:40:18.016181 T [44566:70294208663840] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x006" +2012-12-05 15:40:18.016205 D [44566:70294208663840] (16.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:40:18.019143 T [44566:70294203951560] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 15:40:18.019160 D [44566:70294203951560] (7.8ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:40:18.019419 T [44566:70294208663840] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\b\x18\xE9\x1A*+/services/TestService/1/Test/localhost/21002\x00" +2012-12-05 15:40:18.019426 D [44566:70294208663840] (3.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 54 bytes +2012-12-05 15:40:18.019618 D [44566:70294208663840] RubySkynet::Registry -- #monitor Service stopped, remove: TestService/1/Test => localhost:2100 +2012-12-05 15:40:18.019642 D [44566:70294208663840] RubySkynet::Registry -- Updated registry -- {} +2012-12-05 15:40:18.023902 T [44566:70294208663840] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-05 15:40:18.025149 D [44566:70294208663840] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 15:40:18.025227 T [44566:70294203951560] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00" +2012-12-05 15:40:18.025234 D [44566:70294203951560] (6.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 2 bytes +2012-12-05 15:40:18.025337 D [44566:70294203951560] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fdd4a26f500>(70294204283520) self=connections=70294204283520 checked_out= with_map= +2012-12-05 15:40:18.025356 I [44566:70294203951560] RubySkynet::Server -- Skynet Services De-registered in Doozer +2012-12-05 15:40:18.033881 D [44566:70294203925040] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fdd4a26f500>(70294204283520) self=connections=70294204283520 checked_out=70294204283520 with_map= +2012-12-05 15:40:18.034344 T [44566:70294203925040] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "+/services/TestService/1/Test/localhost/2100*{"Config":{"UUID":"localhost:2100-44566-TestService-70294205824120","Name":"TestService","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"localhost","Port":2100,"MaxPort":3099}},"Registered":true}H +2012-12-05 15:40:18.034444 D [44566:70294203925040] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 272 bytes +2012-12-05 15:40:18.036772 T [44566:70294208663840] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01\x04" +2012-12-05 15:40:18.036780 D [44566:70294208663840] (11.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:40:18.039180 T [44566:70294203925040] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 15:40:18.039192 D [44566:70294203925040] (4.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:40:18.039582 T [44566:70294208663840] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xEA\x1A*+/services/TestService/1/Test/localhost/21002\xCD\x01{\"Config\":{\"UUID\":\"localhost:2100-44566-TestService-70294205824120\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-05 15:40:18.039589 D [44566:70294208663840] (2.8ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 260 bytes +2012-12-05 15:40:18.040061 D [44566:70294208663840] RubySkynet::Registry -- #monitor Add/Update Service: TestService/1/Test => localhost:2100 +2012-12-05 15:40:18.040076 D [44566:70294208663840] RubySkynet::Registry -- Updated registry -- {"TestService/1/Test"=>["localhost:2100"]} +2012-12-05 15:40:18.040352 T [44566:70294208663840] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-05 15:40:18.040451 D [44566:70294208663840] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 15:40:18.040740 T [44566:70294203925040] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xEA\x1A" +2012-12-05 15:40:18.040747 D [44566:70294203925040] (1.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 15:40:18.044020 D [44566:70294203925040] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fdd4a26f500>(70294204283520) self=connections=70294204283520 checked_out= with_map= +2012-12-05 15:40:18.047897 I [44566:70294203925040] RubySkynet::Server -- Starting listener on localhost:2100 +2012-12-05 15:40:18.047921 D [44566:70294203925040] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 15:40:18.049537 D [44566:70294203226840] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fdd4a26f500>(70294204283520) self=connections=70294204283520 checked_out=70294204283520 with_map= +2012-12-05 15:40:18.050363 T [44566:70294203226840] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- 1"+/services/TestService/1/Test/localhost/2100 +2012-12-05 15:40:18.066523 D [44566:70294203226840] (16.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 53 bytes +2012-12-05 15:40:18.067055 T [44566:70294203226840] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\xD5" +2012-12-05 15:40:18.067063 D [44566:70294203226840] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:40:18.067165 T [44566:70294203226840] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xEA\x1A2\xCD\x01{\"Config\":{\"UUID\":\"localhost:2100-44566-TestService-70294205824120\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-05 15:40:18.067172 D [44566:70294203226840] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 213 bytes +2012-12-05 15:40:18.067349 D [44566:70294203226840] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fdd4a26f500>(70294204283520) self=connections=70294204283520 checked_out= with_map= +2012-12-05 15:40:18.067565 I [44566:70294203925040] RubySkynet::Server -- Skynet Server Stopped +2012-12-05 15:40:18.067646 D [44566:70294203925040] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fdd4a26f500>(70294204283520) self=connections=70294204283520 checked_out=70294204283520 with_map= +2012-12-05 15:40:18.067979 T [44566:70294203925040] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- <"+/services/TestService/1/Test/localhost/2100H +2012-12-05 15:40:18.068037 D [44566:70294203925040] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 64 bytes +2012-12-05 15:40:18.070017 T [44566:70294203925040] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 15:40:18.070031 D [44566:70294203925040] (2.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:40:18.070629 T [44566:70294203925040] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00" +2012-12-05 15:40:18.070636 D [44566:70294203925040] (0.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 2 bytes +2012-12-05 15:40:18.070722 D [44566:70294203925040] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fdd4a26f500>(70294204283520) self=connections=70294204283520 checked_out= with_map= +2012-12-05 15:40:18.070739 I [44566:70294203925040] RubySkynet::Server -- Skynet Services De-registered in Doozer +2012-12-05 15:40:18.073336 T [44566:70294208663840] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x006" +2012-12-05 15:40:18.073349 D [44566:70294208663840] (32.9ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:40:18.073443 T [44566:70294208663840] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\b\x18\xEC\x1A*+/services/TestService/1/Test/localhost/21002\x00" +2012-12-05 15:40:18.073449 D [44566:70294208663840] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 54 bytes +2012-12-05 15:40:18.073592 D [44566:70294208663840] RubySkynet::Registry -- #monitor Service stopped, remove: TestService/1/Test => localhost:2100 +2012-12-05 15:40:18.073612 D [44566:70294208663840] RubySkynet::Registry -- Updated registry -- {} +2012-12-05 15:40:18.073852 T [44566:70294208663840] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-05 15:40:18.073988 D [44566:70294208663840] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 15:40:26.221692 D [44570:70332874709720] RubySkynet::Server -- Registering Service: TestService with name: TestService +2012-12-05 15:40:26.223270 I [44570:70332874709720] Celluloid -- Terminating 4 actors... +2012-12-05 15:40:26.224423 I [44570:70332874709720] Celluloid -- Shutdown completed cleanly +2012-12-05 15:40:26.227733 T [44570:70332874709720] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007fef4c3a15b8@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 15:40:26.234965 T [44570:70332874709720] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "/8 +2012-12-05 15:40:26.235202 D [44570:70332874709720] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 13 bytes +2012-12-05 15:40:26.235399 T [44570:70332874709720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\a" +2012-12-05 15:40:26.235407 D [44570:70332874709720] (0.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 15:40:26.235586 T [44570:70332874709720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00*\x03ctl" +2012-12-05 15:40:26.235596 D [44570:70332874709720] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 7 bytes +2012-12-05 15:40:26.235908 T [44570:70332874709720] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "/8 +2012-12-05 15:40:26.235950 D [44570:70332874709720] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 13 bytes +2012-12-05 15:40:26.236166 T [44570:70332874709720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 15:40:26.236176 D [44570:70332874709720] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 15:40:26.236241 T [44570:70332874709720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\xA0\x06\b" +2012-12-05 15:40:26.236247 D [44570:70332874709720] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 5 bytes +2012-12-05 15:40:26.238049 T [44570:70332874709720] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/fooH +2012-12-05 15:40:26.238207 D [44570:70332874709720] (0.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 30 bytes +2012-12-05 15:40:26.243559 T [44570:70332874709720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 15:40:26.243627 D [44570:70332874709720] (5.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 15:40:26.245538 T [44570:70332874709720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00" +2012-12-05 15:40:26.245581 D [44570:70332874709720] (1.9ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 2 bytes +2012-12-05 15:40:26.247090 T [44570:70332874709720] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007fef4c1e7bf0@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 15:40:26.248362 T [44570:70332874709720] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending --  +2012-12-05 15:40:26.248793 D [44570:70332874709720] (0.4ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 8 bytes +2012-12-05 15:40:26.249198 T [44570:70332874709720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 15:40:26.249253 D [44570:70332874709720] (0.4ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 15:40:26.249537 T [44570:70332874709720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xF5\x1A" +2012-12-05 15:40:26.249573 D [44570:70332874709720] (0.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 5 bytes +2012-12-05 15:40:26.250514 T [44570:70332874709720] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/fooH +2012-12-05 15:40:26.250639 D [44570:70332874709720] (0.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 30 bytes +2012-12-05 15:40:26.252036 T [44570:70332874709720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 15:40:26.252126 D [44570:70332874709720] (1.4ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 15:40:26.253892 T [44570:70332874709720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00" +2012-12-05 15:40:26.253938 D [44570:70332874709720] (1.8ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 2 bytes +2012-12-05 15:40:26.258647 T [44570:70332874709720] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007fef4c2b5c30@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 15:40:26.259773 T [44570:70332874709720] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "" /test/foo*value2H +2012-12-05 15:40:26.259919 D [44570:70332874709720] (0.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 38 bytes +2012-12-05 15:40:26.276916 T [44570:70332874709720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 15:40:26.276980 D [44570:70332874709720] (17.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 15:40:26.277639 T [44570:70332874709720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xF7\x1A" +2012-12-05 15:40:26.277702 D [44570:70332874709720] (0.6ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 5 bytes +2012-12-05 15:40:26.278009 T [44570:70332874709720] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/foo +2012-12-05 15:40:26.280405 D [44570:70332874709720] (2.4ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 19 bytes +2012-12-05 15:40:26.280782 T [44570:70332874709720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\r" +2012-12-05 15:40:26.280812 D [44570:70332874709720] (0.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 15:40:26.281070 T [44570:70332874709720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xF7\x1A2\x06value2" +2012-12-05 15:40:26.281077 D [44570:70332874709720] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 13 bytes +2012-12-05 15:40:26.282524 T [44570:70332874709720] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/fooH +2012-12-05 15:40:26.282718 D [44570:70332874709720] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 30 bytes +2012-12-05 15:40:26.284100 T [44570:70332874709720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 15:40:26.284140 D [44570:70332874709720] (1.4ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 15:40:26.287787 T [44570:70332874709720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00" +2012-12-05 15:40:26.287867 D [44570:70332874709720] (3.7ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 2 bytes +2012-12-05 15:40:26.288419 T [44570:70332874709720] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007fef4c2cd380@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 15:40:26.293651 T [44570:70332874709720] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- !" /test/foo*valueH +2012-12-05 15:40:26.293973 D [44570:70332874709720] (0.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 37 bytes +2012-12-05 15:40:26.295773 T [44570:70332874709720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 15:40:26.295813 D [44570:70332874709720] (1.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 15:40:26.299169 T [44570:70332874709720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xF9\x1A" +2012-12-05 15:40:26.299191 D [44570:70332874709720] (3.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 5 bytes +2012-12-05 15:40:26.299506 T [44570:70332874709720] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/foo +2012-12-05 15:40:26.299681 D [44570:70332874709720] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 19 bytes +2012-12-05 15:40:26.300212 T [44570:70332874709720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\f" +2012-12-05 15:40:26.300261 D [44570:70332874709720] (0.6ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 15:40:26.300390 T [44570:70332874709720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xF9\x1A2\x05value" +2012-12-05 15:40:26.300397 D [44570:70332874709720] (0.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 12 bytes +2012-12-05 15:40:26.302080 T [44570:70332874709720] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/fooH +2012-12-05 15:40:26.302329 D [44570:70332874709720] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 30 bytes +2012-12-05 15:40:26.304518 T [44570:70332874709720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 15:40:26.304534 D [44570:70332874709720] (2.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 15:40:26.304600 T [44570:70332874709720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00" +2012-12-05 15:40:26.304606 D [44570:70332874709720] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 2 bytes +2012-12-05 15:40:26.306421 T [44570:70332874709720] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:9999", :connect_retry_interval=>0.1, :connect_retry_count=>5, :read_timeout=>5, :connect_timeout=>3, :buffered=>false, :on_connect=>#<Proc:0x007fef4c468fa0@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 15:40:26.310956 W [44570:70332874709720] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 1 +2012-12-05 15:40:26.424036 W [44570:70332874709720] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 2 +2012-12-05 15:40:26.525229 W [44570:70332874709720] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 3 +2012-12-05 15:40:26.627838 W [44570:70332874709720] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 4 +2012-12-05 15:40:26.728736 W [44570:70332874709720] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 5 +2012-12-05 15:40:26.830228 E [44570:70332874709720] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Giving up after 5 retries +2012-12-05 15:40:26.830340 I [44570:70332874709720] (522.9ms) ResilientSocket::TCPClient ["localhost:9999"] -- Connecting to server localhost:9999 -- ResilientSocket::ConnectionFailure: After 5 connection attempts to host 'localhost:9999': Errno::ECONNREFUSED: Connection refused - connect(2) +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:578:in `rescue in block in connect_to_server' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:549:in `block in connect_to_server' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_info' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:542:in `connect_to_server' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:305:in `connect' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:233:in `initialize' /Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:36:in `new' /Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:36:in `initialize' -/Users/rmorrison/Sandbox/ruby_skynet/test/doozer_client_test.rb:22:in `new' -/Users/rmorrison/Sandbox/ruby_skynet/test/doozer_client_test.rb:22:in `block (4 levels) in <class:DoozerClientTest>' +/Users/rmorrison/Sandbox/ruby_skynet/test/doozer_client_test.rb:19:in `new' +/Users/rmorrison/Sandbox/ruby_skynet/test/doozer_client_test.rb:19:in `block (4 levels) in <class:DoozerClientTest>' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:330:in `assert_raises' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/assertions.rb:69:in `assert_raise' -/Users/rmorrison/Sandbox/ruby_skynet/test/doozer_client_test.rb:21:in `block (3 levels) in <class:DoozerClientTest>' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.0/lib/shoulda/context/context.rb:398:in `call' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.0/lib/shoulda/context/context.rb:398:in `block in create_test_from_should_hash' -/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:949:in `run' +/Users/rmorrison/Sandbox/ruby_skynet/test/doozer_client_test.rb:18:in `block (3 levels) in <class:DoozerClientTest>' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `block in create_test_from_should_hash' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/mocha-0.10.5/lib/mocha/integration/mini_test/version_230_to_262.rb:28:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/testcase.rb:17:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:787:in `block in _run_suite' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `map' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `_run_suite' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:565:in `block in _run_suites' @@ -2849,388 +8159,134 @@ /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:884:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:21:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:326:in `block (2 levels) in autorun' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:27:in `run_once' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:325:in `block in autorun' -2012-10-18 16:27:45.515233 D [1192:70332132317920] RubySkynet::Registry -- Doozer Connection Pool: Created connection #1 #<Thread:0x007feef386b5c0>(70332132317920) for Doozer Connection Pool -2012-10-18 16:27:45.515233 D [1192:70332132317920] RubySkynet::Registry -- Doozer Connection Pool: Created connection #1 #<Thread:0x007feef386b5c0>(70332132317920) for Doozer Connection Pool -2012-10-18 16:27:45.515328 T [1192:70332132317920] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007feef3a93c80@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -2012-10-18 16:27:45.515328 T [1192:70332132317920] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007feef3a93c80@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007feef3a93c80@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -2012-10-18 16:27:45.515837 D [1192:70332132317920] RubySkynet::Registry -- Doozer Connection Pool: Renewed connection old=70332132317920 new=#<RubySkynet::Doozer::Client:0x007feef3a93e60>(70332133449520) -2012-10-18 16:27:45.515837 D [1192:70332132317920] RubySkynet::Registry -- Doozer Connection Pool: Renewed connection old=70332132317920 new=#<RubySkynet::Doozer::Client:0x007feef3a93e60>(70332133449520) -2012-10-18 16:27:45.515882 D [1192:70332132317920] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007feef3a93e60>(70332133449520) self=connections=70332133449520 checked_out=70332133449520 with_map= -2012-10-18 16:27:45.515882 D [1192:70332132317920] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007feef3a93e60>(70332133449520) self=connections=70332133449520 checked_out=70332133449520 with_map= -2012-10-18 16:27:45.528568 T [1192:70332132317920] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "+/services/TestService/1/Test/127.0.0.1/2000*{"Config":{"UUID":"3978b371-15e9-40f8-9b7b-59ae88d8c7ec","Name":"TestService","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"127.0.0.1","Port":2000,"MaxPort":2999}},"Registered":true}H -2012-10-18 16:27:45.528568 T [1192:70332132317920] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "+/services/TestService/1/Test/127.0.0.1/2000*{"Config":{"UUID":"3978b371-15e9-40f8-9b7b-59ae88d8c7ec","Name":"TestService","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"127.0.0.1","Port":2000,"MaxPort":2999}},"Registered":true}H -- "+/services/TestService/1/Test/127.0.0.1/2000*{"Config":{"UUID":"3978b371-15e9-40f8-9b7b-59ae88d8c7ec","Name":"TestService","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"127.0.0.1","Port":2000,"MaxPort":2999}},"Registered":true}H -2012-10-18 16:27:45.529462 D [1192:70332140739760] SimpleServer -- Waiting for a client to connect -2012-10-18 16:27:45.529462 D [1192:70332140739760] SimpleServer -- Waiting for a client to connect -2012-10-18 16:27:45.529530 D [1192:70332132317920] (0.9ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 261 bytes -2012-10-18 16:27:45.529530 D [1192:70332132317920] (0.9ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 261 bytes -2012-10-18 16:27:45.533876 T [1192:70332132317920] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x06" -2012-10-18 16:27:45.533876 T [1192:70332132317920] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x06" -- "\x00\x00\x00\x06" -2012-10-18 16:27:45.533945 D [1192:70332132317920] (4.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:27:45.533945 D [1192:70332132317920] (4.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:27:45.534211 T [1192:70332132317920] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xF7\xD1\x03" -2012-10-18 16:27:45.534211 T [1192:70332132317920] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xF7\xD1\x03" -- "\b\x00\x18\xF7\xD1\x03" -2012-10-18 16:27:45.534223 D [1192:70332132317920] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 6 bytes -2012-10-18 16:27:45.534223 D [1192:70332132317920] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 6 bytes -2012-10-18 16:27:45.534354 D [1192:70332132317920] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007feef3a93e60>(70332133449520) self=connections=70332133449520 checked_out= with_map= -2012-10-18 16:27:45.534354 D [1192:70332132317920] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007feef3a93e60>(70332133449520) self=connections=70332133449520 checked_out= with_map= -2012-10-18 16:27:45.539229 D [1192:70332132317920] [508066416b693304a8000001] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007feef3a93e60>(70332133449520) self=connections=70332133449520 checked_out=70332133449520 with_map= -2012-10-18 16:27:45.539229 D [1192:70332132317920] [508066416b693304a8000001] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007feef3a93e60>(70332133449520) self=connections=70332133449520 checked_out=70332133449520 with_map= -2012-10-18 16:27:45.546244 T [1192:70332132317920] [508066416b693304a8000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  -2012-10-18 16:27:45.546244 T [1192:70332132317920] [508066416b693304a8000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  --  -2012-10-18 16:27:45.546477 D [1192:70332132317920] [508066416b693304a8000001] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 8 bytes -2012-10-18 16:27:45.546477 D [1192:70332132317920] [508066416b693304a8000001] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 8 bytes -2012-10-18 16:27:45.550907 T [1192:70332132317920] [508066416b693304a8000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x06" -2012-10-18 16:27:45.550907 T [1192:70332132317920] [508066416b693304a8000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x06" -- "\x00\x00\x00\x06" -2012-10-18 16:27:45.550938 D [1192:70332132317920] [508066416b693304a8000001] (4.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:27:45.550938 D [1192:70332132317920] [508066416b693304a8000001] (4.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:27:45.553855 T [1192:70332132317920] [508066416b693304a8000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xF7\xD1\x03" -2012-10-18 16:27:45.553855 T [1192:70332132317920] [508066416b693304a8000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xF7\xD1\x03" -- "\b\x00\x18\xF7\xD1\x03" -2012-10-18 16:27:45.553877 D [1192:70332132317920] [508066416b693304a8000001] (2.9ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 6 bytes -2012-10-18 16:27:45.553877 D [1192:70332132317920] [508066416b693304a8000001] (2.9ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 6 bytes -2012-10-18 16:27:45.554311 T [1192:70332132317920] [508066416b693304a8000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H -2012-10-18 16:27:45.554311 T [1192:70332132317920] [508066416b693304a8000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H --  "/services/*/*/*/*/*8H -2012-10-18 16:27:45.555093 D [1192:70332132317920] [508066416b693304a8000001] (0.8ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 35 bytes -2012-10-18 16:27:45.555093 D [1192:70332132317920] [508066416b693304a8000001] (0.8ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 35 bytes -2012-10-18 16:27:45.555511 T [1192:70332132317920] [508066416b693304a8000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\xFA" -2012-10-18 16:27:45.555511 T [1192:70332132317920] [508066416b693304a8000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\xFA" -- "\x00\x00\x00\xFA" -2012-10-18 16:27:45.555523 D [1192:70332132317920] [508066416b693304a8000001] (0.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:27:45.555523 D [1192:70332132317920] [508066416b693304a8000001] (0.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:27:45.555600 T [1192:70332132317920] [508066416b693304a8000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xF7\xD1\x03*+/services/TestService/1/Test/127.0.0.1/20002\xC2\x01{\"Config\":{\"UUID\":\"3978b371-15e9-40f8-9b7b-59ae88d8c7ec\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"127.0.0.1\",\"Port\":2000,\"MaxPort\":2999}},\"Registered\":true}" -2012-10-18 16:27:45.555600 T [1192:70332132317920] [508066416b693304a8000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xF7\xD1\x03*+/services/TestService/1/Test/127.0.0.1/20002\xC2\x01{\"Config\":{\"UUID\":\"3978b371-15e9-40f8-9b7b-59ae88d8c7ec\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"127.0.0.1\",\"Port\":2000,\"MaxPort\":2999}},\"Registered\":true}" -- "\b\x00\x10\x04\x18\xF7\xD1\x03*+/services/TestService/1/Test/127.0.0.1/20002\xC2\x01{\"Config\":{\"UUID\":\"3978b371-15e9-40f8-9b7b-59ae88d8c7ec\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"127.0.0.1\",\"Port\":2000,\"MaxPort\":2999}},\"Registered\":true}" -2012-10-18 16:27:45.555610 D [1192:70332132317920] [508066416b693304a8000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 250 bytes -2012-10-18 16:27:45.555610 D [1192:70332132317920] [508066416b693304a8000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 250 bytes -2012-10-18 16:27:45.555938 T [1192:70332132317920] [508066416b693304a8000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H -2012-10-18 16:27:45.555938 T [1192:70332132317920] [508066416b693304a8000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H --  "/services/*/*/*/*/*8H -2012-10-18 16:27:45.556010 D [1192:70332132317920] [508066416b693304a8000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 35 bytes -2012-10-18 16:27:45.556010 D [1192:70332132317920] [508066416b693304a8000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 35 bytes -2012-10-18 16:27:45.557922 T [1192:70332132317920] [508066416b693304a8000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01Q" -2012-10-18 16:27:45.557922 T [1192:70332132317920] [508066416b693304a8000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01Q" -- "\x00\x00\x01Q" -2012-10-18 16:27:45.557938 D [1192:70332132317920] [508066416b693304a8000001] (1.9ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:27:45.557938 D [1192:70332132317920] [508066416b693304a8000001] (1.9ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:27:45.558054 T [1192:70332132317920] [508066416b693304a8000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xD5\xC8\x03*6/services/TutorialService/1/Development/127.0.0.1/90002\x8E\x02{\"Config\":{\"UUID\":\"aa58fa11-6ab7-4b53-aad9-3d657120f2b8\",\"Name\":\"TutorialService\",\"Version\":\"1\",\"Region\":\"Development\",\"ServiceAddr\":{\"IPAddress\":\"127.0.0.1\",\"Port\":9000,\"MaxPort\":9999},\"AdminAddr\":{\"IPAddress\":\"127.0.0.1\",\"Port\":9001,\"MaxPort\":9999}},\"Registered\":true}" -2012-10-18 16:27:45.558054 T [1192:70332132317920] [508066416b693304a8000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xD5\xC8\x03*6/services/TutorialService/1/Development/127.0.0.1/90002\x8E\x02{\"Config\":{\"UUID\":\"aa58fa11-6ab7-4b53-aad9-3d657120f2b8\",\"Name\":\"TutorialService\",\"Version\":\"1\",\"Region\":\"Development\",\"ServiceAddr\":{\"IPAddress\":\"127.0.0.1\",\"Port\":9000,\"MaxPort\":9999},\"AdminAddr\":{\"IPAddress\":\"127.0.0.1\",\"Port\":9001,\"MaxPort\":9999}},\"Registered\":true}" -- "\b\x00\x10\x04\x18\xD5\xC8\x03*6/services/TutorialService/1/Development/127.0.0.1/90002\x8E\x02{\"Config\":{\"UUID\":\"aa58fa11-6ab7-4b53-aad9-3d657120f2b8\",\"Name\":\"TutorialService\",\"Version\":\"1\",\"Region\":\"Development\",\"ServiceAddr\":{\"IPAddress\":\"127.0.0.1\",\"Port\":9000,\"MaxPort\":9999},\"AdminAddr\":{\"IPAddress\":\"127.0.0.1\",\"Port\":9001,\"MaxPort\":9999}},\"Registered\":true}" -2012-10-18 16:27:45.558065 D [1192:70332132317920] [508066416b693304a8000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 337 bytes -2012-10-18 16:27:45.558065 D [1192:70332132317920] [508066416b693304a8000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 337 bytes -2012-10-18 16:27:45.558363 T [1192:70332132317920] [508066416b693304a8000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H -2012-10-18 16:27:45.558363 T [1192:70332132317920] [508066416b693304a8000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H --  "/services/*/*/*/*/*8H -2012-10-18 16:27:45.558411 D [1192:70332132317920] [508066416b693304a8000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 35 bytes -2012-10-18 16:27:45.558411 D [1192:70332132317920] [508066416b693304a8000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 35 bytes -2012-10-18 16:27:45.559322 T [1192:70332132317920] [508066416b693304a8000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" -2012-10-18 16:27:45.559322 T [1192:70332132317920] [508066416b693304a8000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" -- "\x00\x00\x00\x05" -2012-10-18 16:27:45.559336 D [1192:70332132317920] [508066416b693304a8000001] (0.9ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:27:45.559336 D [1192:70332132317920] [508066416b693304a8000001] (0.9ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:27:45.559412 T [1192:70332132317920] [508066416b693304a8000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\xA0\x06\b" -2012-10-18 16:27:45.559412 T [1192:70332132317920] [508066416b693304a8000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\xA0\x06\b" -- "\b\x00\xA0\x06\b" -2012-10-18 16:27:45.559423 D [1192:70332132317920] [508066416b693304a8000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes -2012-10-18 16:27:45.559423 D [1192:70332132317920] [508066416b693304a8000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes -2012-10-18 16:27:45.559618 D [1192:70332132317920] [508066416b693304a8000001] RubySkynet::Registry -- #start_monitoring Add Service: TestService/1/Test => 127.0.0.1:2000 -2012-10-18 16:27:45.559618 D [1192:70332132317920] [508066416b693304a8000001] RubySkynet::Registry -- #start_monitoring Add Service: TestService/1/Test => 127.0.0.1:2000 -2012-10-18 16:27:45.559686 D [1192:70332132317920] [508066416b693304a8000001] RubySkynet::Registry -- #start_monitoring Add Service: TutorialService/1/Development => 127.0.0.1:9000 -2012-10-18 16:27:45.559686 D [1192:70332132317920] [508066416b693304a8000001] RubySkynet::Registry -- #start_monitoring Add Service: TutorialService/1/Development => 127.0.0.1:9000 -2012-10-18 16:27:45.559733 D [1192:70332132317920] [508066416b693304a8000001] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007feef3a93e60>(70332133449520) self=connections=70332133449520 checked_out= with_map= -2012-10-18 16:27:45.559733 D [1192:70332132317920] [508066416b693304a8000001] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007feef3a93e60>(70332133449520) self=connections=70332133449520 checked_out= with_map= -2012-10-18 16:27:45.560122 I [1192:70332141494640] RubySkynet::Registry -- Start monitoring /services/*/*/*/*/* -2012-10-18 16:27:45.560122 I [1192:70332141494640] RubySkynet::Registry -- Start monitoring /services/*/*/*/*/* -2012-10-18 16:27:45.560163 T [1192:70332141494640] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007feef49eae68@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -2012-10-18 16:27:45.560163 T [1192:70332141494640] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007feef49eae68@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007feef49eae68@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -2012-10-18 16:27:45.560982 T [1192:70332141494640] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H -2012-10-18 16:27:45.560982 T [1192:70332141494640] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H -- "/services/*/*/*/*/*H -2012-10-18 16:27:45.561030 D [1192:70332141494640] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 33 bytes -2012-10-18 16:27:45.561030 D [1192:70332141494640] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 33 bytes -2012-10-18 16:27:45.561356 D [1192:70332132317920] [508066416b693304a8000001] RubySkynet::Connection: 127.0.0.1:2000 -- Waiting for Service Handshake -2012-10-18 16:27:45.561356 D [1192:70332132317920] [508066416b693304a8000001] RubySkynet::Connection: 127.0.0.1:2000 -- Waiting for Service Handshake -2012-10-18 16:27:45.561586 D [1192:70332140739760] SimpleServer -- Client connected, waiting for data from client -2012-10-18 16:27:45.561586 D [1192:70332140739760] SimpleServer -- Client connected, waiting for data from client -2012-10-18 16:27:45.562061 T [1192:70332132317920] [508066416b693304a8000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "$\x00\x00\x00" -2012-10-18 16:27:45.562061 T [1192:70332132317920] [508066416b693304a8000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "$\x00\x00\x00" -- "$\x00\x00\x00" -2012-10-18 16:27:45.562074 D [1192:70332132317920] [508066416b693304a8000001] (0.7ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes -2012-10-18 16:27:45.562074 D [1192:70332132317920] [508066416b693304a8000001] (0.7ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes -2012-10-18 16:27:45.562134 T [1192:70332132317920] [508066416b693304a8000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "\bregistered\x00\x01\x02clientid\x00\x04\x00\x00\x00123\x00\x00" -2012-10-18 16:27:45.562134 T [1192:70332132317920] [508066416b693304a8000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "\bregistered\x00\x01\x02clientid\x00\x04\x00\x00\x00123\x00\x00" -- "\bregistered\x00\x01\x02clientid\x00\x04\x00\x00\x00123\x00\x00" -2012-10-18 16:27:45.562145 D [1192:70332132317920] [508066416b693304a8000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 32 bytes -2012-10-18 16:27:45.562145 D [1192:70332132317920] [508066416b693304a8000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 32 bytes -2012-10-18 16:27:45.562200 T [1192:70332132317920] [508066416b693304a8000001] RubySkynet::Connection: 127.0.0.1:2000 -- Service Handshake -- {"registered"=>true, "clientid"=>"123"} -2012-10-18 16:27:45.562200 T [1192:70332132317920] [508066416b693304a8000001] RubySkynet::Connection: 127.0.0.1:2000 -- Service Handshake -- {"registered"=>true, "clientid"=>"123"} -- {"registered"=>true, "clientid"=>"123"} -2012-10-18 16:27:45.562216 D [1192:70332132317920] [508066416b693304a8000001] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Client Handshake -2012-10-18 16:27:45.562216 D [1192:70332132317920] [508066416b693304a8000001] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Client Handshake -2012-10-18 16:27:45.562228 T [1192:70332132317920] [508066416b693304a8000001] RubySkynet::Connection: 127.0.0.1:2000 -- Client Handshake -- {"clientid"=>"123"} -2012-10-18 16:27:45.562228 T [1192:70332132317920] [508066416b693304a8000001] RubySkynet::Connection: 127.0.0.1:2000 -- Client Handshake -- {"clientid"=>"123"} -- {"clientid"=>"123"} -2012-10-18 16:27:45.562248 T [1192:70332132317920] [508066416b693304a8000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- clientid123 -2012-10-18 16:27:45.562248 T [1192:70332132317920] [508066416b693304a8000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- clientid123 -- clientid123 -2012-10-18 16:27:45.562299 D [1192:70332132317920] [508066416b693304a8000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 23 bytes -2012-10-18 16:27:45.562299 D [1192:70332132317920] [508066416b693304a8000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 23 bytes -2012-10-18 16:27:45.562358 D [1192:70332132317920] [508066416b693304a8000001] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Header -2012-10-18 16:27:45.562358 D [1192:70332132317920] [508066416b693304a8000001] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Header -2012-10-18 16:27:45.562376 T [1192:70332132317920] [508066416b693304a8000001] RubySkynet::Connection: 127.0.0.1:2000 -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} -2012-10-18 16:27:45.562376 T [1192:70332132317920] [508066416b693304a8000001] RubySkynet::Connection: 127.0.0.1:2000 -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} -- {"servicemethod"=>"TestService.Forward", "seq"=>0} -2012-10-18 16:27:45.562399 T [1192:70332132317920] [508066416b693304a8000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- 5servicemethodTestService.Forwardseq -2012-10-18 16:27:45.562399 T [1192:70332132317920] [508066416b693304a8000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- 5servicemethodTestService.Forwardseq -- 5servicemethodTestService.Forwardseq -2012-10-18 16:27:45.562446 D [1192:70332132317920] [508066416b693304a8000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 53 bytes -2012-10-18 16:27:45.562446 D [1192:70332132317920] [508066416b693304a8000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 53 bytes -2012-10-18 16:27:45.562482 D [1192:70332132317920] [508066416b693304a8000001] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Request -2012-10-18 16:27:45.562482 D [1192:70332132317920] [508066416b693304a8000001] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Request -2012-10-18 16:27:45.562493 T [1192:70332132317920] [508066416b693304a8000001] RubySkynet::Connection: 127.0.0.1:2000 -- Request -- {"clientid"=>"123", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"test1", "requestinfo"=>{"requestid"=>"508066416b693304a8000001", "retrycount"=>0, "originaddress"=>""}} -2012-10-18 16:27:45.562493 T [1192:70332132317920] [508066416b693304a8000001] RubySkynet::Connection: 127.0.0.1:2000 -- Request -- {"clientid"=>"123", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"test1", "requestinfo"=>{"requestid"=>"508066416b693304a8000001", "retrycount"=>0, "originaddress"=>""}} -- {"clientid"=>"123", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"test1", "requestinfo"=>{"requestid"=>"508066416b693304a8000001", "retrycount"=>0, "originaddress"=>""}} -2012-10-18 16:27:45.562502 T [1192:70332132317920] [508066416b693304a8000001] RubySkynet::Connection: 127.0.0.1:2000 -- Parameters: -- {"some"=>"parameters"} -2012-10-18 16:27:45.562502 T [1192:70332132317920] [508066416b693304a8000001] RubySkynet::Connection: 127.0.0.1:2000 -- Parameters: -- {"some"=>"parameters"} -- {"some"=>"parameters"} -2012-10-18 16:27:45.562521 T [1192:70332132317920] [508066416b693304a8000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- clientid123insome parametersmethodtest1requestinfoQrequestid508066416b693304a8000001retrycountoriginaddress -2012-10-18 16:27:45.562521 T [1192:70332132317920] [508066416b693304a8000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- clientid123insome parametersmethodtest1requestinfoQrequestid508066416b693304a8000001retrycountoriginaddress -- clientid123insome parametersmethodtest1requestinfoQrequestid508066416b693304a8000001retrycountoriginaddress -2012-10-18 16:27:45.562573 D [1192:70332132317920] [508066416b693304a8000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 170 bytes -2012-10-18 16:27:45.562573 D [1192:70332132317920] [508066416b693304a8000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 170 bytes -2012-10-18 16:27:45.562590 D [1192:70332132317920] [508066416b693304a8000001] RubySkynet::Connection: 127.0.0.1:2000 -- Reading header from server -2012-10-18 16:27:45.562590 D [1192:70332132317920] [508066416b693304a8000001] RubySkynet::Connection: 127.0.0.1:2000 -- Reading header from server -2012-10-18 16:27:45.562865 D [1192:70332140739760] SimpleServer -- +2012-12-05 15:40:26.832211 D [44570:70332879295880] SimpleServer -- Waiting for a client to connect +2012-12-05 15:40:26.837349 D [44570:70332874709720] RubySkynet::Registry -- Doozer Connection Pool: Created connection #1 #<Thread:0x007fef4c06b5b0>(70332874709720) for Doozer Connection Pool +2012-12-05 15:40:26.837411 T [44570:70332874709720] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007fef4ca15980@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 15:40:26.837881 D [44570:70332874709720] RubySkynet::Registry -- Doozer Connection Pool: Renewed connection old=70332874709720 new=#<RubySkynet::Doozer::Client:0x007fef4ca16060>(70332879777840) +2012-12-05 15:40:26.837913 D [44570:70332874709720] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fef4ca16060>(70332879777840) self=connections=70332879777840 checked_out=70332879777840 with_map= +2012-12-05 15:40:26.850058 T [44570:70332874709720] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "+/services/TestService/1/Test/127.0.0.1/2000*{"Config":{"UUID":"3978b371-15e9-40f8-9b7b-59ae88d8c7ec","Name":"TestService","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"127.0.0.1","Port":2000,"MaxPort":2999}},"Registered":true}H +2012-12-05 15:40:26.850148 D [44570:70332874709720] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 261 bytes +2012-12-05 15:40:26.857711 T [44570:70332874709720] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 15:40:26.857793 D [44570:70332874709720] (7.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:40:26.857905 T [44570:70332874709720] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xFB\x1A" +2012-12-05 15:40:26.857912 D [44570:70332874709720] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 15:40:26.858051 D [44570:70332874709720] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fef4ca16060>(70332879777840) self=connections=70332879777840 checked_out= with_map= +2012-12-05 15:40:26.860581 D [44570:70332874709720] [50bfb13a6b6933ae1a000001] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fef4ca16060>(70332879777840) self=connections=70332879777840 checked_out=70332879777840 with_map= +2012-12-05 15:40:26.860817 T [44570:70332874709720] [50bfb13a6b6933ae1a000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  +2012-12-05 15:40:26.860964 D [44570:70332874709720] [50bfb13a6b6933ae1a000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 8 bytes +2012-12-05 15:40:26.865167 T [44570:70332874709720] [50bfb13a6b6933ae1a000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 15:40:26.865194 D [44570:70332874709720] [50bfb13a6b6933ae1a000001] (4.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:40:26.865304 T [44570:70332874709720] [50bfb13a6b6933ae1a000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xFB\x1A" +2012-12-05 15:40:26.865310 D [44570:70332874709720] [50bfb13a6b6933ae1a000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 15:40:26.865757 T [44570:70332874709720] [50bfb13a6b6933ae1a000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H +2012-12-05 15:40:26.865804 D [44570:70332874709720] [50bfb13a6b6933ae1a000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-05 15:40:26.866938 T [44570:70332874709720] [50bfb13a6b6933ae1a000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\xF9" +2012-12-05 15:40:26.866950 D [44570:70332874709720] [50bfb13a6b6933ae1a000001] (1.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:40:26.867025 T [44570:70332874709720] [50bfb13a6b6933ae1a000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xFB\x1A*+/services/TestService/1/Test/127.0.0.1/20002\xC2\x01{\"Config\":{\"UUID\":\"3978b371-15e9-40f8-9b7b-59ae88d8c7ec\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"127.0.0.1\",\"Port\":2000,\"MaxPort\":2999}},\"Registered\":true}" +2012-12-05 15:40:26.867032 D [44570:70332874709720] [50bfb13a6b6933ae1a000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 249 bytes +2012-12-05 15:40:26.867327 T [44570:70332874709720] [50bfb13a6b6933ae1a000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H +2012-12-05 15:40:26.867395 D [44570:70332874709720] [50bfb13a6b6933ae1a000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-05 15:40:26.868670 T [44570:70332874709720] [50bfb13a6b6933ae1a000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 15:40:26.868684 D [44570:70332874709720] [50bfb13a6b6933ae1a000001] (1.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:40:26.868746 T [44570:70332874709720] [50bfb13a6b6933ae1a000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\xA0\x06\b" +2012-12-05 15:40:26.868752 D [44570:70332874709720] [50bfb13a6b6933ae1a000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 15:40:26.868946 D [44570:70332874709720] [50bfb13a6b6933ae1a000001] RubySkynet::Registry -- #start_monitoring Add Service: TestService/1/Test => 127.0.0.1:2000 +2012-12-05 15:40:26.868996 D [44570:70332874709720] [50bfb13a6b6933ae1a000001] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fef4ca16060>(70332879777840) self=connections=70332879777840 checked_out= with_map= +2012-12-05 15:40:26.869804 D [44570:70332874709720] [50bfb13a6b6933ae1a000001] RubySkynet::Connection: 127.0.0.1:2000 -- Waiting for Service Handshake +2012-12-05 15:40:26.871157 I [44570:70332875743620] RubySkynet::Registry -- Start monitoring /services/*/*/*/*/* +2012-12-05 15:40:26.871220 T [44570:70332875743620] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007fef4cd04010@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 15:40:26.874128 T [44570:70332875743620] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-05 15:40:26.875043 D [44570:70332879295880] SimpleServer -- Waiting for a client to connect +2012-12-05 15:40:26.875139 D [44570:70332879295880] SimpleServer -- Client connected, waiting for data from client +2012-12-05 15:40:26.877930 D [44570:70332875743620] (3.8ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 15:40:26.878578 T [44570:70332874709720] [50bfb13a6b6933ae1a000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "$\x00\x00\x00" +2012-12-05 15:40:26.878591 D [44570:70332874709720] [50bfb13a6b6933ae1a000001] (8.1ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes +2012-12-05 15:40:26.878643 T [44570:70332874709720] [50bfb13a6b6933ae1a000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "\bregistered\x00\x01\x02clientid\x00\x04\x00\x00\x00123\x00\x00" +2012-12-05 15:40:26.878649 D [44570:70332874709720] [50bfb13a6b6933ae1a000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 32 bytes +2012-12-05 15:40:26.878709 T [44570:70332874709720] [50bfb13a6b6933ae1a000001] RubySkynet::Connection: 127.0.0.1:2000 -- Service Handshake -- {"registered"=>true, "clientid"=>"123"} +2012-12-05 15:40:26.878723 D [44570:70332874709720] [50bfb13a6b6933ae1a000001] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Client Handshake +2012-12-05 15:40:26.878729 T [44570:70332874709720] [50bfb13a6b6933ae1a000001] RubySkynet::Connection: 127.0.0.1:2000 -- Client Handshake -- {"clientid"=>"123"} +2012-12-05 15:40:26.878749 T [44570:70332874709720] [50bfb13a6b6933ae1a000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- clientid123 +2012-12-05 15:40:26.878830 D [44570:70332874709720] [50bfb13a6b6933ae1a000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 23 bytes +2012-12-05 15:40:26.878906 D [44570:70332874709720] [50bfb13a6b6933ae1a000001] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Header +2012-12-05 15:40:26.878917 T [44570:70332874709720] [50bfb13a6b6933ae1a000001] RubySkynet::Connection: 127.0.0.1:2000 -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 15:40:26.878940 T [44570:70332874709720] [50bfb13a6b6933ae1a000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- 5servicemethodTestService.Forwardseq +2012-12-05 15:40:26.879003 D [44570:70332874709720] [50bfb13a6b6933ae1a000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 53 bytes +2012-12-05 15:40:26.879038 D [44570:70332874709720] [50bfb13a6b6933ae1a000001] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Request +2012-12-05 15:40:26.879045 T [44570:70332874709720] [50bfb13a6b6933ae1a000001] RubySkynet::Connection: 127.0.0.1:2000 -- Request -- {"clientid"=>"123", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"test1", "requestinfo"=>{"requestid"=>"50bfb13a6b6933ae1a000001", "retrycount"=>0, "originaddress"=>""}} +2012-12-05 15:40:26.879050 T [44570:70332874709720] [50bfb13a6b6933ae1a000001] RubySkynet::Connection: 127.0.0.1:2000 -- Parameters: -- {"some"=>"parameters"} +2012-12-05 15:40:26.879067 T [44570:70332874709720] [50bfb13a6b6933ae1a000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- clientid123insome parametersmethodtest1requestinfoQrequestid50bfb13a6b6933ae1a000001retrycountoriginaddress +2012-12-05 15:40:26.879143 D [44570:70332874709720] [50bfb13a6b6933ae1a000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 170 bytes +2012-12-05 15:40:26.879157 D [44570:70332874709720] [50bfb13a6b6933ae1a000001] RubySkynet::Connection: 127.0.0.1:2000 -- Reading header from server +2012-12-05 15:40:26.881348 D [44570:70332879295880] SimpleServer -- ****************** -2012-10-18 16:27:45.562865 D [1192:70332140739760] SimpleServer -- -****************** -2012-10-18 16:27:45.562887 D [1192:70332140739760] SimpleServer -- Received Request -2012-10-18 16:27:45.562887 D [1192:70332140739760] SimpleServer -- Received Request -2012-10-18 16:27:45.562903 T [1192:70332140739760] SimpleServer -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} -2012-10-18 16:27:45.562903 T [1192:70332140739760] SimpleServer -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} -- {"servicemethod"=>"TestService.Forward", "seq"=>0} -2012-10-18 16:27:45.563376 T [1192:70332140739760] SimpleServer -- Request -- {"clientid"=>"123", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"test1", "requestinfo"=>{"requestid"=>"508066416b693304a8000001", "retrycount"=>0, "originaddress"=>""}} -2012-10-18 16:27:45.563376 T [1192:70332140739760] SimpleServer -- Request -- {"clientid"=>"123", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"test1", "requestinfo"=>{"requestid"=>"508066416b693304a8000001", "retrycount"=>0, "originaddress"=>""}} -- {"clientid"=>"123", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"test1", "requestinfo"=>{"requestid"=>"508066416b693304a8000001", "retrycount"=>0, "originaddress"=>""}} -2012-10-18 16:27:45.563405 D [1192:70332140739760] SimpleServer -- Sending Header -2012-10-18 16:27:45.563405 D [1192:70332140739760] SimpleServer -- Sending Header -2012-10-18 16:27:45.563463 D [1192:70332140739760] SimpleServer -- Sending Reply -2012-10-18 16:27:45.563463 D [1192:70332140739760] SimpleServer -- Sending Reply -2012-10-18 16:27:45.563475 T [1192:70332140739760] SimpleServer -- Reply -- {"result"=>"test1"} -2012-10-18 16:27:45.563475 T [1192:70332140739760] SimpleServer -- Reply -- {"result"=>"test1"} -- {"result"=>"test1"} -2012-10-18 16:27:45.563563 T [1192:70332132317920] [508066416b693304a8000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "5\x00\x00\x00" -2012-10-18 16:27:45.563563 T [1192:70332132317920] [508066416b693304a8000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "5\x00\x00\x00" -- "5\x00\x00\x00" -2012-10-18 16:27:45.563574 D [1192:70332132317920] [508066416b693304a8000001] (1.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes -2012-10-18 16:27:45.563574 D [1192:70332132317920] [508066416b693304a8000001] (1.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes -2012-10-18 16:27:45.563689 T [1192:70332132317920] [508066416b693304a8000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "\x02servicemethod\x00\x14\x00\x00\x00TestService.Forward\x00\x10seq\x00\x00\x00\x00\x00\x00" -2012-10-18 16:27:45.563689 T [1192:70332132317920] [508066416b693304a8000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "\x02servicemethod\x00\x14\x00\x00\x00TestService.Forward\x00\x10seq\x00\x00\x00\x00\x00\x00" -- "\x02servicemethod\x00\x14\x00\x00\x00TestService.Forward\x00\x10seq\x00\x00\x00\x00\x00\x00" -2012-10-18 16:27:45.563701 D [1192:70332132317920] [508066416b693304a8000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 49 bytes -2012-10-18 16:27:45.563701 D [1192:70332132317920] [508066416b693304a8000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 49 bytes -2012-10-18 16:27:45.563745 D [1192:70332132317920] [508066416b693304a8000001] RubySkynet::Connection: 127.0.0.1:2000 -- Response Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} -2012-10-18 16:27:45.563745 D [1192:70332132317920] [508066416b693304a8000001] RubySkynet::Connection: 127.0.0.1:2000 -- Response Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} -- {"servicemethod"=>"TestService.Forward", "seq"=>0} -2012-10-18 16:27:45.563755 D [1192:70332132317920] [508066416b693304a8000001] RubySkynet::Connection: 127.0.0.1:2000 -- Reading response from server -2012-10-18 16:27:45.563755 D [1192:70332132317920] [508066416b693304a8000001] RubySkynet::Connection: 127.0.0.1:2000 -- Reading response from server -2012-10-18 16:27:45.563799 T [1192:70332132317920] [508066416b693304a8000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "&\x00\x00\x00" -2012-10-18 16:27:45.563799 T [1192:70332132317920] [508066416b693304a8000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "&\x00\x00\x00" -- "&\x00\x00\x00" -2012-10-18 16:27:45.563809 D [1192:70332132317920] [508066416b693304a8000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes -2012-10-18 16:27:45.563809 D [1192:70332132317920] [508066416b693304a8000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes -2012-10-18 16:27:45.563857 T [1192:70332132317920] [508066416b693304a8000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "\x02out\x00\x18\x00\x00\x00\x17\x00\x00\x00\x02result\x00\x06\x00\x00\x00test1\x00\x00\x00\x00" -2012-10-18 16:27:45.563857 T [1192:70332132317920] [508066416b693304a8000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "\x02out\x00\x18\x00\x00\x00\x17\x00\x00\x00\x02result\x00\x06\x00\x00\x00test1\x00\x00\x00\x00" -- "\x02out\x00\x18\x00\x00\x00\x17\x00\x00\x00\x02result\x00\x06\x00\x00\x00test1\x00\x00\x00\x00" -2012-10-18 16:27:45.563867 D [1192:70332132317920] [508066416b693304a8000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 34 bytes -2012-10-18 16:27:45.563867 D [1192:70332132317920] [508066416b693304a8000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 34 bytes -2012-10-18 16:27:45.563896 T [1192:70332132317920] [508066416b693304a8000001] RubySkynet::Connection: 127.0.0.1:2000 -- Response -- {"out"=>"\x17\x00\x00\x00\x02result\x00\x06\x00\x00\x00test1\x00\x00"} -2012-10-18 16:27:45.563896 T [1192:70332132317920] [508066416b693304a8000001] RubySkynet::Connection: 127.0.0.1:2000 -- Response -- {"out"=>"\x17\x00\x00\x00\x02result\x00\x06\x00\x00\x00test1\x00\x00"} -- {"out"=>"\x17\x00\x00\x00\x02result\x00\x06\x00\x00\x00test1\x00\x00"} -2012-10-18 16:27:45.563921 T [1192:70332132317920] [508066416b693304a8000001] RubySkynet::Connection: 127.0.0.1:2000 -- Return Value -- {"result"=>"test1"} -2012-10-18 16:27:45.563921 T [1192:70332132317920] [508066416b693304a8000001] RubySkynet::Connection: 127.0.0.1:2000 -- Return Value -- {"result"=>"test1"} -- {"result"=>"test1"} -2012-10-18 16:27:45.563942 I [1192:70332132317920] [508066416b693304a8000001] (29.4ms) RubySkynet::Client: TestService/1/Test -- Called Skynet Service: TestService.test1 -2012-10-18 16:27:45.563942 I [1192:70332132317920] [508066416b693304a8000001] (29.4ms) RubySkynet::Client: TestService/1/Test -- Called Skynet Service: TestService.test1 -2012-10-18 16:27:45.564356 D [1192:70332132317920] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007feef3a93e60>(70332133449520) self=connections=70332133449520 checked_out=70332133449520 with_map= -2012-10-18 16:27:45.564356 D [1192:70332132317920] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007feef3a93e60>(70332133449520) self=connections=70332133449520 checked_out=70332133449520 with_map= -2012-10-18 16:27:45.564654 T [1192:70332132317920] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- <"+/services/TestService/1/Test/127.0.0.1/2000H -2012-10-18 16:27:45.564654 T [1192:70332132317920] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- <"+/services/TestService/1/Test/127.0.0.1/2000H -- <"+/services/TestService/1/Test/127.0.0.1/2000H -2012-10-18 16:27:45.564735 D [1192:70332132317920] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 64 bytes -2012-10-18 16:27:45.564735 D [1192:70332132317920] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 64 bytes -2012-10-18 16:27:45.588934 T [1192:70332141494640] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x007" -2012-10-18 16:27:45.588934 T [1192:70332141494640] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x007" -- "\x00\x00\x007" -2012-10-18 16:27:45.588955 D [1192:70332141494640] (27.9ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:27:45.588955 D [1192:70332141494640] (27.9ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:27:45.589073 T [1192:70332141494640] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\b\x18\xF8\xD1\x03*+/services/TestService/1/Test/127.0.0.1/20002\x00" -2012-10-18 16:27:45.589073 T [1192:70332141494640] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\b\x18\xF8\xD1\x03*+/services/TestService/1/Test/127.0.0.1/20002\x00" -- "\b\x00\x10\b\x18\xF8\xD1\x03*+/services/TestService/1/Test/127.0.0.1/20002\x00" -2012-10-18 16:27:45.589084 D [1192:70332141494640] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 55 bytes -2012-10-18 16:27:45.589084 D [1192:70332141494640] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 55 bytes -2012-10-18 16:27:45.589286 D [1192:70332141494640] RubySkynet::Registry -- #monitor Service stopped, remove: TestService/1/Test => 127.0.0.1:2000 -2012-10-18 16:27:45.589286 D [1192:70332141494640] RubySkynet::Registry -- #monitor Service stopped, remove: TestService/1/Test => 127.0.0.1:2000 -2012-10-18 16:27:45.589320 I [1192:70332141494640] RubySkynet::Registry -- Calling callback for server: 127.0.0.1:2000 -2012-10-18 16:27:45.589320 I [1192:70332141494640] RubySkynet::Registry -- Calling callback for server: 127.0.0.1:2000 -2012-10-18 16:27:45.589469 D [1192:70332141494640] RubySkynet::Connection -- Connection pool for server:127.0.0.1:2000 has been released -2012-10-18 16:27:45.589469 D [1192:70332141494640] RubySkynet::Connection -- Connection pool for server:127.0.0.1:2000 has been released -2012-10-18 16:27:45.589483 D [1192:70332141494640] RubySkynet::Registry -- Updated registry -- {"TutorialService/1/Development"=>["127.0.0.1:9000"]} -2012-10-18 16:27:45.589483 D [1192:70332141494640] RubySkynet::Registry -- Updated registry -- {"TutorialService/1/Development"=>["127.0.0.1:9000"]} -- {"TutorialService/1/Development"=>["127.0.0.1:9000"]} -2012-10-18 16:27:45.589828 T [1192:70332141494640] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H -2012-10-18 16:27:45.589828 T [1192:70332141494640] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H -- "/services/*/*/*/*/*H -2012-10-18 16:27:45.590930 D [1192:70332141494640] (1.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 33 bytes -2012-10-18 16:27:45.590930 D [1192:70332141494640] (1.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 33 bytes -2012-10-18 16:27:45.592665 T [1192:70332132317920] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x02" -2012-10-18 16:27:45.592665 T [1192:70332132317920] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x02" -- "\x00\x00\x00\x02" -2012-10-18 16:27:45.592682 D [1192:70332132317920] (27.9ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:27:45.592682 D [1192:70332132317920] (27.9ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:27:45.592760 T [1192:70332132317920] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00" -2012-10-18 16:27:45.592760 T [1192:70332132317920] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00" -- "\b\x00" -2012-10-18 16:27:45.592770 D [1192:70332132317920] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 2 bytes -2012-10-18 16:27:45.592770 D [1192:70332132317920] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 2 bytes -2012-10-18 16:27:45.592870 D [1192:70332132317920] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007feef3a93e60>(70332133449520) self=connections=70332133449520 checked_out= with_map= -2012-10-18 16:27:45.592870 D [1192:70332132317920] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007feef3a93e60>(70332133449520) self=connections=70332133449520 checked_out= with_map= -2012-10-18 16:27:45.593301 D [1192:70332132317920] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007feef3a93e60>(70332133449520) self=connections=70332133449520 checked_out=70332133449520 with_map= -2012-10-18 16:27:45.593301 D [1192:70332132317920] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007feef3a93e60>(70332133449520) self=connections=70332133449520 checked_out=70332133449520 with_map= -2012-10-18 16:27:45.593757 T [1192:70332132317920] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "+/services/TestService/1/Test/127.0.0.1/2000*{"Config":{"UUID":"3978b371-15e9-40f8-9b7b-59ae88d8c7ec","Name":"TestService","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"127.0.0.1","Port":2000,"MaxPort":2999}},"Registered":true}H -2012-10-18 16:27:45.593757 T [1192:70332132317920] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "+/services/TestService/1/Test/127.0.0.1/2000*{"Config":{"UUID":"3978b371-15e9-40f8-9b7b-59ae88d8c7ec","Name":"TestService","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"127.0.0.1","Port":2000,"MaxPort":2999}},"Registered":true}H -- "+/services/TestService/1/Test/127.0.0.1/2000*{"Config":{"UUID":"3978b371-15e9-40f8-9b7b-59ae88d8c7ec","Name":"TestService","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"127.0.0.1","Port":2000,"MaxPort":2999}},"Registered":true}H -2012-10-18 16:27:45.593890 D [1192:70332141571100] SimpleServer -- Waiting for a client to connect -2012-10-18 16:27:45.593890 D [1192:70332141571100] SimpleServer -- Waiting for a client to connect -2012-10-18 16:27:45.596863 T [1192:70332141494640] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\xFA" -2012-10-18 16:27:45.596863 T [1192:70332141494640] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\xFA" -- "\x00\x00\x00\xFA" -2012-10-18 16:27:45.596881 D [1192:70332141494640] (5.9ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:27:45.596881 D [1192:70332141494640] (5.9ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:27:45.596954 D [1192:70332132317920] (3.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 261 bytes -2012-10-18 16:27:45.596954 D [1192:70332132317920] (3.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 261 bytes -2012-10-18 16:27:45.597003 T [1192:70332132317920] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x06" -2012-10-18 16:27:45.597003 T [1192:70332132317920] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x06" -- "\x00\x00\x00\x06" -2012-10-18 16:27:45.597013 D [1192:70332132317920] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:27:45.597013 D [1192:70332132317920] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:27:45.598518 T [1192:70332141494640] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xF9\xD1\x03*+/services/TestService/1/Test/127.0.0.1/20002\xC2\x01{\"Config\":{\"UUID\":\"3978b371-15e9-40f8-9b7b-59ae88d8c7ec\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"127.0.0.1\",\"Port\":2000,\"MaxPort\":2999}},\"Registered\":true}" -2012-10-18 16:27:45.598518 T [1192:70332141494640] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xF9\xD1\x03*+/services/TestService/1/Test/127.0.0.1/20002\xC2\x01{\"Config\":{\"UUID\":\"3978b371-15e9-40f8-9b7b-59ae88d8c7ec\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"127.0.0.1\",\"Port\":2000,\"MaxPort\":2999}},\"Registered\":true}" -- "\b\x00\x10\x04\x18\xF9\xD1\x03*+/services/TestService/1/Test/127.0.0.1/20002\xC2\x01{\"Config\":{\"UUID\":\"3978b371-15e9-40f8-9b7b-59ae88d8c7ec\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"127.0.0.1\",\"Port\":2000,\"MaxPort\":2999}},\"Registered\":true}" -2012-10-18 16:27:45.598535 D [1192:70332141494640] (1.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 250 bytes -2012-10-18 16:27:45.598535 D [1192:70332141494640] (1.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 250 bytes -2012-10-18 16:27:45.598986 D [1192:70332141494640] RubySkynet::Registry -- #monitor Add/Update Service: TestService/1/Test => 127.0.0.1:2000 -2012-10-18 16:27:45.598986 D [1192:70332141494640] RubySkynet::Registry -- #monitor Add/Update Service: TestService/1/Test => 127.0.0.1:2000 -2012-10-18 16:27:45.599002 D [1192:70332141494640] RubySkynet::Registry -- Updated registry -- {"TutorialService/1/Development"=>["127.0.0.1:9000"], "TestService/1/Test"=>["127.0.0.1:2000"]} -2012-10-18 16:27:45.599002 D [1192:70332141494640] RubySkynet::Registry -- Updated registry -- {"TutorialService/1/Development"=>["127.0.0.1:9000"], "TestService/1/Test"=>["127.0.0.1:2000"]} -- {"TutorialService/1/Development"=>["127.0.0.1:9000"], "TestService/1/Test"=>["127.0.0.1:2000"]} -2012-10-18 16:27:45.599274 T [1192:70332141494640] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H -2012-10-18 16:27:45.599274 T [1192:70332141494640] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H -- "/services/*/*/*/*/*H -2012-10-18 16:27:45.599377 D [1192:70332141494640] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 33 bytes -2012-10-18 16:27:45.599377 D [1192:70332141494640] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 33 bytes -2012-10-18 16:27:45.599841 T [1192:70332132317920] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xF9\xD1\x03" -2012-10-18 16:27:45.599841 T [1192:70332132317920] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xF9\xD1\x03" -- "\b\x00\x18\xF9\xD1\x03" -2012-10-18 16:27:45.599853 D [1192:70332132317920] (2.8ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 6 bytes -2012-10-18 16:27:45.599853 D [1192:70332132317920] (2.8ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 6 bytes -2012-10-18 16:27:45.599952 D [1192:70332132317920] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007feef3a93e60>(70332133449520) self=connections=70332133449520 checked_out= with_map= -2012-10-18 16:27:45.599952 D [1192:70332132317920] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007feef3a93e60>(70332133449520) self=connections=70332133449520 checked_out= with_map= -2012-10-18 16:27:45.601350 D [1192:70332132317920] [508066416b693304a8000002] RubySkynet::Connection: 127.0.0.1:2000 -- Waiting for Service Handshake -2012-10-18 16:27:45.601350 D [1192:70332132317920] [508066416b693304a8000002] RubySkynet::Connection: 127.0.0.1:2000 -- Waiting for Service Handshake -2012-10-18 16:27:45.601494 D [1192:70332141571100] SimpleServer -- Client connected, waiting for data from client -2012-10-18 16:27:45.601494 D [1192:70332141571100] SimpleServer -- Client connected, waiting for data from client -2012-10-18 16:27:45.601652 T [1192:70332132317920] [508066416b693304a8000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "$\x00\x00\x00" -2012-10-18 16:27:45.601652 T [1192:70332132317920] [508066416b693304a8000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "$\x00\x00\x00" -- "$\x00\x00\x00" -2012-10-18 16:27:45.601665 D [1192:70332132317920] [508066416b693304a8000002] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes -2012-10-18 16:27:45.601665 D [1192:70332132317920] [508066416b693304a8000002] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes -2012-10-18 16:27:45.601722 T [1192:70332132317920] [508066416b693304a8000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "\bregistered\x00\x01\x02clientid\x00\x04\x00\x00\x00123\x00\x00" -2012-10-18 16:27:45.601722 T [1192:70332132317920] [508066416b693304a8000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "\bregistered\x00\x01\x02clientid\x00\x04\x00\x00\x00123\x00\x00" -- "\bregistered\x00\x01\x02clientid\x00\x04\x00\x00\x00123\x00\x00" -2012-10-18 16:27:45.601732 D [1192:70332132317920] [508066416b693304a8000002] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 32 bytes -2012-10-18 16:27:45.601732 D [1192:70332132317920] [508066416b693304a8000002] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 32 bytes -2012-10-18 16:27:45.601771 T [1192:70332132317920] [508066416b693304a8000002] RubySkynet::Connection: 127.0.0.1:2000 -- Service Handshake -- {"registered"=>true, "clientid"=>"123"} -2012-10-18 16:27:45.601771 T [1192:70332132317920] [508066416b693304a8000002] RubySkynet::Connection: 127.0.0.1:2000 -- Service Handshake -- {"registered"=>true, "clientid"=>"123"} -- {"registered"=>true, "clientid"=>"123"} -2012-10-18 16:27:45.601786 D [1192:70332132317920] [508066416b693304a8000002] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Client Handshake -2012-10-18 16:27:45.601786 D [1192:70332132317920] [508066416b693304a8000002] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Client Handshake -2012-10-18 16:27:45.601795 T [1192:70332132317920] [508066416b693304a8000002] RubySkynet::Connection: 127.0.0.1:2000 -- Client Handshake -- {"clientid"=>"123"} -2012-10-18 16:27:45.601795 T [1192:70332132317920] [508066416b693304a8000002] RubySkynet::Connection: 127.0.0.1:2000 -- Client Handshake -- {"clientid"=>"123"} -- {"clientid"=>"123"} -2012-10-18 16:27:45.601814 T [1192:70332132317920] [508066416b693304a8000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- clientid123 -2012-10-18 16:27:45.601814 T [1192:70332132317920] [508066416b693304a8000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- clientid123 -- clientid123 -2012-10-18 16:27:45.601885 D [1192:70332132317920] [508066416b693304a8000002] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 23 bytes -2012-10-18 16:27:45.601885 D [1192:70332132317920] [508066416b693304a8000002] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 23 bytes -2012-10-18 16:27:45.601944 D [1192:70332132317920] [508066416b693304a8000002] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Header -2012-10-18 16:27:45.601944 D [1192:70332132317920] [508066416b693304a8000002] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Header -2012-10-18 16:27:45.601960 T [1192:70332132317920] [508066416b693304a8000002] RubySkynet::Connection: 127.0.0.1:2000 -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} -2012-10-18 16:27:45.601960 T [1192:70332132317920] [508066416b693304a8000002] RubySkynet::Connection: 127.0.0.1:2000 -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} -- {"servicemethod"=>"TestService.Forward", "seq"=>0} -2012-10-18 16:27:45.601992 T [1192:70332132317920] [508066416b693304a8000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- 5servicemethodTestService.Forwardseq -2012-10-18 16:27:45.601992 T [1192:70332132317920] [508066416b693304a8000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- 5servicemethodTestService.Forwardseq -- 5servicemethodTestService.Forwardseq -2012-10-18 16:27:45.602149 D [1192:70332132317920] [508066416b693304a8000002] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 53 bytes -2012-10-18 16:27:45.602149 D [1192:70332132317920] [508066416b693304a8000002] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 53 bytes -2012-10-18 16:27:45.602196 D [1192:70332132317920] [508066416b693304a8000002] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Request -2012-10-18 16:27:45.602196 D [1192:70332132317920] [508066416b693304a8000002] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Request -2012-10-18 16:27:45.602206 T [1192:70332132317920] [508066416b693304a8000002] RubySkynet::Connection: 127.0.0.1:2000 -- Request -- {"clientid"=>"123", "in"=>"\x17\x00\x00\x00\x01duration\x00\x00\x00\x00\x00\x00\x00\f@\x00", "method"=>"sleep", "requestinfo"=>{"requestid"=>"508066416b693304a8000002", "retrycount"=>0, "originaddress"=>""}} -2012-10-18 16:27:45.602206 T [1192:70332132317920] [508066416b693304a8000002] RubySkynet::Connection: 127.0.0.1:2000 -- Request -- {"clientid"=>"123", "in"=>"\x17\x00\x00\x00\x01duration\x00\x00\x00\x00\x00\x00\x00\f@\x00", "method"=>"sleep", "requestinfo"=>{"requestid"=>"508066416b693304a8000002", "retrycount"=>0, "originaddress"=>""}} -- {"clientid"=>"123", "in"=>"\x17\x00\x00\x00\x01duration\x00\x00\x00\x00\x00\x00\x00\f@\x00", "method"=>"sleep", "requestinfo"=>{"requestid"=>"508066416b693304a8000002", "retrycount"=>0, "originaddress"=>""}} -2012-10-18 16:27:45.602215 T [1192:70332132317920] [508066416b693304a8000002] RubySkynet::Connection: 127.0.0.1:2000 -- Parameters: -- {"duration"=>3.5} -2012-10-18 16:27:45.602215 T [1192:70332132317920] [508066416b693304a8000002] RubySkynet::Connection: 127.0.0.1:2000 -- Parameters: -- {"duration"=>3.5} -- {"duration"=>3.5} -2012-10-18 16:27:45.602235 T [1192:70332132317920] [508066416b693304a8000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- clientid123induration @methodsleeprequestinfoQrequestid508066416b693304a8000002retrycountoriginaddress -2012-10-18 16:27:45.602235 T [1192:70332132317920] [508066416b693304a8000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- clientid123induration @methodsleeprequestinfoQrequestid508066416b693304a8000002retrycountoriginaddress -- clientid123induration @methodsleeprequestinfoQrequestid508066416b693304a8000002retrycountoriginaddress -2012-10-18 16:27:45.614723 D [1192:70332132317920] [508066416b693304a8000002] (12.5ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 167 bytes -2012-10-18 16:27:45.614723 D [1192:70332132317920] [508066416b693304a8000002] (12.5ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 167 bytes -2012-10-18 16:27:45.614777 D [1192:70332132317920] [508066416b693304a8000002] RubySkynet::Connection: 127.0.0.1:2000 -- Reading header from server -2012-10-18 16:27:45.614777 D [1192:70332132317920] [508066416b693304a8000002] RubySkynet::Connection: 127.0.0.1:2000 -- Reading header from server -2012-10-18 16:27:45.615155 D [1192:70332141571100] SimpleServer -- -****************** -2012-10-18 16:27:45.615155 D [1192:70332141571100] SimpleServer -- -****************** -2012-10-18 16:27:45.615167 D [1192:70332141571100] SimpleServer -- Received Request -2012-10-18 16:27:45.615167 D [1192:70332141571100] SimpleServer -- Received Request -2012-10-18 16:27:45.615178 T [1192:70332141571100] SimpleServer -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} -2012-10-18 16:27:45.615178 T [1192:70332141571100] SimpleServer -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} -- {"servicemethod"=>"TestService.Forward", "seq"=>0} -2012-10-18 16:27:45.615243 T [1192:70332141571100] SimpleServer -- Request -- {"clientid"=>"123", "in"=>"\x17\x00\x00\x00\x01duration\x00\x00\x00\x00\x00\x00\x00\f@\x00", "method"=>"sleep", "requestinfo"=>{"requestid"=>"508066416b693304a8000002", "retrycount"=>0, "originaddress"=>""}} -2012-10-18 16:27:45.615243 T [1192:70332141571100] SimpleServer -- Request -- {"clientid"=>"123", "in"=>"\x17\x00\x00\x00\x01duration\x00\x00\x00\x00\x00\x00\x00\f@\x00", "method"=>"sleep", "requestinfo"=>{"requestid"=>"508066416b693304a8000002", "retrycount"=>0, "originaddress"=>""}} -- {"clientid"=>"123", "in"=>"\x17\x00\x00\x00\x01duration\x00\x00\x00\x00\x00\x00\x00\f@\x00", "method"=>"sleep", "requestinfo"=>{"requestid"=>"508066416b693304a8000002", "retrycount"=>0, "originaddress"=>""}} -2012-10-18 16:27:49.116375 D [1192:70332141571100] SimpleServer -- Sending Header -2012-10-18 16:27:49.116375 D [1192:70332141571100] SimpleServer -- Sending Header -2012-10-18 16:27:49.116714 D [1192:70332141571100] SimpleServer -- Sending Reply -2012-10-18 16:27:49.116714 D [1192:70332141571100] SimpleServer -- Sending Reply -2012-10-18 16:27:49.116730 T [1192:70332141571100] SimpleServer -- Reply -- {"result"=>"sleep"} -2012-10-18 16:27:49.116730 T [1192:70332141571100] SimpleServer -- Reply -- {"result"=>"sleep"} -- {"result"=>"sleep"} -2012-10-18 16:27:49.117099 T [1192:70332132317920] [508066416b693304a8000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "5\x00\x00\x00" -2012-10-18 16:27:49.117099 T [1192:70332132317920] [508066416b693304a8000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "5\x00\x00\x00" -- "5\x00\x00\x00" -2012-10-18 16:27:49.117118 D [1192:70332132317920] [508066416b693304a8000002] (3502.3ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes -2012-10-18 16:27:49.117118 D [1192:70332132317920] [508066416b693304a8000002] (3502.3ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes -2012-10-18 16:27:49.117277 T [1192:70332132317920] [508066416b693304a8000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "\x02servicemethod\x00\x14\x00\x00\x00TestService.Forward\x00\x10seq\x00\x00\x00\x00\x00\x00" -2012-10-18 16:27:49.117277 T [1192:70332132317920] [508066416b693304a8000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "\x02servicemethod\x00\x14\x00\x00\x00TestService.Forward\x00\x10seq\x00\x00\x00\x00\x00\x00" -- "\x02servicemethod\x00\x14\x00\x00\x00TestService.Forward\x00\x10seq\x00\x00\x00\x00\x00\x00" -2012-10-18 16:27:49.117288 D [1192:70332132317920] [508066416b693304a8000002] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 49 bytes -2012-10-18 16:27:49.117288 D [1192:70332132317920] [508066416b693304a8000002] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 49 bytes -2012-10-18 16:27:49.117330 D [1192:70332132317920] [508066416b693304a8000002] RubySkynet::Connection: 127.0.0.1:2000 -- Response Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} -2012-10-18 16:27:49.117330 D [1192:70332132317920] [508066416b693304a8000002] RubySkynet::Connection: 127.0.0.1:2000 -- Response Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} -- {"servicemethod"=>"TestService.Forward", "seq"=>0} -2012-10-18 16:27:49.117340 D [1192:70332132317920] [508066416b693304a8000002] RubySkynet::Connection: 127.0.0.1:2000 -- Reading response from server -2012-10-18 16:27:49.117340 D [1192:70332132317920] [508066416b693304a8000002] RubySkynet::Connection: 127.0.0.1:2000 -- Reading response from server -2012-10-18 16:27:49.117386 T [1192:70332132317920] [508066416b693304a8000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "&\x00\x00\x00" -2012-10-18 16:27:49.117386 T [1192:70332132317920] [508066416b693304a8000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "&\x00\x00\x00" -- "&\x00\x00\x00" -2012-10-18 16:27:49.117395 D [1192:70332132317920] [508066416b693304a8000002] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes -2012-10-18 16:27:49.117395 D [1192:70332132317920] [508066416b693304a8000002] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes -2012-10-18 16:27:49.117446 T [1192:70332132317920] [508066416b693304a8000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "\x02out\x00\x18\x00\x00\x00\x17\x00\x00\x00\x02result\x00\x06\x00\x00\x00sleep\x00\x00\x00\x00" -2012-10-18 16:27:49.117446 T [1192:70332132317920] [508066416b693304a8000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "\x02out\x00\x18\x00\x00\x00\x17\x00\x00\x00\x02result\x00\x06\x00\x00\x00sleep\x00\x00\x00\x00" -- "\x02out\x00\x18\x00\x00\x00\x17\x00\x00\x00\x02result\x00\x06\x00\x00\x00sleep\x00\x00\x00\x00" -2012-10-18 16:27:49.117455 D [1192:70332132317920] [508066416b693304a8000002] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 34 bytes -2012-10-18 16:27:49.117455 D [1192:70332132317920] [508066416b693304a8000002] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 34 bytes -2012-10-18 16:27:49.117483 T [1192:70332132317920] [508066416b693304a8000002] RubySkynet::Connection: 127.0.0.1:2000 -- Response -- {"out"=>"\x17\x00\x00\x00\x02result\x00\x06\x00\x00\x00sleep\x00\x00"} -2012-10-18 16:27:49.117483 T [1192:70332132317920] [508066416b693304a8000002] RubySkynet::Connection: 127.0.0.1:2000 -- Response -- {"out"=>"\x17\x00\x00\x00\x02result\x00\x06\x00\x00\x00sleep\x00\x00"} -- {"out"=>"\x17\x00\x00\x00\x02result\x00\x06\x00\x00\x00sleep\x00\x00"} -2012-10-18 16:27:49.117514 T [1192:70332132317920] [508066416b693304a8000002] RubySkynet::Connection: 127.0.0.1:2000 -- Return Value -- {"result"=>"sleep"} -2012-10-18 16:27:49.117514 T [1192:70332132317920] [508066416b693304a8000002] RubySkynet::Connection: 127.0.0.1:2000 -- Return Value -- {"result"=>"sleep"} -- {"result"=>"sleep"} -2012-10-18 16:27:49.117547 I [1192:70332132317920] [508066416b693304a8000002] (3517.4ms) RubySkynet::Client: TestService/1/Test -- Called Skynet Service: TestService.sleep -2012-10-18 16:27:49.117547 I [1192:70332132317920] [508066416b693304a8000002] (3517.4ms) RubySkynet::Client: TestService/1/Test -- Called Skynet Service: TestService.sleep -2012-10-18 16:27:49.118624 D [1192:70332132317920] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007feef3a93e60>(70332133449520) self=connections=70332133449520 checked_out=70332133449520 with_map= -2012-10-18 16:27:49.118624 D [1192:70332132317920] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007feef3a93e60>(70332133449520) self=connections=70332133449520 checked_out=70332133449520 with_map= -2012-10-18 16:27:49.119100 T [1192:70332132317920] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- <"+/services/TestService/1/Test/127.0.0.1/2000H -2012-10-18 16:27:49.119100 T [1192:70332132317920] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- <"+/services/TestService/1/Test/127.0.0.1/2000H -- <"+/services/TestService/1/Test/127.0.0.1/2000H -2012-10-18 16:27:49.119153 D [1192:70332132317920] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 64 bytes -2012-10-18 16:27:49.119153 D [1192:70332132317920] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 64 bytes -2012-10-18 16:27:49.122779 T [1192:70332141494640] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x007" -2012-10-18 16:27:49.122779 T [1192:70332141494640] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x007" -- "\x00\x00\x007" -2012-10-18 16:27:49.122801 D [1192:70332141494640] (3523.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:27:49.122801 D [1192:70332141494640] (3523.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:27:49.122888 T [1192:70332141494640] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\b\x18\xFF\xD1\x03*+/services/TestService/1/Test/127.0.0.1/20002\x00" -2012-10-18 16:27:49.122888 T [1192:70332141494640] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\b\x18\xFF\xD1\x03*+/services/TestService/1/Test/127.0.0.1/20002\x00" -- "\b\x00\x10\b\x18\xFF\xD1\x03*+/services/TestService/1/Test/127.0.0.1/20002\x00" -2012-10-18 16:27:49.122899 D [1192:70332141494640] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 55 bytes -2012-10-18 16:27:49.122899 D [1192:70332141494640] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 55 bytes -2012-10-18 16:27:49.123088 D [1192:70332141494640] RubySkynet::Registry -- #monitor Service stopped, remove: TestService/1/Test => 127.0.0.1:2000 -2012-10-18 16:27:49.123088 D [1192:70332141494640] RubySkynet::Registry -- #monitor Service stopped, remove: TestService/1/Test => 127.0.0.1:2000 -2012-10-18 16:27:49.123117 I [1192:70332141494640] RubySkynet::Registry -- Calling callback for server: 127.0.0.1:2000 -2012-10-18 16:27:49.123117 I [1192:70332141494640] RubySkynet::Registry -- Calling callback for server: 127.0.0.1:2000 -2012-10-18 16:27:49.123251 D [1192:70332141494640] RubySkynet::Connection -- Connection pool for server:127.0.0.1:2000 has been released -2012-10-18 16:27:49.123251 D [1192:70332141494640] RubySkynet::Connection -- Connection pool for server:127.0.0.1:2000 has been released -2012-10-18 16:27:49.123267 D [1192:70332141494640] RubySkynet::Registry -- Updated registry -- {"TutorialService/1/Development"=>["127.0.0.1:9000"]} -2012-10-18 16:27:49.123267 D [1192:70332141494640] RubySkynet::Registry -- Updated registry -- {"TutorialService/1/Development"=>["127.0.0.1:9000"]} -- {"TutorialService/1/Development"=>["127.0.0.1:9000"]} -2012-10-18 16:27:49.123485 T [1192:70332141494640] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H -2012-10-18 16:27:49.123485 T [1192:70332141494640] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H -- "/services/*/*/*/*/*H -2012-10-18 16:27:49.123560 D [1192:70332141494640] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 33 bytes -2012-10-18 16:27:49.123560 D [1192:70332141494640] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 33 bytes -2012-10-18 16:27:49.123621 T [1192:70332132317920] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x02" -2012-10-18 16:27:49.123621 T [1192:70332132317920] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x02" -- "\x00\x00\x00\x02" -2012-10-18 16:27:49.123631 D [1192:70332132317920] (4.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:27:49.123631 D [1192:70332132317920] (4.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:27:49.125919 T [1192:70332132317920] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00" -2012-10-18 16:27:49.125919 T [1192:70332132317920] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00" -- "\b\x00" -2012-10-18 16:27:49.125942 D [1192:70332132317920] (2.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 2 bytes -2012-10-18 16:27:49.125942 D [1192:70332132317920] (2.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 2 bytes -2012-10-18 16:27:49.126043 D [1192:70332132317920] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007feef3a93e60>(70332133449520) self=connections=70332133449520 checked_out= with_map= -2012-10-18 16:27:49.126043 D [1192:70332132317920] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007feef3a93e60>(70332133449520) self=connections=70332133449520 checked_out= with_map= -2012-10-18 16:27:49.126827 W [1192:70332132317920] [508066456b693304a8000003] RubySkynet::Registry -- No servers available for service: SomeService with version: * in region: Development -2012-10-18 16:27:49.126827 W [1192:70332132317920] [508066456b693304a8000003] RubySkynet::Registry -- No servers available for service: SomeService with version: * in region: Development -2012-10-18 16:27:49.126926 I [1192:70332132317920] [508066456b693304a8000003] (0.2ms) RubySkynet::Client: SomeService/*/Development -- Called Skynet Service: SomeService.test -- RubySkynet::ServiceUnavailable: No servers available for service: SomeService with version: * in region: Development +2012-12-05 15:40:26.881363 D [44570:70332879295880] SimpleServer -- Received Request +2012-12-05 15:40:26.881370 T [44570:70332879295880] SimpleServer -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 15:40:26.881457 T [44570:70332879295880] SimpleServer -- Request -- {"clientid"=>"123", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"test1", "requestinfo"=>{"requestid"=>"50bfb13a6b6933ae1a000001", "retrycount"=>0, "originaddress"=>""}} +2012-12-05 15:40:26.881480 D [44570:70332879295880] SimpleServer -- Sending Header +2012-12-05 15:40:26.881537 D [44570:70332879295880] SimpleServer -- Sending Reply +2012-12-05 15:40:26.881545 T [44570:70332879295880] SimpleServer -- Reply -- {"result"=>"test1"} +2012-12-05 15:40:26.882498 T [44570:70332874709720] [50bfb13a6b6933ae1a000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "5\x00\x00\x00" +2012-12-05 15:40:26.882511 D [44570:70332874709720] [50bfb13a6b6933ae1a000001] (3.3ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes +2012-12-05 15:40:26.882560 T [44570:70332874709720] [50bfb13a6b6933ae1a000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "\x02servicemethod\x00\x14\x00\x00\x00TestService.Forward\x00\x10seq\x00\x00\x00\x00\x00\x00" +2012-12-05 15:40:26.882566 D [44570:70332874709720] [50bfb13a6b6933ae1a000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 49 bytes +2012-12-05 15:40:26.882598 D [44570:70332874709720] [50bfb13a6b6933ae1a000001] RubySkynet::Connection: 127.0.0.1:2000 -- Response Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 15:40:26.882604 D [44570:70332874709720] [50bfb13a6b6933ae1a000001] RubySkynet::Connection: 127.0.0.1:2000 -- Reading response from server +2012-12-05 15:40:26.882643 T [44570:70332874709720] [50bfb13a6b6933ae1a000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "&\x00\x00\x00" +2012-12-05 15:40:26.882648 D [44570:70332874709720] [50bfb13a6b6933ae1a000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes +2012-12-05 15:40:26.882690 T [44570:70332874709720] [50bfb13a6b6933ae1a000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "\x02out\x00\x18\x00\x00\x00\x17\x00\x00\x00\x02result\x00\x06\x00\x00\x00test1\x00\x00\x00\x00" +2012-12-05 15:40:26.882696 D [44570:70332874709720] [50bfb13a6b6933ae1a000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 34 bytes +2012-12-05 15:40:26.882727 T [44570:70332874709720] [50bfb13a6b6933ae1a000001] RubySkynet::Connection: 127.0.0.1:2000 -- Response -- {"out"=>"\x17\x00\x00\x00\x02result\x00\x06\x00\x00\x00test1\x00\x00"} +2012-12-05 15:40:26.882750 T [44570:70332874709720] [50bfb13a6b6933ae1a000001] RubySkynet::Connection: 127.0.0.1:2000 -- Return Value -- {"result"=>"test1"} +2012-12-05 15:40:26.882772 I [44570:70332874709720] [50bfb13a6b6933ae1a000001] (24.5ms) RubySkynet::Client: TestService/1/Test -- Called Skynet Service: TestService.test1 +2012-12-05 15:40:26.884275 D [44570:70332874709720] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fef4ca16060>(70332879777840) self=connections=70332879777840 checked_out=70332879777840 with_map= +2012-12-05 15:40:26.884614 T [44570:70332874709720] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- <"+/services/TestService/1/Test/127.0.0.1/2000H +2012-12-05 15:40:26.884666 D [44570:70332874709720] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 64 bytes +2012-12-05 15:40:26.889614 T [44570:70332875743620] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x006" +2012-12-05 15:40:26.889643 D [44570:70332875743620] (11.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:40:26.890444 T [44570:70332874709720] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 15:40:26.890457 D [44570:70332874709720] (5.8ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:40:26.891110 T [44570:70332875743620] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\b\x18\xFC\x1A*+/services/TestService/1/Test/127.0.0.1/20002\x00" +2012-12-05 15:40:26.891122 D [44570:70332875743620] (1.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 54 bytes +2012-12-05 15:40:26.891284 D [44570:70332875743620] RubySkynet::Registry -- #monitor Service stopped, remove: TestService/1/Test => 127.0.0.1:2000 +2012-12-05 15:40:26.891312 I [44570:70332875743620] RubySkynet::Registry -- Calling callback for server: 127.0.0.1:2000 +2012-12-05 15:40:26.893292 D [44570:70332875743620] RubySkynet::Connection -- Connection pool for server:127.0.0.1:2000 has been released +2012-12-05 15:40:26.893317 D [44570:70332875743620] RubySkynet::Registry -- Updated registry -- {} +2012-12-05 15:40:26.893800 T [44570:70332875743620] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-05 15:40:26.893936 D [44570:70332875743620] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 15:40:26.895128 T [44570:70332874709720] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00" +2012-12-05 15:40:26.895137 D [44570:70332874709720] (4.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 2 bytes +2012-12-05 15:40:26.895565 D [44570:70332874709720] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fef4ca16060>(70332879777840) self=connections=70332879777840 checked_out= with_map= +2012-12-05 15:40:26.897354 D [44570:70332879288900] SimpleServer -- Waiting for a client to connect +2012-12-05 15:40:26.898356 D [44570:70332874709720] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fef4ca16060>(70332879777840) self=connections=70332879777840 checked_out=70332879777840 with_map= +2012-12-05 15:40:26.898768 T [44570:70332874709720] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "+/services/TestService/1/Test/127.0.0.1/2000*{"Config":{"UUID":"3978b371-15e9-40f8-9b7b-59ae88d8c7ec","Name":"TestService","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"127.0.0.1","Port":2000,"MaxPort":2999}},"Registered":true}H +2012-12-05 15:40:26.898829 D [44570:70332874709720] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 261 bytes +2012-12-05 15:40:26.900993 T [44570:70332875743620] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\xF9" +2012-12-05 15:40:26.901006 D [44570:70332875743620] (7.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:40:26.901095 T [44570:70332874709720] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 15:40:26.901101 D [44570:70332874709720] (2.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:40:26.901152 T [44570:70332874709720] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xFD\x1A" +2012-12-05 15:40:26.901157 D [44570:70332874709720] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 15:40:26.901254 D [44570:70332874709720] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fef4ca16060>(70332879777840) self=connections=70332879777840 checked_out= with_map= +2012-12-05 15:40:26.901455 W [44570:70332874709720] [50bfb13a6b6933ae1a000002] RubySkynet::Registry -- No servers available for service: TestService with version: 1 in region: Test +2012-12-05 15:40:26.901540 I [44570:70332874709720] [50bfb13a6b6933ae1a000002] (0.2ms) RubySkynet::Client: TestService/1/Test -- Called Skynet Service: TestService.sleep -- RubySkynet::ServiceUnavailable: No servers available for service: TestService with version: 1 in region: Test /Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/registry.rb:92:in `server_for' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:66:in `block (2 levels) in call' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.7.0/lib/semantic_logger/base.rb:181:in `benchmark_info' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:62:in `block in call' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.7.0/lib/semantic_logger/base.rb:161:in `with_tags' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:61:in `call' -/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_client_test.rb:23:in `block (4 levels) in <class:RubySkynetClientTest>' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:64:in `block (2 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_info' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:60:in `block in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:126:in `with_tags' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:59:in `call' +/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_client_test.rb:87:in `block (5 levels) in <class:RubySkynetClientTest>' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:330:in `assert_raises' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/assertions.rb:69:in `assert_raise' -/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_client_test.rb:21:in `block (3 levels) in <class:RubySkynetClientTest>' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.0/lib/shoulda/context/context.rb:398:in `call' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.0/lib/shoulda/context/context.rb:398:in `block in create_test_from_should_hash' -/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:949:in `run' +/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_client_test.rb:85:in `block (4 levels) in <class:RubySkynetClientTest>' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `block in create_test_from_should_hash' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/mocha-0.10.5/lib/mocha/integration/mini_test/version_230_to_262.rb:28:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/testcase.rb:17:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:787:in `block in _run_suite' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `map' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `_run_suite' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:565:in `block in _run_suites' @@ -3244,24 +8300,47 @@ /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:884:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:21:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:326:in `block (2 levels) in autorun' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:27:in `run_once' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:325:in `block in autorun' -2012-10-18 16:27:49.126926 I [1192:70332132317920] [508066456b693304a8000003] (0.2ms) RubySkynet::Client: SomeService/*/Development -- Called Skynet Service: SomeService.test -- RubySkynet::ServiceUnavailable: No servers available for service: SomeService with version: * in region: Development +2012-12-05 15:40:26.902244 D [44570:70332874709720] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fef4ca16060>(70332879777840) self=connections=70332879777840 checked_out=70332879777840 with_map= +2012-12-05 15:40:26.902654 T [44570:70332874709720] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- <"+/services/TestService/1/Test/127.0.0.1/2000H +2012-12-05 15:40:26.902737 D [44570:70332874709720] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 64 bytes +2012-12-05 15:40:26.902903 T [44570:70332875743620] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xFD\x1A*+/services/TestService/1/Test/127.0.0.1/20002\xC2\x01{\"Config\":{\"UUID\":\"3978b371-15e9-40f8-9b7b-59ae88d8c7ec\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"127.0.0.1\",\"Port\":2000,\"MaxPort\":2999}},\"Registered\":true}" +2012-12-05 15:40:26.902910 D [44570:70332875743620] (1.9ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 249 bytes +2012-12-05 15:40:26.903080 D [44570:70332875743620] RubySkynet::Registry -- #monitor Add/Update Service: TestService/1/Test => 127.0.0.1:2000 +2012-12-05 15:40:26.903092 D [44570:70332875743620] RubySkynet::Registry -- Updated registry -- {"TestService/1/Test"=>["127.0.0.1:2000"]} +2012-12-05 15:40:26.903280 T [44570:70332875743620] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-05 15:40:26.903342 D [44570:70332875743620] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 15:40:26.914088 T [44570:70332874709720] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 15:40:26.914159 D [44570:70332874709720] (11.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:40:26.914319 T [44570:70332875743620] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x006" +2012-12-05 15:40:26.914325 D [44570:70332875743620] (11.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:40:26.915807 T [44570:70332875743620] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\b\x18\xFE\x1A*+/services/TestService/1/Test/127.0.0.1/20002\x00" +2012-12-05 15:40:26.915822 D [44570:70332875743620] (1.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 54 bytes +2012-12-05 15:40:26.915961 D [44570:70332875743620] RubySkynet::Registry -- #monitor Service stopped, remove: TestService/1/Test => 127.0.0.1:2000 +2012-12-05 15:40:26.916006 D [44570:70332875743620] RubySkynet::Registry -- Updated registry -- {} +2012-12-05 15:40:26.916263 T [44570:70332875743620] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-05 15:40:26.916331 D [44570:70332875743620] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 15:40:26.916411 T [44570:70332874709720] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00" +2012-12-05 15:40:26.916417 D [44570:70332874709720] (2.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 2 bytes +2012-12-05 15:40:26.916488 D [44570:70332874709720] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fef4ca16060>(70332879777840) self=connections=70332879777840 checked_out= with_map= +2012-12-05 15:40:26.919174 W [44570:70332874709720] [50bfb13a6b6933ae1a000003] RubySkynet::Registry -- No servers available for service: SomeService with version: * in region: Development +2012-12-05 15:40:26.919277 I [44570:70332874709720] [50bfb13a6b6933ae1a000003] (0.2ms) RubySkynet::Client: SomeService/*/Development -- Called Skynet Service: SomeService.test -- RubySkynet::ServiceUnavailable: No servers available for service: SomeService with version: * in region: Development /Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/registry.rb:92:in `server_for' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:66:in `block (2 levels) in call' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.7.0/lib/semantic_logger/base.rb:181:in `benchmark_info' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:62:in `block in call' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.7.0/lib/semantic_logger/base.rb:161:in `with_tags' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:61:in `call' -/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_client_test.rb:23:in `block (4 levels) in <class:RubySkynetClientTest>' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:64:in `block (2 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_info' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:60:in `block in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:126:in `with_tags' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:59:in `call' +/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_client_test.rb:26:in `block (4 levels) in <class:RubySkynetClientTest>' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:330:in `assert_raises' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/assertions.rb:69:in `assert_raise' -/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_client_test.rb:21:in `block (3 levels) in <class:RubySkynetClientTest>' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.0/lib/shoulda/context/context.rb:398:in `call' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.0/lib/shoulda/context/context.rb:398:in `block in create_test_from_should_hash' -/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:949:in `run' +/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_client_test.rb:24:in `block (3 levels) in <class:RubySkynetClientTest>' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `block in create_test_from_should_hash' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/mocha-0.10.5/lib/mocha/integration/mini_test/version_230_to_262.rb:28:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/testcase.rb:17:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:787:in `block in _run_suite' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `map' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `_run_suite' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:565:in `block in _run_suites' @@ -3274,24 +8353,35 @@ /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:895:in `_run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:884:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:21:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:326:in `block (2 levels) in autorun' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:27:in `run_once' -/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:325:in `block in autorun' -- RubySkynet::ServiceUnavailable: No servers available for service: SomeService with version: * in region: Development +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:325:in `block in autorun' +2012-12-05 15:40:26.926799 D [44570:70332879316800] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fef4ca16060>(70332879777840) self=connections=70332879777840 checked_out=70332879777840 with_map= +2012-12-05 15:40:26.927226 T [44570:70332879316800] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "+/services/TestService/1/Test/localhost/2100*{"Config":{"UUID":"localhost:2100-44570-TestService-70332875646680","Name":"TestService","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"localhost","Port":2100,"MaxPort":3099}},"Registered":true}H +2012-12-05 15:40:26.927455 D [44570:70332879316800] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 272 bytes +2012-12-05 15:40:26.928821 T [44570:70332875743620] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01\x04" +2012-12-05 15:40:26.928834 D [44570:70332875743620] (12.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:40:26.928929 T [44570:70332879316800] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 15:40:26.928937 D [44570:70332879316800] (1.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:40:26.929229 T [44570:70332879316800] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xFF\x1A" +2012-12-05 15:40:26.929236 D [44570:70332879316800] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 15:40:26.930650 D [44570:70332879316800] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fef4ca16060>(70332879777840) self=connections=70332879777840 checked_out= with_map= +2012-12-05 15:40:26.931203 I [44570:70332879316800] RubySkynet::Server -- Starting listener on localhost:2100 +2012-12-05 15:40:26.931225 D [44570:70332879316800] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 15:40:26.931656 W [44570:70332874709720] [50bfb13a6b6933ae1a000004] RubySkynet::Registry -- No servers available for service: TestService with version: 1 in region: Test +2012-12-05 15:40:26.931734 I [44570:70332874709720] [50bfb13a6b6933ae1a000004] (0.1ms) RubySkynet::Client: TestService/1/Test -- Called Skynet Service: TestService.echo -- RubySkynet::ServiceUnavailable: No servers available for service: TestService with version: 1 in region: Test /Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/registry.rb:92:in `server_for' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:66:in `block (2 levels) in call' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.7.0/lib/semantic_logger/base.rb:181:in `benchmark_info' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:62:in `block in call' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.7.0/lib/semantic_logger/base.rb:161:in `with_tags' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:61:in `call' -/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_client_test.rb:23:in `block (4 levels) in <class:RubySkynetClientTest>' -/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:330:in `assert_raises' -/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/assertions.rb:69:in `assert_raise' -/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_client_test.rb:21:in `block (3 levels) in <class:RubySkynetClientTest>' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.0/lib/shoulda/context/context.rb:398:in `call' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.0/lib/shoulda/context/context.rb:398:in `block in create_test_from_should_hash' -/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:949:in `run' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:64:in `block (2 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_info' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:60:in `block in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:126:in `with_tags' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:59:in `call' +/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_service_test.rb:65:in `block (4 levels) in <class:RubySkynetServiceTest>' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `block in create_test_from_should_hash' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/mocha-0.10.5/lib/mocha/integration/mini_test/version_230_to_262.rb:28:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/testcase.rb:17:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:787:in `block in _run_suite' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `map' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `_run_suite' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:565:in `block in _run_suites' @@ -3305,205 +8395,211 @@ /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:884:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:21:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:326:in `block (2 levels) in autorun' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:27:in `run_once' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:325:in `block in autorun' -2012-10-18 16:28:16.973261 T [1210:70344123833040] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007ff489271688@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -2012-10-18 16:28:16.973261 T [1210:70344123833040] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007ff489271688@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007ff489271688@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -2012-10-18 16:28:16.980900 T [1210:70344123833040] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "/8 -2012-10-18 16:28:16.980900 T [1210:70344123833040] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "/8 -- "/8 -2012-10-18 16:28:16.981167 D [1210:70344123833040] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 13 bytes -2012-10-18 16:28:16.981167 D [1210:70344123833040] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 13 bytes -2012-10-18 16:28:16.981240 T [1210:70344123833040] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\a" -2012-10-18 16:28:16.981240 T [1210:70344123833040] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\a" -- "\x00\x00\x00\a" -2012-10-18 16:28:16.981251 D [1210:70344123833040] (0.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:28:16.981251 D [1210:70344123833040] (0.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:28:16.981399 T [1210:70344123833040] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00*\x03ctl" -2012-10-18 16:28:16.981399 T [1210:70344123833040] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00*\x03ctl" -- "\b\x00*\x03ctl" -2012-10-18 16:28:16.981416 D [1210:70344123833040] (0.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 7 bytes -2012-10-18 16:28:16.981416 D [1210:70344123833040] (0.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 7 bytes -2012-10-18 16:28:16.981705 T [1210:70344123833040] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "/8 -2012-10-18 16:28:16.981705 T [1210:70344123833040] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "/8 -- "/8 -2012-10-18 16:28:16.981954 D [1210:70344123833040] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 13 bytes -2012-10-18 16:28:16.981954 D [1210:70344123833040] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 13 bytes -2012-10-18 16:28:16.982009 T [1210:70344123833040] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\f" -2012-10-18 16:28:16.982009 T [1210:70344123833040] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\f" -- "\x00\x00\x00\f" -2012-10-18 16:28:16.982020 D [1210:70344123833040] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:28:16.982020 D [1210:70344123833040] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:28:16.982076 T [1210:70344123833040] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00*\bservices" -2012-10-18 16:28:16.982076 T [1210:70344123833040] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00*\bservices" -- "\b\x00*\bservices" -2012-10-18 16:28:16.982086 D [1210:70344123833040] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 12 bytes -2012-10-18 16:28:16.982086 D [1210:70344123833040] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 12 bytes -2012-10-18 16:28:16.982323 T [1210:70344123833040] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "/8 -2012-10-18 16:28:16.982323 T [1210:70344123833040] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "/8 -- "/8 -2012-10-18 16:28:16.982539 D [1210:70344123833040] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 13 bytes -2012-10-18 16:28:16.982539 D [1210:70344123833040] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 13 bytes -2012-10-18 16:28:16.982589 T [1210:70344123833040] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x0E" -2012-10-18 16:28:16.982589 T [1210:70344123833040] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x0E" -- "\x00\x00\x00\x0E" -2012-10-18 16:28:16.982599 D [1210:70344123833040] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:28:16.982599 D [1210:70344123833040] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:28:16.982654 T [1210:70344123833040] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00*\nstatistics" -2012-10-18 16:28:16.982654 T [1210:70344123833040] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00*\nstatistics" -- "\b\x00*\nstatistics" -2012-10-18 16:28:16.982663 D [1210:70344123833040] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 14 bytes -2012-10-18 16:28:16.982663 D [1210:70344123833040] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 14 bytes -2012-10-18 16:28:16.982862 T [1210:70344123833040] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "/8 -2012-10-18 16:28:16.982862 T [1210:70344123833040] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "/8 -- "/8 -2012-10-18 16:28:16.983079 D [1210:70344123833040] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 13 bytes -2012-10-18 16:28:16.983079 D [1210:70344123833040] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 13 bytes -2012-10-18 16:28:16.983134 T [1210:70344123833040] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x05" -2012-10-18 16:28:16.983134 T [1210:70344123833040] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x05" -- "\x00\x00\x00\x05" -2012-10-18 16:28:16.983144 D [1210:70344123833040] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:28:16.983144 D [1210:70344123833040] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:28:16.983252 T [1210:70344123833040] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\xA0\x06\b" -2012-10-18 16:28:16.983252 T [1210:70344123833040] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\xA0\x06\b" -- "\b\x00\xA0\x06\b" -2012-10-18 16:28:16.983262 D [1210:70344123833040] (0.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 5 bytes -2012-10-18 16:28:16.983262 D [1210:70344123833040] (0.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 5 bytes -2012-10-18 16:28:16.984403 T [1210:70344123833040] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/fooH -2012-10-18 16:28:16.984403 T [1210:70344123833040] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/fooH -- " /test/fooH -2012-10-18 16:28:16.985730 D [1210:70344123833040] (1.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 30 bytes -2012-10-18 16:28:16.985730 D [1210:70344123833040] (1.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 30 bytes -2012-10-18 16:28:16.985785 T [1210:70344123833040] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x02" -2012-10-18 16:28:16.985785 T [1210:70344123833040] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x02" -- "\x00\x00\x00\x02" -2012-10-18 16:28:16.985795 D [1210:70344123833040] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:28:16.985795 D [1210:70344123833040] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:28:16.985858 T [1210:70344123833040] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00" -2012-10-18 16:28:16.985858 T [1210:70344123833040] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00" -- "\b\x00" -2012-10-18 16:28:16.985868 D [1210:70344123833040] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 2 bytes -2012-10-18 16:28:16.985868 D [1210:70344123833040] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 2 bytes -2012-10-18 16:28:16.986023 T [1210:70344123833040] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007ff48934b770@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -2012-10-18 16:28:16.986023 T [1210:70344123833040] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007ff48934b770@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007ff48934b770@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -2012-10-18 16:28:16.986866 T [1210:70344123833040] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending --  -2012-10-18 16:28:16.986866 T [1210:70344123833040] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending --  --  -2012-10-18 16:28:16.987158 D [1210:70344123833040] (0.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 8 bytes -2012-10-18 16:28:16.987158 D [1210:70344123833040] (0.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 8 bytes -2012-10-18 16:28:16.987220 T [1210:70344123833040] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x06" -2012-10-18 16:28:16.987220 T [1210:70344123833040] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x06" -- "\x00\x00\x00\x06" -2012-10-18 16:28:16.987230 D [1210:70344123833040] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:28:16.987230 D [1210:70344123833040] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:28:16.987290 T [1210:70344123833040] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xA1\xD2\x03" -2012-10-18 16:28:16.987290 T [1210:70344123833040] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xA1\xD2\x03" -- "\b\x00\x18\xA1\xD2\x03" -2012-10-18 16:28:16.987300 D [1210:70344123833040] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 6 bytes -2012-10-18 16:28:16.987300 D [1210:70344123833040] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 6 bytes -2012-10-18 16:28:16.988254 T [1210:70344123833040] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/fooH -2012-10-18 16:28:16.988254 T [1210:70344123833040] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/fooH -- " /test/fooH -2012-10-18 16:28:16.989378 D [1210:70344123833040] (1.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 30 bytes -2012-10-18 16:28:16.989378 D [1210:70344123833040] (1.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 30 bytes -2012-10-18 16:28:16.989430 T [1210:70344123833040] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x02" -2012-10-18 16:28:16.989430 T [1210:70344123833040] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x02" -- "\x00\x00\x00\x02" -2012-10-18 16:28:16.989440 D [1210:70344123833040] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:28:16.989440 D [1210:70344123833040] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:28:16.989534 T [1210:70344123833040] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00" -2012-10-18 16:28:16.989534 T [1210:70344123833040] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00" -- "\b\x00" -2012-10-18 16:28:16.989544 D [1210:70344123833040] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 2 bytes -2012-10-18 16:28:16.989544 D [1210:70344123833040] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 2 bytes -2012-10-18 16:28:16.989676 T [1210:70344123833040] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007ff4893559a0@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -2012-10-18 16:28:16.989676 T [1210:70344123833040] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007ff4893559a0@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007ff4893559a0@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -2012-10-18 16:28:16.990579 T [1210:70344123833040] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "" /test/foo*value2H -2012-10-18 16:28:16.990579 T [1210:70344123833040] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "" /test/foo*value2H -- "" /test/foo*value2H -2012-10-18 16:28:16.991717 D [1210:70344123833040] (1.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 38 bytes -2012-10-18 16:28:16.991717 D [1210:70344123833040] (1.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 38 bytes -2012-10-18 16:28:16.991775 T [1210:70344123833040] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x06" -2012-10-18 16:28:16.991775 T [1210:70344123833040] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x06" -- "\x00\x00\x00\x06" -2012-10-18 16:28:16.991785 D [1210:70344123833040] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:28:16.991785 D [1210:70344123833040] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:28:16.991843 T [1210:70344123833040] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xA3\xD2\x03" -2012-10-18 16:28:16.991843 T [1210:70344123833040] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xA3\xD2\x03" -- "\b\x00\x18\xA3\xD2\x03" -2012-10-18 16:28:16.991853 D [1210:70344123833040] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 6 bytes -2012-10-18 16:28:16.991853 D [1210:70344123833040] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 6 bytes -2012-10-18 16:28:16.992131 T [1210:70344123833040] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/foo -2012-10-18 16:28:16.992131 T [1210:70344123833040] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/foo -- " /test/foo -2012-10-18 16:28:16.992350 D [1210:70344123833040] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 19 bytes -2012-10-18 16:28:16.992350 D [1210:70344123833040] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 19 bytes -2012-10-18 16:28:16.992401 T [1210:70344123833040] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x0E" -2012-10-18 16:28:16.992401 T [1210:70344123833040] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x0E" -- "\x00\x00\x00\x0E" -2012-10-18 16:28:16.992411 D [1210:70344123833040] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:28:16.992411 D [1210:70344123833040] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:28:16.992468 T [1210:70344123833040] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xA3\xD2\x032\x06value2" -2012-10-18 16:28:16.992468 T [1210:70344123833040] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xA3\xD2\x032\x06value2" -- "\b\x00\x18\xA3\xD2\x032\x06value2" -2012-10-18 16:28:16.992477 D [1210:70344123833040] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 14 bytes -2012-10-18 16:28:16.992477 D [1210:70344123833040] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 14 bytes -2012-10-18 16:28:16.993445 T [1210:70344123833040] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/fooH -2012-10-18 16:28:16.993445 T [1210:70344123833040] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/fooH -- " /test/fooH -2012-10-18 16:28:16.995259 D [1210:70344123833040] (1.8ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 30 bytes -2012-10-18 16:28:16.995259 D [1210:70344123833040] (1.8ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 30 bytes -2012-10-18 16:28:16.995317 T [1210:70344123833040] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x02" -2012-10-18 16:28:16.995317 T [1210:70344123833040] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x02" -- "\x00\x00\x00\x02" -2012-10-18 16:28:16.995327 D [1210:70344123833040] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:28:16.995327 D [1210:70344123833040] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:28:16.995384 T [1210:70344123833040] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00" -2012-10-18 16:28:16.995384 T [1210:70344123833040] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00" -- "\b\x00" -2012-10-18 16:28:16.995394 D [1210:70344123833040] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 2 bytes -2012-10-18 16:28:16.995394 D [1210:70344123833040] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 2 bytes -2012-10-18 16:28:16.995547 T [1210:70344123833040] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007ff4898b89b0@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -2012-10-18 16:28:16.995547 T [1210:70344123833040] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007ff4898b89b0@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007ff4898b89b0@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -2012-10-18 16:28:17.005327 T [1210:70344123833040] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- !" /test/foo*valueH -2012-10-18 16:28:17.005327 T [1210:70344123833040] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- !" /test/foo*valueH -- !" /test/foo*valueH -2012-10-18 16:28:17.024729 D [1210:70344123833040] (19.4ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 37 bytes -2012-10-18 16:28:17.024729 D [1210:70344123833040] (19.4ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 37 bytes -2012-10-18 16:28:17.025028 T [1210:70344123833040] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x06" -2012-10-18 16:28:17.025028 T [1210:70344123833040] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x06" -- "\x00\x00\x00\x06" -2012-10-18 16:28:17.025070 D [1210:70344123833040] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:28:17.025070 D [1210:70344123833040] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:28:17.025402 T [1210:70344123833040] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xA5\xD2\x03" -2012-10-18 16:28:17.025402 T [1210:70344123833040] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xA5\xD2\x03" -- "\b\x00\x18\xA5\xD2\x03" -2012-10-18 16:28:17.025443 D [1210:70344123833040] (0.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 6 bytes -2012-10-18 16:28:17.025443 D [1210:70344123833040] (0.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 6 bytes -2012-10-18 16:28:17.026318 T [1210:70344123833040] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/foo -2012-10-18 16:28:17.026318 T [1210:70344123833040] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/foo -- " /test/foo -2012-10-18 16:28:17.026945 D [1210:70344123833040] (0.6ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 19 bytes -2012-10-18 16:28:17.026945 D [1210:70344123833040] (0.6ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 19 bytes -2012-10-18 16:28:17.027188 T [1210:70344123833040] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\r" -2012-10-18 16:28:17.027188 T [1210:70344123833040] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\r" -- "\x00\x00\x00\r" -2012-10-18 16:28:17.027228 D [1210:70344123833040] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:28:17.027228 D [1210:70344123833040] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:28:17.027586 T [1210:70344123833040] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xA5\xD2\x032\x05value" -2012-10-18 16:28:17.027586 T [1210:70344123833040] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xA5\xD2\x032\x05value" -- "\b\x00\x18\xA5\xD2\x032\x05value" -2012-10-18 16:28:17.027626 D [1210:70344123833040] (0.4ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 13 bytes -2012-10-18 16:28:17.027626 D [1210:70344123833040] (0.4ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 13 bytes -2012-10-18 16:28:17.029112 T [1210:70344123833040] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/fooH -2012-10-18 16:28:17.029112 T [1210:70344123833040] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/fooH -- " /test/fooH -2012-10-18 16:28:17.030573 D [1210:70344123833040] (1.4ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 30 bytes -2012-10-18 16:28:17.030573 D [1210:70344123833040] (1.4ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 30 bytes -2012-10-18 16:28:17.030631 T [1210:70344123833040] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x02" -2012-10-18 16:28:17.030631 T [1210:70344123833040] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x02" -- "\x00\x00\x00\x02" -2012-10-18 16:28:17.030641 D [1210:70344123833040] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:28:17.030641 D [1210:70344123833040] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:28:17.030745 T [1210:70344123833040] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00" -2012-10-18 16:28:17.030745 T [1210:70344123833040] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00" -- "\b\x00" -2012-10-18 16:28:17.030756 D [1210:70344123833040] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 2 bytes -2012-10-18 16:28:17.030756 D [1210:70344123833040] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 2 bytes -2012-10-18 16:28:17.030934 T [1210:70344123833040] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:9999", :connect_retry_interval=>0.1, :connect_retry_count=>5, :read_timeout=>5, :connect_timeout=>3, :buffered=>false, :on_connect=>#<Proc:0x007ff48922ea40@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -2012-10-18 16:28:17.030934 T [1210:70344123833040] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:9999", :connect_retry_interval=>0.1, :connect_retry_count=>5, :read_timeout=>5, :connect_timeout=>3, :buffered=>false, :on_connect=>#<Proc:0x007ff48922ea40@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -- {:server=>"localhost:9999", :connect_retry_interval=>0.1, :connect_retry_count=>5, :read_timeout=>5, :connect_timeout=>3, :buffered=>false, :on_connect=>#<Proc:0x007ff48922ea40@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -2012-10-18 16:28:17.036676 W [1210:70344123833040] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 1 -2012-10-18 16:28:17.036676 W [1210:70344123833040] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 1 -2012-10-18 16:28:17.137927 W [1210:70344123833040] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 2 -2012-10-18 16:28:17.137927 W [1210:70344123833040] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 2 -2012-10-18 16:28:17.239497 W [1210:70344123833040] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 3 -2012-10-18 16:28:17.239497 W [1210:70344123833040] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 3 -2012-10-18 16:28:17.341397 W [1210:70344123833040] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 4 -2012-10-18 16:28:17.341397 W [1210:70344123833040] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 4 -2012-10-18 16:28:17.442385 W [1210:70344123833040] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 5 -2012-10-18 16:28:17.442385 W [1210:70344123833040] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 5 -2012-10-18 16:28:17.543611 E [1210:70344123833040] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Giving up after 5 retries -2012-10-18 16:28:17.543611 E [1210:70344123833040] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Giving up after 5 retries -2012-10-18 16:28:17.543737 I [1210:70344123833040] (512.7ms) ResilientSocket::TCPClient ["localhost:9999"] -- Connecting to server localhost:9999 -- ResilientSocket::ConnectionFailure: After 5 connection attempts to host 'localhost:9999': Errno::ECONNREFUSED: Connection refused - connect(2) -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:570:in `rescue in block in connect_to_server' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:548:in `block in connect_to_server' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.7.0/lib/semantic_logger/base.rb:181:in `benchmark_info' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:541:in `connect_to_server' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:304:in `connect' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:232:in `initialize' +2012-12-05 15:40:26.941787 T [44570:70332875743620] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xFF\x1A*+/services/TestService/1/Test/localhost/21002\xCD\x01{\"Config\":{\"UUID\":\"localhost:2100-44570-TestService-70332875646680\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-05 15:40:26.941808 D [44570:70332875743620] (12.9ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 260 bytes +2012-12-05 15:40:26.942074 D [44570:70332875743620] RubySkynet::Registry -- #monitor Add/Update Service: TestService/1/Test => localhost:2100 +2012-12-05 15:40:26.942086 D [44570:70332875743620] RubySkynet::Registry -- Updated registry -- {"TestService/1/Test"=>["localhost:2100"]} +2012-12-05 15:40:26.942369 T [44570:70332875743620] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-05 15:40:26.942421 D [44570:70332875743620] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 15:40:26.942660 I [44570:70332879316800] RubySkynet::Server -- Skynet Server Stopped +2012-12-05 15:40:26.942733 D [44570:70332879316800] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fef4ca16060>(70332879777840) self=connections=70332879777840 checked_out=70332879777840 with_map= +2012-12-05 15:40:26.942959 T [44570:70332879316800] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- <"+/services/TestService/1/Test/localhost/2100H +2012-12-05 15:40:26.942999 D [44570:70332879316800] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 64 bytes +2012-12-05 15:40:26.950300 T [44570:70332879316800] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 15:40:26.950318 D [44570:70332879316800] (7.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:40:26.950583 T [44570:70332879316800] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00" +2012-12-05 15:40:26.950589 D [44570:70332879316800] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 2 bytes +2012-12-05 15:40:26.950679 D [44570:70332879316800] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fef4ca16060>(70332879777840) self=connections=70332879777840 checked_out= with_map= +2012-12-05 15:40:26.950700 I [44570:70332879316800] RubySkynet::Server -- Skynet Services De-registered in Doozer +2012-12-05 15:40:26.953254 D [44570:70332879322200] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fef4ca16060>(70332879777840) self=connections=70332879777840 checked_out=70332879777840 with_map= +2012-12-05 15:40:26.953640 T [44570:70332879322200] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "+/services/TestService/1/Test/localhost/2100*{"Config":{"UUID":"localhost:2100-44570-TestService-70332875646680","Name":"TestService","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"localhost","Port":2100,"MaxPort":3099}},"Registered":true}H +2012-12-05 15:40:26.953714 D [44570:70332879322200] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 272 bytes +2012-12-05 15:40:26.954789 T [44570:70332875743620] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x006" +2012-12-05 15:40:26.954797 D [44570:70332875743620] (12.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:40:26.954864 T [44570:70332875743620] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\b\x18\x80\e*+/services/TestService/1/Test/localhost/21002\x00" +2012-12-05 15:40:26.954870 D [44570:70332875743620] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 54 bytes +2012-12-05 15:40:26.955083 D [44570:70332875743620] RubySkynet::Registry -- #monitor Service stopped, remove: TestService/1/Test => localhost:2100 +2012-12-05 15:40:26.955104 D [44570:70332875743620] RubySkynet::Registry -- Updated registry -- {"TestService/1/Test"=>["localhost:2100"]} +2012-12-05 15:40:26.955288 T [44570:70332875743620] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-05 15:40:26.955351 D [44570:70332875743620] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 15:40:26.955401 T [44570:70332879322200] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 15:40:26.955407 D [44570:70332879322200] (1.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:40:26.956017 T [44570:70332879322200] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\x81\e" +2012-12-05 15:40:26.956024 D [44570:70332879322200] (0.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 15:40:26.956098 D [44570:70332879322200] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fef4ca16060>(70332879777840) self=connections=70332879777840 checked_out= with_map= +2012-12-05 15:40:26.956467 T [44570:70332875743620] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01\x04" +2012-12-05 15:40:26.956474 D [44570:70332875743620] (1.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:40:26.956634 T [44570:70332875743620] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\x81\e*+/services/TestService/1/Test/localhost/21002\xCD\x01{\"Config\":{\"UUID\":\"localhost:2100-44570-TestService-70332875646680\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-05 15:40:26.956640 D [44570:70332875743620] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 260 bytes +2012-12-05 15:40:26.956771 D [44570:70332875743620] RubySkynet::Registry -- #monitor Add/Update Service: TestService/1/Test => localhost:2100 +2012-12-05 15:40:26.956782 D [44570:70332875743620] RubySkynet::Registry -- Updated registry -- {"TestService/1/Test"=>["localhost:2100"]} +2012-12-05 15:40:26.956960 T [44570:70332875743620] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-05 15:40:26.957022 D [44570:70332875743620] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 15:40:26.960345 I [44570:70332879322200] RubySkynet::Server -- Starting listener on localhost:2100 +2012-12-05 15:40:26.960369 D [44570:70332879322200] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 15:40:26.967791 I [44570:70332879322200] RubySkynet::Server -- Skynet Server Stopped +2012-12-05 15:40:26.967914 D [44570:70332879322200] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fef4ca16060>(70332879777840) self=connections=70332879777840 checked_out=70332879777840 with_map= +2012-12-05 15:40:26.968284 T [44570:70332879322200] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- <"+/services/TestService/1/Test/localhost/2100H +2012-12-05 15:40:26.968414 D [44570:70332879322200] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 64 bytes +2012-12-05 15:40:26.969814 T [44570:70332879322200] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 15:40:26.969823 D [44570:70332879322200] (1.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:40:26.970054 T [44570:70332879322200] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00" +2012-12-05 15:40:26.970061 D [44570:70332879322200] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 2 bytes +2012-12-05 15:40:26.970149 D [44570:70332879322200] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fef4ca16060>(70332879777840) self=connections=70332879777840 checked_out= with_map= +2012-12-05 15:40:26.970165 I [44570:70332879322200] RubySkynet::Server -- Skynet Services De-registered in Doozer +2012-12-05 15:40:26.971612 D [44570:70332879295880] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fef4ca16060>(70332879777840) self=connections=70332879777840 checked_out=70332879777840 with_map= +2012-12-05 15:40:26.971976 T [44570:70332879295880] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "+/services/TestService/1/Test/localhost/2100*{"Config":{"UUID":"localhost:2100-44570-TestService-70332875646680","Name":"TestService","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"localhost","Port":2100,"MaxPort":3099}},"Registered":true}H +2012-12-05 15:40:26.972047 D [44570:70332879295880] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 272 bytes +2012-12-05 15:40:26.973749 T [44570:70332879295880] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 15:40:26.973757 D [44570:70332879295880] (1.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:40:26.974040 T [44570:70332875743620] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x006" +2012-12-05 15:40:26.974251 D [44570:70332875743620] (17.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:40:26.974334 T [44570:70332875743620] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\b\x18\x82\e*+/services/TestService/1/Test/localhost/21002\x00" +2012-12-05 15:40:26.974367 D [44570:70332875743620] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 54 bytes +2012-12-05 15:40:26.974564 D [44570:70332875743620] RubySkynet::Registry -- #monitor Service stopped, remove: TestService/1/Test => localhost:2100 +2012-12-05 15:40:26.974585 D [44570:70332875743620] RubySkynet::Registry -- Updated registry -- {"TestService/1/Test"=>["localhost:2100"]} +2012-12-05 15:40:26.974791 T [44570:70332875743620] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-05 15:40:26.974831 D [44570:70332875743620] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 15:40:26.974932 T [44570:70332879295880] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\x83\e" +2012-12-05 15:40:26.974939 D [44570:70332879295880] (1.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 15:40:26.975015 D [44570:70332879295880] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fef4ca16060>(70332879777840) self=connections=70332879777840 checked_out= with_map= +2012-12-05 15:40:26.975446 T [44570:70332875743620] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01\x04" +2012-12-05 15:40:26.975453 D [44570:70332875743620] (0.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:40:26.975616 T [44570:70332875743620] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\x83\e*+/services/TestService/1/Test/localhost/21002\xCD\x01{\"Config\":{\"UUID\":\"localhost:2100-44570-TestService-70332875646680\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-05 15:40:26.975623 D [44570:70332875743620] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 260 bytes +2012-12-05 15:40:26.975789 D [44570:70332875743620] RubySkynet::Registry -- #monitor Add/Update Service: TestService/1/Test => localhost:2100 +2012-12-05 15:40:26.975800 D [44570:70332875743620] RubySkynet::Registry -- Updated registry -- {} +2012-12-05 15:40:26.975978 T [44570:70332875743620] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-05 15:40:26.976040 D [44570:70332875743620] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 15:40:26.985825 I [44570:70332879295880] RubySkynet::Server -- Starting listener on localhost:2100 +2012-12-05 15:40:26.985851 D [44570:70332879295880] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 15:40:26.987201 D [44570:70332874709720] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fef4ca16060>(70332879777840) self=connections=70332879777840 checked_out=70332879777840 with_map= +2012-12-05 15:40:26.987530 T [44570:70332874709720] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- 1"+/services/TestService/1/Test/localhost/2100 +2012-12-05 15:40:26.987651 D [44570:70332874709720] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 53 bytes +2012-12-05 15:40:26.987850 T [44570:70332874709720] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\xD5" +2012-12-05 15:40:26.987858 D [44570:70332874709720] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:40:26.987953 T [44570:70332874709720] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\x83\e2\xCD\x01{\"Config\":{\"UUID\":\"localhost:2100-44570-TestService-70332875646680\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-05 15:40:26.987959 D [44570:70332874709720] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 213 bytes +2012-12-05 15:40:26.988094 D [44570:70332874709720] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fef4ca16060>(70332879777840) self=connections=70332879777840 checked_out= with_map= +2012-12-05 15:40:26.988389 I [44570:70332879295880] RubySkynet::Server -- Skynet Server Stopped +2012-12-05 15:40:26.988454 D [44570:70332879295880] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fef4ca16060>(70332879777840) self=connections=70332879777840 checked_out=70332879777840 with_map= +2012-12-05 15:40:26.988727 T [44570:70332879295880] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- <"+/services/TestService/1/Test/localhost/2100H +2012-12-05 15:40:26.988805 D [44570:70332879295880] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 64 bytes +2012-12-05 15:40:26.993340 T [44570:70332875743620] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x006" +2012-12-05 15:40:26.993356 D [44570:70332875743620] (17.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:40:26.993455 T [44570:70332879295880] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 15:40:26.993463 D [44570:70332879295880] (4.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:40:26.993516 T [44570:70332875743620] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\b\x18\x84\e*+/services/TestService/1/Test/localhost/21002\x00" +2012-12-05 15:40:26.993522 D [44570:70332875743620] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 54 bytes +2012-12-05 15:40:26.993694 D [44570:70332875743620] RubySkynet::Registry -- #monitor Service stopped, remove: TestService/1/Test => localhost:2100 +2012-12-05 15:40:26.993714 D [44570:70332875743620] RubySkynet::Registry -- Updated registry -- {} +2012-12-05 15:40:26.993935 T [44570:70332875743620] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-05 15:40:26.993977 D [44570:70332875743620] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 15:40:26.994187 T [44570:70332879295880] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00" +2012-12-05 15:40:26.994194 D [44570:70332879295880] (0.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 2 bytes +2012-12-05 15:40:26.994264 D [44570:70332879295880] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fef4ca16060>(70332879777840) self=connections=70332879777840 checked_out= with_map= +2012-12-05 15:40:26.994285 I [44570:70332879295880] RubySkynet::Server -- Skynet Services De-registered in Doozer +2012-12-05 15:41:55.192641 D [44598:70153891175120] RubySkynet::Server -- Registering Service: TestService with name: TestService +2012-12-05 15:41:55.194169 I [44598:70153891175120] Celluloid -- Terminating 4 actors... +2012-12-05 15:41:55.195069 I [44598:70153891175120] Celluloid -- Shutdown completed cleanly +2012-12-05 15:41:55.197147 T [44598:70153891175120] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007f9bf4149f00@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 15:41:55.203756 T [44598:70153891175120] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "/8 +2012-12-05 15:41:55.203856 D [44598:70153891175120] (0.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 13 bytes +2012-12-05 15:41:55.204178 T [44598:70153891175120] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\a" +2012-12-05 15:41:55.204189 D [44598:70153891175120] (0.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 15:41:55.204390 T [44598:70153891175120] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00*\x03ctl" +2012-12-05 15:41:55.204400 D [44598:70153891175120] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 7 bytes +2012-12-05 15:41:55.204719 T [44598:70153891175120] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "/8 +2012-12-05 15:41:55.204763 D [44598:70153891175120] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 13 bytes +2012-12-05 15:41:55.205070 T [44598:70153891175120] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 15:41:55.205077 D [44598:70153891175120] (0.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 15:41:55.205163 T [44598:70153891175120] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\xA0\x06\b" +2012-12-05 15:41:55.205170 D [44598:70153891175120] (0.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 5 bytes +2012-12-05 15:41:55.206617 T [44598:70153891175120] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/fooH +2012-12-05 15:41:55.206659 D [44598:70153891175120] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 30 bytes +2012-12-05 15:41:55.208025 T [44598:70153891175120] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 15:41:55.208037 D [44598:70153891175120] (1.4ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 15:41:55.209741 T [44598:70153891175120] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00" +2012-12-05 15:41:55.209753 D [44598:70153891175120] (1.7ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 2 bytes +2012-12-05 15:41:55.210118 T [44598:70153891175120] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007f9bf449a4e8@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 15:41:55.212032 T [44598:70153891175120] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending --  +2012-12-05 15:41:55.212086 D [44598:70153891175120] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 8 bytes +2012-12-05 15:41:55.213671 T [44598:70153891175120] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 15:41:55.213680 D [44598:70153891175120] (1.6ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 15:41:55.213755 T [44598:70153891175120] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xDD\e" +2012-12-05 15:41:55.213761 D [44598:70153891175120] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 5 bytes +2012-12-05 15:41:55.215228 T [44598:70153891175120] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/fooH +2012-12-05 15:41:55.215475 D [44598:70153891175120] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 30 bytes +2012-12-05 15:41:55.216604 T [44598:70153891175120] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 15:41:55.216616 D [44598:70153891175120] (1.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 15:41:55.216899 T [44598:70153891175120] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00" +2012-12-05 15:41:55.216906 D [44598:70153891175120] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 2 bytes +2012-12-05 15:41:55.217706 T [44598:70153891175120] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007f9bf3c98c18@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 15:41:55.220580 T [44598:70153891175120] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "" /test/foo*value2H +2012-12-05 15:41:55.220863 D [44598:70153891175120] (0.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 38 bytes +2012-12-05 15:41:55.222573 T [44598:70153891175120] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 15:41:55.222585 D [44598:70153891175120] (1.7ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 15:41:55.225634 T [44598:70153891175120] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xDF\e" +2012-12-05 15:41:55.225664 D [44598:70153891175120] (3.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 5 bytes +2012-12-05 15:41:55.225948 T [44598:70153891175120] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/foo +2012-12-05 15:41:55.226000 D [44598:70153891175120] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 19 bytes +2012-12-05 15:41:55.226277 T [44598:70153891175120] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\r" +2012-12-05 15:41:55.226284 D [44598:70153891175120] (0.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 15:41:55.226388 T [44598:70153891175120] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xDF\e2\x06value2" +2012-12-05 15:41:55.226394 D [44598:70153891175120] (0.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 13 bytes +2012-12-05 15:41:55.227584 T [44598:70153891175120] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/fooH +2012-12-05 15:41:55.227712 D [44598:70153891175120] (0.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 30 bytes +2012-12-05 15:41:55.230984 T [44598:70153891175120] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 15:41:55.231001 D [44598:70153891175120] (3.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 15:41:55.231482 T [44598:70153891175120] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00" +2012-12-05 15:41:55.231493 D [44598:70153891175120] (0.4ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 2 bytes +2012-12-05 15:41:55.231941 T [44598:70153891175120] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007f9bf3a78ff0@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 15:41:55.241491 T [44598:70153891175120] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- !" /test/foo*valueH +2012-12-05 15:41:55.241557 D [44598:70153891175120] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 37 bytes +2012-12-05 15:41:55.246222 T [44598:70153891175120] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 15:41:55.246242 D [44598:70153891175120] (4.7ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 15:41:55.246338 T [44598:70153891175120] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xE1\e" +2012-12-05 15:41:55.246344 D [44598:70153891175120] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 5 bytes +2012-12-05 15:41:55.246643 T [44598:70153891175120] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/foo +2012-12-05 15:41:55.246721 D [44598:70153891175120] (0.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 19 bytes +2012-12-05 15:41:55.246888 T [44598:70153891175120] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\f" +2012-12-05 15:41:55.246894 D [44598:70153891175120] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 15:41:55.247019 T [44598:70153891175120] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xE1\e2\x05value" +2012-12-05 15:41:55.247036 D [44598:70153891175120] (0.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 12 bytes +2012-12-05 15:41:55.248914 T [44598:70153891175120] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/fooH +2012-12-05 15:41:55.249010 D [44598:70153891175120] (0.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 30 bytes +2012-12-05 15:41:55.251229 T [44598:70153891175120] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 15:41:55.251242 D [44598:70153891175120] (2.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 15:41:55.251625 T [44598:70153891175120] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00" +2012-12-05 15:41:55.251636 D [44598:70153891175120] (0.4ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 2 bytes +2012-12-05 15:41:55.251984 T [44598:70153891175120] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:9999", :connect_retry_interval=>0.1, :connect_retry_count=>5, :read_timeout=>5, :connect_timeout=>3, :buffered=>false, :on_connect=>#<Proc:0x007f9bf3c39038@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 15:41:55.252976 W [44598:70153891175120] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 1 +2012-12-05 15:41:55.354456 W [44598:70153891175120] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 2 +2012-12-05 15:41:55.455423 W [44598:70153891175120] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 3 +2012-12-05 15:41:55.571237 W [44598:70153891175120] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 4 +2012-12-05 15:41:55.672703 W [44598:70153891175120] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 5 +2012-12-05 15:41:55.778173 E [44598:70153891175120] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Giving up after 5 retries +2012-12-05 15:41:55.779392 I [44598:70153891175120] (527.3ms) ResilientSocket::TCPClient ["localhost:9999"] -- Connecting to server localhost:9999 -- ResilientSocket::ConnectionFailure: After 5 connection attempts to host 'localhost:9999': Errno::ECONNREFUSED: Connection refused - connect(2) +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:578:in `rescue in block in connect_to_server' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:549:in `block in connect_to_server' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_info' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:542:in `connect_to_server' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:305:in `connect' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:233:in `initialize' /Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:36:in `new' /Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:36:in `initialize' -/Users/rmorrison/Sandbox/ruby_skynet/test/doozer_client_test.rb:22:in `new' -/Users/rmorrison/Sandbox/ruby_skynet/test/doozer_client_test.rb:22:in `block (4 levels) in <class:DoozerClientTest>' +/Users/rmorrison/Sandbox/ruby_skynet/test/doozer_client_test.rb:19:in `new' +/Users/rmorrison/Sandbox/ruby_skynet/test/doozer_client_test.rb:19:in `block (4 levels) in <class:DoozerClientTest>' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:330:in `assert_raises' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/assertions.rb:69:in `assert_raise' -/Users/rmorrison/Sandbox/ruby_skynet/test/doozer_client_test.rb:21:in `block (3 levels) in <class:DoozerClientTest>' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.0/lib/shoulda/context/context.rb:398:in `call' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.0/lib/shoulda/context/context.rb:398:in `block in create_test_from_should_hash' -/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:949:in `run' +/Users/rmorrison/Sandbox/ruby_skynet/test/doozer_client_test.rb:18:in `block (3 levels) in <class:DoozerClientTest>' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `block in create_test_from_should_hash' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/mocha-0.10.5/lib/mocha/integration/mini_test/version_230_to_262.rb:28:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/testcase.rb:17:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:787:in `block in _run_suite' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `map' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `_run_suite' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:565:in `block in _run_suites' @@ -3517,27 +8613,174 @@ /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:884:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:21:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:326:in `block (2 levels) in autorun' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:27:in `run_once' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:325:in `block in autorun' -2012-10-18 16:28:17.543737 I [1210:70344123833040] (512.7ms) ResilientSocket::TCPClient ["localhost:9999"] -- Connecting to server localhost:9999 -- ResilientSocket::ConnectionFailure: After 5 connection attempts to host 'localhost:9999': Errno::ECONNREFUSED: Connection refused - connect(2) -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:570:in `rescue in block in connect_to_server' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:548:in `block in connect_to_server' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.7.0/lib/semantic_logger/base.rb:181:in `benchmark_info' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:541:in `connect_to_server' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:304:in `connect' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:232:in `initialize' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:36:in `new' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:36:in `initialize' -/Users/rmorrison/Sandbox/ruby_skynet/test/doozer_client_test.rb:22:in `new' -/Users/rmorrison/Sandbox/ruby_skynet/test/doozer_client_test.rb:22:in `block (4 levels) in <class:DoozerClientTest>' +2012-12-05 15:41:55.782726 D [44598:70153891607320] SimpleServer -- Waiting for a client to connect +2012-12-05 15:41:55.788236 D [44598:70153891175120] RubySkynet::Registry -- Doozer Connection Pool: Created connection #1 #<Thread:0x007f9bf386b5a0>(70153891175120) for Doozer Connection Pool +2012-12-05 15:41:55.788305 T [44598:70153891175120] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007f9bf3a7fe40@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 15:41:55.790349 D [44598:70153891175120] RubySkynet::Registry -- Doozer Connection Pool: Renewed connection old=70153891175120 new=#<RubySkynet::Doozer::Client:0x007f9bf3a800c0>(70153892266080) +2012-12-05 15:41:55.790389 D [44598:70153891175120] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f9bf3a800c0>(70153892266080) self=connections=70153892266080 checked_out=70153892266080 with_map= +2012-12-05 15:41:55.804242 T [44598:70153891175120] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "+/services/TestService/1/Test/127.0.0.1/2000*{"Config":{"UUID":"3978b371-15e9-40f8-9b7b-59ae88d8c7ec","Name":"TestService","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"127.0.0.1","Port":2000,"MaxPort":2999}},"Registered":true}H +2012-12-05 15:41:55.804458 D [44598:70153891175120] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 261 bytes +2012-12-05 15:41:55.806511 T [44598:70153891175120] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 15:41:55.806525 D [44598:70153891175120] (2.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:41:55.806788 T [44598:70153891175120] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xE4\e" +2012-12-05 15:41:55.806799 D [44598:70153891175120] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 15:41:55.806916 D [44598:70153891175120] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007f9bf3a800c0>(70153892266080) self=connections=70153892266080 checked_out= with_map= +2012-12-05 15:41:55.815007 D [44598:70153891175120] [50bfb1936b6933ae36000001] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f9bf3a800c0>(70153892266080) self=connections=70153892266080 checked_out=70153892266080 with_map= +2012-12-05 15:41:55.815348 T [44598:70153891175120] [50bfb1936b6933ae36000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  +2012-12-05 15:41:55.815489 D [44598:70153891175120] [50bfb1936b6933ae36000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 8 bytes +2012-12-05 15:41:55.822821 T [44598:70153891175120] [50bfb1936b6933ae36000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 15:41:55.822839 D [44598:70153891175120] [50bfb1936b6933ae36000001] (7.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:41:55.822928 T [44598:70153891175120] [50bfb1936b6933ae36000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xE4\e" +2012-12-05 15:41:55.822934 D [44598:70153891175120] [50bfb1936b6933ae36000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 15:41:55.824133 T [44598:70153891175120] [50bfb1936b6933ae36000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H +2012-12-05 15:41:55.824203 D [44598:70153891175120] [50bfb1936b6933ae36000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-05 15:41:55.829259 T [44598:70153891175120] [50bfb1936b6933ae36000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\xF9" +2012-12-05 15:41:55.829277 D [44598:70153891175120] [50bfb1936b6933ae36000001] (5.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:41:55.829372 T [44598:70153891175120] [50bfb1936b6933ae36000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xE4\e*+/services/TestService/1/Test/127.0.0.1/20002\xC2\x01{\"Config\":{\"UUID\":\"3978b371-15e9-40f8-9b7b-59ae88d8c7ec\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"127.0.0.1\",\"Port\":2000,\"MaxPort\":2999}},\"Registered\":true}" +2012-12-05 15:41:55.829378 D [44598:70153891175120] [50bfb1936b6933ae36000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 249 bytes +2012-12-05 15:41:55.829734 T [44598:70153891175120] [50bfb1936b6933ae36000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H +2012-12-05 15:41:55.829771 D [44598:70153891175120] [50bfb1936b6933ae36000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-05 15:41:55.831073 T [44598:70153891175120] [50bfb1936b6933ae36000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 15:41:55.831092 D [44598:70153891175120] [50bfb1936b6933ae36000001] (1.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:41:55.831181 T [44598:70153891175120] [50bfb1936b6933ae36000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\xA0\x06\b" +2012-12-05 15:41:55.831187 D [44598:70153891175120] [50bfb1936b6933ae36000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 15:41:55.831481 D [44598:70153891175120] [50bfb1936b6933ae36000001] RubySkynet::Registry -- #start_monitoring Add Service: TestService/1/Test => 127.0.0.1:2000 +2012-12-05 15:41:55.831542 D [44598:70153891175120] [50bfb1936b6933ae36000001] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007f9bf3a800c0>(70153892266080) self=connections=70153892266080 checked_out= with_map= +2012-12-05 15:41:55.835710 D [44598:70153891175120] [50bfb1936b6933ae36000001] RubySkynet::Connection: 127.0.0.1:2000 -- Waiting for Service Handshake +2012-12-05 15:41:55.837572 I [44598:70153897133640] RubySkynet::Registry -- Start monitoring /services/*/*/*/*/* +2012-12-05 15:41:55.837654 T [44598:70153897133640] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007f9bf3cf7948@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 15:41:55.838883 D [44598:70153891607320] SimpleServer -- Waiting for a client to connect +2012-12-05 15:41:55.838982 D [44598:70153891607320] SimpleServer -- Client connected, waiting for data from client +2012-12-05 15:41:55.840140 T [44598:70153891175120] [50bfb1936b6933ae36000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "$\x00\x00\x00" +2012-12-05 15:41:55.840154 D [44598:70153891175120] [50bfb1936b6933ae36000001] (3.7ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes +2012-12-05 15:41:55.840572 T [44598:70153897133640] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-05 15:41:55.840623 D [44598:70153897133640] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 15:41:55.840830 T [44598:70153891175120] [50bfb1936b6933ae36000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "\bregistered\x00\x01\x02clientid\x00\x04\x00\x00\x00123\x00\x00" +2012-12-05 15:41:55.840837 D [44598:70153891175120] [50bfb1936b6933ae36000001] (0.7ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 32 bytes +2012-12-05 15:41:55.840890 T [44598:70153891175120] [50bfb1936b6933ae36000001] RubySkynet::Connection: 127.0.0.1:2000 -- Service Handshake -- {"registered"=>true, "clientid"=>"123"} +2012-12-05 15:41:55.840903 D [44598:70153891175120] [50bfb1936b6933ae36000001] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Client Handshake +2012-12-05 15:41:55.840909 T [44598:70153891175120] [50bfb1936b6933ae36000001] RubySkynet::Connection: 127.0.0.1:2000 -- Client Handshake -- {"clientid"=>"123"} +2012-12-05 15:41:55.840927 T [44598:70153891175120] [50bfb1936b6933ae36000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- clientid123 +2012-12-05 15:41:55.840995 D [44598:70153891175120] [50bfb1936b6933ae36000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 23 bytes +2012-12-05 15:41:55.841063 D [44598:70153891175120] [50bfb1936b6933ae36000001] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Header +2012-12-05 15:41:55.841075 T [44598:70153891175120] [50bfb1936b6933ae36000001] RubySkynet::Connection: 127.0.0.1:2000 -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 15:41:55.841097 T [44598:70153891175120] [50bfb1936b6933ae36000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- 5servicemethodTestService.Forwardseq +2012-12-05 15:41:55.841161 D [44598:70153891175120] [50bfb1936b6933ae36000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 53 bytes +2012-12-05 15:41:55.841195 D [44598:70153891175120] [50bfb1936b6933ae36000001] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Request +2012-12-05 15:41:55.841201 T [44598:70153891175120] [50bfb1936b6933ae36000001] RubySkynet::Connection: 127.0.0.1:2000 -- Request -- {"clientid"=>"123", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"test1", "requestinfo"=>{"requestid"=>"50bfb1936b6933ae36000001", "retrycount"=>0, "originaddress"=>""}} +2012-12-05 15:41:55.841207 T [44598:70153891175120] [50bfb1936b6933ae36000001] RubySkynet::Connection: 127.0.0.1:2000 -- Parameters: -- {"some"=>"parameters"} +2012-12-05 15:41:55.841228 T [44598:70153891175120] [50bfb1936b6933ae36000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- clientid123insome parametersmethodtest1requestinfoQrequestid50bfb1936b6933ae36000001retrycountoriginaddress +2012-12-05 15:41:55.841289 D [44598:70153891175120] [50bfb1936b6933ae36000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 170 bytes +2012-12-05 15:41:55.841305 D [44598:70153891175120] [50bfb1936b6933ae36000001] RubySkynet::Connection: 127.0.0.1:2000 -- Reading header from server +2012-12-05 15:41:55.841523 D [44598:70153891607320] SimpleServer -- +****************** +2012-12-05 15:41:55.841530 D [44598:70153891607320] SimpleServer -- Received Request +2012-12-05 15:41:55.841535 T [44598:70153891607320] SimpleServer -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 15:41:55.841613 T [44598:70153891607320] SimpleServer -- Request -- {"clientid"=>"123", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"test1", "requestinfo"=>{"requestid"=>"50bfb1936b6933ae36000001", "retrycount"=>0, "originaddress"=>""}} +2012-12-05 15:41:55.841633 D [44598:70153891607320] SimpleServer -- Sending Header +2012-12-05 15:41:55.841717 D [44598:70153891607320] SimpleServer -- Sending Reply +2012-12-05 15:41:55.841725 T [44598:70153891607320] SimpleServer -- Reply -- {"result"=>"test1"} +2012-12-05 15:41:55.842045 T [44598:70153891175120] [50bfb1936b6933ae36000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "5\x00\x00\x00" +2012-12-05 15:41:55.842052 D [44598:70153891175120] [50bfb1936b6933ae36000001] (0.7ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes +2012-12-05 15:41:55.842098 T [44598:70153891175120] [50bfb1936b6933ae36000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "\x02servicemethod\x00\x14\x00\x00\x00TestService.Forward\x00\x10seq\x00\x00\x00\x00\x00\x00" +2012-12-05 15:41:55.842104 D [44598:70153891175120] [50bfb1936b6933ae36000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 49 bytes +2012-12-05 15:41:55.842133 D [44598:70153891175120] [50bfb1936b6933ae36000001] RubySkynet::Connection: 127.0.0.1:2000 -- Response Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 15:41:55.842139 D [44598:70153891175120] [50bfb1936b6933ae36000001] RubySkynet::Connection: 127.0.0.1:2000 -- Reading response from server +2012-12-05 15:41:55.842177 T [44598:70153891175120] [50bfb1936b6933ae36000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "&\x00\x00\x00" +2012-12-05 15:41:55.842182 D [44598:70153891175120] [50bfb1936b6933ae36000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes +2012-12-05 15:41:55.842227 T [44598:70153891175120] [50bfb1936b6933ae36000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "\x02out\x00\x18\x00\x00\x00\x17\x00\x00\x00\x02result\x00\x06\x00\x00\x00test1\x00\x00\x00\x00" +2012-12-05 15:41:55.842232 D [44598:70153891175120] [50bfb1936b6933ae36000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 34 bytes +2012-12-05 15:41:55.842256 T [44598:70153891175120] [50bfb1936b6933ae36000001] RubySkynet::Connection: 127.0.0.1:2000 -- Response -- {"out"=>"\x17\x00\x00\x00\x02result\x00\x06\x00\x00\x00test1\x00\x00"} +2012-12-05 15:41:55.842277 T [44598:70153891175120] [50bfb1936b6933ae36000001] RubySkynet::Connection: 127.0.0.1:2000 -- Return Value -- {"result"=>"test1"} +2012-12-05 15:41:55.842296 I [44598:70153891175120] [50bfb1936b6933ae36000001] (32.8ms) RubySkynet::Client: TestService/1/Test -- Called Skynet Service: TestService.test1 +2012-12-05 15:41:55.846751 D [44598:70153891175120] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f9bf3a800c0>(70153892266080) self=connections=70153892266080 checked_out=70153892266080 with_map= +2012-12-05 15:41:55.847090 T [44598:70153891175120] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- <"+/services/TestService/1/Test/127.0.0.1/2000H +2012-12-05 15:41:55.847146 D [44598:70153891175120] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 64 bytes +2012-12-05 15:41:55.848373 T [44598:70153897133640] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x006" +2012-12-05 15:41:55.848385 D [44598:70153897133640] (7.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:41:55.852412 T [44598:70153891175120] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 15:41:55.852424 D [44598:70153891175120] (5.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:41:55.852971 T [44598:70153897133640] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\b\x18\xE5\e*+/services/TestService/1/Test/127.0.0.1/20002\x00" +2012-12-05 15:41:55.852982 D [44598:70153897133640] (4.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 54 bytes +2012-12-05 15:41:55.853134 D [44598:70153897133640] RubySkynet::Registry -- #monitor Service stopped, remove: TestService/1/Test => 127.0.0.1:2000 +2012-12-05 15:41:55.853159 I [44598:70153897133640] RubySkynet::Registry -- Calling callback for server: 127.0.0.1:2000 +2012-12-05 15:41:55.853280 D [44598:70153897133640] RubySkynet::Connection -- Connection pool for server:127.0.0.1:2000 has been released +2012-12-05 15:41:55.853292 D [44598:70153897133640] RubySkynet::Registry -- Updated registry -- {} +2012-12-05 15:41:55.860020 T [44598:70153897133640] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-05 15:41:55.860095 D [44598:70153897133640] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 15:41:55.860272 T [44598:70153891175120] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00" +2012-12-05 15:41:55.860279 D [44598:70153891175120] (7.8ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 2 bytes +2012-12-05 15:41:55.860994 D [44598:70153891175120] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007f9bf3a800c0>(70153892266080) self=connections=70153892266080 checked_out= with_map= +2012-12-05 15:41:55.862195 D [44598:70153891600200] SimpleServer -- Waiting for a client to connect +2012-12-05 15:41:55.862445 D [44598:70153891175120] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f9bf3a800c0>(70153892266080) self=connections=70153892266080 checked_out=70153892266080 with_map= +2012-12-05 15:41:55.862862 T [44598:70153891175120] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "+/services/TestService/1/Test/127.0.0.1/2000*{"Config":{"UUID":"3978b371-15e9-40f8-9b7b-59ae88d8c7ec","Name":"TestService","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"127.0.0.1","Port":2000,"MaxPort":2999}},"Registered":true}H +2012-12-05 15:41:55.864142 D [44598:70153891175120] (1.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 261 bytes +2012-12-05 15:41:55.865576 T [44598:70153897133640] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\xF9" +2012-12-05 15:41:55.865599 D [44598:70153897133640] (5.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:41:55.866194 T [44598:70153891175120] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 15:41:55.866216 D [44598:70153891175120] (2.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:41:55.866292 T [44598:70153897133640] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xE6\e*+/services/TestService/1/Test/127.0.0.1/20002\xC2\x01{\"Config\":{\"UUID\":\"3978b371-15e9-40f8-9b7b-59ae88d8c7ec\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"127.0.0.1\",\"Port\":2000,\"MaxPort\":2999}},\"Registered\":true}" +2012-12-05 15:41:55.866298 D [44598:70153897133640] (0.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 249 bytes +2012-12-05 15:41:55.866516 D [44598:70153897133640] RubySkynet::Registry -- #monitor Add/Update Service: TestService/1/Test => 127.0.0.1:2000 +2012-12-05 15:41:55.866528 D [44598:70153897133640] RubySkynet::Registry -- Updated registry -- {"TestService/1/Test"=>["127.0.0.1:2000"]} +2012-12-05 15:41:55.867107 T [44598:70153897133640] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-05 15:41:55.867213 D [44598:70153897133640] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 15:41:55.869150 T [44598:70153891175120] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xE6\e" +2012-12-05 15:41:55.869249 D [44598:70153891175120] (3.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 15:41:55.869350 D [44598:70153891175120] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007f9bf3a800c0>(70153892266080) self=connections=70153892266080 checked_out= with_map= +2012-12-05 15:41:55.872261 D [44598:70153891175120] [50bfb1936b6933ae36000002] RubySkynet::Connection: 127.0.0.1:2000 -- Waiting for Service Handshake +2012-12-05 15:41:55.872573 D [44598:70153891600200] SimpleServer -- Waiting for a client to connect +2012-12-05 15:41:55.873320 D [44598:70153891600200] SimpleServer -- Client connected, waiting for data from client +2012-12-05 15:41:55.873844 T [44598:70153891175120] [50bfb1936b6933ae36000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "$\x00\x00\x00" +2012-12-05 15:41:55.873858 D [44598:70153891175120] [50bfb1936b6933ae36000002] (1.6ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes +2012-12-05 15:41:55.873917 T [44598:70153891175120] [50bfb1936b6933ae36000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "\bregistered\x00\x01\x02clientid\x00\x04\x00\x00\x00123\x00\x00" +2012-12-05 15:41:55.873923 D [44598:70153891175120] [50bfb1936b6933ae36000002] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 32 bytes +2012-12-05 15:41:55.873959 T [44598:70153891175120] [50bfb1936b6933ae36000002] RubySkynet::Connection: 127.0.0.1:2000 -- Service Handshake -- {"registered"=>true, "clientid"=>"123"} +2012-12-05 15:41:55.873972 D [44598:70153891175120] [50bfb1936b6933ae36000002] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Client Handshake +2012-12-05 15:41:55.873977 T [44598:70153891175120] [50bfb1936b6933ae36000002] RubySkynet::Connection: 127.0.0.1:2000 -- Client Handshake -- {"clientid"=>"123"} +2012-12-05 15:41:55.873995 T [44598:70153891175120] [50bfb1936b6933ae36000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- clientid123 +2012-12-05 15:41:55.874032 D [44598:70153891175120] [50bfb1936b6933ae36000002] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 23 bytes +2012-12-05 15:41:55.874095 D [44598:70153891175120] [50bfb1936b6933ae36000002] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Header +2012-12-05 15:41:55.874105 T [44598:70153891175120] [50bfb1936b6933ae36000002] RubySkynet::Connection: 127.0.0.1:2000 -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 15:41:55.874125 T [44598:70153891175120] [50bfb1936b6933ae36000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- 5servicemethodTestService.Forwardseq +2012-12-05 15:41:55.874162 D [44598:70153891175120] [50bfb1936b6933ae36000002] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 53 bytes +2012-12-05 15:41:55.874202 D [44598:70153891175120] [50bfb1936b6933ae36000002] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Request +2012-12-05 15:41:55.874208 T [44598:70153891175120] [50bfb1936b6933ae36000002] RubySkynet::Connection: 127.0.0.1:2000 -- Request -- {"clientid"=>"123", "in"=>"\x17\x00\x00\x00\x01duration\x00\x00\x00\x00\x00\x00\x00\f@\x00", "method"=>"sleep", "requestinfo"=>{"requestid"=>"50bfb1936b6933ae36000002", "retrycount"=>0, "originaddress"=>""}} +2012-12-05 15:41:55.874214 T [44598:70153891175120] [50bfb1936b6933ae36000002] RubySkynet::Connection: 127.0.0.1:2000 -- Parameters: -- {"duration"=>3.5} +2012-12-05 15:41:55.874230 T [44598:70153891175120] [50bfb1936b6933ae36000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- clientid123induration @methodsleeprequestinfoQrequestid50bfb1936b6933ae36000002retrycountoriginaddress +2012-12-05 15:41:55.874265 D [44598:70153891175120] [50bfb1936b6933ae36000002] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 167 bytes +2012-12-05 15:41:55.874279 D [44598:70153891175120] [50bfb1936b6933ae36000002] RubySkynet::Connection: 127.0.0.1:2000 -- Reading header from server +2012-12-05 15:41:55.875970 D [44598:70153891600200] SimpleServer -- +****************** +2012-12-05 15:41:55.875986 D [44598:70153891600200] SimpleServer -- Received Request +2012-12-05 15:41:55.875992 T [44598:70153891600200] SimpleServer -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 15:41:55.876077 T [44598:70153891600200] SimpleServer -- Request -- {"clientid"=>"123", "in"=>"\x17\x00\x00\x00\x01duration\x00\x00\x00\x00\x00\x00\x00\f@\x00", "method"=>"sleep", "requestinfo"=>{"requestid"=>"50bfb1936b6933ae36000002", "retrycount"=>0, "originaddress"=>""}} +2012-12-05 15:41:58.874006 W [44598:70153891175120] [50bfb1936b6933ae36000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read Timeout waiting for server to reply +2012-12-05 15:41:58.874161 D [44598:70153891175120] [50bfb1936b6933ae36000002] (2999.9ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes -- ResilientSocket::ReadTimeout: Timedout after 3.0 seconds trying to read from 127.0.0.1:2000 +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:392:in `block in read' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_debug' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:374:in `read' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/common.rb:10:in `read_bson_document' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:178:in `rpc_call' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:65:in `block (3 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/gene_pool-1.3.0/lib/gene_pool.rb:134:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:214:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:64:in `block (2 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_info' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:60:in `block in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:126:in `with_tags' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:59:in `call' +/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_client_test.rb:87:in `block (5 levels) in <class:RubySkynetClientTest>' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:330:in `assert_raises' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/assertions.rb:69:in `assert_raise' -/Users/rmorrison/Sandbox/ruby_skynet/test/doozer_client_test.rb:21:in `block (3 levels) in <class:DoozerClientTest>' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.0/lib/shoulda/context/context.rb:398:in `call' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.0/lib/shoulda/context/context.rb:398:in `block in create_test_from_should_hash' -/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:949:in `run' +/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_client_test.rb:85:in `block (4 levels) in <class:RubySkynetClientTest>' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `block in create_test_from_should_hash' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/mocha-0.10.5/lib/mocha/integration/mini_test/version_230_to_262.rb:28:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/testcase.rb:17:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:787:in `block in _run_suite' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `map' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `_run_suite' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:565:in `block in _run_suites' @@ -3550,27 +8793,341 @@ /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:895:in `_run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:884:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:21:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:326:in `block (2 levels) in autorun' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:27:in `run_once' -/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:325:in `block in autorun' -- ResilientSocket::ConnectionFailure: After 5 connection attempts to host 'localhost:9999': Errno::ECONNREFUSED: Connection refused - connect(2) -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:570:in `rescue in block in connect_to_server' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:548:in `block in connect_to_server' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.7.0/lib/semantic_logger/base.rb:181:in `benchmark_info' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:541:in `connect_to_server' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:304:in `connect' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:232:in `initialize' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:325:in `block in autorun' +2012-12-05 15:41:58.874253 I [44598:70153891175120] [50bfb1936b6933ae36000002] (3004.7ms) RubySkynet::Client: TestService/1/Test -- Called Skynet Service: TestService.sleep -- ResilientSocket::ReadTimeout: Timedout after 3.0 seconds trying to read from 127.0.0.1:2000 +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:392:in `block in read' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_debug' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:374:in `read' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/common.rb:10:in `read_bson_document' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:178:in `rpc_call' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:65:in `block (3 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/gene_pool-1.3.0/lib/gene_pool.rb:134:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:214:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:64:in `block (2 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_info' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:60:in `block in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:126:in `with_tags' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:59:in `call' +/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_client_test.rb:87:in `block (5 levels) in <class:RubySkynetClientTest>' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:330:in `assert_raises' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/assertions.rb:69:in `assert_raise' +/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_client_test.rb:85:in `block (4 levels) in <class:RubySkynetClientTest>' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `block in create_test_from_should_hash' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/mocha-0.10.5/lib/mocha/integration/mini_test/version_230_to_262.rb:28:in `run' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/testcase.rb:17:in `run' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:787:in `block in _run_suite' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `map' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `_run_suite' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:565:in `block in _run_suites' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:563:in `each' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:563:in `_run_suites' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:746:in `_run_anything' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:909:in `run_tests' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:896:in `block in _run' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:895:in `each' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:895:in `_run' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:884:in `run' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:21:in `run' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:326:in `block (2 levels) in autorun' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:27:in `run_once' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:325:in `block in autorun' +2012-12-05 15:41:58.875268 D [44598:70153891175120] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f9bf3a800c0>(70153892266080) self=connections=70153892266080 checked_out=70153892266080 with_map= +2012-12-05 15:41:58.875661 T [44598:70153891175120] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- <"+/services/TestService/1/Test/127.0.0.1/2000H +2012-12-05 15:41:58.876177 D [44598:70153891175120] (0.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 64 bytes +2012-12-05 15:41:58.879030 T [44598:70153897133640] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x006" +2012-12-05 15:41:58.879045 D [44598:70153897133640] (3011.8ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:41:58.879333 T [44598:70153891175120] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 15:41:58.879343 D [44598:70153891175120] (3.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:41:58.879506 T [44598:70153897133640] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\b\x18\xEA\e*+/services/TestService/1/Test/127.0.0.1/20002\x00" +2012-12-05 15:41:58.879513 D [44598:70153897133640] (0.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 54 bytes +2012-12-05 15:41:58.879868 D [44598:70153897133640] RubySkynet::Registry -- #monitor Service stopped, remove: TestService/1/Test => 127.0.0.1:2000 +2012-12-05 15:41:58.879962 I [44598:70153897133640] RubySkynet::Registry -- Calling callback for server: 127.0.0.1:2000 +2012-12-05 15:41:58.880020 D [44598:70153897133640] RubySkynet::Connection -- Connection pool for server:127.0.0.1:2000 has been released +2012-12-05 15:41:58.880045 D [44598:70153897133640] RubySkynet::Registry -- Updated registry -- {} +2012-12-05 15:41:58.880300 T [44598:70153897133640] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-05 15:41:58.880369 D [44598:70153897133640] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 15:41:58.883935 T [44598:70153891175120] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00" +2012-12-05 15:41:58.883950 D [44598:70153891175120] (4.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 2 bytes +2012-12-05 15:41:58.884122 D [44598:70153891175120] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007f9bf3a800c0>(70153892266080) self=connections=70153892266080 checked_out= with_map= +2012-12-05 15:41:58.884666 W [44598:70153891175120] [50bfb1966b6933ae36000003] RubySkynet::Registry -- No servers available for service: SomeService with version: * in region: Development +2012-12-05 15:41:58.884831 I [44598:70153891175120] [50bfb1966b6933ae36000003] (0.3ms) RubySkynet::Client: SomeService/*/Development -- Called Skynet Service: SomeService.test -- RubySkynet::ServiceUnavailable: No servers available for service: SomeService with version: * in region: Development +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/registry.rb:92:in `server_for' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:64:in `block (2 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_info' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:60:in `block in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:126:in `with_tags' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:59:in `call' +/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_client_test.rb:26:in `block (4 levels) in <class:RubySkynetClientTest>' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:330:in `assert_raises' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/assertions.rb:69:in `assert_raise' +/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_client_test.rb:24:in `block (3 levels) in <class:RubySkynetClientTest>' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `block in create_test_from_should_hash' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/mocha-0.10.5/lib/mocha/integration/mini_test/version_230_to_262.rb:28:in `run' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/testcase.rb:17:in `run' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:787:in `block in _run_suite' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `map' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `_run_suite' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:565:in `block in _run_suites' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:563:in `each' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:563:in `_run_suites' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:746:in `_run_anything' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:909:in `run_tests' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:896:in `block in _run' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:895:in `each' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:895:in `_run' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:884:in `run' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:21:in `run' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:326:in `block (2 levels) in autorun' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:27:in `run_once' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:325:in `block in autorun' +2012-12-05 15:41:58.892658 D [44598:70153891630520] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f9bf3a800c0>(70153892266080) self=connections=70153892266080 checked_out=70153892266080 with_map= +2012-12-05 15:41:58.893098 T [44598:70153891630520] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "+/services/TestService/1/Test/localhost/2100*{"Config":{"UUID":"localhost:2100-44598-TestService-70153897039860","Name":"TestService","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"localhost","Port":2100,"MaxPort":3099}},"Registered":true}H +2012-12-05 15:41:58.893203 D [44598:70153891630520] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 272 bytes +2012-12-05 15:41:58.895139 T [44598:70153891630520] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 15:41:58.895154 D [44598:70153891630520] (1.9ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:41:58.895714 T [44598:70153891630520] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xEB\e" +2012-12-05 15:41:58.895722 D [44598:70153891630520] (0.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 15:41:58.895837 D [44598:70153891630520] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007f9bf3a800c0>(70153892266080) self=connections=70153892266080 checked_out= with_map= +2012-12-05 15:41:58.897749 I [44598:70153891630520] RubySkynet::Server -- Starting listener on localhost:2100 +2012-12-05 15:41:58.897767 D [44598:70153891630520] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 15:41:58.898173 W [44598:70153891175120] [50bfb1966b6933ae36000004] RubySkynet::Registry -- No servers available for service: TestService with version: 1 in region: Test +2012-12-05 15:41:58.898265 I [44598:70153891175120] [50bfb1966b6933ae36000004] (0.2ms) RubySkynet::Client: TestService/1/Test -- Called Skynet Service: TestService.echo -- RubySkynet::ServiceUnavailable: No servers available for service: TestService with version: 1 in region: Test +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/registry.rb:92:in `server_for' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:64:in `block (2 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_info' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:60:in `block in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:126:in `with_tags' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:59:in `call' +/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_service_test.rb:65:in `block (4 levels) in <class:RubySkynetServiceTest>' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `block in create_test_from_should_hash' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/mocha-0.10.5/lib/mocha/integration/mini_test/version_230_to_262.rb:28:in `run' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/testcase.rb:17:in `run' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:787:in `block in _run_suite' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `map' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `_run_suite' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:565:in `block in _run_suites' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:563:in `each' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:563:in `_run_suites' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:746:in `_run_anything' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:909:in `run_tests' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:896:in `block in _run' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:895:in `each' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:895:in `_run' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:884:in `run' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:21:in `run' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:326:in `block (2 levels) in autorun' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:27:in `run_once' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:325:in `block in autorun' +2012-12-05 15:41:58.898438 I [44598:70153891630520] RubySkynet::Server -- Skynet Server Stopped +2012-12-05 15:41:58.898509 D [44598:70153891630520] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f9bf3a800c0>(70153892266080) self=connections=70153892266080 checked_out=70153892266080 with_map= +2012-12-05 15:41:58.898859 T [44598:70153891630520] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- <"+/services/TestService/1/Test/localhost/2100H +2012-12-05 15:41:58.898958 D [44598:70153891630520] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 64 bytes +2012-12-05 15:41:58.899383 T [44598:70153897133640] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01\x04" +2012-12-05 15:41:58.899391 D [44598:70153897133640] (19.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:41:58.899481 T [44598:70153897133640] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xEB\e*+/services/TestService/1/Test/localhost/21002\xCD\x01{\"Config\":{\"UUID\":\"localhost:2100-44598-TestService-70153897039860\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-05 15:41:58.899487 D [44598:70153897133640] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 260 bytes +2012-12-05 15:41:58.899693 D [44598:70153897133640] RubySkynet::Registry -- #monitor Add/Update Service: TestService/1/Test => localhost:2100 +2012-12-05 15:41:58.899765 D [44598:70153897133640] RubySkynet::Registry -- Updated registry -- {"TestService/1/Test"=>["localhost:2100"]} +2012-12-05 15:41:58.899979 T [44598:70153897133640] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-05 15:41:58.900049 D [44598:70153897133640] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 15:41:58.902287 T [44598:70153891630520] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 15:41:58.902300 D [44598:70153891630520] (3.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:41:58.902371 T [44598:70153897133640] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x006" +2012-12-05 15:41:58.902377 D [44598:70153897133640] (2.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:41:58.902959 T [44598:70153891630520] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00" +2012-12-05 15:41:58.902971 D [44598:70153891630520] (0.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 2 bytes +2012-12-05 15:41:58.903048 D [44598:70153891630520] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007f9bf3a800c0>(70153892266080) self=connections=70153892266080 checked_out= with_map= +2012-12-05 15:41:58.903066 I [44598:70153891630520] RubySkynet::Server -- Skynet Services De-registered in Doozer +2012-12-05 15:41:58.905013 T [44598:70153897133640] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\b\x18\xEC\e*+/services/TestService/1/Test/localhost/21002\x00" +2012-12-05 15:41:58.905030 D [44598:70153897133640] (2.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 54 bytes +2012-12-05 15:41:58.905201 D [44598:70153897133640] RubySkynet::Registry -- #monitor Service stopped, remove: TestService/1/Test => localhost:2100 +2012-12-05 15:41:58.905266 D [44598:70153897133640] RubySkynet::Registry -- Updated registry -- {} +2012-12-05 15:41:58.905538 T [44598:70153897133640] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-05 15:41:58.905577 D [44598:70153897133640] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 15:41:58.909023 D [44598:70153891635920] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f9bf3a800c0>(70153892266080) self=connections=70153892266080 checked_out=70153892266080 with_map= +2012-12-05 15:41:58.909374 T [44598:70153891635920] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "+/services/TestService/1/Test/localhost/2100*{"Config":{"UUID":"localhost:2100-44598-TestService-70153897039860","Name":"TestService","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"localhost","Port":2100,"MaxPort":3099}},"Registered":true}H +2012-12-05 15:41:58.909427 D [44598:70153891635920] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 272 bytes +2012-12-05 15:41:58.911387 T [44598:70153897133640] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01\x04" +2012-12-05 15:41:58.911403 D [44598:70153897133640] (5.8ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:41:58.912079 T [44598:70153891635920] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 15:41:58.912091 D [44598:70153891635920] (2.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:41:58.913743 T [44598:70153897133640] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xED\e*+/services/TestService/1/Test/localhost/21002\xCD\x01{\"Config\":{\"UUID\":\"localhost:2100-44598-TestService-70153897039860\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-05 15:41:58.913760 D [44598:70153897133640] (2.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 260 bytes +2012-12-05 15:41:58.913974 D [44598:70153897133640] RubySkynet::Registry -- #monitor Add/Update Service: TestService/1/Test => localhost:2100 +2012-12-05 15:41:58.913986 D [44598:70153897133640] RubySkynet::Registry -- Updated registry -- {"TestService/1/Test"=>["localhost:2100"]} +2012-12-05 15:41:58.914222 T [44598:70153897133640] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-05 15:41:58.914319 D [44598:70153897133640] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 15:41:58.914593 T [44598:70153891635920] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xED\e" +2012-12-05 15:41:58.914600 D [44598:70153891635920] (2.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 15:41:58.914685 D [44598:70153891635920] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007f9bf3a800c0>(70153892266080) self=connections=70153892266080 checked_out= with_map= +2012-12-05 15:41:58.915410 I [44598:70153891635920] RubySkynet::Server -- Starting listener on localhost:2100 +2012-12-05 15:41:58.915430 D [44598:70153891635920] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 15:41:58.916888 I [44598:70153891635920] RubySkynet::Server -- Skynet Server Stopped +2012-12-05 15:41:58.916979 D [44598:70153891635920] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f9bf3a800c0>(70153892266080) self=connections=70153892266080 checked_out=70153892266080 with_map= +2012-12-05 15:41:58.917297 T [44598:70153891635920] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- <"+/services/TestService/1/Test/localhost/2100H +2012-12-05 15:41:58.917578 D [44598:70153891635920] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 64 bytes +2012-12-05 15:41:58.932747 T [44598:70153897133640] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x006" +2012-12-05 15:41:58.932775 D [44598:70153897133640] (18.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:41:58.933379 T [44598:70153897133640] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\b\x18\xEE\e*+/services/TestService/1/Test/localhost/21002\x00" +2012-12-05 15:41:58.933390 D [44598:70153897133640] (0.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 54 bytes +2012-12-05 15:41:58.933570 D [44598:70153897133640] RubySkynet::Registry -- #monitor Service stopped, remove: TestService/1/Test => localhost:2100 +2012-12-05 15:41:58.933602 D [44598:70153897133640] RubySkynet::Registry -- Updated registry -- {} +2012-12-05 15:41:58.933867 T [44598:70153897133640] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-05 15:41:58.933937 D [44598:70153897133640] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 15:41:58.939320 T [44598:70153891635920] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 15:41:58.939340 D [44598:70153891635920] (21.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:41:58.939419 T [44598:70153891635920] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00" +2012-12-05 15:41:58.939425 D [44598:70153891635920] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 2 bytes +2012-12-05 15:41:58.939525 D [44598:70153891635920] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007f9bf3a800c0>(70153892266080) self=connections=70153892266080 checked_out= with_map= +2012-12-05 15:41:58.939549 I [44598:70153891635920] RubySkynet::Server -- Skynet Services De-registered in Doozer +2012-12-05 15:41:58.941738 D [44598:70153891607320] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f9bf3a800c0>(70153892266080) self=connections=70153892266080 checked_out=70153892266080 with_map= +2012-12-05 15:41:58.942177 T [44598:70153891607320] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "+/services/TestService/1/Test/localhost/2100*{"Config":{"UUID":"localhost:2100-44598-TestService-70153897039860","Name":"TestService","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"localhost","Port":2100,"MaxPort":3099}},"Registered":true}H +2012-12-05 15:41:58.942305 D [44598:70153891607320] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 272 bytes +2012-12-05 15:41:58.944230 T [44598:70153897133640] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01\x04" +2012-12-05 15:41:58.944245 D [44598:70153897133640] (10.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:41:58.944498 T [44598:70153891607320] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 15:41:58.944505 D [44598:70153891607320] (2.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:41:58.945063 T [44598:70153897133640] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xEF\e*+/services/TestService/1/Test/localhost/21002\xCD\x01{\"Config\":{\"UUID\":\"localhost:2100-44598-TestService-70153897039860\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-05 15:41:58.945072 D [44598:70153897133640] (0.8ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 260 bytes +2012-12-05 15:41:58.945275 D [44598:70153897133640] RubySkynet::Registry -- #monitor Add/Update Service: TestService/1/Test => localhost:2100 +2012-12-05 15:41:58.945287 D [44598:70153897133640] RubySkynet::Registry -- Updated registry -- {"TestService/1/Test"=>["localhost:2100"]} +2012-12-05 15:41:58.945504 T [44598:70153897133640] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-05 15:41:58.945570 D [44598:70153897133640] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 15:41:58.945868 T [44598:70153891607320] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xEF\e" +2012-12-05 15:41:58.945875 D [44598:70153891607320] (1.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 15:41:58.945977 D [44598:70153891607320] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007f9bf3a800c0>(70153892266080) self=connections=70153892266080 checked_out= with_map= +2012-12-05 15:41:58.947606 I [44598:70153891607320] RubySkynet::Server -- Starting listener on localhost:2100 +2012-12-05 15:41:58.947630 D [44598:70153891607320] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 15:41:58.948150 D [44598:70153891175120] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f9bf3a800c0>(70153892266080) self=connections=70153892266080 checked_out=70153892266080 with_map= +2012-12-05 15:41:58.948422 T [44598:70153891175120] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- 1"+/services/TestService/1/Test/localhost/2100 +2012-12-05 15:41:58.948883 D [44598:70153891175120] (0.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 53 bytes +2012-12-05 15:41:58.948950 T [44598:70153891175120] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\xD5" +2012-12-05 15:41:58.948957 D [44598:70153891175120] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:41:58.949026 T [44598:70153891175120] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xEF\e2\xCD\x01{\"Config\":{\"UUID\":\"localhost:2100-44598-TestService-70153897039860\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-05 15:41:58.949032 D [44598:70153891175120] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 213 bytes +2012-12-05 15:41:58.949160 D [44598:70153891175120] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007f9bf3a800c0>(70153892266080) self=connections=70153892266080 checked_out= with_map= +2012-12-05 15:41:58.949556 I [44598:70153891607320] RubySkynet::Server -- Skynet Server Stopped +2012-12-05 15:41:58.949653 D [44598:70153891607320] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f9bf3a800c0>(70153892266080) self=connections=70153892266080 checked_out=70153892266080 with_map= +2012-12-05 15:41:58.949918 T [44598:70153891607320] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- <"+/services/TestService/1/Test/localhost/2100H +2012-12-05 15:41:58.949963 D [44598:70153891607320] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 64 bytes +2012-12-05 15:41:58.951536 T [44598:70153897133640] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x006" +2012-12-05 15:41:58.951549 D [44598:70153897133640] (6.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:41:58.951670 T [44598:70153891607320] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 15:41:58.951676 D [44598:70153891607320] (1.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:41:58.952441 T [44598:70153897133640] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\b\x18\xF0\e*+/services/TestService/1/Test/localhost/21002\x00" +2012-12-05 15:41:58.952452 D [44598:70153897133640] (0.9ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 54 bytes +2012-12-05 15:41:58.952625 D [44598:70153897133640] RubySkynet::Registry -- #monitor Service stopped, remove: TestService/1/Test => localhost:2100 +2012-12-05 15:41:58.952645 D [44598:70153897133640] RubySkynet::Registry -- Updated registry -- {} +2012-12-05 15:41:58.952856 T [44598:70153897133640] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-05 15:41:58.952921 D [44598:70153897133640] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 15:41:58.955141 T [44598:70153891607320] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00" +2012-12-05 15:41:58.955158 D [44598:70153891607320] (3.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 2 bytes +2012-12-05 15:41:58.955272 D [44598:70153891607320] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007f9bf3a800c0>(70153892266080) self=connections=70153892266080 checked_out= with_map= +2012-12-05 15:41:58.955297 I [44598:70153891607320] RubySkynet::Server -- Skynet Services De-registered in Doozer +2012-12-05 15:42:04.881850 D [44602:70128922483420] RubySkynet::Server -- Registering Service: TestService with name: TestService +2012-12-05 15:42:04.883009 I [44602:70128922483420] Celluloid -- Terminating 4 actors... +2012-12-05 15:42:04.884317 I [44602:70128922483420] Celluloid -- Shutdown completed cleanly +2012-12-05 15:42:04.888230 T [44602:70128922483420] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007f9053697180@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 15:42:04.894645 T [44602:70128922483420] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "/8 +2012-12-05 15:42:04.895150 D [44602:70128922483420] (0.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 13 bytes +2012-12-05 15:42:04.895555 T [44602:70128922483420] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\a" +2012-12-05 15:42:04.895593 D [44602:70128922483420] (0.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 15:42:04.896039 T [44602:70128922483420] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00*\x03ctl" +2012-12-05 15:42:04.896054 D [44602:70128922483420] (0.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 7 bytes +2012-12-05 15:42:04.896415 T [44602:70128922483420] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "/8 +2012-12-05 15:42:04.896464 D [44602:70128922483420] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 13 bytes +2012-12-05 15:42:04.896744 T [44602:70128922483420] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 15:42:04.896781 D [44602:70128922483420] (0.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 15:42:04.897032 T [44602:70128922483420] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\xA0\x06\b" +2012-12-05 15:42:04.897061 D [44602:70128922483420] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 5 bytes +2012-12-05 15:42:04.898395 T [44602:70128922483420] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/fooH +2012-12-05 15:42:04.898474 D [44602:70128922483420] (0.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 30 bytes +2012-12-05 15:42:04.899665 T [44602:70128922483420] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 15:42:04.899694 D [44602:70128922483420] (1.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 15:42:04.908209 T [44602:70128922483420] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00" +2012-12-05 15:42:04.908237 D [44602:70128922483420] (8.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 2 bytes +2012-12-05 15:42:04.908804 T [44602:70128922483420] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007f9053b18e70@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 15:42:04.912320 T [44602:70128922483420] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending --  +2012-12-05 15:42:04.912525 D [44602:70128922483420] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 8 bytes +2012-12-05 15:42:04.912600 T [44602:70128922483420] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 15:42:04.912606 D [44602:70128922483420] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 15:42:04.912666 T [44602:70128922483420] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xF7\e" +2012-12-05 15:42:04.912671 D [44602:70128922483420] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 5 bytes +2012-12-05 15:42:04.914496 T [44602:70128922483420] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/fooH +2012-12-05 15:42:04.914667 D [44602:70128922483420] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 30 bytes +2012-12-05 15:42:04.916071 T [44602:70128922483420] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 15:42:04.916171 D [44602:70128922483420] (1.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 15:42:04.918994 T [44602:70128922483420] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00" +2012-12-05 15:42:04.919034 D [44602:70128922483420] (2.8ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 2 bytes +2012-12-05 15:42:04.921041 T [44602:70128922483420] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007f9053b23780@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 15:42:04.930223 T [44602:70128922483420] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "" /test/foo*value2H +2012-12-05 15:42:04.931358 D [44602:70128922483420] (0.6ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 38 bytes +2012-12-05 15:42:04.933941 T [44602:70128922483420] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 15:42:04.934072 D [44602:70128922483420] (2.7ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 15:42:04.934667 T [44602:70128922483420] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xF9\e" +2012-12-05 15:42:04.934695 D [44602:70128922483420] (0.6ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 5 bytes +2012-12-05 15:42:04.935087 T [44602:70128922483420] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/foo +2012-12-05 15:42:04.936423 D [44602:70128922483420] (1.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 19 bytes +2012-12-05 15:42:04.936579 T [44602:70128922483420] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\r" +2012-12-05 15:42:04.936633 D [44602:70128922483420] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 15:42:04.936705 T [44602:70128922483420] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xF9\e2\x06value2" +2012-12-05 15:42:04.936711 D [44602:70128922483420] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 13 bytes +2012-12-05 15:42:04.939905 T [44602:70128922483420] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/fooH +2012-12-05 15:42:04.939991 D [44602:70128922483420] (0.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 30 bytes +2012-12-05 15:42:04.943642 T [44602:70128922483420] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 15:42:04.943689 D [44602:70128922483420] (3.7ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 15:42:04.943924 T [44602:70128922483420] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00" +2012-12-05 15:42:04.943961 D [44602:70128922483420] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 2 bytes +2012-12-05 15:42:04.945178 T [44602:70128922483420] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007f9053b48e90@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 15:42:04.946636 T [44602:70128922483420] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- !" /test/foo*valueH +2012-12-05 15:42:04.947819 D [44602:70128922483420] (1.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 37 bytes +2012-12-05 15:42:04.948017 T [44602:70128922483420] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 15:42:04.948075 D [44602:70128922483420] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 15:42:04.948308 T [44602:70128922483420] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xFB\e" +2012-12-05 15:42:04.948343 D [44602:70128922483420] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 5 bytes +2012-12-05 15:42:04.948554 T [44602:70128922483420] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/foo +2012-12-05 15:42:04.949048 D [44602:70128922483420] (0.5ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 19 bytes +2012-12-05 15:42:04.949225 T [44602:70128922483420] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\f" +2012-12-05 15:42:04.949260 D [44602:70128922483420] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 15:42:04.949477 T [44602:70128922483420] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xFB\e2\x05value" +2012-12-05 15:42:04.949512 D [44602:70128922483420] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 12 bytes +2012-12-05 15:42:04.950666 T [44602:70128922483420] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/fooH +2012-12-05 15:42:04.952013 D [44602:70128922483420] (1.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 30 bytes +2012-12-05 15:42:04.952194 T [44602:70128922483420] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 15:42:04.952229 D [44602:70128922483420] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 15:42:04.952438 T [44602:70128922483420] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00" +2012-12-05 15:42:04.952474 D [44602:70128922483420] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 2 bytes +2012-12-05 15:42:04.953191 T [44602:70128922483420] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:9999", :connect_retry_interval=>0.1, :connect_retry_count=>5, :read_timeout=>5, :connect_timeout=>3, :buffered=>false, :on_connect=>#<Proc:0x007f9053b5d0c0@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 15:42:04.954845 W [44602:70128922483420] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 1 +2012-12-05 15:42:05.056349 W [44602:70128922483420] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 2 +2012-12-05 15:42:05.160111 W [44602:70128922483420] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 3 +2012-12-05 15:42:05.272037 W [44602:70128922483420] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 4 +2012-12-05 15:42:05.373596 W [44602:70128922483420] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 5 +2012-12-05 15:42:05.474542 E [44602:70128922483420] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Giving up after 5 retries +2012-12-05 15:42:05.474645 I [44602:70128922483420] (521.4ms) ResilientSocket::TCPClient ["localhost:9999"] -- Connecting to server localhost:9999 -- ResilientSocket::ConnectionFailure: After 5 connection attempts to host 'localhost:9999': Errno::ECONNREFUSED: Connection refused - connect(2) +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:578:in `rescue in block in connect_to_server' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:549:in `block in connect_to_server' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_info' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:542:in `connect_to_server' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:305:in `connect' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:233:in `initialize' /Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:36:in `new' /Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:36:in `initialize' -/Users/rmorrison/Sandbox/ruby_skynet/test/doozer_client_test.rb:22:in `new' -/Users/rmorrison/Sandbox/ruby_skynet/test/doozer_client_test.rb:22:in `block (4 levels) in <class:DoozerClientTest>' +/Users/rmorrison/Sandbox/ruby_skynet/test/doozer_client_test.rb:19:in `new' +/Users/rmorrison/Sandbox/ruby_skynet/test/doozer_client_test.rb:19:in `block (4 levels) in <class:DoozerClientTest>' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:330:in `assert_raises' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/assertions.rb:69:in `assert_raise' -/Users/rmorrison/Sandbox/ruby_skynet/test/doozer_client_test.rb:21:in `block (3 levels) in <class:DoozerClientTest>' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.0/lib/shoulda/context/context.rb:398:in `call' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.0/lib/shoulda/context/context.rb:398:in `block in create_test_from_should_hash' -/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:949:in `run' +/Users/rmorrison/Sandbox/ruby_skynet/test/doozer_client_test.rb:18:in `block (3 levels) in <class:DoozerClientTest>' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `block in create_test_from_should_hash' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/mocha-0.10.5/lib/mocha/integration/mini_test/version_230_to_262.rb:28:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/testcase.rb:17:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:787:in `block in _run_suite' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `map' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `_run_suite' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:565:in `block in _run_suites' @@ -3584,388 +9141,174 @@ /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:884:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:21:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:326:in `block (2 levels) in autorun' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:27:in `run_once' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:325:in `block in autorun' -2012-10-18 16:28:17.545625 D [1210:70344125072600] SimpleServer -- Waiting for a client to connect -2012-10-18 16:28:17.545625 D [1210:70344125072600] SimpleServer -- Waiting for a client to connect -2012-10-18 16:28:17.555812 D [1210:70344123833040] RubySkynet::Registry -- Doozer Connection Pool: Created connection #1 #<Thread:0x007ff48906b5a0>(70344123833040) for Doozer Connection Pool -2012-10-18 16:28:17.555812 D [1210:70344123833040] RubySkynet::Registry -- Doozer Connection Pool: Created connection #1 #<Thread:0x007ff48906b5a0>(70344123833040) for Doozer Connection Pool -2012-10-18 16:28:17.555932 T [1210:70344123833040] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007ff4892f9308@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -2012-10-18 16:28:17.555932 T [1210:70344123833040] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007ff4892f9308@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007ff4892f9308@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -2012-10-18 16:28:17.557837 D [1210:70344123833040] RubySkynet::Registry -- Doozer Connection Pool: Renewed connection old=70344123833040 new=#<RubySkynet::Doozer::Client:0x007ff4892f94e8>(70344125172340) -2012-10-18 16:28:17.557837 D [1210:70344123833040] RubySkynet::Registry -- Doozer Connection Pool: Renewed connection old=70344123833040 new=#<RubySkynet::Doozer::Client:0x007ff4892f94e8>(70344125172340) -2012-10-18 16:28:17.557946 D [1210:70344123833040] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007ff4892f94e8>(70344125172340) self=connections=70344125172340 checked_out=70344125172340 with_map= -2012-10-18 16:28:17.557946 D [1210:70344123833040] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007ff4892f94e8>(70344125172340) self=connections=70344125172340 checked_out=70344125172340 with_map= -2012-10-18 16:28:17.569692 T [1210:70344123833040] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "+/services/TestService/1/Test/127.0.0.1/2000*{"Config":{"UUID":"3978b371-15e9-40f8-9b7b-59ae88d8c7ec","Name":"TestService","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"127.0.0.1","Port":2000,"MaxPort":2999}},"Registered":true}H -2012-10-18 16:28:17.569692 T [1210:70344123833040] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "+/services/TestService/1/Test/127.0.0.1/2000*{"Config":{"UUID":"3978b371-15e9-40f8-9b7b-59ae88d8c7ec","Name":"TestService","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"127.0.0.1","Port":2000,"MaxPort":2999}},"Registered":true}H -- "+/services/TestService/1/Test/127.0.0.1/2000*{"Config":{"UUID":"3978b371-15e9-40f8-9b7b-59ae88d8c7ec","Name":"TestService","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"127.0.0.1","Port":2000,"MaxPort":2999}},"Registered":true}H -2012-10-18 16:28:17.570019 D [1210:70344123833040] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 261 bytes -2012-10-18 16:28:17.570019 D [1210:70344123833040] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 261 bytes -2012-10-18 16:28:17.588458 T [1210:70344123833040] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x06" -2012-10-18 16:28:17.588458 T [1210:70344123833040] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x06" -- "\x00\x00\x00\x06" -2012-10-18 16:28:17.588539 D [1210:70344123833040] (18.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:28:17.588539 D [1210:70344123833040] (18.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:28:17.589000 T [1210:70344123833040] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xA7\xD2\x03" -2012-10-18 16:28:17.589000 T [1210:70344123833040] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xA7\xD2\x03" -- "\b\x00\x18\xA7\xD2\x03" -2012-10-18 16:28:17.589042 D [1210:70344123833040] (0.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 6 bytes -2012-10-18 16:28:17.589042 D [1210:70344123833040] (0.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 6 bytes -2012-10-18 16:28:17.589184 D [1210:70344123833040] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007ff4892f94e8>(70344125172340) self=connections=70344125172340 checked_out= with_map= -2012-10-18 16:28:17.589184 D [1210:70344123833040] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007ff4892f94e8>(70344125172340) self=connections=70344125172340 checked_out= with_map= -2012-10-18 16:28:17.595127 D [1210:70344123833040] [508066616b693304ba000001] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007ff4892f94e8>(70344125172340) self=connections=70344125172340 checked_out=70344125172340 with_map= -2012-10-18 16:28:17.595127 D [1210:70344123833040] [508066616b693304ba000001] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007ff4892f94e8>(70344125172340) self=connections=70344125172340 checked_out=70344125172340 with_map= -2012-10-18 16:28:17.595397 T [1210:70344123833040] [508066616b693304ba000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  -2012-10-18 16:28:17.595397 T [1210:70344123833040] [508066616b693304ba000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  --  -2012-10-18 16:28:17.595890 D [1210:70344123833040] [508066616b693304ba000001] (0.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 8 bytes -2012-10-18 16:28:17.595890 D [1210:70344123833040] [508066616b693304ba000001] (0.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 8 bytes -2012-10-18 16:28:17.596106 T [1210:70344123833040] [508066616b693304ba000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x06" -2012-10-18 16:28:17.596106 T [1210:70344123833040] [508066616b693304ba000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x06" -- "\x00\x00\x00\x06" -2012-10-18 16:28:17.596121 D [1210:70344123833040] [508066616b693304ba000001] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:28:17.596121 D [1210:70344123833040] [508066616b693304ba000001] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:28:17.596336 T [1210:70344123833040] [508066616b693304ba000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xA7\xD2\x03" -2012-10-18 16:28:17.596336 T [1210:70344123833040] [508066616b693304ba000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xA7\xD2\x03" -- "\b\x00\x18\xA7\xD2\x03" -2012-10-18 16:28:17.596348 D [1210:70344123833040] [508066616b693304ba000001] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 6 bytes -2012-10-18 16:28:17.596348 D [1210:70344123833040] [508066616b693304ba000001] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 6 bytes -2012-10-18 16:28:17.596655 T [1210:70344123833040] [508066616b693304ba000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H -2012-10-18 16:28:17.596655 T [1210:70344123833040] [508066616b693304ba000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H --  "/services/*/*/*/*/*8H -2012-10-18 16:28:17.596700 D [1210:70344123833040] [508066616b693304ba000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 35 bytes -2012-10-18 16:28:17.596700 D [1210:70344123833040] [508066616b693304ba000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 35 bytes -2012-10-18 16:28:17.597205 T [1210:70344123833040] [508066616b693304ba000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\xFA" -2012-10-18 16:28:17.597205 T [1210:70344123833040] [508066616b693304ba000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\xFA" -- "\x00\x00\x00\xFA" -2012-10-18 16:28:17.597219 D [1210:70344123833040] [508066616b693304ba000001] (0.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:28:17.597219 D [1210:70344123833040] [508066616b693304ba000001] (0.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:28:17.597295 T [1210:70344123833040] [508066616b693304ba000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xA7\xD2\x03*+/services/TestService/1/Test/127.0.0.1/20002\xC2\x01{\"Config\":{\"UUID\":\"3978b371-15e9-40f8-9b7b-59ae88d8c7ec\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"127.0.0.1\",\"Port\":2000,\"MaxPort\":2999}},\"Registered\":true}" -2012-10-18 16:28:17.597295 T [1210:70344123833040] [508066616b693304ba000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xA7\xD2\x03*+/services/TestService/1/Test/127.0.0.1/20002\xC2\x01{\"Config\":{\"UUID\":\"3978b371-15e9-40f8-9b7b-59ae88d8c7ec\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"127.0.0.1\",\"Port\":2000,\"MaxPort\":2999}},\"Registered\":true}" -- "\b\x00\x10\x04\x18\xA7\xD2\x03*+/services/TestService/1/Test/127.0.0.1/20002\xC2\x01{\"Config\":{\"UUID\":\"3978b371-15e9-40f8-9b7b-59ae88d8c7ec\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"127.0.0.1\",\"Port\":2000,\"MaxPort\":2999}},\"Registered\":true}" -2012-10-18 16:28:17.597306 D [1210:70344123833040] [508066616b693304ba000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 250 bytes -2012-10-18 16:28:17.597306 D [1210:70344123833040] [508066616b693304ba000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 250 bytes -2012-10-18 16:28:17.597607 T [1210:70344123833040] [508066616b693304ba000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H -2012-10-18 16:28:17.597607 T [1210:70344123833040] [508066616b693304ba000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H --  "/services/*/*/*/*/*8H -2012-10-18 16:28:17.597654 D [1210:70344123833040] [508066616b693304ba000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 35 bytes -2012-10-18 16:28:17.597654 D [1210:70344123833040] [508066616b693304ba000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 35 bytes -2012-10-18 16:28:17.598373 T [1210:70344123833040] [508066616b693304ba000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01Q" -2012-10-18 16:28:17.598373 T [1210:70344123833040] [508066616b693304ba000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01Q" -- "\x00\x00\x01Q" -2012-10-18 16:28:17.598387 D [1210:70344123833040] [508066616b693304ba000001] (0.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:28:17.598387 D [1210:70344123833040] [508066616b693304ba000001] (0.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:28:17.598471 T [1210:70344123833040] [508066616b693304ba000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xD5\xC8\x03*6/services/TutorialService/1/Development/127.0.0.1/90002\x8E\x02{\"Config\":{\"UUID\":\"aa58fa11-6ab7-4b53-aad9-3d657120f2b8\",\"Name\":\"TutorialService\",\"Version\":\"1\",\"Region\":\"Development\",\"ServiceAddr\":{\"IPAddress\":\"127.0.0.1\",\"Port\":9000,\"MaxPort\":9999},\"AdminAddr\":{\"IPAddress\":\"127.0.0.1\",\"Port\":9001,\"MaxPort\":9999}},\"Registered\":true}" -2012-10-18 16:28:17.598471 T [1210:70344123833040] [508066616b693304ba000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xD5\xC8\x03*6/services/TutorialService/1/Development/127.0.0.1/90002\x8E\x02{\"Config\":{\"UUID\":\"aa58fa11-6ab7-4b53-aad9-3d657120f2b8\",\"Name\":\"TutorialService\",\"Version\":\"1\",\"Region\":\"Development\",\"ServiceAddr\":{\"IPAddress\":\"127.0.0.1\",\"Port\":9000,\"MaxPort\":9999},\"AdminAddr\":{\"IPAddress\":\"127.0.0.1\",\"Port\":9001,\"MaxPort\":9999}},\"Registered\":true}" -- "\b\x00\x10\x04\x18\xD5\xC8\x03*6/services/TutorialService/1/Development/127.0.0.1/90002\x8E\x02{\"Config\":{\"UUID\":\"aa58fa11-6ab7-4b53-aad9-3d657120f2b8\",\"Name\":\"TutorialService\",\"Version\":\"1\",\"Region\":\"Development\",\"ServiceAddr\":{\"IPAddress\":\"127.0.0.1\",\"Port\":9000,\"MaxPort\":9999},\"AdminAddr\":{\"IPAddress\":\"127.0.0.1\",\"Port\":9001,\"MaxPort\":9999}},\"Registered\":true}" -2012-10-18 16:28:17.598481 D [1210:70344123833040] [508066616b693304ba000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 337 bytes -2012-10-18 16:28:17.598481 D [1210:70344123833040] [508066616b693304ba000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 337 bytes -2012-10-18 16:28:17.598757 T [1210:70344123833040] [508066616b693304ba000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H -2012-10-18 16:28:17.598757 T [1210:70344123833040] [508066616b693304ba000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H --  "/services/*/*/*/*/*8H -2012-10-18 16:28:17.598802 D [1210:70344123833040] [508066616b693304ba000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 35 bytes -2012-10-18 16:28:17.598802 D [1210:70344123833040] [508066616b693304ba000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 35 bytes -2012-10-18 16:28:17.600527 T [1210:70344123833040] [508066616b693304ba000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" -2012-10-18 16:28:17.600527 T [1210:70344123833040] [508066616b693304ba000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" -- "\x00\x00\x00\x05" -2012-10-18 16:28:17.600571 D [1210:70344123833040] [508066616b693304ba000001] (1.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:28:17.600571 D [1210:70344123833040] [508066616b693304ba000001] (1.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:28:17.600915 T [1210:70344123833040] [508066616b693304ba000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\xA0\x06\b" -2012-10-18 16:28:17.600915 T [1210:70344123833040] [508066616b693304ba000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\xA0\x06\b" -- "\b\x00\xA0\x06\b" -2012-10-18 16:28:17.600995 D [1210:70344123833040] [508066616b693304ba000001] (0.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes -2012-10-18 16:28:17.600995 D [1210:70344123833040] [508066616b693304ba000001] (0.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes -2012-10-18 16:28:17.601184 D [1210:70344123833040] [508066616b693304ba000001] RubySkynet::Registry -- #start_monitoring Add Service: TestService/1/Test => 127.0.0.1:2000 -2012-10-18 16:28:17.601184 D [1210:70344123833040] [508066616b693304ba000001] RubySkynet::Registry -- #start_monitoring Add Service: TestService/1/Test => 127.0.0.1:2000 -2012-10-18 16:28:17.601244 D [1210:70344123833040] [508066616b693304ba000001] RubySkynet::Registry -- #start_monitoring Add Service: TutorialService/1/Development => 127.0.0.1:9000 -2012-10-18 16:28:17.601244 D [1210:70344123833040] [508066616b693304ba000001] RubySkynet::Registry -- #start_monitoring Add Service: TutorialService/1/Development => 127.0.0.1:9000 -2012-10-18 16:28:17.601290 D [1210:70344123833040] [508066616b693304ba000001] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007ff4892f94e8>(70344125172340) self=connections=70344125172340 checked_out= with_map= -2012-10-18 16:28:17.601290 D [1210:70344123833040] [508066616b693304ba000001] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007ff4892f94e8>(70344125172340) self=connections=70344125172340 checked_out= with_map= -2012-10-18 16:28:17.606448 I [1210:70344125620520] RubySkynet::Registry -- Start monitoring /services/*/*/*/*/* -2012-10-18 16:28:17.606448 I [1210:70344125620520] RubySkynet::Registry -- Start monitoring /services/*/*/*/*/* -2012-10-18 16:28:17.606504 T [1210:70344125620520] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007ff4893d09e8@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -2012-10-18 16:28:17.606504 T [1210:70344125620520] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007ff4893d09e8@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007ff4893d09e8@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -2012-10-18 16:28:17.607324 T [1210:70344125620520] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H -2012-10-18 16:28:17.607324 T [1210:70344125620520] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H -- "/services/*/*/*/*/*H -2012-10-18 16:28:17.609520 D [1210:70344125620520] (2.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 33 bytes -2012-10-18 16:28:17.609520 D [1210:70344125620520] (2.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 33 bytes -2012-10-18 16:28:17.610521 D [1210:70344123833040] [508066616b693304ba000001] RubySkynet::Connection: 127.0.0.1:2000 -- Waiting for Service Handshake -2012-10-18 16:28:17.610521 D [1210:70344123833040] [508066616b693304ba000001] RubySkynet::Connection: 127.0.0.1:2000 -- Waiting for Service Handshake -2012-10-18 16:28:17.610765 D [1210:70344125072600] SimpleServer -- Client connected, waiting for data from client -2012-10-18 16:28:17.610765 D [1210:70344125072600] SimpleServer -- Client connected, waiting for data from client -2012-10-18 16:28:17.611139 T [1210:70344123833040] [508066616b693304ba000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "$\x00\x00\x00" -2012-10-18 16:28:17.611139 T [1210:70344123833040] [508066616b693304ba000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "$\x00\x00\x00" -- "$\x00\x00\x00" -2012-10-18 16:28:17.611155 D [1210:70344123833040] [508066616b693304ba000001] (0.6ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes -2012-10-18 16:28:17.611155 D [1210:70344123833040] [508066616b693304ba000001] (0.6ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes -2012-10-18 16:28:17.611528 T [1210:70344123833040] [508066616b693304ba000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "\bregistered\x00\x01\x02clientid\x00\x04\x00\x00\x00123\x00\x00" -2012-10-18 16:28:17.611528 T [1210:70344123833040] [508066616b693304ba000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "\bregistered\x00\x01\x02clientid\x00\x04\x00\x00\x00123\x00\x00" -- "\bregistered\x00\x01\x02clientid\x00\x04\x00\x00\x00123\x00\x00" -2012-10-18 16:28:17.611543 D [1210:70344123833040] [508066616b693304ba000001] (0.4ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 32 bytes -2012-10-18 16:28:17.611543 D [1210:70344123833040] [508066616b693304ba000001] (0.4ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 32 bytes -2012-10-18 16:28:17.611631 T [1210:70344123833040] [508066616b693304ba000001] RubySkynet::Connection: 127.0.0.1:2000 -- Service Handshake -- {"registered"=>true, "clientid"=>"123"} -2012-10-18 16:28:17.611631 T [1210:70344123833040] [508066616b693304ba000001] RubySkynet::Connection: 127.0.0.1:2000 -- Service Handshake -- {"registered"=>true, "clientid"=>"123"} -- {"registered"=>true, "clientid"=>"123"} -2012-10-18 16:28:17.611649 D [1210:70344123833040] [508066616b693304ba000001] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Client Handshake -2012-10-18 16:28:17.611649 D [1210:70344123833040] [508066616b693304ba000001] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Client Handshake -2012-10-18 16:28:17.611659 T [1210:70344123833040] [508066616b693304ba000001] RubySkynet::Connection: 127.0.0.1:2000 -- Client Handshake -- {"clientid"=>"123"} -2012-10-18 16:28:17.611659 T [1210:70344123833040] [508066616b693304ba000001] RubySkynet::Connection: 127.0.0.1:2000 -- Client Handshake -- {"clientid"=>"123"} -- {"clientid"=>"123"} -2012-10-18 16:28:17.611679 T [1210:70344123833040] [508066616b693304ba000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- clientid123 -2012-10-18 16:28:17.611679 T [1210:70344123833040] [508066616b693304ba000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- clientid123 -- clientid123 -2012-10-18 16:28:17.612341 D [1210:70344123833040] [508066616b693304ba000001] (0.6ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 23 bytes -2012-10-18 16:28:17.612341 D [1210:70344123833040] [508066616b693304ba000001] (0.6ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 23 bytes -2012-10-18 16:28:17.612424 D [1210:70344123833040] [508066616b693304ba000001] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Header -2012-10-18 16:28:17.612424 D [1210:70344123833040] [508066616b693304ba000001] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Header -2012-10-18 16:28:17.612445 T [1210:70344123833040] [508066616b693304ba000001] RubySkynet::Connection: 127.0.0.1:2000 -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} -2012-10-18 16:28:17.612445 T [1210:70344123833040] [508066616b693304ba000001] RubySkynet::Connection: 127.0.0.1:2000 -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} -- {"servicemethod"=>"TestService.Forward", "seq"=>0} -2012-10-18 16:28:17.612471 T [1210:70344123833040] [508066616b693304ba000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- 5servicemethodTestService.Forwardseq -2012-10-18 16:28:17.612471 T [1210:70344123833040] [508066616b693304ba000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- 5servicemethodTestService.Forwardseq -- 5servicemethodTestService.Forwardseq -2012-10-18 16:28:17.612519 D [1210:70344123833040] [508066616b693304ba000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 53 bytes -2012-10-18 16:28:17.612519 D [1210:70344123833040] [508066616b693304ba000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 53 bytes -2012-10-18 16:28:17.612588 D [1210:70344123833040] [508066616b693304ba000001] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Request -2012-10-18 16:28:17.612588 D [1210:70344123833040] [508066616b693304ba000001] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Request -2012-10-18 16:28:17.612599 T [1210:70344123833040] [508066616b693304ba000001] RubySkynet::Connection: 127.0.0.1:2000 -- Request -- {"clientid"=>"123", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"test1", "requestinfo"=>{"requestid"=>"508066616b693304ba000001", "retrycount"=>0, "originaddress"=>""}} -2012-10-18 16:28:17.612599 T [1210:70344123833040] [508066616b693304ba000001] RubySkynet::Connection: 127.0.0.1:2000 -- Request -- {"clientid"=>"123", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"test1", "requestinfo"=>{"requestid"=>"508066616b693304ba000001", "retrycount"=>0, "originaddress"=>""}} -- {"clientid"=>"123", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"test1", "requestinfo"=>{"requestid"=>"508066616b693304ba000001", "retrycount"=>0, "originaddress"=>""}} -2012-10-18 16:28:17.612608 T [1210:70344123833040] [508066616b693304ba000001] RubySkynet::Connection: 127.0.0.1:2000 -- Parameters: -- {"some"=>"parameters"} -2012-10-18 16:28:17.612608 T [1210:70344123833040] [508066616b693304ba000001] RubySkynet::Connection: 127.0.0.1:2000 -- Parameters: -- {"some"=>"parameters"} -- {"some"=>"parameters"} -2012-10-18 16:28:17.612627 T [1210:70344123833040] [508066616b693304ba000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- clientid123insome parametersmethodtest1requestinfoQrequestid508066616b693304ba000001retrycountoriginaddress -2012-10-18 16:28:17.612627 T [1210:70344123833040] [508066616b693304ba000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- clientid123insome parametersmethodtest1requestinfoQrequestid508066616b693304ba000001retrycountoriginaddress -- clientid123insome parametersmethodtest1requestinfoQrequestid508066616b693304ba000001retrycountoriginaddress -2012-10-18 16:28:17.612671 D [1210:70344123833040] [508066616b693304ba000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 170 bytes -2012-10-18 16:28:17.612671 D [1210:70344123833040] [508066616b693304ba000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 170 bytes -2012-10-18 16:28:17.612688 D [1210:70344123833040] [508066616b693304ba000001] RubySkynet::Connection: 127.0.0.1:2000 -- Reading header from server -2012-10-18 16:28:17.612688 D [1210:70344123833040] [508066616b693304ba000001] RubySkynet::Connection: 127.0.0.1:2000 -- Reading header from server -2012-10-18 16:28:17.612766 D [1210:70344125072600] SimpleServer -- +2012-12-05 15:42:05.477418 D [44602:70128923174740] SimpleServer -- Waiting for a client to connect +2012-12-05 15:42:05.483053 D [44602:70128922483420] RubySkynet::Registry -- Doozer Connection Pool: Created connection #1 #<Thread:0x007f905306b5b8>(70128922483420) for Doozer Connection Pool +2012-12-05 15:42:05.483230 T [44602:70128922483420] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007f90532b0198@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 15:42:05.487326 D [44602:70128922483420] RubySkynet::Registry -- Doozer Connection Pool: Renewed connection old=70128922483420 new=#<RubySkynet::Doozer::Client:0x007f90532b0300>(70128923672960) +2012-12-05 15:42:05.487382 D [44602:70128922483420] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f90532b0300>(70128923672960) self=connections=70128923672960 checked_out=70128923672960 with_map= +2012-12-05 15:42:05.499943 T [44602:70128922483420] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "+/services/TestService/1/Test/127.0.0.1/2000*{"Config":{"UUID":"3978b371-15e9-40f8-9b7b-59ae88d8c7ec","Name":"TestService","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"127.0.0.1","Port":2000,"MaxPort":2999}},"Registered":true}H +2012-12-05 15:42:05.503030 D [44602:70128922483420] (3.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 261 bytes +2012-12-05 15:42:05.506792 T [44602:70128922483420] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 15:42:05.514547 D [44602:70128922483420] (11.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:42:05.515354 T [44602:70128922483420] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xFE\e" +2012-12-05 15:42:05.515380 D [44602:70128922483420] (0.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 15:42:05.515554 D [44602:70128922483420] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007f90532b0300>(70128923672960) self=connections=70128923672960 checked_out= with_map= +2012-12-05 15:42:05.522232 D [44602:70128922483420] [50bfb19d6b6933ae3a000001] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f90532b0300>(70128923672960) self=connections=70128923672960 checked_out=70128923672960 with_map= +2012-12-05 15:42:05.522501 T [44602:70128922483420] [50bfb19d6b6933ae3a000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  +2012-12-05 15:42:05.522839 D [44602:70128922483420] [50bfb19d6b6933ae3a000001] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 8 bytes +2012-12-05 15:42:05.522903 T [44602:70128922483420] [50bfb19d6b6933ae3a000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 15:42:05.522910 D [44602:70128922483420] [50bfb19d6b6933ae3a000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:42:05.522972 T [44602:70128922483420] [50bfb19d6b6933ae3a000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xFE\e" +2012-12-05 15:42:05.522979 D [44602:70128922483420] [50bfb19d6b6933ae3a000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 15:42:05.523407 T [44602:70128922483420] [50bfb19d6b6933ae3a000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H +2012-12-05 15:42:05.523452 D [44602:70128922483420] [50bfb19d6b6933ae3a000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-05 15:42:05.524519 T [44602:70128922483420] [50bfb19d6b6933ae3a000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\xF9" +2012-12-05 15:42:05.524532 D [44602:70128922483420] [50bfb19d6b6933ae3a000001] (1.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:42:05.524852 T [44602:70128922483420] [50bfb19d6b6933ae3a000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xFE\e*+/services/TestService/1/Test/127.0.0.1/20002\xC2\x01{\"Config\":{\"UUID\":\"3978b371-15e9-40f8-9b7b-59ae88d8c7ec\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"127.0.0.1\",\"Port\":2000,\"MaxPort\":2999}},\"Registered\":true}" +2012-12-05 15:42:05.524864 D [44602:70128922483420] [50bfb19d6b6933ae3a000001] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 249 bytes +2012-12-05 15:42:05.525156 T [44602:70128922483420] [50bfb19d6b6933ae3a000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H +2012-12-05 15:42:05.525200 D [44602:70128922483420] [50bfb19d6b6933ae3a000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-05 15:42:05.525669 T [44602:70128922483420] [50bfb19d6b6933ae3a000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 15:42:05.525680 D [44602:70128922483420] [50bfb19d6b6933ae3a000001] (0.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:42:05.525737 T [44602:70128922483420] [50bfb19d6b6933ae3a000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\xA0\x06\b" +2012-12-05 15:42:05.525743 D [44602:70128922483420] [50bfb19d6b6933ae3a000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 15:42:05.525918 D [44602:70128922483420] [50bfb19d6b6933ae3a000001] RubySkynet::Registry -- #start_monitoring Add Service: TestService/1/Test => 127.0.0.1:2000 +2012-12-05 15:42:05.525959 D [44602:70128922483420] [50bfb19d6b6933ae3a000001] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007f90532b0300>(70128923672960) self=connections=70128923672960 checked_out= with_map= +2012-12-05 15:42:05.526712 I [44602:70128924462760] RubySkynet::Registry -- Start monitoring /services/*/*/*/*/* +2012-12-05 15:42:05.526755 T [44602:70128924462760] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007f90534397d0@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 15:42:05.527414 T [44602:70128924462760] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-05 15:42:05.527462 D [44602:70128924462760] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 15:42:05.528086 D [44602:70128922483420] [50bfb19d6b6933ae3a000001] RubySkynet::Connection: 127.0.0.1:2000 -- Waiting for Service Handshake +2012-12-05 15:42:05.529306 D [44602:70128923174740] SimpleServer -- Waiting for a client to connect +2012-12-05 15:42:05.529544 D [44602:70128923174740] SimpleServer -- Client connected, waiting for data from client +2012-12-05 15:42:05.530192 T [44602:70128922483420] [50bfb19d6b6933ae3a000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "$\x00\x00\x00" +2012-12-05 15:42:05.530206 D [44602:70128922483420] [50bfb19d6b6933ae3a000001] (1.4ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes +2012-12-05 15:42:05.530263 T [44602:70128922483420] [50bfb19d6b6933ae3a000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "\bregistered\x00\x01\x02clientid\x00\x04\x00\x00\x00123\x00\x00" +2012-12-05 15:42:05.530269 D [44602:70128922483420] [50bfb19d6b6933ae3a000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 32 bytes +2012-12-05 15:42:05.530315 T [44602:70128922483420] [50bfb19d6b6933ae3a000001] RubySkynet::Connection: 127.0.0.1:2000 -- Service Handshake -- {"registered"=>true, "clientid"=>"123"} +2012-12-05 15:42:05.530326 D [44602:70128922483420] [50bfb19d6b6933ae3a000001] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Client Handshake +2012-12-05 15:42:05.530332 T [44602:70128922483420] [50bfb19d6b6933ae3a000001] RubySkynet::Connection: 127.0.0.1:2000 -- Client Handshake -- {"clientid"=>"123"} +2012-12-05 15:42:05.530356 T [44602:70128922483420] [50bfb19d6b6933ae3a000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- clientid123 +2012-12-05 15:42:05.530494 D [44602:70128922483420] [50bfb19d6b6933ae3a000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 23 bytes +2012-12-05 15:42:05.530558 D [44602:70128922483420] [50bfb19d6b6933ae3a000001] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Header +2012-12-05 15:42:05.530568 T [44602:70128922483420] [50bfb19d6b6933ae3a000001] RubySkynet::Connection: 127.0.0.1:2000 -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 15:42:05.530590 T [44602:70128922483420] [50bfb19d6b6933ae3a000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- 5servicemethodTestService.Forwardseq +2012-12-05 15:42:05.531522 D [44602:70128923174740] SimpleServer -- ****************** -2012-10-18 16:28:17.612766 D [1210:70344125072600] SimpleServer -- +2012-12-05 15:42:05.531534 D [44602:70128923174740] SimpleServer -- Received Request +2012-12-05 15:42:05.531541 T [44602:70128923174740] SimpleServer -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 15:42:05.531715 D [44602:70128922483420] [50bfb19d6b6933ae3a000001] (1.1ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 53 bytes +2012-12-05 15:42:05.531754 D [44602:70128922483420] [50bfb19d6b6933ae3a000001] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Request +2012-12-05 15:42:05.531761 T [44602:70128922483420] [50bfb19d6b6933ae3a000001] RubySkynet::Connection: 127.0.0.1:2000 -- Request -- {"clientid"=>"123", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"test1", "requestinfo"=>{"requestid"=>"50bfb19d6b6933ae3a000001", "retrycount"=>0, "originaddress"=>""}} +2012-12-05 15:42:05.531766 T [44602:70128922483420] [50bfb19d6b6933ae3a000001] RubySkynet::Connection: 127.0.0.1:2000 -- Parameters: -- {"some"=>"parameters"} +2012-12-05 15:42:05.531783 T [44602:70128922483420] [50bfb19d6b6933ae3a000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- clientid123insome parametersmethodtest1requestinfoQrequestid50bfb19d6b6933ae3a000001retrycountoriginaddress +2012-12-05 15:42:05.532543 T [44602:70128923174740] SimpleServer -- Request -- {"clientid"=>"123", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"test1", "requestinfo"=>{"requestid"=>"50bfb19d6b6933ae3a000001", "retrycount"=>0, "originaddress"=>""}} +2012-12-05 15:42:05.532571 D [44602:70128923174740] SimpleServer -- Sending Header +2012-12-05 15:42:05.532624 D [44602:70128923174740] SimpleServer -- Sending Reply +2012-12-05 15:42:05.532632 T [44602:70128923174740] SimpleServer -- Reply -- {"result"=>"test1"} +2012-12-05 15:42:05.533435 D [44602:70128922483420] [50bfb19d6b6933ae3a000001] (1.6ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 170 bytes +2012-12-05 15:42:05.533499 D [44602:70128922483420] [50bfb19d6b6933ae3a000001] RubySkynet::Connection: 127.0.0.1:2000 -- Reading header from server +2012-12-05 15:42:05.534735 T [44602:70128922483420] [50bfb19d6b6933ae3a000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "5\x00\x00\x00" +2012-12-05 15:42:05.534775 D [44602:70128922483420] [50bfb19d6b6933ae3a000001] (1.3ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes +2012-12-05 15:42:05.535067 T [44602:70128922483420] [50bfb19d6b6933ae3a000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "\x02servicemethod\x00\x14\x00\x00\x00TestService.Forward\x00\x10seq\x00\x00\x00\x00\x00\x00" +2012-12-05 15:42:05.535104 D [44602:70128922483420] [50bfb19d6b6933ae3a000001] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 49 bytes +2012-12-05 15:42:05.535143 D [44602:70128922483420] [50bfb19d6b6933ae3a000001] RubySkynet::Connection: 127.0.0.1:2000 -- Response Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 15:42:05.535149 D [44602:70128922483420] [50bfb19d6b6933ae3a000001] RubySkynet::Connection: 127.0.0.1:2000 -- Reading response from server +2012-12-05 15:42:05.536600 T [44602:70128922483420] [50bfb19d6b6933ae3a000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "&\x00\x00\x00" +2012-12-05 15:42:05.536612 D [44602:70128922483420] [50bfb19d6b6933ae3a000001] (1.4ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes +2012-12-05 15:42:05.536662 T [44602:70128922483420] [50bfb19d6b6933ae3a000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "\x02out\x00\x18\x00\x00\x00\x17\x00\x00\x00\x02result\x00\x06\x00\x00\x00test1\x00\x00\x00\x00" +2012-12-05 15:42:05.536668 D [44602:70128922483420] [50bfb19d6b6933ae3a000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 34 bytes +2012-12-05 15:42:05.536696 T [44602:70128922483420] [50bfb19d6b6933ae3a000001] RubySkynet::Connection: 127.0.0.1:2000 -- Response -- {"out"=>"\x17\x00\x00\x00\x02result\x00\x06\x00\x00\x00test1\x00\x00"} +2012-12-05 15:42:05.536723 T [44602:70128922483420] [50bfb19d6b6933ae3a000001] RubySkynet::Connection: 127.0.0.1:2000 -- Return Value -- {"result"=>"test1"} +2012-12-05 15:42:05.536748 I [44602:70128922483420] [50bfb19d6b6933ae3a000001] (17.7ms) RubySkynet::Client: TestService/1/Test -- Called Skynet Service: TestService.test1 +2012-12-05 15:42:05.538348 D [44602:70128922483420] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f90532b0300>(70128923672960) self=connections=70128923672960 checked_out=70128923672960 with_map= +2012-12-05 15:42:05.538743 T [44602:70128922483420] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- <"+/services/TestService/1/Test/127.0.0.1/2000H +2012-12-05 15:42:05.539004 D [44602:70128922483420] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 64 bytes +2012-12-05 15:42:05.540318 T [44602:70128924462760] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x006" +2012-12-05 15:42:05.540330 D [44602:70128924462760] (12.9ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:42:05.540922 T [44602:70128922483420] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 15:42:05.540961 D [44602:70128922483420] (1.8ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:42:05.541484 T [44602:70128924462760] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\b\x18\xFF\e*+/services/TestService/1/Test/127.0.0.1/20002\x00" +2012-12-05 15:42:05.541496 D [44602:70128924462760] (1.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 54 bytes +2012-12-05 15:42:05.541650 D [44602:70128924462760] RubySkynet::Registry -- #monitor Service stopped, remove: TestService/1/Test => 127.0.0.1:2000 +2012-12-05 15:42:05.541676 I [44602:70128924462760] RubySkynet::Registry -- Calling callback for server: 127.0.0.1:2000 +2012-12-05 15:42:05.541806 D [44602:70128924462760] RubySkynet::Connection -- Connection pool for server:127.0.0.1:2000 has been released +2012-12-05 15:42:05.542506 D [44602:70128924462760] RubySkynet::Registry -- Updated registry -- {} +2012-12-05 15:42:05.542780 T [44602:70128924462760] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-05 15:42:05.542858 D [44602:70128924462760] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 15:42:05.543935 T [44602:70128922483420] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00" +2012-12-05 15:42:05.543947 D [44602:70128922483420] (2.9ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 2 bytes +2012-12-05 15:42:05.544053 D [44602:70128922483420] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007f90532b0300>(70128923672960) self=connections=70128923672960 checked_out= with_map= +2012-12-05 15:42:05.545316 D [44602:70128923198680] SimpleServer -- Waiting for a client to connect +2012-12-05 15:42:05.545529 D [44602:70128922483420] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f90532b0300>(70128923672960) self=connections=70128923672960 checked_out=70128923672960 with_map= +2012-12-05 15:42:05.545917 T [44602:70128922483420] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "+/services/TestService/1/Test/127.0.0.1/2000*{"Config":{"UUID":"3978b371-15e9-40f8-9b7b-59ae88d8c7ec","Name":"TestService","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"127.0.0.1","Port":2000,"MaxPort":2999}},"Registered":true}H +2012-12-05 15:42:05.546212 D [44602:70128922483420] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 261 bytes +2012-12-05 15:42:05.548073 T [44602:70128924462760] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\xF9" +2012-12-05 15:42:05.548086 D [44602:70128924462760] (5.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:42:05.550478 T [44602:70128924462760] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\x80\x1C*+/services/TestService/1/Test/127.0.0.1/20002\xC2\x01{\"Config\":{\"UUID\":\"3978b371-15e9-40f8-9b7b-59ae88d8c7ec\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"127.0.0.1\",\"Port\":2000,\"MaxPort\":2999}},\"Registered\":true}" +2012-12-05 15:42:05.550494 D [44602:70128924462760] (2.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 249 bytes +2012-12-05 15:42:05.550728 D [44602:70128924462760] RubySkynet::Registry -- #monitor Add/Update Service: TestService/1/Test => 127.0.0.1:2000 +2012-12-05 15:42:05.550740 D [44602:70128924462760] RubySkynet::Registry -- Updated registry -- {"TestService/1/Test"=>["127.0.0.1:2000"]} +2012-12-05 15:42:05.550960 T [44602:70128924462760] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-05 15:42:05.551012 D [44602:70128924462760] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 15:42:05.551533 T [44602:70128922483420] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 15:42:05.551545 D [44602:70128922483420] (5.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:42:05.551608 T [44602:70128922483420] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\x80\x1C" +2012-12-05 15:42:05.551615 D [44602:70128922483420] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 15:42:05.551694 D [44602:70128922483420] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007f90532b0300>(70128923672960) self=connections=70128923672960 checked_out= with_map= +2012-12-05 15:42:05.552923 D [44602:70128922483420] [50bfb19d6b6933ae3a000002] RubySkynet::Connection: 127.0.0.1:2000 -- Waiting for Service Handshake +2012-12-05 15:42:05.553114 D [44602:70128923198680] SimpleServer -- Waiting for a client to connect +2012-12-05 15:42:05.553203 D [44602:70128923198680] SimpleServer -- Client connected, waiting for data from client +2012-12-05 15:42:05.553512 T [44602:70128922483420] [50bfb19d6b6933ae3a000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "$\x00\x00\x00" +2012-12-05 15:42:05.553521 D [44602:70128922483420] [50bfb19d6b6933ae3a000002] (0.6ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes +2012-12-05 15:42:05.553572 T [44602:70128922483420] [50bfb19d6b6933ae3a000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "\bregistered\x00\x01\x02clientid\x00\x04\x00\x00\x00123\x00\x00" +2012-12-05 15:42:05.553578 D [44602:70128922483420] [50bfb19d6b6933ae3a000002] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 32 bytes +2012-12-05 15:42:05.553613 T [44602:70128922483420] [50bfb19d6b6933ae3a000002] RubySkynet::Connection: 127.0.0.1:2000 -- Service Handshake -- {"registered"=>true, "clientid"=>"123"} +2012-12-05 15:42:05.553624 D [44602:70128922483420] [50bfb19d6b6933ae3a000002] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Client Handshake +2012-12-05 15:42:05.553630 T [44602:70128922483420] [50bfb19d6b6933ae3a000002] RubySkynet::Connection: 127.0.0.1:2000 -- Client Handshake -- {"clientid"=>"123"} +2012-12-05 15:42:05.553645 T [44602:70128922483420] [50bfb19d6b6933ae3a000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- clientid123 +2012-12-05 15:42:05.553686 D [44602:70128922483420] [50bfb19d6b6933ae3a000002] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 23 bytes +2012-12-05 15:42:05.553747 D [44602:70128922483420] [50bfb19d6b6933ae3a000002] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Header +2012-12-05 15:42:05.553756 T [44602:70128922483420] [50bfb19d6b6933ae3a000002] RubySkynet::Connection: 127.0.0.1:2000 -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 15:42:05.553777 T [44602:70128922483420] [50bfb19d6b6933ae3a000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- 5servicemethodTestService.Forwardseq +2012-12-05 15:42:05.553821 D [44602:70128922483420] [50bfb19d6b6933ae3a000002] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 53 bytes +2012-12-05 15:42:05.553861 D [44602:70128922483420] [50bfb19d6b6933ae3a000002] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Request +2012-12-05 15:42:05.553868 T [44602:70128922483420] [50bfb19d6b6933ae3a000002] RubySkynet::Connection: 127.0.0.1:2000 -- Request -- {"clientid"=>"123", "in"=>"\x17\x00\x00\x00\x01duration\x00\x00\x00\x00\x00\x00\x00\f@\x00", "method"=>"sleep", "requestinfo"=>{"requestid"=>"50bfb19d6b6933ae3a000002", "retrycount"=>0, "originaddress"=>""}} +2012-12-05 15:42:05.553873 T [44602:70128922483420] [50bfb19d6b6933ae3a000002] RubySkynet::Connection: 127.0.0.1:2000 -- Parameters: -- {"duration"=>3.5} +2012-12-05 15:42:05.553889 T [44602:70128922483420] [50bfb19d6b6933ae3a000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- clientid123induration @methodsleeprequestinfoQrequestid50bfb19d6b6933ae3a000002retrycountoriginaddress +2012-12-05 15:42:05.553930 D [44602:70128922483420] [50bfb19d6b6933ae3a000002] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 167 bytes +2012-12-05 15:42:05.553943 D [44602:70128922483420] [50bfb19d6b6933ae3a000002] RubySkynet::Connection: 127.0.0.1:2000 -- Reading header from server +2012-12-05 15:42:05.554581 D [44602:70128923198680] SimpleServer -- ****************** -2012-10-18 16:28:17.612779 D [1210:70344125072600] SimpleServer -- Received Request -2012-10-18 16:28:17.612779 D [1210:70344125072600] SimpleServer -- Received Request -2012-10-18 16:28:17.612788 T [1210:70344125072600] SimpleServer -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} -2012-10-18 16:28:17.612788 T [1210:70344125072600] SimpleServer -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} -- {"servicemethod"=>"TestService.Forward", "seq"=>0} -2012-10-18 16:28:17.613315 T [1210:70344125072600] SimpleServer -- Request -- {"clientid"=>"123", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"test1", "requestinfo"=>{"requestid"=>"508066616b693304ba000001", "retrycount"=>0, "originaddress"=>""}} -2012-10-18 16:28:17.613315 T [1210:70344125072600] SimpleServer -- Request -- {"clientid"=>"123", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"test1", "requestinfo"=>{"requestid"=>"508066616b693304ba000001", "retrycount"=>0, "originaddress"=>""}} -- {"clientid"=>"123", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"test1", "requestinfo"=>{"requestid"=>"508066616b693304ba000001", "retrycount"=>0, "originaddress"=>""}} -2012-10-18 16:28:17.613344 D [1210:70344125072600] SimpleServer -- Sending Header -2012-10-18 16:28:17.613344 D [1210:70344125072600] SimpleServer -- Sending Header -2012-10-18 16:28:17.613404 D [1210:70344125072600] SimpleServer -- Sending Reply -2012-10-18 16:28:17.613404 D [1210:70344125072600] SimpleServer -- Sending Reply -2012-10-18 16:28:17.613416 T [1210:70344125072600] SimpleServer -- Reply -- {"result"=>"test1"} -2012-10-18 16:28:17.613416 T [1210:70344125072600] SimpleServer -- Reply -- {"result"=>"test1"} -- {"result"=>"test1"} -2012-10-18 16:28:17.613640 T [1210:70344123833040] [508066616b693304ba000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "5\x00\x00\x00" -2012-10-18 16:28:17.613640 T [1210:70344123833040] [508066616b693304ba000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "5\x00\x00\x00" -- "5\x00\x00\x00" -2012-10-18 16:28:17.613655 D [1210:70344123833040] [508066616b693304ba000001] (0.9ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes -2012-10-18 16:28:17.613655 D [1210:70344123833040] [508066616b693304ba000001] (0.9ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes -2012-10-18 16:28:17.613708 T [1210:70344123833040] [508066616b693304ba000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "\x02servicemethod\x00\x14\x00\x00\x00TestService.Forward\x00\x10seq\x00\x00\x00\x00\x00\x00" -2012-10-18 16:28:17.613708 T [1210:70344123833040] [508066616b693304ba000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "\x02servicemethod\x00\x14\x00\x00\x00TestService.Forward\x00\x10seq\x00\x00\x00\x00\x00\x00" -- "\x02servicemethod\x00\x14\x00\x00\x00TestService.Forward\x00\x10seq\x00\x00\x00\x00\x00\x00" -2012-10-18 16:28:17.613719 D [1210:70344123833040] [508066616b693304ba000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 49 bytes -2012-10-18 16:28:17.613719 D [1210:70344123833040] [508066616b693304ba000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 49 bytes -2012-10-18 16:28:17.613750 D [1210:70344123833040] [508066616b693304ba000001] RubySkynet::Connection: 127.0.0.1:2000 -- Response Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} -2012-10-18 16:28:17.613750 D [1210:70344123833040] [508066616b693304ba000001] RubySkynet::Connection: 127.0.0.1:2000 -- Response Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} -- {"servicemethod"=>"TestService.Forward", "seq"=>0} -2012-10-18 16:28:17.613760 D [1210:70344123833040] [508066616b693304ba000001] RubySkynet::Connection: 127.0.0.1:2000 -- Reading response from server -2012-10-18 16:28:17.613760 D [1210:70344123833040] [508066616b693304ba000001] RubySkynet::Connection: 127.0.0.1:2000 -- Reading response from server -2012-10-18 16:28:17.613850 T [1210:70344123833040] [508066616b693304ba000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "&\x00\x00\x00" -2012-10-18 16:28:17.613850 T [1210:70344123833040] [508066616b693304ba000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "&\x00\x00\x00" -- "&\x00\x00\x00" -2012-10-18 16:28:17.613862 D [1210:70344123833040] [508066616b693304ba000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes -2012-10-18 16:28:17.613862 D [1210:70344123833040] [508066616b693304ba000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes -2012-10-18 16:28:17.615146 T [1210:70344123833040] [508066616b693304ba000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "\x02out\x00\x18\x00\x00\x00\x17\x00\x00\x00\x02result\x00\x06\x00\x00\x00test1\x00\x00\x00\x00" -2012-10-18 16:28:17.615146 T [1210:70344123833040] [508066616b693304ba000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "\x02out\x00\x18\x00\x00\x00\x17\x00\x00\x00\x02result\x00\x06\x00\x00\x00test1\x00\x00\x00\x00" -- "\x02out\x00\x18\x00\x00\x00\x17\x00\x00\x00\x02result\x00\x06\x00\x00\x00test1\x00\x00\x00\x00" -2012-10-18 16:28:17.615160 D [1210:70344123833040] [508066616b693304ba000001] (1.3ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 34 bytes -2012-10-18 16:28:17.615160 D [1210:70344123833040] [508066616b693304ba000001] (1.3ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 34 bytes -2012-10-18 16:28:17.615190 T [1210:70344123833040] [508066616b693304ba000001] RubySkynet::Connection: 127.0.0.1:2000 -- Response -- {"out"=>"\x17\x00\x00\x00\x02result\x00\x06\x00\x00\x00test1\x00\x00"} -2012-10-18 16:28:17.615190 T [1210:70344123833040] [508066616b693304ba000001] RubySkynet::Connection: 127.0.0.1:2000 -- Response -- {"out"=>"\x17\x00\x00\x00\x02result\x00\x06\x00\x00\x00test1\x00\x00"} -- {"out"=>"\x17\x00\x00\x00\x02result\x00\x06\x00\x00\x00test1\x00\x00"} -2012-10-18 16:28:17.615233 T [1210:70344123833040] [508066616b693304ba000001] RubySkynet::Connection: 127.0.0.1:2000 -- Return Value -- {"result"=>"test1"} -2012-10-18 16:28:17.615233 T [1210:70344123833040] [508066616b693304ba000001] RubySkynet::Connection: 127.0.0.1:2000 -- Return Value -- {"result"=>"test1"} -- {"result"=>"test1"} -2012-10-18 16:28:17.615254 I [1210:70344123833040] [508066616b693304ba000001] (25.9ms) RubySkynet::Client: TestService/1/Test -- Called Skynet Service: TestService.test1 -2012-10-18 16:28:17.615254 I [1210:70344123833040] [508066616b693304ba000001] (25.9ms) RubySkynet::Client: TestService/1/Test -- Called Skynet Service: TestService.test1 -2012-10-18 16:28:17.615571 D [1210:70344123833040] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007ff4892f94e8>(70344125172340) self=connections=70344125172340 checked_out=70344125172340 with_map= -2012-10-18 16:28:17.615571 D [1210:70344123833040] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007ff4892f94e8>(70344125172340) self=connections=70344125172340 checked_out=70344125172340 with_map= -2012-10-18 16:28:17.615952 T [1210:70344123833040] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- <"+/services/TestService/1/Test/127.0.0.1/2000H -2012-10-18 16:28:17.615952 T [1210:70344123833040] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- <"+/services/TestService/1/Test/127.0.0.1/2000H -- <"+/services/TestService/1/Test/127.0.0.1/2000H -2012-10-18 16:28:17.616004 D [1210:70344123833040] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 64 bytes -2012-10-18 16:28:17.616004 D [1210:70344123833040] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 64 bytes -2012-10-18 16:28:17.618826 T [1210:70344125620520] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x007" -2012-10-18 16:28:17.618826 T [1210:70344125620520] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x007" -- "\x00\x00\x007" -2012-10-18 16:28:17.618843 D [1210:70344125620520] (9.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:28:17.618843 D [1210:70344125620520] (9.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:28:17.620009 T [1210:70344123833040] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x02" -2012-10-18 16:28:17.620009 T [1210:70344123833040] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x02" -- "\x00\x00\x00\x02" -2012-10-18 16:28:17.620042 D [1210:70344123833040] (4.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:28:17.620042 D [1210:70344123833040] (4.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:28:17.620630 T [1210:70344125620520] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\b\x18\xA8\xD2\x03*+/services/TestService/1/Test/127.0.0.1/20002\x00" -2012-10-18 16:28:17.620630 T [1210:70344125620520] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\b\x18\xA8\xD2\x03*+/services/TestService/1/Test/127.0.0.1/20002\x00" -- "\b\x00\x10\b\x18\xA8\xD2\x03*+/services/TestService/1/Test/127.0.0.1/20002\x00" -2012-10-18 16:28:17.620646 D [1210:70344125620520] (1.8ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 55 bytes -2012-10-18 16:28:17.620646 D [1210:70344125620520] (1.8ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 55 bytes -2012-10-18 16:28:17.620800 D [1210:70344125620520] RubySkynet::Registry -- #monitor Service stopped, remove: TestService/1/Test => 127.0.0.1:2000 -2012-10-18 16:28:17.620800 D [1210:70344125620520] RubySkynet::Registry -- #monitor Service stopped, remove: TestService/1/Test => 127.0.0.1:2000 -2012-10-18 16:28:17.620829 I [1210:70344125620520] RubySkynet::Registry -- Calling callback for server: 127.0.0.1:2000 -2012-10-18 16:28:17.620829 I [1210:70344125620520] RubySkynet::Registry -- Calling callback for server: 127.0.0.1:2000 -2012-10-18 16:28:17.620975 D [1210:70344125620520] RubySkynet::Connection -- Connection pool for server:127.0.0.1:2000 has been released -2012-10-18 16:28:17.620975 D [1210:70344125620520] RubySkynet::Connection -- Connection pool for server:127.0.0.1:2000 has been released -2012-10-18 16:28:17.620990 D [1210:70344125620520] RubySkynet::Registry -- Updated registry -- {"TutorialService/1/Development"=>["127.0.0.1:9000"]} -2012-10-18 16:28:17.620990 D [1210:70344125620520] RubySkynet::Registry -- Updated registry -- {"TutorialService/1/Development"=>["127.0.0.1:9000"]} -- {"TutorialService/1/Development"=>["127.0.0.1:9000"]} -2012-10-18 16:28:17.621203 T [1210:70344125620520] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H -2012-10-18 16:28:17.621203 T [1210:70344125620520] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H -- "/services/*/*/*/*/*H -2012-10-18 16:28:17.621275 D [1210:70344125620520] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 33 bytes -2012-10-18 16:28:17.621275 D [1210:70344125620520] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 33 bytes -2012-10-18 16:28:17.624097 T [1210:70344123833040] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00" -2012-10-18 16:28:17.624097 T [1210:70344123833040] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00" -- "\b\x00" -2012-10-18 16:28:17.624154 D [1210:70344123833040] (4.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 2 bytes -2012-10-18 16:28:17.624154 D [1210:70344123833040] (4.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 2 bytes -2012-10-18 16:28:17.624258 D [1210:70344123833040] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007ff4892f94e8>(70344125172340) self=connections=70344125172340 checked_out= with_map= -2012-10-18 16:28:17.624258 D [1210:70344123833040] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007ff4892f94e8>(70344125172340) self=connections=70344125172340 checked_out= with_map= -2012-10-18 16:28:17.626203 D [1210:70344123833040] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007ff4892f94e8>(70344125172340) self=connections=70344125172340 checked_out=70344125172340 with_map= -2012-10-18 16:28:17.626203 D [1210:70344123833040] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007ff4892f94e8>(70344125172340) self=connections=70344125172340 checked_out=70344125172340 with_map= -2012-10-18 16:28:17.626780 T [1210:70344123833040] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "+/services/TestService/1/Test/127.0.0.1/2000*{"Config":{"UUID":"3978b371-15e9-40f8-9b7b-59ae88d8c7ec","Name":"TestService","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"127.0.0.1","Port":2000,"MaxPort":2999}},"Registered":true}H -2012-10-18 16:28:17.626780 T [1210:70344123833040] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "+/services/TestService/1/Test/127.0.0.1/2000*{"Config":{"UUID":"3978b371-15e9-40f8-9b7b-59ae88d8c7ec","Name":"TestService","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"127.0.0.1","Port":2000,"MaxPort":2999}},"Registered":true}H -- "+/services/TestService/1/Test/127.0.0.1/2000*{"Config":{"UUID":"3978b371-15e9-40f8-9b7b-59ae88d8c7ec","Name":"TestService","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"127.0.0.1","Port":2000,"MaxPort":2999}},"Registered":true}H -2012-10-18 16:28:17.626847 D [1210:70344125434180] SimpleServer -- Waiting for a client to connect -2012-10-18 16:28:17.626847 D [1210:70344125434180] SimpleServer -- Waiting for a client to connect -2012-10-18 16:28:17.631097 T [1210:70344125620520] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\xFA" -2012-10-18 16:28:17.631097 T [1210:70344125620520] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\xFA" -- "\x00\x00\x00\xFA" -2012-10-18 16:28:17.631171 D [1210:70344125620520] (9.9ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:28:17.631171 D [1210:70344125620520] (9.9ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:28:17.632462 T [1210:70344125620520] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xA9\xD2\x03*+/services/TestService/1/Test/127.0.0.1/20002\xC2\x01{\"Config\":{\"UUID\":\"3978b371-15e9-40f8-9b7b-59ae88d8c7ec\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"127.0.0.1\",\"Port\":2000,\"MaxPort\":2999}},\"Registered\":true}" -2012-10-18 16:28:17.632462 T [1210:70344125620520] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xA9\xD2\x03*+/services/TestService/1/Test/127.0.0.1/20002\xC2\x01{\"Config\":{\"UUID\":\"3978b371-15e9-40f8-9b7b-59ae88d8c7ec\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"127.0.0.1\",\"Port\":2000,\"MaxPort\":2999}},\"Registered\":true}" -- "\b\x00\x10\x04\x18\xA9\xD2\x03*+/services/TestService/1/Test/127.0.0.1/20002\xC2\x01{\"Config\":{\"UUID\":\"3978b371-15e9-40f8-9b7b-59ae88d8c7ec\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"127.0.0.1\",\"Port\":2000,\"MaxPort\":2999}},\"Registered\":true}" -2012-10-18 16:28:17.632481 D [1210:70344125620520] (1.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 250 bytes -2012-10-18 16:28:17.632481 D [1210:70344125620520] (1.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 250 bytes -2012-10-18 16:28:17.632740 D [1210:70344125620520] RubySkynet::Registry -- #monitor Add/Update Service: TestService/1/Test => 127.0.0.1:2000 -2012-10-18 16:28:17.632740 D [1210:70344125620520] RubySkynet::Registry -- #monitor Add/Update Service: TestService/1/Test => 127.0.0.1:2000 -2012-10-18 16:28:17.632754 D [1210:70344125620520] RubySkynet::Registry -- Updated registry -- {"TutorialService/1/Development"=>["127.0.0.1:9000"], "TestService/1/Test"=>["127.0.0.1:2000"]} -2012-10-18 16:28:17.632754 D [1210:70344125620520] RubySkynet::Registry -- Updated registry -- {"TutorialService/1/Development"=>["127.0.0.1:9000"], "TestService/1/Test"=>["127.0.0.1:2000"]} -- {"TutorialService/1/Development"=>["127.0.0.1:9000"], "TestService/1/Test"=>["127.0.0.1:2000"]} -2012-10-18 16:28:17.633016 T [1210:70344125620520] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H -2012-10-18 16:28:17.633016 T [1210:70344125620520] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H -- "/services/*/*/*/*/*H -2012-10-18 16:28:17.644423 D [1210:70344123833040] (17.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 261 bytes -2012-10-18 16:28:17.644423 D [1210:70344123833040] (17.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 261 bytes -2012-10-18 16:28:17.645083 T [1210:70344123833040] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x06" -2012-10-18 16:28:17.645083 T [1210:70344123833040] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x06" -- "\x00\x00\x00\x06" -2012-10-18 16:28:17.645114 D [1210:70344123833040] (0.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:28:17.645114 D [1210:70344123833040] (0.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:28:17.645575 T [1210:70344123833040] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xA9\xD2\x03" -2012-10-18 16:28:17.645575 T [1210:70344123833040] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xA9\xD2\x03" -- "\b\x00\x18\xA9\xD2\x03" -2012-10-18 16:28:17.645606 D [1210:70344123833040] (0.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 6 bytes -2012-10-18 16:28:17.645606 D [1210:70344123833040] (0.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 6 bytes -2012-10-18 16:28:17.645751 D [1210:70344123833040] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007ff4892f94e8>(70344125172340) self=connections=70344125172340 checked_out= with_map= -2012-10-18 16:28:17.645751 D [1210:70344123833040] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007ff4892f94e8>(70344125172340) self=connections=70344125172340 checked_out= with_map= -2012-10-18 16:28:17.647408 D [1210:70344125434180] SimpleServer -- Client connected, waiting for data from client -2012-10-18 16:28:17.647408 D [1210:70344125434180] SimpleServer -- Client connected, waiting for data from client -2012-10-18 16:28:17.647782 D [1210:70344123833040] [508066616b693304ba000002] RubySkynet::Connection: 127.0.0.1:2000 -- Waiting for Service Handshake -2012-10-18 16:28:17.647782 D [1210:70344123833040] [508066616b693304ba000002] RubySkynet::Connection: 127.0.0.1:2000 -- Waiting for Service Handshake -2012-10-18 16:28:17.648124 T [1210:70344123833040] [508066616b693304ba000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "$\x00\x00\x00" -2012-10-18 16:28:17.648124 T [1210:70344123833040] [508066616b693304ba000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "$\x00\x00\x00" -- "$\x00\x00\x00" -2012-10-18 16:28:17.648155 D [1210:70344123833040] [508066616b693304ba000002] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes -2012-10-18 16:28:17.648155 D [1210:70344123833040] [508066616b693304ba000002] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes -2012-10-18 16:28:17.651609 D [1210:70344125620520] (18.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 33 bytes -2012-10-18 16:28:17.651609 D [1210:70344125620520] (18.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 33 bytes -2012-10-18 16:28:17.651849 T [1210:70344123833040] [508066616b693304ba000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "\bregistered\x00\x01\x02clientid\x00\x04\x00\x00\x00123\x00\x00" -2012-10-18 16:28:17.651849 T [1210:70344123833040] [508066616b693304ba000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "\bregistered\x00\x01\x02clientid\x00\x04\x00\x00\x00123\x00\x00" -- "\bregistered\x00\x01\x02clientid\x00\x04\x00\x00\x00123\x00\x00" -2012-10-18 16:28:17.651899 D [1210:70344123833040] [508066616b693304ba000002] (3.7ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 32 bytes -2012-10-18 16:28:17.651899 D [1210:70344123833040] [508066616b693304ba000002] (3.7ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 32 bytes -2012-10-18 16:28:17.651977 T [1210:70344123833040] [508066616b693304ba000002] RubySkynet::Connection: 127.0.0.1:2000 -- Service Handshake -- {"registered"=>true, "clientid"=>"123"} -2012-10-18 16:28:17.651977 T [1210:70344123833040] [508066616b693304ba000002] RubySkynet::Connection: 127.0.0.1:2000 -- Service Handshake -- {"registered"=>true, "clientid"=>"123"} -- {"registered"=>true, "clientid"=>"123"} -2012-10-18 16:28:17.651996 D [1210:70344123833040] [508066616b693304ba000002] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Client Handshake -2012-10-18 16:28:17.651996 D [1210:70344123833040] [508066616b693304ba000002] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Client Handshake -2012-10-18 16:28:17.652006 T [1210:70344123833040] [508066616b693304ba000002] RubySkynet::Connection: 127.0.0.1:2000 -- Client Handshake -- {"clientid"=>"123"} -2012-10-18 16:28:17.652006 T [1210:70344123833040] [508066616b693304ba000002] RubySkynet::Connection: 127.0.0.1:2000 -- Client Handshake -- {"clientid"=>"123"} -- {"clientid"=>"123"} -2012-10-18 16:28:17.652031 T [1210:70344123833040] [508066616b693304ba000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- clientid123 -2012-10-18 16:28:17.652031 T [1210:70344123833040] [508066616b693304ba000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- clientid123 -- clientid123 -2012-10-18 16:28:17.653324 D [1210:70344123833040] [508066616b693304ba000002] (1.2ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 23 bytes -2012-10-18 16:28:17.653324 D [1210:70344123833040] [508066616b693304ba000002] (1.2ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 23 bytes -2012-10-18 16:28:17.653440 D [1210:70344123833040] [508066616b693304ba000002] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Header -2012-10-18 16:28:17.653440 D [1210:70344123833040] [508066616b693304ba000002] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Header -2012-10-18 16:28:17.653464 T [1210:70344123833040] [508066616b693304ba000002] RubySkynet::Connection: 127.0.0.1:2000 -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} -2012-10-18 16:28:17.653464 T [1210:70344123833040] [508066616b693304ba000002] RubySkynet::Connection: 127.0.0.1:2000 -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} -- {"servicemethod"=>"TestService.Forward", "seq"=>0} -2012-10-18 16:28:17.653493 T [1210:70344123833040] [508066616b693304ba000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- 5servicemethodTestService.Forwardseq -2012-10-18 16:28:17.653493 T [1210:70344123833040] [508066616b693304ba000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- 5servicemethodTestService.Forwardseq -- 5servicemethodTestService.Forwardseq -2012-10-18 16:28:17.656200 D [1210:70344123833040] [508066616b693304ba000002] (2.7ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 53 bytes -2012-10-18 16:28:17.656200 D [1210:70344123833040] [508066616b693304ba000002] (2.7ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 53 bytes -2012-10-18 16:28:17.656286 D [1210:70344123833040] [508066616b693304ba000002] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Request -2012-10-18 16:28:17.656286 D [1210:70344123833040] [508066616b693304ba000002] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Request -2012-10-18 16:28:17.656298 T [1210:70344123833040] [508066616b693304ba000002] RubySkynet::Connection: 127.0.0.1:2000 -- Request -- {"clientid"=>"123", "in"=>"\x17\x00\x00\x00\x01duration\x00\x00\x00\x00\x00\x00\x00\f@\x00", "method"=>"sleep", "requestinfo"=>{"requestid"=>"508066616b693304ba000002", "retrycount"=>0, "originaddress"=>""}} -2012-10-18 16:28:17.656298 T [1210:70344123833040] [508066616b693304ba000002] RubySkynet::Connection: 127.0.0.1:2000 -- Request -- {"clientid"=>"123", "in"=>"\x17\x00\x00\x00\x01duration\x00\x00\x00\x00\x00\x00\x00\f@\x00", "method"=>"sleep", "requestinfo"=>{"requestid"=>"508066616b693304ba000002", "retrycount"=>0, "originaddress"=>""}} -- {"clientid"=>"123", "in"=>"\x17\x00\x00\x00\x01duration\x00\x00\x00\x00\x00\x00\x00\f@\x00", "method"=>"sleep", "requestinfo"=>{"requestid"=>"508066616b693304ba000002", "retrycount"=>0, "originaddress"=>""}} -2012-10-18 16:28:17.656307 T [1210:70344123833040] [508066616b693304ba000002] RubySkynet::Connection: 127.0.0.1:2000 -- Parameters: -- {"duration"=>3.5} -2012-10-18 16:28:17.656307 T [1210:70344123833040] [508066616b693304ba000002] RubySkynet::Connection: 127.0.0.1:2000 -- Parameters: -- {"duration"=>3.5} -- {"duration"=>3.5} -2012-10-18 16:28:17.656328 T [1210:70344123833040] [508066616b693304ba000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- clientid123induration @methodsleeprequestinfoQrequestid508066616b693304ba000002retrycountoriginaddress -2012-10-18 16:28:17.656328 T [1210:70344123833040] [508066616b693304ba000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- clientid123induration @methodsleeprequestinfoQrequestid508066616b693304ba000002retrycountoriginaddress -- clientid123induration @methodsleeprequestinfoQrequestid508066616b693304ba000002retrycountoriginaddress -2012-10-18 16:28:17.656374 D [1210:70344123833040] [508066616b693304ba000002] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 167 bytes -2012-10-18 16:28:17.656374 D [1210:70344123833040] [508066616b693304ba000002] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 167 bytes -2012-10-18 16:28:17.656391 D [1210:70344123833040] [508066616b693304ba000002] RubySkynet::Connection: 127.0.0.1:2000 -- Reading header from server -2012-10-18 16:28:17.656391 D [1210:70344123833040] [508066616b693304ba000002] RubySkynet::Connection: 127.0.0.1:2000 -- Reading header from server -2012-10-18 16:28:17.656465 D [1210:70344125434180] SimpleServer -- -****************** -2012-10-18 16:28:17.656465 D [1210:70344125434180] SimpleServer -- -****************** -2012-10-18 16:28:17.656478 D [1210:70344125434180] SimpleServer -- Received Request -2012-10-18 16:28:17.656478 D [1210:70344125434180] SimpleServer -- Received Request -2012-10-18 16:28:17.656487 T [1210:70344125434180] SimpleServer -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} -2012-10-18 16:28:17.656487 T [1210:70344125434180] SimpleServer -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} -- {"servicemethod"=>"TestService.Forward", "seq"=>0} -2012-10-18 16:28:17.656561 T [1210:70344125434180] SimpleServer -- Request -- {"clientid"=>"123", "in"=>"\x17\x00\x00\x00\x01duration\x00\x00\x00\x00\x00\x00\x00\f@\x00", "method"=>"sleep", "requestinfo"=>{"requestid"=>"508066616b693304ba000002", "retrycount"=>0, "originaddress"=>""}} -2012-10-18 16:28:17.656561 T [1210:70344125434180] SimpleServer -- Request -- {"clientid"=>"123", "in"=>"\x17\x00\x00\x00\x01duration\x00\x00\x00\x00\x00\x00\x00\f@\x00", "method"=>"sleep", "requestinfo"=>{"requestid"=>"508066616b693304ba000002", "retrycount"=>0, "originaddress"=>""}} -- {"clientid"=>"123", "in"=>"\x17\x00\x00\x00\x01duration\x00\x00\x00\x00\x00\x00\x00\f@\x00", "method"=>"sleep", "requestinfo"=>{"requestid"=>"508066616b693304ba000002", "retrycount"=>0, "originaddress"=>""}} -2012-10-18 16:28:21.157561 D [1210:70344125434180] SimpleServer -- Sending Header -2012-10-18 16:28:21.157561 D [1210:70344125434180] SimpleServer -- Sending Header -2012-10-18 16:28:21.157827 D [1210:70344125434180] SimpleServer -- Sending Reply -2012-10-18 16:28:21.157827 D [1210:70344125434180] SimpleServer -- Sending Reply -2012-10-18 16:28:21.157846 T [1210:70344125434180] SimpleServer -- Reply -- {"result"=>"sleep"} -2012-10-18 16:28:21.157846 T [1210:70344125434180] SimpleServer -- Reply -- {"result"=>"sleep"} -- {"result"=>"sleep"} -2012-10-18 16:28:21.157996 T [1210:70344123833040] [508066616b693304ba000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "5\x00\x00\x00" -2012-10-18 16:28:21.157996 T [1210:70344123833040] [508066616b693304ba000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "5\x00\x00\x00" -- "5\x00\x00\x00" -2012-10-18 16:28:21.158013 D [1210:70344123833040] [508066616b693304ba000002] (3501.6ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes -2012-10-18 16:28:21.158013 D [1210:70344123833040] [508066616b693304ba000002] (3501.6ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes -2012-10-18 16:28:21.158079 T [1210:70344123833040] [508066616b693304ba000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "\x02servicemethod\x00\x14\x00\x00\x00TestService.Forward\x00\x10seq\x00\x00\x00\x00\x00\x00" -2012-10-18 16:28:21.158079 T [1210:70344123833040] [508066616b693304ba000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "\x02servicemethod\x00\x14\x00\x00\x00TestService.Forward\x00\x10seq\x00\x00\x00\x00\x00\x00" -- "\x02servicemethod\x00\x14\x00\x00\x00TestService.Forward\x00\x10seq\x00\x00\x00\x00\x00\x00" -2012-10-18 16:28:21.158090 D [1210:70344123833040] [508066616b693304ba000002] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 49 bytes -2012-10-18 16:28:21.158090 D [1210:70344123833040] [508066616b693304ba000002] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 49 bytes -2012-10-18 16:28:21.158132 D [1210:70344123833040] [508066616b693304ba000002] RubySkynet::Connection: 127.0.0.1:2000 -- Response Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} -2012-10-18 16:28:21.158132 D [1210:70344123833040] [508066616b693304ba000002] RubySkynet::Connection: 127.0.0.1:2000 -- Response Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} -- {"servicemethod"=>"TestService.Forward", "seq"=>0} -2012-10-18 16:28:21.158143 D [1210:70344123833040] [508066616b693304ba000002] RubySkynet::Connection: 127.0.0.1:2000 -- Reading response from server -2012-10-18 16:28:21.158143 D [1210:70344123833040] [508066616b693304ba000002] RubySkynet::Connection: 127.0.0.1:2000 -- Reading response from server -2012-10-18 16:28:21.158208 T [1210:70344123833040] [508066616b693304ba000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "&\x00\x00\x00" -2012-10-18 16:28:21.158208 T [1210:70344123833040] [508066616b693304ba000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "&\x00\x00\x00" -- "&\x00\x00\x00" -2012-10-18 16:28:21.158218 D [1210:70344123833040] [508066616b693304ba000002] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes -2012-10-18 16:28:21.158218 D [1210:70344123833040] [508066616b693304ba000002] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes -2012-10-18 16:28:21.158268 T [1210:70344123833040] [508066616b693304ba000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "\x02out\x00\x18\x00\x00\x00\x17\x00\x00\x00\x02result\x00\x06\x00\x00\x00sleep\x00\x00\x00\x00" -2012-10-18 16:28:21.158268 T [1210:70344123833040] [508066616b693304ba000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "\x02out\x00\x18\x00\x00\x00\x17\x00\x00\x00\x02result\x00\x06\x00\x00\x00sleep\x00\x00\x00\x00" -- "\x02out\x00\x18\x00\x00\x00\x17\x00\x00\x00\x02result\x00\x06\x00\x00\x00sleep\x00\x00\x00\x00" -2012-10-18 16:28:21.158278 D [1210:70344123833040] [508066616b693304ba000002] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 34 bytes -2012-10-18 16:28:21.158278 D [1210:70344123833040] [508066616b693304ba000002] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 34 bytes -2012-10-18 16:28:21.158307 T [1210:70344123833040] [508066616b693304ba000002] RubySkynet::Connection: 127.0.0.1:2000 -- Response -- {"out"=>"\x17\x00\x00\x00\x02result\x00\x06\x00\x00\x00sleep\x00\x00"} -2012-10-18 16:28:21.158307 T [1210:70344123833040] [508066616b693304ba000002] RubySkynet::Connection: 127.0.0.1:2000 -- Response -- {"out"=>"\x17\x00\x00\x00\x02result\x00\x06\x00\x00\x00sleep\x00\x00"} -- {"out"=>"\x17\x00\x00\x00\x02result\x00\x06\x00\x00\x00sleep\x00\x00"} -2012-10-18 16:28:21.158336 T [1210:70344123833040] [508066616b693304ba000002] RubySkynet::Connection: 127.0.0.1:2000 -- Return Value -- {"result"=>"sleep"} -2012-10-18 16:28:21.158336 T [1210:70344123833040] [508066616b693304ba000002] RubySkynet::Connection: 127.0.0.1:2000 -- Return Value -- {"result"=>"sleep"} -- {"result"=>"sleep"} -2012-10-18 16:28:21.158364 I [1210:70344123833040] [508066616b693304ba000002] (3512.4ms) RubySkynet::Client: TestService/1/Test -- Called Skynet Service: TestService.sleep -2012-10-18 16:28:21.158364 I [1210:70344123833040] [508066616b693304ba000002] (3512.4ms) RubySkynet::Client: TestService/1/Test -- Called Skynet Service: TestService.sleep -2012-10-18 16:28:21.158752 D [1210:70344123833040] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007ff4892f94e8>(70344125172340) self=connections=70344125172340 checked_out=70344125172340 with_map= -2012-10-18 16:28:21.158752 D [1210:70344123833040] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007ff4892f94e8>(70344125172340) self=connections=70344125172340 checked_out=70344125172340 with_map= -2012-10-18 16:28:21.159216 T [1210:70344123833040] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- <"+/services/TestService/1/Test/127.0.0.1/2000H -2012-10-18 16:28:21.159216 T [1210:70344123833040] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- <"+/services/TestService/1/Test/127.0.0.1/2000H -- <"+/services/TestService/1/Test/127.0.0.1/2000H -2012-10-18 16:28:21.159267 D [1210:70344123833040] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 64 bytes -2012-10-18 16:28:21.159267 D [1210:70344123833040] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 64 bytes -2012-10-18 16:28:21.169936 T [1210:70344125620520] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x007" -2012-10-18 16:28:21.169936 T [1210:70344125620520] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x007" -- "\x00\x00\x007" -2012-10-18 16:28:21.169967 D [1210:70344125620520] (3518.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:28:21.169967 D [1210:70344125620520] (3518.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:28:21.170097 T [1210:70344125620520] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\b\x18\xAF\xD2\x03*+/services/TestService/1/Test/127.0.0.1/20002\x00" -2012-10-18 16:28:21.170097 T [1210:70344125620520] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\b\x18\xAF\xD2\x03*+/services/TestService/1/Test/127.0.0.1/20002\x00" -- "\b\x00\x10\b\x18\xAF\xD2\x03*+/services/TestService/1/Test/127.0.0.1/20002\x00" -2012-10-18 16:28:21.170109 D [1210:70344125620520] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 55 bytes -2012-10-18 16:28:21.170109 D [1210:70344125620520] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 55 bytes -2012-10-18 16:28:21.170332 D [1210:70344125620520] RubySkynet::Registry -- #monitor Service stopped, remove: TestService/1/Test => 127.0.0.1:2000 -2012-10-18 16:28:21.170332 D [1210:70344125620520] RubySkynet::Registry -- #monitor Service stopped, remove: TestService/1/Test => 127.0.0.1:2000 -2012-10-18 16:28:21.170371 I [1210:70344125620520] RubySkynet::Registry -- Calling callback for server: 127.0.0.1:2000 -2012-10-18 16:28:21.170371 I [1210:70344125620520] RubySkynet::Registry -- Calling callback for server: 127.0.0.1:2000 -2012-10-18 16:28:21.170616 D [1210:70344125620520] RubySkynet::Connection -- Connection pool for server:127.0.0.1:2000 has been released -2012-10-18 16:28:21.170616 D [1210:70344125620520] RubySkynet::Connection -- Connection pool for server:127.0.0.1:2000 has been released -2012-10-18 16:28:21.170634 D [1210:70344125620520] RubySkynet::Registry -- Updated registry -- {"TutorialService/1/Development"=>["127.0.0.1:9000"]} -2012-10-18 16:28:21.170634 D [1210:70344125620520] RubySkynet::Registry -- Updated registry -- {"TutorialService/1/Development"=>["127.0.0.1:9000"]} -- {"TutorialService/1/Development"=>["127.0.0.1:9000"]} -2012-10-18 16:28:21.171034 T [1210:70344125620520] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H -2012-10-18 16:28:21.171034 T [1210:70344125620520] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H -- "/services/*/*/*/*/*H -2012-10-18 16:28:21.171120 D [1210:70344125620520] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 33 bytes -2012-10-18 16:28:21.171120 D [1210:70344125620520] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 33 bytes -2012-10-18 16:28:21.171187 T [1210:70344123833040] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x02" -2012-10-18 16:28:21.171187 T [1210:70344123833040] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x02" -- "\x00\x00\x00\x02" -2012-10-18 16:28:21.171198 D [1210:70344123833040] (11.9ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:28:21.171198 D [1210:70344123833040] (11.9ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:28:21.171317 T [1210:70344123833040] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00" -2012-10-18 16:28:21.171317 T [1210:70344123833040] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00" -- "\b\x00" -2012-10-18 16:28:21.171327 D [1210:70344123833040] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 2 bytes -2012-10-18 16:28:21.171327 D [1210:70344123833040] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 2 bytes -2012-10-18 16:28:21.171452 D [1210:70344123833040] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007ff4892f94e8>(70344125172340) self=connections=70344125172340 checked_out= with_map= -2012-10-18 16:28:21.171452 D [1210:70344123833040] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007ff4892f94e8>(70344125172340) self=connections=70344125172340 checked_out= with_map= -2012-10-18 16:28:21.172384 W [1210:70344123833040] [508066656b693304ba000003] RubySkynet::Registry -- No servers available for service: SomeService with version: * in region: Development -2012-10-18 16:28:21.172384 W [1210:70344123833040] [508066656b693304ba000003] RubySkynet::Registry -- No servers available for service: SomeService with version: * in region: Development -2012-10-18 16:28:21.172495 I [1210:70344123833040] [508066656b693304ba000003] (0.3ms) RubySkynet::Client: SomeService/*/Development -- Called Skynet Service: SomeService.test -- RubySkynet::ServiceUnavailable: No servers available for service: SomeService with version: * in region: Development -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/registry.rb:92:in `server_for' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:66:in `block (2 levels) in call' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.7.0/lib/semantic_logger/base.rb:181:in `benchmark_info' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:62:in `block in call' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.7.0/lib/semantic_logger/base.rb:161:in `with_tags' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:61:in `call' -/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_client_test.rb:23:in `block (4 levels) in <class:RubySkynetClientTest>' +2012-12-05 15:42:05.554599 D [44602:70128923198680] SimpleServer -- Received Request +2012-12-05 15:42:05.554605 T [44602:70128923198680] SimpleServer -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 15:42:05.556409 T [44602:70128923198680] SimpleServer -- Request -- {"clientid"=>"123", "in"=>"\x17\x00\x00\x00\x01duration\x00\x00\x00\x00\x00\x00\x00\f@\x00", "method"=>"sleep", "requestinfo"=>{"requestid"=>"50bfb19d6b6933ae3a000002", "retrycount"=>0, "originaddress"=>""}} +2012-12-05 15:42:08.553791 W [44602:70128922483420] [50bfb19d6b6933ae3a000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read Timeout waiting for server to reply +2012-12-05 15:42:08.553980 D [44602:70128922483420] [50bfb19d6b6933ae3a000002] (3000.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes -- ResilientSocket::ReadTimeout: Timedout after 3.0 seconds trying to read from 127.0.0.1:2000 +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:392:in `block in read' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_debug' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:374:in `read' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/common.rb:10:in `read_bson_document' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:178:in `rpc_call' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:65:in `block (3 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/gene_pool-1.3.0/lib/gene_pool.rb:134:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:214:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:64:in `block (2 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_info' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:60:in `block in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:126:in `with_tags' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:59:in `call' +/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_client_test.rb:87:in `block (5 levels) in <class:RubySkynetClientTest>' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:330:in `assert_raises' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/assertions.rb:69:in `assert_raise' -/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_client_test.rb:21:in `block (3 levels) in <class:RubySkynetClientTest>' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.0/lib/shoulda/context/context.rb:398:in `call' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.0/lib/shoulda/context/context.rb:398:in `block in create_test_from_should_hash' -/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:949:in `run' +/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_client_test.rb:85:in `block (4 levels) in <class:RubySkynetClientTest>' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `block in create_test_from_should_hash' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/mocha-0.10.5/lib/mocha/integration/mini_test/version_230_to_262.rb:28:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/testcase.rb:17:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:787:in `block in _run_suite' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `map' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `_run_suite' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:565:in `block in _run_suites' @@ -3979,24 +9322,31 @@ /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:884:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:21:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:326:in `block (2 levels) in autorun' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:27:in `run_once' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:325:in `block in autorun' -2012-10-18 16:28:21.172495 I [1210:70344123833040] [508066656b693304ba000003] (0.3ms) RubySkynet::Client: SomeService/*/Development -- Called Skynet Service: SomeService.test -- RubySkynet::ServiceUnavailable: No servers available for service: SomeService with version: * in region: Development -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/registry.rb:92:in `server_for' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:66:in `block (2 levels) in call' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.7.0/lib/semantic_logger/base.rb:181:in `benchmark_info' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:62:in `block in call' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.7.0/lib/semantic_logger/base.rb:161:in `with_tags' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:61:in `call' -/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_client_test.rb:23:in `block (4 levels) in <class:RubySkynetClientTest>' +2012-12-05 15:42:08.554051 I [44602:70128922483420] [50bfb19d6b6933ae3a000002] (3002.2ms) RubySkynet::Client: TestService/1/Test -- Called Skynet Service: TestService.sleep -- ResilientSocket::ReadTimeout: Timedout after 3.0 seconds trying to read from 127.0.0.1:2000 +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:392:in `block in read' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_debug' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:374:in `read' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/common.rb:10:in `read_bson_document' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:178:in `rpc_call' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:65:in `block (3 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/gene_pool-1.3.0/lib/gene_pool.rb:134:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:214:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:64:in `block (2 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_info' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:60:in `block in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:126:in `with_tags' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:59:in `call' +/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_client_test.rb:87:in `block (5 levels) in <class:RubySkynetClientTest>' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:330:in `assert_raises' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/assertions.rb:69:in `assert_raise' -/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_client_test.rb:21:in `block (3 levels) in <class:RubySkynetClientTest>' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.0/lib/shoulda/context/context.rb:398:in `call' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.0/lib/shoulda/context/context.rb:398:in `block in create_test_from_should_hash' -/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:949:in `run' +/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_client_test.rb:85:in `block (4 levels) in <class:RubySkynetClientTest>' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `block in create_test_from_should_hash' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/mocha-0.10.5/lib/mocha/integration/mini_test/version_230_to_262.rb:28:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/testcase.rb:17:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:787:in `block in _run_suite' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `map' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `_run_suite' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:565:in `block in _run_suites' @@ -4009,24 +9359,44 @@ /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:895:in `_run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:884:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:21:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:326:in `block (2 levels) in autorun' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:27:in `run_once' -/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:325:in `block in autorun' -- RubySkynet::ServiceUnavailable: No servers available for service: SomeService with version: * in region: Development +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:325:in `block in autorun' +2012-12-05 15:42:08.555540 D [44602:70128922483420] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f90532b0300>(70128923672960) self=connections=70128923672960 checked_out=70128923672960 with_map= +2012-12-05 15:42:08.555878 T [44602:70128922483420] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- <"+/services/TestService/1/Test/127.0.0.1/2000H +2012-12-05 15:42:08.555928 D [44602:70128922483420] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 64 bytes +2012-12-05 15:42:08.560569 T [44602:70128924462760] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x006" +2012-12-05 15:42:08.560591 D [44602:70128924462760] (3009.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:42:08.560722 T [44602:70128922483420] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 15:42:08.560728 D [44602:70128922483420] (4.8ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:42:08.563427 T [44602:70128924462760] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\b\x18\x84\x1C*+/services/TestService/1/Test/127.0.0.1/20002\x00" +2012-12-05 15:42:08.563447 D [44602:70128924462760] (2.8ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 54 bytes +2012-12-05 15:42:08.563761 D [44602:70128924462760] RubySkynet::Registry -- #monitor Service stopped, remove: TestService/1/Test => 127.0.0.1:2000 +2012-12-05 15:42:08.563915 I [44602:70128924462760] RubySkynet::Registry -- Calling callback for server: 127.0.0.1:2000 +2012-12-05 15:42:08.563977 D [44602:70128924462760] RubySkynet::Connection -- Connection pool for server:127.0.0.1:2000 has been released +2012-12-05 15:42:08.563990 D [44602:70128924462760] RubySkynet::Registry -- Updated registry -- {} +2012-12-05 15:42:08.564350 T [44602:70128924462760] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-05 15:42:08.564644 D [44602:70128924462760] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 15:42:08.565297 T [44602:70128922483420] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00" +2012-12-05 15:42:08.565309 D [44602:70128922483420] (4.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 2 bytes +2012-12-05 15:42:08.565377 D [44602:70128922483420] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007f90532b0300>(70128923672960) self=connections=70128923672960 checked_out= with_map= +2012-12-05 15:42:08.565733 W [44602:70128922483420] [50bfb1a06b6933ae3a000003] RubySkynet::Registry -- No servers available for service: SomeService with version: * in region: Development +2012-12-05 15:42:08.565819 I [44602:70128922483420] [50bfb1a06b6933ae3a000003] (0.2ms) RubySkynet::Client: SomeService/*/Development -- Called Skynet Service: SomeService.test -- RubySkynet::ServiceUnavailable: No servers available for service: SomeService with version: * in region: Development /Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/registry.rb:92:in `server_for' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:66:in `block (2 levels) in call' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.7.0/lib/semantic_logger/base.rb:181:in `benchmark_info' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:62:in `block in call' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.7.0/lib/semantic_logger/base.rb:161:in `with_tags' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:61:in `call' -/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_client_test.rb:23:in `block (4 levels) in <class:RubySkynetClientTest>' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:64:in `block (2 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_info' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:60:in `block in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:126:in `with_tags' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:59:in `call' +/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_client_test.rb:26:in `block (4 levels) in <class:RubySkynetClientTest>' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:330:in `assert_raises' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/assertions.rb:69:in `assert_raise' -/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_client_test.rb:21:in `block (3 levels) in <class:RubySkynetClientTest>' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.0/lib/shoulda/context/context.rb:398:in `call' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.0/lib/shoulda/context/context.rb:398:in `block in create_test_from_should_hash' -/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:949:in `run' +/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_client_test.rb:24:in `block (3 levels) in <class:RubySkynetClientTest>' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `block in create_test_from_should_hash' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/mocha-0.10.5/lib/mocha/integration/mini_test/version_230_to_262.rb:28:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/testcase.rb:17:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:787:in `block in _run_suite' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `map' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `_run_suite' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:565:in `block in _run_suites' @@ -4040,205 +9410,260 @@ /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:884:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:21:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:326:in `block (2 levels) in autorun' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:27:in `run_once' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:325:in `block in autorun' -2012-10-18 16:28:30.557206 T [1222:70112673749720] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007f88c21ff908@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -2012-10-18 16:28:30.557206 T [1222:70112673749720] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007f88c21ff908@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007f88c21ff908@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -2012-10-18 16:28:30.563895 T [1222:70112673749720] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "/8 -2012-10-18 16:28:30.563895 T [1222:70112673749720] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "/8 -- "/8 -2012-10-18 16:28:30.564178 D [1222:70112673749720] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 13 bytes -2012-10-18 16:28:30.564178 D [1222:70112673749720] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 13 bytes -2012-10-18 16:28:30.564263 T [1222:70112673749720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\a" -2012-10-18 16:28:30.564263 T [1222:70112673749720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\a" -- "\x00\x00\x00\a" -2012-10-18 16:28:30.564274 D [1222:70112673749720] (0.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:28:30.564274 D [1222:70112673749720] (0.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:28:30.564432 T [1222:70112673749720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00*\x03ctl" -2012-10-18 16:28:30.564432 T [1222:70112673749720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00*\x03ctl" -- "\b\x00*\x03ctl" -2012-10-18 16:28:30.564449 D [1222:70112673749720] (0.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 7 bytes -2012-10-18 16:28:30.564449 D [1222:70112673749720] (0.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 7 bytes -2012-10-18 16:28:30.564772 T [1222:70112673749720] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "/8 -2012-10-18 16:28:30.564772 T [1222:70112673749720] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "/8 -- "/8 -2012-10-18 16:28:30.564818 D [1222:70112673749720] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 13 bytes -2012-10-18 16:28:30.564818 D [1222:70112673749720] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 13 bytes -2012-10-18 16:28:30.565232 T [1222:70112673749720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\f" -2012-10-18 16:28:30.565232 T [1222:70112673749720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\f" -- "\x00\x00\x00\f" -2012-10-18 16:28:30.565245 D [1222:70112673749720] (0.4ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:28:30.565245 D [1222:70112673749720] (0.4ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:28:30.565310 T [1222:70112673749720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00*\bservices" -2012-10-18 16:28:30.565310 T [1222:70112673749720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00*\bservices" -- "\b\x00*\bservices" -2012-10-18 16:28:30.565321 D [1222:70112673749720] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 12 bytes -2012-10-18 16:28:30.565321 D [1222:70112673749720] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 12 bytes -2012-10-18 16:28:30.565548 T [1222:70112673749720] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "/8 -2012-10-18 16:28:30.565548 T [1222:70112673749720] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "/8 -- "/8 -2012-10-18 16:28:30.565592 D [1222:70112673749720] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 13 bytes -2012-10-18 16:28:30.565592 D [1222:70112673749720] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 13 bytes -2012-10-18 16:28:30.565815 T [1222:70112673749720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x0E" -2012-10-18 16:28:30.565815 T [1222:70112673749720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x0E" -- "\x00\x00\x00\x0E" -2012-10-18 16:28:30.565828 D [1222:70112673749720] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:28:30.565828 D [1222:70112673749720] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:28:30.565890 T [1222:70112673749720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00*\nstatistics" -2012-10-18 16:28:30.565890 T [1222:70112673749720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00*\nstatistics" -- "\b\x00*\nstatistics" -2012-10-18 16:28:30.565900 D [1222:70112673749720] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 14 bytes -2012-10-18 16:28:30.565900 D [1222:70112673749720] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 14 bytes -2012-10-18 16:28:30.566105 T [1222:70112673749720] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "/8 -2012-10-18 16:28:30.566105 T [1222:70112673749720] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "/8 -- "/8 -2012-10-18 16:28:30.566386 D [1222:70112673749720] (0.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 13 bytes -2012-10-18 16:28:30.566386 D [1222:70112673749720] (0.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 13 bytes -2012-10-18 16:28:30.566461 T [1222:70112673749720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x05" -2012-10-18 16:28:30.566461 T [1222:70112673749720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x05" -- "\x00\x00\x00\x05" -2012-10-18 16:28:30.566472 D [1222:70112673749720] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:28:30.566472 D [1222:70112673749720] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:28:30.566531 T [1222:70112673749720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\xA0\x06\b" -2012-10-18 16:28:30.566531 T [1222:70112673749720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\xA0\x06\b" -- "\b\x00\xA0\x06\b" -2012-10-18 16:28:30.566541 D [1222:70112673749720] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 5 bytes -2012-10-18 16:28:30.566541 D [1222:70112673749720] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 5 bytes -2012-10-18 16:28:30.568202 T [1222:70112673749720] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/fooH -2012-10-18 16:28:30.568202 T [1222:70112673749720] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/fooH -- " /test/fooH -2012-10-18 16:28:30.568252 D [1222:70112673749720] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 30 bytes -2012-10-18 16:28:30.568252 D [1222:70112673749720] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 30 bytes -2012-10-18 16:28:30.570948 T [1222:70112673749720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x02" -2012-10-18 16:28:30.570948 T [1222:70112673749720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x02" -- "\x00\x00\x00\x02" -2012-10-18 16:28:30.570989 D [1222:70112673749720] (2.7ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:28:30.570989 D [1222:70112673749720] (2.7ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:28:30.571348 T [1222:70112673749720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00" -2012-10-18 16:28:30.571348 T [1222:70112673749720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00" -- "\b\x00" -2012-10-18 16:28:30.571379 D [1222:70112673749720] (0.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 2 bytes -2012-10-18 16:28:30.571379 D [1222:70112673749720] (0.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 2 bytes -2012-10-18 16:28:30.572029 T [1222:70112673749720] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007f88c2254ac0@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -2012-10-18 16:28:30.572029 T [1222:70112673749720] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007f88c2254ac0@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007f88c2254ac0@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -2012-10-18 16:28:30.575167 T [1222:70112673749720] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending --  -2012-10-18 16:28:30.575167 T [1222:70112673749720] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending --  --  -2012-10-18 16:28:30.575442 D [1222:70112673749720] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 8 bytes -2012-10-18 16:28:30.575442 D [1222:70112673749720] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 8 bytes -2012-10-18 16:28:30.575682 T [1222:70112673749720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x06" -2012-10-18 16:28:30.575682 T [1222:70112673749720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x06" -- "\x00\x00\x00\x06" -2012-10-18 16:28:30.575722 D [1222:70112673749720] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:28:30.575722 D [1222:70112673749720] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:28:30.576139 T [1222:70112673749720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xBB\xD2\x03" -2012-10-18 16:28:30.576139 T [1222:70112673749720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xBB\xD2\x03" -- "\b\x00\x18\xBB\xD2\x03" -2012-10-18 16:28:30.576181 D [1222:70112673749720] (0.4ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 6 bytes -2012-10-18 16:28:30.576181 D [1222:70112673749720] (0.4ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 6 bytes -2012-10-18 16:28:30.580757 T [1222:70112673749720] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/fooH -2012-10-18 16:28:30.580757 T [1222:70112673749720] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/fooH -- " /test/fooH -2012-10-18 16:28:30.580957 D [1222:70112673749720] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 30 bytes -2012-10-18 16:28:30.580957 D [1222:70112673749720] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 30 bytes -2012-10-18 16:28:30.582332 T [1222:70112673749720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x02" -2012-10-18 16:28:30.582332 T [1222:70112673749720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x02" -- "\x00\x00\x00\x02" -2012-10-18 16:28:30.582351 D [1222:70112673749720] (1.4ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:28:30.582351 D [1222:70112673749720] (1.4ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:28:30.586247 T [1222:70112673749720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00" -2012-10-18 16:28:30.586247 T [1222:70112673749720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00" -- "\b\x00" -2012-10-18 16:28:30.586279 D [1222:70112673749720] (3.9ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 2 bytes -2012-10-18 16:28:30.586279 D [1222:70112673749720] (3.9ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 2 bytes -2012-10-18 16:28:30.586544 T [1222:70112673749720] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007f88c225e110@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -2012-10-18 16:28:30.586544 T [1222:70112673749720] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007f88c225e110@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007f88c225e110@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -2012-10-18 16:28:30.588455 T [1222:70112673749720] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "" /test/foo*value2H -2012-10-18 16:28:30.588455 T [1222:70112673749720] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "" /test/foo*value2H -- "" /test/foo*value2H -2012-10-18 16:28:30.588692 D [1222:70112673749720] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 38 bytes -2012-10-18 16:28:30.588692 D [1222:70112673749720] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 38 bytes -2012-10-18 16:28:30.589986 T [1222:70112673749720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x06" -2012-10-18 16:28:30.589986 T [1222:70112673749720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x06" -- "\x00\x00\x00\x06" -2012-10-18 16:28:30.590003 D [1222:70112673749720] (1.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:28:30.590003 D [1222:70112673749720] (1.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:28:30.600156 T [1222:70112673749720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xBD\xD2\x03" -2012-10-18 16:28:30.600156 T [1222:70112673749720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xBD\xD2\x03" -- "\b\x00\x18\xBD\xD2\x03" -2012-10-18 16:28:30.600177 D [1222:70112673749720] (10.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 6 bytes -2012-10-18 16:28:30.600177 D [1222:70112673749720] (10.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 6 bytes -2012-10-18 16:28:30.600599 T [1222:70112673749720] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/foo -2012-10-18 16:28:30.600599 T [1222:70112673749720] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/foo -- " /test/foo -2012-10-18 16:28:30.601033 D [1222:70112673749720] (0.4ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 19 bytes -2012-10-18 16:28:30.601033 D [1222:70112673749720] (0.4ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 19 bytes -2012-10-18 16:28:30.601241 T [1222:70112673749720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x0E" -2012-10-18 16:28:30.601241 T [1222:70112673749720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x0E" -- "\x00\x00\x00\x0E" -2012-10-18 16:28:30.601261 D [1222:70112673749720] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:28:30.601261 D [1222:70112673749720] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:28:30.601348 T [1222:70112673749720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xBD\xD2\x032\x06value2" -2012-10-18 16:28:30.601348 T [1222:70112673749720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xBD\xD2\x032\x06value2" -- "\b\x00\x18\xBD\xD2\x032\x06value2" -2012-10-18 16:28:30.601358 D [1222:70112673749720] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 14 bytes -2012-10-18 16:28:30.601358 D [1222:70112673749720] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 14 bytes -2012-10-18 16:28:30.608119 T [1222:70112673749720] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/fooH -2012-10-18 16:28:30.608119 T [1222:70112673749720] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/fooH -- " /test/fooH -2012-10-18 16:28:30.608211 D [1222:70112673749720] (0.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 30 bytes -2012-10-18 16:28:30.608211 D [1222:70112673749720] (0.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 30 bytes -2012-10-18 16:28:30.613335 T [1222:70112673749720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x02" -2012-10-18 16:28:30.613335 T [1222:70112673749720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x02" -- "\x00\x00\x00\x02" -2012-10-18 16:28:30.613369 D [1222:70112673749720] (5.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:28:30.613369 D [1222:70112673749720] (5.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:28:30.620447 T [1222:70112673749720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00" -2012-10-18 16:28:30.620447 T [1222:70112673749720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00" -- "\b\x00" -2012-10-18 16:28:30.620470 D [1222:70112673749720] (0.5ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 2 bytes -2012-10-18 16:28:30.620470 D [1222:70112673749720] (0.5ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 2 bytes -2012-10-18 16:28:30.620806 T [1222:70112673749720] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007f88c203fc58@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -2012-10-18 16:28:30.620806 T [1222:70112673749720] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007f88c203fc58@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007f88c203fc58@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -2012-10-18 16:28:30.622173 T [1222:70112673749720] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- !" /test/foo*valueH -2012-10-18 16:28:30.622173 T [1222:70112673749720] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- !" /test/foo*valueH -- !" /test/foo*valueH -2012-10-18 16:28:30.622231 D [1222:70112673749720] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 37 bytes -2012-10-18 16:28:30.622231 D [1222:70112673749720] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 37 bytes -2012-10-18 16:28:30.623838 T [1222:70112673749720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x06" -2012-10-18 16:28:30.623838 T [1222:70112673749720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x06" -- "\x00\x00\x00\x06" -2012-10-18 16:28:30.623856 D [1222:70112673749720] (1.6ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:28:30.623856 D [1222:70112673749720] (1.6ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:28:30.625824 T [1222:70112673749720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xBF\xD2\x03" -2012-10-18 16:28:30.625824 T [1222:70112673749720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xBF\xD2\x03" -- "\b\x00\x18\xBF\xD2\x03" -2012-10-18 16:28:30.625841 D [1222:70112673749720] (1.9ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 6 bytes -2012-10-18 16:28:30.625841 D [1222:70112673749720] (1.9ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 6 bytes -2012-10-18 16:28:30.626110 T [1222:70112673749720] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/foo -2012-10-18 16:28:30.626110 T [1222:70112673749720] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/foo -- " /test/foo -2012-10-18 16:28:30.626197 D [1222:70112673749720] (0.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 19 bytes -2012-10-18 16:28:30.626197 D [1222:70112673749720] (0.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 19 bytes -2012-10-18 16:28:30.629490 T [1222:70112673749720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\r" -2012-10-18 16:28:30.629490 T [1222:70112673749720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\r" -- "\x00\x00\x00\r" -2012-10-18 16:28:30.629510 D [1222:70112673749720] (3.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:28:30.629510 D [1222:70112673749720] (3.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:28:30.629737 T [1222:70112673749720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xBF\xD2\x032\x05value" -2012-10-18 16:28:30.629737 T [1222:70112673749720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xBF\xD2\x032\x05value" -- "\b\x00\x18\xBF\xD2\x032\x05value" -2012-10-18 16:28:30.629749 D [1222:70112673749720] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 13 bytes -2012-10-18 16:28:30.629749 D [1222:70112673749720] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 13 bytes -2012-10-18 16:28:30.630930 T [1222:70112673749720] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/fooH -2012-10-18 16:28:30.630930 T [1222:70112673749720] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/fooH -- " /test/fooH -2012-10-18 16:28:30.631271 D [1222:70112673749720] (0.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 30 bytes -2012-10-18 16:28:30.631271 D [1222:70112673749720] (0.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 30 bytes -2012-10-18 16:28:30.632501 T [1222:70112673749720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x02" -2012-10-18 16:28:30.632501 T [1222:70112673749720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x02" -- "\x00\x00\x00\x02" -2012-10-18 16:28:30.632520 D [1222:70112673749720] (1.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:28:30.632520 D [1222:70112673749720] (1.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:28:30.632833 T [1222:70112673749720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00" -2012-10-18 16:28:30.632833 T [1222:70112673749720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00" -- "\b\x00" -2012-10-18 16:28:30.632846 D [1222:70112673749720] (0.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 2 bytes -2012-10-18 16:28:30.632846 D [1222:70112673749720] (0.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 2 bytes -2012-10-18 16:28:30.633192 T [1222:70112673749720] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:9999", :connect_retry_interval=>0.1, :connect_retry_count=>5, :read_timeout=>5, :connect_timeout=>3, :buffered=>false, :on_connect=>#<Proc:0x007f88c305c078@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -2012-10-18 16:28:30.633192 T [1222:70112673749720] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:9999", :connect_retry_interval=>0.1, :connect_retry_count=>5, :read_timeout=>5, :connect_timeout=>3, :buffered=>false, :on_connect=>#<Proc:0x007f88c305c078@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -- {:server=>"localhost:9999", :connect_retry_interval=>0.1, :connect_retry_count=>5, :read_timeout=>5, :connect_timeout=>3, :buffered=>false, :on_connect=>#<Proc:0x007f88c305c078@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -2012-10-18 16:28:30.634128 W [1222:70112673749720] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 1 -2012-10-18 16:28:30.634128 W [1222:70112673749720] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 1 -2012-10-18 16:28:30.735514 W [1222:70112673749720] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 2 -2012-10-18 16:28:30.735514 W [1222:70112673749720] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 2 -2012-10-18 16:28:30.836999 W [1222:70112673749720] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 3 -2012-10-18 16:28:30.836999 W [1222:70112673749720] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 3 -2012-10-18 16:28:30.937970 W [1222:70112673749720] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 4 -2012-10-18 16:28:30.937970 W [1222:70112673749720] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 4 -2012-10-18 16:28:31.038903 W [1222:70112673749720] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 5 -2012-10-18 16:28:31.038903 W [1222:70112673749720] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 5 -2012-10-18 16:28:31.140365 E [1222:70112673749720] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Giving up after 5 retries -2012-10-18 16:28:31.140365 E [1222:70112673749720] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Giving up after 5 retries -2012-10-18 16:28:31.140468 I [1222:70112673749720] (507.2ms) ResilientSocket::TCPClient ["localhost:9999"] -- Connecting to server localhost:9999 -- ResilientSocket::ConnectionFailure: After 5 connection attempts to host 'localhost:9999': Errno::ECONNREFUSED: Connection refused - connect(2) -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:570:in `rescue in block in connect_to_server' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:548:in `block in connect_to_server' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.7.0/lib/semantic_logger/base.rb:181:in `benchmark_info' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:541:in `connect_to_server' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:304:in `connect' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:232:in `initialize' +2012-12-05 15:42:08.568067 D [44602:70128923204100] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f90532b0300>(70128923672960) self=connections=70128923672960 checked_out=70128923672960 with_map= +2012-12-05 15:42:08.568595 T [44602:70128923204100] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "+/services/TestService/1/Test/localhost/2100*{"Config":{"UUID":"localhost:2100-44602-TestService-70128927785200","Name":"TestService","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"localhost","Port":2100,"MaxPort":3099}},"Registered":true}H +2012-12-05 15:42:08.568688 D [44602:70128923204100] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 272 bytes +2012-12-05 15:42:08.572457 T [44602:70128924462760] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01\x04" +2012-12-05 15:42:08.572472 D [44602:70128924462760] (7.8ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:42:08.572578 T [44602:70128923204100] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 15:42:08.572585 D [44602:70128923204100] (3.9ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:42:08.575061 T [44602:70128924462760] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\x85\x1C*+/services/TestService/1/Test/localhost/21002\xCD\x01{\"Config\":{\"UUID\":\"localhost:2100-44602-TestService-70128927785200\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-05 15:42:08.575076 D [44602:70128924462760] (2.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 260 bytes +2012-12-05 15:42:08.575348 D [44602:70128924462760] RubySkynet::Registry -- #monitor Add/Update Service: TestService/1/Test => localhost:2100 +2012-12-05 15:42:08.575361 D [44602:70128924462760] RubySkynet::Registry -- Updated registry -- {"TestService/1/Test"=>["localhost:2100"]} +2012-12-05 15:42:08.575622 T [44602:70128924462760] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-05 15:42:08.575696 D [44602:70128924462760] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 15:42:08.575751 T [44602:70128923204100] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\x85\x1C" +2012-12-05 15:42:08.575757 D [44602:70128923204100] (3.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 15:42:08.575836 D [44602:70128923204100] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007f90532b0300>(70128923672960) self=connections=70128923672960 checked_out= with_map= +2012-12-05 15:42:08.576503 I [44602:70128923204100] RubySkynet::Server -- Starting listener on localhost:2100 +2012-12-05 15:42:08.576524 D [44602:70128923204100] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 15:42:08.577996 D [44602:70128922483420] [50bfb1a06b6933ae3a000004] RubySkynet::Connection: localhost:2100 -- Waiting for Service Handshake +2012-12-05 15:42:08.578251 D [44602:70128923204100] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 15:42:08.578333 D [44602:70128923204100] RubySkynet::Server -- Client connected, waiting for data from client +2012-12-05 15:42:08.579035 T [44602:70128922483420] [50bfb1a06b6933ae3a000004] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "9\x00\x00\x00" +2012-12-05 15:42:08.579050 D [44602:70128922483420] [50bfb1a06b6933ae3a000004] (1.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 4 bytes +2012-12-05 15:42:08.579104 T [44602:70128922483420] [50bfb1a06b6933ae3a000004] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "\bregistered\x00\x01\x02clientid\x00\x19\x00\x00\x0050bfb1a06b6933ae3a000005\x00\x00" +2012-12-05 15:42:08.579109 D [44602:70128922483420] [50bfb1a06b6933ae3a000004] (0.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 53 bytes +2012-12-05 15:42:08.579150 T [44602:70128922483420] [50bfb1a06b6933ae3a000004] RubySkynet::Connection: localhost:2100 -- Service Handshake -- {"registered"=>true, "clientid"=>"50bfb1a06b6933ae3a000005"} +2012-12-05 15:42:08.579163 D [44602:70128922483420] [50bfb1a06b6933ae3a000004] RubySkynet::Connection: localhost:2100 -- Sending Client Handshake +2012-12-05 15:42:08.579168 T [44602:70128922483420] [50bfb1a06b6933ae3a000004] RubySkynet::Connection: localhost:2100 -- Client Handshake -- {"clientid"=>"50bfb1a06b6933ae3a000005"} +2012-12-05 15:42:08.579186 T [44602:70128922483420] [50bfb1a06b6933ae3a000004] ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sending -- ,clientid50bfb1a06b6933ae3a000005 +2012-12-05 15:42:08.579295 D [44602:70128922483420] [50bfb1a06b6933ae3a000004] (0.1ms) ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sent 44 bytes +2012-12-05 15:42:08.579367 D [44602:70128922483420] [50bfb1a06b6933ae3a000004] RubySkynet::Connection: localhost:2100 -- Sending Header +2012-12-05 15:42:08.579377 T [44602:70128922483420] [50bfb1a06b6933ae3a000004] RubySkynet::Connection: localhost:2100 -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 15:42:08.579399 T [44602:70128922483420] [50bfb1a06b6933ae3a000004] ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sending -- 5servicemethodTestService.Forwardseq +2012-12-05 15:42:08.579463 D [44602:70128922483420] [50bfb1a06b6933ae3a000004] (0.1ms) ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sent 53 bytes +2012-12-05 15:42:08.579498 D [44602:70128922483420] [50bfb1a06b6933ae3a000004] RubySkynet::Connection: localhost:2100 -- Sending Request +2012-12-05 15:42:08.579504 T [44602:70128922483420] [50bfb1a06b6933ae3a000004] RubySkynet::Connection: localhost:2100 -- Request -- {"clientid"=>"50bfb1a06b6933ae3a000005", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"echo", "requestinfo"=>{"requestid"=>"50bfb1a06b6933ae3a000004", "retrycount"=>0, "originaddress"=>""}} +2012-12-05 15:42:08.579509 T [44602:70128922483420] [50bfb1a06b6933ae3a000004] RubySkynet::Connection: localhost:2100 -- Parameters: -- {"some"=>"parameters"} +2012-12-05 15:42:08.579526 T [44602:70128922483420] [50bfb1a06b6933ae3a000004] ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sending -- clientid50bfb1a06b6933ae3a000005insome parametersmethodechorequestinfoQrequestid50bfb1a06b6933ae3a000004retrycountoriginaddress +2012-12-05 15:42:08.579591 D [44602:70128922483420] [50bfb1a06b6933ae3a000004] (0.1ms) ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sent 190 bytes +2012-12-05 15:42:08.579605 D [44602:70128922483420] [50bfb1a06b6933ae3a000004] RubySkynet::Connection: localhost:2100 -- Reading header from server +2012-12-05 15:42:08.580555 D [44602:70128923204100] RubySkynet::Server -- +****************** +2012-12-05 15:42:08.580570 D [44602:70128923204100] RubySkynet::Server -- Received Request +2012-12-05 15:42:08.580581 T [44602:70128923204100] RubySkynet::Server -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 15:42:08.581074 T [44602:70128923204100] RubySkynet::Server -- Request -- {"clientid"=>"50bfb1a06b6933ae3a000005", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"echo", "requestinfo"=>{"requestid"=>"50bfb1a06b6933ae3a000004", "retrycount"=>0, "originaddress"=>""}} +2012-12-05 15:42:08.581099 T [44602:70128923204100] RubySkynet::Server -- Parameters -- {"some"=>"parameters"} +2012-12-05 15:42:08.581121 T [44602:70128923204100] RubySkynet::Server -- Method Call: echo with parameters: -- {"some"=>"parameters"} +2012-12-05 15:42:08.581134 D [44602:70128923204100] (0.0ms) RubySkynet::Server -- Called: TestService#echo +2012-12-05 15:42:08.581152 D [44602:70128923204100] RubySkynet::Server -- Sending Header +2012-12-05 15:42:08.581208 D [44602:70128923204100] RubySkynet::Server -- Sending Reply +2012-12-05 15:42:08.581220 T [44602:70128923204100] RubySkynet::Server -- Reply -- {"some"=>"parameters"} +2012-12-05 15:42:08.581510 T [44602:70128922483420] [50bfb1a06b6933ae3a000004] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "5\x00\x00\x00" +2012-12-05 15:42:08.581519 D [44602:70128922483420] [50bfb1a06b6933ae3a000004] (1.9ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 4 bytes +2012-12-05 15:42:08.581883 T [44602:70128922483420] [50bfb1a06b6933ae3a000004] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "\x02servicemethod\x00\x14\x00\x00\x00TestService.Forward\x00\x10seq\x00\x00\x00\x00\x00\x00" +2012-12-05 15:42:08.581890 D [44602:70128922483420] [50bfb1a06b6933ae3a000004] (0.1ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 49 bytes +2012-12-05 15:42:08.581922 D [44602:70128922483420] [50bfb1a06b6933ae3a000004] RubySkynet::Connection: localhost:2100 -- Response Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 15:42:08.581929 D [44602:70128922483420] [50bfb1a06b6933ae3a000004] RubySkynet::Connection: localhost:2100 -- Reading response from server +2012-12-05 15:42:08.582215 T [44602:70128922483420] [50bfb1a06b6933ae3a000004] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- ")\x00\x00\x00" +2012-12-05 15:42:08.582223 D [44602:70128922483420] [50bfb1a06b6933ae3a000004] (0.1ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 4 bytes +2012-12-05 15:42:08.582474 T [44602:70128922483420] [50bfb1a06b6933ae3a000004] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "\x02out\x00\e\x00\x00\x00\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00\x00\x00" +2012-12-05 15:42:08.582483 D [44602:70128922483420] [50bfb1a06b6933ae3a000004] (0.2ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 37 bytes +2012-12-05 15:42:08.582560 T [44602:70128922483420] [50bfb1a06b6933ae3a000004] RubySkynet::Connection: localhost:2100 -- Response -- {"out"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00"} +2012-12-05 15:42:08.582584 T [44602:70128922483420] [50bfb1a06b6933ae3a000004] RubySkynet::Connection: localhost:2100 -- Return Value -- {"some"=>"parameters"} +2012-12-05 15:42:08.582604 I [44602:70128922483420] [50bfb1a06b6933ae3a000004] (5.8ms) RubySkynet::Client: TestService/1/Test -- Called Skynet Service: TestService.echo +2012-12-05 15:42:08.582856 I [44602:70128923204100] RubySkynet::Server -- Skynet Server Stopped +2012-12-05 15:42:08.582945 D [44602:70128923204100] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f90532b0300>(70128923672960) self=connections=70128923672960 checked_out=70128923672960 with_map= +2012-12-05 15:42:08.583287 T [44602:70128923204100] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- <"+/services/TestService/1/Test/localhost/2100H +2012-12-05 15:42:08.583945 D [44602:70128923204100] (0.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 64 bytes +2012-12-05 15:42:08.593315 T [44602:70128924462760] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x006" +2012-12-05 15:42:08.593345 D [44602:70128924462760] (17.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:42:08.593577 T [44602:70128924462760] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\b\x18\x86\x1C*+/services/TestService/1/Test/localhost/21002\x00" +2012-12-05 15:42:08.593583 D [44602:70128924462760] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 54 bytes +2012-12-05 15:42:08.593870 D [44602:70128924462760] RubySkynet::Registry -- #monitor Service stopped, remove: TestService/1/Test => localhost:2100 +2012-12-05 15:42:08.593899 I [44602:70128924462760] RubySkynet::Registry -- Calling callback for server: localhost:2100 +2012-12-05 15:42:08.594002 D [44602:70128924462760] RubySkynet::Connection -- Connection pool for server:localhost:2100 has been released +2012-12-05 15:42:08.594015 D [44602:70128924462760] RubySkynet::Registry -- Updated registry -- {} +2012-12-05 15:42:08.594249 T [44602:70128924462760] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-05 15:42:08.594294 D [44602:70128924462760] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 15:42:08.594354 T [44602:70128923204100] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 15:42:08.594362 D [44602:70128923204100] (10.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:42:08.594432 T [44602:70128923204100] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00" +2012-12-05 15:42:08.594438 D [44602:70128923204100] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 2 bytes +2012-12-05 15:42:08.594507 D [44602:70128923204100] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007f90532b0300>(70128923672960) self=connections=70128923672960 checked_out= with_map= +2012-12-05 15:42:08.594524 I [44602:70128923204100] RubySkynet::Server -- Skynet Services De-registered in Doozer +2012-12-05 15:42:08.597441 D [44602:70128923167900] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f90532b0300>(70128923672960) self=connections=70128923672960 checked_out=70128923672960 with_map= +2012-12-05 15:42:08.597824 T [44602:70128923167900] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "+/services/TestService/1/Test/localhost/2100*{"Config":{"UUID":"localhost:2100-44602-TestService-70128927785200","Name":"TestService","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"localhost","Port":2100,"MaxPort":3099}},"Registered":true}H +2012-12-05 15:42:08.598156 D [44602:70128923167900] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 272 bytes +2012-12-05 15:42:08.599572 T [44602:70128924462760] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01\x04" +2012-12-05 15:42:08.599599 D [44602:70128924462760] (5.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:42:08.600878 T [44602:70128923167900] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 15:42:08.600890 D [44602:70128923167900] (2.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:42:08.601518 T [44602:70128924462760] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\x87\x1C*+/services/TestService/1/Test/localhost/21002\xCD\x01{\"Config\":{\"UUID\":\"localhost:2100-44602-TestService-70128927785200\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-05 15:42:08.601530 D [44602:70128924462760] (1.9ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 260 bytes +2012-12-05 15:42:08.601730 D [44602:70128924462760] RubySkynet::Registry -- #monitor Add/Update Service: TestService/1/Test => localhost:2100 +2012-12-05 15:42:08.601742 D [44602:70128924462760] RubySkynet::Registry -- Updated registry -- {"TestService/1/Test"=>["localhost:2100"]} +2012-12-05 15:42:08.601957 T [44602:70128924462760] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-05 15:42:08.604441 T [44602:70128923167900] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\x87\x1C" +2012-12-05 15:42:08.604454 D [44602:70128923167900] (3.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 15:42:08.604564 D [44602:70128923167900] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007f90532b0300>(70128923672960) self=connections=70128923672960 checked_out= with_map= +2012-12-05 15:42:08.605832 D [44602:70128924462760] (1.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 15:42:08.606956 I [44602:70128923167900] RubySkynet::Server -- Starting listener on localhost:2100 +2012-12-05 15:42:08.606981 D [44602:70128923167900] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 15:42:08.607787 I [44602:70128923167900] RubySkynet::Server -- Skynet Server Stopped +2012-12-05 15:42:08.607880 D [44602:70128923167900] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f90532b0300>(70128923672960) self=connections=70128923672960 checked_out=70128923672960 with_map= +2012-12-05 15:42:08.608729 T [44602:70128923167900] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- <"+/services/TestService/1/Test/localhost/2100H +2012-12-05 15:42:08.608837 D [44602:70128923167900] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 64 bytes +2012-12-05 15:42:08.615168 T [44602:70128924462760] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x006" +2012-12-05 15:42:08.615188 D [44602:70128924462760] (9.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:42:08.617046 T [44602:70128923167900] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 15:42:08.617054 D [44602:70128923167900] (8.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:42:08.617623 T [44602:70128924462760] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\b\x18\x88\x1C*+/services/TestService/1/Test/localhost/21002\x00" +2012-12-05 15:42:08.617634 D [44602:70128924462760] (2.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 54 bytes +2012-12-05 15:42:08.617797 D [44602:70128924462760] RubySkynet::Registry -- #monitor Service stopped, remove: TestService/1/Test => localhost:2100 +2012-12-05 15:42:08.617826 D [44602:70128924462760] RubySkynet::Registry -- Updated registry -- {} +2012-12-05 15:42:08.618051 T [44602:70128924462760] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-05 15:42:08.618114 D [44602:70128924462760] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 15:42:08.618212 T [44602:70128923167900] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00" +2012-12-05 15:42:08.618219 D [44602:70128923167900] (1.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 2 bytes +2012-12-05 15:42:08.618293 D [44602:70128923167900] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007f90532b0300>(70128923672960) self=connections=70128923672960 checked_out= with_map= +2012-12-05 15:42:08.618311 I [44602:70128923167900] RubySkynet::Server -- Skynet Services De-registered in Doozer +2012-12-05 15:42:08.624296 D [44602:70128923174740] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f90532b0300>(70128923672960) self=connections=70128923672960 checked_out=70128923672960 with_map= +2012-12-05 15:42:08.624783 T [44602:70128923174740] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "+/services/TestService/1/Test/localhost/2100*{"Config":{"UUID":"localhost:2100-44602-TestService-70128927785200","Name":"TestService","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"localhost","Port":2100,"MaxPort":3099}},"Registered":true}H +2012-12-05 15:42:08.625008 D [44602:70128923174740] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 272 bytes +2012-12-05 15:42:08.626904 T [44602:70128924462760] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01\x04" +2012-12-05 15:42:08.626918 D [44602:70128924462760] (8.8ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:42:08.626997 T [44602:70128923174740] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 15:42:08.627003 D [44602:70128923174740] (1.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:42:08.630944 T [44602:70128923174740] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\x89\x1C" +2012-12-05 15:42:08.630969 D [44602:70128923174740] (3.9ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 15:42:08.632562 D [44602:70128923174740] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007f90532b0300>(70128923672960) self=connections=70128923672960 checked_out= with_map= +2012-12-05 15:42:08.632713 I [44602:70128923174740] RubySkynet::Server -- Starting listener on localhost:2100 +2012-12-05 15:42:08.632728 D [44602:70128923174740] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 15:42:08.633043 D [44602:70128922483420] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f90532b0300>(70128923672960) self=connections=70128923672960 checked_out=70128923672960 with_map= +2012-12-05 15:42:08.633329 T [44602:70128922483420] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- 1"+/services/TestService/1/Test/localhost/2100 +2012-12-05 15:42:08.633550 T [44602:70128924462760] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\x89\x1C*+/services/TestService/1/Test/localhost/21002\xCD\x01{\"Config\":{\"UUID\":\"localhost:2100-44602-TestService-70128927785200\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-05 15:42:08.633558 D [44602:70128924462760] (6.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 260 bytes +2012-12-05 15:42:08.633760 D [44602:70128924462760] RubySkynet::Registry -- #monitor Add/Update Service: TestService/1/Test => localhost:2100 +2012-12-05 15:42:08.633772 D [44602:70128924462760] RubySkynet::Registry -- Updated registry -- {"TestService/1/Test"=>["localhost:2100"]} +2012-12-05 15:42:08.633955 T [44602:70128924462760] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-05 15:42:08.634003 D [44602:70128924462760] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 15:42:08.634037 D [44602:70128922483420] (0.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 53 bytes +2012-12-05 15:42:08.634083 T [44602:70128922483420] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\xD5" +2012-12-05 15:42:08.634089 D [44602:70128922483420] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:42:08.634242 T [44602:70128922483420] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\x89\x1C2\xCD\x01{\"Config\":{\"UUID\":\"localhost:2100-44602-TestService-70128927785200\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-05 15:42:08.634277 D [44602:70128922483420] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 213 bytes +2012-12-05 15:42:08.634386 D [44602:70128922483420] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007f90532b0300>(70128923672960) self=connections=70128923672960 checked_out= with_map= +2012-12-05 15:42:08.635725 I [44602:70128923174740] RubySkynet::Server -- Skynet Server Stopped +2012-12-05 15:42:08.635804 D [44602:70128923174740] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f90532b0300>(70128923672960) self=connections=70128923672960 checked_out=70128923672960 with_map= +2012-12-05 15:42:08.636075 T [44602:70128923174740] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- <"+/services/TestService/1/Test/localhost/2100H +2012-12-05 15:42:08.636152 D [44602:70128923174740] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 64 bytes +2012-12-05 15:42:08.638839 T [44602:70128924462760] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x006" +2012-12-05 15:42:08.638855 D [44602:70128924462760] (4.8ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:42:08.639077 T [44602:70128923174740] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 15:42:08.639084 D [44602:70128923174740] (2.9ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:42:08.640463 T [44602:70128924462760] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\b\x18\x8A\x1C*+/services/TestService/1/Test/localhost/21002\x00" +2012-12-05 15:42:08.640476 D [44602:70128924462760] (1.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 54 bytes +2012-12-05 15:42:35.809510 T [44626:70350645975760] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007ff792c33ef8@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 15:42:35.815651 T [44626:70350645975760] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "/8 +2012-12-05 15:42:35.815886 D [44626:70350645975760] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 13 bytes +2012-12-05 15:42:35.816008 T [44626:70350645975760] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\a" +2012-12-05 15:42:35.816015 D [44626:70350645975760] (0.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 15:42:35.816183 T [44626:70350645975760] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00*\x03ctl" +2012-12-05 15:42:35.816193 D [44626:70350645975760] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 7 bytes +2012-12-05 15:42:35.816505 T [44626:70350645975760] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "/8 +2012-12-05 15:42:35.816547 D [44626:70350645975760] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 13 bytes +2012-12-05 15:42:35.817332 T [44626:70350645975760] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 15:42:35.817344 D [44626:70350645975760] (0.8ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 15:42:35.817424 T [44626:70350645975760] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\xA0\x06\b" +2012-12-05 15:42:35.817431 D [44626:70350645975760] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 5 bytes +2012-12-05 15:42:35.818499 T [44626:70350645975760] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/fooH +2012-12-05 15:42:35.818641 D [44626:70350645975760] (0.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 30 bytes +2012-12-05 15:42:35.820244 T [44626:70350645975760] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 15:42:35.820284 D [44626:70350645975760] (1.5ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 15:42:35.825285 T [44626:70350645975760] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00" +2012-12-05 15:42:35.825346 D [44626:70350645975760] (5.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 2 bytes +2012-12-05 15:42:35.825656 T [44626:70350645975760] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007ff793a22e60@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 15:42:35.826720 T [44626:70350645975760] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending --  +2012-12-05 15:42:35.826909 D [44626:70350645975760] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 8 bytes +2012-12-05 15:42:35.826997 T [44626:70350645975760] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 15:42:35.827004 D [44626:70350645975760] (0.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 15:42:35.827065 T [44626:70350645975760] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xA6\x1C" +2012-12-05 15:42:35.827071 D [44626:70350645975760] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 5 bytes +2012-12-05 15:42:35.828078 T [44626:70350645975760] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/fooH +2012-12-05 15:42:35.828203 D [44626:70350645975760] (0.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 30 bytes +2012-12-05 15:42:35.829585 T [44626:70350645975760] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 15:42:35.829672 D [44626:70350645975760] (1.4ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 15:42:35.832740 T [44626:70350645975760] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00" +2012-12-05 15:42:35.832781 D [44626:70350645975760] (3.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 2 bytes +2012-12-05 15:42:35.833438 T [44626:70350645975760] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007ff793c18fa8@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 15:42:35.834671 T [44626:70350645975760] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "" /test/foo*value2H +2012-12-05 15:42:35.834930 D [44626:70350645975760] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 38 bytes +2012-12-05 15:42:35.837207 T [44626:70350645975760] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 15:42:35.837243 D [44626:70350645975760] (2.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 15:42:35.837895 T [44626:70350645975760] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xA8\x1C" +2012-12-05 15:42:35.837924 D [44626:70350645975760] (0.6ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 5 bytes +2012-12-05 15:42:35.838728 T [44626:70350645975760] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/foo +2012-12-05 15:42:35.839119 D [44626:70350645975760] (0.4ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 19 bytes +2012-12-05 15:42:35.839443 T [44626:70350645975760] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\r" +2012-12-05 15:42:35.839455 D [44626:70350645975760] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 15:42:35.839617 T [44626:70350645975760] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xA8\x1C2\x06value2" +2012-12-05 15:42:35.839623 D [44626:70350645975760] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 13 bytes +2012-12-05 15:42:35.841179 T [44626:70350645975760] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/fooH +2012-12-05 15:42:35.841246 D [44626:70350645975760] (0.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 30 bytes +2012-12-05 15:42:35.852287 T [44626:70350645975760] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 15:42:35.852316 D [44626:70350645975760] (11.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 15:42:35.854968 T [44626:70350645975760] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00" +2012-12-05 15:42:35.854975 D [44626:70350645975760] (0.4ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 2 bytes +2012-12-05 15:42:35.855416 T [44626:70350645975760] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007ff793ca4490@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 15:42:35.856859 T [44626:70350645975760] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- !" /test/foo*valueH +2012-12-05 15:42:35.856911 D [44626:70350645975760] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 37 bytes +2012-12-05 15:42:35.859724 T [44626:70350645975760] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 15:42:35.859740 D [44626:70350645975760] (2.8ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 15:42:35.861476 T [44626:70350645975760] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xAA\x1C" +2012-12-05 15:42:35.861491 D [44626:70350645975760] (1.7ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 5 bytes +2012-12-05 15:42:35.861908 T [44626:70350645975760] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/foo +2012-12-05 15:42:35.861985 D [44626:70350645975760] (0.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 19 bytes +2012-12-05 15:42:35.862541 T [44626:70350645975760] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\f" +2012-12-05 15:42:35.862548 D [44626:70350645975760] (0.5ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 15:42:35.862734 T [44626:70350645975760] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xAA\x1C2\x05value" +2012-12-05 15:42:35.862741 D [44626:70350645975760] (0.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 12 bytes +2012-12-05 15:42:35.864227 T [44626:70350645975760] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/fooH +2012-12-05 15:42:35.864269 D [44626:70350645975760] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 30 bytes +2012-12-05 15:42:35.865609 T [44626:70350645975760] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 15:42:35.865671 D [44626:70350645975760] (1.4ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 15:42:35.867316 T [44626:70350645975760] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00" +2012-12-05 15:42:35.867328 D [44626:70350645975760] (1.6ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 2 bytes +2012-12-05 15:42:35.868333 T [44626:70350645975760] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:9999", :connect_retry_interval=>0.1, :connect_retry_count=>5, :read_timeout=>5, :connect_timeout=>3, :buffered=>false, :on_connect=>#<Proc:0x007ff793cebd68@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 15:42:35.869074 W [44626:70350645975760] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 1 +2012-12-05 15:42:35.970445 W [44626:70350645975760] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 2 +2012-12-05 15:42:36.071676 W [44626:70350645975760] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 3 +2012-12-05 15:42:36.172701 W [44626:70350645975760] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 4 +2012-12-05 15:42:36.275845 W [44626:70350645975760] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 5 +2012-12-05 15:42:36.376860 E [44626:70350645975760] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Giving up after 5 retries +2012-12-05 15:42:36.376959 I [44626:70350645975760] (508.6ms) ResilientSocket::TCPClient ["localhost:9999"] -- Connecting to server localhost:9999 -- ResilientSocket::ConnectionFailure: After 5 connection attempts to host 'localhost:9999': Errno::ECONNREFUSED: Connection refused - connect(2) +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:578:in `rescue in block in connect_to_server' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:549:in `block in connect_to_server' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_info' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:542:in `connect_to_server' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:305:in `connect' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:233:in `initialize' /Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:36:in `new' /Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:36:in `initialize' -/Users/rmorrison/Sandbox/ruby_skynet/test/doozer_client_test.rb:22:in `new' -/Users/rmorrison/Sandbox/ruby_skynet/test/doozer_client_test.rb:22:in `block (4 levels) in <class:DoozerClientTest>' +/Users/rmorrison/Sandbox/ruby_skynet/test/doozer_client_test.rb:19:in `new' +/Users/rmorrison/Sandbox/ruby_skynet/test/doozer_client_test.rb:19:in `block (4 levels) in <class:DoozerClientTest>' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:330:in `assert_raises' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/assertions.rb:69:in `assert_raise' -/Users/rmorrison/Sandbox/ruby_skynet/test/doozer_client_test.rb:21:in `block (3 levels) in <class:DoozerClientTest>' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.0/lib/shoulda/context/context.rb:398:in `call' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.0/lib/shoulda/context/context.rb:398:in `block in create_test_from_should_hash' -/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:949:in `run' +/Users/rmorrison/Sandbox/ruby_skynet/test/doozer_client_test.rb:18:in `block (3 levels) in <class:DoozerClientTest>' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `block in create_test_from_should_hash' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/mocha-0.10.5/lib/mocha/integration/mini_test/version_230_to_262.rb:28:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/testcase.rb:17:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:787:in `block in _run_suite' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `map' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `_run_suite' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:565:in `block in _run_suites' @@ -4252,27 +9677,174 @@ /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:884:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:21:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:326:in `block (2 levels) in autorun' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:27:in `run_once' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:325:in `block in autorun' -2012-10-18 16:28:31.140468 I [1222:70112673749720] (507.2ms) ResilientSocket::TCPClient ["localhost:9999"] -- Connecting to server localhost:9999 -- ResilientSocket::ConnectionFailure: After 5 connection attempts to host 'localhost:9999': Errno::ECONNREFUSED: Connection refused - connect(2) -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:570:in `rescue in block in connect_to_server' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:548:in `block in connect_to_server' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.7.0/lib/semantic_logger/base.rb:181:in `benchmark_info' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:541:in `connect_to_server' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:304:in `connect' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:232:in `initialize' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:36:in `new' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:36:in `initialize' -/Users/rmorrison/Sandbox/ruby_skynet/test/doozer_client_test.rb:22:in `new' -/Users/rmorrison/Sandbox/ruby_skynet/test/doozer_client_test.rb:22:in `block (4 levels) in <class:DoozerClientTest>' +2012-12-05 15:42:36.379304 D [44626:70350654416700] SimpleServer -- Waiting for a client to connect +2012-12-05 15:42:36.396610 D [44626:70350645975760] RubySkynet::Registry -- Doozer Connection Pool: Created connection #1 #<Thread:0x007ff79286b5a0>(70350645975760) for Doozer Connection Pool +2012-12-05 15:42:36.396686 T [44626:70350645975760] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007ff793bdf690@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 15:42:36.397173 D [44626:70350645975760] RubySkynet::Registry -- Doozer Connection Pool: Renewed connection old=70350645975760 new=#<RubySkynet::Doozer::Client:0x007ff793bdefd8>(70350656174060) +2012-12-05 15:42:36.397209 D [44626:70350645975760] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007ff793bdefd8>(70350656174060) self=connections=70350656174060 checked_out=70350656174060 with_map= +2012-12-05 15:42:36.409191 T [44626:70350645975760] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "+/services/TestService/1/Test/127.0.0.1/2000*{"Config":{"UUID":"3978b371-15e9-40f8-9b7b-59ae88d8c7ec","Name":"TestService","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"127.0.0.1","Port":2000,"MaxPort":2999}},"Registered":true}H +2012-12-05 15:42:36.411164 D [44626:70350645975760] (2.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 261 bytes +2012-12-05 15:42:36.432438 T [44626:70350645975760] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 15:42:36.432477 D [44626:70350645975760] (21.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:42:36.432615 T [44626:70350645975760] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xAC\x1C" +2012-12-05 15:42:36.432622 D [44626:70350645975760] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 15:42:36.432855 D [44626:70350645975760] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007ff793bdefd8>(70350656174060) self=connections=70350656174060 checked_out= with_map= +2012-12-05 15:42:36.439442 D [44626:70350645975760] [50bfb1bc6b6933ae52000001] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007ff793bdefd8>(70350656174060) self=connections=70350656174060 checked_out=70350656174060 with_map= +2012-12-05 15:42:36.439718 T [44626:70350645975760] [50bfb1bc6b6933ae52000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  +2012-12-05 15:42:36.439875 D [44626:70350645975760] [50bfb1bc6b6933ae52000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 8 bytes +2012-12-05 15:42:36.440587 T [44626:70350645975760] [50bfb1bc6b6933ae52000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 15:42:36.440600 D [44626:70350645975760] [50bfb1bc6b6933ae52000001] (0.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:42:36.440691 T [44626:70350645975760] [50bfb1bc6b6933ae52000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xAD\x1C" +2012-12-05 15:42:36.440699 D [44626:70350645975760] [50bfb1bc6b6933ae52000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 15:42:36.440992 T [44626:70350645975760] [50bfb1bc6b6933ae52000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H +2012-12-05 15:42:36.441059 D [44626:70350645975760] [50bfb1bc6b6933ae52000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-05 15:42:36.441482 T [44626:70350645975760] [50bfb1bc6b6933ae52000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\xF9" +2012-12-05 15:42:36.441490 D [44626:70350645975760] [50bfb1bc6b6933ae52000001] (0.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:42:36.441563 T [44626:70350645975760] [50bfb1bc6b6933ae52000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xAC\x1C*+/services/TestService/1/Test/127.0.0.1/20002\xC2\x01{\"Config\":{\"UUID\":\"3978b371-15e9-40f8-9b7b-59ae88d8c7ec\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"127.0.0.1\",\"Port\":2000,\"MaxPort\":2999}},\"Registered\":true}" +2012-12-05 15:42:36.441570 D [44626:70350645975760] [50bfb1bc6b6933ae52000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 249 bytes +2012-12-05 15:42:36.441856 T [44626:70350645975760] [50bfb1bc6b6933ae52000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H +2012-12-05 15:42:36.443881 D [44626:70350645975760] [50bfb1bc6b6933ae52000001] (2.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-05 15:42:36.444876 T [44626:70350645975760] [50bfb1bc6b6933ae52000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 15:42:36.444889 D [44626:70350645975760] [50bfb1bc6b6933ae52000001] (1.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:42:36.445010 T [44626:70350645975760] [50bfb1bc6b6933ae52000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\xA0\x06\b" +2012-12-05 15:42:36.445017 D [44626:70350645975760] [50bfb1bc6b6933ae52000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 15:42:36.445267 D [44626:70350645975760] [50bfb1bc6b6933ae52000001] RubySkynet::Registry -- #start_monitoring Add Service: TestService/1/Test => 127.0.0.1:2000 +2012-12-05 15:42:36.445313 D [44626:70350645975760] [50bfb1bc6b6933ae52000001] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007ff793bdefd8>(70350656174060) self=connections=70350656174060 checked_out= with_map= +2012-12-05 15:42:36.446106 I [44626:70350647877500] RubySkynet::Registry -- Start monitoring /services/*/*/*/*/* +2012-12-05 15:42:36.446147 T [44626:70350647877500] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007ff792b48bd8@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 15:42:36.446812 T [44626:70350647877500] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-05 15:42:36.446913 D [44626:70350647877500] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 15:42:36.447915 D [44626:70350645975760] [50bfb1bc6b6933ae52000001] RubySkynet::Connection: 127.0.0.1:2000 -- Waiting for Service Handshake +2012-12-05 15:42:36.448971 D [44626:70350654416700] SimpleServer -- Waiting for a client to connect +2012-12-05 15:42:36.449076 D [44626:70350654416700] SimpleServer -- Client connected, waiting for data from client +2012-12-05 15:42:36.449535 T [44626:70350645975760] [50bfb1bc6b6933ae52000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "$\x00\x00\x00" +2012-12-05 15:42:36.449544 D [44626:70350645975760] [50bfb1bc6b6933ae52000001] (1.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes +2012-12-05 15:42:36.449598 T [44626:70350645975760] [50bfb1bc6b6933ae52000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "\bregistered\x00\x01\x02clientid\x00\x04\x00\x00\x00123\x00\x00" +2012-12-05 15:42:36.449604 D [44626:70350645975760] [50bfb1bc6b6933ae52000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 32 bytes +2012-12-05 15:42:36.449648 T [44626:70350645975760] [50bfb1bc6b6933ae52000001] RubySkynet::Connection: 127.0.0.1:2000 -- Service Handshake -- {"registered"=>true, "clientid"=>"123"} +2012-12-05 15:42:36.449661 D [44626:70350645975760] [50bfb1bc6b6933ae52000001] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Client Handshake +2012-12-05 15:42:36.449668 T [44626:70350645975760] [50bfb1bc6b6933ae52000001] RubySkynet::Connection: 127.0.0.1:2000 -- Client Handshake -- {"clientid"=>"123"} +2012-12-05 15:42:36.449685 T [44626:70350645975760] [50bfb1bc6b6933ae52000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- clientid123 +2012-12-05 15:42:36.449752 D [44626:70350645975760] [50bfb1bc6b6933ae52000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 23 bytes +2012-12-05 15:42:36.449837 D [44626:70350645975760] [50bfb1bc6b6933ae52000001] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Header +2012-12-05 15:42:36.449848 T [44626:70350645975760] [50bfb1bc6b6933ae52000001] RubySkynet::Connection: 127.0.0.1:2000 -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 15:42:36.449872 T [44626:70350645975760] [50bfb1bc6b6933ae52000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- 5servicemethodTestService.Forwardseq +2012-12-05 15:42:36.449953 D [44626:70350645975760] [50bfb1bc6b6933ae52000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 53 bytes +2012-12-05 15:42:36.449990 D [44626:70350645975760] [50bfb1bc6b6933ae52000001] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Request +2012-12-05 15:42:36.449998 T [44626:70350645975760] [50bfb1bc6b6933ae52000001] RubySkynet::Connection: 127.0.0.1:2000 -- Request -- {"clientid"=>"123", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"test1", "requestinfo"=>{"requestid"=>"50bfb1bc6b6933ae52000001", "retrycount"=>0, "originaddress"=>""}} +2012-12-05 15:42:36.450004 T [44626:70350645975760] [50bfb1bc6b6933ae52000001] RubySkynet::Connection: 127.0.0.1:2000 -- Parameters: -- {"some"=>"parameters"} +2012-12-05 15:42:36.450022 T [44626:70350645975760] [50bfb1bc6b6933ae52000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- clientid123insome parametersmethodtest1requestinfoQrequestid50bfb1bc6b6933ae52000001retrycountoriginaddress +2012-12-05 15:42:36.450066 D [44626:70350645975760] [50bfb1bc6b6933ae52000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 170 bytes +2012-12-05 15:42:36.450081 D [44626:70350645975760] [50bfb1bc6b6933ae52000001] RubySkynet::Connection: 127.0.0.1:2000 -- Reading header from server +2012-12-05 15:42:36.450624 D [44626:70350654416700] SimpleServer -- +****************** +2012-12-05 15:42:36.450635 D [44626:70350654416700] SimpleServer -- Received Request +2012-12-05 15:42:36.450642 T [44626:70350654416700] SimpleServer -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 15:42:36.450726 T [44626:70350654416700] SimpleServer -- Request -- {"clientid"=>"123", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"test1", "requestinfo"=>{"requestid"=>"50bfb1bc6b6933ae52000001", "retrycount"=>0, "originaddress"=>""}} +2012-12-05 15:42:36.450762 D [44626:70350654416700] SimpleServer -- Sending Header +2012-12-05 15:42:36.450872 D [44626:70350654416700] SimpleServer -- Sending Reply +2012-12-05 15:42:36.450882 T [44626:70350654416700] SimpleServer -- Reply -- {"result"=>"test1"} +2012-12-05 15:42:36.451142 T [44626:70350645975760] [50bfb1bc6b6933ae52000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "5\x00\x00\x00" +2012-12-05 15:42:36.451151 D [44626:70350645975760] [50bfb1bc6b6933ae52000001] (1.1ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes +2012-12-05 15:42:36.451204 T [44626:70350645975760] [50bfb1bc6b6933ae52000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "\x02servicemethod\x00\x14\x00\x00\x00TestService.Forward\x00\x10seq\x00\x00\x00\x00\x00\x00" +2012-12-05 15:42:36.451211 D [44626:70350645975760] [50bfb1bc6b6933ae52000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 49 bytes +2012-12-05 15:42:36.451243 D [44626:70350645975760] [50bfb1bc6b6933ae52000001] RubySkynet::Connection: 127.0.0.1:2000 -- Response Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 15:42:36.451250 D [44626:70350645975760] [50bfb1bc6b6933ae52000001] RubySkynet::Connection: 127.0.0.1:2000 -- Reading response from server +2012-12-05 15:42:36.451294 T [44626:70350645975760] [50bfb1bc6b6933ae52000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "&\x00\x00\x00" +2012-12-05 15:42:36.451301 D [44626:70350645975760] [50bfb1bc6b6933ae52000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes +2012-12-05 15:42:36.451349 T [44626:70350645975760] [50bfb1bc6b6933ae52000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "\x02out\x00\x18\x00\x00\x00\x17\x00\x00\x00\x02result\x00\x06\x00\x00\x00test1\x00\x00\x00\x00" +2012-12-05 15:42:36.451356 D [44626:70350645975760] [50bfb1bc6b6933ae52000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 34 bytes +2012-12-05 15:42:36.451384 T [44626:70350645975760] [50bfb1bc6b6933ae52000001] RubySkynet::Connection: 127.0.0.1:2000 -- Response -- {"out"=>"\x17\x00\x00\x00\x02result\x00\x06\x00\x00\x00test1\x00\x00"} +2012-12-05 15:42:36.451407 T [44626:70350645975760] [50bfb1bc6b6933ae52000001] RubySkynet::Connection: 127.0.0.1:2000 -- Return Value -- {"result"=>"test1"} +2012-12-05 15:42:36.451427 I [44626:70350645975760] [50bfb1bc6b6933ae52000001] (18.2ms) RubySkynet::Client: TestService/1/Test -- Called Skynet Service: TestService.test1 +2012-12-05 15:42:36.454293 D [44626:70350645975760] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007ff793bdefd8>(70350656174060) self=connections=70350656174060 checked_out=70350656174060 with_map= +2012-12-05 15:42:36.454601 T [44626:70350645975760] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- <"+/services/TestService/1/Test/127.0.0.1/2000H +2012-12-05 15:42:36.454649 D [44626:70350645975760] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 64 bytes +2012-12-05 15:42:36.455955 T [44626:70350647877500] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x006" +2012-12-05 15:42:36.455968 D [44626:70350647877500] (9.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:42:36.456043 T [44626:70350645975760] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 15:42:36.456050 D [44626:70350645975760] (1.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:42:36.461768 T [44626:70350645975760] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00" +2012-12-05 15:42:36.461795 D [44626:70350645975760] (5.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 2 bytes +2012-12-05 15:42:36.461933 D [44626:70350645975760] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007ff793bdefd8>(70350656174060) self=connections=70350656174060 checked_out= with_map= +2012-12-05 15:42:36.462417 T [44626:70350647877500] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\b\x18\xAE\x1C*+/services/TestService/1/Test/127.0.0.1/20002\x00" +2012-12-05 15:42:36.462429 D [44626:70350647877500] (6.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 54 bytes +2012-12-05 15:42:36.462582 D [44626:70350647877500] RubySkynet::Registry -- #monitor Service stopped, remove: TestService/1/Test => 127.0.0.1:2000 +2012-12-05 15:42:36.462609 I [44626:70350647877500] RubySkynet::Registry -- Calling callback for server: 127.0.0.1:2000 +2012-12-05 15:42:36.462732 D [44626:70350647877500] RubySkynet::Connection -- Connection pool for server:127.0.0.1:2000 has been released +2012-12-05 15:42:36.462745 D [44626:70350647877500] RubySkynet::Registry -- Updated registry -- {} +2012-12-05 15:42:36.463018 T [44626:70350647877500] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-05 15:42:36.463090 D [44626:70350647877500] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 15:42:36.468734 D [44626:70350654431160] SimpleServer -- Waiting for a client to connect +2012-12-05 15:42:36.469298 D [44626:70350645975760] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007ff793bdefd8>(70350656174060) self=connections=70350656174060 checked_out=70350656174060 with_map= +2012-12-05 15:42:36.469667 T [44626:70350645975760] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "+/services/TestService/1/Test/127.0.0.1/2000*{"Config":{"UUID":"3978b371-15e9-40f8-9b7b-59ae88d8c7ec","Name":"TestService","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"127.0.0.1","Port":2000,"MaxPort":2999}},"Registered":true}H +2012-12-05 15:42:36.469776 D [44626:70350645975760] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 261 bytes +2012-12-05 15:42:36.471322 T [44626:70350647877500] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\xF9" +2012-12-05 15:42:36.471336 D [44626:70350647877500] (8.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:42:36.472253 T [44626:70350647877500] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xAF\x1C*+/services/TestService/1/Test/127.0.0.1/20002\xC2\x01{\"Config\":{\"UUID\":\"3978b371-15e9-40f8-9b7b-59ae88d8c7ec\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"127.0.0.1\",\"Port\":2000,\"MaxPort\":2999}},\"Registered\":true}" +2012-12-05 15:42:36.472267 D [44626:70350647877500] (0.9ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 249 bytes +2012-12-05 15:42:36.472451 D [44626:70350647877500] RubySkynet::Registry -- #monitor Add/Update Service: TestService/1/Test => 127.0.0.1:2000 +2012-12-05 15:42:36.472464 D [44626:70350647877500] RubySkynet::Registry -- Updated registry -- {"TestService/1/Test"=>["127.0.0.1:2000"]} +2012-12-05 15:42:36.472674 T [44626:70350647877500] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-05 15:42:36.472750 D [44626:70350647877500] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 15:42:36.485163 T [44626:70350645975760] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 15:42:36.485192 D [44626:70350645975760] (15.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:42:36.485287 T [44626:70350645975760] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xAF\x1C" +2012-12-05 15:42:36.485294 D [44626:70350645975760] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 15:42:36.485412 D [44626:70350645975760] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007ff793bdefd8>(70350656174060) self=connections=70350656174060 checked_out= with_map= +2012-12-05 15:42:36.486426 D [44626:70350645975760] [50bfb1bc6b6933ae52000002] RubySkynet::Connection: 127.0.0.1:2000 -- Waiting for Service Handshake +2012-12-05 15:42:36.487449 D [44626:70350654431160] SimpleServer -- Waiting for a client to connect +2012-12-05 15:42:36.487547 D [44626:70350654431160] SimpleServer -- Client connected, waiting for data from client +2012-12-05 15:42:36.488091 T [44626:70350645975760] [50bfb1bc6b6933ae52000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "$\x00\x00\x00" +2012-12-05 15:42:36.488105 D [44626:70350645975760] [50bfb1bc6b6933ae52000002] (1.6ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes +2012-12-05 15:42:36.488157 T [44626:70350645975760] [50bfb1bc6b6933ae52000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "\bregistered\x00\x01\x02clientid\x00\x04\x00\x00\x00123\x00\x00" +2012-12-05 15:42:36.488164 D [44626:70350645975760] [50bfb1bc6b6933ae52000002] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 32 bytes +2012-12-05 15:42:36.488209 T [44626:70350645975760] [50bfb1bc6b6933ae52000002] RubySkynet::Connection: 127.0.0.1:2000 -- Service Handshake -- {"registered"=>true, "clientid"=>"123"} +2012-12-05 15:42:36.488272 D [44626:70350645975760] [50bfb1bc6b6933ae52000002] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Client Handshake +2012-12-05 15:42:36.488280 T [44626:70350645975760] [50bfb1bc6b6933ae52000002] RubySkynet::Connection: 127.0.0.1:2000 -- Client Handshake -- {"clientid"=>"123"} +2012-12-05 15:42:36.488299 T [44626:70350645975760] [50bfb1bc6b6933ae52000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- clientid123 +2012-12-05 15:42:36.488366 D [44626:70350645975760] [50bfb1bc6b6933ae52000002] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 23 bytes +2012-12-05 15:42:36.488654 D [44626:70350645975760] [50bfb1bc6b6933ae52000002] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Header +2012-12-05 15:42:36.488666 T [44626:70350645975760] [50bfb1bc6b6933ae52000002] RubySkynet::Connection: 127.0.0.1:2000 -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 15:42:36.488920 T [44626:70350645975760] [50bfb1bc6b6933ae52000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- 5servicemethodTestService.Forwardseq +2012-12-05 15:42:36.490694 D [44626:70350654431160] SimpleServer -- +****************** +2012-12-05 15:42:36.490709 D [44626:70350654431160] SimpleServer -- Received Request +2012-12-05 15:42:36.490717 T [44626:70350654431160] SimpleServer -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 15:42:36.491139 D [44626:70350645975760] [50bfb1bc6b6933ae52000002] (2.2ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 53 bytes +2012-12-05 15:42:36.491190 D [44626:70350645975760] [50bfb1bc6b6933ae52000002] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Request +2012-12-05 15:42:36.491198 T [44626:70350645975760] [50bfb1bc6b6933ae52000002] RubySkynet::Connection: 127.0.0.1:2000 -- Request -- {"clientid"=>"123", "in"=>"\x17\x00\x00\x00\x01duration\x00\x00\x00\x00\x00\x00\x00\f@\x00", "method"=>"sleep", "requestinfo"=>{"requestid"=>"50bfb1bc6b6933ae52000002", "retrycount"=>0, "originaddress"=>""}} +2012-12-05 15:42:36.491204 T [44626:70350645975760] [50bfb1bc6b6933ae52000002] RubySkynet::Connection: 127.0.0.1:2000 -- Parameters: -- {"duration"=>3.5} +2012-12-05 15:42:36.491223 T [44626:70350645975760] [50bfb1bc6b6933ae52000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- clientid123induration @methodsleeprequestinfoQrequestid50bfb1bc6b6933ae52000002retrycountoriginaddress +2012-12-05 15:42:36.491301 D [44626:70350645975760] [50bfb1bc6b6933ae52000002] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 167 bytes +2012-12-05 15:42:36.491316 D [44626:70350645975760] [50bfb1bc6b6933ae52000002] RubySkynet::Connection: 127.0.0.1:2000 -- Reading header from server +2012-12-05 15:42:36.491460 T [44626:70350654431160] SimpleServer -- Request -- {"clientid"=>"123", "in"=>"\x17\x00\x00\x00\x01duration\x00\x00\x00\x00\x00\x00\x00\f@\x00", "method"=>"sleep", "requestinfo"=>{"requestid"=>"50bfb1bc6b6933ae52000002", "retrycount"=>0, "originaddress"=>""}} +2012-12-05 15:42:39.490418 W [44626:70350645975760] [50bfb1bc6b6933ae52000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read Timeout waiting for server to reply +2012-12-05 15:42:39.490581 D [44626:70350645975760] [50bfb1bc6b6933ae52000002] (2999.2ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes -- ResilientSocket::ReadTimeout: Timedout after 3.0 seconds trying to read from 127.0.0.1:2000 +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:392:in `block in read' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_debug' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:374:in `read' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/common.rb:10:in `read_bson_document' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:178:in `rpc_call' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:65:in `block (3 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/gene_pool-1.3.0/lib/gene_pool.rb:134:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:214:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:64:in `block (2 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_info' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:60:in `block in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:126:in `with_tags' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:59:in `call' +/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_client_test.rb:87:in `block (5 levels) in <class:RubySkynetClientTest>' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:330:in `assert_raises' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/assertions.rb:69:in `assert_raise' -/Users/rmorrison/Sandbox/ruby_skynet/test/doozer_client_test.rb:21:in `block (3 levels) in <class:DoozerClientTest>' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.0/lib/shoulda/context/context.rb:398:in `call' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.0/lib/shoulda/context/context.rb:398:in `block in create_test_from_should_hash' -/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:949:in `run' +/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_client_test.rb:85:in `block (4 levels) in <class:RubySkynetClientTest>' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `block in create_test_from_should_hash' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/mocha-0.10.5/lib/mocha/integration/mini_test/version_230_to_262.rb:28:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/testcase.rb:17:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:787:in `block in _run_suite' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `map' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `_run_suite' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:565:in `block in _run_suites' @@ -4285,27 +9857,149 @@ /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:895:in `_run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:884:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:21:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:326:in `block (2 levels) in autorun' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:27:in `run_once' -/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:325:in `block in autorun' -- ResilientSocket::ConnectionFailure: After 5 connection attempts to host 'localhost:9999': Errno::ECONNREFUSED: Connection refused - connect(2) -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:570:in `rescue in block in connect_to_server' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:548:in `block in connect_to_server' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.7.0/lib/semantic_logger/base.rb:181:in `benchmark_info' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:541:in `connect_to_server' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:304:in `connect' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:232:in `initialize' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:325:in `block in autorun' +2012-12-05 15:42:39.490635 I [44626:70350645975760] [50bfb1bc6b6933ae52000002] (3005.1ms) RubySkynet::Client: TestService/1/Test -- Called Skynet Service: TestService.sleep -- ResilientSocket::ReadTimeout: Timedout after 3.0 seconds trying to read from 127.0.0.1:2000 +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:392:in `block in read' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_debug' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:374:in `read' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/common.rb:10:in `read_bson_document' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:178:in `rpc_call' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:65:in `block (3 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/gene_pool-1.3.0/lib/gene_pool.rb:134:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:214:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:64:in `block (2 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_info' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:60:in `block in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:126:in `with_tags' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:59:in `call' +/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_client_test.rb:87:in `block (5 levels) in <class:RubySkynetClientTest>' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:330:in `assert_raises' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/assertions.rb:69:in `assert_raise' +/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_client_test.rb:85:in `block (4 levels) in <class:RubySkynetClientTest>' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `block in create_test_from_should_hash' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/mocha-0.10.5/lib/mocha/integration/mini_test/version_230_to_262.rb:28:in `run' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/testcase.rb:17:in `run' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:787:in `block in _run_suite' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `map' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `_run_suite' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:565:in `block in _run_suites' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:563:in `each' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:563:in `_run_suites' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:746:in `_run_anything' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:909:in `run_tests' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:896:in `block in _run' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:895:in `each' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:895:in `_run' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:884:in `run' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:21:in `run' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:326:in `block (2 levels) in autorun' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:27:in `run_once' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:325:in `block in autorun' +2012-12-05 15:42:39.491989 D [44626:70350645975760] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007ff793bdefd8>(70350656174060) self=connections=70350656174060 checked_out=70350656174060 with_map= +2012-12-05 15:42:39.492385 T [44626:70350645975760] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- <"+/services/TestService/1/Test/127.0.0.1/2000H +2012-12-05 15:42:39.492949 D [44626:70350645975760] (0.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 64 bytes +2012-12-05 15:42:48.058116 D [44640:70292521310940] RubySkynet::Server -- Registering Service: TestService with name: TestService +2012-12-05 15:42:48.059340 I [44640:70292521310940] Celluloid -- Terminating 4 actors... +2012-12-05 15:42:48.060391 I [44640:70292521310940] Celluloid -- Shutdown completed cleanly +2012-12-05 15:42:48.065729 T [44640:70292521310940] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007fdc82b46e58@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 15:42:48.072998 T [44640:70292521310940] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "/8 +2012-12-05 15:42:48.073081 D [44640:70292521310940] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 13 bytes +2012-12-05 15:42:48.073366 T [44640:70292521310940] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\a" +2012-12-05 15:42:48.073372 D [44640:70292521310940] (0.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 15:42:48.073547 T [44640:70292521310940] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00*\x03ctl" +2012-12-05 15:42:48.073556 D [44640:70292521310940] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 7 bytes +2012-12-05 15:42:48.073868 T [44640:70292521310940] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "/8 +2012-12-05 15:42:48.074242 D [44640:70292521310940] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 13 bytes +2012-12-05 15:42:48.074293 T [44640:70292521310940] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 15:42:48.074299 D [44640:70292521310940] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 15:42:48.074353 T [44640:70292521310940] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\xA0\x06\b" +2012-12-05 15:42:48.074359 D [44640:70292521310940] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 5 bytes +2012-12-05 15:42:48.075524 T [44640:70292521310940] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/fooH +2012-12-05 15:42:48.076582 D [44640:70292521310940] (1.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 30 bytes +2012-12-05 15:42:48.081352 T [44640:70292521310940] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 15:42:48.081393 D [44640:70292521310940] (3.7ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 15:42:48.081622 T [44640:70292521310940] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00" +2012-12-05 15:42:48.081657 D [44640:70292521310940] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 2 bytes +2012-12-05 15:42:48.083668 T [44640:70292521310940] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007fdc82da2af8@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 15:42:48.084676 T [44640:70292521310940] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending --  +2012-12-05 15:42:48.085008 D [44640:70292521310940] (0.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 8 bytes +2012-12-05 15:42:48.085125 T [44640:70292521310940] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 15:42:48.085132 D [44640:70292521310940] (0.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 15:42:48.085390 T [44640:70292521310940] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xBC\x1C" +2012-12-05 15:42:48.085397 D [44640:70292521310940] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 5 bytes +2012-12-05 15:42:48.086751 T [44640:70292521310940] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/fooH +2012-12-05 15:42:48.086887 D [44640:70292521310940] (0.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 30 bytes +2012-12-05 15:42:48.088327 T [44640:70292521310940] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 15:42:48.088417 D [44640:70292521310940] (1.4ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 15:42:48.091103 T [44640:70292521310940] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00" +2012-12-05 15:42:48.091123 D [44640:70292521310940] (2.7ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 2 bytes +2012-12-05 15:42:48.092472 T [44640:70292521310940] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007fdc82daf438@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 15:42:48.093803 T [44640:70292521310940] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "" /test/foo*value2H +2012-12-05 15:42:48.093994 D [44640:70292521310940] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 38 bytes +2012-12-05 15:42:48.103759 T [44640:70292521310940] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 15:42:48.103851 D [44640:70292521310940] (9.8ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 15:42:48.107661 T [44640:70292521310940] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xBE\x1C" +2012-12-05 15:42:48.107716 D [44640:70292521310940] (3.8ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 5 bytes +2012-12-05 15:42:48.108063 T [44640:70292521310940] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/foo +2012-12-05 15:42:48.112080 D [44640:70292521310940] (4.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 19 bytes +2012-12-05 15:42:48.113729 T [44640:70292521310940] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\r" +2012-12-05 15:42:48.113768 D [44640:70292521310940] (1.6ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 15:42:48.114475 T [44640:70292521310940] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xBE\x1C2\x06value2" +2012-12-05 15:42:48.114511 D [44640:70292521310940] (0.7ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 13 bytes +2012-12-05 15:42:48.116126 T [44640:70292521310940] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/fooH +2012-12-05 15:42:48.117459 D [44640:70292521310940] (1.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 30 bytes +2012-12-05 15:42:48.117623 T [44640:70292521310940] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 15:42:48.117658 D [44640:70292521310940] (0.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 15:42:48.117852 T [44640:70292521310940] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00" +2012-12-05 15:42:48.117887 D [44640:70292521310940] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 2 bytes +2012-12-05 15:42:48.118249 T [44640:70292521310940] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007fdc81cb1a00@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 15:42:48.119527 T [44640:70292521310940] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- !" /test/foo*valueH +2012-12-05 15:42:48.120961 D [44640:70292521310940] (1.4ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 37 bytes +2012-12-05 15:42:48.121140 T [44640:70292521310940] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 15:42:48.121175 D [44640:70292521310940] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 15:42:48.121421 T [44640:70292521310940] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xC0\x1C" +2012-12-05 15:42:48.121456 D [44640:70292521310940] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 5 bytes +2012-12-05 15:42:48.121671 T [44640:70292521310940] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/foo +2012-12-05 15:42:48.122843 D [44640:70292521310940] (1.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 19 bytes +2012-12-05 15:42:48.122997 T [44640:70292521310940] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\f" +2012-12-05 15:42:48.123054 D [44640:70292521310940] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 15:42:48.123247 T [44640:70292521310940] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xC0\x1C2\x05value" +2012-12-05 15:42:48.123282 D [44640:70292521310940] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 12 bytes +2012-12-05 15:42:48.124632 T [44640:70292521310940] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/fooH +2012-12-05 15:42:48.124872 D [44640:70292521310940] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 30 bytes +2012-12-05 15:42:48.131403 T [44640:70292521310940] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 15:42:48.131502 D [44640:70292521310940] (6.6ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 15:42:48.132541 T [44640:70292521310940] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00" +2012-12-05 15:42:48.132581 D [44640:70292521310940] (1.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 2 bytes +2012-12-05 15:42:48.133018 T [44640:70292521310940] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:9999", :connect_retry_interval=>0.1, :connect_retry_count=>5, :read_timeout=>5, :connect_timeout=>3, :buffered=>false, :on_connect=>#<Proc:0x007fdc81bfe2c0@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 15:42:48.137240 W [44640:70292521310940] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 1 +2012-12-05 15:42:48.252266 W [44640:70292521310940] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 2 +2012-12-05 15:42:48.353031 W [44640:70292521310940] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 3 +2012-12-05 15:42:48.454171 W [44640:70292521310940] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 4 +2012-12-05 15:42:48.556034 W [44640:70292521310940] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 5 +2012-12-05 15:42:48.656907 E [44640:70292521310940] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Giving up after 5 retries +2012-12-05 15:42:48.657008 I [44640:70292521310940] (523.9ms) ResilientSocket::TCPClient ["localhost:9999"] -- Connecting to server localhost:9999 -- ResilientSocket::ConnectionFailure: After 5 connection attempts to host 'localhost:9999': Errno::ECONNREFUSED: Connection refused - connect(2) +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:578:in `rescue in block in connect_to_server' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:549:in `block in connect_to_server' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_info' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:542:in `connect_to_server' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:305:in `connect' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:233:in `initialize' /Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:36:in `new' /Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:36:in `initialize' -/Users/rmorrison/Sandbox/ruby_skynet/test/doozer_client_test.rb:22:in `new' -/Users/rmorrison/Sandbox/ruby_skynet/test/doozer_client_test.rb:22:in `block (4 levels) in <class:DoozerClientTest>' +/Users/rmorrison/Sandbox/ruby_skynet/test/doozer_client_test.rb:19:in `new' +/Users/rmorrison/Sandbox/ruby_skynet/test/doozer_client_test.rb:19:in `block (4 levels) in <class:DoozerClientTest>' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:330:in `assert_raises' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/assertions.rb:69:in `assert_raise' -/Users/rmorrison/Sandbox/ruby_skynet/test/doozer_client_test.rb:21:in `block (3 levels) in <class:DoozerClientTest>' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.0/lib/shoulda/context/context.rb:398:in `call' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.0/lib/shoulda/context/context.rb:398:in `block in create_test_from_should_hash' -/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:949:in `run' +/Users/rmorrison/Sandbox/ruby_skynet/test/doozer_client_test.rb:18:in `block (3 levels) in <class:DoozerClientTest>' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `block in create_test_from_should_hash' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/mocha-0.10.5/lib/mocha/integration/mini_test/version_230_to_262.rb:28:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/testcase.rb:17:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:787:in `block in _run_suite' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `map' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `_run_suite' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:565:in `block in _run_suites' @@ -4319,388 +10013,174 @@ /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:884:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:21:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:326:in `block (2 levels) in autorun' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:27:in `run_once' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:325:in `block in autorun' -2012-10-18 16:28:31.145994 D [1222:70112674294600] SimpleServer -- Waiting for a client to connect -2012-10-18 16:28:31.145994 D [1222:70112674294600] SimpleServer -- Waiting for a client to connect -2012-10-18 16:28:31.153461 D [1222:70112673749720] RubySkynet::Registry -- Doozer Connection Pool: Created connection #1 #<Thread:0x007f88c206b5b0>(70112673749720) for Doozer Connection Pool -2012-10-18 16:28:31.153461 D [1222:70112673749720] RubySkynet::Registry -- Doozer Connection Pool: Created connection #1 #<Thread:0x007f88c206b5b0>(70112673749720) for Doozer Connection Pool -2012-10-18 16:28:31.153535 T [1222:70112673749720] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007f88c2241d58@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -2012-10-18 16:28:31.153535 T [1222:70112673749720] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007f88c2241d58@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007f88c2241d58@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -2012-10-18 16:28:31.154404 D [1222:70112673749720] RubySkynet::Registry -- Doozer Connection Pool: Renewed connection old=70112673749720 new=#<RubySkynet::Doozer::Client:0x007f88c2241f38>(70112674713500) -2012-10-18 16:28:31.154404 D [1222:70112673749720] RubySkynet::Registry -- Doozer Connection Pool: Renewed connection old=70112673749720 new=#<RubySkynet::Doozer::Client:0x007f88c2241f38>(70112674713500) -2012-10-18 16:28:31.154588 D [1222:70112673749720] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f88c2241f38>(70112674713500) self=connections=70112674713500 checked_out=70112674713500 with_map= -2012-10-18 16:28:31.154588 D [1222:70112673749720] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f88c2241f38>(70112674713500) self=connections=70112674713500 checked_out=70112674713500 with_map= -2012-10-18 16:28:31.165777 T [1222:70112673749720] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "+/services/TestService/1/Test/127.0.0.1/2000*{"Config":{"UUID":"3978b371-15e9-40f8-9b7b-59ae88d8c7ec","Name":"TestService","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"127.0.0.1","Port":2000,"MaxPort":2999}},"Registered":true}H -2012-10-18 16:28:31.165777 T [1222:70112673749720] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "+/services/TestService/1/Test/127.0.0.1/2000*{"Config":{"UUID":"3978b371-15e9-40f8-9b7b-59ae88d8c7ec","Name":"TestService","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"127.0.0.1","Port":2000,"MaxPort":2999}},"Registered":true}H -- "+/services/TestService/1/Test/127.0.0.1/2000*{"Config":{"UUID":"3978b371-15e9-40f8-9b7b-59ae88d8c7ec","Name":"TestService","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"127.0.0.1","Port":2000,"MaxPort":2999}},"Registered":true}H -2012-10-18 16:28:31.165869 D [1222:70112673749720] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 261 bytes -2012-10-18 16:28:31.165869 D [1222:70112673749720] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 261 bytes -2012-10-18 16:28:31.167741 T [1222:70112673749720] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x06" -2012-10-18 16:28:31.167741 T [1222:70112673749720] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x06" -- "\x00\x00\x00\x06" -2012-10-18 16:28:31.167760 D [1222:70112673749720] (1.9ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:28:31.167760 D [1222:70112673749720] (1.9ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:28:31.186717 T [1222:70112673749720] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xC2\xD2\x03" -2012-10-18 16:28:31.186717 T [1222:70112673749720] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xC2\xD2\x03" -- "\b\x00\x18\xC2\xD2\x03" -2012-10-18 16:28:31.186762 D [1222:70112673749720] (19.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 6 bytes -2012-10-18 16:28:31.186762 D [1222:70112673749720] (19.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 6 bytes -2012-10-18 16:28:31.186969 D [1222:70112673749720] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007f88c2241f38>(70112674713500) self=connections=70112674713500 checked_out= with_map= -2012-10-18 16:28:31.186969 D [1222:70112673749720] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007f88c2241f38>(70112674713500) self=connections=70112674713500 checked_out= with_map= -2012-10-18 16:28:31.190293 D [1222:70112673749720] [5080666f6b693304c6000001] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f88c2241f38>(70112674713500) self=connections=70112674713500 checked_out=70112674713500 with_map= -2012-10-18 16:28:31.190293 D [1222:70112673749720] [5080666f6b693304c6000001] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f88c2241f38>(70112674713500) self=connections=70112674713500 checked_out=70112674713500 with_map= -2012-10-18 16:28:31.190547 T [1222:70112673749720] [5080666f6b693304c6000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  -2012-10-18 16:28:31.190547 T [1222:70112673749720] [5080666f6b693304c6000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  --  -2012-10-18 16:28:31.190809 D [1222:70112673749720] [5080666f6b693304c6000001] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 8 bytes -2012-10-18 16:28:31.190809 D [1222:70112673749720] [5080666f6b693304c6000001] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 8 bytes -2012-10-18 16:28:31.191290 T [1222:70112673749720] [5080666f6b693304c6000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x06" -2012-10-18 16:28:31.191290 T [1222:70112673749720] [5080666f6b693304c6000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x06" -- "\x00\x00\x00\x06" -2012-10-18 16:28:31.191303 D [1222:70112673749720] [5080666f6b693304c6000001] (0.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:28:31.191303 D [1222:70112673749720] [5080666f6b693304c6000001] (0.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:28:31.191380 T [1222:70112673749720] [5080666f6b693304c6000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xC2\xD2\x03" -2012-10-18 16:28:31.191380 T [1222:70112673749720] [5080666f6b693304c6000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xC2\xD2\x03" -- "\b\x00\x18\xC2\xD2\x03" -2012-10-18 16:28:31.191390 D [1222:70112673749720] [5080666f6b693304c6000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 6 bytes -2012-10-18 16:28:31.191390 D [1222:70112673749720] [5080666f6b693304c6000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 6 bytes -2012-10-18 16:28:31.191664 T [1222:70112673749720] [5080666f6b693304c6000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H -2012-10-18 16:28:31.191664 T [1222:70112673749720] [5080666f6b693304c6000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H --  "/services/*/*/*/*/*8H -2012-10-18 16:28:31.191709 D [1222:70112673749720] [5080666f6b693304c6000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 35 bytes -2012-10-18 16:28:31.191709 D [1222:70112673749720] [5080666f6b693304c6000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 35 bytes -2012-10-18 16:28:31.192055 T [1222:70112673749720] [5080666f6b693304c6000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\xFA" -2012-10-18 16:28:31.192055 T [1222:70112673749720] [5080666f6b693304c6000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\xFA" -- "\x00\x00\x00\xFA" -2012-10-18 16:28:31.192073 D [1222:70112673749720] [5080666f6b693304c6000001] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:28:31.192073 D [1222:70112673749720] [5080666f6b693304c6000001] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:28:31.192720 T [1222:70112673749720] [5080666f6b693304c6000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xC2\xD2\x03*+/services/TestService/1/Test/127.0.0.1/20002\xC2\x01{\"Config\":{\"UUID\":\"3978b371-15e9-40f8-9b7b-59ae88d8c7ec\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"127.0.0.1\",\"Port\":2000,\"MaxPort\":2999}},\"Registered\":true}" -2012-10-18 16:28:31.192720 T [1222:70112673749720] [5080666f6b693304c6000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xC2\xD2\x03*+/services/TestService/1/Test/127.0.0.1/20002\xC2\x01{\"Config\":{\"UUID\":\"3978b371-15e9-40f8-9b7b-59ae88d8c7ec\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"127.0.0.1\",\"Port\":2000,\"MaxPort\":2999}},\"Registered\":true}" -- "\b\x00\x10\x04\x18\xC2\xD2\x03*+/services/TestService/1/Test/127.0.0.1/20002\xC2\x01{\"Config\":{\"UUID\":\"3978b371-15e9-40f8-9b7b-59ae88d8c7ec\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"127.0.0.1\",\"Port\":2000,\"MaxPort\":2999}},\"Registered\":true}" -2012-10-18 16:28:31.192732 D [1222:70112673749720] [5080666f6b693304c6000001] (0.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 250 bytes -2012-10-18 16:28:31.192732 D [1222:70112673749720] [5080666f6b693304c6000001] (0.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 250 bytes -2012-10-18 16:28:31.193025 T [1222:70112673749720] [5080666f6b693304c6000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H -2012-10-18 16:28:31.193025 T [1222:70112673749720] [5080666f6b693304c6000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H --  "/services/*/*/*/*/*8H -2012-10-18 16:28:31.193071 D [1222:70112673749720] [5080666f6b693304c6000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 35 bytes -2012-10-18 16:28:31.193071 D [1222:70112673749720] [5080666f6b693304c6000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 35 bytes -2012-10-18 16:28:31.194193 T [1222:70112673749720] [5080666f6b693304c6000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01Q" -2012-10-18 16:28:31.194193 T [1222:70112673749720] [5080666f6b693304c6000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01Q" -- "\x00\x00\x01Q" -2012-10-18 16:28:31.194210 D [1222:70112673749720] [5080666f6b693304c6000001] (1.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:28:31.194210 D [1222:70112673749720] [5080666f6b693304c6000001] (1.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:28:31.194565 T [1222:70112673749720] [5080666f6b693304c6000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xD5\xC8\x03*6/services/TutorialService/1/Development/127.0.0.1/90002\x8E\x02{\"Config\":{\"UUID\":\"aa58fa11-6ab7-4b53-aad9-3d657120f2b8\",\"Name\":\"TutorialService\",\"Version\":\"1\",\"Region\":\"Development\",\"ServiceAddr\":{\"IPAddress\":\"127.0.0.1\",\"Port\":9000,\"MaxPort\":9999},\"AdminAddr\":{\"IPAddress\":\"127.0.0.1\",\"Port\":9001,\"MaxPort\":9999}},\"Registered\":true}" -2012-10-18 16:28:31.194565 T [1222:70112673749720] [5080666f6b693304c6000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xD5\xC8\x03*6/services/TutorialService/1/Development/127.0.0.1/90002\x8E\x02{\"Config\":{\"UUID\":\"aa58fa11-6ab7-4b53-aad9-3d657120f2b8\",\"Name\":\"TutorialService\",\"Version\":\"1\",\"Region\":\"Development\",\"ServiceAddr\":{\"IPAddress\":\"127.0.0.1\",\"Port\":9000,\"MaxPort\":9999},\"AdminAddr\":{\"IPAddress\":\"127.0.0.1\",\"Port\":9001,\"MaxPort\":9999}},\"Registered\":true}" -- "\b\x00\x10\x04\x18\xD5\xC8\x03*6/services/TutorialService/1/Development/127.0.0.1/90002\x8E\x02{\"Config\":{\"UUID\":\"aa58fa11-6ab7-4b53-aad9-3d657120f2b8\",\"Name\":\"TutorialService\",\"Version\":\"1\",\"Region\":\"Development\",\"ServiceAddr\":{\"IPAddress\":\"127.0.0.1\",\"Port\":9000,\"MaxPort\":9999},\"AdminAddr\":{\"IPAddress\":\"127.0.0.1\",\"Port\":9001,\"MaxPort\":9999}},\"Registered\":true}" -2012-10-18 16:28:31.194580 D [1222:70112673749720] [5080666f6b693304c6000001] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 337 bytes -2012-10-18 16:28:31.194580 D [1222:70112673749720] [5080666f6b693304c6000001] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 337 bytes -2012-10-18 16:28:31.194861 T [1222:70112673749720] [5080666f6b693304c6000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H -2012-10-18 16:28:31.194861 T [1222:70112673749720] [5080666f6b693304c6000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H --  "/services/*/*/*/*/*8H -2012-10-18 16:28:31.194906 D [1222:70112673749720] [5080666f6b693304c6000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 35 bytes -2012-10-18 16:28:31.194906 D [1222:70112673749720] [5080666f6b693304c6000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 35 bytes -2012-10-18 16:28:31.195564 T [1222:70112673749720] [5080666f6b693304c6000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" -2012-10-18 16:28:31.195564 T [1222:70112673749720] [5080666f6b693304c6000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" -- "\x00\x00\x00\x05" -2012-10-18 16:28:31.195579 D [1222:70112673749720] [5080666f6b693304c6000001] (0.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:28:31.195579 D [1222:70112673749720] [5080666f6b693304c6000001] (0.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:28:31.195915 T [1222:70112673749720] [5080666f6b693304c6000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\xA0\x06\b" -2012-10-18 16:28:31.195915 T [1222:70112673749720] [5080666f6b693304c6000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\xA0\x06\b" -- "\b\x00\xA0\x06\b" -2012-10-18 16:28:31.195932 D [1222:70112673749720] [5080666f6b693304c6000001] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes -2012-10-18 16:28:31.195932 D [1222:70112673749720] [5080666f6b693304c6000001] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes -2012-10-18 16:28:31.196104 D [1222:70112673749720] [5080666f6b693304c6000001] RubySkynet::Registry -- #start_monitoring Add Service: TestService/1/Test => 127.0.0.1:2000 -2012-10-18 16:28:31.196104 D [1222:70112673749720] [5080666f6b693304c6000001] RubySkynet::Registry -- #start_monitoring Add Service: TestService/1/Test => 127.0.0.1:2000 -2012-10-18 16:28:31.196165 D [1222:70112673749720] [5080666f6b693304c6000001] RubySkynet::Registry -- #start_monitoring Add Service: TutorialService/1/Development => 127.0.0.1:9000 -2012-10-18 16:28:31.196165 D [1222:70112673749720] [5080666f6b693304c6000001] RubySkynet::Registry -- #start_monitoring Add Service: TutorialService/1/Development => 127.0.0.1:9000 -2012-10-18 16:28:31.196209 D [1222:70112673749720] [5080666f6b693304c6000001] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007f88c2241f38>(70112674713500) self=connections=70112674713500 checked_out= with_map= -2012-10-18 16:28:31.196209 D [1222:70112673749720] [5080666f6b693304c6000001] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007f88c2241f38>(70112674713500) self=connections=70112674713500 checked_out= with_map= -2012-10-18 16:28:31.196696 I [1222:70112675280740] RubySkynet::Registry -- Start monitoring /services/*/*/*/*/* -2012-10-18 16:28:31.196696 I [1222:70112675280740] RubySkynet::Registry -- Start monitoring /services/*/*/*/*/* -2012-10-18 16:28:31.196737 T [1222:70112675280740] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007f88c23549c0@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -2012-10-18 16:28:31.196737 T [1222:70112675280740] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007f88c23549c0@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007f88c23549c0@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -2012-10-18 16:28:31.197440 D [1222:70112673749720] [5080666f6b693304c6000001] RubySkynet::Connection: 127.0.0.1:2000 -- Waiting for Service Handshake -2012-10-18 16:28:31.197440 D [1222:70112673749720] [5080666f6b693304c6000001] RubySkynet::Connection: 127.0.0.1:2000 -- Waiting for Service Handshake -2012-10-18 16:28:31.197791 D [1222:70112674294600] SimpleServer -- Client connected, waiting for data from client -2012-10-18 16:28:31.197791 D [1222:70112674294600] SimpleServer -- Client connected, waiting for data from client -2012-10-18 16:28:31.198156 T [1222:70112673749720] [5080666f6b693304c6000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "$\x00\x00\x00" -2012-10-18 16:28:31.198156 T [1222:70112673749720] [5080666f6b693304c6000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "$\x00\x00\x00" -- "$\x00\x00\x00" -2012-10-18 16:28:31.198169 D [1222:70112673749720] [5080666f6b693304c6000001] (0.7ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes -2012-10-18 16:28:31.198169 D [1222:70112673749720] [5080666f6b693304c6000001] (0.7ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes -2012-10-18 16:28:31.198225 T [1222:70112673749720] [5080666f6b693304c6000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "\bregistered\x00\x01\x02clientid\x00\x04\x00\x00\x00123\x00\x00" -2012-10-18 16:28:31.198225 T [1222:70112673749720] [5080666f6b693304c6000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "\bregistered\x00\x01\x02clientid\x00\x04\x00\x00\x00123\x00\x00" -- "\bregistered\x00\x01\x02clientid\x00\x04\x00\x00\x00123\x00\x00" -2012-10-18 16:28:31.198235 D [1222:70112673749720] [5080666f6b693304c6000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 32 bytes -2012-10-18 16:28:31.198235 D [1222:70112673749720] [5080666f6b693304c6000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 32 bytes -2012-10-18 16:28:31.198282 T [1222:70112673749720] [5080666f6b693304c6000001] RubySkynet::Connection: 127.0.0.1:2000 -- Service Handshake -- {"registered"=>true, "clientid"=>"123"} -2012-10-18 16:28:31.198282 T [1222:70112673749720] [5080666f6b693304c6000001] RubySkynet::Connection: 127.0.0.1:2000 -- Service Handshake -- {"registered"=>true, "clientid"=>"123"} -- {"registered"=>true, "clientid"=>"123"} -2012-10-18 16:28:31.198297 D [1222:70112673749720] [5080666f6b693304c6000001] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Client Handshake -2012-10-18 16:28:31.198297 D [1222:70112673749720] [5080666f6b693304c6000001] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Client Handshake -2012-10-18 16:28:31.198306 T [1222:70112673749720] [5080666f6b693304c6000001] RubySkynet::Connection: 127.0.0.1:2000 -- Client Handshake -- {"clientid"=>"123"} -2012-10-18 16:28:31.198306 T [1222:70112673749720] [5080666f6b693304c6000001] RubySkynet::Connection: 127.0.0.1:2000 -- Client Handshake -- {"clientid"=>"123"} -- {"clientid"=>"123"} -2012-10-18 16:28:31.198325 T [1222:70112673749720] [5080666f6b693304c6000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- clientid123 -2012-10-18 16:28:31.198325 T [1222:70112673749720] [5080666f6b693304c6000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- clientid123 -- clientid123 -2012-10-18 16:28:31.198766 T [1222:70112675280740] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H -2012-10-18 16:28:31.198766 T [1222:70112675280740] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H -- "/services/*/*/*/*/*H -2012-10-18 16:28:31.198842 D [1222:70112675280740] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 33 bytes -2012-10-18 16:28:31.198842 D [1222:70112675280740] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 33 bytes -2012-10-18 16:28:31.201631 D [1222:70112673749720] [5080666f6b693304c6000001] (3.3ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 23 bytes -2012-10-18 16:28:31.201631 D [1222:70112673749720] [5080666f6b693304c6000001] (3.3ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 23 bytes -2012-10-18 16:28:31.201724 D [1222:70112673749720] [5080666f6b693304c6000001] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Header -2012-10-18 16:28:31.201724 D [1222:70112673749720] [5080666f6b693304c6000001] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Header -2012-10-18 16:28:31.201746 T [1222:70112673749720] [5080666f6b693304c6000001] RubySkynet::Connection: 127.0.0.1:2000 -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} -2012-10-18 16:28:31.201746 T [1222:70112673749720] [5080666f6b693304c6000001] RubySkynet::Connection: 127.0.0.1:2000 -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} -- {"servicemethod"=>"TestService.Forward", "seq"=>0} -2012-10-18 16:28:31.201787 T [1222:70112673749720] [5080666f6b693304c6000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- 5servicemethodTestService.Forwardseq -2012-10-18 16:28:31.201787 T [1222:70112673749720] [5080666f6b693304c6000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- 5servicemethodTestService.Forwardseq -- 5servicemethodTestService.Forwardseq -2012-10-18 16:28:31.201883 D [1222:70112673749720] [5080666f6b693304c6000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 53 bytes -2012-10-18 16:28:31.201883 D [1222:70112673749720] [5080666f6b693304c6000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 53 bytes -2012-10-18 16:28:31.201923 D [1222:70112673749720] [5080666f6b693304c6000001] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Request -2012-10-18 16:28:31.201923 D [1222:70112673749720] [5080666f6b693304c6000001] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Request -2012-10-18 16:28:31.201934 T [1222:70112673749720] [5080666f6b693304c6000001] RubySkynet::Connection: 127.0.0.1:2000 -- Request -- {"clientid"=>"123", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"test1", "requestinfo"=>{"requestid"=>"5080666f6b693304c6000001", "retrycount"=>0, "originaddress"=>""}} -2012-10-18 16:28:31.201934 T [1222:70112673749720] [5080666f6b693304c6000001] RubySkynet::Connection: 127.0.0.1:2000 -- Request -- {"clientid"=>"123", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"test1", "requestinfo"=>{"requestid"=>"5080666f6b693304c6000001", "retrycount"=>0, "originaddress"=>""}} -- {"clientid"=>"123", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"test1", "requestinfo"=>{"requestid"=>"5080666f6b693304c6000001", "retrycount"=>0, "originaddress"=>""}} -2012-10-18 16:28:31.201942 T [1222:70112673749720] [5080666f6b693304c6000001] RubySkynet::Connection: 127.0.0.1:2000 -- Parameters: -- {"some"=>"parameters"} -2012-10-18 16:28:31.201942 T [1222:70112673749720] [5080666f6b693304c6000001] RubySkynet::Connection: 127.0.0.1:2000 -- Parameters: -- {"some"=>"parameters"} -- {"some"=>"parameters"} -2012-10-18 16:28:31.201962 T [1222:70112673749720] [5080666f6b693304c6000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- clientid123insome parametersmethodtest1requestinfoQrequestid5080666f6b693304c6000001retrycountoriginaddress -2012-10-18 16:28:31.201962 T [1222:70112673749720] [5080666f6b693304c6000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- clientid123insome parametersmethodtest1requestinfoQrequestid5080666f6b693304c6000001retrycountoriginaddress -- clientid123insome parametersmethodtest1requestinfoQrequestid5080666f6b693304c6000001retrycountoriginaddress -2012-10-18 16:28:31.202032 D [1222:70112673749720] [5080666f6b693304c6000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 170 bytes -2012-10-18 16:28:31.202032 D [1222:70112673749720] [5080666f6b693304c6000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 170 bytes -2012-10-18 16:28:31.202050 D [1222:70112673749720] [5080666f6b693304c6000001] RubySkynet::Connection: 127.0.0.1:2000 -- Reading header from server -2012-10-18 16:28:31.202050 D [1222:70112673749720] [5080666f6b693304c6000001] RubySkynet::Connection: 127.0.0.1:2000 -- Reading header from server -2012-10-18 16:28:31.205987 D [1222:70112674294600] SimpleServer -- +2012-12-05 15:42:48.658857 D [44640:70292530078260] SimpleServer -- Waiting for a client to connect +2012-12-05 15:42:48.664205 D [44640:70292521310940] RubySkynet::Registry -- Doozer Connection Pool: Created connection #1 #<Thread:0x007fdc8186b5b8>(70292521310940) for Doozer Connection Pool +2012-12-05 15:42:48.664288 T [44640:70292521310940] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007fdc8287b688@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 15:42:48.665041 D [44640:70292521310940] RubySkynet::Registry -- Doozer Connection Pool: Renewed connection old=70292521310940 new=#<RubySkynet::Doozer::Client:0x007fdc8287b9f8>(70292529732860) +2012-12-05 15:42:48.665078 D [44640:70292521310940] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fdc8287b9f8>(70292529732860) self=connections=70292529732860 checked_out=70292529732860 with_map= +2012-12-05 15:42:48.678734 T [44640:70292521310940] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "+/services/TestService/1/Test/127.0.0.1/2000*{"Config":{"UUID":"3978b371-15e9-40f8-9b7b-59ae88d8c7ec","Name":"TestService","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"127.0.0.1","Port":2000,"MaxPort":2999}},"Registered":true}H +2012-12-05 15:42:48.678955 D [44640:70292521310940] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 261 bytes +2012-12-05 15:42:48.683927 T [44640:70292521310940] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 15:42:48.683980 D [44640:70292521310940] (4.8ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:42:48.687473 T [44640:70292521310940] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xC3\x1C" +2012-12-05 15:42:48.687515 D [44640:70292521310940] (1.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 15:42:48.687661 D [44640:70292521310940] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fdc8287b9f8>(70292529732860) self=connections=70292529732860 checked_out= with_map= +2012-12-05 15:42:48.692100 D [44640:70292521310940] [50bfb1c86b6933ae60000001] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fdc8287b9f8>(70292529732860) self=connections=70292529732860 checked_out=70292529732860 with_map= +2012-12-05 15:42:48.692344 T [44640:70292521310940] [50bfb1c86b6933ae60000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  +2012-12-05 15:42:48.692671 D [44640:70292521310940] [50bfb1c86b6933ae60000001] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 8 bytes +2012-12-05 15:42:48.692976 T [44640:70292521310940] [50bfb1c86b6933ae60000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 15:42:48.693024 D [44640:70292521310940] [50bfb1c86b6933ae60000001] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:42:48.693096 T [44640:70292521310940] [50bfb1c86b6933ae60000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xC3\x1C" +2012-12-05 15:42:48.693103 D [44640:70292521310940] [50bfb1c86b6933ae60000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 15:42:48.693390 T [44640:70292521310940] [50bfb1c86b6933ae60000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H +2012-12-05 15:42:48.693430 D [44640:70292521310940] [50bfb1c86b6933ae60000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-05 15:42:48.694033 T [44640:70292521310940] [50bfb1c86b6933ae60000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\xF9" +2012-12-05 15:42:48.694071 D [44640:70292521310940] [50bfb1c86b6933ae60000001] (0.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:42:48.694372 T [44640:70292521310940] [50bfb1c86b6933ae60000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xC3\x1C*+/services/TestService/1/Test/127.0.0.1/20002\xC2\x01{\"Config\":{\"UUID\":\"3978b371-15e9-40f8-9b7b-59ae88d8c7ec\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"127.0.0.1\",\"Port\":2000,\"MaxPort\":2999}},\"Registered\":true}" +2012-12-05 15:42:48.694400 D [44640:70292521310940] [50bfb1c86b6933ae60000001] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 249 bytes +2012-12-05 15:42:48.694702 T [44640:70292521310940] [50bfb1c86b6933ae60000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H +2012-12-05 15:42:48.694745 D [44640:70292521310940] [50bfb1c86b6933ae60000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-05 15:42:48.695179 T [44640:70292521310940] [50bfb1c86b6933ae60000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 15:42:48.695272 D [44640:70292521310940] [50bfb1c86b6933ae60000001] (0.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:42:48.695500 T [44640:70292521310940] [50bfb1c86b6933ae60000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\xA0\x06\b" +2012-12-05 15:42:48.695527 D [44640:70292521310940] [50bfb1c86b6933ae60000001] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 15:42:48.695750 D [44640:70292521310940] [50bfb1c86b6933ae60000001] RubySkynet::Registry -- #start_monitoring Add Service: TestService/1/Test => 127.0.0.1:2000 +2012-12-05 15:42:48.695788 D [44640:70292521310940] [50bfb1c86b6933ae60000001] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fdc8287b9f8>(70292529732860) self=connections=70292529732860 checked_out= with_map= +2012-12-05 15:42:48.696506 I [44640:70292532046700] RubySkynet::Registry -- Start monitoring /services/*/*/*/*/* +2012-12-05 15:42:48.696547 T [44640:70292532046700] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007fdc82cff308@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 15:42:48.697078 T [44640:70292532046700] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-05 15:42:48.697121 D [44640:70292532046700] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 15:42:48.697724 D [44640:70292521310940] [50bfb1c86b6933ae60000001] RubySkynet::Connection: 127.0.0.1:2000 -- Waiting for Service Handshake +2012-12-05 15:42:48.698751 D [44640:70292530078260] SimpleServer -- Waiting for a client to connect +2012-12-05 15:42:48.698851 D [44640:70292530078260] SimpleServer -- Client connected, waiting for data from client +2012-12-05 15:42:48.699521 T [44640:70292521310940] [50bfb1c86b6933ae60000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "$\x00\x00\x00" +2012-12-05 15:42:48.699535 D [44640:70292521310940] [50bfb1c86b6933ae60000001] (1.2ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes +2012-12-05 15:42:48.699631 T [44640:70292521310940] [50bfb1c86b6933ae60000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "\bregistered\x00\x01\x02clientid\x00\x04\x00\x00\x00123\x00\x00" +2012-12-05 15:42:48.699637 D [44640:70292521310940] [50bfb1c86b6933ae60000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 32 bytes +2012-12-05 15:42:48.699691 T [44640:70292521310940] [50bfb1c86b6933ae60000001] RubySkynet::Connection: 127.0.0.1:2000 -- Service Handshake -- {"registered"=>true, "clientid"=>"123"} +2012-12-05 15:42:48.699704 D [44640:70292521310940] [50bfb1c86b6933ae60000001] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Client Handshake +2012-12-05 15:42:48.699709 T [44640:70292521310940] [50bfb1c86b6933ae60000001] RubySkynet::Connection: 127.0.0.1:2000 -- Client Handshake -- {"clientid"=>"123"} +2012-12-05 15:42:48.699733 T [44640:70292521310940] [50bfb1c86b6933ae60000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- clientid123 +2012-12-05 15:42:48.699837 D [44640:70292521310940] [50bfb1c86b6933ae60000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 23 bytes +2012-12-05 15:42:48.699899 D [44640:70292521310940] [50bfb1c86b6933ae60000001] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Header +2012-12-05 15:42:48.699908 T [44640:70292521310940] [50bfb1c86b6933ae60000001] RubySkynet::Connection: 127.0.0.1:2000 -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 15:42:48.699930 T [44640:70292521310940] [50bfb1c86b6933ae60000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- 5servicemethodTestService.Forwardseq +2012-12-05 15:42:48.699975 D [44640:70292521310940] [50bfb1c86b6933ae60000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 53 bytes +2012-12-05 15:42:48.700007 D [44640:70292521310940] [50bfb1c86b6933ae60000001] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Request +2012-12-05 15:42:48.700013 T [44640:70292521310940] [50bfb1c86b6933ae60000001] RubySkynet::Connection: 127.0.0.1:2000 -- Request -- {"clientid"=>"123", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"test1", "requestinfo"=>{"requestid"=>"50bfb1c86b6933ae60000001", "retrycount"=>0, "originaddress"=>""}} +2012-12-05 15:42:48.700026 T [44640:70292521310940] [50bfb1c86b6933ae60000001] RubySkynet::Connection: 127.0.0.1:2000 -- Parameters: -- {"some"=>"parameters"} +2012-12-05 15:42:48.700044 T [44640:70292521310940] [50bfb1c86b6933ae60000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- clientid123insome parametersmethodtest1requestinfoQrequestid50bfb1c86b6933ae60000001retrycountoriginaddress +2012-12-05 15:42:48.700084 D [44640:70292521310940] [50bfb1c86b6933ae60000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 170 bytes +2012-12-05 15:42:48.700097 D [44640:70292521310940] [50bfb1c86b6933ae60000001] RubySkynet::Connection: 127.0.0.1:2000 -- Reading header from server +2012-12-05 15:42:48.700366 D [44640:70292530078260] SimpleServer -- ****************** -2012-10-18 16:28:31.205987 D [1222:70112674294600] SimpleServer -- +2012-12-05 15:42:48.700374 D [44640:70292530078260] SimpleServer -- Received Request +2012-12-05 15:42:48.700382 T [44640:70292530078260] SimpleServer -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 15:42:48.702614 T [44640:70292530078260] SimpleServer -- Request -- {"clientid"=>"123", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"test1", "requestinfo"=>{"requestid"=>"50bfb1c86b6933ae60000001", "retrycount"=>0, "originaddress"=>""}} +2012-12-05 15:42:48.702645 D [44640:70292530078260] SimpleServer -- Sending Header +2012-12-05 15:42:48.702741 D [44640:70292530078260] SimpleServer -- Sending Reply +2012-12-05 15:42:48.702749 T [44640:70292530078260] SimpleServer -- Reply -- {"result"=>"test1"} +2012-12-05 15:42:48.705083 T [44640:70292521310940] [50bfb1c86b6933ae60000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "5\x00\x00\x00" +2012-12-05 15:42:48.705130 D [44640:70292521310940] [50bfb1c86b6933ae60000001] (5.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes +2012-12-05 15:42:48.705366 T [44640:70292521310940] [50bfb1c86b6933ae60000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "\x02servicemethod\x00\x14\x00\x00\x00TestService.Forward\x00\x10seq\x00\x00\x00\x00\x00\x00" +2012-12-05 15:42:48.705402 D [44640:70292521310940] [50bfb1c86b6933ae60000001] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 49 bytes +2012-12-05 15:42:48.705443 D [44640:70292521310940] [50bfb1c86b6933ae60000001] RubySkynet::Connection: 127.0.0.1:2000 -- Response Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 15:42:48.705450 D [44640:70292521310940] [50bfb1c86b6933ae60000001] RubySkynet::Connection: 127.0.0.1:2000 -- Reading response from server +2012-12-05 15:42:48.707128 T [44640:70292521310940] [50bfb1c86b6933ae60000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "&\x00\x00\x00" +2012-12-05 15:42:48.707165 D [44640:70292521310940] [50bfb1c86b6933ae60000001] (0.4ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes +2012-12-05 15:42:48.707357 T [44640:70292521310940] [50bfb1c86b6933ae60000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "\x02out\x00\x18\x00\x00\x00\x17\x00\x00\x00\x02result\x00\x06\x00\x00\x00test1\x00\x00\x00\x00" +2012-12-05 15:42:48.707393 D [44640:70292521310940] [50bfb1c86b6933ae60000001] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 34 bytes +2012-12-05 15:42:48.707424 T [44640:70292521310940] [50bfb1c86b6933ae60000001] RubySkynet::Connection: 127.0.0.1:2000 -- Response -- {"out"=>"\x17\x00\x00\x00\x02result\x00\x06\x00\x00\x00test1\x00\x00"} +2012-12-05 15:42:48.707451 T [44640:70292521310940] [50bfb1c86b6933ae60000001] RubySkynet::Connection: 127.0.0.1:2000 -- Return Value -- {"result"=>"test1"} +2012-12-05 15:42:48.707477 I [44640:70292521310940] [50bfb1c86b6933ae60000001] (19.7ms) RubySkynet::Client: TestService/1/Test -- Called Skynet Service: TestService.test1 +2012-12-05 15:42:48.709825 D [44640:70292521310940] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fdc8287b9f8>(70292529732860) self=connections=70292529732860 checked_out=70292529732860 with_map= +2012-12-05 15:42:48.710202 T [44640:70292521310940] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- <"+/services/TestService/1/Test/127.0.0.1/2000H +2012-12-05 15:42:48.710475 D [44640:70292521310940] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 64 bytes +2012-12-05 15:42:48.714777 T [44640:70292521310940] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 15:42:48.714834 D [44640:70292521310940] (4.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:42:48.716566 T [44640:70292532046700] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x006" +2012-12-05 15:42:48.716582 D [44640:70292532046700] (19.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:42:48.716659 T [44640:70292532046700] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\b\x18\xC4\x1C*+/services/TestService/1/Test/127.0.0.1/20002\x00" +2012-12-05 15:42:48.716666 D [44640:70292532046700] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 54 bytes +2012-12-05 15:42:48.718669 D [44640:70292532046700] RubySkynet::Registry -- #monitor Service stopped, remove: TestService/1/Test => 127.0.0.1:2000 +2012-12-05 15:42:48.718703 I [44640:70292532046700] RubySkynet::Registry -- Calling callback for server: 127.0.0.1:2000 +2012-12-05 15:42:48.719714 D [44640:70292532046700] RubySkynet::Connection -- Connection pool for server:127.0.0.1:2000 has been released +2012-12-05 15:42:48.719732 D [44640:70292532046700] RubySkynet::Registry -- Updated registry -- {} +2012-12-05 15:42:48.720174 T [44640:70292532046700] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-05 15:42:48.720257 D [44640:70292532046700] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 15:42:48.721177 T [44640:70292521310940] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00" +2012-12-05 15:42:48.721207 D [44640:70292521310940] (6.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 2 bytes +2012-12-05 15:42:48.721329 D [44640:70292521310940] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fdc8287b9f8>(70292529732860) self=connections=70292529732860 checked_out= with_map= +2012-12-05 15:42:48.722349 D [44640:70292530100020] SimpleServer -- Waiting for a client to connect +2012-12-05 15:42:48.722850 D [44640:70292521310940] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fdc8287b9f8>(70292529732860) self=connections=70292529732860 checked_out=70292529732860 with_map= +2012-12-05 15:42:48.723241 T [44640:70292521310940] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "+/services/TestService/1/Test/127.0.0.1/2000*{"Config":{"UUID":"3978b371-15e9-40f8-9b7b-59ae88d8c7ec","Name":"TestService","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"127.0.0.1","Port":2000,"MaxPort":2999}},"Registered":true}H +2012-12-05 15:42:48.723427 D [44640:70292521310940] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 261 bytes +2012-12-05 15:42:48.725053 T [44640:70292532046700] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\xF9" +2012-12-05 15:42:48.725065 D [44640:70292532046700] (4.8ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:42:48.725490 T [44640:70292532046700] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xC5\x1C*+/services/TestService/1/Test/127.0.0.1/20002\xC2\x01{\"Config\":{\"UUID\":\"3978b371-15e9-40f8-9b7b-59ae88d8c7ec\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"127.0.0.1\",\"Port\":2000,\"MaxPort\":2999}},\"Registered\":true}" +2012-12-05 15:42:48.725502 D [44640:70292532046700] (0.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 249 bytes +2012-12-05 15:42:48.725707 D [44640:70292532046700] RubySkynet::Registry -- #monitor Add/Update Service: TestService/1/Test => 127.0.0.1:2000 +2012-12-05 15:42:48.725720 D [44640:70292532046700] RubySkynet::Registry -- Updated registry -- {"TestService/1/Test"=>["127.0.0.1:2000"]} +2012-12-05 15:42:48.725927 T [44640:70292532046700] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-05 15:42:48.725992 D [44640:70292532046700] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 15:42:48.737077 T [44640:70292521310940] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 15:42:48.737140 D [44640:70292521310940] (12.9ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:42:48.737589 T [44640:70292521310940] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xC5\x1C" +2012-12-05 15:42:48.737677 D [44640:70292521310940] (0.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 15:42:48.738371 D [44640:70292521310940] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fdc8287b9f8>(70292529732860) self=connections=70292529732860 checked_out= with_map= +2012-12-05 15:42:48.739905 D [44640:70292521310940] [50bfb1c86b6933ae60000002] RubySkynet::Connection: 127.0.0.1:2000 -- Waiting for Service Handshake +2012-12-05 15:42:48.740124 D [44640:70292530100020] SimpleServer -- Waiting for a client to connect +2012-12-05 15:42:48.740217 D [44640:70292530100020] SimpleServer -- Client connected, waiting for data from client +2012-12-05 15:42:48.741417 T [44640:70292521310940] [50bfb1c86b6933ae60000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "$\x00\x00\x00" +2012-12-05 15:42:48.741427 D [44640:70292521310940] [50bfb1c86b6933ae60000002] (1.5ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes +2012-12-05 15:42:48.741526 T [44640:70292521310940] [50bfb1c86b6933ae60000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "\bregistered\x00\x01\x02clientid\x00\x04\x00\x00\x00123\x00\x00" +2012-12-05 15:42:48.741533 D [44640:70292521310940] [50bfb1c86b6933ae60000002] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 32 bytes +2012-12-05 15:42:48.741571 T [44640:70292521310940] [50bfb1c86b6933ae60000002] RubySkynet::Connection: 127.0.0.1:2000 -- Service Handshake -- {"registered"=>true, "clientid"=>"123"} +2012-12-05 15:42:48.741590 D [44640:70292521310940] [50bfb1c86b6933ae60000002] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Client Handshake +2012-12-05 15:42:48.741597 T [44640:70292521310940] [50bfb1c86b6933ae60000002] RubySkynet::Connection: 127.0.0.1:2000 -- Client Handshake -- {"clientid"=>"123"} +2012-12-05 15:42:48.741614 T [44640:70292521310940] [50bfb1c86b6933ae60000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- clientid123 +2012-12-05 15:42:48.742817 D [44640:70292521310940] [50bfb1c86b6933ae60000002] (1.2ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 23 bytes +2012-12-05 15:42:48.742890 D [44640:70292521310940] [50bfb1c86b6933ae60000002] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Header +2012-12-05 15:42:48.742900 T [44640:70292521310940] [50bfb1c86b6933ae60000002] RubySkynet::Connection: 127.0.0.1:2000 -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 15:42:48.742940 T [44640:70292521310940] [50bfb1c86b6933ae60000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- 5servicemethodTestService.Forwardseq +2012-12-05 15:42:48.742985 D [44640:70292521310940] [50bfb1c86b6933ae60000002] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 53 bytes +2012-12-05 15:42:48.743027 D [44640:70292521310940] [50bfb1c86b6933ae60000002] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Request +2012-12-05 15:42:48.743034 T [44640:70292521310940] [50bfb1c86b6933ae60000002] RubySkynet::Connection: 127.0.0.1:2000 -- Request -- {"clientid"=>"123", "in"=>"\x17\x00\x00\x00\x01duration\x00\x00\x00\x00\x00\x00\x00\f@\x00", "method"=>"sleep", "requestinfo"=>{"requestid"=>"50bfb1c86b6933ae60000002", "retrycount"=>0, "originaddress"=>""}} +2012-12-05 15:42:48.743040 T [44640:70292521310940] [50bfb1c86b6933ae60000002] RubySkynet::Connection: 127.0.0.1:2000 -- Parameters: -- {"duration"=>3.5} +2012-12-05 15:42:48.743056 T [44640:70292521310940] [50bfb1c86b6933ae60000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- clientid123induration @methodsleeprequestinfoQrequestid50bfb1c86b6933ae60000002retrycountoriginaddress +2012-12-05 15:42:48.743097 D [44640:70292521310940] [50bfb1c86b6933ae60000002] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 167 bytes +2012-12-05 15:42:48.743110 D [44640:70292521310940] [50bfb1c86b6933ae60000002] RubySkynet::Connection: 127.0.0.1:2000 -- Reading header from server +2012-12-05 15:42:48.744104 D [44640:70292530100020] SimpleServer -- ****************** -2012-10-18 16:28:31.206007 D [1222:70112674294600] SimpleServer -- Received Request -2012-10-18 16:28:31.206007 D [1222:70112674294600] SimpleServer -- Received Request -2012-10-18 16:28:31.206018 T [1222:70112674294600] SimpleServer -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} -2012-10-18 16:28:31.206018 T [1222:70112674294600] SimpleServer -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} -- {"servicemethod"=>"TestService.Forward", "seq"=>0} -2012-10-18 16:28:31.206302 T [1222:70112674294600] SimpleServer -- Request -- {"clientid"=>"123", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"test1", "requestinfo"=>{"requestid"=>"5080666f6b693304c6000001", "retrycount"=>0, "originaddress"=>""}} -2012-10-18 16:28:31.206302 T [1222:70112674294600] SimpleServer -- Request -- {"clientid"=>"123", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"test1", "requestinfo"=>{"requestid"=>"5080666f6b693304c6000001", "retrycount"=>0, "originaddress"=>""}} -- {"clientid"=>"123", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"test1", "requestinfo"=>{"requestid"=>"5080666f6b693304c6000001", "retrycount"=>0, "originaddress"=>""}} -2012-10-18 16:28:31.206329 D [1222:70112674294600] SimpleServer -- Sending Header -2012-10-18 16:28:31.206329 D [1222:70112674294600] SimpleServer -- Sending Header -2012-10-18 16:28:31.206450 D [1222:70112674294600] SimpleServer -- Sending Reply -2012-10-18 16:28:31.206450 D [1222:70112674294600] SimpleServer -- Sending Reply -2012-10-18 16:28:31.206463 T [1222:70112674294600] SimpleServer -- Reply -- {"result"=>"test1"} -2012-10-18 16:28:31.206463 T [1222:70112674294600] SimpleServer -- Reply -- {"result"=>"test1"} -- {"result"=>"test1"} -2012-10-18 16:28:31.207399 T [1222:70112673749720] [5080666f6b693304c6000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "5\x00\x00\x00" -2012-10-18 16:28:31.207399 T [1222:70112673749720] [5080666f6b693304c6000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "5\x00\x00\x00" -- "5\x00\x00\x00" -2012-10-18 16:28:31.207417 D [1222:70112673749720] [5080666f6b693304c6000001] (5.3ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes -2012-10-18 16:28:31.207417 D [1222:70112673749720] [5080666f6b693304c6000001] (5.3ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes -2012-10-18 16:28:31.207503 T [1222:70112673749720] [5080666f6b693304c6000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "\x02servicemethod\x00\x14\x00\x00\x00TestService.Forward\x00\x10seq\x00\x00\x00\x00\x00\x00" -2012-10-18 16:28:31.207503 T [1222:70112673749720] [5080666f6b693304c6000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "\x02servicemethod\x00\x14\x00\x00\x00TestService.Forward\x00\x10seq\x00\x00\x00\x00\x00\x00" -- "\x02servicemethod\x00\x14\x00\x00\x00TestService.Forward\x00\x10seq\x00\x00\x00\x00\x00\x00" -2012-10-18 16:28:31.207516 D [1222:70112673749720] [5080666f6b693304c6000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 49 bytes -2012-10-18 16:28:31.207516 D [1222:70112673749720] [5080666f6b693304c6000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 49 bytes -2012-10-18 16:28:31.207554 D [1222:70112673749720] [5080666f6b693304c6000001] RubySkynet::Connection: 127.0.0.1:2000 -- Response Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} -2012-10-18 16:28:31.207554 D [1222:70112673749720] [5080666f6b693304c6000001] RubySkynet::Connection: 127.0.0.1:2000 -- Response Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} -- {"servicemethod"=>"TestService.Forward", "seq"=>0} -2012-10-18 16:28:31.207564 D [1222:70112673749720] [5080666f6b693304c6000001] RubySkynet::Connection: 127.0.0.1:2000 -- Reading response from server -2012-10-18 16:28:31.207564 D [1222:70112673749720] [5080666f6b693304c6000001] RubySkynet::Connection: 127.0.0.1:2000 -- Reading response from server -2012-10-18 16:28:31.207623 T [1222:70112673749720] [5080666f6b693304c6000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "&\x00\x00\x00" -2012-10-18 16:28:31.207623 T [1222:70112673749720] [5080666f6b693304c6000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "&\x00\x00\x00" -- "&\x00\x00\x00" -2012-10-18 16:28:31.207633 D [1222:70112673749720] [5080666f6b693304c6000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes -2012-10-18 16:28:31.207633 D [1222:70112673749720] [5080666f6b693304c6000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes -2012-10-18 16:28:31.207682 T [1222:70112673749720] [5080666f6b693304c6000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "\x02out\x00\x18\x00\x00\x00\x17\x00\x00\x00\x02result\x00\x06\x00\x00\x00test1\x00\x00\x00\x00" -2012-10-18 16:28:31.207682 T [1222:70112673749720] [5080666f6b693304c6000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "\x02out\x00\x18\x00\x00\x00\x17\x00\x00\x00\x02result\x00\x06\x00\x00\x00test1\x00\x00\x00\x00" -- "\x02out\x00\x18\x00\x00\x00\x17\x00\x00\x00\x02result\x00\x06\x00\x00\x00test1\x00\x00\x00\x00" -2012-10-18 16:28:31.207691 D [1222:70112673749720] [5080666f6b693304c6000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 34 bytes -2012-10-18 16:28:31.207691 D [1222:70112673749720] [5080666f6b693304c6000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 34 bytes -2012-10-18 16:28:31.207721 T [1222:70112673749720] [5080666f6b693304c6000001] RubySkynet::Connection: 127.0.0.1:2000 -- Response -- {"out"=>"\x17\x00\x00\x00\x02result\x00\x06\x00\x00\x00test1\x00\x00"} -2012-10-18 16:28:31.207721 T [1222:70112673749720] [5080666f6b693304c6000001] RubySkynet::Connection: 127.0.0.1:2000 -- Response -- {"out"=>"\x17\x00\x00\x00\x02result\x00\x06\x00\x00\x00test1\x00\x00"} -- {"out"=>"\x17\x00\x00\x00\x02result\x00\x06\x00\x00\x00test1\x00\x00"} -2012-10-18 16:28:31.207748 T [1222:70112673749720] [5080666f6b693304c6000001] RubySkynet::Connection: 127.0.0.1:2000 -- Return Value -- {"result"=>"test1"} -2012-10-18 16:28:31.207748 T [1222:70112673749720] [5080666f6b693304c6000001] RubySkynet::Connection: 127.0.0.1:2000 -- Return Value -- {"result"=>"test1"} -- {"result"=>"test1"} -2012-10-18 16:28:31.207777 I [1222:70112673749720] [5080666f6b693304c6000001] (19.9ms) RubySkynet::Client: TestService/1/Test -- Called Skynet Service: TestService.test1 -2012-10-18 16:28:31.207777 I [1222:70112673749720] [5080666f6b693304c6000001] (19.9ms) RubySkynet::Client: TestService/1/Test -- Called Skynet Service: TestService.test1 -2012-10-18 16:28:31.208036 D [1222:70112673749720] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f88c2241f38>(70112674713500) self=connections=70112674713500 checked_out=70112674713500 with_map= -2012-10-18 16:28:31.208036 D [1222:70112673749720] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f88c2241f38>(70112674713500) self=connections=70112674713500 checked_out=70112674713500 with_map= -2012-10-18 16:28:31.208378 T [1222:70112673749720] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- <"+/services/TestService/1/Test/127.0.0.1/2000H -2012-10-18 16:28:31.208378 T [1222:70112673749720] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- <"+/services/TestService/1/Test/127.0.0.1/2000H -- <"+/services/TestService/1/Test/127.0.0.1/2000H -2012-10-18 16:28:31.215829 D [1222:70112673749720] (7.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 64 bytes -2012-10-18 16:28:31.215829 D [1222:70112673749720] (7.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 64 bytes -2012-10-18 16:28:31.215938 T [1222:70112673749720] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x02" -2012-10-18 16:28:31.215938 T [1222:70112673749720] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x02" -- "\x00\x00\x00\x02" -2012-10-18 16:28:31.215949 D [1222:70112673749720] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:28:31.215949 D [1222:70112673749720] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:28:31.216041 T [1222:70112675280740] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x007" -2012-10-18 16:28:31.216041 T [1222:70112675280740] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x007" -- "\x00\x00\x007" -2012-10-18 16:28:31.216052 D [1222:70112675280740] (17.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:28:31.216052 D [1222:70112675280740] (17.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:28:31.217209 T [1222:70112675280740] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\b\x18\xC3\xD2\x03*+/services/TestService/1/Test/127.0.0.1/20002\x00" -2012-10-18 16:28:31.217209 T [1222:70112675280740] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\b\x18\xC3\xD2\x03*+/services/TestService/1/Test/127.0.0.1/20002\x00" -- "\b\x00\x10\b\x18\xC3\xD2\x03*+/services/TestService/1/Test/127.0.0.1/20002\x00" -2012-10-18 16:28:31.217225 D [1222:70112675280740] (1.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 55 bytes -2012-10-18 16:28:31.217225 D [1222:70112675280740] (1.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 55 bytes -2012-10-18 16:28:31.217410 D [1222:70112675280740] RubySkynet::Registry -- #monitor Service stopped, remove: TestService/1/Test => 127.0.0.1:2000 -2012-10-18 16:28:31.217410 D [1222:70112675280740] RubySkynet::Registry -- #monitor Service stopped, remove: TestService/1/Test => 127.0.0.1:2000 -2012-10-18 16:28:31.217439 I [1222:70112675280740] RubySkynet::Registry -- Calling callback for server: 127.0.0.1:2000 -2012-10-18 16:28:31.217439 I [1222:70112675280740] RubySkynet::Registry -- Calling callback for server: 127.0.0.1:2000 -2012-10-18 16:28:31.220602 D [1222:70112675280740] RubySkynet::Connection -- Connection pool for server:127.0.0.1:2000 has been released -2012-10-18 16:28:31.220602 D [1222:70112675280740] RubySkynet::Connection -- Connection pool for server:127.0.0.1:2000 has been released -2012-10-18 16:28:31.220633 D [1222:70112675280740] RubySkynet::Registry -- Updated registry -- {"TutorialService/1/Development"=>["127.0.0.1:9000"]} -2012-10-18 16:28:31.220633 D [1222:70112675280740] RubySkynet::Registry -- Updated registry -- {"TutorialService/1/Development"=>["127.0.0.1:9000"]} -- {"TutorialService/1/Development"=>["127.0.0.1:9000"]} -2012-10-18 16:28:31.220933 T [1222:70112675280740] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H -2012-10-18 16:28:31.220933 T [1222:70112675280740] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H -- "/services/*/*/*/*/*H -2012-10-18 16:28:31.221291 T [1222:70112673749720] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00" -2012-10-18 16:28:31.221291 T [1222:70112673749720] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00" -- "\b\x00" -2012-10-18 16:28:31.221305 D [1222:70112673749720] (5.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 2 bytes -2012-10-18 16:28:31.221305 D [1222:70112673749720] (5.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 2 bytes -2012-10-18 16:28:31.221549 D [1222:70112673749720] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007f88c2241f38>(70112674713500) self=connections=70112674713500 checked_out= with_map= -2012-10-18 16:28:31.221549 D [1222:70112673749720] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007f88c2241f38>(70112674713500) self=connections=70112674713500 checked_out= with_map= -2012-10-18 16:28:31.227057 D [1222:70112675280740] (6.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 33 bytes -2012-10-18 16:28:31.227057 D [1222:70112675280740] (6.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 33 bytes -2012-10-18 16:28:31.228684 D [1222:70112673749720] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f88c2241f38>(70112674713500) self=connections=70112674713500 checked_out=70112674713500 with_map= -2012-10-18 16:28:31.228684 D [1222:70112673749720] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f88c2241f38>(70112674713500) self=connections=70112674713500 checked_out=70112674713500 with_map= -2012-10-18 16:28:31.230900 T [1222:70112673749720] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "+/services/TestService/1/Test/127.0.0.1/2000*{"Config":{"UUID":"3978b371-15e9-40f8-9b7b-59ae88d8c7ec","Name":"TestService","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"127.0.0.1","Port":2000,"MaxPort":2999}},"Registered":true}H -2012-10-18 16:28:31.230900 T [1222:70112673749720] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "+/services/TestService/1/Test/127.0.0.1/2000*{"Config":{"UUID":"3978b371-15e9-40f8-9b7b-59ae88d8c7ec","Name":"TestService","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"127.0.0.1","Port":2000,"MaxPort":2999}},"Registered":true}H -- "+/services/TestService/1/Test/127.0.0.1/2000*{"Config":{"UUID":"3978b371-15e9-40f8-9b7b-59ae88d8c7ec","Name":"TestService","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"127.0.0.1","Port":2000,"MaxPort":2999}},"Registered":true}H -2012-10-18 16:28:31.230984 D [1222:70112673749720] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 261 bytes -2012-10-18 16:28:31.230984 D [1222:70112673749720] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 261 bytes -2012-10-18 16:28:31.231080 D [1222:70112675340560] SimpleServer -- Waiting for a client to connect -2012-10-18 16:28:31.231080 D [1222:70112675340560] SimpleServer -- Waiting for a client to connect -2012-10-18 16:28:31.234750 T [1222:70112673749720] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x06" -2012-10-18 16:28:31.234750 T [1222:70112673749720] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x06" -- "\x00\x00\x00\x06" -2012-10-18 16:28:31.234770 D [1222:70112673749720] (3.8ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:28:31.234770 D [1222:70112673749720] (3.8ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:28:31.234874 T [1222:70112675280740] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\xFA" -2012-10-18 16:28:31.234874 T [1222:70112675280740] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\xFA" -- "\x00\x00\x00\xFA" -2012-10-18 16:28:31.234885 D [1222:70112675280740] (7.8ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:28:31.234885 D [1222:70112675280740] (7.8ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:28:31.237560 T [1222:70112675280740] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xC4\xD2\x03*+/services/TestService/1/Test/127.0.0.1/20002\xC2\x01{\"Config\":{\"UUID\":\"3978b371-15e9-40f8-9b7b-59ae88d8c7ec\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"127.0.0.1\",\"Port\":2000,\"MaxPort\":2999}},\"Registered\":true}" -2012-10-18 16:28:31.237560 T [1222:70112675280740] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xC4\xD2\x03*+/services/TestService/1/Test/127.0.0.1/20002\xC2\x01{\"Config\":{\"UUID\":\"3978b371-15e9-40f8-9b7b-59ae88d8c7ec\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"127.0.0.1\",\"Port\":2000,\"MaxPort\":2999}},\"Registered\":true}" -- "\b\x00\x10\x04\x18\xC4\xD2\x03*+/services/TestService/1/Test/127.0.0.1/20002\xC2\x01{\"Config\":{\"UUID\":\"3978b371-15e9-40f8-9b7b-59ae88d8c7ec\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"127.0.0.1\",\"Port\":2000,\"MaxPort\":2999}},\"Registered\":true}" -2012-10-18 16:28:31.237596 D [1222:70112675280740] (2.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 250 bytes -2012-10-18 16:28:31.237596 D [1222:70112675280740] (2.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 250 bytes -2012-10-18 16:28:31.237891 D [1222:70112675280740] RubySkynet::Registry -- #monitor Add/Update Service: TestService/1/Test => 127.0.0.1:2000 -2012-10-18 16:28:31.237891 D [1222:70112675280740] RubySkynet::Registry -- #monitor Add/Update Service: TestService/1/Test => 127.0.0.1:2000 -2012-10-18 16:28:31.237907 D [1222:70112675280740] RubySkynet::Registry -- Updated registry -- {"TutorialService/1/Development"=>["127.0.0.1:9000"], "TestService/1/Test"=>["127.0.0.1:2000"]} -2012-10-18 16:28:31.237907 D [1222:70112675280740] RubySkynet::Registry -- Updated registry -- {"TutorialService/1/Development"=>["127.0.0.1:9000"], "TestService/1/Test"=>["127.0.0.1:2000"]} -- {"TutorialService/1/Development"=>["127.0.0.1:9000"], "TestService/1/Test"=>["127.0.0.1:2000"]} -2012-10-18 16:28:31.238203 T [1222:70112675280740] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H -2012-10-18 16:28:31.238203 T [1222:70112675280740] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H -- "/services/*/*/*/*/*H -2012-10-18 16:28:31.238280 D [1222:70112675280740] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 33 bytes -2012-10-18 16:28:31.238280 D [1222:70112675280740] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 33 bytes -2012-10-18 16:28:31.239739 T [1222:70112673749720] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xC4\xD2\x03" -2012-10-18 16:28:31.239739 T [1222:70112673749720] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xC4\xD2\x03" -- "\b\x00\x18\xC4\xD2\x03" -2012-10-18 16:28:31.239754 D [1222:70112673749720] (4.9ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 6 bytes -2012-10-18 16:28:31.239754 D [1222:70112673749720] (4.9ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 6 bytes -2012-10-18 16:28:31.239850 D [1222:70112673749720] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007f88c2241f38>(70112674713500) self=connections=70112674713500 checked_out= with_map= -2012-10-18 16:28:31.239850 D [1222:70112673749720] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007f88c2241f38>(70112674713500) self=connections=70112674713500 checked_out= with_map= -2012-10-18 16:28:31.240899 D [1222:70112673749720] [5080666f6b693304c6000002] RubySkynet::Connection: 127.0.0.1:2000 -- Waiting for Service Handshake -2012-10-18 16:28:31.240899 D [1222:70112673749720] [5080666f6b693304c6000002] RubySkynet::Connection: 127.0.0.1:2000 -- Waiting for Service Handshake -2012-10-18 16:28:31.250201 D [1222:70112675340560] SimpleServer -- Client connected, waiting for data from client -2012-10-18 16:28:31.250201 D [1222:70112675340560] SimpleServer -- Client connected, waiting for data from client -2012-10-18 16:28:31.251467 T [1222:70112673749720] [5080666f6b693304c6000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "$\x00\x00\x00" -2012-10-18 16:28:31.251467 T [1222:70112673749720] [5080666f6b693304c6000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "$\x00\x00\x00" -- "$\x00\x00\x00" -2012-10-18 16:28:31.251488 D [1222:70112673749720] [5080666f6b693304c6000002] (10.6ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes -2012-10-18 16:28:31.251488 D [1222:70112673749720] [5080666f6b693304c6000002] (10.6ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes -2012-10-18 16:28:31.251556 T [1222:70112673749720] [5080666f6b693304c6000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "\bregistered\x00\x01\x02clientid\x00\x04\x00\x00\x00123\x00\x00" -2012-10-18 16:28:31.251556 T [1222:70112673749720] [5080666f6b693304c6000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "\bregistered\x00\x01\x02clientid\x00\x04\x00\x00\x00123\x00\x00" -- "\bregistered\x00\x01\x02clientid\x00\x04\x00\x00\x00123\x00\x00" -2012-10-18 16:28:31.251567 D [1222:70112673749720] [5080666f6b693304c6000002] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 32 bytes -2012-10-18 16:28:31.251567 D [1222:70112673749720] [5080666f6b693304c6000002] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 32 bytes -2012-10-18 16:28:31.251614 T [1222:70112673749720] [5080666f6b693304c6000002] RubySkynet::Connection: 127.0.0.1:2000 -- Service Handshake -- {"registered"=>true, "clientid"=>"123"} -2012-10-18 16:28:31.251614 T [1222:70112673749720] [5080666f6b693304c6000002] RubySkynet::Connection: 127.0.0.1:2000 -- Service Handshake -- {"registered"=>true, "clientid"=>"123"} -- {"registered"=>true, "clientid"=>"123"} -2012-10-18 16:28:31.251633 D [1222:70112673749720] [5080666f6b693304c6000002] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Client Handshake -2012-10-18 16:28:31.251633 D [1222:70112673749720] [5080666f6b693304c6000002] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Client Handshake -2012-10-18 16:28:31.251643 T [1222:70112673749720] [5080666f6b693304c6000002] RubySkynet::Connection: 127.0.0.1:2000 -- Client Handshake -- {"clientid"=>"123"} -2012-10-18 16:28:31.251643 T [1222:70112673749720] [5080666f6b693304c6000002] RubySkynet::Connection: 127.0.0.1:2000 -- Client Handshake -- {"clientid"=>"123"} -- {"clientid"=>"123"} -2012-10-18 16:28:31.251666 T [1222:70112673749720] [5080666f6b693304c6000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- clientid123 -2012-10-18 16:28:31.251666 T [1222:70112673749720] [5080666f6b693304c6000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- clientid123 -- clientid123 -2012-10-18 16:28:31.251781 D [1222:70112673749720] [5080666f6b693304c6000002] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 23 bytes -2012-10-18 16:28:31.251781 D [1222:70112673749720] [5080666f6b693304c6000002] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 23 bytes -2012-10-18 16:28:31.251995 D [1222:70112673749720] [5080666f6b693304c6000002] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Header -2012-10-18 16:28:31.251995 D [1222:70112673749720] [5080666f6b693304c6000002] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Header -2012-10-18 16:28:31.252019 T [1222:70112673749720] [5080666f6b693304c6000002] RubySkynet::Connection: 127.0.0.1:2000 -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} -2012-10-18 16:28:31.252019 T [1222:70112673749720] [5080666f6b693304c6000002] RubySkynet::Connection: 127.0.0.1:2000 -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} -- {"servicemethod"=>"TestService.Forward", "seq"=>0} -2012-10-18 16:28:31.252046 T [1222:70112673749720] [5080666f6b693304c6000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- 5servicemethodTestService.Forwardseq -2012-10-18 16:28:31.252046 T [1222:70112673749720] [5080666f6b693304c6000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- 5servicemethodTestService.Forwardseq -- 5servicemethodTestService.Forwardseq -2012-10-18 16:28:31.252118 D [1222:70112673749720] [5080666f6b693304c6000002] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 53 bytes -2012-10-18 16:28:31.252118 D [1222:70112673749720] [5080666f6b693304c6000002] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 53 bytes -2012-10-18 16:28:31.252167 D [1222:70112673749720] [5080666f6b693304c6000002] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Request -2012-10-18 16:28:31.252167 D [1222:70112673749720] [5080666f6b693304c6000002] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Request -2012-10-18 16:28:31.252178 T [1222:70112673749720] [5080666f6b693304c6000002] RubySkynet::Connection: 127.0.0.1:2000 -- Request -- {"clientid"=>"123", "in"=>"\x17\x00\x00\x00\x01duration\x00\x00\x00\x00\x00\x00\x00\f@\x00", "method"=>"sleep", "requestinfo"=>{"requestid"=>"5080666f6b693304c6000002", "retrycount"=>0, "originaddress"=>""}} -2012-10-18 16:28:31.252178 T [1222:70112673749720] [5080666f6b693304c6000002] RubySkynet::Connection: 127.0.0.1:2000 -- Request -- {"clientid"=>"123", "in"=>"\x17\x00\x00\x00\x01duration\x00\x00\x00\x00\x00\x00\x00\f@\x00", "method"=>"sleep", "requestinfo"=>{"requestid"=>"5080666f6b693304c6000002", "retrycount"=>0, "originaddress"=>""}} -- {"clientid"=>"123", "in"=>"\x17\x00\x00\x00\x01duration\x00\x00\x00\x00\x00\x00\x00\f@\x00", "method"=>"sleep", "requestinfo"=>{"requestid"=>"5080666f6b693304c6000002", "retrycount"=>0, "originaddress"=>""}} -2012-10-18 16:28:31.252188 T [1222:70112673749720] [5080666f6b693304c6000002] RubySkynet::Connection: 127.0.0.1:2000 -- Parameters: -- {"duration"=>3.5} -2012-10-18 16:28:31.252188 T [1222:70112673749720] [5080666f6b693304c6000002] RubySkynet::Connection: 127.0.0.1:2000 -- Parameters: -- {"duration"=>3.5} -- {"duration"=>3.5} -2012-10-18 16:28:31.252209 T [1222:70112673749720] [5080666f6b693304c6000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- clientid123induration @methodsleeprequestinfoQrequestid5080666f6b693304c6000002retrycountoriginaddress -2012-10-18 16:28:31.252209 T [1222:70112673749720] [5080666f6b693304c6000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- clientid123induration @methodsleeprequestinfoQrequestid5080666f6b693304c6000002retrycountoriginaddress -- clientid123induration @methodsleeprequestinfoQrequestid5080666f6b693304c6000002retrycountoriginaddress -2012-10-18 16:28:31.252278 D [1222:70112673749720] [5080666f6b693304c6000002] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 167 bytes -2012-10-18 16:28:31.252278 D [1222:70112673749720] [5080666f6b693304c6000002] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 167 bytes -2012-10-18 16:28:31.252295 D [1222:70112673749720] [5080666f6b693304c6000002] RubySkynet::Connection: 127.0.0.1:2000 -- Reading header from server -2012-10-18 16:28:31.252295 D [1222:70112673749720] [5080666f6b693304c6000002] RubySkynet::Connection: 127.0.0.1:2000 -- Reading header from server -2012-10-18 16:28:31.255333 D [1222:70112675340560] SimpleServer -- -****************** -2012-10-18 16:28:31.255333 D [1222:70112675340560] SimpleServer -- -****************** -2012-10-18 16:28:31.255351 D [1222:70112675340560] SimpleServer -- Received Request -2012-10-18 16:28:31.255351 D [1222:70112675340560] SimpleServer -- Received Request -2012-10-18 16:28:31.255362 T [1222:70112675340560] SimpleServer -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} -2012-10-18 16:28:31.255362 T [1222:70112675340560] SimpleServer -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} -- {"servicemethod"=>"TestService.Forward", "seq"=>0} -2012-10-18 16:28:31.255433 T [1222:70112675340560] SimpleServer -- Request -- {"clientid"=>"123", "in"=>"\x17\x00\x00\x00\x01duration\x00\x00\x00\x00\x00\x00\x00\f@\x00", "method"=>"sleep", "requestinfo"=>{"requestid"=>"5080666f6b693304c6000002", "retrycount"=>0, "originaddress"=>""}} -2012-10-18 16:28:31.255433 T [1222:70112675340560] SimpleServer -- Request -- {"clientid"=>"123", "in"=>"\x17\x00\x00\x00\x01duration\x00\x00\x00\x00\x00\x00\x00\f@\x00", "method"=>"sleep", "requestinfo"=>{"requestid"=>"5080666f6b693304c6000002", "retrycount"=>0, "originaddress"=>""}} -- {"clientid"=>"123", "in"=>"\x17\x00\x00\x00\x01duration\x00\x00\x00\x00\x00\x00\x00\f@\x00", "method"=>"sleep", "requestinfo"=>{"requestid"=>"5080666f6b693304c6000002", "retrycount"=>0, "originaddress"=>""}} -2012-10-18 16:28:34.756537 D [1222:70112675340560] SimpleServer -- Sending Header -2012-10-18 16:28:34.756537 D [1222:70112675340560] SimpleServer -- Sending Header -2012-10-18 16:28:34.756807 D [1222:70112675340560] SimpleServer -- Sending Reply -2012-10-18 16:28:34.756807 D [1222:70112675340560] SimpleServer -- Sending Reply -2012-10-18 16:28:34.756827 T [1222:70112675340560] SimpleServer -- Reply -- {"result"=>"sleep"} -2012-10-18 16:28:34.756827 T [1222:70112675340560] SimpleServer -- Reply -- {"result"=>"sleep"} -- {"result"=>"sleep"} -2012-10-18 16:28:34.756995 T [1222:70112673749720] [5080666f6b693304c6000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "5\x00\x00\x00" -2012-10-18 16:28:34.756995 T [1222:70112673749720] [5080666f6b693304c6000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "5\x00\x00\x00" -- "5\x00\x00\x00" -2012-10-18 16:28:34.757010 D [1222:70112673749720] [5080666f6b693304c6000002] (3504.7ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes -2012-10-18 16:28:34.757010 D [1222:70112673749720] [5080666f6b693304c6000002] (3504.7ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes -2012-10-18 16:28:34.757077 T [1222:70112673749720] [5080666f6b693304c6000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "\x02servicemethod\x00\x14\x00\x00\x00TestService.Forward\x00\x10seq\x00\x00\x00\x00\x00\x00" -2012-10-18 16:28:34.757077 T [1222:70112673749720] [5080666f6b693304c6000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "\x02servicemethod\x00\x14\x00\x00\x00TestService.Forward\x00\x10seq\x00\x00\x00\x00\x00\x00" -- "\x02servicemethod\x00\x14\x00\x00\x00TestService.Forward\x00\x10seq\x00\x00\x00\x00\x00\x00" -2012-10-18 16:28:34.757088 D [1222:70112673749720] [5080666f6b693304c6000002] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 49 bytes -2012-10-18 16:28:34.757088 D [1222:70112673749720] [5080666f6b693304c6000002] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 49 bytes -2012-10-18 16:28:34.757128 D [1222:70112673749720] [5080666f6b693304c6000002] RubySkynet::Connection: 127.0.0.1:2000 -- Response Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} -2012-10-18 16:28:34.757128 D [1222:70112673749720] [5080666f6b693304c6000002] RubySkynet::Connection: 127.0.0.1:2000 -- Response Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} -- {"servicemethod"=>"TestService.Forward", "seq"=>0} -2012-10-18 16:28:34.757138 D [1222:70112673749720] [5080666f6b693304c6000002] RubySkynet::Connection: 127.0.0.1:2000 -- Reading response from server -2012-10-18 16:28:34.757138 D [1222:70112673749720] [5080666f6b693304c6000002] RubySkynet::Connection: 127.0.0.1:2000 -- Reading response from server -2012-10-18 16:28:34.757184 T [1222:70112673749720] [5080666f6b693304c6000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "&\x00\x00\x00" -2012-10-18 16:28:34.757184 T [1222:70112673749720] [5080666f6b693304c6000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "&\x00\x00\x00" -- "&\x00\x00\x00" -2012-10-18 16:28:34.757195 D [1222:70112673749720] [5080666f6b693304c6000002] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes -2012-10-18 16:28:34.757195 D [1222:70112673749720] [5080666f6b693304c6000002] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes -2012-10-18 16:28:34.757245 T [1222:70112673749720] [5080666f6b693304c6000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "\x02out\x00\x18\x00\x00\x00\x17\x00\x00\x00\x02result\x00\x06\x00\x00\x00sleep\x00\x00\x00\x00" -2012-10-18 16:28:34.757245 T [1222:70112673749720] [5080666f6b693304c6000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "\x02out\x00\x18\x00\x00\x00\x17\x00\x00\x00\x02result\x00\x06\x00\x00\x00sleep\x00\x00\x00\x00" -- "\x02out\x00\x18\x00\x00\x00\x17\x00\x00\x00\x02result\x00\x06\x00\x00\x00sleep\x00\x00\x00\x00" -2012-10-18 16:28:34.757255 D [1222:70112673749720] [5080666f6b693304c6000002] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 34 bytes -2012-10-18 16:28:34.757255 D [1222:70112673749720] [5080666f6b693304c6000002] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 34 bytes -2012-10-18 16:28:34.757338 T [1222:70112673749720] [5080666f6b693304c6000002] RubySkynet::Connection: 127.0.0.1:2000 -- Response -- {"out"=>"\x17\x00\x00\x00\x02result\x00\x06\x00\x00\x00sleep\x00\x00"} -2012-10-18 16:28:34.757338 T [1222:70112673749720] [5080666f6b693304c6000002] RubySkynet::Connection: 127.0.0.1:2000 -- Response -- {"out"=>"\x17\x00\x00\x00\x02result\x00\x06\x00\x00\x00sleep\x00\x00"} -- {"out"=>"\x17\x00\x00\x00\x02result\x00\x06\x00\x00\x00sleep\x00\x00"} -2012-10-18 16:28:34.757367 T [1222:70112673749720] [5080666f6b693304c6000002] RubySkynet::Connection: 127.0.0.1:2000 -- Return Value -- {"result"=>"sleep"} -2012-10-18 16:28:34.757367 T [1222:70112673749720] [5080666f6b693304c6000002] RubySkynet::Connection: 127.0.0.1:2000 -- Return Value -- {"result"=>"sleep"} -- {"result"=>"sleep"} -2012-10-18 16:28:34.757397 I [1222:70112673749720] [5080666f6b693304c6000002] (3517.4ms) RubySkynet::Client: TestService/1/Test -- Called Skynet Service: TestService.sleep -2012-10-18 16:28:34.757397 I [1222:70112673749720] [5080666f6b693304c6000002] (3517.4ms) RubySkynet::Client: TestService/1/Test -- Called Skynet Service: TestService.sleep -2012-10-18 16:28:34.758769 D [1222:70112673749720] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f88c2241f38>(70112674713500) self=connections=70112674713500 checked_out=70112674713500 with_map= -2012-10-18 16:28:34.758769 D [1222:70112673749720] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f88c2241f38>(70112674713500) self=connections=70112674713500 checked_out=70112674713500 with_map= -2012-10-18 16:28:34.759260 T [1222:70112673749720] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- <"+/services/TestService/1/Test/127.0.0.1/2000H -2012-10-18 16:28:34.759260 T [1222:70112673749720] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- <"+/services/TestService/1/Test/127.0.0.1/2000H -- <"+/services/TestService/1/Test/127.0.0.1/2000H -2012-10-18 16:28:34.761495 T [1222:70112675280740] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x007" -2012-10-18 16:28:34.761495 T [1222:70112675280740] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x007" -- "\x00\x00\x007" -2012-10-18 16:28:34.761510 D [1222:70112675280740] (3523.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:28:34.761510 D [1222:70112675280740] (3523.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:28:34.761581 D [1222:70112673749720] (2.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 64 bytes -2012-10-18 16:28:34.761581 D [1222:70112673749720] (2.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 64 bytes -2012-10-18 16:28:34.762371 T [1222:70112675280740] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\b\x18\xC9\xD2\x03*+/services/TestService/1/Test/127.0.0.1/20002\x00" -2012-10-18 16:28:34.762371 T [1222:70112675280740] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\b\x18\xC9\xD2\x03*+/services/TestService/1/Test/127.0.0.1/20002\x00" -- "\b\x00\x10\b\x18\xC9\xD2\x03*+/services/TestService/1/Test/127.0.0.1/20002\x00" -2012-10-18 16:28:34.762388 D [1222:70112675280740] (0.8ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 55 bytes -2012-10-18 16:28:34.762388 D [1222:70112675280740] (0.8ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 55 bytes -2012-10-18 16:28:34.762534 D [1222:70112675280740] RubySkynet::Registry -- #monitor Service stopped, remove: TestService/1/Test => 127.0.0.1:2000 -2012-10-18 16:28:34.762534 D [1222:70112675280740] RubySkynet::Registry -- #monitor Service stopped, remove: TestService/1/Test => 127.0.0.1:2000 -2012-10-18 16:28:34.762561 I [1222:70112675280740] RubySkynet::Registry -- Calling callback for server: 127.0.0.1:2000 -2012-10-18 16:28:34.762561 I [1222:70112675280740] RubySkynet::Registry -- Calling callback for server: 127.0.0.1:2000 -2012-10-18 16:28:34.762688 D [1222:70112675280740] RubySkynet::Connection -- Connection pool for server:127.0.0.1:2000 has been released -2012-10-18 16:28:34.762688 D [1222:70112675280740] RubySkynet::Connection -- Connection pool for server:127.0.0.1:2000 has been released -2012-10-18 16:28:34.762703 D [1222:70112675280740] RubySkynet::Registry -- Updated registry -- {"TutorialService/1/Development"=>["127.0.0.1:9000"]} -2012-10-18 16:28:34.762703 D [1222:70112675280740] RubySkynet::Registry -- Updated registry -- {"TutorialService/1/Development"=>["127.0.0.1:9000"]} -- {"TutorialService/1/Development"=>["127.0.0.1:9000"]} -2012-10-18 16:28:34.762924 T [1222:70112675280740] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H -2012-10-18 16:28:34.762924 T [1222:70112675280740] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H -- "/services/*/*/*/*/*H -2012-10-18 16:28:34.762996 D [1222:70112675280740] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 33 bytes -2012-10-18 16:28:34.762996 D [1222:70112675280740] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 33 bytes -2012-10-18 16:28:34.771707 T [1222:70112673749720] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x02" -2012-10-18 16:28:34.771707 T [1222:70112673749720] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x02" -- "\x00\x00\x00\x02" -2012-10-18 16:28:34.772426 D [1222:70112673749720] (10.8ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:28:34.772426 D [1222:70112673749720] (10.8ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:28:34.772601 T [1222:70112673749720] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00" -2012-10-18 16:28:34.772601 T [1222:70112673749720] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00" -- "\b\x00" -2012-10-18 16:28:34.772612 D [1222:70112673749720] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 2 bytes -2012-10-18 16:28:34.772612 D [1222:70112673749720] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 2 bytes -2012-10-18 16:28:34.772744 D [1222:70112673749720] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007f88c2241f38>(70112674713500) self=connections=70112674713500 checked_out= with_map= -2012-10-18 16:28:34.772744 D [1222:70112673749720] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007f88c2241f38>(70112674713500) self=connections=70112674713500 checked_out= with_map= -2012-10-18 16:28:34.773700 W [1222:70112673749720] [508066726b693304c6000003] RubySkynet::Registry -- No servers available for service: SomeService with version: * in region: Development -2012-10-18 16:28:34.773700 W [1222:70112673749720] [508066726b693304c6000003] RubySkynet::Registry -- No servers available for service: SomeService with version: * in region: Development -2012-10-18 16:28:34.773867 I [1222:70112673749720] [508066726b693304c6000003] (0.3ms) RubySkynet::Client: SomeService/*/Development -- Called Skynet Service: SomeService.test -- RubySkynet::ServiceUnavailable: No servers available for service: SomeService with version: * in region: Development -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/registry.rb:92:in `server_for' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:66:in `block (2 levels) in call' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.7.0/lib/semantic_logger/base.rb:181:in `benchmark_info' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:62:in `block in call' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.7.0/lib/semantic_logger/base.rb:161:in `with_tags' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:61:in `call' -/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_client_test.rb:23:in `block (4 levels) in <class:RubySkynetClientTest>' +2012-12-05 15:42:48.744120 D [44640:70292530100020] SimpleServer -- Received Request +2012-12-05 15:42:48.744127 T [44640:70292530100020] SimpleServer -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 15:42:48.744221 T [44640:70292530100020] SimpleServer -- Request -- {"clientid"=>"123", "in"=>"\x17\x00\x00\x00\x01duration\x00\x00\x00\x00\x00\x00\x00\f@\x00", "method"=>"sleep", "requestinfo"=>{"requestid"=>"50bfb1c86b6933ae60000002", "retrycount"=>0, "originaddress"=>""}} +2012-12-05 15:42:51.742405 W [44640:70292521310940] [50bfb1c86b6933ae60000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read Timeout waiting for server to reply +2012-12-05 15:42:51.742591 D [44640:70292521310940] [50bfb1c86b6933ae60000002] (2999.5ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes -- ResilientSocket::ReadTimeout: Timedout after 3.0 seconds trying to read from 127.0.0.1:2000 +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:392:in `block in read' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_debug' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:374:in `read' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/common.rb:10:in `read_bson_document' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:178:in `rpc_call' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:65:in `block (3 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/gene_pool-1.3.0/lib/gene_pool.rb:134:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:214:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:64:in `block (2 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_info' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:60:in `block in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:126:in `with_tags' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:59:in `call' +/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_client_test.rb:87:in `block (5 levels) in <class:RubySkynetClientTest>' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:330:in `assert_raises' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/assertions.rb:69:in `assert_raise' -/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_client_test.rb:21:in `block (3 levels) in <class:RubySkynetClientTest>' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.0/lib/shoulda/context/context.rb:398:in `call' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.0/lib/shoulda/context/context.rb:398:in `block in create_test_from_should_hash' -/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:949:in `run' +/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_client_test.rb:85:in `block (4 levels) in <class:RubySkynetClientTest>' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `block in create_test_from_should_hash' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/mocha-0.10.5/lib/mocha/integration/mini_test/version_230_to_262.rb:28:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/testcase.rb:17:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:787:in `block in _run_suite' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `map' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `_run_suite' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:565:in `block in _run_suites' @@ -4714,24 +10194,31 @@ /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:884:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:21:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:326:in `block (2 levels) in autorun' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:27:in `run_once' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:325:in `block in autorun' -2012-10-18 16:28:34.773867 I [1222:70112673749720] [508066726b693304c6000003] (0.3ms) RubySkynet::Client: SomeService/*/Development -- Called Skynet Service: SomeService.test -- RubySkynet::ServiceUnavailable: No servers available for service: SomeService with version: * in region: Development -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/registry.rb:92:in `server_for' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:66:in `block (2 levels) in call' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.7.0/lib/semantic_logger/base.rb:181:in `benchmark_info' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:62:in `block in call' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.7.0/lib/semantic_logger/base.rb:161:in `with_tags' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:61:in `call' -/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_client_test.rb:23:in `block (4 levels) in <class:RubySkynetClientTest>' +2012-12-05 15:42:51.742648 I [44640:70292521310940] [50bfb1c86b6933ae60000002] (3004.1ms) RubySkynet::Client: TestService/1/Test -- Called Skynet Service: TestService.sleep -- ResilientSocket::ReadTimeout: Timedout after 3.0 seconds trying to read from 127.0.0.1:2000 +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:392:in `block in read' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_debug' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:374:in `read' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/common.rb:10:in `read_bson_document' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:178:in `rpc_call' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:65:in `block (3 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/gene_pool-1.3.0/lib/gene_pool.rb:134:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:214:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:64:in `block (2 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_info' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:60:in `block in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:126:in `with_tags' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:59:in `call' +/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_client_test.rb:87:in `block (5 levels) in <class:RubySkynetClientTest>' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:330:in `assert_raises' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/assertions.rb:69:in `assert_raise' -/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_client_test.rb:21:in `block (3 levels) in <class:RubySkynetClientTest>' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.0/lib/shoulda/context/context.rb:398:in `call' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.0/lib/shoulda/context/context.rb:398:in `block in create_test_from_should_hash' -/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:949:in `run' +/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_client_test.rb:85:in `block (4 levels) in <class:RubySkynetClientTest>' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `block in create_test_from_should_hash' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/mocha-0.10.5/lib/mocha/integration/mini_test/version_230_to_262.rb:28:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/testcase.rb:17:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:787:in `block in _run_suite' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `map' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `_run_suite' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:565:in `block in _run_suites' @@ -4744,24 +10231,36 @@ /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:895:in `_run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:884:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:21:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:326:in `block (2 levels) in autorun' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:27:in `run_once' -/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:325:in `block in autorun' -- RubySkynet::ServiceUnavailable: No servers available for service: SomeService with version: * in region: Development +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:325:in `block in autorun' +2012-12-05 15:42:51.746226 D [44640:70292521310940] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fdc8287b9f8>(70292529732860) self=connections=70292529732860 checked_out=70292529732860 with_map= +2012-12-05 15:42:51.746570 T [44640:70292521310940] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- <"+/services/TestService/1/Test/127.0.0.1/2000H +2012-12-05 15:42:51.746669 D [44640:70292521310940] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 64 bytes +2012-12-05 15:42:51.748028 T [44640:70292532046700] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x006" +2012-12-05 15:42:51.748066 D [44640:70292532046700] (3022.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:42:51.748667 T [44640:70292521310940] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 15:42:51.748679 D [44640:70292521310940] (2.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:42:51.750548 T [44640:70292521310940] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00" +2012-12-05 15:42:51.750637 D [44640:70292521310940] (1.9ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 2 bytes +2012-12-05 15:42:51.750757 D [44640:70292521310940] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fdc8287b9f8>(70292529732860) self=connections=70292529732860 checked_out= with_map= +2012-12-05 15:42:51.752703 W [44640:70292521310940] [50bfb1cb6b6933ae60000003] RubySkynet::Registry -- No servers available for service: SomeService with version: * in region: Development +2012-12-05 15:42:51.752824 I [44640:70292521310940] [50bfb1cb6b6933ae60000003] (1.5ms) RubySkynet::Client: SomeService/*/Development -- Called Skynet Service: SomeService.test -- RubySkynet::ServiceUnavailable: No servers available for service: SomeService with version: * in region: Development /Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/registry.rb:92:in `server_for' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:66:in `block (2 levels) in call' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.7.0/lib/semantic_logger/base.rb:181:in `benchmark_info' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:62:in `block in call' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.7.0/lib/semantic_logger/base.rb:161:in `with_tags' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:61:in `call' -/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_client_test.rb:23:in `block (4 levels) in <class:RubySkynetClientTest>' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:64:in `block (2 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_info' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:60:in `block in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:126:in `with_tags' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:59:in `call' +/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_client_test.rb:26:in `block (4 levels) in <class:RubySkynetClientTest>' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:330:in `assert_raises' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/assertions.rb:69:in `assert_raise' -/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_client_test.rb:21:in `block (3 levels) in <class:RubySkynetClientTest>' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.0/lib/shoulda/context/context.rb:398:in `call' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.0/lib/shoulda/context/context.rb:398:in `block in create_test_from_should_hash' -/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:949:in `run' +/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_client_test.rb:24:in `block (3 levels) in <class:RubySkynetClientTest>' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `block in create_test_from_should_hash' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/mocha-0.10.5/lib/mocha/integration/mini_test/version_230_to_262.rb:28:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/testcase.rb:17:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:787:in `block in _run_suite' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `map' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `_run_suite' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:565:in `block in _run_suites' @@ -4775,205 +10274,265 @@ /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:884:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:21:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:326:in `block (2 levels) in autorun' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:27:in `run_once' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:325:in `block in autorun' -2012-10-18 16:32:09.786917 T [1344:70126217157340] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007f8f10959178@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -2012-10-18 16:32:09.786917 T [1344:70126217157340] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007f8f10959178@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007f8f10959178@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -2012-10-18 16:32:09.796848 T [1344:70126217157340] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "/8 -2012-10-18 16:32:09.796848 T [1344:70126217157340] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "/8 -- "/8 -2012-10-18 16:32:09.796921 D [1344:70126217157340] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 13 bytes -2012-10-18 16:32:09.796921 D [1344:70126217157340] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 13 bytes -2012-10-18 16:32:09.797912 T [1344:70126217157340] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\a" -2012-10-18 16:32:09.797912 T [1344:70126217157340] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\a" -- "\x00\x00\x00\a" -2012-10-18 16:32:09.797955 D [1344:70126217157340] (0.9ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:32:09.797955 D [1344:70126217157340] (0.9ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:32:09.800761 T [1344:70126217157340] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00*\x03ctl" -2012-10-18 16:32:09.800761 T [1344:70126217157340] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00*\x03ctl" -- "\b\x00*\x03ctl" -2012-10-18 16:32:09.800816 D [1344:70126217157340] (2.7ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 7 bytes -2012-10-18 16:32:09.800816 D [1344:70126217157340] (2.7ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 7 bytes -2012-10-18 16:32:09.802945 T [1344:70126217157340] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "/8 -2012-10-18 16:32:09.802945 T [1344:70126217157340] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "/8 -- "/8 -2012-10-18 16:32:09.803420 D [1344:70126217157340] (0.5ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 13 bytes -2012-10-18 16:32:09.803420 D [1344:70126217157340] (0.5ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 13 bytes -2012-10-18 16:32:09.803775 T [1344:70126217157340] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\f" -2012-10-18 16:32:09.803775 T [1344:70126217157340] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\f" -- "\x00\x00\x00\f" -2012-10-18 16:32:09.803791 D [1344:70126217157340] (0.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:32:09.803791 D [1344:70126217157340] (0.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:32:09.804114 T [1344:70126217157340] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00*\bservices" -2012-10-18 16:32:09.804114 T [1344:70126217157340] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00*\bservices" -- "\b\x00*\bservices" -2012-10-18 16:32:09.804145 D [1344:70126217157340] (0.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 12 bytes -2012-10-18 16:32:09.804145 D [1344:70126217157340] (0.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 12 bytes -2012-10-18 16:32:09.804377 T [1344:70126217157340] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "/8 -2012-10-18 16:32:09.804377 T [1344:70126217157340] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "/8 -- "/8 -2012-10-18 16:32:09.804798 D [1344:70126217157340] (0.4ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 13 bytes -2012-10-18 16:32:09.804798 D [1344:70126217157340] (0.4ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 13 bytes -2012-10-18 16:32:09.805126 T [1344:70126217157340] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x0E" -2012-10-18 16:32:09.805126 T [1344:70126217157340] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x0E" -- "\x00\x00\x00\x0E" -2012-10-18 16:32:09.805162 D [1344:70126217157340] (0.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:32:09.805162 D [1344:70126217157340] (0.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:32:09.805532 T [1344:70126217157340] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00*\nstatistics" -2012-10-18 16:32:09.805532 T [1344:70126217157340] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00*\nstatistics" -- "\b\x00*\nstatistics" -2012-10-18 16:32:09.805567 D [1344:70126217157340] (0.4ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 14 bytes -2012-10-18 16:32:09.805567 D [1344:70126217157340] (0.4ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 14 bytes -2012-10-18 16:32:09.805898 T [1344:70126217157340] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "/8 -2012-10-18 16:32:09.805898 T [1344:70126217157340] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "/8 -- "/8 -2012-10-18 16:32:09.806484 D [1344:70126217157340] (0.6ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 13 bytes -2012-10-18 16:32:09.806484 D [1344:70126217157340] (0.6ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 13 bytes -2012-10-18 16:32:09.806713 T [1344:70126217157340] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x05" -2012-10-18 16:32:09.806713 T [1344:70126217157340] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x05" -- "\x00\x00\x00\x05" -2012-10-18 16:32:09.806753 D [1344:70126217157340] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:32:09.806753 D [1344:70126217157340] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:32:09.807084 T [1344:70126217157340] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\xA0\x06\b" -2012-10-18 16:32:09.807084 T [1344:70126217157340] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\xA0\x06\b" -- "\b\x00\xA0\x06\b" -2012-10-18 16:32:09.807127 D [1344:70126217157340] (0.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 5 bytes -2012-10-18 16:32:09.807127 D [1344:70126217157340] (0.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 5 bytes -2012-10-18 16:32:09.808807 T [1344:70126217157340] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/fooH -2012-10-18 16:32:09.808807 T [1344:70126217157340] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/fooH -- " /test/fooH -2012-10-18 16:32:09.809022 D [1344:70126217157340] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 30 bytes -2012-10-18 16:32:09.809022 D [1344:70126217157340] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 30 bytes -2012-10-18 16:32:09.827426 T [1344:70126217157340] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x02" -2012-10-18 16:32:09.827426 T [1344:70126217157340] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x02" -- "\x00\x00\x00\x02" -2012-10-18 16:32:09.828191 D [1344:70126217157340] (19.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:32:09.828191 D [1344:70126217157340] (19.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:32:09.828718 T [1344:70126217157340] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00" -2012-10-18 16:32:09.828718 T [1344:70126217157340] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00" -- "\b\x00" -2012-10-18 16:32:09.828749 D [1344:70126217157340] (0.4ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 2 bytes -2012-10-18 16:32:09.828749 D [1344:70126217157340] (0.4ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 2 bytes -2012-10-18 16:32:09.829429 T [1344:70126217157340] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007f8f109bda88@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -2012-10-18 16:32:09.829429 T [1344:70126217157340] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007f8f109bda88@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007f8f109bda88@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -2012-10-18 16:32:09.830999 T [1344:70126217157340] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending --  -2012-10-18 16:32:09.830999 T [1344:70126217157340] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending --  --  -2012-10-18 16:32:09.831440 D [1344:70126217157340] (0.4ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 8 bytes -2012-10-18 16:32:09.831440 D [1344:70126217157340] (0.4ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 8 bytes -2012-10-18 16:32:09.831677 T [1344:70126217157340] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x06" -2012-10-18 16:32:09.831677 T [1344:70126217157340] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x06" -- "\x00\x00\x00\x06" -2012-10-18 16:32:09.831706 D [1344:70126217157340] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:32:09.831706 D [1344:70126217157340] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:32:09.832012 T [1344:70126217157340] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xCC\xD4\x03" -2012-10-18 16:32:09.832012 T [1344:70126217157340] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xCC\xD4\x03" -- "\b\x00\x18\xCC\xD4\x03" -2012-10-18 16:32:09.832078 D [1344:70126217157340] (0.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 6 bytes -2012-10-18 16:32:09.832078 D [1344:70126217157340] (0.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 6 bytes -2012-10-18 16:32:09.833414 T [1344:70126217157340] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/fooH -2012-10-18 16:32:09.833414 T [1344:70126217157340] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/fooH -- " /test/fooH -2012-10-18 16:32:09.843064 D [1344:70126217157340] (9.6ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 30 bytes -2012-10-18 16:32:09.843064 D [1344:70126217157340] (9.6ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 30 bytes -2012-10-18 16:32:09.844464 T [1344:70126217157340] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x02" -2012-10-18 16:32:09.844464 T [1344:70126217157340] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x02" -- "\x00\x00\x00\x02" -2012-10-18 16:32:09.844558 D [1344:70126217157340] (1.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:32:09.844558 D [1344:70126217157340] (1.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:32:09.844899 T [1344:70126217157340] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00" -2012-10-18 16:32:09.844899 T [1344:70126217157340] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00" -- "\b\x00" -2012-10-18 16:32:09.844940 D [1344:70126217157340] (0.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 2 bytes -2012-10-18 16:32:09.844940 D [1344:70126217157340] (0.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 2 bytes -2012-10-18 16:32:09.845734 T [1344:70126217157340] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007f8f10a08bf0@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -2012-10-18 16:32:09.845734 T [1344:70126217157340] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007f8f10a08bf0@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007f8f10a08bf0@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -2012-10-18 16:32:09.848941 T [1344:70126217157340] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "" /test/foo*value2H -2012-10-18 16:32:09.848941 T [1344:70126217157340] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "" /test/foo*value2H -- "" /test/foo*value2H -2012-10-18 16:32:09.849518 D [1344:70126217157340] (0.5ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 38 bytes -2012-10-18 16:32:09.849518 D [1344:70126217157340] (0.5ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 38 bytes -2012-10-18 16:32:09.854145 T [1344:70126217157340] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x06" -2012-10-18 16:32:09.854145 T [1344:70126217157340] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x06" -- "\x00\x00\x00\x06" -2012-10-18 16:32:09.854209 D [1344:70126217157340] (4.6ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:32:09.854209 D [1344:70126217157340] (4.6ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:32:09.854607 T [1344:70126217157340] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xCE\xD4\x03" -2012-10-18 16:32:09.854607 T [1344:70126217157340] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xCE\xD4\x03" -- "\b\x00\x18\xCE\xD4\x03" -2012-10-18 16:32:09.854647 D [1344:70126217157340] (0.4ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 6 bytes -2012-10-18 16:32:09.854647 D [1344:70126217157340] (0.4ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 6 bytes -2012-10-18 16:32:09.854948 T [1344:70126217157340] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/foo -2012-10-18 16:32:09.854948 T [1344:70126217157340] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/foo -- " /test/foo -2012-10-18 16:32:09.855548 D [1344:70126217157340] (0.6ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 19 bytes -2012-10-18 16:32:09.855548 D [1344:70126217157340] (0.6ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 19 bytes -2012-10-18 16:32:09.855781 T [1344:70126217157340] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x0E" -2012-10-18 16:32:09.855781 T [1344:70126217157340] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x0E" -- "\x00\x00\x00\x0E" -2012-10-18 16:32:09.855821 D [1344:70126217157340] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:32:09.855821 D [1344:70126217157340] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:32:09.856152 T [1344:70126217157340] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xCE\xD4\x032\x06value2" -2012-10-18 16:32:09.856152 T [1344:70126217157340] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xCE\xD4\x032\x06value2" -- "\b\x00\x18\xCE\xD4\x032\x06value2" -2012-10-18 16:32:09.856191 D [1344:70126217157340] (0.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 14 bytes -2012-10-18 16:32:09.856191 D [1344:70126217157340] (0.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 14 bytes -2012-10-18 16:32:09.868867 T [1344:70126217157340] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/fooH -2012-10-18 16:32:09.868867 T [1344:70126217157340] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/fooH -- " /test/fooH -2012-10-18 16:32:09.868929 D [1344:70126217157340] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 30 bytes -2012-10-18 16:32:09.868929 D [1344:70126217157340] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 30 bytes -2012-10-18 16:32:09.876382 T [1344:70126217157340] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x02" -2012-10-18 16:32:09.876382 T [1344:70126217157340] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x02" -- "\x00\x00\x00\x02" -2012-10-18 16:32:09.876459 D [1344:70126217157340] (7.5ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:32:09.876459 D [1344:70126217157340] (7.5ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:32:09.876874 T [1344:70126217157340] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00" -2012-10-18 16:32:09.876874 T [1344:70126217157340] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00" -- "\b\x00" -2012-10-18 16:32:09.876915 D [1344:70126217157340] (0.4ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 2 bytes -2012-10-18 16:32:09.876915 D [1344:70126217157340] (0.4ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 2 bytes -2012-10-18 16:32:09.877394 T [1344:70126217157340] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007f8f1084a020@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -2012-10-18 16:32:09.877394 T [1344:70126217157340] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007f8f1084a020@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007f8f1084a020@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -2012-10-18 16:32:09.878943 T [1344:70126217157340] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- !" /test/foo*valueH -2012-10-18 16:32:09.878943 T [1344:70126217157340] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- !" /test/foo*valueH -- !" /test/foo*valueH -2012-10-18 16:32:09.880449 D [1344:70126217157340] (1.5ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 37 bytes -2012-10-18 16:32:09.880449 D [1344:70126217157340] (1.5ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 37 bytes -2012-10-18 16:32:09.880698 T [1344:70126217157340] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x06" -2012-10-18 16:32:09.880698 T [1344:70126217157340] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x06" -- "\x00\x00\x00\x06" -2012-10-18 16:32:09.880739 D [1344:70126217157340] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:32:09.880739 D [1344:70126217157340] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:32:09.881087 T [1344:70126217157340] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xD0\xD4\x03" -2012-10-18 16:32:09.881087 T [1344:70126217157340] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xD0\xD4\x03" -- "\b\x00\x18\xD0\xD4\x03" -2012-10-18 16:32:09.881128 D [1344:70126217157340] (0.4ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 6 bytes -2012-10-18 16:32:09.881128 D [1344:70126217157340] (0.4ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 6 bytes -2012-10-18 16:32:09.881372 T [1344:70126217157340] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/foo -2012-10-18 16:32:09.881372 T [1344:70126217157340] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/foo -- " /test/foo -2012-10-18 16:32:09.882295 D [1344:70126217157340] (0.9ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 19 bytes -2012-10-18 16:32:09.882295 D [1344:70126217157340] (0.9ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 19 bytes -2012-10-18 16:32:09.882523 T [1344:70126217157340] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\r" -2012-10-18 16:32:09.882523 T [1344:70126217157340] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\r" -- "\x00\x00\x00\r" -2012-10-18 16:32:09.882563 D [1344:70126217157340] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:32:09.882563 D [1344:70126217157340] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:32:09.882873 T [1344:70126217157340] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xD0\xD4\x032\x05value" -2012-10-18 16:32:09.882873 T [1344:70126217157340] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xD0\xD4\x032\x05value" -- "\b\x00\x18\xD0\xD4\x032\x05value" -2012-10-18 16:32:09.882913 D [1344:70126217157340] (0.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 13 bytes -2012-10-18 16:32:09.882913 D [1344:70126217157340] (0.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 13 bytes -2012-10-18 16:32:09.884305 T [1344:70126217157340] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/fooH -2012-10-18 16:32:09.884305 T [1344:70126217157340] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/fooH -- " /test/fooH -2012-10-18 16:32:09.886105 D [1344:70126217157340] (1.7ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 30 bytes -2012-10-18 16:32:09.886105 D [1344:70126217157340] (1.7ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 30 bytes -2012-10-18 16:32:09.894977 T [1344:70126217157340] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x02" -2012-10-18 16:32:09.894977 T [1344:70126217157340] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x02" -- "\x00\x00\x00\x02" -2012-10-18 16:32:09.895036 D [1344:70126217157340] (0.6ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:32:09.895036 D [1344:70126217157340] (0.6ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:32:09.895554 T [1344:70126217157340] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00" -2012-10-18 16:32:09.895554 T [1344:70126217157340] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00" -- "\b\x00" -2012-10-18 16:32:09.895700 D [1344:70126217157340] (0.4ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 2 bytes -2012-10-18 16:32:09.895700 D [1344:70126217157340] (0.4ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 2 bytes -2012-10-18 16:32:09.896219 T [1344:70126217157340] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:9999", :connect_retry_interval=>0.1, :connect_retry_count=>5, :read_timeout=>5, :connect_timeout=>3, :buffered=>false, :on_connect=>#<Proc:0x007f8f111053b8@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -2012-10-18 16:32:09.896219 T [1344:70126217157340] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:9999", :connect_retry_interval=>0.1, :connect_retry_count=>5, :read_timeout=>5, :connect_timeout=>3, :buffered=>false, :on_connect=>#<Proc:0x007f8f111053b8@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -- {:server=>"localhost:9999", :connect_retry_interval=>0.1, :connect_retry_count=>5, :read_timeout=>5, :connect_timeout=>3, :buffered=>false, :on_connect=>#<Proc:0x007f8f111053b8@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -2012-10-18 16:32:09.897256 W [1344:70126217157340] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 1 -2012-10-18 16:32:09.897256 W [1344:70126217157340] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 1 -2012-10-18 16:32:09.998569 W [1344:70126217157340] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 2 -2012-10-18 16:32:09.998569 W [1344:70126217157340] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 2 -2012-10-18 16:32:10.100166 W [1344:70126217157340] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 3 -2012-10-18 16:32:10.100166 W [1344:70126217157340] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 3 -2012-10-18 16:32:10.201816 W [1344:70126217157340] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 4 -2012-10-18 16:32:10.201816 W [1344:70126217157340] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 4 -2012-10-18 16:32:10.303302 W [1344:70126217157340] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 5 -2012-10-18 16:32:10.303302 W [1344:70126217157340] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 5 -2012-10-18 16:32:10.404807 E [1344:70126217157340] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Giving up after 5 retries -2012-10-18 16:32:10.404807 E [1344:70126217157340] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Giving up after 5 retries -2012-10-18 16:32:10.404911 I [1344:70126217157340] (508.6ms) ResilientSocket::TCPClient ["localhost:9999"] -- Connecting to server localhost:9999 -- ResilientSocket::ConnectionFailure: After 5 connection attempts to host 'localhost:9999': Errno::ECONNREFUSED: Connection refused - connect(2) -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:570:in `rescue in block in connect_to_server' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:548:in `block in connect_to_server' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.7.0/lib/semantic_logger/base.rb:181:in `benchmark_info' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:541:in `connect_to_server' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:304:in `connect' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:232:in `initialize' +2012-12-05 15:42:51.756054 T [44640:70292532046700] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\b\x18\xC9\x1C*+/services/TestService/1/Test/127.0.0.1/20002\x00" +2012-12-05 15:42:51.756071 D [44640:70292532046700] (8.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 54 bytes +2012-12-05 15:42:51.756576 D [44640:70292532046700] RubySkynet::Registry -- #monitor Service stopped, remove: TestService/1/Test => 127.0.0.1:2000 +2012-12-05 15:42:51.756602 I [44640:70292532046700] RubySkynet::Registry -- Calling callback for server: 127.0.0.1:2000 +2012-12-05 15:42:51.756671 D [44640:70292532046700] RubySkynet::Connection -- Connection pool for server:127.0.0.1:2000 has been released +2012-12-05 15:42:51.756781 D [44640:70292532046700] RubySkynet::Registry -- Updated registry -- {} +2012-12-05 15:42:51.757207 T [44640:70292532046700] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-05 15:42:51.757305 D [44640:70292532046700] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 15:42:51.758492 D [44640:70292530105340] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fdc8287b9f8>(70292529732860) self=connections=70292529732860 checked_out=70292529732860 with_map= +2012-12-05 15:42:51.758817 T [44640:70292530105340] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "+/services/TestService/1/Test/localhost/2100*{"Config":{"UUID":"localhost:2100-44640-TestService-70292531905620","Name":"TestService","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"localhost","Port":2100,"MaxPort":3099}},"Registered":true}H +2012-12-05 15:42:51.758897 D [44640:70292530105340] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 272 bytes +2012-12-05 15:42:51.763111 T [44640:70292532046700] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01\x04" +2012-12-05 15:42:51.763131 D [44640:70292532046700] (5.8ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:42:51.764940 T [44640:70292532046700] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xCA\x1C*+/services/TestService/1/Test/localhost/21002\xCD\x01{\"Config\":{\"UUID\":\"localhost:2100-44640-TestService-70292531905620\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-05 15:42:51.764955 D [44640:70292532046700] (1.8ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 260 bytes +2012-12-05 15:42:51.765171 D [44640:70292532046700] RubySkynet::Registry -- #monitor Add/Update Service: TestService/1/Test => localhost:2100 +2012-12-05 15:42:51.765184 D [44640:70292532046700] RubySkynet::Registry -- Updated registry -- {"TestService/1/Test"=>["localhost:2100"]} +2012-12-05 15:42:51.765411 T [44640:70292532046700] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-05 15:42:51.765487 D [44640:70292532046700] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 15:42:51.766856 T [44640:70292530105340] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 15:42:51.766869 D [44640:70292530105340] (8.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:42:51.766935 T [44640:70292530105340] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xCA\x1C" +2012-12-05 15:42:51.766941 D [44640:70292530105340] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 15:42:51.767025 D [44640:70292530105340] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fdc8287b9f8>(70292529732860) self=connections=70292529732860 checked_out= with_map= +2012-12-05 15:42:51.767469 I [44640:70292530105340] RubySkynet::Server -- Starting listener on localhost:2100 +2012-12-05 15:42:51.767488 D [44640:70292530105340] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 15:42:51.772578 D [44640:70292521310940] [50bfb1cb6b6933ae60000004] RubySkynet::Connection: localhost:2100 -- Waiting for Service Handshake +2012-12-05 15:42:51.773440 D [44640:70292530105340] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 15:42:51.773553 D [44640:70292530105340] RubySkynet::Server -- Client connected, waiting for data from client +2012-12-05 15:42:51.774127 T [44640:70292521310940] [50bfb1cb6b6933ae60000004] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "9\x00\x00\x00" +2012-12-05 15:42:51.774144 D [44640:70292521310940] [50bfb1cb6b6933ae60000004] (1.5ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 4 bytes +2012-12-05 15:42:51.774201 T [44640:70292521310940] [50bfb1cb6b6933ae60000004] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "\bregistered\x00\x01\x02clientid\x00\x19\x00\x00\x0050bfb1cb6b6933ae60000005\x00\x00" +2012-12-05 15:42:51.774207 D [44640:70292521310940] [50bfb1cb6b6933ae60000004] (0.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 53 bytes +2012-12-05 15:42:51.774255 T [44640:70292521310940] [50bfb1cb6b6933ae60000004] RubySkynet::Connection: localhost:2100 -- Service Handshake -- {"registered"=>true, "clientid"=>"50bfb1cb6b6933ae60000005"} +2012-12-05 15:42:51.774268 D [44640:70292521310940] [50bfb1cb6b6933ae60000004] RubySkynet::Connection: localhost:2100 -- Sending Client Handshake +2012-12-05 15:42:51.774273 T [44640:70292521310940] [50bfb1cb6b6933ae60000004] RubySkynet::Connection: localhost:2100 -- Client Handshake -- {"clientid"=>"50bfb1cb6b6933ae60000005"} +2012-12-05 15:42:51.774290 T [44640:70292521310940] [50bfb1cb6b6933ae60000004] ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sending -- ,clientid50bfb1cb6b6933ae60000005 +2012-12-05 15:42:51.774333 D [44640:70292521310940] [50bfb1cb6b6933ae60000004] (0.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sent 44 bytes +2012-12-05 15:42:51.774402 D [44640:70292521310940] [50bfb1cb6b6933ae60000004] RubySkynet::Connection: localhost:2100 -- Sending Header +2012-12-05 15:42:51.774412 T [44640:70292521310940] [50bfb1cb6b6933ae60000004] RubySkynet::Connection: localhost:2100 -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 15:42:51.774432 T [44640:70292521310940] [50bfb1cb6b6933ae60000004] ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sending -- 5servicemethodTestService.Forwardseq +2012-12-05 15:42:51.774475 D [44640:70292521310940] [50bfb1cb6b6933ae60000004] (0.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sent 53 bytes +2012-12-05 15:42:51.774515 D [44640:70292521310940] [50bfb1cb6b6933ae60000004] RubySkynet::Connection: localhost:2100 -- Sending Request +2012-12-05 15:42:51.774522 T [44640:70292521310940] [50bfb1cb6b6933ae60000004] RubySkynet::Connection: localhost:2100 -- Request -- {"clientid"=>"50bfb1cb6b6933ae60000005", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"echo", "requestinfo"=>{"requestid"=>"50bfb1cb6b6933ae60000004", "retrycount"=>0, "originaddress"=>""}} +2012-12-05 15:42:51.774528 T [44640:70292521310940] [50bfb1cb6b6933ae60000004] RubySkynet::Connection: localhost:2100 -- Parameters: -- {"some"=>"parameters"} +2012-12-05 15:42:51.774544 T [44640:70292521310940] [50bfb1cb6b6933ae60000004] ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sending -- clientid50bfb1cb6b6933ae60000005insome parametersmethodechorequestinfoQrequestid50bfb1cb6b6933ae60000004retrycountoriginaddress +2012-12-05 15:42:51.774584 D [44640:70292521310940] [50bfb1cb6b6933ae60000004] (0.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sent 190 bytes +2012-12-05 15:42:51.774597 D [44640:70292521310940] [50bfb1cb6b6933ae60000004] RubySkynet::Connection: localhost:2100 -- Reading header from server +2012-12-05 15:42:51.778715 D [44640:70292530105340] RubySkynet::Server -- +****************** +2012-12-05 15:42:51.778737 D [44640:70292530105340] RubySkynet::Server -- Received Request +2012-12-05 15:42:51.778749 T [44640:70292530105340] RubySkynet::Server -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 15:42:51.778900 T [44640:70292530105340] RubySkynet::Server -- Request -- {"clientid"=>"50bfb1cb6b6933ae60000005", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"echo", "requestinfo"=>{"requestid"=>"50bfb1cb6b6933ae60000004", "retrycount"=>0, "originaddress"=>""}} +2012-12-05 15:42:51.778923 T [44640:70292530105340] RubySkynet::Server -- Parameters -- {"some"=>"parameters"} +2012-12-05 15:42:51.778945 T [44640:70292530105340] RubySkynet::Server -- Method Call: echo with parameters: -- {"some"=>"parameters"} +2012-12-05 15:42:51.778957 D [44640:70292530105340] (0.0ms) RubySkynet::Server -- Called: TestService#echo +2012-12-05 15:42:51.778977 D [44640:70292530105340] RubySkynet::Server -- Sending Header +2012-12-05 15:42:51.779182 D [44640:70292530105340] RubySkynet::Server -- Sending Reply +2012-12-05 15:42:51.779194 T [44640:70292530105340] RubySkynet::Server -- Reply -- {"some"=>"parameters"} +2012-12-05 15:42:51.780557 T [44640:70292521310940] [50bfb1cb6b6933ae60000004] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "5\x00\x00\x00" +2012-12-05 15:42:51.780572 D [44640:70292521310940] [50bfb1cb6b6933ae60000004] (6.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 4 bytes +2012-12-05 15:42:51.780944 T [44640:70292521310940] [50bfb1cb6b6933ae60000004] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "\x02servicemethod\x00\x14\x00\x00\x00TestService.Forward\x00\x10seq\x00\x00\x00\x00\x00\x00" +2012-12-05 15:42:51.781005 D [44640:70292521310940] [50bfb1cb6b6933ae60000004] (0.4ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 49 bytes +2012-12-05 15:42:51.781059 D [44640:70292521310940] [50bfb1cb6b6933ae60000004] RubySkynet::Connection: localhost:2100 -- Response Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 15:42:51.781158 D [44640:70292521310940] [50bfb1cb6b6933ae60000004] RubySkynet::Connection: localhost:2100 -- Reading response from server +2012-12-05 15:42:51.781228 T [44640:70292521310940] [50bfb1cb6b6933ae60000004] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- ")\x00\x00\x00" +2012-12-05 15:42:51.781234 D [44640:70292521310940] [50bfb1cb6b6933ae60000004] (0.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 4 bytes +2012-12-05 15:42:51.781904 T [44640:70292521310940] [50bfb1cb6b6933ae60000004] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "\x02out\x00\e\x00\x00\x00\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00\x00\x00" +2012-12-05 15:42:51.781911 D [44640:70292521310940] [50bfb1cb6b6933ae60000004] (0.7ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 37 bytes +2012-12-05 15:42:51.781972 T [44640:70292521310940] [50bfb1cb6b6933ae60000004] RubySkynet::Connection: localhost:2100 -- Response -- {"out"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00"} +2012-12-05 15:42:51.782001 T [44640:70292521310940] [50bfb1cb6b6933ae60000004] RubySkynet::Connection: localhost:2100 -- Return Value -- {"some"=>"parameters"} +2012-12-05 15:42:51.782025 I [44640:70292521310940] [50bfb1cb6b6933ae60000004] (14.2ms) RubySkynet::Client: TestService/1/Test -- Called Skynet Service: TestService.echo +2012-12-05 15:42:51.782704 I [44640:70292530105340] RubySkynet::Server -- Skynet Server Stopped +2012-12-05 15:42:51.782780 D [44640:70292530105340] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fdc8287b9f8>(70292529732860) self=connections=70292529732860 checked_out=70292529732860 with_map= +2012-12-05 15:42:51.783115 T [44640:70292530105340] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- <"+/services/TestService/1/Test/localhost/2100H +2012-12-05 15:42:51.783525 D [44640:70292530105340] (0.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 64 bytes +2012-12-05 15:42:51.785940 T [44640:70292532046700] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x006" +2012-12-05 15:42:51.785954 D [44640:70292532046700] (20.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:42:51.786555 T [44640:70292532046700] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\b\x18\xCB\x1C*+/services/TestService/1/Test/localhost/21002\x00" +2012-12-05 15:42:51.786566 D [44640:70292532046700] (0.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 54 bytes +2012-12-05 15:42:51.786699 D [44640:70292532046700] RubySkynet::Registry -- #monitor Service stopped, remove: TestService/1/Test => localhost:2100 +2012-12-05 15:42:51.786722 I [44640:70292532046700] RubySkynet::Registry -- Calling callback for server: localhost:2100 +2012-12-05 15:42:51.786835 D [44640:70292532046700] RubySkynet::Connection -- Connection pool for server:localhost:2100 has been released +2012-12-05 15:42:51.786848 D [44640:70292532046700] RubySkynet::Registry -- Updated registry -- {} +2012-12-05 15:42:51.787056 T [44640:70292532046700] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-05 15:42:51.787488 D [44640:70292532046700] (0.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 15:42:51.794004 T [44640:70292530105340] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 15:42:51.794019 D [44640:70292530105340] (10.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:42:51.794104 T [44640:70292530105340] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00" +2012-12-05 15:42:51.794110 D [44640:70292530105340] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 2 bytes +2012-12-05 15:42:51.794193 D [44640:70292530105340] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fdc8287b9f8>(70292529732860) self=connections=70292529732860 checked_out= with_map= +2012-12-05 15:42:51.794212 I [44640:70292530105340] RubySkynet::Server -- Skynet Services De-registered in Doozer +2012-12-05 15:42:51.802052 D [44640:70292530071300] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fdc8287b9f8>(70292529732860) self=connections=70292529732860 checked_out=70292529732860 with_map= +2012-12-05 15:42:51.803078 T [44640:70292530071300] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "+/services/TestService/1/Test/localhost/2100*{"Config":{"UUID":"localhost:2100-44640-TestService-70292531905620","Name":"TestService","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"localhost","Port":2100,"MaxPort":3099}},"Registered":true}H +2012-12-05 15:42:51.803150 D [44640:70292530071300] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 272 bytes +2012-12-05 15:42:51.805053 T [44640:70292532046700] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01\x04" +2012-12-05 15:42:51.805066 D [44640:70292532046700] (17.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:42:51.805152 T [44640:70292530071300] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 15:42:51.805158 D [44640:70292530071300] (2.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:42:51.805756 T [44640:70292530071300] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xCC\x1C" +2012-12-05 15:42:51.805763 D [44640:70292530071300] (0.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 15:42:51.805885 D [44640:70292530071300] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fdc8287b9f8>(70292529732860) self=connections=70292529732860 checked_out= with_map= +2012-12-05 15:42:51.805964 T [44640:70292532046700] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xCC\x1C*+/services/TestService/1/Test/localhost/21002\xCD\x01{\"Config\":{\"UUID\":\"localhost:2100-44640-TestService-70292531905620\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-05 15:42:51.805971 D [44640:70292532046700] (0.9ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 260 bytes +2012-12-05 15:42:51.806138 D [44640:70292532046700] RubySkynet::Registry -- #monitor Add/Update Service: TestService/1/Test => localhost:2100 +2012-12-05 15:42:51.806151 D [44640:70292532046700] RubySkynet::Registry -- Updated registry -- {"TestService/1/Test"=>["localhost:2100"]} +2012-12-05 15:42:51.807079 T [44640:70292532046700] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-05 15:42:51.807148 D [44640:70292532046700] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 15:42:51.807763 I [44640:70292530071300] RubySkynet::Server -- Starting listener on localhost:2100 +2012-12-05 15:42:51.807779 D [44640:70292530071300] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 15:42:51.809773 I [44640:70292530071300] RubySkynet::Server -- Skynet Server Stopped +2012-12-05 15:42:51.809887 D [44640:70292530071300] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fdc8287b9f8>(70292529732860) self=connections=70292529732860 checked_out=70292529732860 with_map= +2012-12-05 15:42:51.810205 T [44640:70292530071300] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- <"+/services/TestService/1/Test/localhost/2100H +2012-12-05 15:42:51.810714 D [44640:70292530071300] (0.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 64 bytes +2012-12-05 15:42:51.815544 T [44640:70292532046700] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x006" +2012-12-05 15:42:51.815571 D [44640:70292532046700] (8.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:42:51.816700 T [44640:70292532046700] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\b\x18\xCD\x1C*+/services/TestService/1/Test/localhost/21002\x00" +2012-12-05 15:42:51.816713 D [44640:70292532046700] (0.9ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 54 bytes +2012-12-05 15:42:51.817888 D [44640:70292532046700] RubySkynet::Registry -- #monitor Service stopped, remove: TestService/1/Test => localhost:2100 +2012-12-05 15:42:51.817912 D [44640:70292532046700] RubySkynet::Registry -- Updated registry -- {} +2012-12-05 15:42:51.818155 T [44640:70292532046700] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-05 15:42:51.819707 D [44640:70292532046700] (1.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 15:42:51.820897 T [44640:70292530071300] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 15:42:51.820908 D [44640:70292530071300] (10.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:42:51.820990 T [44640:70292530071300] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00" +2012-12-05 15:42:51.820996 D [44640:70292530071300] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 2 bytes +2012-12-05 15:42:51.821081 D [44640:70292530071300] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fdc8287b9f8>(70292529732860) self=connections=70292529732860 checked_out= with_map= +2012-12-05 15:42:51.821100 I [44640:70292530071300] RubySkynet::Server -- Skynet Services De-registered in Doozer +2012-12-05 15:42:51.823507 D [44640:70292530078260] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fdc8287b9f8>(70292529732860) self=connections=70292529732860 checked_out=70292529732860 with_map= +2012-12-05 15:42:51.823931 T [44640:70292530078260] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "+/services/TestService/1/Test/localhost/2100*{"Config":{"UUID":"localhost:2100-44640-TestService-70292531905620","Name":"TestService","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"localhost","Port":2100,"MaxPort":3099}},"Registered":true}H +2012-12-05 15:42:51.824153 D [44640:70292530078260] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 272 bytes +2012-12-05 15:42:51.829019 T [44640:70292532046700] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01\x04" +2012-12-05 15:42:51.829040 D [44640:70292532046700] (8.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:42:51.829154 T [44640:70292530078260] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 15:42:51.829160 D [44640:70292530078260] (4.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:42:51.830925 T [44640:70292530078260] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xCE\x1C" +2012-12-05 15:42:51.830943 D [44640:70292530078260] (1.8ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 15:42:51.831083 D [44640:70292530078260] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fdc8287b9f8>(70292529732860) self=connections=70292529732860 checked_out= with_map= +2012-12-05 15:42:51.831483 T [44640:70292532046700] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xCE\x1C*+/services/TestService/1/Test/localhost/21002\xCD\x01{\"Config\":{\"UUID\":\"localhost:2100-44640-TestService-70292531905620\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-05 15:42:51.831490 D [44640:70292532046700] (2.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 260 bytes +2012-12-05 15:42:51.831727 D [44640:70292532046700] RubySkynet::Registry -- #monitor Add/Update Service: TestService/1/Test => localhost:2100 +2012-12-05 15:42:51.831740 D [44640:70292532046700] RubySkynet::Registry -- Updated registry -- {"TestService/1/Test"=>["localhost:2100"]} +2012-12-05 15:42:51.831980 T [44640:70292532046700] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-05 15:42:51.832060 D [44640:70292532046700] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 15:42:51.834328 I [44640:70292530078260] RubySkynet::Server -- Starting listener on localhost:2100 +2012-12-05 15:42:51.834352 D [44640:70292530078260] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 15:42:51.834652 D [44640:70292521310940] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fdc8287b9f8>(70292529732860) self=connections=70292529732860 checked_out=70292529732860 with_map= +2012-12-05 15:42:51.834958 T [44640:70292521310940] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- 1"+/services/TestService/1/Test/localhost/2100 +2012-12-05 15:42:51.835066 D [44640:70292521310940] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 53 bytes +2012-12-05 15:42:51.838747 T [44640:70292521310940] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\xD5" +2012-12-05 15:42:51.838762 D [44640:70292521310940] (3.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:42:51.839219 T [44640:70292521310940] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xCE\x1C2\xCD\x01{\"Config\":{\"UUID\":\"localhost:2100-44640-TestService-70292531905620\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-05 15:42:51.839227 D [44640:70292521310940] (0.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 213 bytes +2012-12-05 15:42:51.839426 D [44640:70292521310940] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fdc8287b9f8>(70292529732860) self=connections=70292529732860 checked_out= with_map= +2012-12-05 15:42:51.839874 I [44640:70292530078260] RubySkynet::Server -- Skynet Server Stopped +2012-12-05 15:42:51.839948 D [44640:70292530078260] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fdc8287b9f8>(70292529732860) self=connections=70292529732860 checked_out=70292529732860 with_map= +2012-12-05 15:42:51.840243 T [44640:70292530078260] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- <"+/services/TestService/1/Test/localhost/2100H +2012-12-05 15:42:51.840471 D [44640:70292530078260] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 64 bytes +2012-12-05 15:43:01.554137 D [44644:70317431282400] RubySkynet::Server -- Registering Service: TestService with name: TestService +2012-12-05 15:43:01.556577 I [44644:70317431282400] Celluloid -- Terminating 4 actors... +2012-12-05 15:43:01.557671 I [44644:70317431282400] Celluloid -- Shutdown completed cleanly +2012-12-05 15:43:01.559981 T [44644:70317431282400] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007fe81b36cb48@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 15:43:01.566822 T [44644:70317431282400] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "/8 +2012-12-05 15:43:01.567152 D [44644:70317431282400] (0.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 13 bytes +2012-12-05 15:43:01.567218 T [44644:70317431282400] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\a" +2012-12-05 15:43:01.567225 D [44644:70317431282400] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 15:43:01.567715 T [44644:70317431282400] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00*\x03ctl" +2012-12-05 15:43:01.567730 D [44644:70317431282400] (0.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 7 bytes +2012-12-05 15:43:01.568087 T [44644:70317431282400] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "/8 +2012-12-05 15:43:01.568130 D [44644:70317431282400] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 13 bytes +2012-12-05 15:43:01.568413 T [44644:70317431282400] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 15:43:01.568451 D [44644:70317431282400] (0.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 15:43:01.568806 T [44644:70317431282400] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\xA0\x06\b" +2012-12-05 15:43:01.568835 D [44644:70317431282400] (0.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 5 bytes +2012-12-05 15:43:01.570335 T [44644:70317431282400] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/fooH +2012-12-05 15:43:01.572344 D [44644:70317431282400] (2.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 30 bytes +2012-12-05 15:43:01.574497 T [44644:70317431282400] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 15:43:01.574532 D [44644:70317431282400] (2.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 15:43:01.575073 T [44644:70317431282400] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00" +2012-12-05 15:43:01.575101 D [44644:70317431282400] (0.5ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 2 bytes +2012-12-05 15:43:01.575932 T [44644:70317431282400] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007fe81b7e2768@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 15:43:01.577741 T [44644:70317431282400] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending --  +2012-12-05 15:43:01.578594 D [44644:70317431282400] (0.7ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 8 bytes +2012-12-05 15:43:01.578827 T [44644:70317431282400] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 15:43:01.578870 D [44644:70317431282400] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 15:43:01.579063 T [44644:70317431282400] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xDA\x1C" +2012-12-05 15:43:01.579070 D [44644:70317431282400] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 5 bytes +2012-12-05 15:43:01.580311 T [44644:70317431282400] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/fooH +2012-12-05 15:43:01.580582 D [44644:70317431282400] (0.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 30 bytes +2012-12-05 15:43:01.582729 T [44644:70317431282400] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 15:43:01.582770 D [44644:70317431282400] (2.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 15:43:01.587843 T [44644:70317431282400] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00" +2012-12-05 15:43:01.587905 D [44644:70317431282400] (5.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 2 bytes +2012-12-05 15:43:01.589396 T [44644:70317431282400] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007fe81b7ee1d0@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 15:43:01.590514 T [44644:70317431282400] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "" /test/foo*value2H +2012-12-05 15:43:01.592874 D [44644:70317431282400] (2.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 38 bytes +2012-12-05 15:43:01.605746 T [44644:70317431282400] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 15:43:01.605810 D [44644:70317431282400] (12.8ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 15:43:01.606195 T [44644:70317431282400] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xDC\x1C" +2012-12-05 15:43:01.606231 D [44644:70317431282400] (0.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 5 bytes +2012-12-05 15:43:01.606567 T [44644:70317431282400] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/foo +2012-12-05 15:43:01.617411 D [44644:70317431282400] (10.8ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 19 bytes +2012-12-05 15:43:01.618556 T [44644:70317431282400] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\r" +2012-12-05 15:43:01.618675 D [44644:70317431282400] (1.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 15:43:01.618939 T [44644:70317431282400] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xDC\x1C2\x06value2" +2012-12-05 15:43:01.618950 D [44644:70317431282400] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 13 bytes +2012-12-05 15:43:01.620071 T [44644:70317431282400] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/fooH +2012-12-05 15:43:01.620114 D [44644:70317431282400] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 30 bytes +2012-12-05 15:43:01.622106 T [44644:70317431282400] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 15:43:01.622152 D [44644:70317431282400] (2.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 15:43:01.622405 T [44644:70317431282400] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00" +2012-12-05 15:43:01.622442 D [44644:70317431282400] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 2 bytes +2012-12-05 15:43:01.622843 T [44644:70317431282400] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007fe81d0174f0@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 15:43:01.624266 T [44644:70317431282400] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- !" /test/foo*valueH +2012-12-05 15:43:01.624538 D [44644:70317431282400] (0.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 37 bytes +2012-12-05 15:43:01.626928 T [44644:70317431282400] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 15:43:01.626943 D [44644:70317431282400] (2.4ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 15:43:01.627154 T [44644:70317431282400] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xDE\x1C" +2012-12-05 15:43:01.627160 D [44644:70317431282400] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 5 bytes +2012-12-05 15:43:01.627423 T [44644:70317431282400] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/foo +2012-12-05 15:43:01.627510 D [44644:70317431282400] (0.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 19 bytes +2012-12-05 15:43:01.628015 T [44644:70317431282400] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\f" +2012-12-05 15:43:01.628053 D [44644:70317431282400] (0.5ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 15:43:01.628294 T [44644:70317431282400] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xDE\x1C2\x05value" +2012-12-05 15:43:01.628322 D [44644:70317431282400] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 12 bytes +2012-12-05 15:43:01.643673 T [44644:70317431282400] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/fooH +2012-12-05 15:43:01.643989 D [44644:70317431282400] (0.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 30 bytes +2012-12-05 15:43:01.646097 T [44644:70317431282400] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 15:43:01.646148 D [44644:70317431282400] (2.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 15:43:01.647323 T [44644:70317431282400] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00" +2012-12-05 15:43:01.647381 D [44644:70317431282400] (1.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 2 bytes +2012-12-05 15:43:01.648463 T [44644:70317431282400] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:9999", :connect_retry_interval=>0.1, :connect_retry_count=>5, :read_timeout=>5, :connect_timeout=>3, :buffered=>false, :on_connect=>#<Proc:0x007fe81b688a48@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 15:43:01.649387 W [44644:70317431282400] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 1 +2012-12-05 15:43:01.749988 W [44644:70317431282400] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 2 +2012-12-05 15:43:01.851223 W [44644:70317431282400] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 3 +2012-12-05 15:43:01.953376 W [44644:70317431282400] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 4 +2012-12-05 15:43:02.054827 W [44644:70317431282400] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 5 +2012-12-05 15:43:02.156641 E [44644:70317431282400] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Giving up after 5 retries +2012-12-05 15:43:02.156766 I [44644:70317431282400] (508.2ms) ResilientSocket::TCPClient ["localhost:9999"] -- Connecting to server localhost:9999 -- ResilientSocket::ConnectionFailure: After 5 connection attempts to host 'localhost:9999': Errno::ECONNREFUSED: Connection refused - connect(2) +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:578:in `rescue in block in connect_to_server' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:549:in `block in connect_to_server' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_info' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:542:in `connect_to_server' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:305:in `connect' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:233:in `initialize' /Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:36:in `new' /Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:36:in `initialize' -/Users/rmorrison/Sandbox/ruby_skynet/test/doozer_client_test.rb:22:in `new' -/Users/rmorrison/Sandbox/ruby_skynet/test/doozer_client_test.rb:22:in `block (4 levels) in <class:DoozerClientTest>' +/Users/rmorrison/Sandbox/ruby_skynet/test/doozer_client_test.rb:19:in `new' +/Users/rmorrison/Sandbox/ruby_skynet/test/doozer_client_test.rb:19:in `block (4 levels) in <class:DoozerClientTest>' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:330:in `assert_raises' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/assertions.rb:69:in `assert_raise' -/Users/rmorrison/Sandbox/ruby_skynet/test/doozer_client_test.rb:21:in `block (3 levels) in <class:DoozerClientTest>' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.0/lib/shoulda/context/context.rb:398:in `call' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.0/lib/shoulda/context/context.rb:398:in `block in create_test_from_should_hash' -/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:949:in `run' +/Users/rmorrison/Sandbox/ruby_skynet/test/doozer_client_test.rb:18:in `block (3 levels) in <class:DoozerClientTest>' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `block in create_test_from_should_hash' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/mocha-0.10.5/lib/mocha/integration/mini_test/version_230_to_262.rb:28:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/testcase.rb:17:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:787:in `block in _run_suite' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `map' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `_run_suite' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:565:in `block in _run_suites' @@ -4987,27 +10546,174 @@ /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:884:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:21:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:326:in `block (2 levels) in autorun' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:27:in `run_once' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:325:in `block in autorun' -2012-10-18 16:32:10.404911 I [1344:70126217157340] (508.6ms) ResilientSocket::TCPClient ["localhost:9999"] -- Connecting to server localhost:9999 -- ResilientSocket::ConnectionFailure: After 5 connection attempts to host 'localhost:9999': Errno::ECONNREFUSED: Connection refused - connect(2) -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:570:in `rescue in block in connect_to_server' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:548:in `block in connect_to_server' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.7.0/lib/semantic_logger/base.rb:181:in `benchmark_info' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:541:in `connect_to_server' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:304:in `connect' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:232:in `initialize' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:36:in `new' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:36:in `initialize' -/Users/rmorrison/Sandbox/ruby_skynet/test/doozer_client_test.rb:22:in `new' -/Users/rmorrison/Sandbox/ruby_skynet/test/doozer_client_test.rb:22:in `block (4 levels) in <class:DoozerClientTest>' +2012-12-05 15:43:02.158742 D [44644:70317432005640] SimpleServer -- Waiting for a client to connect +2012-12-05 15:43:02.164347 D [44644:70317431282400] RubySkynet::Registry -- Doozer Connection Pool: Created connection #1 #<Thread:0x007fe81b06b5c0>(70317431282400) for Doozer Connection Pool +2012-12-05 15:43:02.164413 T [44644:70317431282400] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007fe81b31c468@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 15:43:02.164962 D [44644:70317431282400] RubySkynet::Registry -- Doozer Connection Pool: Renewed connection old=70317431282400 new=#<RubySkynet::Doozer::Client:0x007fe81b31c850>(70317432693800) +2012-12-05 15:43:02.164995 D [44644:70317431282400] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fe81b31c850>(70317432693800) self=connections=70317432693800 checked_out=70317432693800 with_map= +2012-12-05 15:43:02.178840 T [44644:70317431282400] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "+/services/TestService/1/Test/127.0.0.1/2000*{"Config":{"UUID":"3978b371-15e9-40f8-9b7b-59ae88d8c7ec","Name":"TestService","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"127.0.0.1","Port":2000,"MaxPort":2999}},"Registered":true}H +2012-12-05 15:43:02.182009 D [44644:70317431282400] (3.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 261 bytes +2012-12-05 15:43:02.190679 T [44644:70317431282400] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 15:43:02.190756 D [44644:70317431282400] (8.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:43:02.195288 T [44644:70317431282400] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xE0\x1C" +2012-12-05 15:43:02.195338 D [44644:70317431282400] (4.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 15:43:02.199275 D [44644:70317431282400] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fe81b31c850>(70317432693800) self=connections=70317432693800 checked_out= with_map= +2012-12-05 15:43:02.203060 D [44644:70317431282400] [50bfb1d66b6933ae64000001] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fe81b31c850>(70317432693800) self=connections=70317432693800 checked_out=70317432693800 with_map= +2012-12-05 15:43:02.204801 T [44644:70317431282400] [50bfb1d66b6933ae64000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  +2012-12-05 15:43:02.206039 D [44644:70317431282400] [50bfb1d66b6933ae64000001] (1.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 8 bytes +2012-12-05 15:43:02.206115 T [44644:70317431282400] [50bfb1d66b6933ae64000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 15:43:02.206122 D [44644:70317431282400] [50bfb1d66b6933ae64000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:43:02.206190 T [44644:70317431282400] [50bfb1d66b6933ae64000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xE0\x1C" +2012-12-05 15:43:02.206196 D [44644:70317431282400] [50bfb1d66b6933ae64000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 15:43:02.206620 T [44644:70317431282400] [50bfb1d66b6933ae64000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H +2012-12-05 15:43:02.206664 D [44644:70317431282400] [50bfb1d66b6933ae64000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-05 15:43:02.207470 T [44644:70317431282400] [50bfb1d66b6933ae64000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\xF9" +2012-12-05 15:43:02.207508 D [44644:70317431282400] [50bfb1d66b6933ae64000001] (0.8ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:43:02.207771 T [44644:70317431282400] [50bfb1d66b6933ae64000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xE0\x1C*+/services/TestService/1/Test/127.0.0.1/20002\xC2\x01{\"Config\":{\"UUID\":\"3978b371-15e9-40f8-9b7b-59ae88d8c7ec\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"127.0.0.1\",\"Port\":2000,\"MaxPort\":2999}},\"Registered\":true}" +2012-12-05 15:43:02.207779 D [44644:70317431282400] [50bfb1d66b6933ae64000001] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 249 bytes +2012-12-05 15:43:02.208103 T [44644:70317431282400] [50bfb1d66b6933ae64000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H +2012-12-05 15:43:02.208625 D [44644:70317431282400] [50bfb1d66b6933ae64000001] (0.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-05 15:43:02.208704 T [44644:70317431282400] [50bfb1d66b6933ae64000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 15:43:02.208710 D [44644:70317431282400] [50bfb1d66b6933ae64000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:43:02.208809 T [44644:70317431282400] [50bfb1d66b6933ae64000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\xA0\x06\b" +2012-12-05 15:43:02.208815 D [44644:70317431282400] [50bfb1d66b6933ae64000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 15:43:02.208991 D [44644:70317431282400] [50bfb1d66b6933ae64000001] RubySkynet::Registry -- #start_monitoring Add Service: TestService/1/Test => 127.0.0.1:2000 +2012-12-05 15:43:02.209032 D [44644:70317431282400] [50bfb1d66b6933ae64000001] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fe81b31c850>(70317432693800) self=connections=70317432693800 checked_out= with_map= +2012-12-05 15:43:02.210120 I [44644:70317434492260] RubySkynet::Registry -- Start monitoring /services/*/*/*/*/* +2012-12-05 15:43:02.210214 T [44644:70317434492260] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007fe81b2d83a8@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 15:43:02.210983 D [44644:70317432005640] SimpleServer -- Waiting for a client to connect +2012-12-05 15:43:02.211086 D [44644:70317432005640] SimpleServer -- Client connected, waiting for data from client +2012-12-05 15:43:02.212045 T [44644:70317434492260] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-05 15:43:02.212274 D [44644:70317434492260] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 15:43:02.213562 D [44644:70317431282400] [50bfb1d66b6933ae64000001] RubySkynet::Connection: 127.0.0.1:2000 -- Waiting for Service Handshake +2012-12-05 15:43:02.214412 T [44644:70317431282400] [50bfb1d66b6933ae64000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "$\x00\x00\x00" +2012-12-05 15:43:02.214458 D [44644:70317431282400] [50bfb1d66b6933ae64000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes +2012-12-05 15:43:02.214945 T [44644:70317431282400] [50bfb1d66b6933ae64000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "\bregistered\x00\x01\x02clientid\x00\x04\x00\x00\x00123\x00\x00" +2012-12-05 15:43:02.214983 D [44644:70317431282400] [50bfb1d66b6933ae64000001] (0.5ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 32 bytes +2012-12-05 15:43:02.215048 T [44644:70317431282400] [50bfb1d66b6933ae64000001] RubySkynet::Connection: 127.0.0.1:2000 -- Service Handshake -- {"registered"=>true, "clientid"=>"123"} +2012-12-05 15:43:02.215064 D [44644:70317431282400] [50bfb1d66b6933ae64000001] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Client Handshake +2012-12-05 15:43:02.215071 T [44644:70317431282400] [50bfb1d66b6933ae64000001] RubySkynet::Connection: 127.0.0.1:2000 -- Client Handshake -- {"clientid"=>"123"} +2012-12-05 15:43:02.215093 T [44644:70317431282400] [50bfb1d66b6933ae64000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- clientid123 +2012-12-05 15:43:02.215141 D [44644:70317431282400] [50bfb1d66b6933ae64000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 23 bytes +2012-12-05 15:43:02.215219 D [44644:70317431282400] [50bfb1d66b6933ae64000001] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Header +2012-12-05 15:43:02.215228 T [44644:70317431282400] [50bfb1d66b6933ae64000001] RubySkynet::Connection: 127.0.0.1:2000 -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 15:43:02.215249 T [44644:70317431282400] [50bfb1d66b6933ae64000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- 5servicemethodTestService.Forwardseq +2012-12-05 15:43:02.215293 D [44644:70317431282400] [50bfb1d66b6933ae64000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 53 bytes +2012-12-05 15:43:02.215325 D [44644:70317431282400] [50bfb1d66b6933ae64000001] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Request +2012-12-05 15:43:02.215332 T [44644:70317431282400] [50bfb1d66b6933ae64000001] RubySkynet::Connection: 127.0.0.1:2000 -- Request -- {"clientid"=>"123", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"test1", "requestinfo"=>{"requestid"=>"50bfb1d66b6933ae64000001", "retrycount"=>0, "originaddress"=>""}} +2012-12-05 15:43:02.215337 T [44644:70317431282400] [50bfb1d66b6933ae64000001] RubySkynet::Connection: 127.0.0.1:2000 -- Parameters: -- {"some"=>"parameters"} +2012-12-05 15:43:02.215353 T [44644:70317431282400] [50bfb1d66b6933ae64000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- clientid123insome parametersmethodtest1requestinfoQrequestid50bfb1d66b6933ae64000001retrycountoriginaddress +2012-12-05 15:43:02.215394 D [44644:70317431282400] [50bfb1d66b6933ae64000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 170 bytes +2012-12-05 15:43:02.215407 D [44644:70317431282400] [50bfb1d66b6933ae64000001] RubySkynet::Connection: 127.0.0.1:2000 -- Reading header from server +2012-12-05 15:43:02.215694 D [44644:70317432005640] SimpleServer -- +****************** +2012-12-05 15:43:02.215702 D [44644:70317432005640] SimpleServer -- Received Request +2012-12-05 15:43:02.215708 T [44644:70317432005640] SimpleServer -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 15:43:02.216178 T [44644:70317432005640] SimpleServer -- Request -- {"clientid"=>"123", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"test1", "requestinfo"=>{"requestid"=>"50bfb1d66b6933ae64000001", "retrycount"=>0, "originaddress"=>""}} +2012-12-05 15:43:02.216204 D [44644:70317432005640] SimpleServer -- Sending Header +2012-12-05 15:43:02.216291 D [44644:70317432005640] SimpleServer -- Sending Reply +2012-12-05 15:43:02.216299 T [44644:70317432005640] SimpleServer -- Reply -- {"result"=>"test1"} +2012-12-05 15:43:02.218331 T [44644:70317431282400] [50bfb1d66b6933ae64000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "5\x00\x00\x00" +2012-12-05 15:43:02.218375 D [44644:70317431282400] [50bfb1d66b6933ae64000001] (3.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes +2012-12-05 15:43:02.218577 T [44644:70317431282400] [50bfb1d66b6933ae64000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "\x02servicemethod\x00\x14\x00\x00\x00TestService.Forward\x00\x10seq\x00\x00\x00\x00\x00\x00" +2012-12-05 15:43:02.218613 D [44644:70317431282400] [50bfb1d66b6933ae64000001] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 49 bytes +2012-12-05 15:43:02.218651 D [44644:70317431282400] [50bfb1d66b6933ae64000001] RubySkynet::Connection: 127.0.0.1:2000 -- Response Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 15:43:02.218657 D [44644:70317431282400] [50bfb1d66b6933ae64000001] RubySkynet::Connection: 127.0.0.1:2000 -- Reading response from server +2012-12-05 15:43:02.218845 T [44644:70317431282400] [50bfb1d66b6933ae64000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "&\x00\x00\x00" +2012-12-05 15:43:02.218853 D [44644:70317431282400] [50bfb1d66b6933ae64000001] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes +2012-12-05 15:43:02.219223 T [44644:70317431282400] [50bfb1d66b6933ae64000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "\x02out\x00\x18\x00\x00\x00\x17\x00\x00\x00\x02result\x00\x06\x00\x00\x00test1\x00\x00\x00\x00" +2012-12-05 15:43:02.219229 D [44644:70317431282400] [50bfb1d66b6933ae64000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 34 bytes +2012-12-05 15:43:02.219258 T [44644:70317431282400] [50bfb1d66b6933ae64000001] RubySkynet::Connection: 127.0.0.1:2000 -- Response -- {"out"=>"\x17\x00\x00\x00\x02result\x00\x06\x00\x00\x00test1\x00\x00"} +2012-12-05 15:43:02.219291 T [44644:70317431282400] [50bfb1d66b6933ae64000001] RubySkynet::Connection: 127.0.0.1:2000 -- Return Value -- {"result"=>"test1"} +2012-12-05 15:43:02.219316 I [44644:70317431282400] [50bfb1d66b6933ae64000001] (18.7ms) RubySkynet::Client: TestService/1/Test -- Called Skynet Service: TestService.test1 +2012-12-05 15:43:02.220792 D [44644:70317431282400] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fe81b31c850>(70317432693800) self=connections=70317432693800 checked_out=70317432693800 with_map= +2012-12-05 15:43:02.221126 T [44644:70317431282400] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- <"+/services/TestService/1/Test/127.0.0.1/2000H +2012-12-05 15:43:02.221993 D [44644:70317431282400] (0.9ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 64 bytes +2012-12-05 15:43:02.222929 T [44644:70317434492260] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x006" +2012-12-05 15:43:02.222958 D [44644:70317434492260] (10.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:43:02.223330 T [44644:70317431282400] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 15:43:02.223367 D [44644:70317431282400] (0.9ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:43:02.223733 T [44644:70317434492260] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\b\x18\xE1\x1C*+/services/TestService/1/Test/127.0.0.1/20002\x00" +2012-12-05 15:43:02.223745 D [44644:70317434492260] (0.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 54 bytes +2012-12-05 15:43:02.223878 D [44644:70317434492260] RubySkynet::Registry -- #monitor Service stopped, remove: TestService/1/Test => 127.0.0.1:2000 +2012-12-05 15:43:02.223904 I [44644:70317434492260] RubySkynet::Registry -- Calling callback for server: 127.0.0.1:2000 +2012-12-05 15:43:02.224023 D [44644:70317434492260] RubySkynet::Connection -- Connection pool for server:127.0.0.1:2000 has been released +2012-12-05 15:43:02.224036 D [44644:70317434492260] RubySkynet::Registry -- Updated registry -- {} +2012-12-05 15:43:02.224245 T [44644:70317434492260] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-05 15:43:02.224309 D [44644:70317434492260] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 15:43:02.226873 T [44644:70317431282400] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00" +2012-12-05 15:43:02.226917 D [44644:70317431282400] (3.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 2 bytes +2012-12-05 15:43:02.227162 D [44644:70317431282400] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fe81b31c850>(70317432693800) self=connections=70317432693800 checked_out= with_map= +2012-12-05 15:43:02.228236 D [44644:70317431998600] SimpleServer -- Waiting for a client to connect +2012-12-05 15:43:02.228466 D [44644:70317431282400] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fe81b31c850>(70317432693800) self=connections=70317432693800 checked_out=70317432693800 with_map= +2012-12-05 15:43:02.228846 T [44644:70317431282400] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "+/services/TestService/1/Test/127.0.0.1/2000*{"Config":{"UUID":"3978b371-15e9-40f8-9b7b-59ae88d8c7ec","Name":"TestService","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"127.0.0.1","Port":2000,"MaxPort":2999}},"Registered":true}H +2012-12-05 15:43:02.230381 D [44644:70317431282400] (1.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 261 bytes +2012-12-05 15:43:02.236265 T [44644:70317434492260] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\xF9" +2012-12-05 15:43:02.236296 D [44644:70317434492260] (12.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:43:02.237372 T [44644:70317431282400] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 15:43:02.237384 D [44644:70317431282400] (6.9ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:43:02.238273 T [44644:70317434492260] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xE2\x1C*+/services/TestService/1/Test/127.0.0.1/20002\xC2\x01{\"Config\":{\"UUID\":\"3978b371-15e9-40f8-9b7b-59ae88d8c7ec\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"127.0.0.1\",\"Port\":2000,\"MaxPort\":2999}},\"Registered\":true}" +2012-12-05 15:43:02.238285 D [44644:70317434492260] (1.9ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 249 bytes +2012-12-05 15:43:02.238514 D [44644:70317434492260] RubySkynet::Registry -- #monitor Add/Update Service: TestService/1/Test => 127.0.0.1:2000 +2012-12-05 15:43:02.238526 D [44644:70317434492260] RubySkynet::Registry -- Updated registry -- {"TestService/1/Test"=>["127.0.0.1:2000"]} +2012-12-05 15:43:02.238762 T [44644:70317434492260] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-05 15:43:02.238798 D [44644:70317434492260] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 15:43:02.239204 T [44644:70317431282400] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xE2\x1C" +2012-12-05 15:43:02.239215 D [44644:70317431282400] (1.8ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 15:43:02.239297 D [44644:70317431282400] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fe81b31c850>(70317432693800) self=connections=70317432693800 checked_out= with_map= +2012-12-05 15:43:02.240422 D [44644:70317431282400] [50bfb1d66b6933ae64000002] RubySkynet::Connection: 127.0.0.1:2000 -- Waiting for Service Handshake +2012-12-05 15:43:02.240621 D [44644:70317431998600] SimpleServer -- Waiting for a client to connect +2012-12-05 15:43:02.240712 D [44644:70317431998600] SimpleServer -- Client connected, waiting for data from client +2012-12-05 15:43:02.241381 T [44644:70317431282400] [50bfb1d66b6933ae64000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "$\x00\x00\x00" +2012-12-05 15:43:02.241394 D [44644:70317431282400] [50bfb1d66b6933ae64000002] (0.9ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes +2012-12-05 15:43:02.241456 T [44644:70317431282400] [50bfb1d66b6933ae64000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "\bregistered\x00\x01\x02clientid\x00\x04\x00\x00\x00123\x00\x00" +2012-12-05 15:43:02.241463 D [44644:70317431282400] [50bfb1d66b6933ae64000002] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 32 bytes +2012-12-05 15:43:02.241499 T [44644:70317431282400] [50bfb1d66b6933ae64000002] RubySkynet::Connection: 127.0.0.1:2000 -- Service Handshake -- {"registered"=>true, "clientid"=>"123"} +2012-12-05 15:43:02.241510 D [44644:70317431282400] [50bfb1d66b6933ae64000002] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Client Handshake +2012-12-05 15:43:02.241516 T [44644:70317431282400] [50bfb1d66b6933ae64000002] RubySkynet::Connection: 127.0.0.1:2000 -- Client Handshake -- {"clientid"=>"123"} +2012-12-05 15:43:02.241532 T [44644:70317431282400] [50bfb1d66b6933ae64000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- clientid123 +2012-12-05 15:43:02.242426 D [44644:70317431282400] [50bfb1d66b6933ae64000002] (0.9ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 23 bytes +2012-12-05 15:43:02.242505 D [44644:70317431282400] [50bfb1d66b6933ae64000002] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Header +2012-12-05 15:43:02.242516 T [44644:70317431282400] [50bfb1d66b6933ae64000002] RubySkynet::Connection: 127.0.0.1:2000 -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 15:43:02.242538 T [44644:70317431282400] [50bfb1d66b6933ae64000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- 5servicemethodTestService.Forwardseq +2012-12-05 15:43:02.242582 D [44644:70317431282400] [50bfb1d66b6933ae64000002] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 53 bytes +2012-12-05 15:43:02.242644 D [44644:70317431282400] [50bfb1d66b6933ae64000002] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Request +2012-12-05 15:43:02.242656 T [44644:70317431282400] [50bfb1d66b6933ae64000002] RubySkynet::Connection: 127.0.0.1:2000 -- Request -- {"clientid"=>"123", "in"=>"\x17\x00\x00\x00\x01duration\x00\x00\x00\x00\x00\x00\x00\f@\x00", "method"=>"sleep", "requestinfo"=>{"requestid"=>"50bfb1d66b6933ae64000002", "retrycount"=>0, "originaddress"=>""}} +2012-12-05 15:43:02.242661 T [44644:70317431282400] [50bfb1d66b6933ae64000002] RubySkynet::Connection: 127.0.0.1:2000 -- Parameters: -- {"duration"=>3.5} +2012-12-05 15:43:02.242679 T [44644:70317431282400] [50bfb1d66b6933ae64000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- clientid123induration @methodsleeprequestinfoQrequestid50bfb1d66b6933ae64000002retrycountoriginaddress +2012-12-05 15:43:02.242824 D [44644:70317431998600] SimpleServer -- +****************** +2012-12-05 15:43:02.242831 D [44644:70317431998600] SimpleServer -- Received Request +2012-12-05 15:43:02.242837 T [44644:70317431998600] SimpleServer -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 15:43:02.243614 T [44644:70317431998600] SimpleServer -- Request -- {"clientid"=>"123", "in"=>"\x17\x00\x00\x00\x01duration\x00\x00\x00\x00\x00\x00\x00\f@\x00", "method"=>"sleep", "requestinfo"=>{"requestid"=>"50bfb1d66b6933ae64000002", "retrycount"=>0, "originaddress"=>""}} +2012-12-05 15:43:02.244196 D [44644:70317431282400] [50bfb1d66b6933ae64000002] (1.5ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 167 bytes +2012-12-05 15:43:02.244216 D [44644:70317431282400] [50bfb1d66b6933ae64000002] RubySkynet::Connection: 127.0.0.1:2000 -- Reading header from server +2012-12-05 15:43:05.244408 W [44644:70317431282400] [50bfb1d66b6933ae64000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read Timeout waiting for server to reply +2012-12-05 15:43:05.244636 D [44644:70317431282400] [50bfb1d66b6933ae64000002] (3000.4ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes -- ResilientSocket::ReadTimeout: Timedout after 3.0 seconds trying to read from 127.0.0.1:2000 +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:392:in `block in read' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_debug' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:374:in `read' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/common.rb:10:in `read_bson_document' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:178:in `rpc_call' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:65:in `block (3 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/gene_pool-1.3.0/lib/gene_pool.rb:134:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:214:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:64:in `block (2 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_info' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:60:in `block in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:126:in `with_tags' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:59:in `call' +/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_client_test.rb:87:in `block (5 levels) in <class:RubySkynetClientTest>' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:330:in `assert_raises' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/assertions.rb:69:in `assert_raise' -/Users/rmorrison/Sandbox/ruby_skynet/test/doozer_client_test.rb:21:in `block (3 levels) in <class:DoozerClientTest>' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.0/lib/shoulda/context/context.rb:398:in `call' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.0/lib/shoulda/context/context.rb:398:in `block in create_test_from_should_hash' -/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:949:in `run' +/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_client_test.rb:85:in `block (4 levels) in <class:RubySkynetClientTest>' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `block in create_test_from_should_hash' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/mocha-0.10.5/lib/mocha/integration/mini_test/version_230_to_262.rb:28:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/testcase.rb:17:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:787:in `block in _run_suite' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `map' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `_run_suite' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:565:in `block in _run_suites' @@ -5020,27 +10726,334 @@ /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:895:in `_run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:884:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:21:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:326:in `block (2 levels) in autorun' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:27:in `run_once' -/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:325:in `block in autorun' -- ResilientSocket::ConnectionFailure: After 5 connection attempts to host 'localhost:9999': Errno::ECONNREFUSED: Connection refused - connect(2) -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:570:in `rescue in block in connect_to_server' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:548:in `block in connect_to_server' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.7.0/lib/semantic_logger/base.rb:181:in `benchmark_info' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:541:in `connect_to_server' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:304:in `connect' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:232:in `initialize' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:325:in `block in autorun' +2012-12-05 15:43:05.244689 I [44644:70317431282400] [50bfb1d66b6933ae64000002] (3005.2ms) RubySkynet::Client: TestService/1/Test -- Called Skynet Service: TestService.sleep -- ResilientSocket::ReadTimeout: Timedout after 3.0 seconds trying to read from 127.0.0.1:2000 +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:392:in `block in read' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_debug' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:374:in `read' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/common.rb:10:in `read_bson_document' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:178:in `rpc_call' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:65:in `block (3 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/gene_pool-1.3.0/lib/gene_pool.rb:134:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:214:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:64:in `block (2 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_info' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:60:in `block in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:126:in `with_tags' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:59:in `call' +/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_client_test.rb:87:in `block (5 levels) in <class:RubySkynetClientTest>' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:330:in `assert_raises' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/assertions.rb:69:in `assert_raise' +/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_client_test.rb:85:in `block (4 levels) in <class:RubySkynetClientTest>' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `block in create_test_from_should_hash' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/mocha-0.10.5/lib/mocha/integration/mini_test/version_230_to_262.rb:28:in `run' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/testcase.rb:17:in `run' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:787:in `block in _run_suite' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `map' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `_run_suite' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:565:in `block in _run_suites' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:563:in `each' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:563:in `_run_suites' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:746:in `_run_anything' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:909:in `run_tests' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:896:in `block in _run' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:895:in `each' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:895:in `_run' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:884:in `run' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:21:in `run' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:326:in `block (2 levels) in autorun' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:27:in `run_once' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:325:in `block in autorun' +2012-12-05 15:43:05.247166 D [44644:70317431282400] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fe81b31c850>(70317432693800) self=connections=70317432693800 checked_out=70317432693800 with_map= +2012-12-05 15:43:05.247520 T [44644:70317431282400] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- <"+/services/TestService/1/Test/127.0.0.1/2000H +2012-12-05 15:43:05.247577 D [44644:70317431282400] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 64 bytes +2012-12-05 15:43:05.250369 T [44644:70317434492260] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x006" +2012-12-05 15:43:05.250384 D [44644:70317434492260] (3011.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:43:05.250757 T [44644:70317431282400] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 15:43:05.250768 D [44644:70317431282400] (3.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:43:05.251160 T [44644:70317434492260] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\b\x18\xE6\x1C*+/services/TestService/1/Test/127.0.0.1/20002\x00" +2012-12-05 15:43:05.251167 D [44644:70317434492260] (0.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 54 bytes +2012-12-05 15:43:05.251347 D [44644:70317434492260] RubySkynet::Registry -- #monitor Service stopped, remove: TestService/1/Test => 127.0.0.1:2000 +2012-12-05 15:43:05.251373 I [44644:70317434492260] RubySkynet::Registry -- Calling callback for server: 127.0.0.1:2000 +2012-12-05 15:43:05.251435 D [44644:70317434492260] RubySkynet::Connection -- Connection pool for server:127.0.0.1:2000 has been released +2012-12-05 15:43:05.251449 D [44644:70317434492260] RubySkynet::Registry -- Updated registry -- {} +2012-12-05 15:43:05.251655 T [44644:70317434492260] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-05 15:43:05.251692 D [44644:70317434492260] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 15:43:05.256949 T [44644:70317431282400] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00" +2012-12-05 15:43:05.256967 D [44644:70317431282400] (6.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 2 bytes +2012-12-05 15:43:05.257069 D [44644:70317431282400] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fe81b31c850>(70317432693800) self=connections=70317432693800 checked_out= with_map= +2012-12-05 15:43:05.258299 W [44644:70317431282400] [50bfb1d96b6933ae64000003] RubySkynet::Registry -- No servers available for service: SomeService with version: * in region: Development +2012-12-05 15:43:05.258392 I [44644:70317431282400] [50bfb1d96b6933ae64000003] (0.2ms) RubySkynet::Client: SomeService/*/Development -- Called Skynet Service: SomeService.test -- RubySkynet::ServiceUnavailable: No servers available for service: SomeService with version: * in region: Development +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/registry.rb:92:in `server_for' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:64:in `block (2 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_info' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:60:in `block in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:126:in `with_tags' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:59:in `call' +/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_client_test.rb:26:in `block (4 levels) in <class:RubySkynetClientTest>' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:330:in `assert_raises' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/assertions.rb:69:in `assert_raise' +/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_client_test.rb:24:in `block (3 levels) in <class:RubySkynetClientTest>' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `block in create_test_from_should_hash' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/mocha-0.10.5/lib/mocha/integration/mini_test/version_230_to_262.rb:28:in `run' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/testcase.rb:17:in `run' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:787:in `block in _run_suite' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `map' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `_run_suite' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:565:in `block in _run_suites' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:563:in `each' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:563:in `_run_suites' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:746:in `_run_anything' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:909:in `run_tests' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:896:in `block in _run' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:895:in `each' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:895:in `_run' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:884:in `run' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:21:in `run' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:326:in `block (2 levels) in autorun' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:27:in `run_once' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:325:in `block in autorun' +2012-12-05 15:43:05.261994 D [44644:70317432029620] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fe81b31c850>(70317432693800) self=connections=70317432693800 checked_out=70317432693800 with_map= +2012-12-05 15:43:05.262414 T [44644:70317432029620] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "+/services/TestService/1/Test/localhost/2100*{"Config":{"UUID":"localhost:2100-44644-TestService-70317433892280","Name":"TestService","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"localhost","Port":2100,"MaxPort":3099}},"Registered":true}H +2012-12-05 15:43:05.262478 D [44644:70317432029620] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 272 bytes +2012-12-05 15:43:05.265041 T [44644:70317434492260] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01\x04" +2012-12-05 15:43:05.265061 D [44644:70317434492260] (13.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:43:05.265164 T [44644:70317432029620] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 15:43:05.265172 D [44644:70317432029620] (2.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:43:05.265850 T [44644:70317434492260] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xE7\x1C*+/services/TestService/1/Test/localhost/21002\xCD\x01{\"Config\":{\"UUID\":\"localhost:2100-44644-TestService-70317433892280\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-05 15:43:05.265862 D [44644:70317434492260] (0.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 260 bytes +2012-12-05 15:43:05.266072 D [44644:70317434492260] RubySkynet::Registry -- #monitor Add/Update Service: TestService/1/Test => localhost:2100 +2012-12-05 15:43:05.266085 D [44644:70317434492260] RubySkynet::Registry -- Updated registry -- {"TestService/1/Test"=>["localhost:2100"]} +2012-12-05 15:43:05.266347 T [44644:70317434492260] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-05 15:43:05.266413 D [44644:70317434492260] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 15:43:05.272608 T [44644:70317432029620] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xE7\x1C" +2012-12-05 15:43:05.272637 D [44644:70317432029620] (7.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 15:43:05.272782 D [44644:70317432029620] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fe81b31c850>(70317432693800) self=connections=70317432693800 checked_out= with_map= +2012-12-05 15:43:05.275325 I [44644:70317432029620] RubySkynet::Server -- Starting listener on localhost:2100 +2012-12-05 15:43:05.275356 D [44644:70317432029620] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 15:43:05.277209 D [44644:70317431282400] [50bfb1d96b6933ae64000004] RubySkynet::Connection: localhost:2100 -- Waiting for Service Handshake +2012-12-05 15:43:05.279561 D [44644:70317432029620] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 15:43:05.279666 D [44644:70317432029620] RubySkynet::Server -- Client connected, waiting for data from client +2012-12-05 15:43:05.283396 T [44644:70317431282400] [50bfb1d96b6933ae64000004] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "9\x00\x00\x00" +2012-12-05 15:43:05.283415 D [44644:70317431282400] [50bfb1d96b6933ae64000004] (6.2ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 4 bytes +2012-12-05 15:43:05.283480 T [44644:70317431282400] [50bfb1d96b6933ae64000004] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "\bregistered\x00\x01\x02clientid\x00\x19\x00\x00\x0050bfb1d96b6933ae64000005\x00\x00" +2012-12-05 15:43:05.283486 D [44644:70317431282400] [50bfb1d96b6933ae64000004] (0.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 53 bytes +2012-12-05 15:43:05.283576 T [44644:70317431282400] [50bfb1d96b6933ae64000004] RubySkynet::Connection: localhost:2100 -- Service Handshake -- {"registered"=>true, "clientid"=>"50bfb1d96b6933ae64000005"} +2012-12-05 15:43:05.283591 D [44644:70317431282400] [50bfb1d96b6933ae64000004] RubySkynet::Connection: localhost:2100 -- Sending Client Handshake +2012-12-05 15:43:05.283597 T [44644:70317431282400] [50bfb1d96b6933ae64000004] RubySkynet::Connection: localhost:2100 -- Client Handshake -- {"clientid"=>"50bfb1d96b6933ae64000005"} +2012-12-05 15:43:05.283621 T [44644:70317431282400] [50bfb1d96b6933ae64000004] ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sending -- ,clientid50bfb1d96b6933ae64000005 +2012-12-05 15:43:05.283715 D [44644:70317431282400] [50bfb1d96b6933ae64000004] (0.1ms) ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sent 44 bytes +2012-12-05 15:43:05.283792 D [44644:70317431282400] [50bfb1d96b6933ae64000004] RubySkynet::Connection: localhost:2100 -- Sending Header +2012-12-05 15:43:05.283804 T [44644:70317431282400] [50bfb1d96b6933ae64000004] RubySkynet::Connection: localhost:2100 -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 15:43:05.283828 T [44644:70317431282400] [50bfb1d96b6933ae64000004] ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sending -- 5servicemethodTestService.Forwardseq +2012-12-05 15:43:05.283989 D [44644:70317431282400] [50bfb1d96b6933ae64000004] (0.2ms) ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sent 53 bytes +2012-12-05 15:43:05.284029 D [44644:70317431282400] [50bfb1d96b6933ae64000004] RubySkynet::Connection: localhost:2100 -- Sending Request +2012-12-05 15:43:05.284036 T [44644:70317431282400] [50bfb1d96b6933ae64000004] RubySkynet::Connection: localhost:2100 -- Request -- {"clientid"=>"50bfb1d96b6933ae64000005", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"echo", "requestinfo"=>{"requestid"=>"50bfb1d96b6933ae64000004", "retrycount"=>0, "originaddress"=>""}} +2012-12-05 15:43:05.284041 T [44644:70317431282400] [50bfb1d96b6933ae64000004] RubySkynet::Connection: localhost:2100 -- Parameters: -- {"some"=>"parameters"} +2012-12-05 15:43:05.284058 T [44644:70317431282400] [50bfb1d96b6933ae64000004] ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sending -- clientid50bfb1d96b6933ae64000005insome parametersmethodechorequestinfoQrequestid50bfb1d96b6933ae64000004retrycountoriginaddress +2012-12-05 15:43:05.284123 D [44644:70317431282400] [50bfb1d96b6933ae64000004] (0.1ms) ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sent 190 bytes +2012-12-05 15:43:05.284137 D [44644:70317431282400] [50bfb1d96b6933ae64000004] RubySkynet::Connection: localhost:2100 -- Reading header from server +2012-12-05 15:43:05.285976 D [44644:70317432029620] RubySkynet::Server -- +****************** +2012-12-05 15:43:05.285997 D [44644:70317432029620] RubySkynet::Server -- Received Request +2012-12-05 15:43:05.286008 T [44644:70317432029620] RubySkynet::Server -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 15:43:05.287134 T [44644:70317432029620] RubySkynet::Server -- Request -- {"clientid"=>"50bfb1d96b6933ae64000005", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"echo", "requestinfo"=>{"requestid"=>"50bfb1d96b6933ae64000004", "retrycount"=>0, "originaddress"=>""}} +2012-12-05 15:43:05.287162 T [44644:70317432029620] RubySkynet::Server -- Parameters -- {"some"=>"parameters"} +2012-12-05 15:43:05.287185 T [44644:70317432029620] RubySkynet::Server -- Method Call: echo with parameters: -- {"some"=>"parameters"} +2012-12-05 15:43:05.287201 D [44644:70317432029620] (0.0ms) RubySkynet::Server -- Called: TestService#echo +2012-12-05 15:43:05.287233 D [44644:70317432029620] RubySkynet::Server -- Sending Header +2012-12-05 15:43:05.287318 D [44644:70317432029620] RubySkynet::Server -- Sending Reply +2012-12-05 15:43:05.287330 T [44644:70317432029620] RubySkynet::Server -- Reply -- {"some"=>"parameters"} +2012-12-05 15:43:05.287669 T [44644:70317431282400] [50bfb1d96b6933ae64000004] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "5\x00\x00\x00" +2012-12-05 15:43:05.287679 D [44644:70317431282400] [50bfb1d96b6933ae64000004] (3.5ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 4 bytes +2012-12-05 15:43:05.287731 T [44644:70317431282400] [50bfb1d96b6933ae64000004] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "\x02servicemethod\x00\x14\x00\x00\x00TestService.Forward\x00\x10seq\x00\x00\x00\x00\x00\x00" +2012-12-05 15:43:05.287737 D [44644:70317431282400] [50bfb1d96b6933ae64000004] (0.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 49 bytes +2012-12-05 15:43:05.287771 D [44644:70317431282400] [50bfb1d96b6933ae64000004] RubySkynet::Connection: localhost:2100 -- Response Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 15:43:05.287778 D [44644:70317431282400] [50bfb1d96b6933ae64000004] RubySkynet::Connection: localhost:2100 -- Reading response from server +2012-12-05 15:43:05.287817 T [44644:70317431282400] [50bfb1d96b6933ae64000004] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- ")\x00\x00\x00" +2012-12-05 15:43:05.287823 D [44644:70317431282400] [50bfb1d96b6933ae64000004] (0.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 4 bytes +2012-12-05 15:43:05.287866 T [44644:70317431282400] [50bfb1d96b6933ae64000004] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "\x02out\x00\e\x00\x00\x00\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00\x00\x00" +2012-12-05 15:43:05.287872 D [44644:70317431282400] [50bfb1d96b6933ae64000004] (0.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 37 bytes +2012-12-05 15:43:05.287906 T [44644:70317431282400] [50bfb1d96b6933ae64000004] RubySkynet::Connection: localhost:2100 -- Response -- {"out"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00"} +2012-12-05 15:43:05.287931 T [44644:70317431282400] [50bfb1d96b6933ae64000004] RubySkynet::Connection: localhost:2100 -- Return Value -- {"some"=>"parameters"} +2012-12-05 15:43:05.287957 I [44644:70317431282400] [50bfb1d96b6933ae64000004] (12.2ms) RubySkynet::Client: TestService/1/Test -- Called Skynet Service: TestService.echo +2012-12-05 15:43:05.288317 I [44644:70317432029620] RubySkynet::Server -- Skynet Server Stopped +2012-12-05 15:43:05.288547 D [44644:70317432029620] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fe81b31c850>(70317432693800) self=connections=70317432693800 checked_out=70317432693800 with_map= +2012-12-05 15:43:05.288882 T [44644:70317432029620] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- <"+/services/TestService/1/Test/localhost/2100H +2012-12-05 15:43:05.288938 D [44644:70317432029620] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 64 bytes +2012-12-05 15:43:05.293102 T [44644:70317434492260] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x006" +2012-12-05 15:43:05.293127 D [44644:70317434492260] (26.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:43:05.293482 T [44644:70317432029620] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 15:43:05.293489 D [44644:70317432029620] (4.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:43:05.294000 T [44644:70317434492260] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\b\x18\xE8\x1C*+/services/TestService/1/Test/localhost/21002\x00" +2012-12-05 15:43:05.294011 D [44644:70317434492260] (0.8ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 54 bytes +2012-12-05 15:43:05.294162 D [44644:70317434492260] RubySkynet::Registry -- #monitor Service stopped, remove: TestService/1/Test => localhost:2100 +2012-12-05 15:43:05.294186 I [44644:70317434492260] RubySkynet::Registry -- Calling callback for server: localhost:2100 +2012-12-05 15:43:05.294308 D [44644:70317434492260] RubySkynet::Connection -- Connection pool for server:localhost:2100 has been released +2012-12-05 15:43:05.294322 D [44644:70317434492260] RubySkynet::Registry -- Updated registry -- {} +2012-12-05 15:43:05.294547 T [44644:70317434492260] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-05 15:43:05.294637 D [44644:70317434492260] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 15:43:05.294702 T [44644:70317432029620] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00" +2012-12-05 15:43:05.294708 D [44644:70317432029620] (1.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 2 bytes +2012-12-05 15:43:05.294772 D [44644:70317432029620] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fe81b31c850>(70317432693800) self=connections=70317432693800 checked_out= with_map= +2012-12-05 15:43:05.294793 I [44644:70317432029620] RubySkynet::Server -- Skynet Services De-registered in Doozer +2012-12-05 15:43:05.316136 D [44644:70317432034940] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fe81b31c850>(70317432693800) self=connections=70317432693800 checked_out=70317432693800 with_map= +2012-12-05 15:43:05.316589 T [44644:70317432034940] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "+/services/TestService/1/Test/localhost/2100*{"Config":{"UUID":"localhost:2100-44644-TestService-70317433892280","Name":"TestService","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"localhost","Port":2100,"MaxPort":3099}},"Registered":true}H +2012-12-05 15:43:05.316653 D [44644:70317432034940] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 272 bytes +2012-12-05 15:43:05.326668 T [44644:70317432034940] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 15:43:05.326696 D [44644:70317432034940] (10.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:43:05.327787 T [44644:70317432034940] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xE9\x1C" +2012-12-05 15:43:05.327799 D [44644:70317432034940] (1.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 15:43:05.327938 D [44644:70317432034940] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fe81b31c850>(70317432693800) self=connections=70317432693800 checked_out= with_map= +2012-12-05 15:43:05.329514 I [44644:70317432034940] RubySkynet::Server -- Starting listener on localhost:2100 +2012-12-05 15:43:05.329538 D [44644:70317432034940] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 15:43:05.330181 T [44644:70317434492260] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01\x04" +2012-12-05 15:43:05.330200 D [44644:70317434492260] (35.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:43:05.330446 T [44644:70317434492260] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xE9\x1C*+/services/TestService/1/Test/localhost/21002\xCD\x01{\"Config\":{\"UUID\":\"localhost:2100-44644-TestService-70317433892280\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-05 15:43:05.330452 D [44644:70317434492260] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 260 bytes +2012-12-05 15:43:05.330669 D [44644:70317434492260] RubySkynet::Registry -- #monitor Add/Update Service: TestService/1/Test => localhost:2100 +2012-12-05 15:43:05.330681 D [44644:70317434492260] RubySkynet::Registry -- Updated registry -- {"TestService/1/Test"=>["localhost:2100"]} +2012-12-05 15:43:05.330953 T [44644:70317434492260] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-05 15:43:05.331294 I [44644:70317432034940] RubySkynet::Server -- Skynet Server Stopped +2012-12-05 15:43:05.331365 D [44644:70317432034940] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fe81b31c850>(70317432693800) self=connections=70317432693800 checked_out=70317432693800 with_map= +2012-12-05 15:43:05.331595 T [44644:70317432034940] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- <"+/services/TestService/1/Test/localhost/2100H +2012-12-05 15:43:05.332220 D [44644:70317432034940] (0.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 64 bytes +2012-12-05 15:43:05.333011 D [44644:70317434492260] (2.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 15:43:05.334251 T [44644:70317432034940] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 15:43:05.334263 D [44644:70317432034940] (2.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:43:05.334486 T [44644:70317434492260] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x006" +2012-12-05 15:43:05.334493 D [44644:70317434492260] (1.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:43:05.335053 T [44644:70317434492260] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\b\x18\xEA\x1C*+/services/TestService/1/Test/localhost/21002\x00" +2012-12-05 15:43:05.335065 D [44644:70317434492260] (0.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 54 bytes +2012-12-05 15:43:05.335187 D [44644:70317434492260] RubySkynet::Registry -- #monitor Service stopped, remove: TestService/1/Test => localhost:2100 +2012-12-05 15:43:05.335207 D [44644:70317434492260] RubySkynet::Registry -- Updated registry -- {} +2012-12-05 15:43:05.335410 T [44644:70317434492260] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-05 15:43:05.335474 D [44644:70317434492260] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 15:43:05.337780 T [44644:70317432034940] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00" +2012-12-05 15:43:05.337796 D [44644:70317432034940] (3.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 2 bytes +2012-12-05 15:43:05.337882 D [44644:70317432034940] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fe81b31c850>(70317432693800) self=connections=70317432693800 checked_out= with_map= +2012-12-05 15:43:05.337900 I [44644:70317432034940] RubySkynet::Server -- Skynet Services De-registered in Doozer +2012-12-05 15:43:05.343489 D [44644:70317432005640] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fe81b31c850>(70317432693800) self=connections=70317432693800 checked_out=70317432693800 with_map= +2012-12-05 15:43:05.343899 T [44644:70317432005640] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "+/services/TestService/1/Test/localhost/2100*{"Config":{"UUID":"localhost:2100-44644-TestService-70317433892280","Name":"TestService","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"localhost","Port":2100,"MaxPort":3099}},"Registered":true}H +2012-12-05 15:43:05.345795 D [44644:70317432005640] (1.9ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 272 bytes +2012-12-05 15:43:05.353149 T [44644:70317434492260] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01\x04" +2012-12-05 15:43:05.353186 D [44644:70317434492260] (17.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:43:05.353623 T [44644:70317432005640] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 15:43:05.353633 D [44644:70317432005640] (7.8ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:43:05.353976 T [44644:70317434492260] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xEB\x1C*+/services/TestService/1/Test/localhost/21002\xCD\x01{\"Config\":{\"UUID\":\"localhost:2100-44644-TestService-70317433892280\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-05 15:43:05.353983 D [44644:70317434492260] (0.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 260 bytes +2012-12-05 15:43:05.354214 D [44644:70317434492260] RubySkynet::Registry -- #monitor Add/Update Service: TestService/1/Test => localhost:2100 +2012-12-05 15:43:05.354225 D [44644:70317434492260] RubySkynet::Registry -- Updated registry -- {"TestService/1/Test"=>["localhost:2100"]} +2012-12-05 15:43:05.354462 T [44644:70317434492260] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-05 15:43:05.354529 D [44644:70317434492260] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 15:43:05.356553 T [44644:70317432005640] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xEB\x1C" +2012-12-05 15:43:05.356564 D [44644:70317432005640] (2.9ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 15:43:05.356666 D [44644:70317432005640] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fe81b31c850>(70317432693800) self=connections=70317432693800 checked_out= with_map= +2012-12-05 15:43:05.359571 I [44644:70317432005640] RubySkynet::Server -- Starting listener on localhost:2100 +2012-12-05 15:43:05.359596 D [44644:70317432005640] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 15:43:17.899468 D [44656:70154092501720] RubySkynet::Server -- Registering Service: TestService with name: TestService +2012-12-05 15:43:17.900725 I [44656:70154092501720] Celluloid -- Terminating 4 actors... +2012-12-05 15:43:17.901761 I [44656:70154092501720] Celluloid -- Shutdown completed cleanly +2012-12-05 15:43:17.904328 T [44656:70154092501720] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007f9c0c1e6810@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 15:43:17.911255 T [44656:70154092501720] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "/8 +2012-12-05 15:43:17.911630 D [44656:70154092501720] (0.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 13 bytes +2012-12-05 15:43:17.912809 T [44656:70154092501720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\a" +2012-12-05 15:43:17.912848 D [44656:70154092501720] (1.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 15:43:17.913110 T [44656:70154092501720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00*\x03ctl" +2012-12-05 15:43:17.913121 D [44656:70154092501720] (0.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 7 bytes +2012-12-05 15:43:17.913476 T [44656:70154092501720] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "/8 +2012-12-05 15:43:17.913525 D [44656:70154092501720] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 13 bytes +2012-12-05 15:43:17.913636 T [44656:70154092501720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 15:43:17.913642 D [44656:70154092501720] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 15:43:17.914379 T [44656:70154092501720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\xA0\x06\b" +2012-12-05 15:43:17.914408 D [44656:70154092501720] (0.7ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 5 bytes +2012-12-05 15:43:17.915492 T [44656:70154092501720] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/fooH +2012-12-05 15:43:17.915617 D [44656:70154092501720] (0.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 30 bytes +2012-12-05 15:43:17.917295 T [44656:70154092501720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 15:43:17.917529 D [44656:70154092501720] (1.8ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 15:43:17.917849 T [44656:70154092501720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00" +2012-12-05 15:43:17.917917 D [44656:70154092501720] (0.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 2 bytes +2012-12-05 15:43:17.918414 T [44656:70154092501720] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007f9c0bdad758@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 15:43:17.920205 T [44656:70154092501720] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending --  +2012-12-05 15:43:17.921030 D [44656:70154092501720] (0.8ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 8 bytes +2012-12-05 15:43:17.921249 T [44656:70154092501720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 15:43:17.921276 D [44656:70154092501720] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 15:43:17.921504 T [44656:70154092501720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xFA\x1C" +2012-12-05 15:43:17.921531 D [44656:70154092501720] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 5 bytes +2012-12-05 15:43:17.925037 T [44656:70154092501720] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/fooH +2012-12-05 15:43:17.925237 D [44656:70154092501720] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 30 bytes +2012-12-05 15:43:17.926537 T [44656:70154092501720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 15:43:17.927671 D [44656:70154092501720] (2.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 15:43:17.927755 T [44656:70154092501720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00" +2012-12-05 15:43:17.927761 D [44656:70154092501720] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 2 bytes +2012-12-05 15:43:17.931045 T [44656:70154092501720] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007f9c0bdb7078@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 15:43:17.933170 T [44656:70154092501720] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "" /test/foo*value2H +2012-12-05 15:43:17.933443 D [44656:70154092501720] (0.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 38 bytes +2012-12-05 15:43:17.934785 T [44656:70154092501720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 15:43:17.934825 D [44656:70154092501720] (1.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 15:43:17.936642 T [44656:70154092501720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xFC\x1C" +2012-12-05 15:43:17.936688 D [44656:70154092501720] (1.8ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 5 bytes +2012-12-05 15:43:17.939454 T [44656:70154092501720] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/foo +2012-12-05 15:43:17.940838 D [44656:70154092501720] (1.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 19 bytes +2012-12-05 15:43:17.941031 T [44656:70154092501720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\r" +2012-12-05 15:43:17.941076 D [44656:70154092501720] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 15:43:17.941303 T [44656:70154092501720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xFC\x1C2\x06value2" +2012-12-05 15:43:17.941338 D [44656:70154092501720] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 13 bytes +2012-12-05 15:43:17.942843 T [44656:70154092501720] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/fooH +2012-12-05 15:43:17.943369 D [44656:70154092501720] (0.5ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 30 bytes +2012-12-05 15:43:17.944910 T [44656:70154092501720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 15:43:17.944948 D [44656:70154092501720] (1.5ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 15:43:17.945162 T [44656:70154092501720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00" +2012-12-05 15:43:17.945197 D [44656:70154092501720] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 2 bytes +2012-12-05 15:43:17.945573 T [44656:70154092501720] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007f9c0bdd0898@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 15:43:17.946888 T [44656:70154092501720] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- !" /test/foo*valueH +2012-12-05 15:43:17.948167 D [44656:70154092501720] (1.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 37 bytes +2012-12-05 15:43:17.948356 T [44656:70154092501720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 15:43:17.948391 D [44656:70154092501720] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 15:43:17.948606 T [44656:70154092501720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xFE\x1C" +2012-12-05 15:43:17.948641 D [44656:70154092501720] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 5 bytes +2012-12-05 15:43:17.948867 T [44656:70154092501720] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/foo +2012-12-05 15:43:17.949288 D [44656:70154092501720] (0.4ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 19 bytes +2012-12-05 15:43:17.949480 T [44656:70154092501720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\f" +2012-12-05 15:43:17.949523 D [44656:70154092501720] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 15:43:17.949720 T [44656:70154092501720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xFE\x1C2\x05value" +2012-12-05 15:43:17.949764 D [44656:70154092501720] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 12 bytes +2012-12-05 15:43:17.953224 T [44656:70154092501720] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/fooH +2012-12-05 15:43:17.955368 D [44656:70154092501720] (2.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 30 bytes +2012-12-05 15:43:17.962847 T [44656:70154092501720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 15:43:17.962884 D [44656:70154092501720] (7.5ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 15:43:17.963145 T [44656:70154092501720] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00" +2012-12-05 15:43:17.963172 D [44656:70154092501720] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 2 bytes +2012-12-05 15:43:17.963585 T [44656:70154092501720] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:9999", :connect_retry_interval=>0.1, :connect_retry_count=>5, :read_timeout=>5, :connect_timeout=>3, :buffered=>false, :on_connect=>#<Proc:0x007f9c0bde4b68@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 15:43:17.964499 W [44656:70154092501720] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 1 +2012-12-05 15:43:18.078005 W [44656:70154092501720] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 2 +2012-12-05 15:43:18.179272 W [44656:70154092501720] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 3 +2012-12-05 15:43:18.280124 W [44656:70154092501720] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 4 +2012-12-05 15:43:18.381072 W [44656:70154092501720] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 5 +2012-12-05 15:43:18.482290 E [44656:70154092501720] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Giving up after 5 retries +2012-12-05 15:43:18.482505 I [44656:70154092501720] (518.8ms) ResilientSocket::TCPClient ["localhost:9999"] -- Connecting to server localhost:9999 -- ResilientSocket::ConnectionFailure: After 5 connection attempts to host 'localhost:9999': Errno::ECONNREFUSED: Connection refused - connect(2) +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:578:in `rescue in block in connect_to_server' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:549:in `block in connect_to_server' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_info' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:542:in `connect_to_server' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:305:in `connect' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:233:in `initialize' /Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:36:in `new' /Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:36:in `initialize' -/Users/rmorrison/Sandbox/ruby_skynet/test/doozer_client_test.rb:22:in `new' -/Users/rmorrison/Sandbox/ruby_skynet/test/doozer_client_test.rb:22:in `block (4 levels) in <class:DoozerClientTest>' +/Users/rmorrison/Sandbox/ruby_skynet/test/doozer_client_test.rb:19:in `new' +/Users/rmorrison/Sandbox/ruby_skynet/test/doozer_client_test.rb:19:in `block (4 levels) in <class:DoozerClientTest>' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:330:in `assert_raises' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/assertions.rb:69:in `assert_raise' -/Users/rmorrison/Sandbox/ruby_skynet/test/doozer_client_test.rb:21:in `block (3 levels) in <class:DoozerClientTest>' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.0/lib/shoulda/context/context.rb:398:in `call' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.0/lib/shoulda/context/context.rb:398:in `block in create_test_from_should_hash' -/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:949:in `run' +/Users/rmorrison/Sandbox/ruby_skynet/test/doozer_client_test.rb:18:in `block (3 levels) in <class:DoozerClientTest>' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `block in create_test_from_should_hash' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/mocha-0.10.5/lib/mocha/integration/mini_test/version_230_to_262.rb:28:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/testcase.rb:17:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:787:in `block in _run_suite' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `map' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `_run_suite' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:565:in `block in _run_suites' @@ -5054,327 +11067,174 @@ /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:884:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:21:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:326:in `block (2 levels) in autorun' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:27:in `run_once' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:325:in `block in autorun' -2012-10-18 16:32:10.415916 D [1344:70126217157340] RubySkynet::Registry -- Doozer Connection Pool: Created connection #1 #<Thread:0x007f8f1086b5b8>(70126217157340) for Doozer Connection Pool -2012-10-18 16:32:10.415916 D [1344:70126217157340] RubySkynet::Registry -- Doozer Connection Pool: Created connection #1 #<Thread:0x007f8f1086b5b8>(70126217157340) for Doozer Connection Pool -2012-10-18 16:32:10.415991 T [1344:70126217157340] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007f8f1099c270@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -2012-10-18 16:32:10.415991 T [1344:70126217157340] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007f8f1099c270@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007f8f1099c270@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -2012-10-18 16:32:10.416478 D [1344:70126217157340] RubySkynet::Registry -- Doozer Connection Pool: Renewed connection old=70126217157340 new=#<RubySkynet::Doozer::Client:0x007f8f1099c450>(70126217781800) -2012-10-18 16:32:10.416478 D [1344:70126217157340] RubySkynet::Registry -- Doozer Connection Pool: Renewed connection old=70126217157340 new=#<RubySkynet::Doozer::Client:0x007f8f1099c450>(70126217781800) -2012-10-18 16:32:10.416520 D [1344:70126217157340] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f8f1099c450>(70126217781800) self=connections=70126217781800 checked_out=70126217781800 with_map= -2012-10-18 16:32:10.416520 D [1344:70126217157340] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f8f1099c450>(70126217781800) self=connections=70126217781800 checked_out=70126217781800 with_map= -2012-10-18 16:32:10.423206 D [1344:70126217532320] SimpleServer -- Waiting for a client to connect -2012-10-18 16:32:10.423206 D [1344:70126217532320] SimpleServer -- Waiting for a client to connect -2012-10-18 16:32:10.433107 T [1344:70126217157340] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "+/services/TestService/1/Test/127.0.0.1/2000*{"Config":{"UUID":"3978b371-15e9-40f8-9b7b-59ae88d8c7ec","Name":"TestService","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"127.0.0.1","Port":2000,"MaxPort":2999}},"Registered":true}H -2012-10-18 16:32:10.433107 T [1344:70126217157340] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "+/services/TestService/1/Test/127.0.0.1/2000*{"Config":{"UUID":"3978b371-15e9-40f8-9b7b-59ae88d8c7ec","Name":"TestService","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"127.0.0.1","Port":2000,"MaxPort":2999}},"Registered":true}H -- "+/services/TestService/1/Test/127.0.0.1/2000*{"Config":{"UUID":"3978b371-15e9-40f8-9b7b-59ae88d8c7ec","Name":"TestService","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"127.0.0.1","Port":2000,"MaxPort":2999}},"Registered":true}H -2012-10-18 16:32:10.433415 D [1344:70126217157340] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 261 bytes -2012-10-18 16:32:10.433415 D [1344:70126217157340] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 261 bytes -2012-10-18 16:32:10.435069 T [1344:70126217157340] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x06" -2012-10-18 16:32:10.435069 T [1344:70126217157340] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x06" -- "\x00\x00\x00\x06" -2012-10-18 16:32:10.435115 D [1344:70126217157340] (1.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:32:10.435115 D [1344:70126217157340] (1.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:32:10.441403 T [1344:70126217157340] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xD2\xD4\x03" -2012-10-18 16:32:10.441403 T [1344:70126217157340] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xD2\xD4\x03" -- "\b\x00\x18\xD2\xD4\x03" -2012-10-18 16:32:10.441492 D [1344:70126217157340] (6.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 6 bytes -2012-10-18 16:32:10.441492 D [1344:70126217157340] (6.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 6 bytes -2012-10-18 16:32:10.441677 D [1344:70126217157340] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007f8f1099c450>(70126217781800) self=connections=70126217781800 checked_out= with_map= -2012-10-18 16:32:10.441677 D [1344:70126217157340] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007f8f1099c450>(70126217781800) self=connections=70126217781800 checked_out= with_map= -2012-10-18 16:32:10.459391 D [1344:70126217157340] [5080674a6b69330540000001] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f8f1099c450>(70126217781800) self=connections=70126217781800 checked_out=70126217781800 with_map= -2012-10-18 16:32:10.459391 D [1344:70126217157340] [5080674a6b69330540000001] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f8f1099c450>(70126217781800) self=connections=70126217781800 checked_out=70126217781800 with_map= -2012-10-18 16:32:10.459657 T [1344:70126217157340] [5080674a6b69330540000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  -2012-10-18 16:32:10.459657 T [1344:70126217157340] [5080674a6b69330540000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  --  -2012-10-18 16:32:10.460510 D [1344:70126217157340] [5080674a6b69330540000001] (0.8ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 8 bytes -2012-10-18 16:32:10.460510 D [1344:70126217157340] [5080674a6b69330540000001] (0.8ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 8 bytes -2012-10-18 16:32:10.460862 T [1344:70126217157340] [5080674a6b69330540000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x06" -2012-10-18 16:32:10.460862 T [1344:70126217157340] [5080674a6b69330540000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x06" -- "\x00\x00\x00\x06" -2012-10-18 16:32:10.460893 D [1344:70126217157340] [5080674a6b69330540000001] (0.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:32:10.460893 D [1344:70126217157340] [5080674a6b69330540000001] (0.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:32:10.461243 T [1344:70126217157340] [5080674a6b69330540000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xD2\xD4\x03" -2012-10-18 16:32:10.461243 T [1344:70126217157340] [5080674a6b69330540000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xD2\xD4\x03" -- "\b\x00\x18\xD2\xD4\x03" -2012-10-18 16:32:10.461265 D [1344:70126217157340] [5080674a6b69330540000001] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 6 bytes -2012-10-18 16:32:10.461265 D [1344:70126217157340] [5080674a6b69330540000001] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 6 bytes -2012-10-18 16:32:10.461590 T [1344:70126217157340] [5080674a6b69330540000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H -2012-10-18 16:32:10.461590 T [1344:70126217157340] [5080674a6b69330540000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H --  "/services/*/*/*/*/*8H -2012-10-18 16:32:10.461636 D [1344:70126217157340] [5080674a6b69330540000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 35 bytes -2012-10-18 16:32:10.461636 D [1344:70126217157340] [5080674a6b69330540000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 35 bytes -2012-10-18 16:32:10.462232 T [1344:70126217157340] [5080674a6b69330540000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\xFA" -2012-10-18 16:32:10.462232 T [1344:70126217157340] [5080674a6b69330540000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\xFA" -- "\x00\x00\x00\xFA" -2012-10-18 16:32:10.462252 D [1344:70126217157340] [5080674a6b69330540000001] (0.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:32:10.462252 D [1344:70126217157340] [5080674a6b69330540000001] (0.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:32:10.462600 T [1344:70126217157340] [5080674a6b69330540000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xD2\xD4\x03*+/services/TestService/1/Test/127.0.0.1/20002\xC2\x01{\"Config\":{\"UUID\":\"3978b371-15e9-40f8-9b7b-59ae88d8c7ec\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"127.0.0.1\",\"Port\":2000,\"MaxPort\":2999}},\"Registered\":true}" -2012-10-18 16:32:10.462600 T [1344:70126217157340] [5080674a6b69330540000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xD2\xD4\x03*+/services/TestService/1/Test/127.0.0.1/20002\xC2\x01{\"Config\":{\"UUID\":\"3978b371-15e9-40f8-9b7b-59ae88d8c7ec\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"127.0.0.1\",\"Port\":2000,\"MaxPort\":2999}},\"Registered\":true}" -- "\b\x00\x10\x04\x18\xD2\xD4\x03*+/services/TestService/1/Test/127.0.0.1/20002\xC2\x01{\"Config\":{\"UUID\":\"3978b371-15e9-40f8-9b7b-59ae88d8c7ec\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"127.0.0.1\",\"Port\":2000,\"MaxPort\":2999}},\"Registered\":true}" -2012-10-18 16:32:10.462615 D [1344:70126217157340] [5080674a6b69330540000001] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 250 bytes -2012-10-18 16:32:10.462615 D [1344:70126217157340] [5080674a6b69330540000001] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 250 bytes -2012-10-18 16:32:10.462910 T [1344:70126217157340] [5080674a6b69330540000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H -2012-10-18 16:32:10.462910 T [1344:70126217157340] [5080674a6b69330540000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H --  "/services/*/*/*/*/*8H -2012-10-18 16:32:10.462961 D [1344:70126217157340] [5080674a6b69330540000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 35 bytes -2012-10-18 16:32:10.462961 D [1344:70126217157340] [5080674a6b69330540000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 35 bytes -2012-10-18 16:32:10.463534 T [1344:70126217157340] [5080674a6b69330540000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01Q" -2012-10-18 16:32:10.463534 T [1344:70126217157340] [5080674a6b69330540000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01Q" -- "\x00\x00\x01Q" -2012-10-18 16:32:10.463548 D [1344:70126217157340] [5080674a6b69330540000001] (0.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:32:10.463548 D [1344:70126217157340] [5080674a6b69330540000001] (0.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:32:10.463624 T [1344:70126217157340] [5080674a6b69330540000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xD5\xC8\x03*6/services/TutorialService/1/Development/127.0.0.1/90002\x8E\x02{\"Config\":{\"UUID\":\"aa58fa11-6ab7-4b53-aad9-3d657120f2b8\",\"Name\":\"TutorialService\",\"Version\":\"1\",\"Region\":\"Development\",\"ServiceAddr\":{\"IPAddress\":\"127.0.0.1\",\"Port\":9000,\"MaxPort\":9999},\"AdminAddr\":{\"IPAddress\":\"127.0.0.1\",\"Port\":9001,\"MaxPort\":9999}},\"Registered\":true}" -2012-10-18 16:32:10.463624 T [1344:70126217157340] [5080674a6b69330540000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xD5\xC8\x03*6/services/TutorialService/1/Development/127.0.0.1/90002\x8E\x02{\"Config\":{\"UUID\":\"aa58fa11-6ab7-4b53-aad9-3d657120f2b8\",\"Name\":\"TutorialService\",\"Version\":\"1\",\"Region\":\"Development\",\"ServiceAddr\":{\"IPAddress\":\"127.0.0.1\",\"Port\":9000,\"MaxPort\":9999},\"AdminAddr\":{\"IPAddress\":\"127.0.0.1\",\"Port\":9001,\"MaxPort\":9999}},\"Registered\":true}" -- "\b\x00\x10\x04\x18\xD5\xC8\x03*6/services/TutorialService/1/Development/127.0.0.1/90002\x8E\x02{\"Config\":{\"UUID\":\"aa58fa11-6ab7-4b53-aad9-3d657120f2b8\",\"Name\":\"TutorialService\",\"Version\":\"1\",\"Region\":\"Development\",\"ServiceAddr\":{\"IPAddress\":\"127.0.0.1\",\"Port\":9000,\"MaxPort\":9999},\"AdminAddr\":{\"IPAddress\":\"127.0.0.1\",\"Port\":9001,\"MaxPort\":9999}},\"Registered\":true}" -2012-10-18 16:32:10.463635 D [1344:70126217157340] [5080674a6b69330540000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 337 bytes -2012-10-18 16:32:10.463635 D [1344:70126217157340] [5080674a6b69330540000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 337 bytes -2012-10-18 16:32:10.463909 T [1344:70126217157340] [5080674a6b69330540000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H -2012-10-18 16:32:10.463909 T [1344:70126217157340] [5080674a6b69330540000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H --  "/services/*/*/*/*/*8H -2012-10-18 16:32:10.463954 D [1344:70126217157340] [5080674a6b69330540000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 35 bytes -2012-10-18 16:32:10.463954 D [1344:70126217157340] [5080674a6b69330540000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 35 bytes -2012-10-18 16:32:10.464350 T [1344:70126217157340] [5080674a6b69330540000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" -2012-10-18 16:32:10.464350 T [1344:70126217157340] [5080674a6b69330540000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" -- "\x00\x00\x00\x05" -2012-10-18 16:32:10.464363 D [1344:70126217157340] [5080674a6b69330540000001] (0.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:32:10.464363 D [1344:70126217157340] [5080674a6b69330540000001] (0.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:32:10.464430 T [1344:70126217157340] [5080674a6b69330540000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\xA0\x06\b" -2012-10-18 16:32:10.464430 T [1344:70126217157340] [5080674a6b69330540000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\xA0\x06\b" -- "\b\x00\xA0\x06\b" -2012-10-18 16:32:10.464441 D [1344:70126217157340] [5080674a6b69330540000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes -2012-10-18 16:32:10.464441 D [1344:70126217157340] [5080674a6b69330540000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes -2012-10-18 16:32:10.464616 D [1344:70126217157340] [5080674a6b69330540000001] RubySkynet::Registry -- #start_monitoring Add Service: TestService/1/Test => 127.0.0.1:2000 -2012-10-18 16:32:10.464616 D [1344:70126217157340] [5080674a6b69330540000001] RubySkynet::Registry -- #start_monitoring Add Service: TestService/1/Test => 127.0.0.1:2000 -2012-10-18 16:32:10.464677 D [1344:70126217157340] [5080674a6b69330540000001] RubySkynet::Registry -- #start_monitoring Add Service: TutorialService/1/Development => 127.0.0.1:9000 -2012-10-18 16:32:10.464677 D [1344:70126217157340] [5080674a6b69330540000001] RubySkynet::Registry -- #start_monitoring Add Service: TutorialService/1/Development => 127.0.0.1:9000 -2012-10-18 16:32:10.464716 D [1344:70126217157340] [5080674a6b69330540000001] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007f8f1099c450>(70126217781800) self=connections=70126217781800 checked_out= with_map= -2012-10-18 16:32:10.464716 D [1344:70126217157340] [5080674a6b69330540000001] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007f8f1099c450>(70126217781800) self=connections=70126217781800 checked_out= with_map= -2012-10-18 16:32:10.465362 D [1344:70126217157340] [5080674a6b69330540000001] RubySkynet::Connection: 127.0.0.1:2000 -- Waiting for Service Handshake -2012-10-18 16:32:10.465362 D [1344:70126217157340] [5080674a6b69330540000001] RubySkynet::Connection: 127.0.0.1:2000 -- Waiting for Service Handshake -2012-10-18 16:32:10.465433 I [1344:70126222094900] RubySkynet::Registry -- Start monitoring /services/*/*/*/*/* -2012-10-18 16:32:10.465433 I [1344:70126222094900] RubySkynet::Registry -- Start monitoring /services/*/*/*/*/* -2012-10-18 16:32:10.465477 T [1344:70126222094900] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007f8f11296b78@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -2012-10-18 16:32:10.465477 T [1344:70126222094900] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007f8f11296b78@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007f8f11296b78@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -2012-10-18 16:32:10.465911 T [1344:70126222094900] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H -2012-10-18 16:32:10.465911 T [1344:70126222094900] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H -- "/services/*/*/*/*/*H -2012-10-18 16:32:10.465954 D [1344:70126222094900] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 33 bytes -2012-10-18 16:32:10.465954 D [1344:70126222094900] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 33 bytes -2012-10-18 16:32:10.469958 D [1344:70126217532320] SimpleServer -- Client connected, waiting for data from client -2012-10-18 16:32:10.469958 D [1344:70126217532320] SimpleServer -- Client connected, waiting for data from client -2012-10-18 16:32:10.471163 T [1344:70126217157340] [5080674a6b69330540000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "$\x00\x00\x00" -2012-10-18 16:32:10.471163 T [1344:70126217157340] [5080674a6b69330540000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "$\x00\x00\x00" -- "$\x00\x00\x00" -2012-10-18 16:32:10.471215 D [1344:70126217157340] [5080674a6b69330540000001] (5.8ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes -2012-10-18 16:32:10.471215 D [1344:70126217157340] [5080674a6b69330540000001] (5.8ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes -2012-10-18 16:32:10.471711 T [1344:70126217157340] [5080674a6b69330540000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "\bregistered\x00\x01\x02clientid\x00\x04\x00\x00\x00123\x00\x00" -2012-10-18 16:32:10.471711 T [1344:70126217157340] [5080674a6b69330540000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "\bregistered\x00\x01\x02clientid\x00\x04\x00\x00\x00123\x00\x00" -- "\bregistered\x00\x01\x02clientid\x00\x04\x00\x00\x00123\x00\x00" -2012-10-18 16:32:10.471746 D [1344:70126217157340] [5080674a6b69330540000001] (0.5ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 32 bytes -2012-10-18 16:32:10.471746 D [1344:70126217157340] [5080674a6b69330540000001] (0.5ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 32 bytes -2012-10-18 16:32:10.471807 T [1344:70126217157340] [5080674a6b69330540000001] RubySkynet::Connection: 127.0.0.1:2000 -- Service Handshake -- {"registered"=>true, "clientid"=>"123"} -2012-10-18 16:32:10.471807 T [1344:70126217157340] [5080674a6b69330540000001] RubySkynet::Connection: 127.0.0.1:2000 -- Service Handshake -- {"registered"=>true, "clientid"=>"123"} -- {"registered"=>true, "clientid"=>"123"} -2012-10-18 16:32:10.471824 D [1344:70126217157340] [5080674a6b69330540000001] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Client Handshake -2012-10-18 16:32:10.471824 D [1344:70126217157340] [5080674a6b69330540000001] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Client Handshake -2012-10-18 16:32:10.471833 T [1344:70126217157340] [5080674a6b69330540000001] RubySkynet::Connection: 127.0.0.1:2000 -- Client Handshake -- {"clientid"=>"123"} -2012-10-18 16:32:10.471833 T [1344:70126217157340] [5080674a6b69330540000001] RubySkynet::Connection: 127.0.0.1:2000 -- Client Handshake -- {"clientid"=>"123"} -- {"clientid"=>"123"} -2012-10-18 16:32:10.472090 T [1344:70126217157340] [5080674a6b69330540000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- clientid123 -2012-10-18 16:32:10.472090 T [1344:70126217157340] [5080674a6b69330540000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- clientid123 -- clientid123 -2012-10-18 16:32:10.473091 D [1344:70126217157340] [5080674a6b69330540000001] (1.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 23 bytes -2012-10-18 16:32:10.473091 D [1344:70126217157340] [5080674a6b69330540000001] (1.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 23 bytes -2012-10-18 16:32:10.473202 D [1344:70126217157340] [5080674a6b69330540000001] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Header -2012-10-18 16:32:10.473202 D [1344:70126217157340] [5080674a6b69330540000001] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Header -2012-10-18 16:32:10.473226 T [1344:70126217157340] [5080674a6b69330540000001] RubySkynet::Connection: 127.0.0.1:2000 -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} -2012-10-18 16:32:10.473226 T [1344:70126217157340] [5080674a6b69330540000001] RubySkynet::Connection: 127.0.0.1:2000 -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} -- {"servicemethod"=>"TestService.Forward", "seq"=>0} -2012-10-18 16:32:10.473281 T [1344:70126217157340] [5080674a6b69330540000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- 5servicemethodTestService.Forwardseq -2012-10-18 16:32:10.473281 T [1344:70126217157340] [5080674a6b69330540000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- 5servicemethodTestService.Forwardseq -- 5servicemethodTestService.Forwardseq -2012-10-18 16:32:10.473663 D [1344:70126217532320] SimpleServer -- +2012-12-05 15:43:18.487195 D [44656:70154092861200] SimpleServer -- Waiting for a client to connect +2012-12-05 15:43:18.493051 D [44656:70154092501720] RubySkynet::Registry -- Doozer Connection Pool: Created connection #1 #<Thread:0x007f9c0b86b5b0>(70154092501720) for Doozer Connection Pool +2012-12-05 15:43:18.493115 T [44656:70154092501720] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007f9c0ba3d960@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 15:43:18.493897 D [44656:70154092501720] RubySkynet::Registry -- Doozer Connection Pool: Renewed connection old=70154092501720 new=#<RubySkynet::Doozer::Client:0x007f9c0ba3dcf8>(70154093457020) +2012-12-05 15:43:18.493935 D [44656:70154092501720] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f9c0ba3dcf8>(70154093457020) self=connections=70154093457020 checked_out=70154093457020 with_map= +2012-12-05 15:43:18.507714 T [44656:70154092501720] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "+/services/TestService/1/Test/127.0.0.1/2000*{"Config":{"UUID":"3978b371-15e9-40f8-9b7b-59ae88d8c7ec","Name":"TestService","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"127.0.0.1","Port":2000,"MaxPort":2999}},"Registered":true}H +2012-12-05 15:43:18.507800 D [44656:70154092501720] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 261 bytes +2012-12-05 15:43:18.510785 T [44656:70154092501720] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 15:43:18.511074 D [44656:70154092501720] (2.8ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:43:18.511929 T [44656:70154092501720] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\x80\x1D" +2012-12-05 15:43:18.511970 D [44656:70154092501720] (0.8ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 15:43:18.512106 D [44656:70154092501720] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007f9c0ba3dcf8>(70154093457020) self=connections=70154093457020 checked_out= with_map= +2012-12-05 15:43:18.515630 D [44656:70154092501720] [50bfb1e66b6933ae70000001] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f9c0ba3dcf8>(70154093457020) self=connections=70154093457020 checked_out=70154093457020 with_map= +2012-12-05 15:43:18.515927 T [44656:70154092501720] [50bfb1e66b6933ae70000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  +2012-12-05 15:43:18.516901 D [44656:70154092501720] [50bfb1e66b6933ae70000001] (1.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 8 bytes +2012-12-05 15:43:18.520808 T [44656:70154092501720] [50bfb1e66b6933ae70000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 15:43:18.520834 D [44656:70154092501720] [50bfb1e66b6933ae70000001] (3.9ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:43:18.520938 T [44656:70154092501720] [50bfb1e66b6933ae70000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\x80\x1D" +2012-12-05 15:43:18.520945 D [44656:70154092501720] [50bfb1e66b6933ae70000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 15:43:18.523553 T [44656:70154092501720] [50bfb1e66b6933ae70000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H +2012-12-05 15:43:18.523970 D [44656:70154092501720] [50bfb1e66b6933ae70000001] (0.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-05 15:43:18.524023 T [44656:70154092501720] [50bfb1e66b6933ae70000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\xF9" +2012-12-05 15:43:18.524029 D [44656:70154092501720] [50bfb1e66b6933ae70000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:43:18.524099 T [44656:70154092501720] [50bfb1e66b6933ae70000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\x80\x1D*+/services/TestService/1/Test/127.0.0.1/20002\xC2\x01{\"Config\":{\"UUID\":\"3978b371-15e9-40f8-9b7b-59ae88d8c7ec\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"127.0.0.1\",\"Port\":2000,\"MaxPort\":2999}},\"Registered\":true}" +2012-12-05 15:43:18.524105 D [44656:70154092501720] [50bfb1e66b6933ae70000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 249 bytes +2012-12-05 15:43:18.524393 T [44656:70154092501720] [50bfb1e66b6933ae70000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H +2012-12-05 15:43:18.524704 D [44656:70154092501720] [50bfb1e66b6933ae70000001] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-05 15:43:18.524750 T [44656:70154092501720] [50bfb1e66b6933ae70000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 15:43:18.524757 D [44656:70154092501720] [50bfb1e66b6933ae70000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:43:18.524810 T [44656:70154092501720] [50bfb1e66b6933ae70000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\xA0\x06\b" +2012-12-05 15:43:18.524816 D [44656:70154092501720] [50bfb1e66b6933ae70000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 15:43:18.528256 D [44656:70154092501720] [50bfb1e66b6933ae70000001] RubySkynet::Registry -- #start_monitoring Add Service: TestService/1/Test => 127.0.0.1:2000 +2012-12-05 15:43:18.528315 D [44656:70154092501720] [50bfb1e66b6933ae70000001] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007f9c0ba3dcf8>(70154093457020) self=connections=70154093457020 checked_out= with_map= +2012-12-05 15:43:18.528745 I [44656:70154097343100] RubySkynet::Registry -- Start monitoring /services/*/*/*/*/* +2012-12-05 15:43:18.528783 T [44656:70154097343100] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007f9c0c1a5770@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 15:43:18.529534 T [44656:70154097343100] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-05 15:43:18.529602 D [44656:70154097343100] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 15:43:18.530437 D [44656:70154092861200] SimpleServer -- Waiting for a client to connect +2012-12-05 15:43:18.530536 D [44656:70154092861200] SimpleServer -- Client connected, waiting for data from client +2012-12-05 15:43:18.532740 D [44656:70154092501720] [50bfb1e66b6933ae70000001] RubySkynet::Connection: 127.0.0.1:2000 -- Waiting for Service Handshake +2012-12-05 15:43:18.535210 T [44656:70154092501720] [50bfb1e66b6933ae70000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "$\x00\x00\x00" +2012-12-05 15:43:18.535228 D [44656:70154092501720] [50bfb1e66b6933ae70000001] (1.8ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes +2012-12-05 15:43:18.536459 T [44656:70154092501720] [50bfb1e66b6933ae70000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "\bregistered\x00\x01\x02clientid\x00\x04\x00\x00\x00123\x00\x00" +2012-12-05 15:43:18.536500 D [44656:70154092501720] [50bfb1e66b6933ae70000001] (1.1ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 32 bytes +2012-12-05 15:43:18.536562 T [44656:70154092501720] [50bfb1e66b6933ae70000001] RubySkynet::Connection: 127.0.0.1:2000 -- Service Handshake -- {"registered"=>true, "clientid"=>"123"} +2012-12-05 15:43:18.536576 D [44656:70154092501720] [50bfb1e66b6933ae70000001] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Client Handshake +2012-12-05 15:43:18.536582 T [44656:70154092501720] [50bfb1e66b6933ae70000001] RubySkynet::Connection: 127.0.0.1:2000 -- Client Handshake -- {"clientid"=>"123"} +2012-12-05 15:43:18.536604 T [44656:70154092501720] [50bfb1e66b6933ae70000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- clientid123 +2012-12-05 15:43:18.537654 D [44656:70154092501720] [50bfb1e66b6933ae70000001] (1.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 23 bytes +2012-12-05 15:43:18.537885 D [44656:70154092501720] [50bfb1e66b6933ae70000001] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Header +2012-12-05 15:43:18.537896 T [44656:70154092501720] [50bfb1e66b6933ae70000001] RubySkynet::Connection: 127.0.0.1:2000 -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 15:43:18.537921 T [44656:70154092501720] [50bfb1e66b6933ae70000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- 5servicemethodTestService.Forwardseq +2012-12-05 15:43:18.538316 D [44656:70154092501720] [50bfb1e66b6933ae70000001] (0.4ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 53 bytes +2012-12-05 15:43:18.538361 D [44656:70154092501720] [50bfb1e66b6933ae70000001] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Request +2012-12-05 15:43:18.538368 T [44656:70154092501720] [50bfb1e66b6933ae70000001] RubySkynet::Connection: 127.0.0.1:2000 -- Request -- {"clientid"=>"123", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"test1", "requestinfo"=>{"requestid"=>"50bfb1e66b6933ae70000001", "retrycount"=>0, "originaddress"=>""}} +2012-12-05 15:43:18.538374 T [44656:70154092501720] [50bfb1e66b6933ae70000001] RubySkynet::Connection: 127.0.0.1:2000 -- Parameters: -- {"some"=>"parameters"} +2012-12-05 15:43:18.538391 T [44656:70154092501720] [50bfb1e66b6933ae70000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- clientid123insome parametersmethodtest1requestinfoQrequestid50bfb1e66b6933ae70000001retrycountoriginaddress +2012-12-05 15:43:18.538562 D [44656:70154092861200] SimpleServer -- ****************** -2012-10-18 16:32:10.473663 D [1344:70126217532320] SimpleServer -- +2012-12-05 15:43:18.538570 D [44656:70154092861200] SimpleServer -- Received Request +2012-12-05 15:43:18.538575 T [44656:70154092861200] SimpleServer -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 15:43:18.540124 T [44656:70154092861200] SimpleServer -- Request -- {"clientid"=>"123", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"test1", "requestinfo"=>{"requestid"=>"50bfb1e66b6933ae70000001", "retrycount"=>0, "originaddress"=>""}} +2012-12-05 15:43:18.540175 D [44656:70154092861200] SimpleServer -- Sending Header +2012-12-05 15:43:18.540328 D [44656:70154092861200] SimpleServer -- Sending Reply +2012-12-05 15:43:18.540336 T [44656:70154092861200] SimpleServer -- Reply -- {"result"=>"test1"} +2012-12-05 15:43:18.540955 D [44656:70154092501720] [50bfb1e66b6933ae70000001] (2.6ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 170 bytes +2012-12-05 15:43:18.540976 D [44656:70154092501720] [50bfb1e66b6933ae70000001] RubySkynet::Connection: 127.0.0.1:2000 -- Reading header from server +2012-12-05 15:43:18.541432 T [44656:70154092501720] [50bfb1e66b6933ae70000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "5\x00\x00\x00" +2012-12-05 15:43:18.541445 D [44656:70154092501720] [50bfb1e66b6933ae70000001] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes +2012-12-05 15:43:18.541648 T [44656:70154092501720] [50bfb1e66b6933ae70000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "\x02servicemethod\x00\x14\x00\x00\x00TestService.Forward\x00\x10seq\x00\x00\x00\x00\x00\x00" +2012-12-05 15:43:18.541677 D [44656:70154092501720] [50bfb1e66b6933ae70000001] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 49 bytes +2012-12-05 15:43:18.541712 D [44656:70154092501720] [50bfb1e66b6933ae70000001] RubySkynet::Connection: 127.0.0.1:2000 -- Response Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 15:43:18.541719 D [44656:70154092501720] [50bfb1e66b6933ae70000001] RubySkynet::Connection: 127.0.0.1:2000 -- Reading response from server +2012-12-05 15:43:18.542097 T [44656:70154092501720] [50bfb1e66b6933ae70000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "&\x00\x00\x00" +2012-12-05 15:43:18.542125 D [44656:70154092501720] [50bfb1e66b6933ae70000001] (0.4ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes +2012-12-05 15:43:18.542177 T [44656:70154092501720] [50bfb1e66b6933ae70000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "\x02out\x00\x18\x00\x00\x00\x17\x00\x00\x00\x02result\x00\x06\x00\x00\x00test1\x00\x00\x00\x00" +2012-12-05 15:43:18.542183 D [44656:70154092501720] [50bfb1e66b6933ae70000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 34 bytes +2012-12-05 15:43:18.542239 T [44656:70154092501720] [50bfb1e66b6933ae70000001] RubySkynet::Connection: 127.0.0.1:2000 -- Response -- {"out"=>"\x17\x00\x00\x00\x02result\x00\x06\x00\x00\x00test1\x00\x00"} +2012-12-05 15:43:18.542265 T [44656:70154092501720] [50bfb1e66b6933ae70000001] RubySkynet::Connection: 127.0.0.1:2000 -- Return Value -- {"result"=>"test1"} +2012-12-05 15:43:18.542289 I [44656:70154092501720] [50bfb1e66b6933ae70000001] (30.0ms) RubySkynet::Client: TestService/1/Test -- Called Skynet Service: TestService.test1 +2012-12-05 15:43:18.543603 D [44656:70154092501720] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f9c0ba3dcf8>(70154093457020) self=connections=70154093457020 checked_out=70154093457020 with_map= +2012-12-05 15:43:18.543963 T [44656:70154092501720] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- <"+/services/TestService/1/Test/127.0.0.1/2000H +2012-12-05 15:43:18.544015 D [44656:70154092501720] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 64 bytes +2012-12-05 15:43:18.545332 T [44656:70154097343100] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x006" +2012-12-05 15:43:18.545345 D [44656:70154097343100] (15.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:43:18.546942 T [44656:70154092501720] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 15:43:18.546985 D [44656:70154092501720] (3.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:43:18.547190 T [44656:70154092501720] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00" +2012-12-05 15:43:18.547227 D [44656:70154092501720] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 2 bytes +2012-12-05 15:43:18.547331 D [44656:70154092501720] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007f9c0ba3dcf8>(70154093457020) self=connections=70154093457020 checked_out= with_map= +2012-12-05 15:43:18.548357 T [44656:70154097343100] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\b\x18\x82\x1D*+/services/TestService/1/Test/127.0.0.1/20002\x00" +2012-12-05 15:43:18.548371 D [44656:70154097343100] (3.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 54 bytes +2012-12-05 15:43:18.548525 D [44656:70154097343100] RubySkynet::Registry -- #monitor Service stopped, remove: TestService/1/Test => 127.0.0.1:2000 +2012-12-05 15:43:18.548550 I [44656:70154097343100] RubySkynet::Registry -- Calling callback for server: 127.0.0.1:2000 +2012-12-05 15:43:18.548693 D [44656:70154097343100] RubySkynet::Connection -- Connection pool for server:127.0.0.1:2000 has been released +2012-12-05 15:43:18.548706 D [44656:70154097343100] RubySkynet::Registry -- Updated registry -- {} +2012-12-05 15:43:18.548968 T [44656:70154097343100] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-05 15:43:18.549015 D [44656:70154097343100] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 15:43:18.550014 D [44656:70154092854500] SimpleServer -- Waiting for a client to connect +2012-12-05 15:43:18.551653 D [44656:70154092501720] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f9c0ba3dcf8>(70154093457020) self=connections=70154093457020 checked_out=70154093457020 with_map= +2012-12-05 15:43:18.552034 T [44656:70154092501720] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "+/services/TestService/1/Test/127.0.0.1/2000*{"Config":{"UUID":"3978b371-15e9-40f8-9b7b-59ae88d8c7ec","Name":"TestService","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"127.0.0.1","Port":2000,"MaxPort":2999}},"Registered":true}H +2012-12-05 15:43:18.552128 D [44656:70154092501720] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 261 bytes +2012-12-05 15:43:18.554351 T [44656:70154097343100] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\xF9" +2012-12-05 15:43:18.554367 D [44656:70154097343100] (5.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:43:18.554947 T [44656:70154097343100] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\x83\x1D*+/services/TestService/1/Test/127.0.0.1/20002\xC2\x01{\"Config\":{\"UUID\":\"3978b371-15e9-40f8-9b7b-59ae88d8c7ec\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"127.0.0.1\",\"Port\":2000,\"MaxPort\":2999}},\"Registered\":true}" +2012-12-05 15:43:18.554955 D [44656:70154097343100] (0.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 249 bytes +2012-12-05 15:43:18.556715 D [44656:70154097343100] RubySkynet::Registry -- #monitor Add/Update Service: TestService/1/Test => 127.0.0.1:2000 +2012-12-05 15:43:18.556733 D [44656:70154097343100] RubySkynet::Registry -- Updated registry -- {"TestService/1/Test"=>["127.0.0.1:2000"]} +2012-12-05 15:43:18.556984 T [44656:70154097343100] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-05 15:43:18.557081 D [44656:70154097343100] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 15:43:18.558137 T [44656:70154092501720] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 15:43:18.558149 D [44656:70154092501720] (6.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:43:18.558278 T [44656:70154092501720] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\x83\x1D" +2012-12-05 15:43:18.558285 D [44656:70154092501720] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 15:43:18.558396 D [44656:70154092501720] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007f9c0ba3dcf8>(70154093457020) self=connections=70154093457020 checked_out= with_map= +2012-12-05 15:43:18.559373 D [44656:70154092854500] SimpleServer -- Waiting for a client to connect +2012-12-05 15:43:18.559477 D [44656:70154092854500] SimpleServer -- Client connected, waiting for data from client +2012-12-05 15:43:18.559901 D [44656:70154092501720] [50bfb1e66b6933ae70000002] RubySkynet::Connection: 127.0.0.1:2000 -- Waiting for Service Handshake +2012-12-05 15:43:18.560299 T [44656:70154092501720] [50bfb1e66b6933ae70000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "$\x00\x00\x00" +2012-12-05 15:43:18.560312 D [44656:70154092501720] [50bfb1e66b6933ae70000002] (0.4ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes +2012-12-05 15:43:18.560364 T [44656:70154092501720] [50bfb1e66b6933ae70000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "\bregistered\x00\x01\x02clientid\x00\x04\x00\x00\x00123\x00\x00" +2012-12-05 15:43:18.560370 D [44656:70154092501720] [50bfb1e66b6933ae70000002] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 32 bytes +2012-12-05 15:43:18.560404 T [44656:70154092501720] [50bfb1e66b6933ae70000002] RubySkynet::Connection: 127.0.0.1:2000 -- Service Handshake -- {"registered"=>true, "clientid"=>"123"} +2012-12-05 15:43:18.560416 D [44656:70154092501720] [50bfb1e66b6933ae70000002] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Client Handshake +2012-12-05 15:43:18.560422 T [44656:70154092501720] [50bfb1e66b6933ae70000002] RubySkynet::Connection: 127.0.0.1:2000 -- Client Handshake -- {"clientid"=>"123"} +2012-12-05 15:43:18.560438 T [44656:70154092501720] [50bfb1e66b6933ae70000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- clientid123 +2012-12-05 15:43:18.560473 D [44656:70154092501720] [50bfb1e66b6933ae70000002] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 23 bytes +2012-12-05 15:43:18.560528 D [44656:70154092501720] [50bfb1e66b6933ae70000002] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Header +2012-12-05 15:43:18.560538 T [44656:70154092501720] [50bfb1e66b6933ae70000002] RubySkynet::Connection: 127.0.0.1:2000 -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 15:43:18.560558 T [44656:70154092501720] [50bfb1e66b6933ae70000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- 5servicemethodTestService.Forwardseq +2012-12-05 15:43:18.560596 D [44656:70154092501720] [50bfb1e66b6933ae70000002] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 53 bytes +2012-12-05 15:43:18.560637 D [44656:70154092501720] [50bfb1e66b6933ae70000002] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Request +2012-12-05 15:43:18.560643 T [44656:70154092501720] [50bfb1e66b6933ae70000002] RubySkynet::Connection: 127.0.0.1:2000 -- Request -- {"clientid"=>"123", "in"=>"\x17\x00\x00\x00\x01duration\x00\x00\x00\x00\x00\x00\x00\f@\x00", "method"=>"sleep", "requestinfo"=>{"requestid"=>"50bfb1e66b6933ae70000002", "retrycount"=>0, "originaddress"=>""}} +2012-12-05 15:43:18.560649 T [44656:70154092501720] [50bfb1e66b6933ae70000002] RubySkynet::Connection: 127.0.0.1:2000 -- Parameters: -- {"duration"=>3.5} +2012-12-05 15:43:18.560681 T [44656:70154092501720] [50bfb1e66b6933ae70000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- clientid123induration @methodsleeprequestinfoQrequestid50bfb1e66b6933ae70000002retrycountoriginaddress +2012-12-05 15:43:18.560737 D [44656:70154092501720] [50bfb1e66b6933ae70000002] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 167 bytes +2012-12-05 15:43:18.560756 D [44656:70154092501720] [50bfb1e66b6933ae70000002] RubySkynet::Connection: 127.0.0.1:2000 -- Reading header from server +2012-12-05 15:43:18.561668 D [44656:70154092854500] SimpleServer -- ****************** -2012-10-18 16:32:10.473677 D [1344:70126217532320] SimpleServer -- Received Request -2012-10-18 16:32:10.473677 D [1344:70126217532320] SimpleServer -- Received Request -2012-10-18 16:32:10.473686 T [1344:70126217532320] SimpleServer -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} -2012-10-18 16:32:10.473686 T [1344:70126217532320] SimpleServer -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} -- {"servicemethod"=>"TestService.Forward", "seq"=>0} -2012-10-18 16:32:10.473738 D [1344:70126217157340] [5080674a6b69330540000001] (0.4ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 53 bytes -2012-10-18 16:32:10.473738 D [1344:70126217157340] [5080674a6b69330540000001] (0.4ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 53 bytes -2012-10-18 16:32:10.473778 D [1344:70126217157340] [5080674a6b69330540000001] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Request -2012-10-18 16:32:10.473778 D [1344:70126217157340] [5080674a6b69330540000001] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Request -2012-10-18 16:32:10.473788 T [1344:70126217157340] [5080674a6b69330540000001] RubySkynet::Connection: 127.0.0.1:2000 -- Request -- {"clientid"=>"123", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"test1", "requestinfo"=>{"requestid"=>"5080674a6b69330540000001", "retrycount"=>0, "originaddress"=>""}} -2012-10-18 16:32:10.473788 T [1344:70126217157340] [5080674a6b69330540000001] RubySkynet::Connection: 127.0.0.1:2000 -- Request -- {"clientid"=>"123", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"test1", "requestinfo"=>{"requestid"=>"5080674a6b69330540000001", "retrycount"=>0, "originaddress"=>""}} -- {"clientid"=>"123", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"test1", "requestinfo"=>{"requestid"=>"5080674a6b69330540000001", "retrycount"=>0, "originaddress"=>""}} -2012-10-18 16:32:10.473797 T [1344:70126217157340] [5080674a6b69330540000001] RubySkynet::Connection: 127.0.0.1:2000 -- Parameters: -- {"some"=>"parameters"} -2012-10-18 16:32:10.473797 T [1344:70126217157340] [5080674a6b69330540000001] RubySkynet::Connection: 127.0.0.1:2000 -- Parameters: -- {"some"=>"parameters"} -- {"some"=>"parameters"} -2012-10-18 16:32:10.473823 T [1344:70126217157340] [5080674a6b69330540000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- clientid123insome parametersmethodtest1requestinfoQrequestid5080674a6b69330540000001retrycountoriginaddress -2012-10-18 16:32:10.473823 T [1344:70126217157340] [5080674a6b69330540000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- clientid123insome parametersmethodtest1requestinfoQrequestid5080674a6b69330540000001retrycountoriginaddress -- clientid123insome parametersmethodtest1requestinfoQrequestid5080674a6b69330540000001retrycountoriginaddress -2012-10-18 16:32:10.473867 D [1344:70126217157340] [5080674a6b69330540000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 170 bytes -2012-10-18 16:32:10.473867 D [1344:70126217157340] [5080674a6b69330540000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 170 bytes -2012-10-18 16:32:10.473884 D [1344:70126217157340] [5080674a6b69330540000001] RubySkynet::Connection: 127.0.0.1:2000 -- Reading header from server -2012-10-18 16:32:10.473884 D [1344:70126217157340] [5080674a6b69330540000001] RubySkynet::Connection: 127.0.0.1:2000 -- Reading header from server -2012-10-18 16:32:10.474000 T [1344:70126217532320] SimpleServer -- Request -- {"clientid"=>"123", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"test1", "requestinfo"=>{"requestid"=>"5080674a6b69330540000001", "retrycount"=>0, "originaddress"=>""}} -2012-10-18 16:32:10.474000 T [1344:70126217532320] SimpleServer -- Request -- {"clientid"=>"123", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"test1", "requestinfo"=>{"requestid"=>"5080674a6b69330540000001", "retrycount"=>0, "originaddress"=>""}} -- {"clientid"=>"123", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"test1", "requestinfo"=>{"requestid"=>"5080674a6b69330540000001", "retrycount"=>0, "originaddress"=>""}} -2012-10-18 16:32:10.474025 D [1344:70126217532320] SimpleServer -- Sending Header -2012-10-18 16:32:10.474025 D [1344:70126217532320] SimpleServer -- Sending Header -2012-10-18 16:32:10.474086 D [1344:70126217532320] SimpleServer -- Sending Reply -2012-10-18 16:32:10.474086 D [1344:70126217532320] SimpleServer -- Sending Reply -2012-10-18 16:32:10.474098 T [1344:70126217532320] SimpleServer -- Reply -- {"result"=>"test1"} -2012-10-18 16:32:10.474098 T [1344:70126217532320] SimpleServer -- Reply -- {"result"=>"test1"} -- {"result"=>"test1"} -2012-10-18 16:32:10.474351 T [1344:70126217157340] [5080674a6b69330540000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "5\x00\x00\x00" -2012-10-18 16:32:10.474351 T [1344:70126217157340] [5080674a6b69330540000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "5\x00\x00\x00" -- "5\x00\x00\x00" -2012-10-18 16:32:10.474366 D [1344:70126217157340] [5080674a6b69330540000001] (0.5ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes -2012-10-18 16:32:10.474366 D [1344:70126217157340] [5080674a6b69330540000001] (0.5ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes -2012-10-18 16:32:10.474423 T [1344:70126217157340] [5080674a6b69330540000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "\x02servicemethod\x00\x14\x00\x00\x00TestService.Forward\x00\x10seq\x00\x00\x00\x00\x00\x00" -2012-10-18 16:32:10.474423 T [1344:70126217157340] [5080674a6b69330540000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "\x02servicemethod\x00\x14\x00\x00\x00TestService.Forward\x00\x10seq\x00\x00\x00\x00\x00\x00" -- "\x02servicemethod\x00\x14\x00\x00\x00TestService.Forward\x00\x10seq\x00\x00\x00\x00\x00\x00" -2012-10-18 16:32:10.474434 D [1344:70126217157340] [5080674a6b69330540000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 49 bytes -2012-10-18 16:32:10.474434 D [1344:70126217157340] [5080674a6b69330540000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 49 bytes -2012-10-18 16:32:10.474467 D [1344:70126217157340] [5080674a6b69330540000001] RubySkynet::Connection: 127.0.0.1:2000 -- Response Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} -2012-10-18 16:32:10.474467 D [1344:70126217157340] [5080674a6b69330540000001] RubySkynet::Connection: 127.0.0.1:2000 -- Response Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} -- {"servicemethod"=>"TestService.Forward", "seq"=>0} -2012-10-18 16:32:10.474477 D [1344:70126217157340] [5080674a6b69330540000001] RubySkynet::Connection: 127.0.0.1:2000 -- Reading response from server -2012-10-18 16:32:10.474477 D [1344:70126217157340] [5080674a6b69330540000001] RubySkynet::Connection: 127.0.0.1:2000 -- Reading response from server -2012-10-18 16:32:10.474537 T [1344:70126217157340] [5080674a6b69330540000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "&\x00\x00\x00" -2012-10-18 16:32:10.474537 T [1344:70126217157340] [5080674a6b69330540000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "&\x00\x00\x00" -- "&\x00\x00\x00" -2012-10-18 16:32:10.474547 D [1344:70126217157340] [5080674a6b69330540000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes -2012-10-18 16:32:10.474547 D [1344:70126217157340] [5080674a6b69330540000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes -2012-10-18 16:32:10.474868 T [1344:70126217157340] [5080674a6b69330540000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "\x02out\x00\x18\x00\x00\x00\x17\x00\x00\x00\x02result\x00\x06\x00\x00\x00test1\x00\x00\x00\x00" -2012-10-18 16:32:10.474868 T [1344:70126217157340] [5080674a6b69330540000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "\x02out\x00\x18\x00\x00\x00\x17\x00\x00\x00\x02result\x00\x06\x00\x00\x00test1\x00\x00\x00\x00" -- "\x02out\x00\x18\x00\x00\x00\x17\x00\x00\x00\x02result\x00\x06\x00\x00\x00test1\x00\x00\x00\x00" -2012-10-18 16:32:10.474883 D [1344:70126217157340] [5080674a6b69330540000001] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 34 bytes -2012-10-18 16:32:10.474883 D [1344:70126217157340] [5080674a6b69330540000001] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 34 bytes -2012-10-18 16:32:10.474913 T [1344:70126217157340] [5080674a6b69330540000001] RubySkynet::Connection: 127.0.0.1:2000 -- Response -- {"out"=>"\x17\x00\x00\x00\x02result\x00\x06\x00\x00\x00test1\x00\x00"} -2012-10-18 16:32:10.474913 T [1344:70126217157340] [5080674a6b69330540000001] RubySkynet::Connection: 127.0.0.1:2000 -- Response -- {"out"=>"\x17\x00\x00\x00\x02result\x00\x06\x00\x00\x00test1\x00\x00"} -- {"out"=>"\x17\x00\x00\x00\x02result\x00\x06\x00\x00\x00test1\x00\x00"} -2012-10-18 16:32:10.474938 T [1344:70126217157340] [5080674a6b69330540000001] RubySkynet::Connection: 127.0.0.1:2000 -- Return Value -- {"result"=>"test1"} -2012-10-18 16:32:10.474938 T [1344:70126217157340] [5080674a6b69330540000001] RubySkynet::Connection: 127.0.0.1:2000 -- Return Value -- {"result"=>"test1"} -- {"result"=>"test1"} -2012-10-18 16:32:10.474959 I [1344:70126217157340] [5080674a6b69330540000001] (31.9ms) RubySkynet::Client: TestService/1/Test -- Called Skynet Service: TestService.test1 -2012-10-18 16:32:10.474959 I [1344:70126217157340] [5080674a6b69330540000001] (31.9ms) RubySkynet::Client: TestService/1/Test -- Called Skynet Service: TestService.test1 -2012-10-18 16:32:10.475208 D [1344:70126217157340] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f8f1099c450>(70126217781800) self=connections=70126217781800 checked_out=70126217781800 with_map= -2012-10-18 16:32:10.475208 D [1344:70126217157340] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f8f1099c450>(70126217781800) self=connections=70126217781800 checked_out=70126217781800 with_map= -2012-10-18 16:32:10.475563 T [1344:70126217157340] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- <"+/services/TestService/1/Test/127.0.0.1/2000H -2012-10-18 16:32:10.475563 T [1344:70126217157340] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- <"+/services/TestService/1/Test/127.0.0.1/2000H -- <"+/services/TestService/1/Test/127.0.0.1/2000H -2012-10-18 16:32:10.484184 D [1344:70126217157340] (8.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 64 bytes -2012-10-18 16:32:10.484184 D [1344:70126217157340] (8.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 64 bytes -2012-10-18 16:32:10.487187 T [1344:70126222094900] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x007" -2012-10-18 16:32:10.487187 T [1344:70126222094900] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x007" -- "\x00\x00\x007" -2012-10-18 16:32:10.487219 D [1344:70126222094900] (21.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:32:10.487219 D [1344:70126222094900] (21.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:32:10.489067 T [1344:70126217157340] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x02" -2012-10-18 16:32:10.489067 T [1344:70126217157340] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x02" -- "\x00\x00\x00\x02" -2012-10-18 16:32:10.489131 D [1344:70126217157340] (4.9ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:32:10.489131 D [1344:70126217157340] (4.9ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:32:10.495850 T [1344:70126222094900] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\b\x18\xD3\xD4\x03*+/services/TestService/1/Test/127.0.0.1/20002\x00" -2012-10-18 16:32:10.495850 T [1344:70126222094900] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\b\x18\xD3\xD4\x03*+/services/TestService/1/Test/127.0.0.1/20002\x00" -- "\b\x00\x10\b\x18\xD3\xD4\x03*+/services/TestService/1/Test/127.0.0.1/20002\x00" -2012-10-18 16:32:10.495885 D [1344:70126222094900] (8.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 55 bytes -2012-10-18 16:32:10.495885 D [1344:70126222094900] (8.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 55 bytes -2012-10-18 16:32:10.501913 D [1344:70126222094900] RubySkynet::Registry -- #monitor Service stopped, remove: TestService/1/Test => 127.0.0.1:2000 -2012-10-18 16:32:10.501913 D [1344:70126222094900] RubySkynet::Registry -- #monitor Service stopped, remove: TestService/1/Test => 127.0.0.1:2000 -2012-10-18 16:32:10.501970 I [1344:70126222094900] RubySkynet::Registry -- Calling callback for server: 127.0.0.1:2000 -2012-10-18 16:32:10.501970 I [1344:70126222094900] RubySkynet::Registry -- Calling callback for server: 127.0.0.1:2000 -2012-10-18 16:32:10.502426 D [1344:70126222094900] RubySkynet::Connection -- Connection pool for server:127.0.0.1:2000 has been released -2012-10-18 16:32:10.502426 D [1344:70126222094900] RubySkynet::Connection -- Connection pool for server:127.0.0.1:2000 has been released -2012-10-18 16:32:10.502442 D [1344:70126222094900] RubySkynet::Registry -- Updated registry -- {"TutorialService/1/Development"=>["127.0.0.1:9000"]} -2012-10-18 16:32:10.502442 D [1344:70126222094900] RubySkynet::Registry -- Updated registry -- {"TutorialService/1/Development"=>["127.0.0.1:9000"]} -- {"TutorialService/1/Development"=>["127.0.0.1:9000"]} -2012-10-18 16:32:10.502699 T [1344:70126222094900] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H -2012-10-18 16:32:10.502699 T [1344:70126222094900] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H -- "/services/*/*/*/*/*H -2012-10-18 16:32:10.502794 D [1344:70126222094900] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 33 bytes -2012-10-18 16:32:10.502794 D [1344:70126222094900] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 33 bytes -2012-10-18 16:32:10.509109 T [1344:70126217157340] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00" -2012-10-18 16:32:10.509109 T [1344:70126217157340] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00" -- "\b\x00" -2012-10-18 16:32:10.509153 D [1344:70126217157340] (20.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 2 bytes -2012-10-18 16:32:10.509153 D [1344:70126217157340] (20.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 2 bytes -2012-10-18 16:32:10.509259 D [1344:70126217157340] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007f8f1099c450>(70126217781800) self=connections=70126217781800 checked_out= with_map= -2012-10-18 16:32:10.509259 D [1344:70126217157340] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007f8f1099c450>(70126217781800) self=connections=70126217781800 checked_out= with_map= -2012-10-18 16:32:10.511311 D [1344:70126217157340] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f8f1099c450>(70126217781800) self=connections=70126217781800 checked_out=70126217781800 with_map= -2012-10-18 16:32:10.511311 D [1344:70126217157340] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f8f1099c450>(70126217781800) self=connections=70126217781800 checked_out=70126217781800 with_map= -2012-10-18 16:32:10.511839 T [1344:70126217157340] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "+/services/TestService/1/Test/127.0.0.1/2000*{"Config":{"UUID":"3978b371-15e9-40f8-9b7b-59ae88d8c7ec","Name":"TestService","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"127.0.0.1","Port":2000,"MaxPort":2999}},"Registered":true}H -2012-10-18 16:32:10.511839 T [1344:70126217157340] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "+/services/TestService/1/Test/127.0.0.1/2000*{"Config":{"UUID":"3978b371-15e9-40f8-9b7b-59ae88d8c7ec","Name":"TestService","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"127.0.0.1","Port":2000,"MaxPort":2999}},"Registered":true}H -- "+/services/TestService/1/Test/127.0.0.1/2000*{"Config":{"UUID":"3978b371-15e9-40f8-9b7b-59ae88d8c7ec","Name":"TestService","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"127.0.0.1","Port":2000,"MaxPort":2999}},"Registered":true}H -2012-10-18 16:32:10.511918 D [1344:70126222535140] SimpleServer -- Waiting for a client to connect -2012-10-18 16:32:10.511918 D [1344:70126222535140] SimpleServer -- Waiting for a client to connect -2012-10-18 16:32:10.511967 D [1344:70126217157340] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 261 bytes -2012-10-18 16:32:10.511967 D [1344:70126217157340] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 261 bytes -2012-10-18 16:32:10.514048 T [1344:70126222094900] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\xFA" -2012-10-18 16:32:10.514048 T [1344:70126222094900] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\xFA" -- "\x00\x00\x00\xFA" -2012-10-18 16:32:10.514067 D [1344:70126222094900] (11.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:32:10.514067 D [1344:70126222094900] (11.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:32:10.514744 T [1344:70126217157340] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x06" -2012-10-18 16:32:10.514744 T [1344:70126217157340] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x06" -- "\x00\x00\x00\x06" -2012-10-18 16:32:10.514779 D [1344:70126217157340] (2.8ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:32:10.514779 D [1344:70126217157340] (2.8ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:32:10.515535 T [1344:70126222094900] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xD4\xD4\x03*+/services/TestService/1/Test/127.0.0.1/20002\xC2\x01{\"Config\":{\"UUID\":\"3978b371-15e9-40f8-9b7b-59ae88d8c7ec\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"127.0.0.1\",\"Port\":2000,\"MaxPort\":2999}},\"Registered\":true}" -2012-10-18 16:32:10.515535 T [1344:70126222094900] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xD4\xD4\x03*+/services/TestService/1/Test/127.0.0.1/20002\xC2\x01{\"Config\":{\"UUID\":\"3978b371-15e9-40f8-9b7b-59ae88d8c7ec\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"127.0.0.1\",\"Port\":2000,\"MaxPort\":2999}},\"Registered\":true}" -- "\b\x00\x10\x04\x18\xD4\xD4\x03*+/services/TestService/1/Test/127.0.0.1/20002\xC2\x01{\"Config\":{\"UUID\":\"3978b371-15e9-40f8-9b7b-59ae88d8c7ec\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"127.0.0.1\",\"Port\":2000,\"MaxPort\":2999}},\"Registered\":true}" -2012-10-18 16:32:10.515552 D [1344:70126222094900] (1.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 250 bytes -2012-10-18 16:32:10.515552 D [1344:70126222094900] (1.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 250 bytes -2012-10-18 16:32:10.516086 D [1344:70126222094900] RubySkynet::Registry -- #monitor Add/Update Service: TestService/1/Test => 127.0.0.1:2000 -2012-10-18 16:32:10.516086 D [1344:70126222094900] RubySkynet::Registry -- #monitor Add/Update Service: TestService/1/Test => 127.0.0.1:2000 -2012-10-18 16:32:10.516101 D [1344:70126222094900] RubySkynet::Registry -- Updated registry -- {"TutorialService/1/Development"=>["127.0.0.1:9000"], "TestService/1/Test"=>["127.0.0.1:2000"]} -2012-10-18 16:32:10.516101 D [1344:70126222094900] RubySkynet::Registry -- Updated registry -- {"TutorialService/1/Development"=>["127.0.0.1:9000"], "TestService/1/Test"=>["127.0.0.1:2000"]} -- {"TutorialService/1/Development"=>["127.0.0.1:9000"], "TestService/1/Test"=>["127.0.0.1:2000"]} -2012-10-18 16:32:10.516352 T [1344:70126222094900] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H -2012-10-18 16:32:10.516352 T [1344:70126222094900] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H -- "/services/*/*/*/*/*H -2012-10-18 16:32:10.516433 D [1344:70126222094900] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 33 bytes -2012-10-18 16:32:10.516433 D [1344:70126222094900] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 33 bytes -2012-10-18 16:32:10.528522 T [1344:70126217157340] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xD4\xD4\x03" -2012-10-18 16:32:10.528522 T [1344:70126217157340] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xD4\xD4\x03" -- "\b\x00\x18\xD4\xD4\x03" -2012-10-18 16:32:10.528569 D [1344:70126217157340] (13.8ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 6 bytes -2012-10-18 16:32:10.528569 D [1344:70126217157340] (13.8ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 6 bytes -2012-10-18 16:32:10.528714 D [1344:70126217157340] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007f8f1099c450>(70126217781800) self=connections=70126217781800 checked_out= with_map= -2012-10-18 16:32:10.528714 D [1344:70126217157340] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007f8f1099c450>(70126217781800) self=connections=70126217781800 checked_out= with_map= -2012-10-18 16:32:10.536435 D [1344:70126217157340] [5080674a6b69330540000002] RubySkynet::Connection: 127.0.0.1:2000 -- Waiting for Service Handshake -2012-10-18 16:32:10.536435 D [1344:70126217157340] [5080674a6b69330540000002] RubySkynet::Connection: 127.0.0.1:2000 -- Waiting for Service Handshake -2012-10-18 16:32:10.536696 D [1344:70126222535140] SimpleServer -- Client connected, waiting for data from client -2012-10-18 16:32:10.536696 D [1344:70126222535140] SimpleServer -- Client connected, waiting for data from client -2012-10-18 16:32:10.537517 T [1344:70126217157340] [5080674a6b69330540000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "$\x00\x00\x00" -2012-10-18 16:32:10.537517 T [1344:70126217157340] [5080674a6b69330540000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "$\x00\x00\x00" -- "$\x00\x00\x00" -2012-10-18 16:32:10.537533 D [1344:70126217157340] [5080674a6b69330540000002] (1.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes -2012-10-18 16:32:10.537533 D [1344:70126217157340] [5080674a6b69330540000002] (1.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes -2012-10-18 16:32:10.537598 T [1344:70126217157340] [5080674a6b69330540000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "\bregistered\x00\x01\x02clientid\x00\x04\x00\x00\x00123\x00\x00" -2012-10-18 16:32:10.537598 T [1344:70126217157340] [5080674a6b69330540000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "\bregistered\x00\x01\x02clientid\x00\x04\x00\x00\x00123\x00\x00" -- "\bregistered\x00\x01\x02clientid\x00\x04\x00\x00\x00123\x00\x00" -2012-10-18 16:32:10.537608 D [1344:70126217157340] [5080674a6b69330540000002] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 32 bytes -2012-10-18 16:32:10.537608 D [1344:70126217157340] [5080674a6b69330540000002] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 32 bytes -2012-10-18 16:32:10.537651 T [1344:70126217157340] [5080674a6b69330540000002] RubySkynet::Connection: 127.0.0.1:2000 -- Service Handshake -- {"registered"=>true, "clientid"=>"123"} -2012-10-18 16:32:10.537651 T [1344:70126217157340] [5080674a6b69330540000002] RubySkynet::Connection: 127.0.0.1:2000 -- Service Handshake -- {"registered"=>true, "clientid"=>"123"} -- {"registered"=>true, "clientid"=>"123"} -2012-10-18 16:32:10.537668 D [1344:70126217157340] [5080674a6b69330540000002] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Client Handshake -2012-10-18 16:32:10.537668 D [1344:70126217157340] [5080674a6b69330540000002] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Client Handshake -2012-10-18 16:32:10.537681 T [1344:70126217157340] [5080674a6b69330540000002] RubySkynet::Connection: 127.0.0.1:2000 -- Client Handshake -- {"clientid"=>"123"} -2012-10-18 16:32:10.537681 T [1344:70126217157340] [5080674a6b69330540000002] RubySkynet::Connection: 127.0.0.1:2000 -- Client Handshake -- {"clientid"=>"123"} -- {"clientid"=>"123"} -2012-10-18 16:32:10.537701 T [1344:70126217157340] [5080674a6b69330540000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- clientid123 -2012-10-18 16:32:10.537701 T [1344:70126217157340] [5080674a6b69330540000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- clientid123 -- clientid123 -2012-10-18 16:32:10.537745 D [1344:70126217157340] [5080674a6b69330540000002] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 23 bytes -2012-10-18 16:32:10.537745 D [1344:70126217157340] [5080674a6b69330540000002] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 23 bytes -2012-10-18 16:32:10.537852 D [1344:70126217157340] [5080674a6b69330540000002] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Header -2012-10-18 16:32:10.537852 D [1344:70126217157340] [5080674a6b69330540000002] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Header -2012-10-18 16:32:10.537868 T [1344:70126217157340] [5080674a6b69330540000002] RubySkynet::Connection: 127.0.0.1:2000 -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} -2012-10-18 16:32:10.537868 T [1344:70126217157340] [5080674a6b69330540000002] RubySkynet::Connection: 127.0.0.1:2000 -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} -- {"servicemethod"=>"TestService.Forward", "seq"=>0} -2012-10-18 16:32:10.537892 T [1344:70126217157340] [5080674a6b69330540000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- 5servicemethodTestService.Forwardseq -2012-10-18 16:32:10.537892 T [1344:70126217157340] [5080674a6b69330540000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- 5servicemethodTestService.Forwardseq -- 5servicemethodTestService.Forwardseq -2012-10-18 16:32:10.537938 D [1344:70126217157340] [5080674a6b69330540000002] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 53 bytes -2012-10-18 16:32:10.537938 D [1344:70126217157340] [5080674a6b69330540000002] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 53 bytes -2012-10-18 16:32:10.537977 D [1344:70126217157340] [5080674a6b69330540000002] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Request -2012-10-18 16:32:10.537977 D [1344:70126217157340] [5080674a6b69330540000002] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Request -2012-10-18 16:32:10.537987 T [1344:70126217157340] [5080674a6b69330540000002] RubySkynet::Connection: 127.0.0.1:2000 -- Request -- {"clientid"=>"123", "in"=>"\x17\x00\x00\x00\x01duration\x00\x00\x00\x00\x00\x00\x00\f@\x00", "method"=>"sleep", "requestinfo"=>{"requestid"=>"5080674a6b69330540000002", "retrycount"=>0, "originaddress"=>""}} -2012-10-18 16:32:10.537987 T [1344:70126217157340] [5080674a6b69330540000002] RubySkynet::Connection: 127.0.0.1:2000 -- Request -- {"clientid"=>"123", "in"=>"\x17\x00\x00\x00\x01duration\x00\x00\x00\x00\x00\x00\x00\f@\x00", "method"=>"sleep", "requestinfo"=>{"requestid"=>"5080674a6b69330540000002", "retrycount"=>0, "originaddress"=>""}} -- {"clientid"=>"123", "in"=>"\x17\x00\x00\x00\x01duration\x00\x00\x00\x00\x00\x00\x00\f@\x00", "method"=>"sleep", "requestinfo"=>{"requestid"=>"5080674a6b69330540000002", "retrycount"=>0, "originaddress"=>""}} -2012-10-18 16:32:10.537996 T [1344:70126217157340] [5080674a6b69330540000002] RubySkynet::Connection: 127.0.0.1:2000 -- Parameters: -- {"duration"=>3.5} -2012-10-18 16:32:10.537996 T [1344:70126217157340] [5080674a6b69330540000002] RubySkynet::Connection: 127.0.0.1:2000 -- Parameters: -- {"duration"=>3.5} -- {"duration"=>3.5} -2012-10-18 16:32:10.538023 T [1344:70126217157340] [5080674a6b69330540000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- clientid123induration @methodsleeprequestinfoQrequestid5080674a6b69330540000002retrycountoriginaddress -2012-10-18 16:32:10.538023 T [1344:70126217157340] [5080674a6b69330540000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- clientid123induration @methodsleeprequestinfoQrequestid5080674a6b69330540000002retrycountoriginaddress -- clientid123induration @methodsleeprequestinfoQrequestid5080674a6b69330540000002retrycountoriginaddress -2012-10-18 16:32:10.538066 D [1344:70126217157340] [5080674a6b69330540000002] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 167 bytes -2012-10-18 16:32:10.538066 D [1344:70126217157340] [5080674a6b69330540000002] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 167 bytes -2012-10-18 16:32:10.538085 D [1344:70126217157340] [5080674a6b69330540000002] RubySkynet::Connection: 127.0.0.1:2000 -- Reading header from server -2012-10-18 16:32:10.538085 D [1344:70126217157340] [5080674a6b69330540000002] RubySkynet::Connection: 127.0.0.1:2000 -- Reading header from server -2012-10-18 16:32:10.538928 D [1344:70126222535140] SimpleServer -- -****************** -2012-10-18 16:32:10.538928 D [1344:70126222535140] SimpleServer -- -****************** -2012-10-18 16:32:10.538945 D [1344:70126222535140] SimpleServer -- Received Request -2012-10-18 16:32:10.538945 D [1344:70126222535140] SimpleServer -- Received Request -2012-10-18 16:32:10.538954 T [1344:70126222535140] SimpleServer -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} -2012-10-18 16:32:10.538954 T [1344:70126222535140] SimpleServer -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} -- {"servicemethod"=>"TestService.Forward", "seq"=>0} -2012-10-18 16:32:10.539052 T [1344:70126222535140] SimpleServer -- Request -- {"clientid"=>"123", "in"=>"\x17\x00\x00\x00\x01duration\x00\x00\x00\x00\x00\x00\x00\f@\x00", "method"=>"sleep", "requestinfo"=>{"requestid"=>"5080674a6b69330540000002", "retrycount"=>0, "originaddress"=>""}} -2012-10-18 16:32:10.539052 T [1344:70126222535140] SimpleServer -- Request -- {"clientid"=>"123", "in"=>"\x17\x00\x00\x00\x01duration\x00\x00\x00\x00\x00\x00\x00\f@\x00", "method"=>"sleep", "requestinfo"=>{"requestid"=>"5080674a6b69330540000002", "retrycount"=>0, "originaddress"=>""}} -- {"clientid"=>"123", "in"=>"\x17\x00\x00\x00\x01duration\x00\x00\x00\x00\x00\x00\x00\f@\x00", "method"=>"sleep", "requestinfo"=>{"requestid"=>"5080674a6b69330540000002", "retrycount"=>0, "originaddress"=>""}} -2012-10-18 16:32:13.539247 W [1344:70126217157340] [5080674a6b69330540000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read Timeout waiting for server to reply -2012-10-18 16:32:13.539247 W [1344:70126217157340] [5080674a6b69330540000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read Timeout waiting for server to reply -2012-10-18 16:32:13.539404 D [1344:70126217157340] [5080674a6b69330540000002] (3001.3ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes -- ResilientSocket::ReadTimeout: Timedout after 3.0 seconds trying to read from 127.0.0.1:2000 -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:391:in `block in read' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.7.0/lib/semantic_logger/base.rb:181:in `benchmark_debug' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:373:in `read' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:229:in `read_bson_document' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:177:in `rpc_call' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:67:in `block (3 levels) in call' +2012-12-05 15:43:18.561679 D [44656:70154092854500] SimpleServer -- Received Request +2012-12-05 15:43:18.561685 T [44656:70154092854500] SimpleServer -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 15:43:18.561764 T [44656:70154092854500] SimpleServer -- Request -- {"clientid"=>"123", "in"=>"\x17\x00\x00\x00\x01duration\x00\x00\x00\x00\x00\x00\x00\f@\x00", "method"=>"sleep", "requestinfo"=>{"requestid"=>"50bfb1e66b6933ae70000002", "retrycount"=>0, "originaddress"=>""}} +2012-12-05 15:43:21.560481 W [44656:70154092501720] [50bfb1e66b6933ae70000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read Timeout waiting for server to reply +2012-12-05 15:43:21.560642 D [44656:70154092501720] [50bfb1e66b6933ae70000002] (2999.8ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes -- ResilientSocket::ReadTimeout: Timedout after 3.0 seconds trying to read from 127.0.0.1:2000 +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:392:in `block in read' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_debug' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:374:in `read' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/common.rb:10:in `read_bson_document' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:178:in `rpc_call' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:65:in `block (3 levels) in call' /Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/gene_pool-1.3.0/lib/gene_pool.rb:134:in `with_connection' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:213:in `with_connection' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:66:in `block (2 levels) in call' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.7.0/lib/semantic_logger/base.rb:181:in `benchmark_info' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:62:in `block in call' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.7.0/lib/semantic_logger/base.rb:161:in `with_tags' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:61:in `call' -/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_client_test.rb:84:in `block (5 levels) in <class:RubySkynetClientTest>' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:214:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:64:in `block (2 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_info' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:60:in `block in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:126:in `with_tags' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:59:in `call' +/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_client_test.rb:87:in `block (5 levels) in <class:RubySkynetClientTest>' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:330:in `assert_raises' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/assertions.rb:69:in `assert_raise' -/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_client_test.rb:82:in `block (4 levels) in <class:RubySkynetClientTest>' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.0/lib/shoulda/context/context.rb:398:in `call' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.0/lib/shoulda/context/context.rb:398:in `block in create_test_from_should_hash' -/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:949:in `run' +/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_client_test.rb:85:in `block (4 levels) in <class:RubySkynetClientTest>' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `block in create_test_from_should_hash' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/mocha-0.10.5/lib/mocha/integration/mini_test/version_230_to_262.rb:28:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/testcase.rb:17:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:787:in `block in _run_suite' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `map' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `_run_suite' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:565:in `block in _run_suites' @@ -5388,31 +11248,31 @@ /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:884:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:21:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:326:in `block (2 levels) in autorun' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:27:in `run_once' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:325:in `block in autorun' -2012-10-18 16:32:13.539404 D [1344:70126217157340] [5080674a6b69330540000002] (3001.3ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes -- ResilientSocket::ReadTimeout: Timedout after 3.0 seconds trying to read from 127.0.0.1:2000 -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:391:in `block in read' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.7.0/lib/semantic_logger/base.rb:181:in `benchmark_debug' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:373:in `read' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:229:in `read_bson_document' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:177:in `rpc_call' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:67:in `block (3 levels) in call' +2012-12-05 15:43:21.560694 I [44656:70154092501720] [50bfb1e66b6933ae70000002] (3002.2ms) RubySkynet::Client: TestService/1/Test -- Called Skynet Service: TestService.sleep -- ResilientSocket::ReadTimeout: Timedout after 3.0 seconds trying to read from 127.0.0.1:2000 +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:392:in `block in read' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_debug' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:374:in `read' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/common.rb:10:in `read_bson_document' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:178:in `rpc_call' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:65:in `block (3 levels) in call' /Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/gene_pool-1.3.0/lib/gene_pool.rb:134:in `with_connection' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:213:in `with_connection' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:66:in `block (2 levels) in call' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.7.0/lib/semantic_logger/base.rb:181:in `benchmark_info' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:62:in `block in call' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.7.0/lib/semantic_logger/base.rb:161:in `with_tags' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:61:in `call' -/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_client_test.rb:84:in `block (5 levels) in <class:RubySkynetClientTest>' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:214:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:64:in `block (2 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_info' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:60:in `block in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:126:in `with_tags' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:59:in `call' +/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_client_test.rb:87:in `block (5 levels) in <class:RubySkynetClientTest>' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:330:in `assert_raises' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/assertions.rb:69:in `assert_raise' -/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_client_test.rb:82:in `block (4 levels) in <class:RubySkynetClientTest>' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.0/lib/shoulda/context/context.rb:398:in `call' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.0/lib/shoulda/context/context.rb:398:in `block in create_test_from_should_hash' -/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:949:in `run' +/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_client_test.rb:85:in `block (4 levels) in <class:RubySkynetClientTest>' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `block in create_test_from_should_hash' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/mocha-0.10.5/lib/mocha/integration/mini_test/version_230_to_262.rb:28:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/testcase.rb:17:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:787:in `block in _run_suite' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `map' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `_run_suite' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:565:in `block in _run_suites' @@ -5425,31 +11285,36 @@ /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:895:in `_run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:884:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:21:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:326:in `block (2 levels) in autorun' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:27:in `run_once' -/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:325:in `block in autorun' -- ResilientSocket::ReadTimeout: Timedout after 3.0 seconds trying to read from 127.0.0.1:2000 -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:391:in `block in read' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.7.0/lib/semantic_logger/base.rb:181:in `benchmark_debug' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:373:in `read' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:229:in `read_bson_document' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:177:in `rpc_call' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:67:in `block (3 levels) in call' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/gene_pool-1.3.0/lib/gene_pool.rb:134:in `with_connection' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:213:in `with_connection' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:66:in `block (2 levels) in call' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.7.0/lib/semantic_logger/base.rb:181:in `benchmark_info' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:62:in `block in call' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.7.0/lib/semantic_logger/base.rb:161:in `with_tags' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:61:in `call' -/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_client_test.rb:84:in `block (5 levels) in <class:RubySkynetClientTest>' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:325:in `block in autorun' +2012-12-05 15:43:21.561814 D [44656:70154092501720] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f9c0ba3dcf8>(70154093457020) self=connections=70154093457020 checked_out=70154093457020 with_map= +2012-12-05 15:43:21.562310 T [44656:70154092501720] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- <"+/services/TestService/1/Test/127.0.0.1/2000H +2012-12-05 15:43:21.562363 D [44656:70154092501720] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 64 bytes +2012-12-05 15:43:21.566348 T [44656:70154097343100] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x006" +2012-12-05 15:43:21.566372 D [44656:70154097343100] (3009.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:43:21.568581 T [44656:70154092501720] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 15:43:21.568594 D [44656:70154092501720] (6.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:43:21.568677 T [44656:70154092501720] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00" +2012-12-05 15:43:21.568684 D [44656:70154092501720] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 2 bytes +2012-12-05 15:43:21.568793 D [44656:70154092501720] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007f9c0ba3dcf8>(70154093457020) self=connections=70154093457020 checked_out= with_map= +2012-12-05 15:43:21.569565 W [44656:70154092501720] [50bfb1e96b6933ae70000003] RubySkynet::Registry -- No servers available for service: SomeService with version: * in region: Development +2012-12-05 15:43:21.569653 I [44656:70154092501720] [50bfb1e96b6933ae70000003] (0.3ms) RubySkynet::Client: SomeService/*/Development -- Called Skynet Service: SomeService.test -- RubySkynet::ServiceUnavailable: No servers available for service: SomeService with version: * in region: Development +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/registry.rb:92:in `server_for' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:64:in `block (2 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_info' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:60:in `block in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:126:in `with_tags' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:59:in `call' +/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_client_test.rb:26:in `block (4 levels) in <class:RubySkynetClientTest>' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:330:in `assert_raises' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/assertions.rb:69:in `assert_raise' -/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_client_test.rb:82:in `block (4 levels) in <class:RubySkynetClientTest>' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.0/lib/shoulda/context/context.rb:398:in `call' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.0/lib/shoulda/context/context.rb:398:in `block in create_test_from_should_hash' -/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:949:in `run' +/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_client_test.rb:24:in `block (3 levels) in <class:RubySkynetClientTest>' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `block in create_test_from_should_hash' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/mocha-0.10.5/lib/mocha/integration/mini_test/version_230_to_262.rb:28:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/testcase.rb:17:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:787:in `block in _run_suite' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `map' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `_run_suite' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:565:in `block in _run_suites' @@ -5463,31 +11328,271 @@ /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:884:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:21:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:326:in `block (2 levels) in autorun' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:27:in `run_once' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:325:in `block in autorun' -2012-10-18 16:32:13.539458 I [1344:70126217157340] [5080674a6b69330540000002] (3010.4ms) RubySkynet::Client: TestService/1/Test -- Called Skynet Service: TestService.sleep -- ResilientSocket::ReadTimeout: Timedout after 3.0 seconds trying to read from 127.0.0.1:2000 -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:391:in `block in read' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.7.0/lib/semantic_logger/base.rb:181:in `benchmark_debug' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:373:in `read' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:229:in `read_bson_document' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:177:in `rpc_call' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:67:in `block (3 levels) in call' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/gene_pool-1.3.0/lib/gene_pool.rb:134:in `with_connection' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:213:in `with_connection' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:66:in `block (2 levels) in call' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.7.0/lib/semantic_logger/base.rb:181:in `benchmark_info' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:62:in `block in call' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.7.0/lib/semantic_logger/base.rb:161:in `with_tags' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:61:in `call' -/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_client_test.rb:84:in `block (5 levels) in <class:RubySkynetClientTest>' +2012-12-05 15:43:21.572035 T [44656:70154097343100] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\b\x18\x87\x1D*+/services/TestService/1/Test/127.0.0.1/20002\x00" +2012-12-05 15:43:21.572049 D [44656:70154097343100] (5.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 54 bytes +2012-12-05 15:43:21.572258 D [44656:70154097343100] RubySkynet::Registry -- #monitor Service stopped, remove: TestService/1/Test => 127.0.0.1:2000 +2012-12-05 15:43:21.572285 I [44656:70154097343100] RubySkynet::Registry -- Calling callback for server: 127.0.0.1:2000 +2012-12-05 15:43:21.572342 D [44656:70154097343100] RubySkynet::Connection -- Connection pool for server:127.0.0.1:2000 has been released +2012-12-05 15:43:21.572355 D [44656:70154097343100] RubySkynet::Registry -- Updated registry -- {} +2012-12-05 15:43:21.573588 T [44656:70154097343100] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-05 15:43:21.574500 D [44656:70154097343100] (0.9ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 15:43:21.576701 D [44656:70154092883280] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f9c0ba3dcf8>(70154093457020) self=connections=70154093457020 checked_out=70154093457020 with_map= +2012-12-05 15:43:21.577040 T [44656:70154092883280] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "+/services/TestService/1/Test/localhost/2100*{"Config":{"UUID":"localhost:2100-44656-TestService-70154097340600","Name":"TestService","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"localhost","Port":2100,"MaxPort":3099}},"Registered":true}H +2012-12-05 15:43:21.577128 D [44656:70154092883280] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 272 bytes +2012-12-05 15:43:21.582512 T [44656:70154092883280] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 15:43:21.582539 D [44656:70154092883280] (5.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:43:21.583331 T [44656:70154092883280] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\x88\x1D" +2012-12-05 15:43:21.583338 D [44656:70154092883280] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 15:43:21.583450 D [44656:70154092883280] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007f9c0ba3dcf8>(70154093457020) self=connections=70154093457020 checked_out= with_map= +2012-12-05 15:43:21.583500 T [44656:70154097343100] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01\x04" +2012-12-05 15:43:21.583506 D [44656:70154097343100] (9.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:43:21.583572 T [44656:70154097343100] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\x88\x1D*+/services/TestService/1/Test/localhost/21002\xCD\x01{\"Config\":{\"UUID\":\"localhost:2100-44656-TestService-70154097340600\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-05 15:43:21.583578 D [44656:70154097343100] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 260 bytes +2012-12-05 15:43:21.583737 D [44656:70154097343100] RubySkynet::Registry -- #monitor Add/Update Service: TestService/1/Test => localhost:2100 +2012-12-05 15:43:21.583749 D [44656:70154097343100] RubySkynet::Registry -- Updated registry -- {"TestService/1/Test"=>["localhost:2100"]} +2012-12-05 15:43:21.583973 T [44656:70154097343100] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-05 15:43:21.584044 D [44656:70154097343100] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 15:43:21.584160 I [44656:70154092883280] RubySkynet::Server -- Starting listener on localhost:2100 +2012-12-05 15:43:21.584175 D [44656:70154092883280] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 15:43:21.590920 D [44656:70154092501720] [50bfb1e96b6933ae70000004] RubySkynet::Connection: localhost:2100 -- Waiting for Service Handshake +2012-12-05 15:43:21.591271 D [44656:70154092883280] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 15:43:21.591377 D [44656:70154092883280] RubySkynet::Server -- Client connected, waiting for data from client +2012-12-05 15:43:21.593159 T [44656:70154092501720] [50bfb1e96b6933ae70000004] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "9\x00\x00\x00" +2012-12-05 15:43:21.593172 D [44656:70154092501720] [50bfb1e96b6933ae70000004] (2.2ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 4 bytes +2012-12-05 15:43:21.593280 T [44656:70154092501720] [50bfb1e96b6933ae70000004] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "\bregistered\x00\x01\x02clientid\x00\x19\x00\x00\x0050bfb1e96b6933ae70000005\x00\x00" +2012-12-05 15:43:21.593286 D [44656:70154092501720] [50bfb1e96b6933ae70000004] (0.1ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 53 bytes +2012-12-05 15:43:21.593327 T [44656:70154092501720] [50bfb1e96b6933ae70000004] RubySkynet::Connection: localhost:2100 -- Service Handshake -- {"registered"=>true, "clientid"=>"50bfb1e96b6933ae70000005"} +2012-12-05 15:43:21.593340 D [44656:70154092501720] [50bfb1e96b6933ae70000004] RubySkynet::Connection: localhost:2100 -- Sending Client Handshake +2012-12-05 15:43:21.593346 T [44656:70154092501720] [50bfb1e96b6933ae70000004] RubySkynet::Connection: localhost:2100 -- Client Handshake -- {"clientid"=>"50bfb1e96b6933ae70000005"} +2012-12-05 15:43:21.593364 T [44656:70154092501720] [50bfb1e96b6933ae70000004] ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sending -- ,clientid50bfb1e96b6933ae70000005 +2012-12-05 15:43:21.593410 D [44656:70154092501720] [50bfb1e96b6933ae70000004] (0.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sent 44 bytes +2012-12-05 15:43:21.593479 D [44656:70154092501720] [50bfb1e96b6933ae70000004] RubySkynet::Connection: localhost:2100 -- Sending Header +2012-12-05 15:43:21.593489 T [44656:70154092501720] [50bfb1e96b6933ae70000004] RubySkynet::Connection: localhost:2100 -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 15:43:21.593510 T [44656:70154092501720] [50bfb1e96b6933ae70000004] ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sending -- 5servicemethodTestService.Forwardseq +2012-12-05 15:43:21.593735 D [44656:70154092883280] RubySkynet::Server -- +****************** +2012-12-05 15:43:21.593748 D [44656:70154092883280] RubySkynet::Server -- Received Request +2012-12-05 15:43:21.593758 T [44656:70154092883280] RubySkynet::Server -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 15:43:21.593998 D [44656:70154092501720] [50bfb1e96b6933ae70000004] (0.5ms) ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sent 53 bytes +2012-12-05 15:43:21.594062 D [44656:70154092501720] [50bfb1e96b6933ae70000004] RubySkynet::Connection: localhost:2100 -- Sending Request +2012-12-05 15:43:21.594069 T [44656:70154092501720] [50bfb1e96b6933ae70000004] RubySkynet::Connection: localhost:2100 -- Request -- {"clientid"=>"50bfb1e96b6933ae70000005", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"echo", "requestinfo"=>{"requestid"=>"50bfb1e96b6933ae70000004", "retrycount"=>0, "originaddress"=>""}} +2012-12-05 15:43:21.594075 T [44656:70154092501720] [50bfb1e96b6933ae70000004] RubySkynet::Connection: localhost:2100 -- Parameters: -- {"some"=>"parameters"} +2012-12-05 15:43:21.594093 T [44656:70154092501720] [50bfb1e96b6933ae70000004] ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sending -- clientid50bfb1e96b6933ae70000005insome parametersmethodechorequestinfoQrequestid50bfb1e96b6933ae70000004retrycountoriginaddress +2012-12-05 15:43:21.594463 D [44656:70154092501720] [50bfb1e96b6933ae70000004] (0.4ms) ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sent 190 bytes +2012-12-05 15:43:21.594481 D [44656:70154092501720] [50bfb1e96b6933ae70000004] RubySkynet::Connection: localhost:2100 -- Reading header from server +2012-12-05 15:43:21.594697 T [44656:70154092883280] RubySkynet::Server -- Request -- {"clientid"=>"50bfb1e96b6933ae70000005", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"echo", "requestinfo"=>{"requestid"=>"50bfb1e96b6933ae70000004", "retrycount"=>0, "originaddress"=>""}} +2012-12-05 15:43:21.594720 T [44656:70154092883280] RubySkynet::Server -- Parameters -- {"some"=>"parameters"} +2012-12-05 15:43:21.594741 T [44656:70154092883280] RubySkynet::Server -- Method Call: echo with parameters: -- {"some"=>"parameters"} +2012-12-05 15:43:21.594753 D [44656:70154092883280] (0.0ms) RubySkynet::Server -- Called: TestService#echo +2012-12-05 15:43:21.594773 D [44656:70154092883280] RubySkynet::Server -- Sending Header +2012-12-05 15:43:21.594831 D [44656:70154092883280] RubySkynet::Server -- Sending Reply +2012-12-05 15:43:21.594845 T [44656:70154092883280] RubySkynet::Server -- Reply -- {"some"=>"parameters"} +2012-12-05 15:43:21.595216 T [44656:70154092501720] [50bfb1e96b6933ae70000004] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "5\x00\x00\x00" +2012-12-05 15:43:21.595226 D [44656:70154092501720] [50bfb1e96b6933ae70000004] (0.7ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 4 bytes +2012-12-05 15:43:21.595310 T [44656:70154092501720] [50bfb1e96b6933ae70000004] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "\x02servicemethod\x00\x14\x00\x00\x00TestService.Forward\x00\x10seq\x00\x00\x00\x00\x00\x00" +2012-12-05 15:43:21.595317 D [44656:70154092501720] [50bfb1e96b6933ae70000004] (0.1ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 49 bytes +2012-12-05 15:43:21.595348 D [44656:70154092501720] [50bfb1e96b6933ae70000004] RubySkynet::Connection: localhost:2100 -- Response Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 15:43:21.595355 D [44656:70154092501720] [50bfb1e96b6933ae70000004] RubySkynet::Connection: localhost:2100 -- Reading response from server +2012-12-05 15:43:21.597961 T [44656:70154092501720] [50bfb1e96b6933ae70000004] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- ")\x00\x00\x00" +2012-12-05 15:43:21.597971 D [44656:70154092501720] [50bfb1e96b6933ae70000004] (2.6ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 4 bytes +2012-12-05 15:43:21.598032 T [44656:70154092501720] [50bfb1e96b6933ae70000004] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "\x02out\x00\e\x00\x00\x00\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00\x00\x00" +2012-12-05 15:43:21.598039 D [44656:70154092501720] [50bfb1e96b6933ae70000004] (0.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 37 bytes +2012-12-05 15:43:21.598069 T [44656:70154092501720] [50bfb1e96b6933ae70000004] RubySkynet::Connection: localhost:2100 -- Response -- {"out"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00"} +2012-12-05 15:43:21.598094 T [44656:70154092501720] [50bfb1e96b6933ae70000004] RubySkynet::Connection: localhost:2100 -- Return Value -- {"some"=>"parameters"} +2012-12-05 15:43:21.598136 I [44656:70154092501720] [50bfb1e96b6933ae70000004] (11.3ms) RubySkynet::Client: TestService/1/Test -- Called Skynet Service: TestService.echo +2012-12-05 15:43:21.598492 I [44656:70154092883280] RubySkynet::Server -- Skynet Server Stopped +2012-12-05 15:43:21.598632 D [44656:70154092883280] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f9c0ba3dcf8>(70154093457020) self=connections=70154093457020 checked_out=70154093457020 with_map= +2012-12-05 15:43:21.598978 T [44656:70154092883280] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- <"+/services/TestService/1/Test/localhost/2100H +2012-12-05 15:43:21.600773 D [44656:70154092883280] (1.8ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 64 bytes +2012-12-05 15:43:21.601902 T [44656:70154097343100] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x006" +2012-12-05 15:43:21.601915 D [44656:70154097343100] (17.9ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:43:21.605710 T [44656:70154097343100] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\b\x18\x89\x1D*+/services/TestService/1/Test/localhost/21002\x00" +2012-12-05 15:43:21.605737 D [44656:70154097343100] (3.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 54 bytes +2012-12-05 15:43:21.606002 D [44656:70154097343100] RubySkynet::Registry -- #monitor Service stopped, remove: TestService/1/Test => localhost:2100 +2012-12-05 15:43:21.606029 I [44656:70154097343100] RubySkynet::Registry -- Calling callback for server: localhost:2100 +2012-12-05 15:43:21.606180 D [44656:70154097343100] RubySkynet::Connection -- Connection pool for server:localhost:2100 has been released +2012-12-05 15:43:21.606193 D [44656:70154097343100] RubySkynet::Registry -- Updated registry -- {} +2012-12-05 15:43:21.606889 T [44656:70154097343100] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-05 15:43:21.606984 D [44656:70154097343100] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 15:43:21.608024 T [44656:70154092883280] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 15:43:21.608036 D [44656:70154092883280] (7.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:43:21.608107 T [44656:70154092883280] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00" +2012-12-05 15:43:21.608113 D [44656:70154092883280] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 2 bytes +2012-12-05 15:43:21.608191 D [44656:70154092883280] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007f9c0ba3dcf8>(70154093457020) self=connections=70154093457020 checked_out= with_map= +2012-12-05 15:43:21.608212 I [44656:70154092883280] RubySkynet::Server -- Skynet Services De-registered in Doozer +2012-12-05 15:43:21.610742 D [44656:70154092888680] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f9c0ba3dcf8>(70154093457020) self=connections=70154093457020 checked_out=70154093457020 with_map= +2012-12-05 15:43:21.611126 T [44656:70154092888680] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "+/services/TestService/1/Test/localhost/2100*{"Config":{"UUID":"localhost:2100-44656-TestService-70154097340600","Name":"TestService","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"localhost","Port":2100,"MaxPort":3099}},"Registered":true}H +2012-12-05 15:43:21.612466 T [44656:70154097343100] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01\x04" +2012-12-05 15:43:21.612478 D [44656:70154097343100] (5.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:43:21.612933 T [44656:70154097343100] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\x8A\x1D*+/services/TestService/1/Test/localhost/21002\xCD\x01{\"Config\":{\"UUID\":\"localhost:2100-44656-TestService-70154097340600\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-05 15:43:21.612944 D [44656:70154097343100] (0.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 260 bytes +2012-12-05 15:43:21.613109 D [44656:70154097343100] RubySkynet::Registry -- #monitor Add/Update Service: TestService/1/Test => localhost:2100 +2012-12-05 15:43:21.613120 D [44656:70154097343100] RubySkynet::Registry -- Updated registry -- {"TestService/1/Test"=>["localhost:2100"]} +2012-12-05 15:43:21.613300 T [44656:70154097343100] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-05 15:43:21.613367 D [44656:70154097343100] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 15:43:21.616364 D [44656:70154092888680] (5.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 272 bytes +2012-12-05 15:43:21.616443 T [44656:70154092888680] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 15:43:21.616449 D [44656:70154092888680] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:43:21.616509 T [44656:70154092888680] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\x8A\x1D" +2012-12-05 15:43:21.616515 D [44656:70154092888680] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 15:43:21.616597 D [44656:70154092888680] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007f9c0ba3dcf8>(70154093457020) self=connections=70154093457020 checked_out= with_map= +2012-12-05 15:43:21.617085 I [44656:70154092888680] RubySkynet::Server -- Starting listener on localhost:2100 +2012-12-05 15:43:21.617104 D [44656:70154092888680] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 15:43:21.617573 I [44656:70154092888680] RubySkynet::Server -- Skynet Server Stopped +2012-12-05 15:43:21.617651 D [44656:70154092888680] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f9c0ba3dcf8>(70154093457020) self=connections=70154093457020 checked_out=70154093457020 with_map= +2012-12-05 15:43:21.617933 T [44656:70154092888680] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- <"+/services/TestService/1/Test/localhost/2100H +2012-12-05 15:43:21.618012 D [44656:70154092888680] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 64 bytes +2012-12-05 15:43:21.619265 T [44656:70154097343100] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x006" +2012-12-05 15:43:21.619276 D [44656:70154097343100] (5.9ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:43:21.625993 T [44656:70154092888680] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 15:43:21.626012 D [44656:70154092888680] (8.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:43:21.626942 T [44656:70154097343100] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\b\x18\x8B\x1D*+/services/TestService/1/Test/localhost/21002\x00" +2012-12-05 15:43:21.626954 D [44656:70154097343100] (7.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 54 bytes +2012-12-05 15:43:21.627245 D [44656:70154097343100] RubySkynet::Registry -- #monitor Service stopped, remove: TestService/1/Test => localhost:2100 +2012-12-05 15:43:21.627288 D [44656:70154097343100] RubySkynet::Registry -- Updated registry -- {} +2012-12-05 15:43:21.627549 T [44656:70154097343100] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-05 15:43:21.627610 T [44656:70154092888680] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00" +2012-12-05 15:43:21.627617 D [44656:70154092888680] (1.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 2 bytes +2012-12-05 15:43:21.627687 D [44656:70154092888680] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007f9c0ba3dcf8>(70154093457020) self=connections=70154093457020 checked_out= with_map= +2012-12-05 15:43:21.627716 I [44656:70154092888680] RubySkynet::Server -- Skynet Services De-registered in Doozer +2012-12-05 15:43:21.627999 D [44656:70154097343100] (0.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 15:43:21.629756 D [44656:70154092861200] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f9c0ba3dcf8>(70154093457020) self=connections=70154093457020 checked_out=70154093457020 with_map= +2012-12-05 15:43:21.630136 T [44656:70154092861200] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "+/services/TestService/1/Test/localhost/2100*{"Config":{"UUID":"localhost:2100-44656-TestService-70154097340600","Name":"TestService","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"localhost","Port":2100,"MaxPort":3099}},"Registered":true}H +2012-12-05 15:43:21.630185 D [44656:70154092861200] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 272 bytes +2012-12-05 15:43:21.631649 T [44656:70154097343100] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01\x04" +2012-12-05 15:43:21.631661 D [44656:70154097343100] (3.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:43:21.631758 T [44656:70154092861200] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 15:43:21.631765 D [44656:70154092861200] (1.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:43:21.632309 T [44656:70154097343100] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\x8C\x1D*+/services/TestService/1/Test/localhost/21002\xCD\x01{\"Config\":{\"UUID\":\"localhost:2100-44656-TestService-70154097340600\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-05 15:43:21.632320 D [44656:70154097343100] (0.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 260 bytes +2012-12-05 15:43:21.632506 D [44656:70154097343100] RubySkynet::Registry -- #monitor Add/Update Service: TestService/1/Test => localhost:2100 +2012-12-05 15:43:21.632518 D [44656:70154097343100] RubySkynet::Registry -- Updated registry -- {"TestService/1/Test"=>["localhost:2100"]} +2012-12-05 15:43:21.632719 T [44656:70154097343100] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-05 15:43:21.632791 D [44656:70154097343100] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 15:43:21.634707 T [44656:70154092861200] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\x8C\x1D" +2012-12-05 15:43:21.634725 D [44656:70154092861200] (2.9ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 15:43:21.634856 D [44656:70154092861200] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007f9c0ba3dcf8>(70154093457020) self=connections=70154093457020 checked_out= with_map= +2012-12-05 15:43:21.635745 I [44656:70154092861200] RubySkynet::Server -- Starting listener on localhost:2100 +2012-12-05 15:43:21.635766 D [44656:70154092861200] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 15:43:21.636073 D [44656:70154092501720] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f9c0ba3dcf8>(70154093457020) self=connections=70154093457020 checked_out=70154093457020 with_map= +2012-12-05 15:43:21.636455 T [44656:70154092501720] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- 1"+/services/TestService/1/Test/localhost/2100 +2012-12-05 15:43:21.636563 D [44656:70154092501720] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 53 bytes +2012-12-05 15:43:21.638766 T [44656:70154092501720] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\xD5" +2012-12-05 15:43:21.638787 D [44656:70154092501720] (2.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:43:21.638896 T [44656:70154092501720] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\x8C\x1D2\xCD\x01{\"Config\":{\"UUID\":\"localhost:2100-44656-TestService-70154097340600\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-05 15:43:21.638903 D [44656:70154092501720] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 213 bytes +2012-12-05 15:43:21.639145 D [44656:70154092501720] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007f9c0ba3dcf8>(70154093457020) self=connections=70154093457020 checked_out= with_map= +2012-12-05 15:43:21.639807 I [44656:70154092861200] RubySkynet::Server -- Skynet Server Stopped +2012-12-05 15:43:21.639889 D [44656:70154092861200] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f9c0ba3dcf8>(70154093457020) self=connections=70154093457020 checked_out=70154093457020 with_map= +2012-12-05 15:43:21.640224 T [44656:70154092861200] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- <"+/services/TestService/1/Test/localhost/2100H +2012-12-05 15:43:21.640284 D [44656:70154092861200] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 64 bytes +2012-12-05 15:43:21.641788 T [44656:70154092861200] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 15:43:21.641971 D [44656:70154092861200] (1.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:43:21.642510 T [44656:70154092861200] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00" +2012-12-05 15:43:21.642518 D [44656:70154092861200] (0.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 2 bytes +2012-12-05 15:43:21.642613 D [44656:70154092861200] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007f9c0ba3dcf8>(70154093457020) self=connections=70154093457020 checked_out= with_map= +2012-12-05 15:43:21.642636 I [44656:70154092861200] RubySkynet::Server -- Skynet Services De-registered in Doozer +2012-12-05 15:43:59.381862 D [44668:70239853435600] RubySkynet::Server -- Registering Service: TestService with name: TestService +2012-12-05 15:43:59.383011 I [44668:70239853435600] Celluloid -- Terminating 4 actors... +2012-12-05 15:43:59.384125 I [44668:70239853435600] Celluloid -- Shutdown completed cleanly +2012-12-05 15:43:59.389769 T [44668:70239853435600] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007fc3fb2eadf8@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 15:43:59.396577 T [44668:70239853435600] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "/8 +2012-12-05 15:43:59.396642 D [44668:70239853435600] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 13 bytes +2012-12-05 15:43:59.397213 T [44668:70239853435600] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\a" +2012-12-05 15:43:59.397226 D [44668:70239853435600] (0.6ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 15:43:59.397728 T [44668:70239853435600] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00*\x03ctl" +2012-12-05 15:43:59.397743 D [44668:70239853435600] (0.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 7 bytes +2012-12-05 15:43:59.398105 T [44668:70239853435600] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "/8 +2012-12-05 15:43:59.398150 D [44668:70239853435600] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 13 bytes +2012-12-05 15:43:59.398555 T [44668:70239853435600] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 15:43:59.398631 D [44668:70239853435600] (0.5ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 15:43:59.398928 T [44668:70239853435600] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\xA0\x06\b" +2012-12-05 15:43:59.398965 D [44668:70239853435600] (0.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 5 bytes +2012-12-05 15:43:59.400253 T [44668:70239853435600] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/fooH +2012-12-05 15:43:59.400297 D [44668:70239853435600] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 30 bytes +2012-12-05 15:43:59.409341 T [44668:70239853435600] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 15:43:59.409399 D [44668:70239853435600] (5.6ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 15:43:59.409715 T [44668:70239853435600] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00" +2012-12-05 15:43:59.409753 D [44668:70239853435600] (0.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 2 bytes +2012-12-05 15:43:59.410423 T [44668:70239853435600] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007fc3fb6a0920@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 15:43:59.411958 T [44668:70239853435600] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending --  +2012-12-05 15:43:59.412269 D [44668:70239853435600] (0.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 8 bytes +2012-12-05 15:43:59.412477 T [44668:70239853435600] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 15:43:59.412505 D [44668:70239853435600] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 15:43:59.412603 T [44668:70239853435600] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xB3\x1D" +2012-12-05 15:43:59.412610 D [44668:70239853435600] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 5 bytes +2012-12-05 15:43:59.413794 T [44668:70239853435600] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/fooH +2012-12-05 15:43:59.414024 D [44668:70239853435600] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 30 bytes +2012-12-05 15:43:59.417049 T [44668:70239853435600] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 15:43:59.417071 D [44668:70239853435600] (3.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 15:43:59.418501 T [44668:70239853435600] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00" +2012-12-05 15:43:59.418593 D [44668:70239853435600] (1.5ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 2 bytes +2012-12-05 15:43:59.419111 T [44668:70239853435600] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007fc3fba5f110@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 15:43:59.420203 T [44668:70239853435600] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "" /test/foo*value2H +2012-12-05 15:43:59.420382 D [44668:70239853435600] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 38 bytes +2012-12-05 15:43:59.422145 T [44668:70239853435600] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 15:43:59.422185 D [44668:70239853435600] (0.8ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 15:43:59.422701 T [44668:70239853435600] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xB5\x1D" +2012-12-05 15:43:59.422740 D [44668:70239853435600] (0.5ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 5 bytes +2012-12-05 15:43:59.437342 T [44668:70239853435600] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/foo +2012-12-05 15:43:59.438812 D [44668:70239853435600] (1.4ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 19 bytes +2012-12-05 15:43:59.439401 T [44668:70239853435600] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\r" +2012-12-05 15:43:59.439446 D [44668:70239853435600] (0.6ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 15:43:59.439759 T [44668:70239853435600] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xB5\x1D2\x06value2" +2012-12-05 15:43:59.439796 D [44668:70239853435600] (0.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 13 bytes +2012-12-05 15:43:59.442565 T [44668:70239853435600] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/fooH +2012-12-05 15:43:59.445806 D [44668:70239853435600] (3.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 30 bytes +2012-12-05 15:43:59.446060 T [44668:70239853435600] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 15:43:59.446104 D [44668:70239853435600] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 15:43:59.446353 T [44668:70239853435600] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00" +2012-12-05 15:43:59.446389 D [44668:70239853435600] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 2 bytes +2012-12-05 15:43:59.446819 T [44668:70239853435600] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007fc3fba7dc50@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 15:43:59.448397 T [44668:70239853435600] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- !" /test/foo*valueH +2012-12-05 15:43:59.452387 D [44668:70239853435600] (3.9ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 37 bytes +2012-12-05 15:43:59.455739 T [44668:70239853435600] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 15:43:59.456769 D [44668:70239853435600] (4.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 15:43:59.457433 T [44668:70239853435600] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xB7\x1D" +2012-12-05 15:43:59.457462 D [44668:70239853435600] (0.6ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 5 bytes +2012-12-05 15:43:59.457753 T [44668:70239853435600] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/foo +2012-12-05 15:43:59.458798 D [44668:70239853435600] (1.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 19 bytes +2012-12-05 15:43:59.458868 T [44668:70239853435600] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\f" +2012-12-05 15:43:59.458877 D [44668:70239853435600] (0.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 15:43:59.458943 T [44668:70239853435600] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xB7\x1D2\x05value" +2012-12-05 15:43:59.458950 D [44668:70239853435600] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 12 bytes +2012-12-05 15:43:59.460042 T [44668:70239853435600] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/fooH +2012-12-05 15:43:59.460222 D [44668:70239853435600] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 30 bytes +2012-12-05 15:43:59.461815 T [44668:70239853435600] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 15:43:59.461857 D [44668:70239853435600] (1.5ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 15:43:59.462373 T [44668:70239853435600] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00" +2012-12-05 15:43:59.462413 D [44668:70239853435600] (0.5ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 2 bytes +2012-12-05 15:43:59.463404 T [44668:70239853435600] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:9999", :connect_retry_interval=>0.1, :connect_retry_count=>5, :read_timeout=>5, :connect_timeout=>3, :buffered=>false, :on_connect=>#<Proc:0x007fc3fba92718@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 15:43:59.464126 W [44668:70239853435600] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 1 +2012-12-05 15:43:59.575538 W [44668:70239853435600] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 2 +2012-12-05 15:43:59.677016 W [44668:70239853435600] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 3 +2012-12-05 15:43:59.778321 W [44668:70239853435600] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 4 +2012-12-05 15:43:59.879834 W [44668:70239853435600] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 5 +2012-12-05 15:43:59.980422 E [44668:70239853435600] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Giving up after 5 retries +2012-12-05 15:43:59.980543 I [44668:70239853435600] (517.1ms) ResilientSocket::TCPClient ["localhost:9999"] -- Connecting to server localhost:9999 -- ResilientSocket::ConnectionFailure: After 5 connection attempts to host 'localhost:9999': Errno::ECONNREFUSED: Connection refused - connect(2) +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:578:in `rescue in block in connect_to_server' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:549:in `block in connect_to_server' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_info' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:542:in `connect_to_server' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:305:in `connect' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:233:in `initialize' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:36:in `new' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:36:in `initialize' +/Users/rmorrison/Sandbox/ruby_skynet/test/doozer_client_test.rb:19:in `new' +/Users/rmorrison/Sandbox/ruby_skynet/test/doozer_client_test.rb:19:in `block (4 levels) in <class:DoozerClientTest>' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:330:in `assert_raises' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/assertions.rb:69:in `assert_raise' -/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_client_test.rb:82:in `block (4 levels) in <class:RubySkynetClientTest>' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.0/lib/shoulda/context/context.rb:398:in `call' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.0/lib/shoulda/context/context.rb:398:in `block in create_test_from_should_hash' -/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:949:in `run' +/Users/rmorrison/Sandbox/ruby_skynet/test/doozer_client_test.rb:18:in `block (3 levels) in <class:DoozerClientTest>' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `block in create_test_from_should_hash' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/mocha-0.10.5/lib/mocha/integration/mini_test/version_230_to_262.rb:28:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/testcase.rb:17:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:787:in `block in _run_suite' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `map' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `_run_suite' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:565:in `block in _run_suites' @@ -5501,31 +11606,174 @@ /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:884:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:21:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:326:in `block (2 levels) in autorun' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:27:in `run_once' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:325:in `block in autorun' -2012-10-18 16:32:13.539458 I [1344:70126217157340] [5080674a6b69330540000002] (3010.4ms) RubySkynet::Client: TestService/1/Test -- Called Skynet Service: TestService.sleep -- ResilientSocket::ReadTimeout: Timedout after 3.0 seconds trying to read from 127.0.0.1:2000 -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:391:in `block in read' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.7.0/lib/semantic_logger/base.rb:181:in `benchmark_debug' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:373:in `read' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:229:in `read_bson_document' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:177:in `rpc_call' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:67:in `block (3 levels) in call' +2012-12-05 15:43:59.982409 D [44668:70239857745680] SimpleServer -- Waiting for a client to connect +2012-12-05 15:43:59.993097 D [44668:70239853435600] RubySkynet::Registry -- Doozer Connection Pool: Created connection #1 #<Thread:0x007fc3fb06b5a0>(70239853435600) for Doozer Connection Pool +2012-12-05 15:43:59.993166 T [44668:70239853435600] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007fc3fb94a478@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 15:43:59.994023 D [44668:70239853435600] RubySkynet::Registry -- Doozer Connection Pool: Renewed connection old=70239853435600 new=#<RubySkynet::Doozer::Client:0x007fc3fb94a6f8>(70239858086780) +2012-12-05 15:43:59.994060 D [44668:70239853435600] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fc3fb94a6f8>(70239858086780) self=connections=70239858086780 checked_out=70239858086780 with_map= +2012-12-05 15:44:00.008238 T [44668:70239853435600] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "+/services/TestService/1/Test/127.0.0.1/2000*{"Config":{"UUID":"3978b371-15e9-40f8-9b7b-59ae88d8c7ec","Name":"TestService","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"127.0.0.1","Port":2000,"MaxPort":2999}},"Registered":true}H +2012-12-05 15:44:00.008698 D [44668:70239853435600] (0.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 261 bytes +2012-12-05 15:44:00.011481 T [44668:70239853435600] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 15:44:00.011543 D [44668:70239853435600] (2.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:44:00.012105 T [44668:70239853435600] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xBA\x1D" +2012-12-05 15:44:00.012143 D [44668:70239853435600] (0.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 15:44:00.012283 D [44668:70239853435600] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fc3fb94a6f8>(70239858086780) self=connections=70239858086780 checked_out= with_map= +2012-12-05 15:44:00.016844 D [44668:70239853435600] [50bfb2106b6933ae7c000001] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fc3fb94a6f8>(70239858086780) self=connections=70239858086780 checked_out=70239858086780 with_map= +2012-12-05 15:44:00.017177 T [44668:70239853435600] [50bfb2106b6933ae7c000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  +2012-12-05 15:44:00.019739 D [44668:70239853435600] [50bfb2106b6933ae7c000001] (2.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 8 bytes +2012-12-05 15:44:00.020186 T [44668:70239853435600] [50bfb2106b6933ae7c000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 15:44:00.020192 D [44668:70239853435600] [50bfb2106b6933ae7c000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:44:00.023458 T [44668:70239853435600] [50bfb2106b6933ae7c000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xBA\x1D" +2012-12-05 15:44:00.023466 D [44668:70239853435600] [50bfb2106b6933ae7c000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 15:44:00.023813 T [44668:70239853435600] [50bfb2106b6933ae7c000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H +2012-12-05 15:44:00.024196 D [44668:70239853435600] [50bfb2106b6933ae7c000001] (0.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-05 15:44:00.024243 T [44668:70239853435600] [50bfb2106b6933ae7c000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\xF9" +2012-12-05 15:44:00.024249 D [44668:70239853435600] [50bfb2106b6933ae7c000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:44:00.024315 T [44668:70239853435600] [50bfb2106b6933ae7c000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xBA\x1D*+/services/TestService/1/Test/127.0.0.1/20002\xC2\x01{\"Config\":{\"UUID\":\"3978b371-15e9-40f8-9b7b-59ae88d8c7ec\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"127.0.0.1\",\"Port\":2000,\"MaxPort\":2999}},\"Registered\":true}" +2012-12-05 15:44:00.024321 D [44668:70239853435600] [50bfb2106b6933ae7c000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 249 bytes +2012-12-05 15:44:00.024646 T [44668:70239853435600] [50bfb2106b6933ae7c000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H +2012-12-05 15:44:00.024956 D [44668:70239853435600] [50bfb2106b6933ae7c000001] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-05 15:44:00.025002 T [44668:70239853435600] [50bfb2106b6933ae7c000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 15:44:00.025008 D [44668:70239853435600] [50bfb2106b6933ae7c000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:44:00.025060 T [44668:70239853435600] [50bfb2106b6933ae7c000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\xA0\x06\b" +2012-12-05 15:44:00.025066 D [44668:70239853435600] [50bfb2106b6933ae7c000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 15:44:00.025241 D [44668:70239853435600] [50bfb2106b6933ae7c000001] RubySkynet::Registry -- #start_monitoring Add Service: TestService/1/Test => 127.0.0.1:2000 +2012-12-05 15:44:00.025316 D [44668:70239853435600] [50bfb2106b6933ae7c000001] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fc3fb94a6f8>(70239858086780) self=connections=70239858086780 checked_out= with_map= +2012-12-05 15:44:00.029229 I [44668:70239858537780] RubySkynet::Registry -- Start monitoring /services/*/*/*/*/* +2012-12-05 15:44:00.029291 T [44668:70239858537780] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007fc3fba2c760@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 15:44:00.030343 T [44668:70239858537780] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-05 15:44:00.030392 D [44668:70239858537780] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 15:44:00.033353 D [44668:70239857745680] SimpleServer -- Waiting for a client to connect +2012-12-05 15:44:00.033447 D [44668:70239857745680] SimpleServer -- Client connected, waiting for data from client +2012-12-05 15:44:00.034285 D [44668:70239853435600] [50bfb2106b6933ae7c000001] RubySkynet::Connection: 127.0.0.1:2000 -- Waiting for Service Handshake +2012-12-05 15:44:00.035031 T [44668:70239853435600] [50bfb2106b6933ae7c000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "$\x00\x00\x00" +2012-12-05 15:44:00.035044 D [44668:70239853435600] [50bfb2106b6933ae7c000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes +2012-12-05 15:44:00.035098 T [44668:70239853435600] [50bfb2106b6933ae7c000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "\bregistered\x00\x01\x02clientid\x00\x04\x00\x00\x00123\x00\x00" +2012-12-05 15:44:00.035105 D [44668:70239853435600] [50bfb2106b6933ae7c000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 32 bytes +2012-12-05 15:44:00.035150 T [44668:70239853435600] [50bfb2106b6933ae7c000001] RubySkynet::Connection: 127.0.0.1:2000 -- Service Handshake -- {"registered"=>true, "clientid"=>"123"} +2012-12-05 15:44:00.035162 D [44668:70239853435600] [50bfb2106b6933ae7c000001] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Client Handshake +2012-12-05 15:44:00.035168 T [44668:70239853435600] [50bfb2106b6933ae7c000001] RubySkynet::Connection: 127.0.0.1:2000 -- Client Handshake -- {"clientid"=>"123"} +2012-12-05 15:44:00.035185 T [44668:70239853435600] [50bfb2106b6933ae7c000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- clientid123 +2012-12-05 15:44:00.035227 D [44668:70239853435600] [50bfb2106b6933ae7c000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 23 bytes +2012-12-05 15:44:00.035310 D [44668:70239853435600] [50bfb2106b6933ae7c000001] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Header +2012-12-05 15:44:00.035319 T [44668:70239853435600] [50bfb2106b6933ae7c000001] RubySkynet::Connection: 127.0.0.1:2000 -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 15:44:00.035339 T [44668:70239853435600] [50bfb2106b6933ae7c000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- 5servicemethodTestService.Forwardseq +2012-12-05 15:44:00.035382 D [44668:70239853435600] [50bfb2106b6933ae7c000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 53 bytes +2012-12-05 15:44:00.035416 D [44668:70239853435600] [50bfb2106b6933ae7c000001] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Request +2012-12-05 15:44:00.035422 T [44668:70239853435600] [50bfb2106b6933ae7c000001] RubySkynet::Connection: 127.0.0.1:2000 -- Request -- {"clientid"=>"123", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"test1", "requestinfo"=>{"requestid"=>"50bfb2106b6933ae7c000001", "retrycount"=>0, "originaddress"=>""}} +2012-12-05 15:44:00.035427 T [44668:70239853435600] [50bfb2106b6933ae7c000001] RubySkynet::Connection: 127.0.0.1:2000 -- Parameters: -- {"some"=>"parameters"} +2012-12-05 15:44:00.035444 T [44668:70239853435600] [50bfb2106b6933ae7c000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- clientid123insome parametersmethodtest1requestinfoQrequestid50bfb2106b6933ae7c000001retrycountoriginaddress +2012-12-05 15:44:00.035483 D [44668:70239853435600] [50bfb2106b6933ae7c000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 170 bytes +2012-12-05 15:44:00.035503 D [44668:70239853435600] [50bfb2106b6933ae7c000001] RubySkynet::Connection: 127.0.0.1:2000 -- Reading header from server +2012-12-05 15:44:00.035719 D [44668:70239857745680] SimpleServer -- +****************** +2012-12-05 15:44:00.035726 D [44668:70239857745680] SimpleServer -- Received Request +2012-12-05 15:44:00.035732 T [44668:70239857745680] SimpleServer -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 15:44:00.038160 T [44668:70239857745680] SimpleServer -- Request -- {"clientid"=>"123", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"test1", "requestinfo"=>{"requestid"=>"50bfb2106b6933ae7c000001", "retrycount"=>0, "originaddress"=>""}} +2012-12-05 15:44:00.038192 D [44668:70239857745680] SimpleServer -- Sending Header +2012-12-05 15:44:00.038287 D [44668:70239857745680] SimpleServer -- Sending Reply +2012-12-05 15:44:00.038295 T [44668:70239857745680] SimpleServer -- Reply -- {"result"=>"test1"} +2012-12-05 15:44:00.039589 T [44668:70239853435600] [50bfb2106b6933ae7c000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "5\x00\x00\x00" +2012-12-05 15:44:00.039602 D [44668:70239853435600] [50bfb2106b6933ae7c000001] (4.1ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes +2012-12-05 15:44:00.039652 T [44668:70239853435600] [50bfb2106b6933ae7c000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "\x02servicemethod\x00\x14\x00\x00\x00TestService.Forward\x00\x10seq\x00\x00\x00\x00\x00\x00" +2012-12-05 15:44:00.039658 D [44668:70239853435600] [50bfb2106b6933ae7c000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 49 bytes +2012-12-05 15:44:00.039689 D [44668:70239853435600] [50bfb2106b6933ae7c000001] RubySkynet::Connection: 127.0.0.1:2000 -- Response Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 15:44:00.039695 D [44668:70239853435600] [50bfb2106b6933ae7c000001] RubySkynet::Connection: 127.0.0.1:2000 -- Reading response from server +2012-12-05 15:44:00.039973 T [44668:70239853435600] [50bfb2106b6933ae7c000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "&\x00\x00\x00" +2012-12-05 15:44:00.040045 D [44668:70239853435600] [50bfb2106b6933ae7c000001] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes +2012-12-05 15:44:00.040433 T [44668:70239853435600] [50bfb2106b6933ae7c000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "\x02out\x00\x18\x00\x00\x00\x17\x00\x00\x00\x02result\x00\x06\x00\x00\x00test1\x00\x00\x00\x00" +2012-12-05 15:44:00.040440 D [44668:70239853435600] [50bfb2106b6933ae7c000001] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 34 bytes +2012-12-05 15:44:00.040469 T [44668:70239853435600] [50bfb2106b6933ae7c000001] RubySkynet::Connection: 127.0.0.1:2000 -- Response -- {"out"=>"\x17\x00\x00\x00\x02result\x00\x06\x00\x00\x00test1\x00\x00"} +2012-12-05 15:44:00.040493 T [44668:70239853435600] [50bfb2106b6933ae7c000001] RubySkynet::Connection: 127.0.0.1:2000 -- Return Value -- {"result"=>"test1"} +2012-12-05 15:44:00.040540 I [44668:70239853435600] [50bfb2106b6933ae7c000001] (28.1ms) RubySkynet::Client: TestService/1/Test -- Called Skynet Service: TestService.test1 +2012-12-05 15:44:00.042095 D [44668:70239853435600] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fc3fb94a6f8>(70239858086780) self=connections=70239858086780 checked_out=70239858086780 with_map= +2012-12-05 15:44:00.042499 T [44668:70239853435600] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- <"+/services/TestService/1/Test/127.0.0.1/2000H +2012-12-05 15:44:00.046279 D [44668:70239853435600] (3.8ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 64 bytes +2012-12-05 15:44:00.047413 T [44668:70239858537780] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x006" +2012-12-05 15:44:00.047426 D [44668:70239858537780] (17.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:44:00.050770 T [44668:70239858537780] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\b\x18\xBB\x1D*+/services/TestService/1/Test/127.0.0.1/20002\x00" +2012-12-05 15:44:00.050786 D [44668:70239858537780] (3.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 54 bytes +2012-12-05 15:44:00.050963 D [44668:70239858537780] RubySkynet::Registry -- #monitor Service stopped, remove: TestService/1/Test => 127.0.0.1:2000 +2012-12-05 15:44:00.050991 I [44668:70239858537780] RubySkynet::Registry -- Calling callback for server: 127.0.0.1:2000 +2012-12-05 15:44:00.051082 D [44668:70239858537780] RubySkynet::Connection -- Connection pool for server:127.0.0.1:2000 has been released +2012-12-05 15:44:00.051095 D [44668:70239858537780] RubySkynet::Registry -- Updated registry -- {} +2012-12-05 15:44:00.051451 T [44668:70239858537780] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-05 15:44:00.051769 D [44668:70239858537780] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 15:44:00.051872 T [44668:70239853435600] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 15:44:00.051878 D [44668:70239853435600] (5.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:44:00.052396 T [44668:70239853435600] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00" +2012-12-05 15:44:00.052443 D [44668:70239853435600] (0.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 2 bytes +2012-12-05 15:44:00.052547 D [44668:70239853435600] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fc3fb94a6f8>(70239858086780) self=connections=70239858086780 checked_out= with_map= +2012-12-05 15:44:00.053581 D [44668:70239857738840] SimpleServer -- Waiting for a client to connect +2012-12-05 15:44:00.054081 D [44668:70239853435600] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fc3fb94a6f8>(70239858086780) self=connections=70239858086780 checked_out=70239858086780 with_map= +2012-12-05 15:44:00.055760 T [44668:70239853435600] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "+/services/TestService/1/Test/127.0.0.1/2000*{"Config":{"UUID":"3978b371-15e9-40f8-9b7b-59ae88d8c7ec","Name":"TestService","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"127.0.0.1","Port":2000,"MaxPort":2999}},"Registered":true}H +2012-12-05 15:44:00.055858 D [44668:70239853435600] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 261 bytes +2012-12-05 15:44:00.058010 T [44668:70239853435600] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 15:44:00.058056 D [44668:70239853435600] (2.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:44:00.060410 T [44668:70239858537780] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\xF9" +2012-12-05 15:44:00.060420 D [44668:70239858537780] (8.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:44:00.060495 T [44668:70239858537780] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xBC\x1D*+/services/TestService/1/Test/127.0.0.1/20002\xC2\x01{\"Config\":{\"UUID\":\"3978b371-15e9-40f8-9b7b-59ae88d8c7ec\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"127.0.0.1\",\"Port\":2000,\"MaxPort\":2999}},\"Registered\":true}" +2012-12-05 15:44:00.060544 D [44668:70239858537780] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 249 bytes +2012-12-05 15:44:00.060799 D [44668:70239858537780] RubySkynet::Registry -- #monitor Add/Update Service: TestService/1/Test => 127.0.0.1:2000 +2012-12-05 15:44:00.060811 D [44668:70239858537780] RubySkynet::Registry -- Updated registry -- {"TestService/1/Test"=>["127.0.0.1:2000"]} +2012-12-05 15:44:00.061035 T [44668:70239858537780] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-05 15:44:00.061081 D [44668:70239858537780] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 15:44:00.061979 T [44668:70239853435600] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xBC\x1D" +2012-12-05 15:44:00.062009 D [44668:70239853435600] (1.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 15:44:00.062155 D [44668:70239853435600] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fc3fb94a6f8>(70239858086780) self=connections=70239858086780 checked_out= with_map= +2012-12-05 15:44:00.063326 D [44668:70239853435600] [50bfb2106b6933ae7c000002] RubySkynet::Connection: 127.0.0.1:2000 -- Waiting for Service Handshake +2012-12-05 15:44:00.063530 D [44668:70239857738840] SimpleServer -- Waiting for a client to connect +2012-12-05 15:44:00.063628 D [44668:70239857738840] SimpleServer -- Client connected, waiting for data from client +2012-12-05 15:44:00.064216 T [44668:70239853435600] [50bfb2106b6933ae7c000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "$\x00\x00\x00" +2012-12-05 15:44:00.064246 D [44668:70239853435600] [50bfb2106b6933ae7c000002] (0.9ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes +2012-12-05 15:44:00.064443 T [44668:70239853435600] [50bfb2106b6933ae7c000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "\bregistered\x00\x01\x02clientid\x00\x04\x00\x00\x00123\x00\x00" +2012-12-05 15:44:00.064521 D [44668:70239853435600] [50bfb2106b6933ae7c000002] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 32 bytes +2012-12-05 15:44:00.064606 T [44668:70239853435600] [50bfb2106b6933ae7c000002] RubySkynet::Connection: 127.0.0.1:2000 -- Service Handshake -- {"registered"=>true, "clientid"=>"123"} +2012-12-05 15:44:00.064618 D [44668:70239853435600] [50bfb2106b6933ae7c000002] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Client Handshake +2012-12-05 15:44:00.064623 T [44668:70239853435600] [50bfb2106b6933ae7c000002] RubySkynet::Connection: 127.0.0.1:2000 -- Client Handshake -- {"clientid"=>"123"} +2012-12-05 15:44:00.064642 T [44668:70239853435600] [50bfb2106b6933ae7c000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- clientid123 +2012-12-05 15:44:00.065028 D [44668:70239853435600] [50bfb2106b6933ae7c000002] (0.4ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 23 bytes +2012-12-05 15:44:00.065086 D [44668:70239853435600] [50bfb2106b6933ae7c000002] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Header +2012-12-05 15:44:00.065096 T [44668:70239853435600] [50bfb2106b6933ae7c000002] RubySkynet::Connection: 127.0.0.1:2000 -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 15:44:00.065118 T [44668:70239853435600] [50bfb2106b6933ae7c000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- 5servicemethodTestService.Forwardseq +2012-12-05 15:44:00.065966 D [44668:70239857738840] SimpleServer -- +****************** +2012-12-05 15:44:00.065979 D [44668:70239857738840] SimpleServer -- Received Request +2012-12-05 15:44:00.065985 T [44668:70239857738840] SimpleServer -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 15:44:00.068462 D [44668:70239853435600] [50bfb2106b6933ae7c000002] (3.3ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 53 bytes +2012-12-05 15:44:00.068565 D [44668:70239853435600] [50bfb2106b6933ae7c000002] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Request +2012-12-05 15:44:00.068573 T [44668:70239853435600] [50bfb2106b6933ae7c000002] RubySkynet::Connection: 127.0.0.1:2000 -- Request -- {"clientid"=>"123", "in"=>"\x17\x00\x00\x00\x01duration\x00\x00\x00\x00\x00\x00\x00\f@\x00", "method"=>"sleep", "requestinfo"=>{"requestid"=>"50bfb2106b6933ae7c000002", "retrycount"=>0, "originaddress"=>""}} +2012-12-05 15:44:00.068578 T [44668:70239853435600] [50bfb2106b6933ae7c000002] RubySkynet::Connection: 127.0.0.1:2000 -- Parameters: -- {"duration"=>3.5} +2012-12-05 15:44:00.068595 T [44668:70239853435600] [50bfb2106b6933ae7c000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- clientid123induration @methodsleeprequestinfoQrequestid50bfb2106b6933ae7c000002retrycountoriginaddress +2012-12-05 15:44:00.069032 D [44668:70239853435600] [50bfb2106b6933ae7c000002] (0.4ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 167 bytes +2012-12-05 15:44:00.069064 D [44668:70239853435600] [50bfb2106b6933ae7c000002] RubySkynet::Connection: 127.0.0.1:2000 -- Reading header from server +2012-12-05 15:44:00.069514 T [44668:70239857738840] SimpleServer -- Request -- {"clientid"=>"123", "in"=>"\x17\x00\x00\x00\x01duration\x00\x00\x00\x00\x00\x00\x00\f@\x00", "method"=>"sleep", "requestinfo"=>{"requestid"=>"50bfb2106b6933ae7c000002", "retrycount"=>0, "originaddress"=>""}} +2012-12-05 15:44:03.068821 W [44668:70239853435600] [50bfb2106b6933ae7c000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read Timeout waiting for server to reply +2012-12-05 15:44:03.069015 D [44668:70239853435600] [50bfb2106b6933ae7c000002] (2999.9ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes -- ResilientSocket::ReadTimeout: Timedout after 3.0 seconds trying to read from 127.0.0.1:2000 +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:392:in `block in read' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_debug' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:374:in `read' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/common.rb:10:in `read_bson_document' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:178:in `rpc_call' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:65:in `block (3 levels) in call' /Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/gene_pool-1.3.0/lib/gene_pool.rb:134:in `with_connection' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:213:in `with_connection' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:66:in `block (2 levels) in call' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.7.0/lib/semantic_logger/base.rb:181:in `benchmark_info' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:62:in `block in call' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.7.0/lib/semantic_logger/base.rb:161:in `with_tags' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:61:in `call' -/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_client_test.rb:84:in `block (5 levels) in <class:RubySkynetClientTest>' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:214:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:64:in `block (2 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_info' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:60:in `block in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:126:in `with_tags' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:59:in `call' +/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_client_test.rb:87:in `block (5 levels) in <class:RubySkynetClientTest>' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:330:in `assert_raises' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/assertions.rb:69:in `assert_raise' -/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_client_test.rb:82:in `block (4 levels) in <class:RubySkynetClientTest>' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.0/lib/shoulda/context/context.rb:398:in `call' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.0/lib/shoulda/context/context.rb:398:in `block in create_test_from_should_hash' -/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:949:in `run' +/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_client_test.rb:85:in `block (4 levels) in <class:RubySkynetClientTest>' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `block in create_test_from_should_hash' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/mocha-0.10.5/lib/mocha/integration/mini_test/version_230_to_262.rb:28:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/testcase.rb:17:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:787:in `block in _run_suite' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `map' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `_run_suite' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:565:in `block in _run_suites' @@ -5538,31 +11786,32 @@ /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:895:in `_run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:884:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:21:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:326:in `block (2 levels) in autorun' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:27:in `run_once' -/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:325:in `block in autorun' -- ResilientSocket::ReadTimeout: Timedout after 3.0 seconds trying to read from 127.0.0.1:2000 -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:391:in `block in read' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.7.0/lib/semantic_logger/base.rb:181:in `benchmark_debug' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:373:in `read' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:229:in `read_bson_document' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:177:in `rpc_call' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:67:in `block (3 levels) in call' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:325:in `block in autorun' +2012-12-05 15:44:03.069079 I [44668:70239853435600] [50bfb2106b6933ae7c000002] (3006.8ms) RubySkynet::Client: TestService/1/Test -- Called Skynet Service: TestService.sleep -- ResilientSocket::ReadTimeout: Timedout after 3.0 seconds trying to read from 127.0.0.1:2000 +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:392:in `block in read' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_debug' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:374:in `read' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/common.rb:10:in `read_bson_document' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:178:in `rpc_call' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:65:in `block (3 levels) in call' /Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/gene_pool-1.3.0/lib/gene_pool.rb:134:in `with_connection' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:213:in `with_connection' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:66:in `block (2 levels) in call' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.7.0/lib/semantic_logger/base.rb:181:in `benchmark_info' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:62:in `block in call' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.7.0/lib/semantic_logger/base.rb:161:in `with_tags' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:61:in `call' -/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_client_test.rb:84:in `block (5 levels) in <class:RubySkynetClientTest>' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:214:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:64:in `block (2 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_info' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:60:in `block in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:126:in `with_tags' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:59:in `call' +/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_client_test.rb:87:in `block (5 levels) in <class:RubySkynetClientTest>' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:330:in `assert_raises' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/assertions.rb:69:in `assert_raise' -/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_client_test.rb:82:in `block (4 levels) in <class:RubySkynetClientTest>' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.0/lib/shoulda/context/context.rb:398:in `call' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.0/lib/shoulda/context/context.rb:398:in `block in create_test_from_should_hash' -/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:949:in `run' +/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_client_test.rb:85:in `block (4 levels) in <class:RubySkynetClientTest>' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `block in create_test_from_should_hash' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/mocha-0.10.5/lib/mocha/integration/mini_test/version_230_to_262.rb:28:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/testcase.rb:17:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:787:in `block in _run_suite' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `map' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `_run_suite' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:565:in `block in _run_suites' @@ -5576,62 +11825,43 @@ /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:884:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:21:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:326:in `block (2 levels) in autorun' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:27:in `run_once' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:325:in `block in autorun' -2012-10-18 16:32:13.540056 D [1344:70126217157340] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f8f1099c450>(70126217781800) self=connections=70126217781800 checked_out=70126217781800 with_map= -2012-10-18 16:32:13.540056 D [1344:70126217157340] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f8f1099c450>(70126217781800) self=connections=70126217781800 checked_out=70126217781800 with_map= -2012-10-18 16:32:13.540437 T [1344:70126217157340] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- <"+/services/TestService/1/Test/127.0.0.1/2000H -2012-10-18 16:32:13.540437 T [1344:70126217157340] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- <"+/services/TestService/1/Test/127.0.0.1/2000H -- <"+/services/TestService/1/Test/127.0.0.1/2000H -2012-10-18 16:32:13.541218 D [1344:70126217157340] (0.8ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 64 bytes -2012-10-18 16:32:13.541218 D [1344:70126217157340] (0.8ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 64 bytes -2012-10-18 16:32:13.543158 T [1344:70126222094900] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x007" -2012-10-18 16:32:13.543158 T [1344:70126222094900] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x007" -- "\x00\x00\x007" -2012-10-18 16:32:13.543181 D [1344:70126222094900] (3026.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:32:13.543181 D [1344:70126222094900] (3026.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:32:13.543877 T [1344:70126217157340] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x02" -2012-10-18 16:32:13.543877 T [1344:70126217157340] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x02" -- "\x00\x00\x00\x02" -2012-10-18 16:32:13.543893 D [1344:70126217157340] (2.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:32:13.543893 D [1344:70126217157340] (2.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:32:13.544014 T [1344:70126222094900] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\b\x18\xD9\xD4\x03*+/services/TestService/1/Test/127.0.0.1/20002\x00" -2012-10-18 16:32:13.544014 T [1344:70126222094900] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\b\x18\xD9\xD4\x03*+/services/TestService/1/Test/127.0.0.1/20002\x00" -- "\b\x00\x10\b\x18\xD9\xD4\x03*+/services/TestService/1/Test/127.0.0.1/20002\x00" -2012-10-18 16:32:13.544025 D [1344:70126222094900] (0.8ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 55 bytes -2012-10-18 16:32:13.544025 D [1344:70126222094900] (0.8ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 55 bytes -2012-10-18 16:32:13.544167 D [1344:70126222094900] RubySkynet::Registry -- #monitor Service stopped, remove: TestService/1/Test => 127.0.0.1:2000 -2012-10-18 16:32:13.544167 D [1344:70126222094900] RubySkynet::Registry -- #monitor Service stopped, remove: TestService/1/Test => 127.0.0.1:2000 -2012-10-18 16:32:13.544401 I [1344:70126222094900] RubySkynet::Registry -- Calling callback for server: 127.0.0.1:2000 -2012-10-18 16:32:13.544401 I [1344:70126222094900] RubySkynet::Registry -- Calling callback for server: 127.0.0.1:2000 -2012-10-18 16:32:13.544458 D [1344:70126222094900] RubySkynet::Connection -- Connection pool for server:127.0.0.1:2000 has been released -2012-10-18 16:32:13.544458 D [1344:70126222094900] RubySkynet::Connection -- Connection pool for server:127.0.0.1:2000 has been released -2012-10-18 16:32:13.553969 D [1344:70126222094900] RubySkynet::Registry -- Updated registry -- {"TutorialService/1/Development"=>["127.0.0.1:9000"]} -2012-10-18 16:32:13.553969 D [1344:70126222094900] RubySkynet::Registry -- Updated registry -- {"TutorialService/1/Development"=>["127.0.0.1:9000"]} -- {"TutorialService/1/Development"=>["127.0.0.1:9000"]} -2012-10-18 16:32:13.554489 T [1344:70126222094900] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H -2012-10-18 16:32:13.554489 T [1344:70126222094900] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H -- "/services/*/*/*/*/*H -2012-10-18 16:32:13.554593 D [1344:70126222094900] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 33 bytes -2012-10-18 16:32:13.554593 D [1344:70126222094900] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 33 bytes -2012-10-18 16:32:13.556226 T [1344:70126217157340] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00" -2012-10-18 16:32:13.556226 T [1344:70126217157340] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00" -- "\b\x00" -2012-10-18 16:32:13.556250 D [1344:70126217157340] (12.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 2 bytes -2012-10-18 16:32:13.556250 D [1344:70126217157340] (12.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 2 bytes -2012-10-18 16:32:13.556420 D [1344:70126217157340] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007f8f1099c450>(70126217781800) self=connections=70126217781800 checked_out= with_map= -2012-10-18 16:32:13.556420 D [1344:70126217157340] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007f8f1099c450>(70126217781800) self=connections=70126217781800 checked_out= with_map= -2012-10-18 16:32:13.557466 W [1344:70126217157340] [5080674d6b69330540000003] RubySkynet::Registry -- No servers available for service: SomeService with version: * in region: Development -2012-10-18 16:32:13.557466 W [1344:70126217157340] [5080674d6b69330540000003] RubySkynet::Registry -- No servers available for service: SomeService with version: * in region: Development -2012-10-18 16:32:13.557589 I [1344:70126217157340] [5080674d6b69330540000003] (0.3ms) RubySkynet::Client: SomeService/*/Development -- Called Skynet Service: SomeService.test -- RubySkynet::ServiceUnavailable: No servers available for service: SomeService with version: * in region: Development +2012-12-05 15:44:03.071136 D [44668:70239853435600] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fc3fb94a6f8>(70239858086780) self=connections=70239858086780 checked_out=70239858086780 with_map= +2012-12-05 15:44:03.071570 T [44668:70239853435600] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- <"+/services/TestService/1/Test/127.0.0.1/2000H +2012-12-05 15:44:03.071630 D [44668:70239853435600] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 64 bytes +2012-12-05 15:44:03.073968 T [44668:70239858537780] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x006" +2012-12-05 15:44:03.073985 D [44668:70239858537780] (3012.9ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:44:03.074290 T [44668:70239858537780] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\b\x18\xC0\x1D*+/services/TestService/1/Test/127.0.0.1/20002\x00" +2012-12-05 15:44:03.074298 D [44668:70239858537780] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 54 bytes +2012-12-05 15:44:03.074513 D [44668:70239858537780] RubySkynet::Registry -- #monitor Service stopped, remove: TestService/1/Test => 127.0.0.1:2000 +2012-12-05 15:44:03.074556 I [44668:70239858537780] RubySkynet::Registry -- Calling callback for server: 127.0.0.1:2000 +2012-12-05 15:44:03.074623 D [44668:70239858537780] RubySkynet::Connection -- Connection pool for server:127.0.0.1:2000 has been released +2012-12-05 15:44:03.074639 D [44668:70239858537780] RubySkynet::Registry -- Updated registry -- {} +2012-12-05 15:44:03.074886 T [44668:70239858537780] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-05 15:44:03.074970 D [44668:70239858537780] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 15:44:03.075030 T [44668:70239853435600] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 15:44:03.075037 D [44668:70239853435600] (3.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:44:03.080032 T [44668:70239853435600] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00" +2012-12-05 15:44:03.080058 D [44668:70239853435600] (5.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 2 bytes +2012-12-05 15:44:03.080274 D [44668:70239853435600] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fc3fb94a6f8>(70239858086780) self=connections=70239858086780 checked_out= with_map= +2012-12-05 15:44:03.080700 W [44668:70239853435600] [50bfb2136b6933ae7c000003] RubySkynet::Registry -- No servers available for service: SomeService with version: * in region: Development +2012-12-05 15:44:03.080794 I [44668:70239853435600] [50bfb2136b6933ae7c000003] (0.2ms) RubySkynet::Client: SomeService/*/Development -- Called Skynet Service: SomeService.test -- RubySkynet::ServiceUnavailable: No servers available for service: SomeService with version: * in region: Development /Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/registry.rb:92:in `server_for' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:66:in `block (2 levels) in call' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.7.0/lib/semantic_logger/base.rb:181:in `benchmark_info' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:62:in `block in call' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.7.0/lib/semantic_logger/base.rb:161:in `with_tags' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:61:in `call' -/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_client_test.rb:23:in `block (4 levels) in <class:RubySkynetClientTest>' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:64:in `block (2 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_info' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:60:in `block in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:126:in `with_tags' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:59:in `call' +/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_client_test.rb:26:in `block (4 levels) in <class:RubySkynetClientTest>' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:330:in `assert_raises' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/assertions.rb:69:in `assert_raise' -/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_client_test.rb:21:in `block (3 levels) in <class:RubySkynetClientTest>' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.0/lib/shoulda/context/context.rb:398:in `call' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.0/lib/shoulda/context/context.rb:398:in `block in create_test_from_should_hash' -/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:949:in `run' +/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_client_test.rb:24:in `block (3 levels) in <class:RubySkynetClientTest>' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `block in create_test_from_should_hash' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/mocha-0.10.5/lib/mocha/integration/mini_test/version_230_to_262.rb:28:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/testcase.rb:17:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:787:in `block in _run_suite' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `map' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `_run_suite' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:565:in `block in _run_suites' @@ -5645,24 +11875,271 @@ /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:884:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:21:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:326:in `block (2 levels) in autorun' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:27:in `run_once' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:325:in `block in autorun' -2012-10-18 16:32:13.557589 I [1344:70126217157340] [5080674d6b69330540000003] (0.3ms) RubySkynet::Client: SomeService/*/Development -- Called Skynet Service: SomeService.test -- RubySkynet::ServiceUnavailable: No servers available for service: SomeService with version: * in region: Development -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/registry.rb:92:in `server_for' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:66:in `block (2 levels) in call' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.7.0/lib/semantic_logger/base.rb:181:in `benchmark_info' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:62:in `block in call' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.7.0/lib/semantic_logger/base.rb:161:in `with_tags' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:61:in `call' -/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_client_test.rb:23:in `block (4 levels) in <class:RubySkynetClientTest>' +2012-12-05 15:44:03.083156 D [44668:70239857767600] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fc3fb94a6f8>(70239858086780) self=connections=70239858086780 checked_out=70239858086780 with_map= +2012-12-05 15:44:03.083933 T [44668:70239857767600] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "+/services/TestService/1/Test/localhost/2100*{"Config":{"UUID":"localhost:2100-44668-TestService-70239858549100","Name":"TestService","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"localhost","Port":2100,"MaxPort":3099}},"Registered":true}H +2012-12-05 15:44:03.084139 D [44668:70239857767600] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 272 bytes +2012-12-05 15:44:03.085571 T [44668:70239857767600] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 15:44:03.085583 D [44668:70239857767600] (1.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:44:03.085689 T [44668:70239858537780] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01\x04" +2012-12-05 15:44:03.085696 D [44668:70239858537780] (10.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:44:03.087109 T [44668:70239858537780] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xC1\x1D*+/services/TestService/1/Test/localhost/21002\xCD\x01{\"Config\":{\"UUID\":\"localhost:2100-44668-TestService-70239858549100\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-05 15:44:03.087122 D [44668:70239858537780] (1.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 260 bytes +2012-12-05 15:44:03.087339 D [44668:70239858537780] RubySkynet::Registry -- #monitor Add/Update Service: TestService/1/Test => localhost:2100 +2012-12-05 15:44:03.087351 D [44668:70239858537780] RubySkynet::Registry -- Updated registry -- {"TestService/1/Test"=>["localhost:2100"]} +2012-12-05 15:44:03.087563 T [44668:70239858537780] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-05 15:44:03.087630 D [44668:70239858537780] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 15:44:03.090302 T [44668:70239857767600] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xC1\x1D" +2012-12-05 15:44:03.090323 D [44668:70239857767600] (4.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 15:44:03.090444 D [44668:70239857767600] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fc3fb94a6f8>(70239858086780) self=connections=70239858086780 checked_out= with_map= +2012-12-05 15:44:03.096101 I [44668:70239857767600] RubySkynet::Server -- Starting listener on localhost:2100 +2012-12-05 15:44:03.096132 D [44668:70239857767600] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 15:44:03.098004 D [44668:70239853435600] [50bfb2136b6933ae7c000004] RubySkynet::Connection: localhost:2100 -- Waiting for Service Handshake +2012-12-05 15:44:03.098197 D [44668:70239857767600] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 15:44:03.098276 D [44668:70239857767600] RubySkynet::Server -- Client connected, waiting for data from client +2012-12-05 15:44:03.098618 T [44668:70239853435600] [50bfb2136b6933ae7c000004] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "9\x00\x00\x00" +2012-12-05 15:44:03.098626 D [44668:70239853435600] [50bfb2136b6933ae7c000004] (0.6ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 4 bytes +2012-12-05 15:44:03.098679 T [44668:70239853435600] [50bfb2136b6933ae7c000004] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "\bregistered\x00\x01\x02clientid\x00\x19\x00\x00\x0050bfb2136b6933ae7c000005\x00\x00" +2012-12-05 15:44:03.098685 D [44668:70239853435600] [50bfb2136b6933ae7c000004] (0.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 53 bytes +2012-12-05 15:44:03.098730 T [44668:70239853435600] [50bfb2136b6933ae7c000004] RubySkynet::Connection: localhost:2100 -- Service Handshake -- {"registered"=>true, "clientid"=>"50bfb2136b6933ae7c000005"} +2012-12-05 15:44:03.098741 D [44668:70239853435600] [50bfb2136b6933ae7c000004] RubySkynet::Connection: localhost:2100 -- Sending Client Handshake +2012-12-05 15:44:03.098747 T [44668:70239853435600] [50bfb2136b6933ae7c000004] RubySkynet::Connection: localhost:2100 -- Client Handshake -- {"clientid"=>"50bfb2136b6933ae7c000005"} +2012-12-05 15:44:03.098763 T [44668:70239853435600] [50bfb2136b6933ae7c000004] ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sending -- ,clientid50bfb2136b6933ae7c000005 +2012-12-05 15:44:03.098804 D [44668:70239853435600] [50bfb2136b6933ae7c000004] (0.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sent 44 bytes +2012-12-05 15:44:03.098858 D [44668:70239853435600] [50bfb2136b6933ae7c000004] RubySkynet::Connection: localhost:2100 -- Sending Header +2012-12-05 15:44:03.098867 T [44668:70239853435600] [50bfb2136b6933ae7c000004] RubySkynet::Connection: localhost:2100 -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 15:44:03.098887 T [44668:70239853435600] [50bfb2136b6933ae7c000004] ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sending -- 5servicemethodTestService.Forwardseq +2012-12-05 15:44:03.098933 D [44668:70239853435600] [50bfb2136b6933ae7c000004] (0.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sent 53 bytes +2012-12-05 15:44:03.098964 D [44668:70239853435600] [50bfb2136b6933ae7c000004] RubySkynet::Connection: localhost:2100 -- Sending Request +2012-12-05 15:44:03.098977 T [44668:70239853435600] [50bfb2136b6933ae7c000004] RubySkynet::Connection: localhost:2100 -- Request -- {"clientid"=>"50bfb2136b6933ae7c000005", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"echo", "requestinfo"=>{"requestid"=>"50bfb2136b6933ae7c000004", "retrycount"=>0, "originaddress"=>""}} +2012-12-05 15:44:03.098984 T [44668:70239853435600] [50bfb2136b6933ae7c000004] RubySkynet::Connection: localhost:2100 -- Parameters: -- {"some"=>"parameters"} +2012-12-05 15:44:03.099000 T [44668:70239853435600] [50bfb2136b6933ae7c000004] ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sending -- clientid50bfb2136b6933ae7c000005insome parametersmethodechorequestinfoQrequestid50bfb2136b6933ae7c000004retrycountoriginaddress +2012-12-05 15:44:03.099439 D [44668:70239853435600] [50bfb2136b6933ae7c000004] (0.4ms) ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sent 190 bytes +2012-12-05 15:44:03.099458 D [44668:70239853435600] [50bfb2136b6933ae7c000004] RubySkynet::Connection: localhost:2100 -- Reading header from server +2012-12-05 15:44:03.101173 D [44668:70239857767600] RubySkynet::Server -- +****************** +2012-12-05 15:44:03.101193 D [44668:70239857767600] RubySkynet::Server -- Received Request +2012-12-05 15:44:03.101204 T [44668:70239857767600] RubySkynet::Server -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 15:44:03.102001 T [44668:70239857767600] RubySkynet::Server -- Request -- {"clientid"=>"50bfb2136b6933ae7c000005", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"echo", "requestinfo"=>{"requestid"=>"50bfb2136b6933ae7c000004", "retrycount"=>0, "originaddress"=>""}} +2012-12-05 15:44:03.102027 T [44668:70239857767600] RubySkynet::Server -- Parameters -- {"some"=>"parameters"} +2012-12-05 15:44:03.102049 T [44668:70239857767600] RubySkynet::Server -- Method Call: echo with parameters: -- {"some"=>"parameters"} +2012-12-05 15:44:03.102063 D [44668:70239857767600] (0.0ms) RubySkynet::Server -- Called: TestService#echo +2012-12-05 15:44:03.102084 D [44668:70239857767600] RubySkynet::Server -- Sending Header +2012-12-05 15:44:03.103923 D [44668:70239857767600] RubySkynet::Server -- Sending Reply +2012-12-05 15:44:03.103938 T [44668:70239857767600] RubySkynet::Server -- Reply -- {"some"=>"parameters"} +2012-12-05 15:44:03.105518 T [44668:70239853435600] [50bfb2136b6933ae7c000004] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "5\x00\x00\x00" +2012-12-05 15:44:03.105532 D [44668:70239853435600] [50bfb2136b6933ae7c000004] (6.1ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 4 bytes +2012-12-05 15:44:03.105648 T [44668:70239853435600] [50bfb2136b6933ae7c000004] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "\x02servicemethod\x00\x14\x00\x00\x00TestService.Forward\x00\x10seq\x00\x00\x00\x00\x00\x00" +2012-12-05 15:44:03.105654 D [44668:70239853435600] [50bfb2136b6933ae7c000004] (0.1ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 49 bytes +2012-12-05 15:44:03.105688 D [44668:70239853435600] [50bfb2136b6933ae7c000004] RubySkynet::Connection: localhost:2100 -- Response Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 15:44:03.105695 D [44668:70239853435600] [50bfb2136b6933ae7c000004] RubySkynet::Connection: localhost:2100 -- Reading response from server +2012-12-05 15:44:03.106138 T [44668:70239853435600] [50bfb2136b6933ae7c000004] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- ")\x00\x00\x00" +2012-12-05 15:44:03.106145 D [44668:70239853435600] [50bfb2136b6933ae7c000004] (0.4ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 4 bytes +2012-12-05 15:44:03.106433 T [44668:70239853435600] [50bfb2136b6933ae7c000004] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "\x02out\x00\e\x00\x00\x00\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00\x00\x00" +2012-12-05 15:44:03.106472 D [44668:70239853435600] [50bfb2136b6933ae7c000004] (0.3ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 37 bytes +2012-12-05 15:44:03.106622 T [44668:70239853435600] [50bfb2136b6933ae7c000004] RubySkynet::Connection: localhost:2100 -- Response -- {"out"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00"} +2012-12-05 15:44:03.106656 T [44668:70239853435600] [50bfb2136b6933ae7c000004] RubySkynet::Connection: localhost:2100 -- Return Value -- {"some"=>"parameters"} +2012-12-05 15:44:03.106690 I [44668:70239853435600] [50bfb2136b6933ae7c000004] (9.9ms) RubySkynet::Client: TestService/1/Test -- Called Skynet Service: TestService.echo +2012-12-05 15:44:03.107145 I [44668:70239857767600] RubySkynet::Server -- Skynet Server Stopped +2012-12-05 15:44:03.107222 D [44668:70239857767600] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fc3fb94a6f8>(70239858086780) self=connections=70239858086780 checked_out=70239858086780 with_map= +2012-12-05 15:44:03.107581 T [44668:70239857767600] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- <"+/services/TestService/1/Test/localhost/2100H +2012-12-05 15:44:03.108132 D [44668:70239857767600] (0.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 64 bytes +2012-12-05 15:44:03.109571 T [44668:70239858537780] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x006" +2012-12-05 15:44:03.109584 D [44668:70239858537780] (21.9ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:44:03.109938 T [44668:70239858537780] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\b\x18\xC2\x1D*+/services/TestService/1/Test/localhost/21002\x00" +2012-12-05 15:44:03.109946 D [44668:70239858537780] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 54 bytes +2012-12-05 15:44:03.110149 D [44668:70239858537780] RubySkynet::Registry -- #monitor Service stopped, remove: TestService/1/Test => localhost:2100 +2012-12-05 15:44:03.110180 I [44668:70239858537780] RubySkynet::Registry -- Calling callback for server: localhost:2100 +2012-12-05 15:44:03.110303 D [44668:70239858537780] RubySkynet::Connection -- Connection pool for server:localhost:2100 has been released +2012-12-05 15:44:03.110316 D [44668:70239858537780] RubySkynet::Registry -- Updated registry -- {} +2012-12-05 15:44:03.110541 T [44668:70239858537780] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-05 15:44:03.110611 D [44668:70239858537780] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 15:44:03.110682 T [44668:70239857767600] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 15:44:03.110688 D [44668:70239857767600] (2.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:44:03.110822 T [44668:70239857767600] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00" +2012-12-05 15:44:03.110829 D [44668:70239857767600] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 2 bytes +2012-12-05 15:44:03.110905 D [44668:70239857767600] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fc3fb94a6f8>(70239858086780) self=connections=70239858086780 checked_out= with_map= +2012-12-05 15:44:03.111805 I [44668:70239857767600] RubySkynet::Server -- Skynet Services De-registered in Doozer +2012-12-05 15:44:03.115039 D [44668:70239857773080] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fc3fb94a6f8>(70239858086780) self=connections=70239858086780 checked_out=70239858086780 with_map= +2012-12-05 15:44:03.115441 T [44668:70239857773080] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "+/services/TestService/1/Test/localhost/2100*{"Config":{"UUID":"localhost:2100-44668-TestService-70239858549100","Name":"TestService","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"localhost","Port":2100,"MaxPort":3099}},"Registered":true}H +2012-12-05 15:44:03.115494 D [44668:70239857773080] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 272 bytes +2012-12-05 15:44:03.119232 T [44668:70239858537780] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01\x04" +2012-12-05 15:44:03.119251 D [44668:70239858537780] (8.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:44:03.119662 T [44668:70239858537780] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xC3\x1D*+/services/TestService/1/Test/localhost/21002\xCD\x01{\"Config\":{\"UUID\":\"localhost:2100-44668-TestService-70239858549100\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-05 15:44:03.119670 D [44668:70239858537780] (0.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 260 bytes +2012-12-05 15:44:03.119895 D [44668:70239858537780] RubySkynet::Registry -- #monitor Add/Update Service: TestService/1/Test => localhost:2100 +2012-12-05 15:44:03.119908 D [44668:70239858537780] RubySkynet::Registry -- Updated registry -- {"TestService/1/Test"=>["localhost:2100"]} +2012-12-05 15:44:03.120122 T [44668:70239858537780] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-05 15:44:03.120201 D [44668:70239858537780] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 15:44:03.122830 T [44668:70239857773080] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 15:44:03.122843 D [44668:70239857773080] (7.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:44:03.123032 T [44668:70239857773080] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xC3\x1D" +2012-12-05 15:44:03.123039 D [44668:70239857773080] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 15:44:03.123183 D [44668:70239857773080] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fc3fb94a6f8>(70239858086780) self=connections=70239858086780 checked_out= with_map= +2012-12-05 15:44:03.123374 I [44668:70239857773080] RubySkynet::Server -- Starting listener on localhost:2100 +2012-12-05 15:44:03.123389 D [44668:70239857773080] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 15:44:03.125756 I [44668:70239857773080] RubySkynet::Server -- Skynet Server Stopped +2012-12-05 15:44:03.125849 D [44668:70239857773080] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fc3fb94a6f8>(70239858086780) self=connections=70239858086780 checked_out=70239858086780 with_map= +2012-12-05 15:44:03.126211 T [44668:70239857773080] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- <"+/services/TestService/1/Test/localhost/2100H +2012-12-05 15:44:03.126314 D [44668:70239857773080] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 64 bytes +2012-12-05 15:44:03.129136 T [44668:70239858537780] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x006" +2012-12-05 15:44:03.129151 D [44668:70239858537780] (8.9ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:44:03.129537 T [44668:70239857773080] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 15:44:03.129549 D [44668:70239857773080] (3.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:44:03.132654 T [44668:70239857773080] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00" +2012-12-05 15:44:03.132673 D [44668:70239857773080] (3.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 2 bytes +2012-12-05 15:44:03.132800 D [44668:70239857773080] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fc3fb94a6f8>(70239858086780) self=connections=70239858086780 checked_out= with_map= +2012-12-05 15:44:03.132821 I [44668:70239857773080] RubySkynet::Server -- Skynet Services De-registered in Doozer +2012-12-05 15:44:03.134010 T [44668:70239858537780] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\b\x18\xC4\x1D*+/services/TestService/1/Test/localhost/21002\x00" +2012-12-05 15:44:03.134031 D [44668:70239858537780] (4.8ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 54 bytes +2012-12-05 15:44:03.134207 D [44668:70239858537780] RubySkynet::Registry -- #monitor Service stopped, remove: TestService/1/Test => localhost:2100 +2012-12-05 15:44:03.134227 D [44668:70239858537780] RubySkynet::Registry -- Updated registry -- {} +2012-12-05 15:44:03.134487 T [44668:70239858537780] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-05 15:44:03.134722 D [44668:70239858537780] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 15:44:03.135350 D [44668:70239857745680] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fc3fb94a6f8>(70239858086780) self=connections=70239858086780 checked_out=70239858086780 with_map= +2012-12-05 15:44:03.135676 T [44668:70239857745680] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "+/services/TestService/1/Test/localhost/2100*{"Config":{"UUID":"localhost:2100-44668-TestService-70239858549100","Name":"TestService","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"localhost","Port":2100,"MaxPort":3099}},"Registered":true}H +2012-12-05 15:44:03.136265 D [44668:70239857745680] (0.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 272 bytes +2012-12-05 15:44:03.138064 T [44668:70239858537780] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01\x04" +2012-12-05 15:44:03.138076 D [44668:70239858537780] (3.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:44:03.138619 T [44668:70239857745680] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 15:44:03.138626 D [44668:70239857745680] (2.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:44:03.139064 T [44668:70239858537780] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xC5\x1D*+/services/TestService/1/Test/localhost/21002\xCD\x01{\"Config\":{\"UUID\":\"localhost:2100-44668-TestService-70239858549100\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-05 15:44:03.139075 D [44668:70239858537780] (1.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 260 bytes +2012-12-05 15:44:03.139286 D [44668:70239858537780] RubySkynet::Registry -- #monitor Add/Update Service: TestService/1/Test => localhost:2100 +2012-12-05 15:44:03.139297 D [44668:70239858537780] RubySkynet::Registry -- Updated registry -- {"TestService/1/Test"=>["localhost:2100"]} +2012-12-05 15:44:03.139504 T [44668:70239858537780] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-05 15:44:03.139567 D [44668:70239858537780] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 15:44:03.139663 T [44668:70239857745680] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xC5\x1D" +2012-12-05 15:44:03.139669 D [44668:70239857745680] (1.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 15:44:03.139770 D [44668:70239857745680] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fc3fb94a6f8>(70239858086780) self=connections=70239858086780 checked_out= with_map= +2012-12-05 15:44:03.140680 I [44668:70239857745680] RubySkynet::Server -- Starting listener on localhost:2100 +2012-12-05 15:44:03.140700 D [44668:70239857745680] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 15:44:03.144209 D [44668:70239853435600] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fc3fb94a6f8>(70239858086780) self=connections=70239858086780 checked_out=70239858086780 with_map= +2012-12-05 15:44:03.144511 T [44668:70239853435600] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- 1"+/services/TestService/1/Test/localhost/2100 +2012-12-05 15:44:03.144607 D [44668:70239853435600] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 53 bytes +2012-12-05 15:44:03.145247 T [44668:70239853435600] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\xD5" +2012-12-05 15:44:03.145259 D [44668:70239853435600] (0.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:44:03.145524 T [44668:70239853435600] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xC5\x1D2\xCD\x01{\"Config\":{\"UUID\":\"localhost:2100-44668-TestService-70239858549100\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-05 15:44:03.145535 D [44668:70239853435600] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 213 bytes +2012-12-05 15:44:03.145666 D [44668:70239853435600] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fc3fb94a6f8>(70239858086780) self=connections=70239858086780 checked_out= with_map= +2012-12-05 15:44:03.146019 I [44668:70239857745680] RubySkynet::Server -- Skynet Server Stopped +2012-12-05 15:44:03.146083 D [44668:70239857745680] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fc3fb94a6f8>(70239858086780) self=connections=70239858086780 checked_out=70239858086780 with_map= +2012-12-05 15:44:03.146474 T [44668:70239857745680] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- <"+/services/TestService/1/Test/localhost/2100H +2012-12-05 15:44:03.146542 D [44668:70239857745680] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 64 bytes +2012-12-05 15:44:03.147681 T [44668:70239858537780] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x006" +2012-12-05 15:44:03.147693 D [44668:70239858537780] (8.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:44:03.147943 T [44668:70239857745680] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 15:44:03.147950 D [44668:70239857745680] (1.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 15:44:03.148359 T [44668:70239858537780] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\b\x18\xC6\x1D*+/services/TestService/1/Test/localhost/21002\x00" +2012-12-05 15:44:03.148370 D [44668:70239858537780] (0.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 54 bytes +2012-12-05 15:44:03.148482 D [44668:70239858537780] RubySkynet::Registry -- #monitor Service stopped, remove: TestService/1/Test => localhost:2100 +2012-12-05 15:44:03.148501 D [44668:70239858537780] RubySkynet::Registry -- Updated registry -- {} +2012-12-05 15:44:03.148692 T [44668:70239858537780] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H +2012-12-05 15:44:03.148767 D [44668:70239858537780] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 15:44:03.149066 T [44668:70239857745680] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00" +2012-12-05 15:44:03.149073 D [44668:70239857745680] (1.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 2 bytes +2012-12-05 15:44:03.149132 D [44668:70239857745680] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fc3fb94a6f8>(70239858086780) self=connections=70239858086780 checked_out= with_map= +2012-12-05 15:44:03.149146 I [44668:70239857745680] RubySkynet::Server -- Skynet Services De-registered in Doozer +2012-12-05 16:17:09.445537 D [48198:70254143429340] RubySkynet::Server -- Registering Service: TestService with name: TestService +2012-12-05 16:17:09.446726 I [48198:70254143429340] Celluloid -- Terminating 4 actors... +2012-12-05 16:17:09.447664 I [48198:70254143429340] Celluloid -- Shutdown completed cleanly +2012-12-05 16:17:09.453594 T [48198:70254143429340] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007fcaa2a8f920@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 16:17:09.460797 T [48198:70254143429340] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "/8 +2012-12-05 16:17:09.461016 D [48198:70254143429340] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 13 bytes +2012-12-05 16:17:09.461188 T [48198:70254143429340] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\a" +2012-12-05 16:17:09.461197 D [48198:70254143429340] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 16:17:09.461386 T [48198:70254143429340] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00*\x03ctl" +2012-12-05 16:17:09.461397 D [48198:70254143429340] (0.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 7 bytes +2012-12-05 16:17:09.461711 T [48198:70254143429340] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "/8 +2012-12-05 16:17:09.462820 D [48198:70254143429340] (1.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 13 bytes +2012-12-05 16:17:09.463164 T [48198:70254143429340] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 16:17:09.463212 D [48198:70254143429340] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 16:17:09.463281 T [48198:70254143429340] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\xA0\x06\b" +2012-12-05 16:17:09.463288 D [48198:70254143429340] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 5 bytes +2012-12-05 16:17:09.465478 T [48198:70254143429340] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/fooH +2012-12-05 16:17:09.465746 D [48198:70254143429340] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 30 bytes +2012-12-05 16:17:09.467816 T [48198:70254143429340] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 16:17:09.467957 D [48198:70254143429340] (2.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 16:17:09.470241 T [48198:70254143429340] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00" +2012-12-05 16:17:09.470329 D [48198:70254143429340] (2.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 2 bytes +2012-12-05 16:17:09.470981 T [48198:70254143429340] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007fcaa2da2978@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 16:17:09.472004 T [48198:70254143429340] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending --  +2012-12-05 16:17:09.472224 D [48198:70254143429340] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 8 bytes +2012-12-05 16:17:09.472476 T [48198:70254143429340] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 16:17:09.472488 D [48198:70254143429340] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 16:17:09.472664 T [48198:70254143429340] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\x84-" +2012-12-05 16:17:09.472673 D [48198:70254143429340] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 5 bytes +2012-12-05 16:17:09.474007 T [48198:70254143429340] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/fooH +2012-12-05 16:17:09.474070 D [48198:70254143429340] (0.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 30 bytes +2012-12-05 16:17:09.479835 T [48198:70254143429340] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 16:17:09.479893 D [48198:70254143429340] (5.8ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 16:17:09.479996 T [48198:70254143429340] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00" +2012-12-05 16:17:09.480004 D [48198:70254143429340] (0.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 2 bytes +2012-12-05 16:17:09.480719 T [48198:70254143429340] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007fcaa2da9bd8@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 16:17:09.481828 T [48198:70254143429340] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "" /test/foo*value2H +2012-12-05 16:17:09.481990 D [48198:70254143429340] (0.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 38 bytes +2012-12-05 16:17:09.485190 T [48198:70254143429340] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 16:17:09.485283 D [48198:70254143429340] (3.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 16:17:09.485365 T [48198:70254143429340] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\x86-" +2012-12-05 16:17:09.485371 D [48198:70254143429340] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 5 bytes +2012-12-05 16:17:09.485645 T [48198:70254143429340] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/foo +2012-12-05 16:17:09.485690 D [48198:70254143429340] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 19 bytes +2012-12-05 16:17:09.486191 T [48198:70254143429340] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\r" +2012-12-05 16:17:09.486233 D [48198:70254143429340] (0.5ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 16:17:09.486553 T [48198:70254143429340] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\x86-2\x06value2" +2012-12-05 16:17:09.486590 D [48198:70254143429340] (0.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 13 bytes +2012-12-05 16:17:09.489066 T [48198:70254143429340] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/fooH +2012-12-05 16:17:09.491987 D [48198:70254143429340] (2.9ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 30 bytes +2012-12-05 16:17:09.492188 T [48198:70254143429340] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 16:17:09.492215 D [48198:70254143429340] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 16:17:09.492441 T [48198:70254143429340] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00" +2012-12-05 16:17:09.492467 D [48198:70254143429340] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 2 bytes +2012-12-05 16:17:09.492909 T [48198:70254143429340] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007fcaa2dcc2f0@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 16:17:09.497878 T [48198:70254143429340] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- !" /test/foo*valueH +2012-12-05 16:17:09.498090 D [48198:70254143429340] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 37 bytes +2012-12-05 16:17:09.499546 T [48198:70254143429340] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 16:17:09.499577 D [48198:70254143429340] (1.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 16:17:09.501094 T [48198:70254143429340] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\x88-" +2012-12-05 16:17:09.501247 D [48198:70254143429340] (1.6ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 5 bytes +2012-12-05 16:17:09.501633 T [48198:70254143429340] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/foo +2012-12-05 16:17:09.501677 D [48198:70254143429340] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 19 bytes +2012-12-05 16:17:09.501905 T [48198:70254143429340] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\f" +2012-12-05 16:17:09.501912 D [48198:70254143429340] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 16:17:09.501975 T [48198:70254143429340] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\x88-2\x05value" +2012-12-05 16:17:09.501980 D [48198:70254143429340] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 12 bytes +2012-12-05 16:17:09.503432 T [48198:70254143429340] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/fooH +2012-12-05 16:17:09.503584 D [48198:70254143429340] (0.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 30 bytes +2012-12-05 16:17:09.504995 T [48198:70254143429340] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 16:17:09.505034 D [48198:70254143429340] (1.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 16:17:09.505546 T [48198:70254143429340] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00" +2012-12-05 16:17:09.505584 D [48198:70254143429340] (0.5ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 2 bytes +2012-12-05 16:17:09.506698 T [48198:70254143429340] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:9999", :connect_retry_interval=>0.1, :connect_retry_count=>5, :read_timeout=>5, :connect_timeout=>3, :buffered=>false, :on_connect=>#<Proc:0x007fcaa2de0bb0@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 16:17:09.519785 W [48198:70254143429340] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 1 +2012-12-05 16:17:09.621335 W [48198:70254143429340] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 2 +2012-12-05 16:17:09.722819 W [48198:70254143429340] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 3 +2012-12-05 16:17:09.823447 W [48198:70254143429340] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 4 +2012-12-05 16:17:09.924187 W [48198:70254143429340] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 5 +2012-12-05 16:17:10.025509 E [48198:70254143429340] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Giving up after 5 retries +2012-12-05 16:17:10.025610 I [48198:70254143429340] (518.5ms) ResilientSocket::TCPClient ["localhost:9999"] -- Connecting to server localhost:9999 -- ResilientSocket::ConnectionFailure: After 5 connection attempts to host 'localhost:9999': Errno::ECONNREFUSED: Connection refused - connect(2) +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:578:in `rescue in block in connect_to_server' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:549:in `block in connect_to_server' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_info' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:542:in `connect_to_server' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:305:in `connect' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:233:in `initialize' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:36:in `new' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:36:in `initialize' +/Users/rmorrison/Sandbox/ruby_skynet/test/doozer_client_test.rb:19:in `new' +/Users/rmorrison/Sandbox/ruby_skynet/test/doozer_client_test.rb:19:in `block (4 levels) in <class:DoozerClientTest>' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:330:in `assert_raises' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/assertions.rb:69:in `assert_raise' -/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_client_test.rb:21:in `block (3 levels) in <class:RubySkynetClientTest>' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.0/lib/shoulda/context/context.rb:398:in `call' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.0/lib/shoulda/context/context.rb:398:in `block in create_test_from_should_hash' -/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:949:in `run' +/Users/rmorrison/Sandbox/ruby_skynet/test/doozer_client_test.rb:18:in `block (3 levels) in <class:DoozerClientTest>' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `block in create_test_from_should_hash' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/mocha-0.10.5/lib/mocha/integration/mini_test/version_230_to_262.rb:28:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/testcase.rb:17:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:787:in `block in _run_suite' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `map' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `_run_suite' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:565:in `block in _run_suites' @@ -5675,24 +12152,135 @@ /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:895:in `_run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:884:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:21:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:326:in `block (2 levels) in autorun' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:27:in `run_once' -/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:325:in `block in autorun' -- RubySkynet::ServiceUnavailable: No servers available for service: SomeService with version: * in region: Development +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:325:in `block in autorun' +2012-12-05 16:17:10.027845 D [48198:70254151807320] SimpleServer -- Waiting for a client to connect +2012-12-05 16:17:10.033964 D [48198:70254143429340] RubySkynet::Registry -- Doozer Connection Pool: Created connection #1 #<Thread:0x007fcaa286b5b8>(70254143429340) for Doozer Connection Pool +2012-12-05 16:17:10.034061 T [48198:70254143429340] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007fcaa39a84e8@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 16:17:10.034970 D [48198:70254143429340] RubySkynet::Registry -- Doozer Connection Pool: Renewed connection old=70254143429340 new=#<RubySkynet::Doozer::Client:0x007fcaa39a86c8>(70254152467300) +2012-12-05 16:17:10.035003 D [48198:70254143429340] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fcaa39a86c8>(70254152467300) self=connections=70254152467300 checked_out=70254152467300 with_map= +2012-12-05 16:17:10.237458 T [48198:70254143429340] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "+/services/TestService/1/Test/127.0.0.1/2000*{"Config":{"UUID":"3978b371-15e9-40f8-9b7b-59ae88d8c7ec","Name":"TestService","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"127.0.0.1","Port":2000,"MaxPort":2999}},"Registered":true}H +2012-12-05 16:17:10.237698 D [48198:70254143429340] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 261 bytes +2012-12-05 16:17:10.239292 T [48198:70254143429340] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 16:17:10.239348 D [48198:70254143429340] (1.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 16:17:10.239498 T [48198:70254143429340] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\x8B-" +2012-12-05 16:17:10.239504 D [48198:70254143429340] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 16:17:10.239649 D [48198:70254143429340] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fcaa39a86c8>(70254152467300) self=connections=70254152467300 checked_out= with_map= +2012-12-05 16:17:10.244226 D [48198:70254143429340] [50bfb9d66b6933bc46000001] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fcaa39a86c8>(70254152467300) self=connections=70254152467300 checked_out=70254152467300 with_map= +2012-12-05 16:17:10.244462 T [48198:70254143429340] [50bfb9d66b6933bc46000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  +2012-12-05 16:17:10.245018 D [48198:70254143429340] [50bfb9d66b6933bc46000001] (0.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 8 bytes +2012-12-05 16:17:10.245107 T [48198:70254143429340] [50bfb9d66b6933bc46000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 16:17:10.245114 D [48198:70254143429340] [50bfb9d66b6933bc46000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 16:17:10.245545 T [48198:70254143429340] [50bfb9d66b6933bc46000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\x8B-" +2012-12-05 16:17:10.245552 D [48198:70254143429340] [50bfb9d66b6933bc46000001] (0.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 16:17:10.245868 T [48198:70254143429340] [50bfb9d66b6933bc46000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H- +2012-12-05 16:17:10.245916 D [48198:70254143429340] [50bfb9d66b6933bc46000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-05 16:17:10.246477 T [48198:70254143429340] [50bfb9d66b6933bc46000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\xF9" +2012-12-05 16:17:10.246531 D [48198:70254143429340] [50bfb9d66b6933bc46000001] (0.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 16:17:10.246919 T [48198:70254143429340] [50bfb9d66b6933bc46000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\x8B-*+/services/TestService/1/Test/127.0.0.1/20002\xC2\x01{\"Config\":{\"UUID\":\"3978b371-15e9-40f8-9b7b-59ae88d8c7ec\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"127.0.0.1\",\"Port\":2000,\"MaxPort\":2999}},\"Registered\":true}" +2012-12-05 16:17:10.246927 D [48198:70254143429340] [50bfb9d66b6933bc46000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 249 bytes +2012-12-05 16:17:10.247229 T [48198:70254143429340] [50bfb9d66b6933bc46000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H- +2012-12-05 16:17:10.247271 D [48198:70254143429340] [50bfb9d66b6933bc46000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-05 16:17:10.247814 T [48198:70254143429340] [50bfb9d66b6933bc46000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 16:17:10.247826 D [48198:70254143429340] [50bfb9d66b6933bc46000001] (0.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 16:17:10.247886 T [48198:70254143429340] [50bfb9d66b6933bc46000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\xA0\x06\b" +2012-12-05 16:17:10.247892 D [48198:70254143429340] [50bfb9d66b6933bc46000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 16:17:10.248067 D [48198:70254143429340] [50bfb9d66b6933bc46000001] RubySkynet::Registry -- #start_monitoring Add Service: TestService/1/Test => 127.0.0.1:2000 +2012-12-05 16:17:10.248112 D [48198:70254143429340] [50bfb9d66b6933bc46000001] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fcaa39a86c8>(70254152467300) self=connections=70254152467300 checked_out= with_map= +2012-12-05 16:17:10.249095 D [48198:70254143429340] [50bfb9d66b6933bc46000001] RubySkynet::Connection: 127.0.0.1:2000 -- Waiting for Service Handshake +2012-12-05 16:17:10.250108 D [48198:70254151807320] SimpleServer -- Waiting for a client to connect +2012-12-05 16:17:10.250210 D [48198:70254151807320] SimpleServer -- Client connected, waiting for data from client +2012-12-05 16:17:10.251127 T [48198:70254143429340] [50bfb9d66b6933bc46000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "$\x00\x00\x00" +2012-12-05 16:17:10.251141 D [48198:70254143429340] [50bfb9d66b6933bc46000001] (1.4ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes +2012-12-05 16:17:10.251195 T [48198:70254143429340] [50bfb9d66b6933bc46000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "\bregistered\x00\x01\x02clientid\x00\x04\x00\x00\x00123\x00\x00" +2012-12-05 16:17:10.251201 D [48198:70254143429340] [50bfb9d66b6933bc46000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 32 bytes +2012-12-05 16:17:10.251246 T [48198:70254143429340] [50bfb9d66b6933bc46000001] RubySkynet::Connection: 127.0.0.1:2000 -- Service Handshake -- {"registered"=>true, "clientid"=>"123"} +2012-12-05 16:17:10.251258 D [48198:70254143429340] [50bfb9d66b6933bc46000001] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Client Handshake +2012-12-05 16:17:10.251264 T [48198:70254143429340] [50bfb9d66b6933bc46000001] RubySkynet::Connection: 127.0.0.1:2000 -- Client Handshake -- {"clientid"=>"123"} +2012-12-05 16:17:10.251280 T [48198:70254143429340] [50bfb9d66b6933bc46000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- clientid123 +2012-12-05 16:17:10.251316 D [48198:70254143429340] [50bfb9d66b6933bc46000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 23 bytes +2012-12-05 16:17:10.251378 D [48198:70254143429340] [50bfb9d66b6933bc46000001] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Header +2012-12-05 16:17:10.251388 T [48198:70254143429340] [50bfb9d66b6933bc46000001] RubySkynet::Connection: 127.0.0.1:2000 -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 16:17:10.251409 T [48198:70254143429340] [50bfb9d66b6933bc46000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- 5servicemethodTestService.Forwardseq +2012-12-05 16:17:10.251447 D [48198:70254143429340] [50bfb9d66b6933bc46000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 53 bytes +2012-12-05 16:17:10.251492 D [48198:70254143429340] [50bfb9d66b6933bc46000001] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Request +2012-12-05 16:17:10.251499 T [48198:70254143429340] [50bfb9d66b6933bc46000001] RubySkynet::Connection: 127.0.0.1:2000 -- Request -- {"clientid"=>"123", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"test1", "requestinfo"=>{"requestid"=>"50bfb9d66b6933bc46000001", "retrycount"=>0, "originaddress"=>""}} +2012-12-05 16:17:10.251504 T [48198:70254143429340] [50bfb9d66b6933bc46000001] RubySkynet::Connection: 127.0.0.1:2000 -- Parameters: -- {"some"=>"parameters"} +2012-12-05 16:17:10.251521 T [48198:70254143429340] [50bfb9d66b6933bc46000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- clientid123insome parametersmethodtest1requestinfoQrequestid50bfb9d66b6933bc46000001retrycountoriginaddress +2012-12-05 16:17:10.251952 I [48198:70254153140040] RubySkynet::Registry -- Start monitoring /services/*/*/*/*/* +2012-12-05 16:17:10.252014 T [48198:70254153140040] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007fcaa2a92120@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 16:17:10.252638 T [48198:70254153140040] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H- +2012-12-05 16:17:10.253095 D [48198:70254151807320] SimpleServer -- +****************** +2012-12-05 16:17:10.253105 D [48198:70254151807320] SimpleServer -- Received Request +2012-12-05 16:17:10.253152 T [48198:70254151807320] SimpleServer -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 16:17:10.253395 D [48198:70254143429340] [50bfb9d66b6933bc46000001] (1.9ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 170 bytes +2012-12-05 16:17:10.253411 D [48198:70254143429340] [50bfb9d66b6933bc46000001] RubySkynet::Connection: 127.0.0.1:2000 -- Reading header from server +2012-12-05 16:17:10.253447 D [48198:70254153140040] (0.8ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 16:17:10.253875 T [48198:70254151807320] SimpleServer -- Request -- {"clientid"=>"123", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"test1", "requestinfo"=>{"requestid"=>"50bfb9d66b6933bc46000001", "retrycount"=>0, "originaddress"=>""}} +2012-12-05 16:17:10.253901 D [48198:70254151807320] SimpleServer -- Sending Header +2012-12-05 16:17:10.253956 D [48198:70254151807320] SimpleServer -- Sending Reply +2012-12-05 16:17:10.253964 T [48198:70254151807320] SimpleServer -- Reply -- {"result"=>"test1"} +2012-12-05 16:17:10.254283 T [48198:70254143429340] [50bfb9d66b6933bc46000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "5\x00\x00\x00" +2012-12-05 16:17:10.254294 D [48198:70254143429340] [50bfb9d66b6933bc46000001] (0.9ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes +2012-12-05 16:17:10.254399 T [48198:70254143429340] [50bfb9d66b6933bc46000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "\x02servicemethod\x00\x14\x00\x00\x00TestService.Forward\x00\x10seq\x00\x00\x00\x00\x00\x00" +2012-12-05 16:17:10.254405 D [48198:70254143429340] [50bfb9d66b6933bc46000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 49 bytes +2012-12-05 16:17:10.254477 D [48198:70254143429340] [50bfb9d66b6933bc46000001] RubySkynet::Connection: 127.0.0.1:2000 -- Response Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 16:17:10.254485 D [48198:70254143429340] [50bfb9d66b6933bc46000001] RubySkynet::Connection: 127.0.0.1:2000 -- Reading response from server +2012-12-05 16:17:10.254534 T [48198:70254143429340] [50bfb9d66b6933bc46000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "&\x00\x00\x00" +2012-12-05 16:17:10.254561 D [48198:70254143429340] [50bfb9d66b6933bc46000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes +2012-12-05 16:17:10.254624 T [48198:70254143429340] [50bfb9d66b6933bc46000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "\x02out\x00\x18\x00\x00\x00\x17\x00\x00\x00\x02result\x00\x06\x00\x00\x00test1\x00\x00\x00\x00" +2012-12-05 16:17:10.254630 D [48198:70254143429340] [50bfb9d66b6933bc46000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 34 bytes +2012-12-05 16:17:10.254657 T [48198:70254143429340] [50bfb9d66b6933bc46000001] RubySkynet::Connection: 127.0.0.1:2000 -- Response -- {"out"=>"\x17\x00\x00\x00\x02result\x00\x06\x00\x00\x00test1\x00\x00"} +2012-12-05 16:17:10.254679 T [48198:70254143429340] [50bfb9d66b6933bc46000001] RubySkynet::Connection: 127.0.0.1:2000 -- Return Value -- {"result"=>"test1"} +2012-12-05 16:17:10.254703 I [48198:70254143429340] [50bfb9d66b6933bc46000001] (14.9ms) RubySkynet::Client: TestService/1/Test -- Called Skynet Service: TestService.test1 +2012-12-05 16:17:10.257956 D [48198:70254143429340] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fcaa39a86c8>(70254152467300) self=connections=70254152467300 checked_out=70254152467300 with_map= +2012-12-05 16:17:10.258268 T [48198:70254143429340] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- <"+/services/TestService/1/Test/127.0.0.1/2000H +2012-12-05 16:17:10.258315 D [48198:70254143429340] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 64 bytes +2012-12-05 16:17:10.260622 T [48198:70254153140040] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x006" +2012-12-05 16:17:10.260636 D [48198:70254153140040] (7.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 16:17:10.260815 T [48198:70254143429340] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 16:17:10.260822 D [48198:70254143429340] (2.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 16:17:10.262890 T [48198:70254153140040] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\b\x18\x8C-*+/services/TestService/1/Test/127.0.0.1/20002\x00" +2012-12-05 16:17:10.262904 D [48198:70254153140040] (2.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 54 bytes +2012-12-05 16:17:10.263217 D [48198:70254153140040] RubySkynet::Registry -- #monitor Service stopped, remove: TestService/1/Test => 127.0.0.1:2000 +2012-12-05 16:17:10.263245 I [48198:70254153140040] RubySkynet::Registry -- Calling callback for server: 127.0.0.1:2000 +2012-12-05 16:17:10.263383 D [48198:70254153140040] RubySkynet::Connection -- Connection pool for server:127.0.0.1:2000 has been released +2012-12-05 16:17:10.263750 D [48198:70254153140040] RubySkynet::Registry -- Updated registry -- {} +2012-12-05 16:17:10.263988 T [48198:70254153140040] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H- +2012-12-05 16:17:10.265799 D [48198:70254153140040] (1.8ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 16:17:10.266443 T [48198:70254143429340] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00" +2012-12-05 16:17:10.266450 D [48198:70254143429340] (5.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 2 bytes +2012-12-05 16:17:10.266542 D [48198:70254143429340] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fcaa39a86c8>(70254152467300) self=connections=70254152467300 checked_out= with_map= +2012-12-05 16:17:10.268376 D [48198:70254151814320] SimpleServer -- Waiting for a client to connect +2012-12-05 16:17:10.268708 D [48198:70254143429340] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fcaa39a86c8>(70254152467300) self=connections=70254152467300 checked_out=70254152467300 with_map= +2012-12-05 16:17:10.269086 T [48198:70254143429340] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "+/services/TestService/1/Test/127.0.0.1/2000*{"Config":{"UUID":"3978b371-15e9-40f8-9b7b-59ae88d8c7ec","Name":"TestService","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"127.0.0.1","Port":2000,"MaxPort":2999}},"Registered":true}H +2012-12-05 16:17:10.269139 D [48198:70254143429340] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 261 bytes +2012-12-05 16:17:10.271049 T [48198:70254143429340] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 16:17:10.271061 D [48198:70254143429340] (1.9ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 16:17:10.271158 T [48198:70254153140040] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\xF9" +2012-12-05 16:17:10.271166 D [48198:70254153140040] (5.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 16:17:10.274238 T [48198:70254143429340] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\x8D-" +2012-12-05 16:17:10.274333 D [48198:70254143429340] (3.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 16:17:10.274572 D [48198:70254143429340] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fcaa39a86c8>(70254152467300) self=connections=70254152467300 checked_out= with_map= +2012-12-05 16:17:10.275346 W [48198:70254143429340] [50bfb9d66b6933bc46000002] RubySkynet::Registry -- No servers available for service: TestService with version: 1 in region: Test +2012-12-05 16:17:10.275438 I [48198:70254143429340] [50bfb9d66b6933bc46000002] (0.2ms) RubySkynet::Client: TestService/1/Test -- Called Skynet Service: TestService.sleep -- RubySkynet::ServiceUnavailable: No servers available for service: TestService with version: 1 in region: Test /Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/registry.rb:92:in `server_for' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:66:in `block (2 levels) in call' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.7.0/lib/semantic_logger/base.rb:181:in `benchmark_info' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:62:in `block in call' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.7.0/lib/semantic_logger/base.rb:161:in `with_tags' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:61:in `call' -/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_client_test.rb:23:in `block (4 levels) in <class:RubySkynetClientTest>' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:64:in `block (2 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_info' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:60:in `block in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:126:in `with_tags' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:59:in `call' +/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_client_test.rb:87:in `block (5 levels) in <class:RubySkynetClientTest>' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:330:in `assert_raises' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/assertions.rb:69:in `assert_raise' -/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_client_test.rb:21:in `block (3 levels) in <class:RubySkynetClientTest>' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.0/lib/shoulda/context/context.rb:398:in `call' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.0/lib/shoulda/context/context.rb:398:in `block in create_test_from_should_hash' -/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:949:in `run' +/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_client_test.rb:85:in `block (4 levels) in <class:RubySkynetClientTest>' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `block in create_test_from_should_hash' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/mocha-0.10.5/lib/mocha/integration/mini_test/version_230_to_262.rb:28:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/testcase.rb:17:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:787:in `block in _run_suite' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `map' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `_run_suite' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:565:in `block in _run_suites' @@ -5706,205 +12294,41 @@ /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:884:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:21:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:326:in `block (2 levels) in autorun' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:27:in `run_once' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:325:in `block in autorun' -2012-10-18 16:32:43.526738 T [1349:70172945898200] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007fa4d3121748@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -2012-10-18 16:32:43.526738 T [1349:70172945898200] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007fa4d3121748@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007fa4d3121748@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -2012-10-18 16:32:43.533748 T [1349:70172945898200] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "/8 -2012-10-18 16:32:43.533748 T [1349:70172945898200] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "/8 -- "/8 -2012-10-18 16:32:43.533827 D [1349:70172945898200] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 13 bytes -2012-10-18 16:32:43.533827 D [1349:70172945898200] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 13 bytes -2012-10-18 16:32:43.536188 T [1349:70172945898200] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\a" -2012-10-18 16:32:43.536188 T [1349:70172945898200] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\a" -- "\x00\x00\x00\a" -2012-10-18 16:32:43.536216 D [1349:70172945898200] (2.4ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:32:43.536216 D [1349:70172945898200] (2.4ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:32:43.537267 T [1349:70172945898200] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00*\x03ctl" -2012-10-18 16:32:43.537267 T [1349:70172945898200] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00*\x03ctl" -- "\b\x00*\x03ctl" -2012-10-18 16:32:43.537287 D [1349:70172945898200] (0.8ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 7 bytes -2012-10-18 16:32:43.537287 D [1349:70172945898200] (0.8ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 7 bytes -2012-10-18 16:32:43.537914 T [1349:70172945898200] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "/8 -2012-10-18 16:32:43.537914 T [1349:70172945898200] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "/8 -- "/8 -2012-10-18 16:32:43.537965 D [1349:70172945898200] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 13 bytes -2012-10-18 16:32:43.537965 D [1349:70172945898200] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 13 bytes -2012-10-18 16:32:43.538146 T [1349:70172945898200] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\f" -2012-10-18 16:32:43.538146 T [1349:70172945898200] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\f" -- "\x00\x00\x00\f" -2012-10-18 16:32:43.538159 D [1349:70172945898200] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:32:43.538159 D [1349:70172945898200] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:32:43.538224 T [1349:70172945898200] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00*\bservices" -2012-10-18 16:32:43.538224 T [1349:70172945898200] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00*\bservices" -- "\b\x00*\bservices" -2012-10-18 16:32:43.538234 D [1349:70172945898200] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 12 bytes -2012-10-18 16:32:43.538234 D [1349:70172945898200] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 12 bytes -2012-10-18 16:32:43.538438 T [1349:70172945898200] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "/8 -2012-10-18 16:32:43.538438 T [1349:70172945898200] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "/8 -- "/8 -2012-10-18 16:32:43.538482 D [1349:70172945898200] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 13 bytes -2012-10-18 16:32:43.538482 D [1349:70172945898200] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 13 bytes -2012-10-18 16:32:43.538784 T [1349:70172945898200] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x0E" -2012-10-18 16:32:43.538784 T [1349:70172945898200] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x0E" -- "\x00\x00\x00\x0E" -2012-10-18 16:32:43.538798 D [1349:70172945898200] (0.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:32:43.538798 D [1349:70172945898200] (0.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:32:43.538868 T [1349:70172945898200] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00*\nstatistics" -2012-10-18 16:32:43.538868 T [1349:70172945898200] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00*\nstatistics" -- "\b\x00*\nstatistics" -2012-10-18 16:32:43.538879 D [1349:70172945898200] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 14 bytes -2012-10-18 16:32:43.538879 D [1349:70172945898200] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 14 bytes -2012-10-18 16:32:43.539096 T [1349:70172945898200] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "/8 -2012-10-18 16:32:43.539096 T [1349:70172945898200] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "/8 -- "/8 -2012-10-18 16:32:43.539147 D [1349:70172945898200] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 13 bytes -2012-10-18 16:32:43.539147 D [1349:70172945898200] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 13 bytes -2012-10-18 16:32:43.539679 T [1349:70172945898200] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x05" -2012-10-18 16:32:43.539679 T [1349:70172945898200] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x05" -- "\x00\x00\x00\x05" -2012-10-18 16:32:43.539692 D [1349:70172945898200] (0.5ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:32:43.539692 D [1349:70172945898200] (0.5ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:32:43.542936 T [1349:70172945898200] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\xA0\x06\b" -2012-10-18 16:32:43.542936 T [1349:70172945898200] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\xA0\x06\b" -- "\b\x00\xA0\x06\b" -2012-10-18 16:32:43.542952 D [1349:70172945898200] (3.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 5 bytes -2012-10-18 16:32:43.542952 D [1349:70172945898200] (3.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 5 bytes -2012-10-18 16:32:43.544172 T [1349:70172945898200] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/fooH -2012-10-18 16:32:43.544172 T [1349:70172945898200] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/fooH -- " /test/fooH -2012-10-18 16:32:43.544361 D [1349:70172945898200] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 30 bytes -2012-10-18 16:32:43.544361 D [1349:70172945898200] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 30 bytes -2012-10-18 16:32:43.545738 T [1349:70172945898200] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x02" -2012-10-18 16:32:43.545738 T [1349:70172945898200] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x02" -- "\x00\x00\x00\x02" -2012-10-18 16:32:43.545755 D [1349:70172945898200] (1.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:32:43.545755 D [1349:70172945898200] (1.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:32:43.548971 T [1349:70172945898200] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00" -2012-10-18 16:32:43.548971 T [1349:70172945898200] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00" -- "\b\x00" -2012-10-18 16:32:43.548994 D [1349:70172945898200] (3.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 2 bytes -2012-10-18 16:32:43.548994 D [1349:70172945898200] (3.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 2 bytes -2012-10-18 16:32:43.549318 T [1349:70172945898200] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007fa4d38ec608@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -2012-10-18 16:32:43.549318 T [1349:70172945898200] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007fa4d38ec608@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007fa4d38ec608@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -2012-10-18 16:32:43.550730 T [1349:70172945898200] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending --  -2012-10-18 16:32:43.550730 T [1349:70172945898200] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending --  --  -2012-10-18 16:32:43.550819 D [1349:70172945898200] (0.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 8 bytes -2012-10-18 16:32:43.550819 D [1349:70172945898200] (0.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 8 bytes -2012-10-18 16:32:43.552293 T [1349:70172945898200] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x06" -2012-10-18 16:32:43.552293 T [1349:70172945898200] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x06" -- "\x00\x00\x00\x06" -2012-10-18 16:32:43.552307 D [1349:70172945898200] (1.5ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:32:43.552307 D [1349:70172945898200] (1.5ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:32:43.552380 T [1349:70172945898200] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xFE\xD4\x03" -2012-10-18 16:32:43.552380 T [1349:70172945898200] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xFE\xD4\x03" -- "\b\x00\x18\xFE\xD4\x03" -2012-10-18 16:32:43.552391 D [1349:70172945898200] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 6 bytes -2012-10-18 16:32:43.552391 D [1349:70172945898200] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 6 bytes -2012-10-18 16:32:43.553509 T [1349:70172945898200] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/fooH -2012-10-18 16:32:43.553509 T [1349:70172945898200] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/fooH -- " /test/fooH -2012-10-18 16:32:43.553556 D [1349:70172945898200] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 30 bytes -2012-10-18 16:32:43.553556 D [1349:70172945898200] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 30 bytes -2012-10-18 16:32:43.555131 T [1349:70172945898200] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x02" -2012-10-18 16:32:43.555131 T [1349:70172945898200] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x02" -- "\x00\x00\x00\x02" -2012-10-18 16:32:43.555149 D [1349:70172945898200] (1.6ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:32:43.555149 D [1349:70172945898200] (1.6ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:32:43.555917 T [1349:70172945898200] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00" -2012-10-18 16:32:43.555917 T [1349:70172945898200] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00" -- "\b\x00" -2012-10-18 16:32:43.555934 D [1349:70172945898200] (0.7ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 2 bytes -2012-10-18 16:32:43.555934 D [1349:70172945898200] (0.7ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 2 bytes -2012-10-18 16:32:43.556317 T [1349:70172945898200] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007fa4d38d7528@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -2012-10-18 16:32:43.556317 T [1349:70172945898200] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007fa4d38d7528@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007fa4d38d7528@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -2012-10-18 16:32:43.565354 T [1349:70172945898200] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "" /test/foo*value2H -2012-10-18 16:32:43.565354 T [1349:70172945898200] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "" /test/foo*value2H -- "" /test/foo*value2H -2012-10-18 16:32:43.566059 D [1349:70172945898200] (0.6ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 38 bytes -2012-10-18 16:32:43.566059 D [1349:70172945898200] (0.6ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 38 bytes -2012-10-18 16:32:43.567963 T [1349:70172945898200] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x06" -2012-10-18 16:32:43.567963 T [1349:70172945898200] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x06" -- "\x00\x00\x00\x06" -2012-10-18 16:32:43.567982 D [1349:70172945898200] (1.8ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:32:43.567982 D [1349:70172945898200] (1.8ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:32:43.569615 T [1349:70172945898200] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\x80\xD5\x03" -2012-10-18 16:32:43.569615 T [1349:70172945898200] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\x80\xD5\x03" -- "\b\x00\x18\x80\xD5\x03" -2012-10-18 16:32:43.569637 D [1349:70172945898200] (1.6ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 6 bytes -2012-10-18 16:32:43.569637 D [1349:70172945898200] (1.6ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 6 bytes -2012-10-18 16:32:43.570005 T [1349:70172945898200] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/foo -2012-10-18 16:32:43.570005 T [1349:70172945898200] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/foo -- " /test/foo -2012-10-18 16:32:43.570088 D [1349:70172945898200] (0.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 19 bytes -2012-10-18 16:32:43.570088 D [1349:70172945898200] (0.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 19 bytes -2012-10-18 16:32:43.570851 T [1349:70172945898200] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x0E" -2012-10-18 16:32:43.570851 T [1349:70172945898200] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x0E" -- "\x00\x00\x00\x0E" -2012-10-18 16:32:43.570868 D [1349:70172945898200] (0.8ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:32:43.570868 D [1349:70172945898200] (0.8ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:32:43.571415 T [1349:70172945898200] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\x80\xD5\x032\x06value2" -2012-10-18 16:32:43.571415 T [1349:70172945898200] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\x80\xD5\x032\x06value2" -- "\b\x00\x18\x80\xD5\x032\x06value2" -2012-10-18 16:32:43.571432 D [1349:70172945898200] (0.5ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 14 bytes -2012-10-18 16:32:43.571432 D [1349:70172945898200] (0.5ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 14 bytes -2012-10-18 16:32:43.585204 T [1349:70172945898200] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/fooH -2012-10-18 16:32:43.585204 T [1349:70172945898200] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/fooH -- " /test/fooH -2012-10-18 16:32:43.585268 D [1349:70172945898200] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 30 bytes -2012-10-18 16:32:43.585268 D [1349:70172945898200] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 30 bytes -2012-10-18 16:32:43.586698 T [1349:70172945898200] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x02" -2012-10-18 16:32:43.586698 T [1349:70172945898200] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x02" -- "\x00\x00\x00\x02" -2012-10-18 16:32:43.586715 D [1349:70172945898200] (1.4ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:32:43.586715 D [1349:70172945898200] (1.4ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:32:43.587350 T [1349:70172945898200] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00" -2012-10-18 16:32:43.587350 T [1349:70172945898200] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00" -- "\b\x00" -2012-10-18 16:32:43.587366 D [1349:70172945898200] (0.6ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 2 bytes -2012-10-18 16:32:43.587366 D [1349:70172945898200] (0.6ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 2 bytes -2012-10-18 16:32:43.587639 T [1349:70172945898200] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007fa4d3040310@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -2012-10-18 16:32:43.587639 T [1349:70172945898200] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007fa4d3040310@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007fa4d3040310@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -2012-10-18 16:32:43.589354 T [1349:70172945898200] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- !" /test/foo*valueH -2012-10-18 16:32:43.589354 T [1349:70172945898200] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- !" /test/foo*valueH -- !" /test/foo*valueH -2012-10-18 16:32:43.590383 D [1349:70172945898200] (1.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 37 bytes -2012-10-18 16:32:43.590383 D [1349:70172945898200] (1.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 37 bytes -2012-10-18 16:32:43.597919 T [1349:70172945898200] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x06" -2012-10-18 16:32:43.597919 T [1349:70172945898200] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x06" -- "\x00\x00\x00\x06" -2012-10-18 16:32:43.597951 D [1349:70172945898200] (5.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:32:43.597951 D [1349:70172945898200] (5.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:32:43.601622 T [1349:70172945898200] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\x82\xD5\x03" -2012-10-18 16:32:43.601622 T [1349:70172945898200] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\x82\xD5\x03" -- "\b\x00\x18\x82\xD5\x03" -2012-10-18 16:32:43.601655 D [1349:70172945898200] (0.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 6 bytes -2012-10-18 16:32:43.601655 D [1349:70172945898200] (0.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 6 bytes -2012-10-18 16:32:43.601979 T [1349:70172945898200] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/foo -2012-10-18 16:32:43.601979 T [1349:70172945898200] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/foo -- " /test/foo -2012-10-18 16:32:43.602035 D [1349:70172945898200] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 19 bytes -2012-10-18 16:32:43.602035 D [1349:70172945898200] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 19 bytes -2012-10-18 16:32:43.602493 T [1349:70172945898200] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\r" -2012-10-18 16:32:43.602493 T [1349:70172945898200] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\r" -- "\x00\x00\x00\r" -2012-10-18 16:32:43.602509 D [1349:70172945898200] (0.5ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:32:43.602509 D [1349:70172945898200] (0.5ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:32:43.602581 T [1349:70172945898200] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\x82\xD5\x032\x05value" -2012-10-18 16:32:43.602581 T [1349:70172945898200] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\x82\xD5\x032\x05value" -- "\b\x00\x18\x82\xD5\x032\x05value" -2012-10-18 16:32:43.602592 D [1349:70172945898200] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 13 bytes -2012-10-18 16:32:43.602592 D [1349:70172945898200] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 13 bytes -2012-10-18 16:32:43.607914 T [1349:70172945898200] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/fooH -2012-10-18 16:32:43.607914 T [1349:70172945898200] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/fooH -- " /test/fooH -2012-10-18 16:32:43.608005 D [1349:70172945898200] (0.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 30 bytes -2012-10-18 16:32:43.608005 D [1349:70172945898200] (0.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 30 bytes -2012-10-18 16:32:43.612534 T [1349:70172945898200] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x02" -2012-10-18 16:32:43.612534 T [1349:70172945898200] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x02" -- "\x00\x00\x00\x02" -2012-10-18 16:32:43.612719 D [1349:70172945898200] (4.7ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:32:43.612719 D [1349:70172945898200] (4.7ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes -2012-10-18 16:32:43.613430 T [1349:70172945898200] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00" -2012-10-18 16:32:43.613430 T [1349:70172945898200] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00" -- "\b\x00" -2012-10-18 16:32:43.613447 D [1349:70172945898200] (0.6ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 2 bytes -2012-10-18 16:32:43.613447 D [1349:70172945898200] (0.6ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 2 bytes -2012-10-18 16:32:43.613834 T [1349:70172945898200] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:9999", :connect_retry_interval=>0.1, :connect_retry_count=>5, :read_timeout=>5, :connect_timeout=>3, :buffered=>false, :on_connect=>#<Proc:0x007fa4d38c1f20@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -2012-10-18 16:32:43.613834 T [1349:70172945898200] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:9999", :connect_retry_interval=>0.1, :connect_retry_count=>5, :read_timeout=>5, :connect_timeout=>3, :buffered=>false, :on_connect=>#<Proc:0x007fa4d38c1f20@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -- {:server=>"localhost:9999", :connect_retry_interval=>0.1, :connect_retry_count=>5, :read_timeout=>5, :connect_timeout=>3, :buffered=>false, :on_connect=>#<Proc:0x007fa4d38c1f20@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -2012-10-18 16:32:43.616776 W [1349:70172945898200] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 1 -2012-10-18 16:32:43.616776 W [1349:70172945898200] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 1 -2012-10-18 16:32:43.717935 W [1349:70172945898200] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 2 -2012-10-18 16:32:43.717935 W [1349:70172945898200] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 2 -2012-10-18 16:32:43.819082 W [1349:70172945898200] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 3 -2012-10-18 16:32:43.819082 W [1349:70172945898200] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 3 -2012-10-18 16:32:43.920702 W [1349:70172945898200] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 4 -2012-10-18 16:32:43.920702 W [1349:70172945898200] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 4 -2012-10-18 16:32:44.021969 W [1349:70172945898200] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 5 -2012-10-18 16:32:44.021969 W [1349:70172945898200] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 5 -2012-10-18 16:32:44.123106 E [1349:70172945898200] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Giving up after 5 retries -2012-10-18 16:32:44.123106 E [1349:70172945898200] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Giving up after 5 retries -2012-10-18 16:32:44.123211 I [1349:70172945898200] (509.3ms) ResilientSocket::TCPClient ["localhost:9999"] -- Connecting to server localhost:9999 -- ResilientSocket::ConnectionFailure: After 5 connection attempts to host 'localhost:9999': Errno::ECONNREFUSED: Connection refused - connect(2) -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:570:in `rescue in block in connect_to_server' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:548:in `block in connect_to_server' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.7.0/lib/semantic_logger/base.rb:181:in `benchmark_info' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:541:in `connect_to_server' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:304:in `connect' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:232:in `initialize' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:36:in `new' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:36:in `initialize' -/Users/rmorrison/Sandbox/ruby_skynet/test/doozer_client_test.rb:22:in `new' -/Users/rmorrison/Sandbox/ruby_skynet/test/doozer_client_test.rb:22:in `block (4 levels) in <class:DoozerClientTest>' +2012-12-05 16:17:10.276321 T [48198:70254153140040] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\x8D-*+/services/TestService/1/Test/127.0.0.1/20002\xC2\x01{\"Config\":{\"UUID\":\"3978b371-15e9-40f8-9b7b-59ae88d8c7ec\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"127.0.0.1\",\"Port\":2000,\"MaxPort\":2999}},\"Registered\":true}" +2012-12-05 16:17:10.276331 D [48198:70254153140040] (5.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 249 bytes +2012-12-05 16:17:10.276522 D [48198:70254153140040] RubySkynet::Registry -- #monitor Add/Update Service: TestService/1/Test => 127.0.0.1:2000 +2012-12-05 16:17:10.276534 D [48198:70254153140040] RubySkynet::Registry -- Updated registry -- {"TestService/1/Test"=>["127.0.0.1:2000"]} +2012-12-05 16:17:10.276795 T [48198:70254153140040] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H- +2012-12-05 16:17:10.276842 D [48198:70254153140040] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 16:17:10.278180 D [48198:70254143429340] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fcaa39a86c8>(70254152467300) self=connections=70254152467300 checked_out=70254152467300 with_map= +2012-12-05 16:17:10.278539 T [48198:70254143429340] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- <"+/services/TestService/1/Test/127.0.0.1/2000H +2012-12-05 16:17:10.278616 D [48198:70254143429340] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 64 bytes +2012-12-05 16:17:10.280853 T [48198:70254153140040] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x006" +2012-12-05 16:17:10.280869 D [48198:70254153140040] (4.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 16:17:10.283093 T [48198:70254143429340] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 16:17:10.283107 D [48198:70254143429340] (4.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 16:17:10.283870 T [48198:70254143429340] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00" +2012-12-05 16:17:10.283882 D [48198:70254143429340] (0.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 2 bytes +2012-12-05 16:17:10.284222 D [48198:70254143429340] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fcaa39a86c8>(70254152467300) self=connections=70254152467300 checked_out= with_map= +2012-12-05 16:17:10.285110 W [48198:70254143429340] [50bfb9d66b6933bc46000003] RubySkynet::Registry -- No servers available for service: SomeService with version: * in region: Development +2012-12-05 16:17:10.285194 I [48198:70254143429340] [50bfb9d66b6933bc46000003] (0.2ms) RubySkynet::Client: SomeService/*/Development -- Called Skynet Service: SomeService.test -- RubySkynet::ServiceUnavailable: No servers available for service: SomeService with version: * in region: Development +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/registry.rb:92:in `server_for' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:64:in `block (2 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_info' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:60:in `block in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:126:in `with_tags' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:59:in `call' +/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_client_test.rb:26:in `block (4 levels) in <class:RubySkynetClientTest>' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:330:in `assert_raises' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/assertions.rb:69:in `assert_raise' -/Users/rmorrison/Sandbox/ruby_skynet/test/doozer_client_test.rb:21:in `block (3 levels) in <class:DoozerClientTest>' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.0/lib/shoulda/context/context.rb:398:in `call' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.0/lib/shoulda/context/context.rb:398:in `block in create_test_from_should_hash' -/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:949:in `run' +/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_client_test.rb:24:in `block (3 levels) in <class:RubySkynetClientTest>' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `block in create_test_from_should_hash' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/mocha-0.10.5/lib/mocha/integration/mini_test/version_230_to_262.rb:28:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/testcase.rb:17:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:787:in `block in _run_suite' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `map' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `_run_suite' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:565:in `block in _run_suites' @@ -5918,27 +12342,277 @@ /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:884:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:21:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:326:in `block (2 levels) in autorun' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:27:in `run_once' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:325:in `block in autorun' -2012-10-18 16:32:44.123211 I [1349:70172945898200] (509.3ms) ResilientSocket::TCPClient ["localhost:9999"] -- Connecting to server localhost:9999 -- ResilientSocket::ConnectionFailure: After 5 connection attempts to host 'localhost:9999': Errno::ECONNREFUSED: Connection refused - connect(2) -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:570:in `rescue in block in connect_to_server' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:548:in `block in connect_to_server' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.7.0/lib/semantic_logger/base.rb:181:in `benchmark_info' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:541:in `connect_to_server' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:304:in `connect' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:232:in `initialize' +2012-12-05 16:17:10.287006 T [48198:70254153140040] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\b\x18\x8E-*+/services/TestService/1/Test/127.0.0.1/20002\x00" +2012-12-05 16:17:10.287020 D [48198:70254153140040] (6.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 54 bytes +2012-12-05 16:17:10.287169 D [48198:70254153140040] RubySkynet::Registry -- #monitor Service stopped, remove: TestService/1/Test => 127.0.0.1:2000 +2012-12-05 16:17:10.287188 D [48198:70254153140040] RubySkynet::Registry -- Updated registry -- {} +2012-12-05 16:17:10.287460 T [48198:70254153140040] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H- +2012-12-05 16:17:10.287579 D [48198:70254153140040] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 16:17:10.287920 D [48198:70254151838260] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fcaa39a86c8>(70254152467300) self=connections=70254152467300 checked_out=70254152467300 with_map= +2012-12-05 16:17:10.288214 T [48198:70254151838260] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "+/services/TestService/1/Test/localhost/2100*{"Config":{"UUID":"localhost:2100-48198-TestService-70254145732860","Name":"TestService","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"localhost","Port":2100,"MaxPort":3099}},"Registered":true}H +2012-12-05 16:17:10.288258 D [48198:70254151838260] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 272 bytes +2012-12-05 16:17:10.290472 T [48198:70254153140040] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01\x04" +2012-12-05 16:17:10.290486 D [48198:70254153140040] (2.9ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 16:17:10.290843 T [48198:70254151838260] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 16:17:10.290851 D [48198:70254151838260] (2.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 16:17:10.291940 T [48198:70254151838260] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\x8F-" +2012-12-05 16:17:10.291968 D [48198:70254151838260] (1.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 16:17:10.292065 D [48198:70254151838260] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fcaa39a86c8>(70254152467300) self=connections=70254152467300 checked_out= with_map= +2012-12-05 16:17:10.293183 T [48198:70254153140040] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\x8F-*+/services/TestService/1/Test/localhost/21002\xCD\x01{\"Config\":{\"UUID\":\"localhost:2100-48198-TestService-70254145732860\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-05 16:17:10.293195 D [48198:70254153140040] (2.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 260 bytes +2012-12-05 16:17:10.293352 D [48198:70254153140040] RubySkynet::Registry -- #monitor Add/Update Service: TestService/1/Test => localhost:2100 +2012-12-05 16:17:10.293365 D [48198:70254153140040] RubySkynet::Registry -- Updated registry -- {"TestService/1/Test"=>["localhost:2100"]} +2012-12-05 16:17:10.293581 T [48198:70254153140040] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H- +2012-12-05 16:17:10.293624 D [48198:70254153140040] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 16:17:10.294608 I [48198:70254151838260] RubySkynet::Server -- Starting listener on localhost:2100 +2012-12-05 16:17:10.294624 D [48198:70254151838260] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 16:17:10.296127 D [48198:70254143429340] [50bfb9d66b6933bc46000004] RubySkynet::Connection: localhost:2100 -- Waiting for Service Handshake +2012-12-05 16:17:10.297064 D [48198:70254151838260] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 16:17:10.297155 D [48198:70254151838260] RubySkynet::Server -- Client connected, waiting for data from client +2012-12-05 16:17:10.297498 T [48198:70254143429340] [50bfb9d66b6933bc46000004] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "9\x00\x00\x00" +2012-12-05 16:17:10.297507 D [48198:70254143429340] [50bfb9d66b6933bc46000004] (1.1ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 4 bytes +2012-12-05 16:17:10.297559 T [48198:70254143429340] [50bfb9d66b6933bc46000004] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "\bregistered\x00\x01\x02clientid\x00\x19\x00\x00\x0050bfb9d66b6933bc46000005\x00\x00" +2012-12-05 16:17:10.297565 D [48198:70254143429340] [50bfb9d66b6933bc46000004] (0.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 53 bytes +2012-12-05 16:17:10.297610 T [48198:70254143429340] [50bfb9d66b6933bc46000004] RubySkynet::Connection: localhost:2100 -- Service Handshake -- {"registered"=>true, "clientid"=>"50bfb9d66b6933bc46000005"} +2012-12-05 16:17:10.297622 D [48198:70254143429340] [50bfb9d66b6933bc46000004] RubySkynet::Connection: localhost:2100 -- Sending Client Handshake +2012-12-05 16:17:10.297627 T [48198:70254143429340] [50bfb9d66b6933bc46000004] RubySkynet::Connection: localhost:2100 -- Client Handshake -- {"clientid"=>"50bfb9d66b6933bc46000005"} +2012-12-05 16:17:10.297644 T [48198:70254143429340] [50bfb9d66b6933bc46000004] ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sending -- ,clientid50bfb9d66b6933bc46000005 +2012-12-05 16:17:10.297681 D [48198:70254143429340] [50bfb9d66b6933bc46000004] (0.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sent 44 bytes +2012-12-05 16:17:10.297739 D [48198:70254143429340] [50bfb9d66b6933bc46000004] RubySkynet::Connection: localhost:2100 -- Sending Header +2012-12-05 16:17:10.297749 T [48198:70254143429340] [50bfb9d66b6933bc46000004] RubySkynet::Connection: localhost:2100 -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 16:17:10.297769 T [48198:70254143429340] [50bfb9d66b6933bc46000004] ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sending -- 5servicemethodTestService.Forwardseq +2012-12-05 16:17:10.297806 D [48198:70254143429340] [50bfb9d66b6933bc46000004] (0.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sent 53 bytes +2012-12-05 16:17:10.297845 D [48198:70254143429340] [50bfb9d66b6933bc46000004] RubySkynet::Connection: localhost:2100 -- Sending Request +2012-12-05 16:17:10.297852 T [48198:70254143429340] [50bfb9d66b6933bc46000004] RubySkynet::Connection: localhost:2100 -- Request -- {"clientid"=>"50bfb9d66b6933bc46000005", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"echo", "requestinfo"=>{"requestid"=>"50bfb9d66b6933bc46000004", "retrycount"=>0, "originaddress"=>""}} +2012-12-05 16:17:10.297857 T [48198:70254143429340] [50bfb9d66b6933bc46000004] RubySkynet::Connection: localhost:2100 -- Parameters: -- {"some"=>"parameters"} +2012-12-05 16:17:10.297874 T [48198:70254143429340] [50bfb9d66b6933bc46000004] ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sending -- clientid50bfb9d66b6933bc46000005insome parametersmethodechorequestinfoQrequestid50bfb9d66b6933bc46000004retrycountoriginaddress +2012-12-05 16:17:10.298138 D [48198:70254151838260] RubySkynet::Server -- +****************** +2012-12-05 16:17:10.298150 D [48198:70254151838260] RubySkynet::Server -- Received Request +2012-12-05 16:17:10.298160 T [48198:70254151838260] RubySkynet::Server -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 16:17:10.298299 T [48198:70254151838260] RubySkynet::Server -- Request -- {"clientid"=>"50bfb9d66b6933bc46000005", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"echo", "requestinfo"=>{"requestid"=>"50bfb9d66b6933bc46000004", "retrycount"=>0, "originaddress"=>""}} +2012-12-05 16:17:10.298321 T [48198:70254151838260] RubySkynet::Server -- Parameters -- {"some"=>"parameters"} +2012-12-05 16:17:10.298342 T [48198:70254151838260] RubySkynet::Server -- Method Call: echo with parameters: -- {"some"=>"parameters"} +2012-12-05 16:17:10.298355 D [48198:70254151838260] (0.0ms) RubySkynet::Server -- Called: TestService#echo +2012-12-05 16:17:10.298373 D [48198:70254151838260] RubySkynet::Server -- Sending Header +2012-12-05 16:17:10.298455 D [48198:70254151838260] RubySkynet::Server -- Sending Reply +2012-12-05 16:17:10.298467 T [48198:70254151838260] RubySkynet::Server -- Reply -- {"some"=>"parameters"} +2012-12-05 16:17:10.298720 D [48198:70254143429340] [50bfb9d66b6933bc46000004] (0.8ms) ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sent 190 bytes +2012-12-05 16:17:10.298755 D [48198:70254143429340] [50bfb9d66b6933bc46000004] RubySkynet::Connection: localhost:2100 -- Reading header from server +2012-12-05 16:17:10.298801 T [48198:70254143429340] [50bfb9d66b6933bc46000004] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "5\x00\x00\x00" +2012-12-05 16:17:10.298808 D [48198:70254143429340] [50bfb9d66b6933bc46000004] (0.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 4 bytes +2012-12-05 16:17:10.298851 T [48198:70254143429340] [50bfb9d66b6933bc46000004] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "\x02servicemethod\x00\x14\x00\x00\x00TestService.Forward\x00\x10seq\x00\x00\x00\x00\x00\x00" +2012-12-05 16:17:10.298857 D [48198:70254143429340] [50bfb9d66b6933bc46000004] (0.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 49 bytes +2012-12-05 16:17:10.298893 D [48198:70254143429340] [50bfb9d66b6933bc46000004] RubySkynet::Connection: localhost:2100 -- Response Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 16:17:10.298899 D [48198:70254143429340] [50bfb9d66b6933bc46000004] RubySkynet::Connection: localhost:2100 -- Reading response from server +2012-12-05 16:17:10.299603 T [48198:70254143429340] [50bfb9d66b6933bc46000004] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- ")\x00\x00\x00" +2012-12-05 16:17:10.299610 D [48198:70254143429340] [50bfb9d66b6933bc46000004] (0.7ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 4 bytes +2012-12-05 16:17:10.299658 T [48198:70254143429340] [50bfb9d66b6933bc46000004] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "\x02out\x00\e\x00\x00\x00\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00\x00\x00" +2012-12-05 16:17:10.299663 D [48198:70254143429340] [50bfb9d66b6933bc46000004] (0.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 37 bytes +2012-12-05 16:17:10.299690 T [48198:70254143429340] [50bfb9d66b6933bc46000004] RubySkynet::Connection: localhost:2100 -- Response -- {"out"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00"} +2012-12-05 16:17:10.299713 T [48198:70254143429340] [50bfb9d66b6933bc46000004] RubySkynet::Connection: localhost:2100 -- Return Value -- {"some"=>"parameters"} +2012-12-05 16:17:10.299739 I [48198:70254143429340] [50bfb9d66b6933bc46000004] (4.5ms) RubySkynet::Client: TestService/1/Test -- Called Skynet Service: TestService.echo +2012-12-05 16:17:10.300060 I [48198:70254151838260] RubySkynet::Server -- Skynet Server Stopped +2012-12-05 16:17:10.300139 D [48198:70254151838260] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fcaa39a86c8>(70254152467300) self=connections=70254152467300 checked_out=70254152467300 with_map= +2012-12-05 16:17:10.300503 T [48198:70254151838260] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- <"+/services/TestService/1/Test/localhost/2100H +2012-12-05 16:17:10.301051 D [48198:70254151838260] (0.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 64 bytes +2012-12-05 16:17:10.310578 T [48198:70254153140040] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x006" +2012-12-05 16:17:10.310602 D [48198:70254153140040] (17.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 16:17:10.310702 T [48198:70254153140040] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\b\x18\x90-*+/services/TestService/1/Test/localhost/21002\x00" +2012-12-05 16:17:10.310708 D [48198:70254153140040] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 54 bytes +2012-12-05 16:17:10.310879 D [48198:70254153140040] RubySkynet::Registry -- #monitor Service stopped, remove: TestService/1/Test => localhost:2100 +2012-12-05 16:17:10.310905 I [48198:70254153140040] RubySkynet::Registry -- Calling callback for server: localhost:2100 +2012-12-05 16:17:10.311036 D [48198:70254153140040] RubySkynet::Connection -- Connection pool for server:localhost:2100 has been released +2012-12-05 16:17:10.311050 D [48198:70254153140040] RubySkynet::Registry -- Updated registry -- {} +2012-12-05 16:17:10.311283 T [48198:70254153140040] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H- +2012-12-05 16:17:10.311347 D [48198:70254153140040] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 16:17:10.314470 T [48198:70254151838260] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 16:17:10.314479 D [48198:70254151838260] (13.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 16:17:10.314549 T [48198:70254151838260] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00" +2012-12-05 16:17:10.314555 D [48198:70254151838260] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 2 bytes +2012-12-05 16:17:10.314635 D [48198:70254151838260] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fcaa39a86c8>(70254152467300) self=connections=70254152467300 checked_out= with_map= +2012-12-05 16:17:10.314652 I [48198:70254151838260] RubySkynet::Server -- Skynet Services De-registered in Doozer +2012-12-05 16:17:10.316760 D [48198:70254151843680] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fcaa39a86c8>(70254152467300) self=connections=70254152467300 checked_out=70254152467300 with_map= +2012-12-05 16:17:10.317179 T [48198:70254151843680] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "+/services/TestService/1/Test/localhost/2100*{"Config":{"UUID":"localhost:2100-48198-TestService-70254145732860","Name":"TestService","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"localhost","Port":2100,"MaxPort":3099}},"Registered":true}H +2012-12-05 16:17:10.317234 D [48198:70254151843680] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 272 bytes +2012-12-05 16:17:10.319909 T [48198:70254153140040] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01\x04" +2012-12-05 16:17:10.319924 D [48198:70254153140040] (8.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 16:17:10.320002 T [48198:70254151843680] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 16:17:10.320018 D [48198:70254151843680] (2.8ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 16:17:10.323062 T [48198:70254151843680] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\x91-" +2012-12-05 16:17:10.323080 D [48198:70254151843680] (3.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 16:17:10.323229 D [48198:70254151843680] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fcaa39a86c8>(70254152467300) self=connections=70254152467300 checked_out= with_map= +2012-12-05 16:17:10.323320 T [48198:70254153140040] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\x91-*+/services/TestService/1/Test/localhost/21002\xCD\x01{\"Config\":{\"UUID\":\"localhost:2100-48198-TestService-70254145732860\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-05 16:17:10.323326 D [48198:70254153140040] (3.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 260 bytes +2012-12-05 16:17:10.323625 D [48198:70254153140040] RubySkynet::Registry -- #monitor Add/Update Service: TestService/1/Test => localhost:2100 +2012-12-05 16:17:10.323638 D [48198:70254153140040] RubySkynet::Registry -- Updated registry -- {"TestService/1/Test"=>["localhost:2100"]} +2012-12-05 16:17:10.323958 T [48198:70254153140040] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H- +2012-12-05 16:17:10.324009 D [48198:70254153140040] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 16:17:10.324810 I [48198:70254151843680] RubySkynet::Server -- Starting listener on localhost:2100 +2012-12-05 16:17:10.324831 D [48198:70254151843680] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 16:17:10.325394 I [48198:70254151843680] RubySkynet::Server -- Skynet Server Stopped +2012-12-05 16:17:10.325473 D [48198:70254151843680] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fcaa39a86c8>(70254152467300) self=connections=70254152467300 checked_out=70254152467300 with_map= +2012-12-05 16:17:10.325753 T [48198:70254151843680] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- <"+/services/TestService/1/Test/localhost/2100H +2012-12-05 16:17:10.325798 D [48198:70254151843680] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 64 bytes +2012-12-05 16:17:10.327294 T [48198:70254151843680] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 16:17:10.327306 D [48198:70254151843680] (1.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 16:17:10.327756 T [48198:70254153140040] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x006" +2012-12-05 16:17:10.327781 D [48198:70254153140040] (3.8ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 16:17:10.327978 T [48198:70254153140040] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\b\x18\x92-*+/services/TestService/1/Test/localhost/21002\x00" +2012-12-05 16:17:10.327985 D [48198:70254153140040] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 54 bytes +2012-12-05 16:17:10.328102 D [48198:70254153140040] RubySkynet::Registry -- #monitor Service stopped, remove: TestService/1/Test => localhost:2100 +2012-12-05 16:17:10.328120 D [48198:70254153140040] RubySkynet::Registry -- Updated registry -- {} +2012-12-05 16:17:10.328324 T [48198:70254153140040] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H- +2012-12-05 16:17:10.328389 D [48198:70254153140040] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 16:17:10.328590 T [48198:70254151843680] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00" +2012-12-05 16:17:10.328597 D [48198:70254151843680] (1.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 2 bytes +2012-12-05 16:17:10.328659 D [48198:70254151843680] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fcaa39a86c8>(70254152467300) self=connections=70254152467300 checked_out= with_map= +2012-12-05 16:17:10.328674 I [48198:70254151843680] RubySkynet::Server -- Skynet Services De-registered in Doozer +2012-12-05 16:17:10.332475 D [48198:70254151807320] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fcaa39a86c8>(70254152467300) self=connections=70254152467300 checked_out=70254152467300 with_map= +2012-12-05 16:17:10.333192 T [48198:70254151807320] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "+/services/TestService/1/Test/localhost/2100*{"Config":{"UUID":"localhost:2100-48198-TestService-70254145732860","Name":"TestService","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"localhost","Port":2100,"MaxPort":3099}},"Registered":true}H +2012-12-05 16:17:10.333263 D [48198:70254151807320] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 272 bytes +2012-12-05 16:17:10.335040 T [48198:70254153140040] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01\x04" +2012-12-05 16:17:10.335053 D [48198:70254153140040] (6.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 16:17:10.335180 T [48198:70254151807320] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 16:17:10.335188 D [48198:70254151807320] (1.9ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 16:17:10.336166 T [48198:70254151807320] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\x93-" +2012-12-05 16:17:10.336178 D [48198:70254151807320] (0.9ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 16:17:10.336288 D [48198:70254151807320] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fcaa39a86c8>(70254152467300) self=connections=70254152467300 checked_out= with_map= +2012-12-05 16:17:10.337832 I [48198:70254151807320] RubySkynet::Server -- Starting listener on localhost:2100 +2012-12-05 16:17:10.337859 D [48198:70254151807320] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 16:17:10.338047 T [48198:70254153140040] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\x93-*+/services/TestService/1/Test/localhost/21002\xCD\x01{\"Config\":{\"UUID\":\"localhost:2100-48198-TestService-70254145732860\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-05 16:17:10.338054 D [48198:70254153140040] (3.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 260 bytes +2012-12-05 16:17:10.338228 D [48198:70254153140040] RubySkynet::Registry -- #monitor Add/Update Service: TestService/1/Test => localhost:2100 +2012-12-05 16:17:10.338240 D [48198:70254153140040] RubySkynet::Registry -- Updated registry -- {"TestService/1/Test"=>["localhost:2100"]} +2012-12-05 16:17:10.338463 T [48198:70254153140040] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H- +2012-12-05 16:17:10.338510 D [48198:70254153140040] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 16:17:10.339231 D [48198:70254143429340] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fcaa39a86c8>(70254152467300) self=connections=70254152467300 checked_out=70254152467300 with_map= +2012-12-05 16:17:10.339504 T [48198:70254143429340] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- 1"+/services/TestService/1/Test/localhost/2100 +2012-12-05 16:17:10.339865 D [48198:70254143429340] (0.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 53 bytes +2012-12-05 16:17:10.339921 T [48198:70254143429340] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\xD5" +2012-12-05 16:17:10.339928 D [48198:70254143429340] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 16:17:10.340158 T [48198:70254143429340] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\x93-2\xCD\x01{\"Config\":{\"UUID\":\"localhost:2100-48198-TestService-70254145732860\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-05 16:17:10.340165 D [48198:70254143429340] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 213 bytes +2012-12-05 16:17:10.340294 D [48198:70254143429340] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fcaa39a86c8>(70254152467300) self=connections=70254152467300 checked_out= with_map= +2012-12-05 16:17:10.340690 I [48198:70254151807320] RubySkynet::Server -- Skynet Server Stopped +2012-12-05 16:17:10.340757 D [48198:70254151807320] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fcaa39a86c8>(70254152467300) self=connections=70254152467300 checked_out=70254152467300 with_map= +2012-12-05 16:17:10.341021 T [48198:70254151807320] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- <"+/services/TestService/1/Test/localhost/2100H +2012-12-05 16:17:10.341066 D [48198:70254151807320] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 64 bytes +2012-12-05 16:17:10.342676 T [48198:70254151807320] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 16:17:10.342688 D [48198:70254151807320] (1.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 16:17:10.342823 T [48198:70254153140040] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x006" +2012-12-05 16:17:10.342830 D [48198:70254153140040] (4.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 16:17:10.343161 T [48198:70254153140040] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\b\x18\x94-*+/services/TestService/1/Test/localhost/21002\x00" +2012-12-05 16:17:10.343169 D [48198:70254153140040] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 54 bytes +2012-12-05 16:17:10.343289 D [48198:70254153140040] RubySkynet::Registry -- #monitor Service stopped, remove: TestService/1/Test => localhost:2100 +2012-12-05 16:17:10.343309 D [48198:70254153140040] RubySkynet::Registry -- Updated registry -- {} +2012-12-05 16:17:10.343519 T [48198:70254153140040] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H- +2012-12-05 16:17:10.343585 D [48198:70254153140040] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 16:17:10.343656 T [48198:70254151807320] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00" +2012-12-05 16:17:10.343663 D [48198:70254151807320] (0.9ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 2 bytes +2012-12-05 16:17:10.343734 D [48198:70254151807320] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fcaa39a86c8>(70254152467300) self=connections=70254152467300 checked_out= with_map= +2012-12-05 16:17:10.343750 I [48198:70254151807320] RubySkynet::Server -- Skynet Services De-registered in Doozer +2012-12-05 16:17:16.823850 D [48200:70105354689240] RubySkynet::Server -- Registering Service: TestService with name: TestService +2012-12-05 16:17:16.824974 I [48200:70105354689240] Celluloid -- Terminating 4 actors... +2012-12-05 16:17:16.825820 I [48200:70105354689240] Celluloid -- Shutdown completed cleanly +2012-12-05 16:17:16.829441 T [48200:70105354689240] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007f855a8ab308@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 16:17:16.836483 T [48200:70105354689240] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "/8 +2012-12-05 16:17:16.837716 D [48200:70105354689240] (1.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 13 bytes +2012-12-05 16:17:16.838374 T [48200:70105354689240] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\a" +2012-12-05 16:17:16.838466 D [48200:70105354689240] (0.7ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 16:17:16.838732 T [48200:70105354689240] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00*\x03ctl" +2012-12-05 16:17:16.838743 D [48200:70105354689240] (0.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 7 bytes +2012-12-05 16:17:16.839201 T [48200:70105354689240] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "/8 +2012-12-05 16:17:16.839760 D [48200:70105354689240] (0.5ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 13 bytes +2012-12-05 16:17:16.840070 T [48200:70105354689240] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 16:17:16.840106 D [48200:70105354689240] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 16:17:16.840419 T [48200:70105354689240] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\xA0\x06\b" +2012-12-05 16:17:16.840454 D [48200:70105354689240] (0.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 5 bytes +2012-12-05 16:17:16.842930 T [48200:70105354689240] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/fooH +2012-12-05 16:17:16.844022 D [48200:70105354689240] (1.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 30 bytes +2012-12-05 16:17:16.844639 T [48200:70105354689240] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 16:17:16.848883 D [48200:70105354689240] (4.6ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 16:17:16.849295 T [48200:70105354689240] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00" +2012-12-05 16:17:16.849374 D [48200:70105354689240] (0.4ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 2 bytes +2012-12-05 16:17:16.849915 T [48200:70105354689240] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007f8559f2fa90@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 16:17:16.851187 T [48200:70105354689240] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending --  +2012-12-05 16:17:16.851680 D [48200:70105354689240] (0.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 8 bytes +2012-12-05 16:17:16.852230 T [48200:70105354689240] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 16:17:16.852242 D [48200:70105354689240] (0.5ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 16:17:16.852310 T [48200:70105354689240] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\x9C-" +2012-12-05 16:17:16.852316 D [48200:70105354689240] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 5 bytes +2012-12-05 16:17:16.853434 T [48200:70105354689240] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/fooH +2012-12-05 16:17:16.855188 D [48200:70105354689240] (1.7ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 30 bytes +2012-12-05 16:17:16.858225 T [48200:70105354689240] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 16:17:16.858268 D [48200:70105354689240] (3.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 16:17:16.858612 T [48200:70105354689240] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00" +2012-12-05 16:17:16.858681 D [48200:70105354689240] (0.4ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 2 bytes +2012-12-05 16:17:16.859447 T [48200:70105354689240] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007f8559c687f8@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 16:17:16.860966 T [48200:70105354689240] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "" /test/foo*value2H +2012-12-05 16:17:16.873061 D [48200:70105354689240] (12.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 38 bytes +2012-12-05 16:17:16.874142 T [48200:70105354689240] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 16:17:16.874184 D [48200:70105354689240] (0.8ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 16:17:16.874716 T [48200:70105354689240] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\x9E-" +2012-12-05 16:17:16.874754 D [48200:70105354689240] (0.5ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 5 bytes +2012-12-05 16:17:16.875129 T [48200:70105354689240] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/foo +2012-12-05 16:17:16.875959 D [48200:70105354689240] (0.8ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 19 bytes +2012-12-05 16:17:16.876238 T [48200:70105354689240] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\r" +2012-12-05 16:17:16.876340 D [48200:70105354689240] (0.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 16:17:16.877161 T [48200:70105354689240] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\x9E-2\x06value2" +2012-12-05 16:17:16.877173 D [48200:70105354689240] (0.7ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 13 bytes +2012-12-05 16:17:16.878759 T [48200:70105354689240] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/fooH +2012-12-05 16:17:16.881438 D [48200:70105354689240] (2.6ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 30 bytes +2012-12-05 16:17:16.883107 T [48200:70105354689240] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 16:17:16.883221 D [48200:70105354689240] (1.6ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 16:17:16.884891 T [48200:70105354689240] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00" +2012-12-05 16:17:16.885013 D [48200:70105354689240] (1.7ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 2 bytes +2012-12-05 16:17:16.885594 T [48200:70105354689240] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007f8559f530d0@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 16:17:16.887125 T [48200:70105354689240] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- !" /test/foo*valueH +2012-12-05 16:17:16.887531 D [48200:70105354689240] (0.4ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 37 bytes +2012-12-05 16:17:16.889363 T [48200:70105354689240] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 16:17:16.889395 D [48200:70105354689240] (1.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 16:17:16.892771 T [48200:70105354689240] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xA0-" +2012-12-05 16:17:16.892810 D [48200:70105354689240] (3.4ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 5 bytes +2012-12-05 16:17:16.893149 T [48200:70105354689240] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/foo +2012-12-05 16:17:16.894143 D [48200:70105354689240] (1.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 19 bytes +2012-12-05 16:17:16.894480 T [48200:70105354689240] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\f" +2012-12-05 16:17:16.894507 D [48200:70105354689240] (0.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 16:17:16.895732 T [48200:70105354689240] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xA0-2\x05value" +2012-12-05 16:17:16.895764 D [48200:70105354689240] (1.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 12 bytes +2012-12-05 16:17:16.898174 T [48200:70105354689240] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/fooH +2012-12-05 16:17:16.903961 D [48200:70105354689240] (5.7ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 30 bytes +2012-12-05 16:17:16.904311 T [48200:70105354689240] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 16:17:16.904338 D [48200:70105354689240] (0.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 16:17:16.906909 T [48200:70105354689240] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00" +2012-12-05 16:17:16.907022 D [48200:70105354689240] (2.6ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 2 bytes +2012-12-05 16:17:16.908024 T [48200:70105354689240] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:9999", :connect_retry_interval=>0.1, :connect_retry_count=>5, :read_timeout=>5, :connect_timeout=>3, :buffered=>false, :on_connect=>#<Proc:0x007f8559f67328@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 16:17:16.910124 W [48200:70105354689240] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 1 +2012-12-05 16:17:17.023449 W [48200:70105354689240] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 2 +2012-12-05 16:17:17.124923 W [48200:70105354689240] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 3 +2012-12-05 16:17:17.226133 W [48200:70105354689240] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 4 +2012-12-05 16:17:17.327236 W [48200:70105354689240] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 5 +2012-12-05 16:17:17.428838 E [48200:70105354689240] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Giving up after 5 retries +2012-12-05 16:17:17.428939 I [48200:70105354689240] (520.8ms) ResilientSocket::TCPClient ["localhost:9999"] -- Connecting to server localhost:9999 -- ResilientSocket::ConnectionFailure: After 5 connection attempts to host 'localhost:9999': Errno::ECONNREFUSED: Connection refused - connect(2) +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:578:in `rescue in block in connect_to_server' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:549:in `block in connect_to_server' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_info' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:542:in `connect_to_server' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:305:in `connect' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:233:in `initialize' /Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:36:in `new' /Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:36:in `initialize' -/Users/rmorrison/Sandbox/ruby_skynet/test/doozer_client_test.rb:22:in `new' -/Users/rmorrison/Sandbox/ruby_skynet/test/doozer_client_test.rb:22:in `block (4 levels) in <class:DoozerClientTest>' +/Users/rmorrison/Sandbox/ruby_skynet/test/doozer_client_test.rb:19:in `new' +/Users/rmorrison/Sandbox/ruby_skynet/test/doozer_client_test.rb:19:in `block (4 levels) in <class:DoozerClientTest>' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:330:in `assert_raises' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/assertions.rb:69:in `assert_raise' -/Users/rmorrison/Sandbox/ruby_skynet/test/doozer_client_test.rb:21:in `block (3 levels) in <class:DoozerClientTest>' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.0/lib/shoulda/context/context.rb:398:in `call' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.0/lib/shoulda/context/context.rb:398:in `block in create_test_from_should_hash' -/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:949:in `run' +/Users/rmorrison/Sandbox/ruby_skynet/test/doozer_client_test.rb:18:in `block (3 levels) in <class:DoozerClientTest>' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `block in create_test_from_should_hash' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/mocha-0.10.5/lib/mocha/integration/mini_test/version_230_to_262.rb:28:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/testcase.rb:17:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:787:in `block in _run_suite' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `map' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `_run_suite' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:565:in `block in _run_suites' @@ -5951,27 +12625,175 @@ /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:895:in `_run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:884:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:21:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:326:in `block (2 levels) in autorun' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:27:in `run_once' -/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:325:in `block in autorun' -- ResilientSocket::ConnectionFailure: After 5 connection attempts to host 'localhost:9999': Errno::ECONNREFUSED: Connection refused - connect(2) -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:570:in `rescue in block in connect_to_server' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:548:in `block in connect_to_server' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.7.0/lib/semantic_logger/base.rb:181:in `benchmark_info' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:541:in `connect_to_server' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:304:in `connect' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:232:in `initialize' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:36:in `new' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:36:in `initialize' -/Users/rmorrison/Sandbox/ruby_skynet/test/doozer_client_test.rb:22:in `new' -/Users/rmorrison/Sandbox/ruby_skynet/test/doozer_client_test.rb:22:in `block (4 levels) in <class:DoozerClientTest>' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:325:in `block in autorun' +2012-12-05 16:17:17.430839 D [48200:70105355535740] SimpleServer -- Waiting for a client to connect +2012-12-05 16:17:17.435795 D [48200:70105354689240] RubySkynet::Registry -- Doozer Connection Pool: Created connection #1 #<Thread:0x007f855986b5b0>(70105354689240) for Doozer Connection Pool +2012-12-05 16:17:17.435856 T [48200:70105354689240] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007f8559ab40d8@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 16:17:17.436475 D [48200:70105354689240] RubySkynet::Registry -- Doozer Connection Pool: Renewed connection old=70105354689240 new=#<RubySkynet::Doozer::Client:0x007f8559ab4588>(70105355887300) +2012-12-05 16:17:17.436510 D [48200:70105354689240] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f8559ab4588>(70105355887300) self=connections=70105355887300 checked_out=70105355887300 with_map= +2012-12-05 16:17:17.459096 T [48200:70105354689240] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "+/services/TestService/1/Test/127.0.0.1/2000*{"Config":{"UUID":"3978b371-15e9-40f8-9b7b-59ae88d8c7ec","Name":"TestService","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"127.0.0.1","Port":2000,"MaxPort":2999}},"Registered":true}H +2012-12-05 16:17:17.463554 D [48200:70105354689240] (4.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 261 bytes +2012-12-05 16:17:17.463809 T [48200:70105354689240] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 16:17:17.463838 D [48200:70105354689240] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 16:17:17.464103 T [48200:70105354689240] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xA2-" +2012-12-05 16:17:17.464130 D [48200:70105354689240] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 16:17:17.464340 D [48200:70105354689240] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007f8559ab4588>(70105355887300) self=connections=70105355887300 checked_out= with_map= +2012-12-05 16:17:17.467761 D [48200:70105354689240] [50bfb9dd6b6933bc48000001] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f8559ab4588>(70105355887300) self=connections=70105355887300 checked_out=70105355887300 with_map= +2012-12-05 16:17:17.468185 T [48200:70105354689240] [50bfb9dd6b6933bc48000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  +2012-12-05 16:17:17.469427 D [48200:70105354689240] [50bfb9dd6b6933bc48000001] (1.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 8 bytes +2012-12-05 16:17:17.469520 T [48200:70105354689240] [50bfb9dd6b6933bc48000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 16:17:17.469527 D [48200:70105354689240] [50bfb9dd6b6933bc48000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 16:17:17.469596 T [48200:70105354689240] [50bfb9dd6b6933bc48000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xA2-" +2012-12-05 16:17:17.469602 D [48200:70105354689240] [50bfb9dd6b6933bc48000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 16:17:17.469898 T [48200:70105354689240] [50bfb9dd6b6933bc48000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H- +2012-12-05 16:17:17.470697 D [48200:70105354689240] [50bfb9dd6b6933bc48000001] (0.8ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-05 16:17:17.471261 T [48200:70105354689240] [50bfb9dd6b6933bc48000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\xF9" +2012-12-05 16:17:17.471299 D [48200:70105354689240] [50bfb9dd6b6933bc48000001] (0.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 16:17:17.471601 T [48200:70105354689240] [50bfb9dd6b6933bc48000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xA2-*+/services/TestService/1/Test/127.0.0.1/20002\xC2\x01{\"Config\":{\"UUID\":\"3978b371-15e9-40f8-9b7b-59ae88d8c7ec\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"127.0.0.1\",\"Port\":2000,\"MaxPort\":2999}},\"Registered\":true}" +2012-12-05 16:17:17.471637 D [48200:70105354689240] [50bfb9dd6b6933bc48000001] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 249 bytes +2012-12-05 16:17:17.471990 T [48200:70105354689240] [50bfb9dd6b6933bc48000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H- +2012-12-05 16:17:17.472276 D [48200:70105354689240] [50bfb9dd6b6933bc48000001] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-05 16:17:17.472997 T [48200:70105354689240] [50bfb9dd6b6933bc48000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 16:17:17.473010 D [48200:70105354689240] [50bfb9dd6b6933bc48000001] (0.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 16:17:17.473079 T [48200:70105354689240] [50bfb9dd6b6933bc48000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\xA0\x06\b" +2012-12-05 16:17:17.473086 D [48200:70105354689240] [50bfb9dd6b6933bc48000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 16:17:17.473263 D [48200:70105354689240] [50bfb9dd6b6933bc48000001] RubySkynet::Registry -- #start_monitoring Add Service: TestService/1/Test => 127.0.0.1:2000 +2012-12-05 16:17:17.473303 D [48200:70105354689240] [50bfb9dd6b6933bc48000001] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007f8559ab4588>(70105355887300) self=connections=70105355887300 checked_out= with_map= +2012-12-05 16:17:17.473944 D [48200:70105354689240] [50bfb9dd6b6933bc48000001] RubySkynet::Connection: 127.0.0.1:2000 -- Waiting for Service Handshake +2012-12-05 16:17:17.476636 I [48200:70105357224500] RubySkynet::Registry -- Start monitoring /services/*/*/*/*/* +2012-12-05 16:17:17.476706 T [48200:70105357224500] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007f8559ef0f98@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 16:17:17.477586 T [48200:70105357224500] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H- +2012-12-05 16:17:17.477654 D [48200:70105357224500] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 16:17:17.481994 D [48200:70105355535740] SimpleServer -- Waiting for a client to connect +2012-12-05 16:17:17.482112 D [48200:70105355535740] SimpleServer -- Client connected, waiting for data from client +2012-12-05 16:17:17.482695 T [48200:70105354689240] [50bfb9dd6b6933bc48000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "$\x00\x00\x00" +2012-12-05 16:17:17.482702 D [48200:70105354689240] [50bfb9dd6b6933bc48000001] (7.7ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes +2012-12-05 16:17:17.482760 T [48200:70105354689240] [50bfb9dd6b6933bc48000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "\bregistered\x00\x01\x02clientid\x00\x04\x00\x00\x00123\x00\x00" +2012-12-05 16:17:17.482766 D [48200:70105354689240] [50bfb9dd6b6933bc48000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 32 bytes +2012-12-05 16:17:17.482813 T [48200:70105354689240] [50bfb9dd6b6933bc48000001] RubySkynet::Connection: 127.0.0.1:2000 -- Service Handshake -- {"registered"=>true, "clientid"=>"123"} +2012-12-05 16:17:17.482826 D [48200:70105354689240] [50bfb9dd6b6933bc48000001] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Client Handshake +2012-12-05 16:17:17.482831 T [48200:70105354689240] [50bfb9dd6b6933bc48000001] RubySkynet::Connection: 127.0.0.1:2000 -- Client Handshake -- {"clientid"=>"123"} +2012-12-05 16:17:17.482848 T [48200:70105354689240] [50bfb9dd6b6933bc48000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- clientid123 +2012-12-05 16:17:17.483202 D [48200:70105354689240] [50bfb9dd6b6933bc48000001] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 23 bytes +2012-12-05 16:17:17.483272 D [48200:70105354689240] [50bfb9dd6b6933bc48000001] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Header +2012-12-05 16:17:17.483282 T [48200:70105354689240] [50bfb9dd6b6933bc48000001] RubySkynet::Connection: 127.0.0.1:2000 -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 16:17:17.483304 T [48200:70105354689240] [50bfb9dd6b6933bc48000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- 5servicemethodTestService.Forwardseq +2012-12-05 16:17:17.483694 D [48200:70105355535740] SimpleServer -- +****************** +2012-12-05 16:17:17.483702 D [48200:70105355535740] SimpleServer -- Received Request +2012-12-05 16:17:17.483709 T [48200:70105355535740] SimpleServer -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 16:17:17.483879 D [48200:70105354689240] [50bfb9dd6b6933bc48000001] (0.4ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 53 bytes +2012-12-05 16:17:17.483915 D [48200:70105354689240] [50bfb9dd6b6933bc48000001] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Request +2012-12-05 16:17:17.483922 T [48200:70105354689240] [50bfb9dd6b6933bc48000001] RubySkynet::Connection: 127.0.0.1:2000 -- Request -- {"clientid"=>"123", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"test1", "requestinfo"=>{"requestid"=>"50bfb9dd6b6933bc48000001", "retrycount"=>0, "originaddress"=>""}} +2012-12-05 16:17:17.483927 T [48200:70105354689240] [50bfb9dd6b6933bc48000001] RubySkynet::Connection: 127.0.0.1:2000 -- Parameters: -- {"some"=>"parameters"} +2012-12-05 16:17:17.483944 T [48200:70105354689240] [50bfb9dd6b6933bc48000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- clientid123insome parametersmethodtest1requestinfoQrequestid50bfb9dd6b6933bc48000001retrycountoriginaddress +2012-12-05 16:17:17.484116 T [48200:70105355535740] SimpleServer -- Request -- {"clientid"=>"123", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"test1", "requestinfo"=>{"requestid"=>"50bfb9dd6b6933bc48000001", "retrycount"=>0, "originaddress"=>""}} +2012-12-05 16:17:17.484137 D [48200:70105355535740] SimpleServer -- Sending Header +2012-12-05 16:17:17.484215 D [48200:70105355535740] SimpleServer -- Sending Reply +2012-12-05 16:17:17.484223 T [48200:70105355535740] SimpleServer -- Reply -- {"result"=>"test1"} +2012-12-05 16:17:17.484437 D [48200:70105354689240] [50bfb9dd6b6933bc48000001] (0.5ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 170 bytes +2012-12-05 16:17:17.484451 D [48200:70105354689240] [50bfb9dd6b6933bc48000001] RubySkynet::Connection: 127.0.0.1:2000 -- Reading header from server +2012-12-05 16:17:17.484506 T [48200:70105354689240] [50bfb9dd6b6933bc48000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "5\x00\x00\x00" +2012-12-05 16:17:17.484513 D [48200:70105354689240] [50bfb9dd6b6933bc48000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes +2012-12-05 16:17:17.484558 T [48200:70105354689240] [50bfb9dd6b6933bc48000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "\x02servicemethod\x00\x14\x00\x00\x00TestService.Forward\x00\x10seq\x00\x00\x00\x00\x00\x00" +2012-12-05 16:17:17.484563 D [48200:70105354689240] [50bfb9dd6b6933bc48000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 49 bytes +2012-12-05 16:17:17.484594 D [48200:70105354689240] [50bfb9dd6b6933bc48000001] RubySkynet::Connection: 127.0.0.1:2000 -- Response Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 16:17:17.484600 D [48200:70105354689240] [50bfb9dd6b6933bc48000001] RubySkynet::Connection: 127.0.0.1:2000 -- Reading response from server +2012-12-05 16:17:17.484638 T [48200:70105354689240] [50bfb9dd6b6933bc48000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "&\x00\x00\x00" +2012-12-05 16:17:17.484643 D [48200:70105354689240] [50bfb9dd6b6933bc48000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes +2012-12-05 16:17:17.484691 T [48200:70105354689240] [50bfb9dd6b6933bc48000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "\x02out\x00\x18\x00\x00\x00\x17\x00\x00\x00\x02result\x00\x06\x00\x00\x00test1\x00\x00\x00\x00" +2012-12-05 16:17:17.484697 D [48200:70105354689240] [50bfb9dd6b6933bc48000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 34 bytes +2012-12-05 16:17:17.484722 T [48200:70105354689240] [50bfb9dd6b6933bc48000001] RubySkynet::Connection: 127.0.0.1:2000 -- Response -- {"out"=>"\x17\x00\x00\x00\x02result\x00\x06\x00\x00\x00test1\x00\x00"} +2012-12-05 16:17:17.484743 T [48200:70105354689240] [50bfb9dd6b6933bc48000001] RubySkynet::Connection: 127.0.0.1:2000 -- Return Value -- {"result"=>"test1"} +2012-12-05 16:17:17.484762 I [48200:70105354689240] [50bfb9dd6b6933bc48000001] (20.3ms) RubySkynet::Client: TestService/1/Test -- Called Skynet Service: TestService.test1 +2012-12-05 16:17:17.488267 D [48200:70105354689240] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f8559ab4588>(70105355887300) self=connections=70105355887300 checked_out=70105355887300 with_map= +2012-12-05 16:17:17.488630 T [48200:70105354689240] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- <"+/services/TestService/1/Test/127.0.0.1/2000H +2012-12-05 16:17:17.489455 D [48200:70105354689240] (0.8ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 64 bytes +2012-12-05 16:17:17.493070 T [48200:70105357224500] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x006" +2012-12-05 16:17:17.493087 D [48200:70105357224500] (15.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 16:17:17.493561 T [48200:70105357224500] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\b\x18\xA3-*+/services/TestService/1/Test/127.0.0.1/20002\x00" +2012-12-05 16:17:17.493572 D [48200:70105357224500] (0.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 54 bytes +2012-12-05 16:17:17.493724 D [48200:70105357224500] RubySkynet::Registry -- #monitor Service stopped, remove: TestService/1/Test => 127.0.0.1:2000 +2012-12-05 16:17:17.493751 I [48200:70105357224500] RubySkynet::Registry -- Calling callback for server: 127.0.0.1:2000 +2012-12-05 16:17:17.493876 D [48200:70105357224500] RubySkynet::Connection -- Connection pool for server:127.0.0.1:2000 has been released +2012-12-05 16:17:17.493889 D [48200:70105357224500] RubySkynet::Registry -- Updated registry -- {} +2012-12-05 16:17:17.494112 T [48200:70105357224500] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H- +2012-12-05 16:17:17.494177 D [48200:70105357224500] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 16:17:17.496509 T [48200:70105354689240] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 16:17:17.496552 D [48200:70105354689240] (6.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 16:17:17.496851 T [48200:70105354689240] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00" +2012-12-05 16:17:17.496959 D [48200:70105354689240] (0.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 2 bytes +2012-12-05 16:17:17.497092 D [48200:70105354689240] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007f8559ab4588>(70105355887300) self=connections=70105355887300 checked_out= with_map= +2012-12-05 16:17:17.498928 D [48200:70105355528740] SimpleServer -- Waiting for a client to connect +2012-12-05 16:17:17.499259 D [48200:70105354689240] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f8559ab4588>(70105355887300) self=connections=70105355887300 checked_out=70105355887300 with_map= +2012-12-05 16:17:17.499664 T [48200:70105354689240] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "+/services/TestService/1/Test/127.0.0.1/2000*{"Config":{"UUID":"3978b371-15e9-40f8-9b7b-59ae88d8c7ec","Name":"TestService","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"127.0.0.1","Port":2000,"MaxPort":2999}},"Registered":true}H +2012-12-05 16:17:17.502626 T [48200:70105357224500] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\xF9" +2012-12-05 16:17:17.502669 D [48200:70105357224500] (8.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 16:17:17.503435 T [48200:70105357224500] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xA4-*+/services/TestService/1/Test/127.0.0.1/20002\xC2\x01{\"Config\":{\"UUID\":\"3978b371-15e9-40f8-9b7b-59ae88d8c7ec\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"127.0.0.1\",\"Port\":2000,\"MaxPort\":2999}},\"Registered\":true}" +2012-12-05 16:17:17.503446 D [48200:70105357224500] (0.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 249 bytes +2012-12-05 16:17:17.503637 D [48200:70105357224500] RubySkynet::Registry -- #monitor Add/Update Service: TestService/1/Test => 127.0.0.1:2000 +2012-12-05 16:17:17.503649 D [48200:70105357224500] RubySkynet::Registry -- Updated registry -- {"TestService/1/Test"=>["127.0.0.1:2000"]} +2012-12-05 16:17:17.504091 T [48200:70105357224500] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H- +2012-12-05 16:17:17.504158 D [48200:70105357224500] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 16:17:17.510121 D [48200:70105354689240] (10.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 261 bytes +2012-12-05 16:17:17.510426 T [48200:70105354689240] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 16:17:17.510463 D [48200:70105354689240] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 16:17:17.510586 T [48200:70105354689240] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xA4-" +2012-12-05 16:17:17.510593 D [48200:70105354689240] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 16:17:17.510707 D [48200:70105354689240] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007f8559ab4588>(70105355887300) self=connections=70105355887300 checked_out= with_map= +2012-12-05 16:17:17.513260 D [48200:70105355528740] SimpleServer -- Waiting for a client to connect +2012-12-05 16:17:17.513360 D [48200:70105355528740] SimpleServer -- Client connected, waiting for data from client +2012-12-05 16:17:17.514786 D [48200:70105354689240] [50bfb9dd6b6933bc48000002] RubySkynet::Connection: 127.0.0.1:2000 -- Waiting for Service Handshake +2012-12-05 16:17:17.515030 T [48200:70105354689240] [50bfb9dd6b6933bc48000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "$\x00\x00\x00" +2012-12-05 16:17:17.515111 D [48200:70105354689240] [50bfb9dd6b6933bc48000002] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes +2012-12-05 16:17:17.515369 T [48200:70105354689240] [50bfb9dd6b6933bc48000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "\bregistered\x00\x01\x02clientid\x00\x04\x00\x00\x00123\x00\x00" +2012-12-05 16:17:17.515406 D [48200:70105354689240] [50bfb9dd6b6933bc48000002] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 32 bytes +2012-12-05 16:17:17.515447 T [48200:70105354689240] [50bfb9dd6b6933bc48000002] RubySkynet::Connection: 127.0.0.1:2000 -- Service Handshake -- {"registered"=>true, "clientid"=>"123"} +2012-12-05 16:17:17.515460 D [48200:70105354689240] [50bfb9dd6b6933bc48000002] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Client Handshake +2012-12-05 16:17:17.515465 T [48200:70105354689240] [50bfb9dd6b6933bc48000002] RubySkynet::Connection: 127.0.0.1:2000 -- Client Handshake -- {"clientid"=>"123"} +2012-12-05 16:17:17.515485 T [48200:70105354689240] [50bfb9dd6b6933bc48000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- clientid123 +2012-12-05 16:17:17.515941 D [48200:70105354689240] [50bfb9dd6b6933bc48000002] (0.4ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 23 bytes +2012-12-05 16:17:17.516055 D [48200:70105354689240] [50bfb9dd6b6933bc48000002] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Header +2012-12-05 16:17:17.516068 T [48200:70105354689240] [50bfb9dd6b6933bc48000002] RubySkynet::Connection: 127.0.0.1:2000 -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 16:17:17.516092 T [48200:70105354689240] [50bfb9dd6b6933bc48000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- 5servicemethodTestService.Forwardseq +2012-12-05 16:17:17.517071 D [48200:70105354689240] [50bfb9dd6b6933bc48000002] (1.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 53 bytes +2012-12-05 16:17:17.517149 D [48200:70105354689240] [50bfb9dd6b6933bc48000002] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Request +2012-12-05 16:17:17.517157 T [48200:70105354689240] [50bfb9dd6b6933bc48000002] RubySkynet::Connection: 127.0.0.1:2000 -- Request -- {"clientid"=>"123", "in"=>"\x17\x00\x00\x00\x01duration\x00\x00\x00\x00\x00\x00\x00\f@\x00", "method"=>"sleep", "requestinfo"=>{"requestid"=>"50bfb9dd6b6933bc48000002", "retrycount"=>0, "originaddress"=>""}} +2012-12-05 16:17:17.517162 T [48200:70105354689240] [50bfb9dd6b6933bc48000002] RubySkynet::Connection: 127.0.0.1:2000 -- Parameters: -- {"duration"=>3.5} +2012-12-05 16:17:17.517179 T [48200:70105354689240] [50bfb9dd6b6933bc48000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- clientid123induration @methodsleeprequestinfoQrequestid50bfb9dd6b6933bc48000002retrycountoriginaddress +2012-12-05 16:17:17.517575 D [48200:70105354689240] [50bfb9dd6b6933bc48000002] (0.4ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 167 bytes +2012-12-05 16:17:17.517621 D [48200:70105354689240] [50bfb9dd6b6933bc48000002] RubySkynet::Connection: 127.0.0.1:2000 -- Reading header from server +2012-12-05 16:17:17.518285 D [48200:70105355528740] SimpleServer -- +****************** +2012-12-05 16:17:17.518298 D [48200:70105355528740] SimpleServer -- Received Request +2012-12-05 16:17:17.518304 T [48200:70105355528740] SimpleServer -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 16:17:17.518388 T [48200:70105355528740] SimpleServer -- Request -- {"clientid"=>"123", "in"=>"\x17\x00\x00\x00\x01duration\x00\x00\x00\x00\x00\x00\x00\f@\x00", "method"=>"sleep", "requestinfo"=>{"requestid"=>"50bfb9dd6b6933bc48000002", "retrycount"=>0, "originaddress"=>""}} +2012-12-05 16:17:20.518349 W [48200:70105354689240] [50bfb9dd6b6933bc48000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read Timeout waiting for server to reply +2012-12-05 16:17:20.518529 D [48200:70105354689240] [50bfb9dd6b6933bc48000002] (3000.9ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes -- ResilientSocket::ReadTimeout: Timedout after 3.0 seconds trying to read from 127.0.0.1:2000 +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:392:in `block in read' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_debug' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:374:in `read' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/common.rb:10:in `read_bson_document' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:178:in `rpc_call' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:65:in `block (3 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/gene_pool-1.3.0/lib/gene_pool.rb:134:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:214:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:64:in `block (2 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_info' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:60:in `block in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:126:in `with_tags' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:59:in `call' +/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_client_test.rb:87:in `block (5 levels) in <class:RubySkynetClientTest>' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:330:in `assert_raises' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/assertions.rb:69:in `assert_raise' -/Users/rmorrison/Sandbox/ruby_skynet/test/doozer_client_test.rb:21:in `block (3 levels) in <class:DoozerClientTest>' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.0/lib/shoulda/context/context.rb:398:in `call' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.0/lib/shoulda/context/context.rb:398:in `block in create_test_from_should_hash' -/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:949:in `run' +/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_client_test.rb:85:in `block (4 levels) in <class:RubySkynetClientTest>' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `block in create_test_from_should_hash' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/mocha-0.10.5/lib/mocha/integration/mini_test/version_230_to_262.rb:28:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/testcase.rb:17:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:787:in `block in _run_suite' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `map' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `_run_suite' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:565:in `block in _run_suites' @@ -5985,327 +12807,31 @@ /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:884:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:21:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:326:in `block (2 levels) in autorun' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:27:in `run_once' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:325:in `block in autorun' -2012-10-18 16:32:44.133554 D [1349:70172945898200] RubySkynet::Registry -- Doozer Connection Pool: Created connection #1 #<Thread:0x007fa4d306b5b0>(70172945898200) for Doozer Connection Pool -2012-10-18 16:32:44.133554 D [1349:70172945898200] RubySkynet::Registry -- Doozer Connection Pool: Created connection #1 #<Thread:0x007fa4d306b5b0>(70172945898200) for Doozer Connection Pool -2012-10-18 16:32:44.133620 T [1349:70172945898200] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007fa4d3224168@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -2012-10-18 16:32:44.133620 T [1349:70172945898200] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007fa4d3224168@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007fa4d3224168@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -2012-10-18 16:32:44.133743 D [1349:70172950443600] SimpleServer -- Waiting for a client to connect -2012-10-18 16:32:44.133743 D [1349:70172950443600] SimpleServer -- Waiting for a client to connect -2012-10-18 16:32:44.134180 D [1349:70172945898200] RubySkynet::Registry -- Doozer Connection Pool: Renewed connection old=70172945898200 new=#<RubySkynet::Doozer::Client:0x007fa4d3224348>(70172946801060) -2012-10-18 16:32:44.134180 D [1349:70172945898200] RubySkynet::Registry -- Doozer Connection Pool: Renewed connection old=70172945898200 new=#<RubySkynet::Doozer::Client:0x007fa4d3224348>(70172946801060) -2012-10-18 16:32:44.134219 D [1349:70172945898200] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fa4d3224348>(70172946801060) self=connections=70172946801060 checked_out=70172946801060 with_map= -2012-10-18 16:32:44.134219 D [1349:70172945898200] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fa4d3224348>(70172946801060) self=connections=70172946801060 checked_out=70172946801060 with_map= -2012-10-18 16:32:44.156913 T [1349:70172945898200] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "+/services/TestService/1/Test/127.0.0.1/2000*{"Config":{"UUID":"3978b371-15e9-40f8-9b7b-59ae88d8c7ec","Name":"TestService","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"127.0.0.1","Port":2000,"MaxPort":2999}},"Registered":true}H -2012-10-18 16:32:44.156913 T [1349:70172945898200] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "+/services/TestService/1/Test/127.0.0.1/2000*{"Config":{"UUID":"3978b371-15e9-40f8-9b7b-59ae88d8c7ec","Name":"TestService","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"127.0.0.1","Port":2000,"MaxPort":2999}},"Registered":true}H -- "+/services/TestService/1/Test/127.0.0.1/2000*{"Config":{"UUID":"3978b371-15e9-40f8-9b7b-59ae88d8c7ec","Name":"TestService","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"127.0.0.1","Port":2000,"MaxPort":2999}},"Registered":true}H -2012-10-18 16:32:44.158094 D [1349:70172945898200] (1.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 261 bytes -2012-10-18 16:32:44.158094 D [1349:70172945898200] (1.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 261 bytes -2012-10-18 16:32:44.159648 T [1349:70172945898200] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x06" -2012-10-18 16:32:44.159648 T [1349:70172945898200] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x06" -- "\x00\x00\x00\x06" -2012-10-18 16:32:44.159666 D [1349:70172945898200] (1.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:32:44.159666 D [1349:70172945898200] (1.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:32:44.160165 T [1349:70172945898200] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\x85\xD5\x03" -2012-10-18 16:32:44.160165 T [1349:70172945898200] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\x85\xD5\x03" -- "\b\x00\x18\x85\xD5\x03" -2012-10-18 16:32:44.160180 D [1349:70172945898200] (0.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 6 bytes -2012-10-18 16:32:44.160180 D [1349:70172945898200] (0.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 6 bytes -2012-10-18 16:32:44.160301 D [1349:70172945898200] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fa4d3224348>(70172946801060) self=connections=70172946801060 checked_out= with_map= -2012-10-18 16:32:44.160301 D [1349:70172945898200] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fa4d3224348>(70172946801060) self=connections=70172946801060 checked_out= with_map= -2012-10-18 16:32:44.173653 D [1349:70172945898200] [5080676c6b69330545000001] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fa4d3224348>(70172946801060) self=connections=70172946801060 checked_out=70172946801060 with_map= -2012-10-18 16:32:44.173653 D [1349:70172945898200] [5080676c6b69330545000001] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fa4d3224348>(70172946801060) self=connections=70172946801060 checked_out=70172946801060 with_map= -2012-10-18 16:32:44.173968 T [1349:70172945898200] [5080676c6b69330545000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  -2012-10-18 16:32:44.173968 T [1349:70172945898200] [5080676c6b69330545000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  --  -2012-10-18 16:32:44.174158 D [1349:70172945898200] [5080676c6b69330545000001] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 8 bytes -2012-10-18 16:32:44.174158 D [1349:70172945898200] [5080676c6b69330545000001] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 8 bytes -2012-10-18 16:32:44.177769 T [1349:70172945898200] [5080676c6b69330545000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x06" -2012-10-18 16:32:44.177769 T [1349:70172945898200] [5080676c6b69330545000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x06" -- "\x00\x00\x00\x06" -2012-10-18 16:32:44.177804 D [1349:70172945898200] [5080676c6b69330545000001] (3.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:32:44.177804 D [1349:70172945898200] [5080676c6b69330545000001] (3.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:32:44.180305 T [1349:70172945898200] [5080676c6b69330545000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\x85\xD5\x03" -2012-10-18 16:32:44.180305 T [1349:70172945898200] [5080676c6b69330545000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\x85\xD5\x03" -- "\b\x00\x18\x85\xD5\x03" -2012-10-18 16:32:44.180323 D [1349:70172945898200] [5080676c6b69330545000001] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 6 bytes -2012-10-18 16:32:44.180323 D [1349:70172945898200] [5080676c6b69330545000001] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 6 bytes -2012-10-18 16:32:44.180701 T [1349:70172945898200] [5080676c6b69330545000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H -2012-10-18 16:32:44.180701 T [1349:70172945898200] [5080676c6b69330545000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H --  "/services/*/*/*/*/*8H -2012-10-18 16:32:44.180815 D [1349:70172945898200] [5080676c6b69330545000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 35 bytes -2012-10-18 16:32:44.180815 D [1349:70172945898200] [5080676c6b69330545000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 35 bytes -2012-10-18 16:32:44.182158 T [1349:70172945898200] [5080676c6b69330545000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\xFA" -2012-10-18 16:32:44.182158 T [1349:70172945898200] [5080676c6b69330545000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\xFA" -- "\x00\x00\x00\xFA" -2012-10-18 16:32:44.182175 D [1349:70172945898200] [5080676c6b69330545000001] (1.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:32:44.182175 D [1349:70172945898200] [5080676c6b69330545000001] (1.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:32:44.182519 T [1349:70172945898200] [5080676c6b69330545000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\x85\xD5\x03*+/services/TestService/1/Test/127.0.0.1/20002\xC2\x01{\"Config\":{\"UUID\":\"3978b371-15e9-40f8-9b7b-59ae88d8c7ec\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"127.0.0.1\",\"Port\":2000,\"MaxPort\":2999}},\"Registered\":true}" -2012-10-18 16:32:44.182519 T [1349:70172945898200] [5080676c6b69330545000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\x85\xD5\x03*+/services/TestService/1/Test/127.0.0.1/20002\xC2\x01{\"Config\":{\"UUID\":\"3978b371-15e9-40f8-9b7b-59ae88d8c7ec\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"127.0.0.1\",\"Port\":2000,\"MaxPort\":2999}},\"Registered\":true}" -- "\b\x00\x10\x04\x18\x85\xD5\x03*+/services/TestService/1/Test/127.0.0.1/20002\xC2\x01{\"Config\":{\"UUID\":\"3978b371-15e9-40f8-9b7b-59ae88d8c7ec\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"127.0.0.1\",\"Port\":2000,\"MaxPort\":2999}},\"Registered\":true}" -2012-10-18 16:32:44.182533 D [1349:70172945898200] [5080676c6b69330545000001] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 250 bytes -2012-10-18 16:32:44.182533 D [1349:70172945898200] [5080676c6b69330545000001] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 250 bytes -2012-10-18 16:32:44.182824 T [1349:70172945898200] [5080676c6b69330545000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H -2012-10-18 16:32:44.182824 T [1349:70172945898200] [5080676c6b69330545000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H --  "/services/*/*/*/*/*8H -2012-10-18 16:32:44.182869 D [1349:70172945898200] [5080676c6b69330545000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 35 bytes -2012-10-18 16:32:44.182869 D [1349:70172945898200] [5080676c6b69330545000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 35 bytes -2012-10-18 16:32:44.183527 T [1349:70172945898200] [5080676c6b69330545000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01Q" -2012-10-18 16:32:44.183527 T [1349:70172945898200] [5080676c6b69330545000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01Q" -- "\x00\x00\x01Q" -2012-10-18 16:32:44.183543 D [1349:70172945898200] [5080676c6b69330545000001] (0.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:32:44.183543 D [1349:70172945898200] [5080676c6b69330545000001] (0.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:32:44.183885 T [1349:70172945898200] [5080676c6b69330545000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xD5\xC8\x03*6/services/TutorialService/1/Development/127.0.0.1/90002\x8E\x02{\"Config\":{\"UUID\":\"aa58fa11-6ab7-4b53-aad9-3d657120f2b8\",\"Name\":\"TutorialService\",\"Version\":\"1\",\"Region\":\"Development\",\"ServiceAddr\":{\"IPAddress\":\"127.0.0.1\",\"Port\":9000,\"MaxPort\":9999},\"AdminAddr\":{\"IPAddress\":\"127.0.0.1\",\"Port\":9001,\"MaxPort\":9999}},\"Registered\":true}" -2012-10-18 16:32:44.183885 T [1349:70172945898200] [5080676c6b69330545000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xD5\xC8\x03*6/services/TutorialService/1/Development/127.0.0.1/90002\x8E\x02{\"Config\":{\"UUID\":\"aa58fa11-6ab7-4b53-aad9-3d657120f2b8\",\"Name\":\"TutorialService\",\"Version\":\"1\",\"Region\":\"Development\",\"ServiceAddr\":{\"IPAddress\":\"127.0.0.1\",\"Port\":9000,\"MaxPort\":9999},\"AdminAddr\":{\"IPAddress\":\"127.0.0.1\",\"Port\":9001,\"MaxPort\":9999}},\"Registered\":true}" -- "\b\x00\x10\x04\x18\xD5\xC8\x03*6/services/TutorialService/1/Development/127.0.0.1/90002\x8E\x02{\"Config\":{\"UUID\":\"aa58fa11-6ab7-4b53-aad9-3d657120f2b8\",\"Name\":\"TutorialService\",\"Version\":\"1\",\"Region\":\"Development\",\"ServiceAddr\":{\"IPAddress\":\"127.0.0.1\",\"Port\":9000,\"MaxPort\":9999},\"AdminAddr\":{\"IPAddress\":\"127.0.0.1\",\"Port\":9001,\"MaxPort\":9999}},\"Registered\":true}" -2012-10-18 16:32:44.183900 D [1349:70172945898200] [5080676c6b69330545000001] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 337 bytes -2012-10-18 16:32:44.183900 D [1349:70172945898200] [5080676c6b69330545000001] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 337 bytes -2012-10-18 16:32:44.184181 T [1349:70172945898200] [5080676c6b69330545000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H -2012-10-18 16:32:44.184181 T [1349:70172945898200] [5080676c6b69330545000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H --  "/services/*/*/*/*/*8H -2012-10-18 16:32:44.184227 D [1349:70172945898200] [5080676c6b69330545000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 35 bytes -2012-10-18 16:32:44.184227 D [1349:70172945898200] [5080676c6b69330545000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 35 bytes -2012-10-18 16:32:44.184847 T [1349:70172945898200] [5080676c6b69330545000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" -2012-10-18 16:32:44.184847 T [1349:70172945898200] [5080676c6b69330545000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" -- "\x00\x00\x00\x05" -2012-10-18 16:32:44.184860 D [1349:70172945898200] [5080676c6b69330545000001] (0.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:32:44.184860 D [1349:70172945898200] [5080676c6b69330545000001] (0.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:32:44.184921 T [1349:70172945898200] [5080676c6b69330545000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\xA0\x06\b" -2012-10-18 16:32:44.184921 T [1349:70172945898200] [5080676c6b69330545000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\xA0\x06\b" -- "\b\x00\xA0\x06\b" -2012-10-18 16:32:44.184932 D [1349:70172945898200] [5080676c6b69330545000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes -2012-10-18 16:32:44.184932 D [1349:70172945898200] [5080676c6b69330545000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes -2012-10-18 16:32:44.185113 D [1349:70172945898200] [5080676c6b69330545000001] RubySkynet::Registry -- #start_monitoring Add Service: TestService/1/Test => 127.0.0.1:2000 -2012-10-18 16:32:44.185113 D [1349:70172945898200] [5080676c6b69330545000001] RubySkynet::Registry -- #start_monitoring Add Service: TestService/1/Test => 127.0.0.1:2000 -2012-10-18 16:32:44.185178 D [1349:70172945898200] [5080676c6b69330545000001] RubySkynet::Registry -- #start_monitoring Add Service: TutorialService/1/Development => 127.0.0.1:9000 -2012-10-18 16:32:44.185178 D [1349:70172945898200] [5080676c6b69330545000001] RubySkynet::Registry -- #start_monitoring Add Service: TutorialService/1/Development => 127.0.0.1:9000 -2012-10-18 16:32:44.185222 D [1349:70172945898200] [5080676c6b69330545000001] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fa4d3224348>(70172946801060) self=connections=70172946801060 checked_out= with_map= -2012-10-18 16:32:44.185222 D [1349:70172945898200] [5080676c6b69330545000001] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fa4d3224348>(70172946801060) self=connections=70172946801060 checked_out= with_map= -2012-10-18 16:32:44.185880 I [1349:70172946982200] RubySkynet::Registry -- Start monitoring /services/*/*/*/*/* -2012-10-18 16:32:44.185880 I [1349:70172946982200] RubySkynet::Registry -- Start monitoring /services/*/*/*/*/* -2012-10-18 16:32:44.185921 T [1349:70172946982200] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007fa4d32812c8@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -2012-10-18 16:32:44.185921 T [1349:70172946982200] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007fa4d32812c8@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007fa4d32812c8@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} -2012-10-18 16:32:44.186977 D [1349:70172945898200] [5080676c6b69330545000001] RubySkynet::Connection: 127.0.0.1:2000 -- Waiting for Service Handshake -2012-10-18 16:32:44.186977 D [1349:70172945898200] [5080676c6b69330545000001] RubySkynet::Connection: 127.0.0.1:2000 -- Waiting for Service Handshake -2012-10-18 16:32:44.187292 T [1349:70172946982200] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H -2012-10-18 16:32:44.187292 T [1349:70172946982200] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H -- "/services/*/*/*/*/*H -2012-10-18 16:32:44.187346 D [1349:70172946982200] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 33 bytes -2012-10-18 16:32:44.187346 D [1349:70172946982200] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 33 bytes -2012-10-18 16:32:44.187523 D [1349:70172950443600] SimpleServer -- Client connected, waiting for data from client -2012-10-18 16:32:44.187523 D [1349:70172950443600] SimpleServer -- Client connected, waiting for data from client -2012-10-18 16:32:44.187902 T [1349:70172945898200] [5080676c6b69330545000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "$\x00\x00\x00" -2012-10-18 16:32:44.187902 T [1349:70172945898200] [5080676c6b69330545000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "$\x00\x00\x00" -- "$\x00\x00\x00" -2012-10-18 16:32:44.187915 D [1349:70172945898200] [5080676c6b69330545000001] (0.9ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes -2012-10-18 16:32:44.187915 D [1349:70172945898200] [5080676c6b69330545000001] (0.9ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes -2012-10-18 16:32:44.187971 T [1349:70172945898200] [5080676c6b69330545000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "\bregistered\x00\x01\x02clientid\x00\x04\x00\x00\x00123\x00\x00" -2012-10-18 16:32:44.187971 T [1349:70172945898200] [5080676c6b69330545000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "\bregistered\x00\x01\x02clientid\x00\x04\x00\x00\x00123\x00\x00" -- "\bregistered\x00\x01\x02clientid\x00\x04\x00\x00\x00123\x00\x00" -2012-10-18 16:32:44.187981 D [1349:70172945898200] [5080676c6b69330545000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 32 bytes -2012-10-18 16:32:44.187981 D [1349:70172945898200] [5080676c6b69330545000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 32 bytes -2012-10-18 16:32:44.188029 T [1349:70172945898200] [5080676c6b69330545000001] RubySkynet::Connection: 127.0.0.1:2000 -- Service Handshake -- {"registered"=>true, "clientid"=>"123"} -2012-10-18 16:32:44.188029 T [1349:70172945898200] [5080676c6b69330545000001] RubySkynet::Connection: 127.0.0.1:2000 -- Service Handshake -- {"registered"=>true, "clientid"=>"123"} -- {"registered"=>true, "clientid"=>"123"} -2012-10-18 16:32:44.188044 D [1349:70172945898200] [5080676c6b69330545000001] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Client Handshake -2012-10-18 16:32:44.188044 D [1349:70172945898200] [5080676c6b69330545000001] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Client Handshake -2012-10-18 16:32:44.188053 T [1349:70172945898200] [5080676c6b69330545000001] RubySkynet::Connection: 127.0.0.1:2000 -- Client Handshake -- {"clientid"=>"123"} -2012-10-18 16:32:44.188053 T [1349:70172945898200] [5080676c6b69330545000001] RubySkynet::Connection: 127.0.0.1:2000 -- Client Handshake -- {"clientid"=>"123"} -- {"clientid"=>"123"} -2012-10-18 16:32:44.188072 T [1349:70172945898200] [5080676c6b69330545000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- clientid123 -2012-10-18 16:32:44.188072 T [1349:70172945898200] [5080676c6b69330545000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- clientid123 -- clientid123 -2012-10-18 16:32:44.188116 D [1349:70172945898200] [5080676c6b69330545000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 23 bytes -2012-10-18 16:32:44.188116 D [1349:70172945898200] [5080676c6b69330545000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 23 bytes -2012-10-18 16:32:44.188184 D [1349:70172945898200] [5080676c6b69330545000001] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Header -2012-10-18 16:32:44.188184 D [1349:70172945898200] [5080676c6b69330545000001] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Header -2012-10-18 16:32:44.188202 T [1349:70172945898200] [5080676c6b69330545000001] RubySkynet::Connection: 127.0.0.1:2000 -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} -2012-10-18 16:32:44.188202 T [1349:70172945898200] [5080676c6b69330545000001] RubySkynet::Connection: 127.0.0.1:2000 -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} -- {"servicemethod"=>"TestService.Forward", "seq"=>0} -2012-10-18 16:32:44.188226 T [1349:70172945898200] [5080676c6b69330545000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- 5servicemethodTestService.Forwardseq -2012-10-18 16:32:44.188226 T [1349:70172945898200] [5080676c6b69330545000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- 5servicemethodTestService.Forwardseq -- 5servicemethodTestService.Forwardseq -2012-10-18 16:32:44.188272 D [1349:70172945898200] [5080676c6b69330545000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 53 bytes -2012-10-18 16:32:44.188272 D [1349:70172945898200] [5080676c6b69330545000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 53 bytes -2012-10-18 16:32:44.188308 D [1349:70172945898200] [5080676c6b69330545000001] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Request -2012-10-18 16:32:44.188308 D [1349:70172945898200] [5080676c6b69330545000001] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Request -2012-10-18 16:32:44.188319 T [1349:70172945898200] [5080676c6b69330545000001] RubySkynet::Connection: 127.0.0.1:2000 -- Request -- {"clientid"=>"123", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"test1", "requestinfo"=>{"requestid"=>"5080676c6b69330545000001", "retrycount"=>0, "originaddress"=>""}} -2012-10-18 16:32:44.188319 T [1349:70172945898200] [5080676c6b69330545000001] RubySkynet::Connection: 127.0.0.1:2000 -- Request -- {"clientid"=>"123", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"test1", "requestinfo"=>{"requestid"=>"5080676c6b69330545000001", "retrycount"=>0, "originaddress"=>""}} -- {"clientid"=>"123", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"test1", "requestinfo"=>{"requestid"=>"5080676c6b69330545000001", "retrycount"=>0, "originaddress"=>""}} -2012-10-18 16:32:44.188329 T [1349:70172945898200] [5080676c6b69330545000001] RubySkynet::Connection: 127.0.0.1:2000 -- Parameters: -- {"some"=>"parameters"} -2012-10-18 16:32:44.188329 T [1349:70172945898200] [5080676c6b69330545000001] RubySkynet::Connection: 127.0.0.1:2000 -- Parameters: -- {"some"=>"parameters"} -- {"some"=>"parameters"} -2012-10-18 16:32:44.188351 T [1349:70172945898200] [5080676c6b69330545000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- clientid123insome parametersmethodtest1requestinfoQrequestid5080676c6b69330545000001retrycountoriginaddress -2012-10-18 16:32:44.188351 T [1349:70172945898200] [5080676c6b69330545000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- clientid123insome parametersmethodtest1requestinfoQrequestid5080676c6b69330545000001retrycountoriginaddress -- clientid123insome parametersmethodtest1requestinfoQrequestid5080676c6b69330545000001retrycountoriginaddress -2012-10-18 16:32:44.188395 D [1349:70172945898200] [5080676c6b69330545000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 170 bytes -2012-10-18 16:32:44.188395 D [1349:70172945898200] [5080676c6b69330545000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 170 bytes -2012-10-18 16:32:44.188418 D [1349:70172945898200] [5080676c6b69330545000001] RubySkynet::Connection: 127.0.0.1:2000 -- Reading header from server -2012-10-18 16:32:44.188418 D [1349:70172945898200] [5080676c6b69330545000001] RubySkynet::Connection: 127.0.0.1:2000 -- Reading header from server -2012-10-18 16:32:44.188568 D [1349:70172950443600] SimpleServer -- -****************** -2012-10-18 16:32:44.188568 D [1349:70172950443600] SimpleServer -- -****************** -2012-10-18 16:32:44.188580 D [1349:70172950443600] SimpleServer -- Received Request -2012-10-18 16:32:44.188580 D [1349:70172950443600] SimpleServer -- Received Request -2012-10-18 16:32:44.188589 T [1349:70172950443600] SimpleServer -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} -2012-10-18 16:32:44.188589 T [1349:70172950443600] SimpleServer -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} -- {"servicemethod"=>"TestService.Forward", "seq"=>0} -2012-10-18 16:32:44.188909 T [1349:70172950443600] SimpleServer -- Request -- {"clientid"=>"123", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"test1", "requestinfo"=>{"requestid"=>"5080676c6b69330545000001", "retrycount"=>0, "originaddress"=>""}} -2012-10-18 16:32:44.188909 T [1349:70172950443600] SimpleServer -- Request -- {"clientid"=>"123", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"test1", "requestinfo"=>{"requestid"=>"5080676c6b69330545000001", "retrycount"=>0, "originaddress"=>""}} -- {"clientid"=>"123", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"test1", "requestinfo"=>{"requestid"=>"5080676c6b69330545000001", "retrycount"=>0, "originaddress"=>""}} -2012-10-18 16:32:44.188938 D [1349:70172950443600] SimpleServer -- Sending Header -2012-10-18 16:32:44.188938 D [1349:70172950443600] SimpleServer -- Sending Header -2012-10-18 16:32:44.189034 D [1349:70172950443600] SimpleServer -- Sending Reply -2012-10-18 16:32:44.189034 D [1349:70172950443600] SimpleServer -- Sending Reply -2012-10-18 16:32:44.189047 T [1349:70172950443600] SimpleServer -- Reply -- {"result"=>"test1"} -2012-10-18 16:32:44.189047 T [1349:70172950443600] SimpleServer -- Reply -- {"result"=>"test1"} -- {"result"=>"test1"} -2012-10-18 16:32:44.189379 T [1349:70172945898200] [5080676c6b69330545000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "5\x00\x00\x00" -2012-10-18 16:32:44.189379 T [1349:70172945898200] [5080676c6b69330545000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "5\x00\x00\x00" -- "5\x00\x00\x00" -2012-10-18 16:32:44.189395 D [1349:70172945898200] [5080676c6b69330545000001] (1.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes -2012-10-18 16:32:44.189395 D [1349:70172945898200] [5080676c6b69330545000001] (1.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes -2012-10-18 16:32:44.189694 T [1349:70172945898200] [5080676c6b69330545000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "\x02servicemethod\x00\x14\x00\x00\x00TestService.Forward\x00\x10seq\x00\x00\x00\x00\x00\x00" -2012-10-18 16:32:44.189694 T [1349:70172945898200] [5080676c6b69330545000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "\x02servicemethod\x00\x14\x00\x00\x00TestService.Forward\x00\x10seq\x00\x00\x00\x00\x00\x00" -- "\x02servicemethod\x00\x14\x00\x00\x00TestService.Forward\x00\x10seq\x00\x00\x00\x00\x00\x00" -2012-10-18 16:32:44.189709 D [1349:70172945898200] [5080676c6b69330545000001] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 49 bytes -2012-10-18 16:32:44.189709 D [1349:70172945898200] [5080676c6b69330545000001] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 49 bytes -2012-10-18 16:32:44.189742 D [1349:70172945898200] [5080676c6b69330545000001] RubySkynet::Connection: 127.0.0.1:2000 -- Response Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} -2012-10-18 16:32:44.189742 D [1349:70172945898200] [5080676c6b69330545000001] RubySkynet::Connection: 127.0.0.1:2000 -- Response Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} -- {"servicemethod"=>"TestService.Forward", "seq"=>0} -2012-10-18 16:32:44.189752 D [1349:70172945898200] [5080676c6b69330545000001] RubySkynet::Connection: 127.0.0.1:2000 -- Reading response from server -2012-10-18 16:32:44.189752 D [1349:70172945898200] [5080676c6b69330545000001] RubySkynet::Connection: 127.0.0.1:2000 -- Reading response from server -2012-10-18 16:32:44.189806 T [1349:70172945898200] [5080676c6b69330545000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "&\x00\x00\x00" -2012-10-18 16:32:44.189806 T [1349:70172945898200] [5080676c6b69330545000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "&\x00\x00\x00" -- "&\x00\x00\x00" -2012-10-18 16:32:44.189816 D [1349:70172945898200] [5080676c6b69330545000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes -2012-10-18 16:32:44.189816 D [1349:70172945898200] [5080676c6b69330545000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes -2012-10-18 16:32:44.189866 T [1349:70172945898200] [5080676c6b69330545000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "\x02out\x00\x18\x00\x00\x00\x17\x00\x00\x00\x02result\x00\x06\x00\x00\x00test1\x00\x00\x00\x00" -2012-10-18 16:32:44.189866 T [1349:70172945898200] [5080676c6b69330545000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "\x02out\x00\x18\x00\x00\x00\x17\x00\x00\x00\x02result\x00\x06\x00\x00\x00test1\x00\x00\x00\x00" -- "\x02out\x00\x18\x00\x00\x00\x17\x00\x00\x00\x02result\x00\x06\x00\x00\x00test1\x00\x00\x00\x00" -2012-10-18 16:32:44.189876 D [1349:70172945898200] [5080676c6b69330545000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 34 bytes -2012-10-18 16:32:44.189876 D [1349:70172945898200] [5080676c6b69330545000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 34 bytes -2012-10-18 16:32:44.189908 T [1349:70172945898200] [5080676c6b69330545000001] RubySkynet::Connection: 127.0.0.1:2000 -- Response -- {"out"=>"\x17\x00\x00\x00\x02result\x00\x06\x00\x00\x00test1\x00\x00"} -2012-10-18 16:32:44.189908 T [1349:70172945898200] [5080676c6b69330545000001] RubySkynet::Connection: 127.0.0.1:2000 -- Response -- {"out"=>"\x17\x00\x00\x00\x02result\x00\x06\x00\x00\x00test1\x00\x00"} -- {"out"=>"\x17\x00\x00\x00\x02result\x00\x06\x00\x00\x00test1\x00\x00"} -2012-10-18 16:32:44.189933 T [1349:70172945898200] [5080676c6b69330545000001] RubySkynet::Connection: 127.0.0.1:2000 -- Return Value -- {"result"=>"test1"} -2012-10-18 16:32:44.189933 T [1349:70172945898200] [5080676c6b69330545000001] RubySkynet::Connection: 127.0.0.1:2000 -- Return Value -- {"result"=>"test1"} -- {"result"=>"test1"} -2012-10-18 16:32:44.189954 I [1349:70172945898200] [5080676c6b69330545000001] (29.5ms) RubySkynet::Client: TestService/1/Test -- Called Skynet Service: TestService.test1 -2012-10-18 16:32:44.189954 I [1349:70172945898200] [5080676c6b69330545000001] (29.5ms) RubySkynet::Client: TestService/1/Test -- Called Skynet Service: TestService.test1 -2012-10-18 16:32:44.190188 D [1349:70172945898200] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fa4d3224348>(70172946801060) self=connections=70172946801060 checked_out=70172946801060 with_map= -2012-10-18 16:32:44.190188 D [1349:70172945898200] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fa4d3224348>(70172946801060) self=connections=70172946801060 checked_out=70172946801060 with_map= -2012-10-18 16:32:44.190460 T [1349:70172945898200] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- <"+/services/TestService/1/Test/127.0.0.1/2000H -2012-10-18 16:32:44.190460 T [1349:70172945898200] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- <"+/services/TestService/1/Test/127.0.0.1/2000H -- <"+/services/TestService/1/Test/127.0.0.1/2000H -2012-10-18 16:32:44.190514 D [1349:70172945898200] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 64 bytes -2012-10-18 16:32:44.190514 D [1349:70172945898200] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 64 bytes -2012-10-18 16:32:44.200025 T [1349:70172945898200] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x02" -2012-10-18 16:32:44.200025 T [1349:70172945898200] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x02" -- "\x00\x00\x00\x02" -2012-10-18 16:32:44.200064 D [1349:70172945898200] (9.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:32:44.200064 D [1349:70172945898200] (9.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:32:44.200247 T [1349:70172945898200] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00" -2012-10-18 16:32:44.200247 T [1349:70172945898200] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00" -- "\b\x00" -2012-10-18 16:32:44.200260 D [1349:70172945898200] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 2 bytes -2012-10-18 16:32:44.200260 D [1349:70172945898200] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 2 bytes -2012-10-18 16:32:44.200394 D [1349:70172945898200] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fa4d3224348>(70172946801060) self=connections=70172946801060 checked_out= with_map= -2012-10-18 16:32:44.200394 D [1349:70172945898200] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fa4d3224348>(70172946801060) self=connections=70172946801060 checked_out= with_map= -2012-10-18 16:32:44.201087 D [1349:70172945898200] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fa4d3224348>(70172946801060) self=connections=70172946801060 checked_out=70172946801060 with_map= -2012-10-18 16:32:44.201087 D [1349:70172945898200] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fa4d3224348>(70172946801060) self=connections=70172946801060 checked_out=70172946801060 with_map= -2012-10-18 16:32:44.201573 T [1349:70172945898200] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "+/services/TestService/1/Test/127.0.0.1/2000*{"Config":{"UUID":"3978b371-15e9-40f8-9b7b-59ae88d8c7ec","Name":"TestService","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"127.0.0.1","Port":2000,"MaxPort":2999}},"Registered":true}H -2012-10-18 16:32:44.201573 T [1349:70172945898200] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "+/services/TestService/1/Test/127.0.0.1/2000*{"Config":{"UUID":"3978b371-15e9-40f8-9b7b-59ae88d8c7ec","Name":"TestService","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"127.0.0.1","Port":2000,"MaxPort":2999}},"Registered":true}H -- "+/services/TestService/1/Test/127.0.0.1/2000*{"Config":{"UUID":"3978b371-15e9-40f8-9b7b-59ae88d8c7ec","Name":"TestService","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"127.0.0.1","Port":2000,"MaxPort":2999}},"Registered":true}H -2012-10-18 16:32:44.201706 D [1349:70172945898200] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 261 bytes -2012-10-18 16:32:44.201706 D [1349:70172945898200] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 261 bytes -2012-10-18 16:32:44.201779 T [1349:70172946982200] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x007" -2012-10-18 16:32:44.201779 T [1349:70172946982200] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x007" -- "\x00\x00\x007" -2012-10-18 16:32:44.201789 D [1349:70172946982200] (14.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:32:44.201789 D [1349:70172946982200] (14.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:32:44.201860 T [1349:70172946982200] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\b\x18\x86\xD5\x03*+/services/TestService/1/Test/127.0.0.1/20002\x00" -2012-10-18 16:32:44.201860 T [1349:70172946982200] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\b\x18\x86\xD5\x03*+/services/TestService/1/Test/127.0.0.1/20002\x00" -- "\b\x00\x10\b\x18\x86\xD5\x03*+/services/TestService/1/Test/127.0.0.1/20002\x00" -2012-10-18 16:32:44.201870 D [1349:70172946982200] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 55 bytes -2012-10-18 16:32:44.201870 D [1349:70172946982200] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 55 bytes -2012-10-18 16:32:44.201999 D [1349:70172946982200] RubySkynet::Registry -- #monitor Service stopped, remove: TestService/1/Test => 127.0.0.1:2000 -2012-10-18 16:32:44.201999 D [1349:70172946982200] RubySkynet::Registry -- #monitor Service stopped, remove: TestService/1/Test => 127.0.0.1:2000 -2012-10-18 16:32:44.202027 I [1349:70172946982200] RubySkynet::Registry -- Calling callback for server: 127.0.0.1:2000 -2012-10-18 16:32:44.202027 I [1349:70172946982200] RubySkynet::Registry -- Calling callback for server: 127.0.0.1:2000 -2012-10-18 16:32:44.202156 D [1349:70172946982200] RubySkynet::Connection -- Connection pool for server:127.0.0.1:2000 has been released -2012-10-18 16:32:44.202156 D [1349:70172946982200] RubySkynet::Connection -- Connection pool for server:127.0.0.1:2000 has been released -2012-10-18 16:32:44.202170 D [1349:70172946982200] RubySkynet::Registry -- Updated registry -- {"TutorialService/1/Development"=>["127.0.0.1:9000"]} -2012-10-18 16:32:44.202170 D [1349:70172946982200] RubySkynet::Registry -- Updated registry -- {"TutorialService/1/Development"=>["127.0.0.1:9000"]} -- {"TutorialService/1/Development"=>["127.0.0.1:9000"]} -2012-10-18 16:32:44.202366 T [1349:70172946982200] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H -2012-10-18 16:32:44.202366 T [1349:70172946982200] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H -- "/services/*/*/*/*/*H -2012-10-18 16:32:44.202440 D [1349:70172946982200] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 33 bytes -2012-10-18 16:32:44.202440 D [1349:70172946982200] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 33 bytes -2012-10-18 16:32:44.202510 D [1349:70172947091420] SimpleServer -- Waiting for a client to connect -2012-10-18 16:32:44.202510 D [1349:70172947091420] SimpleServer -- Waiting for a client to connect -2012-10-18 16:32:44.218306 T [1349:70172945898200] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x06" -2012-10-18 16:32:44.218306 T [1349:70172945898200] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x06" -- "\x00\x00\x00\x06" -2012-10-18 16:32:44.218325 D [1349:70172945898200] (16.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:32:44.218325 D [1349:70172945898200] (16.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:32:44.218415 T [1349:70172946982200] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\xFA" -2012-10-18 16:32:44.218415 T [1349:70172946982200] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\xFA" -- "\x00\x00\x00\xFA" -2012-10-18 16:32:44.218425 D [1349:70172946982200] (16.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:32:44.218425 D [1349:70172946982200] (16.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:32:44.219329 T [1349:70172946982200] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\x87\xD5\x03*+/services/TestService/1/Test/127.0.0.1/20002\xC2\x01{\"Config\":{\"UUID\":\"3978b371-15e9-40f8-9b7b-59ae88d8c7ec\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"127.0.0.1\",\"Port\":2000,\"MaxPort\":2999}},\"Registered\":true}" -2012-10-18 16:32:44.219329 T [1349:70172946982200] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\x87\xD5\x03*+/services/TestService/1/Test/127.0.0.1/20002\xC2\x01{\"Config\":{\"UUID\":\"3978b371-15e9-40f8-9b7b-59ae88d8c7ec\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"127.0.0.1\",\"Port\":2000,\"MaxPort\":2999}},\"Registered\":true}" -- "\b\x00\x10\x04\x18\x87\xD5\x03*+/services/TestService/1/Test/127.0.0.1/20002\xC2\x01{\"Config\":{\"UUID\":\"3978b371-15e9-40f8-9b7b-59ae88d8c7ec\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"127.0.0.1\",\"Port\":2000,\"MaxPort\":2999}},\"Registered\":true}" -2012-10-18 16:32:44.219345 D [1349:70172946982200] (0.9ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 250 bytes -2012-10-18 16:32:44.219345 D [1349:70172946982200] (0.9ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 250 bytes -2012-10-18 16:32:44.219536 D [1349:70172946982200] RubySkynet::Registry -- #monitor Add/Update Service: TestService/1/Test => 127.0.0.1:2000 -2012-10-18 16:32:44.219536 D [1349:70172946982200] RubySkynet::Registry -- #monitor Add/Update Service: TestService/1/Test => 127.0.0.1:2000 -2012-10-18 16:32:44.219550 D [1349:70172946982200] RubySkynet::Registry -- Updated registry -- {"TutorialService/1/Development"=>["127.0.0.1:9000"], "TestService/1/Test"=>["127.0.0.1:2000"]} -2012-10-18 16:32:44.219550 D [1349:70172946982200] RubySkynet::Registry -- Updated registry -- {"TutorialService/1/Development"=>["127.0.0.1:9000"], "TestService/1/Test"=>["127.0.0.1:2000"]} -- {"TutorialService/1/Development"=>["127.0.0.1:9000"], "TestService/1/Test"=>["127.0.0.1:2000"]} -2012-10-18 16:32:44.219900 T [1349:70172946982200] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H -2012-10-18 16:32:44.219900 T [1349:70172946982200] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H -- "/services/*/*/*/*/*H -2012-10-18 16:32:44.219986 D [1349:70172946982200] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 33 bytes -2012-10-18 16:32:44.219986 D [1349:70172946982200] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 33 bytes -2012-10-18 16:32:44.220086 T [1349:70172945898200] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\x87\xD5\x03" -2012-10-18 16:32:44.220086 T [1349:70172945898200] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\x87\xD5\x03" -- "\b\x00\x18\x87\xD5\x03" -2012-10-18 16:32:44.220097 D [1349:70172945898200] (1.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 6 bytes -2012-10-18 16:32:44.220097 D [1349:70172945898200] (1.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 6 bytes -2012-10-18 16:32:44.220208 D [1349:70172945898200] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fa4d3224348>(70172946801060) self=connections=70172946801060 checked_out= with_map= -2012-10-18 16:32:44.220208 D [1349:70172945898200] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fa4d3224348>(70172946801060) self=connections=70172946801060 checked_out= with_map= -2012-10-18 16:32:44.224766 D [1349:70172945898200] [5080676c6b69330545000002] RubySkynet::Connection: 127.0.0.1:2000 -- Waiting for Service Handshake -2012-10-18 16:32:44.224766 D [1349:70172945898200] [5080676c6b69330545000002] RubySkynet::Connection: 127.0.0.1:2000 -- Waiting for Service Handshake -2012-10-18 16:32:44.230814 D [1349:70172947091420] SimpleServer -- Client connected, waiting for data from client -2012-10-18 16:32:44.230814 D [1349:70172947091420] SimpleServer -- Client connected, waiting for data from client -2012-10-18 16:32:44.232699 T [1349:70172945898200] [5080676c6b69330545000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "$\x00\x00\x00" -2012-10-18 16:32:44.232699 T [1349:70172945898200] [5080676c6b69330545000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "$\x00\x00\x00" -- "$\x00\x00\x00" -2012-10-18 16:32:44.232723 D [1349:70172945898200] [5080676c6b69330545000002] (7.9ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes -2012-10-18 16:32:44.232723 D [1349:70172945898200] [5080676c6b69330545000002] (7.9ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes -2012-10-18 16:32:44.232787 T [1349:70172945898200] [5080676c6b69330545000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "\bregistered\x00\x01\x02clientid\x00\x04\x00\x00\x00123\x00\x00" -2012-10-18 16:32:44.232787 T [1349:70172945898200] [5080676c6b69330545000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "\bregistered\x00\x01\x02clientid\x00\x04\x00\x00\x00123\x00\x00" -- "\bregistered\x00\x01\x02clientid\x00\x04\x00\x00\x00123\x00\x00" -2012-10-18 16:32:44.232797 D [1349:70172945898200] [5080676c6b69330545000002] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 32 bytes -2012-10-18 16:32:44.232797 D [1349:70172945898200] [5080676c6b69330545000002] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 32 bytes -2012-10-18 16:32:44.234096 T [1349:70172945898200] [5080676c6b69330545000002] RubySkynet::Connection: 127.0.0.1:2000 -- Service Handshake -- {"registered"=>true, "clientid"=>"123"} -2012-10-18 16:32:44.234096 T [1349:70172945898200] [5080676c6b69330545000002] RubySkynet::Connection: 127.0.0.1:2000 -- Service Handshake -- {"registered"=>true, "clientid"=>"123"} -- {"registered"=>true, "clientid"=>"123"} -2012-10-18 16:32:44.234116 D [1349:70172945898200] [5080676c6b69330545000002] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Client Handshake -2012-10-18 16:32:44.234116 D [1349:70172945898200] [5080676c6b69330545000002] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Client Handshake -2012-10-18 16:32:44.234126 T [1349:70172945898200] [5080676c6b69330545000002] RubySkynet::Connection: 127.0.0.1:2000 -- Client Handshake -- {"clientid"=>"123"} -2012-10-18 16:32:44.234126 T [1349:70172945898200] [5080676c6b69330545000002] RubySkynet::Connection: 127.0.0.1:2000 -- Client Handshake -- {"clientid"=>"123"} -- {"clientid"=>"123"} -2012-10-18 16:32:44.234149 T [1349:70172945898200] [5080676c6b69330545000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- clientid123 -2012-10-18 16:32:44.234149 T [1349:70172945898200] [5080676c6b69330545000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- clientid123 -- clientid123 -2012-10-18 16:32:44.235335 D [1349:70172945898200] [5080676c6b69330545000002] (1.2ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 23 bytes -2012-10-18 16:32:44.235335 D [1349:70172945898200] [5080676c6b69330545000002] (1.2ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 23 bytes -2012-10-18 16:32:44.235587 D [1349:70172945898200] [5080676c6b69330545000002] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Header -2012-10-18 16:32:44.235587 D [1349:70172945898200] [5080676c6b69330545000002] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Header -2012-10-18 16:32:44.235610 T [1349:70172945898200] [5080676c6b69330545000002] RubySkynet::Connection: 127.0.0.1:2000 -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} -2012-10-18 16:32:44.235610 T [1349:70172945898200] [5080676c6b69330545000002] RubySkynet::Connection: 127.0.0.1:2000 -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} -- {"servicemethod"=>"TestService.Forward", "seq"=>0} -2012-10-18 16:32:44.235641 T [1349:70172945898200] [5080676c6b69330545000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- 5servicemethodTestService.Forwardseq -2012-10-18 16:32:44.235641 T [1349:70172945898200] [5080676c6b69330545000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- 5servicemethodTestService.Forwardseq -- 5servicemethodTestService.Forwardseq -2012-10-18 16:32:44.236196 D [1349:70172945898200] [5080676c6b69330545000002] (0.5ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 53 bytes -2012-10-18 16:32:44.236196 D [1349:70172945898200] [5080676c6b69330545000002] (0.5ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 53 bytes -2012-10-18 16:32:44.236250 D [1349:70172945898200] [5080676c6b69330545000002] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Request -2012-10-18 16:32:44.236250 D [1349:70172945898200] [5080676c6b69330545000002] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Request -2012-10-18 16:32:44.236261 T [1349:70172945898200] [5080676c6b69330545000002] RubySkynet::Connection: 127.0.0.1:2000 -- Request -- {"clientid"=>"123", "in"=>"\x17\x00\x00\x00\x01duration\x00\x00\x00\x00\x00\x00\x00\f@\x00", "method"=>"sleep", "requestinfo"=>{"requestid"=>"5080676c6b69330545000002", "retrycount"=>0, "originaddress"=>""}} -2012-10-18 16:32:44.236261 T [1349:70172945898200] [5080676c6b69330545000002] RubySkynet::Connection: 127.0.0.1:2000 -- Request -- {"clientid"=>"123", "in"=>"\x17\x00\x00\x00\x01duration\x00\x00\x00\x00\x00\x00\x00\f@\x00", "method"=>"sleep", "requestinfo"=>{"requestid"=>"5080676c6b69330545000002", "retrycount"=>0, "originaddress"=>""}} -- {"clientid"=>"123", "in"=>"\x17\x00\x00\x00\x01duration\x00\x00\x00\x00\x00\x00\x00\f@\x00", "method"=>"sleep", "requestinfo"=>{"requestid"=>"5080676c6b69330545000002", "retrycount"=>0, "originaddress"=>""}} -2012-10-18 16:32:44.236270 T [1349:70172945898200] [5080676c6b69330545000002] RubySkynet::Connection: 127.0.0.1:2000 -- Parameters: -- {"duration"=>3.5} -2012-10-18 16:32:44.236270 T [1349:70172945898200] [5080676c6b69330545000002] RubySkynet::Connection: 127.0.0.1:2000 -- Parameters: -- {"duration"=>3.5} -- {"duration"=>3.5} -2012-10-18 16:32:44.236290 T [1349:70172945898200] [5080676c6b69330545000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- clientid123induration @methodsleeprequestinfoQrequestid5080676c6b69330545000002retrycountoriginaddress -2012-10-18 16:32:44.236290 T [1349:70172945898200] [5080676c6b69330545000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- clientid123induration @methodsleeprequestinfoQrequestid5080676c6b69330545000002retrycountoriginaddress -- clientid123induration @methodsleeprequestinfoQrequestid5080676c6b69330545000002retrycountoriginaddress -2012-10-18 16:32:44.236335 D [1349:70172945898200] [5080676c6b69330545000002] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 167 bytes -2012-10-18 16:32:44.236335 D [1349:70172945898200] [5080676c6b69330545000002] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 167 bytes -2012-10-18 16:32:44.236353 D [1349:70172945898200] [5080676c6b69330545000002] RubySkynet::Connection: 127.0.0.1:2000 -- Reading header from server -2012-10-18 16:32:44.236353 D [1349:70172945898200] [5080676c6b69330545000002] RubySkynet::Connection: 127.0.0.1:2000 -- Reading header from server -2012-10-18 16:32:44.237331 D [1349:70172947091420] SimpleServer -- -****************** -2012-10-18 16:32:44.237331 D [1349:70172947091420] SimpleServer -- -****************** -2012-10-18 16:32:44.237348 D [1349:70172947091420] SimpleServer -- Received Request -2012-10-18 16:32:44.237348 D [1349:70172947091420] SimpleServer -- Received Request -2012-10-18 16:32:44.237359 T [1349:70172947091420] SimpleServer -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} -2012-10-18 16:32:44.237359 T [1349:70172947091420] SimpleServer -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} -- {"servicemethod"=>"TestService.Forward", "seq"=>0} -2012-10-18 16:32:44.237550 T [1349:70172947091420] SimpleServer -- Request -- {"clientid"=>"123", "in"=>"\x17\x00\x00\x00\x01duration\x00\x00\x00\x00\x00\x00\x00\f@\x00", "method"=>"sleep", "requestinfo"=>{"requestid"=>"5080676c6b69330545000002", "retrycount"=>0, "originaddress"=>""}} -2012-10-18 16:32:44.237550 T [1349:70172947091420] SimpleServer -- Request -- {"clientid"=>"123", "in"=>"\x17\x00\x00\x00\x01duration\x00\x00\x00\x00\x00\x00\x00\f@\x00", "method"=>"sleep", "requestinfo"=>{"requestid"=>"5080676c6b69330545000002", "retrycount"=>0, "originaddress"=>""}} -- {"clientid"=>"123", "in"=>"\x17\x00\x00\x00\x01duration\x00\x00\x00\x00\x00\x00\x00\f@\x00", "method"=>"sleep", "requestinfo"=>{"requestid"=>"5080676c6b69330545000002", "retrycount"=>0, "originaddress"=>""}} -2012-10-18 16:32:47.237643 W [1349:70172945898200] [5080676c6b69330545000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read Timeout waiting for server to reply -2012-10-18 16:32:47.237643 W [1349:70172945898200] [5080676c6b69330545000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read Timeout waiting for server to reply -2012-10-18 16:32:47.237794 D [1349:70172945898200] [5080676c6b69330545000002] (3001.4ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes -- ResilientSocket::ReadTimeout: Timedout after 3.0 seconds trying to read from 127.0.0.1:2000 -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:391:in `block in read' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.7.0/lib/semantic_logger/base.rb:181:in `benchmark_debug' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:373:in `read' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:229:in `read_bson_document' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:177:in `rpc_call' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:67:in `block (3 levels) in call' +2012-12-05 16:17:20.518592 I [48200:70105354689240] [50bfb9dd6b6933bc48000002] (3007.7ms) RubySkynet::Client: TestService/1/Test -- Called Skynet Service: TestService.sleep -- ResilientSocket::ReadTimeout: Timedout after 3.0 seconds trying to read from 127.0.0.1:2000 +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:392:in `block in read' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_debug' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:374:in `read' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/common.rb:10:in `read_bson_document' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:178:in `rpc_call' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:65:in `block (3 levels) in call' /Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/gene_pool-1.3.0/lib/gene_pool.rb:134:in `with_connection' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:213:in `with_connection' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:66:in `block (2 levels) in call' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.7.0/lib/semantic_logger/base.rb:181:in `benchmark_info' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:62:in `block in call' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.7.0/lib/semantic_logger/base.rb:161:in `with_tags' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:61:in `call' -/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_client_test.rb:84:in `block (5 levels) in <class:RubySkynetClientTest>' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:214:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:64:in `block (2 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_info' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:60:in `block in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:126:in `with_tags' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:59:in `call' +/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_client_test.rb:87:in `block (5 levels) in <class:RubySkynetClientTest>' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:330:in `assert_raises' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/assertions.rb:69:in `assert_raise' -/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_client_test.rb:82:in `block (4 levels) in <class:RubySkynetClientTest>' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.0/lib/shoulda/context/context.rb:398:in `call' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.0/lib/shoulda/context/context.rb:398:in `block in create_test_from_should_hash' -/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:949:in `run' +/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_client_test.rb:85:in `block (4 levels) in <class:RubySkynetClientTest>' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `block in create_test_from_should_hash' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/mocha-0.10.5/lib/mocha/integration/mini_test/version_230_to_262.rb:28:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/testcase.rb:17:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:787:in `block in _run_suite' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `map' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `_run_suite' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:565:in `block in _run_suites' @@ -6319,31 +12845,43 @@ /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:884:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:21:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:326:in `block (2 levels) in autorun' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:27:in `run_once' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:325:in `block in autorun' -2012-10-18 16:32:47.237794 D [1349:70172945898200] [5080676c6b69330545000002] (3001.4ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes -- ResilientSocket::ReadTimeout: Timedout after 3.0 seconds trying to read from 127.0.0.1:2000 -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:391:in `block in read' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.7.0/lib/semantic_logger/base.rb:181:in `benchmark_debug' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:373:in `read' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:229:in `read_bson_document' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:177:in `rpc_call' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:67:in `block (3 levels) in call' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/gene_pool-1.3.0/lib/gene_pool.rb:134:in `with_connection' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:213:in `with_connection' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:66:in `block (2 levels) in call' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.7.0/lib/semantic_logger/base.rb:181:in `benchmark_info' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:62:in `block in call' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.7.0/lib/semantic_logger/base.rb:161:in `with_tags' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:61:in `call' -/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_client_test.rb:84:in `block (5 levels) in <class:RubySkynetClientTest>' +2012-12-05 16:17:20.520781 D [48200:70105354689240] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f8559ab4588>(70105355887300) self=connections=70105355887300 checked_out=70105355887300 with_map= +2012-12-05 16:17:20.521678 T [48200:70105354689240] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- <"+/services/TestService/1/Test/127.0.0.1/2000H +2012-12-05 16:17:20.521822 D [48200:70105354689240] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 64 bytes +2012-12-05 16:17:20.524370 T [48200:70105357224500] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x006" +2012-12-05 16:17:20.524385 D [48200:70105357224500] (3020.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 16:17:20.524810 T [48200:70105354689240] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 16:17:20.524819 D [48200:70105354689240] (3.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 16:17:20.525035 T [48200:70105357224500] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\b\x18\xA8-*+/services/TestService/1/Test/127.0.0.1/20002\x00" +2012-12-05 16:17:20.525043 D [48200:70105357224500] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 54 bytes +2012-12-05 16:17:20.525221 D [48200:70105357224500] RubySkynet::Registry -- #monitor Service stopped, remove: TestService/1/Test => 127.0.0.1:2000 +2012-12-05 16:17:20.525249 I [48200:70105357224500] RubySkynet::Registry -- Calling callback for server: 127.0.0.1:2000 +2012-12-05 16:17:20.525309 D [48200:70105357224500] RubySkynet::Connection -- Connection pool for server:127.0.0.1:2000 has been released +2012-12-05 16:17:20.525323 D [48200:70105357224500] RubySkynet::Registry -- Updated registry -- {} +2012-12-05 16:17:20.525563 T [48200:70105357224500] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H- +2012-12-05 16:17:20.525639 D [48200:70105357224500] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 16:17:20.527636 T [48200:70105354689240] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00" +2012-12-05 16:17:20.527653 D [48200:70105354689240] (2.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 2 bytes +2012-12-05 16:17:20.527752 D [48200:70105354689240] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007f8559ab4588>(70105355887300) self=connections=70105355887300 checked_out= with_map= +2012-12-05 16:17:20.528125 W [48200:70105354689240] [50bfb9e06b6933bc48000003] RubySkynet::Registry -- No servers available for service: SomeService with version: * in region: Development +2012-12-05 16:17:20.528223 I [48200:70105354689240] [50bfb9e06b6933bc48000003] (0.2ms) RubySkynet::Client: SomeService/*/Development -- Called Skynet Service: SomeService.test -- RubySkynet::ServiceUnavailable: No servers available for service: SomeService with version: * in region: Development +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/registry.rb:92:in `server_for' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:64:in `block (2 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_info' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:60:in `block in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:126:in `with_tags' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:59:in `call' +/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_client_test.rb:26:in `block (4 levels) in <class:RubySkynetClientTest>' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:330:in `assert_raises' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/assertions.rb:69:in `assert_raise' -/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_client_test.rb:82:in `block (4 levels) in <class:RubySkynetClientTest>' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.0/lib/shoulda/context/context.rb:398:in `call' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.0/lib/shoulda/context/context.rb:398:in `block in create_test_from_should_hash' -/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:949:in `run' +/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_client_test.rb:24:in `block (3 levels) in <class:RubySkynetClientTest>' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `block in create_test_from_should_hash' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/mocha-0.10.5/lib/mocha/integration/mini_test/version_230_to_262.rb:28:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/testcase.rb:17:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:787:in `block in _run_suite' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `map' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `_run_suite' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:565:in `block in _run_suites' @@ -6356,31 +12894,268 @@ /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:895:in `_run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:884:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:21:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:326:in `block (2 levels) in autorun' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:27:in `run_once' -/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:325:in `block in autorun' -- ResilientSocket::ReadTimeout: Timedout after 3.0 seconds trying to read from 127.0.0.1:2000 -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:391:in `block in read' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.7.0/lib/semantic_logger/base.rb:181:in `benchmark_debug' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:373:in `read' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:229:in `read_bson_document' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:177:in `rpc_call' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:67:in `block (3 levels) in call' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/gene_pool-1.3.0/lib/gene_pool.rb:134:in `with_connection' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:213:in `with_connection' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:66:in `block (2 levels) in call' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.7.0/lib/semantic_logger/base.rb:181:in `benchmark_info' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:62:in `block in call' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.7.0/lib/semantic_logger/base.rb:161:in `with_tags' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:61:in `call' -/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_client_test.rb:84:in `block (5 levels) in <class:RubySkynetClientTest>' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:325:in `block in autorun' +2012-12-05 16:17:20.531233 D [48200:70105355557300] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f8559ab4588>(70105355887300) self=connections=70105355887300 checked_out=70105355887300 with_map= +2012-12-05 16:17:20.531653 T [48200:70105355557300] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "+/services/TestService/1/Test/localhost/2100*{"Config":{"UUID":"localhost:2100-48200-TestService-70105357922420","Name":"TestService","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"localhost","Port":2100,"MaxPort":3099}},"Registered":true}H +2012-12-05 16:17:20.531734 D [48200:70105355557300] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 272 bytes +2012-12-05 16:17:20.534817 T [48200:70105357224500] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01\x04" +2012-12-05 16:17:20.534833 D [48200:70105357224500] (9.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 16:17:20.535659 T [48200:70105355557300] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 16:17:20.535671 D [48200:70105355557300] (3.9ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 16:17:20.536228 T [48200:70105357224500] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xA9-*+/services/TestService/1/Test/localhost/21002\xCD\x01{\"Config\":{\"UUID\":\"localhost:2100-48200-TestService-70105357922420\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-05 16:17:20.536240 D [48200:70105357224500] (1.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 260 bytes +2012-12-05 16:17:20.536463 D [48200:70105357224500] RubySkynet::Registry -- #monitor Add/Update Service: TestService/1/Test => localhost:2100 +2012-12-05 16:17:20.536475 D [48200:70105357224500] RubySkynet::Registry -- Updated registry -- {"TestService/1/Test"=>["localhost:2100"]} +2012-12-05 16:17:20.536695 T [48200:70105357224500] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H- +2012-12-05 16:17:20.536760 D [48200:70105357224500] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 16:17:20.537843 T [48200:70105355557300] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xA9-" +2012-12-05 16:17:20.537856 D [48200:70105355557300] (2.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 16:17:20.537953 D [48200:70105355557300] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007f8559ab4588>(70105355887300) self=connections=70105355887300 checked_out= with_map= +2012-12-05 16:17:20.538927 I [48200:70105355557300] RubySkynet::Server -- Starting listener on localhost:2100 +2012-12-05 16:17:20.538943 D [48200:70105355557300] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 16:17:20.540546 D [48200:70105354689240] [50bfb9e06b6933bc48000004] RubySkynet::Connection: localhost:2100 -- Waiting for Service Handshake +2012-12-05 16:17:20.540751 D [48200:70105355557300] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 16:17:20.540830 D [48200:70105355557300] RubySkynet::Server -- Client connected, waiting for data from client +2012-12-05 16:17:20.541505 T [48200:70105354689240] [50bfb9e06b6933bc48000004] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "9\x00\x00\x00" +2012-12-05 16:17:20.541518 D [48200:70105354689240] [50bfb9e06b6933bc48000004] (0.9ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 4 bytes +2012-12-05 16:17:20.541606 T [48200:70105354689240] [50bfb9e06b6933bc48000004] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "\bregistered\x00\x01\x02clientid\x00\x19\x00\x00\x0050bfb9e06b6933bc48000005\x00\x00" +2012-12-05 16:17:20.541612 D [48200:70105354689240] [50bfb9e06b6933bc48000004] (0.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 53 bytes +2012-12-05 16:17:20.541652 T [48200:70105354689240] [50bfb9e06b6933bc48000004] RubySkynet::Connection: localhost:2100 -- Service Handshake -- {"registered"=>true, "clientid"=>"50bfb9e06b6933bc48000005"} +2012-12-05 16:17:20.541664 D [48200:70105354689240] [50bfb9e06b6933bc48000004] RubySkynet::Connection: localhost:2100 -- Sending Client Handshake +2012-12-05 16:17:20.541678 T [48200:70105354689240] [50bfb9e06b6933bc48000004] RubySkynet::Connection: localhost:2100 -- Client Handshake -- {"clientid"=>"50bfb9e06b6933bc48000005"} +2012-12-05 16:17:20.541695 T [48200:70105354689240] [50bfb9e06b6933bc48000004] ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sending -- ,clientid50bfb9e06b6933bc48000005 +2012-12-05 16:17:20.541738 D [48200:70105354689240] [50bfb9e06b6933bc48000004] (0.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sent 44 bytes +2012-12-05 16:17:20.541792 D [48200:70105354689240] [50bfb9e06b6933bc48000004] RubySkynet::Connection: localhost:2100 -- Sending Header +2012-12-05 16:17:20.541801 T [48200:70105354689240] [50bfb9e06b6933bc48000004] RubySkynet::Connection: localhost:2100 -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 16:17:20.541821 T [48200:70105354689240] [50bfb9e06b6933bc48000004] ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sending -- 5servicemethodTestService.Forwardseq +2012-12-05 16:17:20.541865 D [48200:70105354689240] [50bfb9e06b6933bc48000004] (0.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sent 53 bytes +2012-12-05 16:17:20.541897 D [48200:70105354689240] [50bfb9e06b6933bc48000004] RubySkynet::Connection: localhost:2100 -- Sending Request +2012-12-05 16:17:20.541903 T [48200:70105354689240] [50bfb9e06b6933bc48000004] RubySkynet::Connection: localhost:2100 -- Request -- {"clientid"=>"50bfb9e06b6933bc48000005", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"echo", "requestinfo"=>{"requestid"=>"50bfb9e06b6933bc48000004", "retrycount"=>0, "originaddress"=>""}} +2012-12-05 16:17:20.541914 T [48200:70105354689240] [50bfb9e06b6933bc48000004] RubySkynet::Connection: localhost:2100 -- Parameters: -- {"some"=>"parameters"} +2012-12-05 16:17:20.541933 T [48200:70105354689240] [50bfb9e06b6933bc48000004] ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sending -- clientid50bfb9e06b6933bc48000005insome parametersmethodechorequestinfoQrequestid50bfb9e06b6933bc48000004retrycountoriginaddress +2012-12-05 16:17:20.541973 D [48200:70105354689240] [50bfb9e06b6933bc48000004] (0.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sent 190 bytes +2012-12-05 16:17:20.541986 D [48200:70105354689240] [50bfb9e06b6933bc48000004] RubySkynet::Connection: localhost:2100 -- Reading header from server +2012-12-05 16:17:20.543686 D [48200:70105355557300] RubySkynet::Server -- +****************** +2012-12-05 16:17:20.543703 D [48200:70105355557300] RubySkynet::Server -- Received Request +2012-12-05 16:17:20.543714 T [48200:70105355557300] RubySkynet::Server -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 16:17:20.543930 T [48200:70105355557300] RubySkynet::Server -- Request -- {"clientid"=>"50bfb9e06b6933bc48000005", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"echo", "requestinfo"=>{"requestid"=>"50bfb9e06b6933bc48000004", "retrycount"=>0, "originaddress"=>""}} +2012-12-05 16:17:20.543951 T [48200:70105355557300] RubySkynet::Server -- Parameters -- {"some"=>"parameters"} +2012-12-05 16:17:20.543973 T [48200:70105355557300] RubySkynet::Server -- Method Call: echo with parameters: -- {"some"=>"parameters"} +2012-12-05 16:17:20.543985 D [48200:70105355557300] (0.0ms) RubySkynet::Server -- Called: TestService#echo +2012-12-05 16:17:20.544001 D [48200:70105355557300] RubySkynet::Server -- Sending Header +2012-12-05 16:17:20.544060 D [48200:70105355557300] RubySkynet::Server -- Sending Reply +2012-12-05 16:17:20.544072 T [48200:70105355557300] RubySkynet::Server -- Reply -- {"some"=>"parameters"} +2012-12-05 16:17:20.544436 T [48200:70105354689240] [50bfb9e06b6933bc48000004] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "5\x00\x00\x00" +2012-12-05 16:17:20.544444 D [48200:70105354689240] [50bfb9e06b6933bc48000004] (2.4ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 4 bytes +2012-12-05 16:17:20.544916 T [48200:70105354689240] [50bfb9e06b6933bc48000004] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "\x02servicemethod\x00\x14\x00\x00\x00TestService.Forward\x00\x10seq\x00\x00\x00\x00\x00\x00" +2012-12-05 16:17:20.544924 D [48200:70105354689240] [50bfb9e06b6933bc48000004] (0.5ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 49 bytes +2012-12-05 16:17:20.544962 D [48200:70105354689240] [50bfb9e06b6933bc48000004] RubySkynet::Connection: localhost:2100 -- Response Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 16:17:20.544969 D [48200:70105354689240] [50bfb9e06b6933bc48000004] RubySkynet::Connection: localhost:2100 -- Reading response from server +2012-12-05 16:17:20.545332 T [48200:70105354689240] [50bfb9e06b6933bc48000004] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- ")\x00\x00\x00" +2012-12-05 16:17:20.545339 D [48200:70105354689240] [50bfb9e06b6933bc48000004] (0.4ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 4 bytes +2012-12-05 16:17:20.545500 T [48200:70105354689240] [50bfb9e06b6933bc48000004] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "\x02out\x00\e\x00\x00\x00\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00\x00\x00" +2012-12-05 16:17:20.545507 D [48200:70105354689240] [50bfb9e06b6933bc48000004] (0.2ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 37 bytes +2012-12-05 16:17:20.545580 T [48200:70105354689240] [50bfb9e06b6933bc48000004] RubySkynet::Connection: localhost:2100 -- Response -- {"out"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00"} +2012-12-05 16:17:20.545649 T [48200:70105354689240] [50bfb9e06b6933bc48000004] RubySkynet::Connection: localhost:2100 -- Return Value -- {"some"=>"parameters"} +2012-12-05 16:17:20.545668 I [48200:70105354689240] [50bfb9e06b6933bc48000004] (6.1ms) RubySkynet::Client: TestService/1/Test -- Called Skynet Service: TestService.echo +2012-12-05 16:17:20.546968 I [48200:70105355557300] RubySkynet::Server -- Skynet Server Stopped +2012-12-05 16:17:20.547065 D [48200:70105355557300] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f8559ab4588>(70105355887300) self=connections=70105355887300 checked_out=70105355887300 with_map= +2012-12-05 16:17:20.547397 T [48200:70105355557300] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- <"+/services/TestService/1/Test/localhost/2100H +2012-12-05 16:17:20.547475 D [48200:70105355557300] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 64 bytes +2012-12-05 16:17:20.548979 T [48200:70105357224500] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x006" +2012-12-05 16:17:20.548991 D [48200:70105357224500] (12.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 16:17:20.549767 T [48200:70105355557300] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 16:17:20.549779 D [48200:70105355557300] (2.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 16:17:20.550366 T [48200:70105355557300] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00" +2012-12-05 16:17:20.550377 D [48200:70105355557300] (0.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 2 bytes +2012-12-05 16:17:20.550471 D [48200:70105355557300] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007f8559ab4588>(70105355887300) self=connections=70105355887300 checked_out= with_map= +2012-12-05 16:17:20.550488 I [48200:70105355557300] RubySkynet::Server -- Skynet Services De-registered in Doozer +2012-12-05 16:17:20.550919 T [48200:70105357224500] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\b\x18\xAA-*+/services/TestService/1/Test/localhost/21002\x00" +2012-12-05 16:17:20.550926 D [48200:70105357224500] (1.9ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 54 bytes +2012-12-05 16:17:20.551080 D [48200:70105357224500] RubySkynet::Registry -- #monitor Service stopped, remove: TestService/1/Test => localhost:2100 +2012-12-05 16:17:20.551102 I [48200:70105357224500] RubySkynet::Registry -- Calling callback for server: localhost:2100 +2012-12-05 16:17:20.551220 D [48200:70105357224500] RubySkynet::Connection -- Connection pool for server:localhost:2100 has been released +2012-12-05 16:17:20.551233 D [48200:70105357224500] RubySkynet::Registry -- Updated registry -- {} +2012-12-05 16:17:20.551458 T [48200:70105357224500] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H- +2012-12-05 16:17:20.551522 D [48200:70105357224500] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 16:17:20.554432 D [48200:70105355562700] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f8559ab4588>(70105355887300) self=connections=70105355887300 checked_out=70105355887300 with_map= +2012-12-05 16:17:20.554841 T [48200:70105355562700] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "+/services/TestService/1/Test/localhost/2100*{"Config":{"UUID":"localhost:2100-48200-TestService-70105357922420","Name":"TestService","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"localhost","Port":2100,"MaxPort":3099}},"Registered":true}H +2012-12-05 16:17:20.555276 D [48200:70105355562700] (0.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 272 bytes +2012-12-05 16:17:20.556879 T [48200:70105355562700] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 16:17:20.556891 D [48200:70105355562700] (1.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 16:17:20.559501 T [48200:70105355562700] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xAB-" +2012-12-05 16:17:20.559511 D [48200:70105355562700] (2.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 16:17:20.559631 D [48200:70105355562700] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007f8559ab4588>(70105355887300) self=connections=70105355887300 checked_out= with_map= +2012-12-05 16:17:20.559668 T [48200:70105357224500] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01\x04" +2012-12-05 16:17:20.559673 D [48200:70105357224500] (8.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 16:17:20.559846 T [48200:70105357224500] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xAB-*+/services/TestService/1/Test/localhost/21002\xCD\x01{\"Config\":{\"UUID\":\"localhost:2100-48200-TestService-70105357922420\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-05 16:17:20.559853 D [48200:70105357224500] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 260 bytes +2012-12-05 16:17:20.560072 D [48200:70105357224500] RubySkynet::Registry -- #monitor Add/Update Service: TestService/1/Test => localhost:2100 +2012-12-05 16:17:20.560085 D [48200:70105357224500] RubySkynet::Registry -- Updated registry -- {"TestService/1/Test"=>["localhost:2100"]} +2012-12-05 16:17:20.560303 T [48200:70105357224500] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H- +2012-12-05 16:17:20.560349 D [48200:70105357224500] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 16:17:20.561640 I [48200:70105355562700] RubySkynet::Server -- Starting listener on localhost:2100 +2012-12-05 16:17:20.561665 D [48200:70105355562700] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 16:17:20.563436 I [48200:70105355562700] RubySkynet::Server -- Skynet Server Stopped +2012-12-05 16:17:20.563703 D [48200:70105355562700] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f8559ab4588>(70105355887300) self=connections=70105355887300 checked_out=70105355887300 with_map= +2012-12-05 16:17:20.564016 T [48200:70105355562700] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- <"+/services/TestService/1/Test/localhost/2100H +2012-12-05 16:17:20.564586 D [48200:70105355562700] (0.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 64 bytes +2012-12-05 16:17:20.565749 T [48200:70105355562700] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 16:17:20.565761 D [48200:70105355562700] (1.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 16:17:20.567483 T [48200:70105357224500] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x006" +2012-12-05 16:17:20.567494 D [48200:70105357224500] (7.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 16:17:20.567574 T [48200:70105357224500] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\b\x18\xAC-*+/services/TestService/1/Test/localhost/21002\x00" +2012-12-05 16:17:20.567580 D [48200:70105357224500] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 54 bytes +2012-12-05 16:17:20.567731 D [48200:70105357224500] RubySkynet::Registry -- #monitor Service stopped, remove: TestService/1/Test => localhost:2100 +2012-12-05 16:17:20.567751 D [48200:70105357224500] RubySkynet::Registry -- Updated registry -- {} +2012-12-05 16:17:20.568237 T [48200:70105357224500] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H- +2012-12-05 16:17:20.568335 D [48200:70105357224500] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 16:17:20.568488 T [48200:70105355562700] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00" +2012-12-05 16:17:20.568496 D [48200:70105355562700] (2.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 2 bytes +2012-12-05 16:17:20.568565 D [48200:70105355562700] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007f8559ab4588>(70105355887300) self=connections=70105355887300 checked_out= with_map= +2012-12-05 16:17:20.568582 I [48200:70105355562700] RubySkynet::Server -- Skynet Services De-registered in Doozer +2012-12-05 16:17:20.571995 D [48200:70105355535740] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f8559ab4588>(70105355887300) self=connections=70105355887300 checked_out=70105355887300 with_map= +2012-12-05 16:17:20.572375 T [48200:70105355535740] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "+/services/TestService/1/Test/localhost/2100*{"Config":{"UUID":"localhost:2100-48200-TestService-70105357922420","Name":"TestService","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"localhost","Port":2100,"MaxPort":3099}},"Registered":true}H +2012-12-05 16:17:20.572561 D [48200:70105355535740] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 272 bytes +2012-12-05 16:17:20.575482 T [48200:70105357224500] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01\x04" +2012-12-05 16:17:20.575497 D [48200:70105357224500] (7.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 16:17:20.575996 T [48200:70105357224500] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xAD-*+/services/TestService/1/Test/localhost/21002\xCD\x01{\"Config\":{\"UUID\":\"localhost:2100-48200-TestService-70105357922420\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-05 16:17:20.576004 D [48200:70105357224500] (0.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 260 bytes +2012-12-05 16:17:20.576324 D [48200:70105357224500] RubySkynet::Registry -- #monitor Add/Update Service: TestService/1/Test => localhost:2100 +2012-12-05 16:17:20.576337 D [48200:70105357224500] RubySkynet::Registry -- Updated registry -- {"TestService/1/Test"=>["localhost:2100"]} +2012-12-05 16:17:20.576564 T [48200:70105357224500] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H- +2012-12-05 16:17:20.576632 D [48200:70105357224500] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 16:17:20.578518 T [48200:70105355535740] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 16:17:20.578527 D [48200:70105355535740] (5.9ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 16:17:20.578590 T [48200:70105355535740] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xAD-" +2012-12-05 16:17:20.578596 D [48200:70105355535740] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 16:17:20.578684 D [48200:70105355535740] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007f8559ab4588>(70105355887300) self=connections=70105355887300 checked_out= with_map= +2012-12-05 16:17:20.579345 I [48200:70105355535740] RubySkynet::Server -- Starting listener on localhost:2100 +2012-12-05 16:17:20.579367 D [48200:70105355535740] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 16:17:20.580587 D [48200:70105354689240] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f8559ab4588>(70105355887300) self=connections=70105355887300 checked_out=70105355887300 with_map= +2012-12-05 16:17:20.580942 T [48200:70105354689240] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- 1"+/services/TestService/1/Test/localhost/2100 +2012-12-05 16:17:20.581138 D [48200:70105354689240] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 53 bytes +2012-12-05 16:17:20.581198 T [48200:70105354689240] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\xD5" +2012-12-05 16:17:20.581204 D [48200:70105354689240] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 16:17:20.581371 T [48200:70105354689240] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xAD-2\xCD\x01{\"Config\":{\"UUID\":\"localhost:2100-48200-TestService-70105357922420\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-05 16:17:20.581378 D [48200:70105354689240] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 213 bytes +2012-12-05 16:17:20.581498 D [48200:70105354689240] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007f8559ab4588>(70105355887300) self=connections=70105355887300 checked_out= with_map= +2012-12-05 16:17:20.582058 I [48200:70105355535740] RubySkynet::Server -- Skynet Server Stopped +2012-12-05 16:17:20.582135 D [48200:70105355535740] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007f8559ab4588>(70105355887300) self=connections=70105355887300 checked_out=70105355887300 with_map= +2012-12-05 16:17:20.582820 T [48200:70105355535740] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- <"+/services/TestService/1/Test/localhost/2100H +2012-12-05 16:17:20.582894 D [48200:70105355535740] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 64 bytes +2012-12-05 16:17:20.592930 T [48200:70105355535740] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 16:17:20.592948 D [48200:70105355535740] (10.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 16:17:20.593320 T [48200:70105357224500] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x006" +2012-12-05 16:17:20.593329 D [48200:70105357224500] (16.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 16:17:20.593390 T [48200:70105357224500] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\b\x18\xAE-*+/services/TestService/1/Test/localhost/21002\x00" +2012-12-05 16:17:20.593396 D [48200:70105357224500] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 54 bytes +2012-12-05 16:17:20.593553 D [48200:70105357224500] RubySkynet::Registry -- #monitor Service stopped, remove: TestService/1/Test => localhost:2100 +2012-12-05 16:17:20.593843 D [48200:70105357224500] RubySkynet::Registry -- Updated registry -- {} +2012-12-05 16:17:20.594097 T [48200:70105357224500] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H- +2012-12-05 16:17:20.594649 D [48200:70105357224500] (0.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 16:17:24.351886 D [48205:70279829347040] RubySkynet::Server -- Registering Service: TestService with name: TestService +2012-12-05 16:17:24.353019 I [48205:70279829347040] Celluloid -- Terminating 4 actors... +2012-12-05 16:17:24.354027 I [48205:70279829347040] Celluloid -- Shutdown completed cleanly +2012-12-05 16:17:24.356387 T [48205:70279829347040] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007fd699c0a5e0@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 16:17:24.363947 T [48205:70279829347040] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "/8 +2012-12-05 16:17:24.364175 D [48205:70279829347040] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 13 bytes +2012-12-05 16:17:24.364343 T [48205:70279829347040] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\a" +2012-12-05 16:17:24.364351 D [48205:70279829347040] (0.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 16:17:24.364525 T [48205:70279829347040] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00*\x03ctl" +2012-12-05 16:17:24.364535 D [48205:70279829347040] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 7 bytes +2012-12-05 16:17:24.364857 T [48205:70279829347040] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "/8 +2012-12-05 16:17:24.364899 D [48205:70279829347040] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 13 bytes +2012-12-05 16:17:24.365105 T [48205:70279829347040] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 16:17:24.365112 D [48205:70279829347040] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 16:17:24.365903 T [48205:70279829347040] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\xA0\x06\b" +2012-12-05 16:17:24.365948 D [48205:70279829347040] (0.8ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 5 bytes +2012-12-05 16:17:24.367009 T [48205:70279829347040] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/fooH +2012-12-05 16:17:24.367253 D [48205:70279829347040] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 30 bytes +2012-12-05 16:17:24.368752 T [48205:70279829347040] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 16:17:24.368857 D [48205:70279829347040] (1.6ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 16:17:24.370490 T [48205:70279829347040] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00" +2012-12-05 16:17:24.370523 D [48205:70279829347040] (1.6ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 2 bytes +2012-12-05 16:17:24.370758 T [48205:70279829347040] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007fd699d1d6a8@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 16:17:24.371886 T [48205:70279829347040] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending --  +2012-12-05 16:17:24.372039 D [48205:70279829347040] (0.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 8 bytes +2012-12-05 16:17:24.372272 T [48205:70279829347040] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 16:17:24.372352 D [48205:70279829347040] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 16:17:24.372598 T [48205:70279829347040] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xB3-" +2012-12-05 16:17:24.372629 D [48205:70279829347040] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 5 bytes +2012-12-05 16:17:24.373732 T [48205:70279829347040] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/fooH +2012-12-05 16:17:24.374288 D [48205:70279829347040] (0.5ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 30 bytes +2012-12-05 16:17:24.376170 T [48205:70279829347040] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 16:17:24.376213 D [48205:70279829347040] (1.8ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 16:17:24.377086 T [48205:70279829347040] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00" +2012-12-05 16:17:24.377123 D [48205:70279829347040] (0.9ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 2 bytes +2012-12-05 16:17:24.377789 T [48205:70279829347040] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007fd698c49f20@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 16:17:24.379008 T [48205:70279829347040] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "" /test/foo*value2H +2012-12-05 16:17:24.379299 D [48205:70279829347040] (0.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 38 bytes +2012-12-05 16:17:24.380550 T [48205:70279829347040] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 16:17:24.380590 D [48205:70279829347040] (1.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 16:17:24.381154 T [48205:70279829347040] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xB5-" +2012-12-05 16:17:24.381224 D [48205:70279829347040] (0.6ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 5 bytes +2012-12-05 16:17:24.381457 T [48205:70279829347040] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/foo +2012-12-05 16:17:24.382161 D [48205:70279829347040] (0.7ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 19 bytes +2012-12-05 16:17:24.382760 T [48205:70279829347040] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\r" +2012-12-05 16:17:24.382808 D [48205:70279829347040] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 16:17:24.383098 T [48205:70279829347040] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xB5-2\x06value2" +2012-12-05 16:17:24.383128 D [48205:70279829347040] (0.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 13 bytes +2012-12-05 16:17:24.384153 T [48205:70279829347040] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/fooH +2012-12-05 16:17:24.384294 D [48205:70279829347040] (0.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 30 bytes +2012-12-05 16:17:24.385604 T [48205:70279829347040] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 16:17:24.385636 D [48205:70279829347040] (1.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 16:17:24.387557 T [48205:70279829347040] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00" +2012-12-05 16:17:24.387590 D [48205:70279829347040] (1.8ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 2 bytes +2012-12-05 16:17:24.388464 T [48205:70279829347040] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007fd698ac2878@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 16:17:24.389686 T [48205:70279829347040] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- !" /test/foo*valueH +2012-12-05 16:17:24.389977 D [48205:70279829347040] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 37 bytes +2012-12-05 16:17:24.396608 T [48205:70279829347040] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 16:17:24.396652 D [48205:70279829347040] (6.6ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 16:17:24.397296 T [48205:70279829347040] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xB7-" +2012-12-05 16:17:24.397333 D [48205:70279829347040] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 5 bytes +2012-12-05 16:17:24.397624 T [48205:70279829347040] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/foo +2012-12-05 16:17:24.398053 D [48205:70279829347040] (0.4ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 19 bytes +2012-12-05 16:17:24.398210 T [48205:70279829347040] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\f" +2012-12-05 16:17:24.398245 D [48205:70279829347040] (0.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 16:17:24.398437 T [48205:70279829347040] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xB7-2\x05value" +2012-12-05 16:17:24.398473 D [48205:70279829347040] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 12 bytes +2012-12-05 16:17:24.399799 T [48205:70279829347040] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/fooH +2012-12-05 16:17:24.401623 D [48205:70279829347040] (1.8ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 30 bytes +2012-12-05 16:17:24.401786 T [48205:70279829347040] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 16:17:24.401822 D [48205:70279829347040] (0.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 16:17:24.402033 T [48205:70279829347040] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00" +2012-12-05 16:17:24.402069 D [48205:70279829347040] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 2 bytes +2012-12-05 16:17:24.402470 T [48205:70279829347040] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:9999", :connect_retry_interval=>0.1, :connect_retry_count=>5, :read_timeout=>5, :connect_timeout=>3, :buffered=>false, :on_connect=>#<Proc:0x007fd698b06f00@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 16:17:24.403210 W [48205:70279829347040] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 1 +2012-12-05 16:17:24.503840 W [48205:70279829347040] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 2 +2012-12-05 16:17:24.605135 W [48205:70279829347040] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 3 +2012-12-05 16:17:24.717227 W [48205:70279829347040] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 4 +2012-12-05 16:17:24.817993 W [48205:70279829347040] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 5 +2012-12-05 16:17:24.919553 E [48205:70279829347040] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Giving up after 5 retries +2012-12-05 16:17:24.919730 I [48205:70279829347040] (517.2ms) ResilientSocket::TCPClient ["localhost:9999"] -- Connecting to server localhost:9999 -- ResilientSocket::ConnectionFailure: After 5 connection attempts to host 'localhost:9999': Errno::ECONNREFUSED: Connection refused - connect(2) +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:578:in `rescue in block in connect_to_server' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:549:in `block in connect_to_server' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_info' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:542:in `connect_to_server' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:305:in `connect' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:233:in `initialize' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:36:in `new' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:36:in `initialize' +/Users/rmorrison/Sandbox/ruby_skynet/test/doozer_client_test.rb:19:in `new' +/Users/rmorrison/Sandbox/ruby_skynet/test/doozer_client_test.rb:19:in `block (4 levels) in <class:DoozerClientTest>' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:330:in `assert_raises' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/assertions.rb:69:in `assert_raise' -/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_client_test.rb:82:in `block (4 levels) in <class:RubySkynetClientTest>' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.0/lib/shoulda/context/context.rb:398:in `call' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.0/lib/shoulda/context/context.rb:398:in `block in create_test_from_should_hash' -/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:949:in `run' +/Users/rmorrison/Sandbox/ruby_skynet/test/doozer_client_test.rb:18:in `block (3 levels) in <class:DoozerClientTest>' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `block in create_test_from_should_hash' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/mocha-0.10.5/lib/mocha/integration/mini_test/version_230_to_262.rb:28:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/testcase.rb:17:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:787:in `block in _run_suite' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `map' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `_run_suite' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:565:in `block in _run_suites' @@ -6394,31 +13169,174 @@ /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:884:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:21:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:326:in `block (2 levels) in autorun' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:27:in `run_once' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:325:in `block in autorun' -2012-10-18 16:32:47.237846 I [1349:70172945898200] [5080676c6b69330545000002] (3017.5ms) RubySkynet::Client: TestService/1/Test -- Called Skynet Service: TestService.sleep -- ResilientSocket::ReadTimeout: Timedout after 3.0 seconds trying to read from 127.0.0.1:2000 -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:391:in `block in read' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.7.0/lib/semantic_logger/base.rb:181:in `benchmark_debug' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:373:in `read' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:229:in `read_bson_document' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:177:in `rpc_call' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:67:in `block (3 levels) in call' +2012-12-05 16:17:24.923024 D [48205:70279830097080] SimpleServer -- Waiting for a client to connect +2012-12-05 16:17:24.930351 D [48205:70279829347040] RubySkynet::Registry -- Doozer Connection Pool: Created connection #1 #<Thread:0x007fd69886b5c0>(70279829347040) for Doozer Connection Pool +2012-12-05 16:17:24.930442 T [48205:70279829347040] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007fd698a941d0@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 16:17:24.931957 D [48205:70279829347040] RubySkynet::Registry -- Doozer Connection Pool: Renewed connection old=70279829347040 new=#<RubySkynet::Doozer::Client:0x007fd698a94388>(70279830479300) +2012-12-05 16:17:24.932119 D [48205:70279829347040] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fd698a94388>(70279830479300) self=connections=70279830479300 checked_out=70279830479300 with_map= +2012-12-05 16:17:24.945771 T [48205:70279829347040] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "+/services/TestService/1/Test/127.0.0.1/2000*{"Config":{"UUID":"3978b371-15e9-40f8-9b7b-59ae88d8c7ec","Name":"TestService","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"127.0.0.1","Port":2000,"MaxPort":2999}},"Registered":true}H +2012-12-05 16:17:24.951366 D [48205:70279829347040] (5.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 261 bytes +2012-12-05 16:17:24.951626 T [48205:70279829347040] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 16:17:24.951653 D [48205:70279829347040] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 16:17:24.951881 T [48205:70279829347040] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xBA-" +2012-12-05 16:17:24.951908 D [48205:70279829347040] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 16:17:24.952026 D [48205:70279829347040] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fd698a94388>(70279830479300) self=connections=70279830479300 checked_out= with_map= +2012-12-05 16:17:24.956010 D [48205:70279829347040] [50bfb9e46b6933bc4d000001] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fd698a94388>(70279830479300) self=connections=70279830479300 checked_out=70279830479300 with_map= +2012-12-05 16:17:24.956269 T [48205:70279829347040] [50bfb9e46b6933bc4d000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  +2012-12-05 16:17:24.956929 D [48205:70279829347040] [50bfb9e46b6933bc4d000001] (0.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 8 bytes +2012-12-05 16:17:24.957141 T [48205:70279829347040] [50bfb9e46b6933bc4d000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 16:17:24.957152 D [48205:70279829347040] [50bfb9e46b6933bc4d000001] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 16:17:24.957217 T [48205:70279829347040] [50bfb9e46b6933bc4d000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xBA-" +2012-12-05 16:17:24.957223 D [48205:70279829347040] [50bfb9e46b6933bc4d000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 16:17:24.957525 T [48205:70279829347040] [50bfb9e46b6933bc4d000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H- +2012-12-05 16:17:24.957569 D [48205:70279829347040] [50bfb9e46b6933bc4d000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-05 16:17:24.958467 T [48205:70279829347040] [50bfb9e46b6933bc4d000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\xF9" +2012-12-05 16:17:24.958479 D [48205:70279829347040] [50bfb9e46b6933bc4d000001] (0.9ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 16:17:24.958568 T [48205:70279829347040] [50bfb9e46b6933bc4d000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xBA-*+/services/TestService/1/Test/127.0.0.1/20002\xC2\x01{\"Config\":{\"UUID\":\"3978b371-15e9-40f8-9b7b-59ae88d8c7ec\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"127.0.0.1\",\"Port\":2000,\"MaxPort\":2999}},\"Registered\":true}" +2012-12-05 16:17:24.958575 D [48205:70279829347040] [50bfb9e46b6933bc4d000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 249 bytes +2012-12-05 16:17:24.958851 T [48205:70279829347040] [50bfb9e46b6933bc4d000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H- +2012-12-05 16:17:24.958892 D [48205:70279829347040] [50bfb9e46b6933bc4d000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-05 16:17:24.959539 T [48205:70279829347040] [50bfb9e46b6933bc4d000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 16:17:24.959569 D [48205:70279829347040] [50bfb9e46b6933bc4d000001] (0.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 16:17:24.959636 T [48205:70279829347040] [50bfb9e46b6933bc4d000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\xA0\x06\b" +2012-12-05 16:17:24.959643 D [48205:70279829347040] [50bfb9e46b6933bc4d000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 16:17:24.959814 D [48205:70279829347040] [50bfb9e46b6933bc4d000001] RubySkynet::Registry -- #start_monitoring Add Service: TestService/1/Test => 127.0.0.1:2000 +2012-12-05 16:17:24.959851 D [48205:70279829347040] [50bfb9e46b6933bc4d000001] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fd698a94388>(70279830479300) self=connections=70279830479300 checked_out= with_map= +2012-12-05 16:17:24.960634 I [48205:70279839379340] RubySkynet::Registry -- Start monitoring /services/*/*/*/*/* +2012-12-05 16:17:24.960677 T [48205:70279839379340] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007fd699a04520@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 16:17:24.961343 T [48205:70279839379340] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H- +2012-12-05 16:17:24.961387 D [48205:70279839379340] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 16:17:24.962114 D [48205:70279829347040] [50bfb9e46b6933bc4d000001] RubySkynet::Connection: 127.0.0.1:2000 -- Waiting for Service Handshake +2012-12-05 16:17:24.963123 D [48205:70279830097080] SimpleServer -- Waiting for a client to connect +2012-12-05 16:17:24.963224 D [48205:70279830097080] SimpleServer -- Client connected, waiting for data from client +2012-12-05 16:17:24.963822 T [48205:70279829347040] [50bfb9e46b6933bc4d000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "$\x00\x00\x00" +2012-12-05 16:17:24.963835 D [48205:70279829347040] [50bfb9e46b6933bc4d000001] (1.1ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes +2012-12-05 16:17:24.963887 T [48205:70279829347040] [50bfb9e46b6933bc4d000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "\bregistered\x00\x01\x02clientid\x00\x04\x00\x00\x00123\x00\x00" +2012-12-05 16:17:24.963893 D [48205:70279829347040] [50bfb9e46b6933bc4d000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 32 bytes +2012-12-05 16:17:24.963937 T [48205:70279829347040] [50bfb9e46b6933bc4d000001] RubySkynet::Connection: 127.0.0.1:2000 -- Service Handshake -- {"registered"=>true, "clientid"=>"123"} +2012-12-05 16:17:24.963949 D [48205:70279829347040] [50bfb9e46b6933bc4d000001] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Client Handshake +2012-12-05 16:17:24.963955 T [48205:70279829347040] [50bfb9e46b6933bc4d000001] RubySkynet::Connection: 127.0.0.1:2000 -- Client Handshake -- {"clientid"=>"123"} +2012-12-05 16:17:24.963971 T [48205:70279829347040] [50bfb9e46b6933bc4d000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- clientid123 +2012-12-05 16:17:24.964043 D [48205:70279829347040] [50bfb9e46b6933bc4d000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 23 bytes +2012-12-05 16:17:24.964102 D [48205:70279829347040] [50bfb9e46b6933bc4d000001] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Header +2012-12-05 16:17:24.964111 T [48205:70279829347040] [50bfb9e46b6933bc4d000001] RubySkynet::Connection: 127.0.0.1:2000 -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 16:17:24.964132 T [48205:70279829347040] [50bfb9e46b6933bc4d000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- 5servicemethodTestService.Forwardseq +2012-12-05 16:17:24.964175 D [48205:70279829347040] [50bfb9e46b6933bc4d000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 53 bytes +2012-12-05 16:17:24.964208 D [48205:70279829347040] [50bfb9e46b6933bc4d000001] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Request +2012-12-05 16:17:24.964215 T [48205:70279829347040] [50bfb9e46b6933bc4d000001] RubySkynet::Connection: 127.0.0.1:2000 -- Request -- {"clientid"=>"123", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"test1", "requestinfo"=>{"requestid"=>"50bfb9e46b6933bc4d000001", "retrycount"=>0, "originaddress"=>""}} +2012-12-05 16:17:24.964220 T [48205:70279829347040] [50bfb9e46b6933bc4d000001] RubySkynet::Connection: 127.0.0.1:2000 -- Parameters: -- {"some"=>"parameters"} +2012-12-05 16:17:24.964237 T [48205:70279829347040] [50bfb9e46b6933bc4d000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- clientid123insome parametersmethodtest1requestinfoQrequestid50bfb9e46b6933bc4d000001retrycountoriginaddress +2012-12-05 16:17:24.964277 D [48205:70279829347040] [50bfb9e46b6933bc4d000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 170 bytes +2012-12-05 16:17:24.964290 D [48205:70279829347040] [50bfb9e46b6933bc4d000001] RubySkynet::Connection: 127.0.0.1:2000 -- Reading header from server +2012-12-05 16:17:24.965920 D [48205:70279830097080] SimpleServer -- +****************** +2012-12-05 16:17:24.965928 D [48205:70279830097080] SimpleServer -- Received Request +2012-12-05 16:17:24.965934 T [48205:70279830097080] SimpleServer -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 16:17:24.966013 T [48205:70279830097080] SimpleServer -- Request -- {"clientid"=>"123", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"test1", "requestinfo"=>{"requestid"=>"50bfb9e46b6933bc4d000001", "retrycount"=>0, "originaddress"=>""}} +2012-12-05 16:17:24.966034 D [48205:70279830097080] SimpleServer -- Sending Header +2012-12-05 16:17:24.966085 D [48205:70279830097080] SimpleServer -- Sending Reply +2012-12-05 16:17:24.966092 T [48205:70279830097080] SimpleServer -- Reply -- {"result"=>"test1"} +2012-12-05 16:17:24.967006 T [48205:70279829347040] [50bfb9e46b6933bc4d000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "5\x00\x00\x00" +2012-12-05 16:17:24.967019 D [48205:70279829347040] [50bfb9e46b6933bc4d000001] (2.7ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes +2012-12-05 16:17:24.967069 T [48205:70279829347040] [50bfb9e46b6933bc4d000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "\x02servicemethod\x00\x14\x00\x00\x00TestService.Forward\x00\x10seq\x00\x00\x00\x00\x00\x00" +2012-12-05 16:17:24.967075 D [48205:70279829347040] [50bfb9e46b6933bc4d000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 49 bytes +2012-12-05 16:17:24.967106 D [48205:70279829347040] [50bfb9e46b6933bc4d000001] RubySkynet::Connection: 127.0.0.1:2000 -- Response Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 16:17:24.967112 D [48205:70279829347040] [50bfb9e46b6933bc4d000001] RubySkynet::Connection: 127.0.0.1:2000 -- Reading response from server +2012-12-05 16:17:24.967151 T [48205:70279829347040] [50bfb9e46b6933bc4d000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "&\x00\x00\x00" +2012-12-05 16:17:24.967157 D [48205:70279829347040] [50bfb9e46b6933bc4d000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes +2012-12-05 16:17:24.967200 T [48205:70279829347040] [50bfb9e46b6933bc4d000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "\x02out\x00\x18\x00\x00\x00\x17\x00\x00\x00\x02result\x00\x06\x00\x00\x00test1\x00\x00\x00\x00" +2012-12-05 16:17:24.967206 D [48205:70279829347040] [50bfb9e46b6933bc4d000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 34 bytes +2012-12-05 16:17:24.967231 T [48205:70279829347040] [50bfb9e46b6933bc4d000001] RubySkynet::Connection: 127.0.0.1:2000 -- Response -- {"out"=>"\x17\x00\x00\x00\x02result\x00\x06\x00\x00\x00test1\x00\x00"} +2012-12-05 16:17:24.967252 T [48205:70279829347040] [50bfb9e46b6933bc4d000001] RubySkynet::Connection: 127.0.0.1:2000 -- Return Value -- {"result"=>"test1"} +2012-12-05 16:17:24.967273 I [48205:70279829347040] [50bfb9e46b6933bc4d000001] (15.1ms) RubySkynet::Client: TestService/1/Test -- Called Skynet Service: TestService.test1 +2012-12-05 16:17:24.968718 D [48205:70279829347040] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fd698a94388>(70279830479300) self=connections=70279830479300 checked_out=70279830479300 with_map= +2012-12-05 16:17:24.969020 T [48205:70279829347040] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- <"+/services/TestService/1/Test/127.0.0.1/2000H +2012-12-05 16:17:24.969066 D [48205:70279829347040] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 64 bytes +2012-12-05 16:17:24.970367 T [48205:70279839379340] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x006" +2012-12-05 16:17:24.970393 D [48205:70279839379340] (9.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 16:17:24.970774 T [48205:70279829347040] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 16:17:24.970802 D [48205:70279829347040] (1.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 16:17:24.971453 T [48205:70279839379340] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\b\x18\xBB-*+/services/TestService/1/Test/127.0.0.1/20002\x00" +2012-12-05 16:17:24.971465 D [48205:70279839379340] (1.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 54 bytes +2012-12-05 16:17:24.971652 D [48205:70279839379340] RubySkynet::Registry -- #monitor Service stopped, remove: TestService/1/Test => 127.0.0.1:2000 +2012-12-05 16:17:24.971679 I [48205:70279839379340] RubySkynet::Registry -- Calling callback for server: 127.0.0.1:2000 +2012-12-05 16:17:24.971796 D [48205:70279839379340] RubySkynet::Connection -- Connection pool for server:127.0.0.1:2000 has been released +2012-12-05 16:17:24.971808 D [48205:70279839379340] RubySkynet::Registry -- Updated registry -- {} +2012-12-05 16:17:24.972276 T [48205:70279839379340] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H- +2012-12-05 16:17:24.972343 D [48205:70279839379340] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 16:17:24.973357 T [48205:70279829347040] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00" +2012-12-05 16:17:24.973368 D [48205:70279829347040] (2.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 2 bytes +2012-12-05 16:17:24.973436 D [48205:70279829347040] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fd698a94388>(70279830479300) self=connections=70279830479300 checked_out= with_map= +2012-12-05 16:17:24.974281 D [48205:70279830134380] SimpleServer -- Waiting for a client to connect +2012-12-05 16:17:24.974511 D [48205:70279829347040] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fd698a94388>(70279830479300) self=connections=70279830479300 checked_out=70279830479300 with_map= +2012-12-05 16:17:24.974867 T [48205:70279829347040] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "+/services/TestService/1/Test/127.0.0.1/2000*{"Config":{"UUID":"3978b371-15e9-40f8-9b7b-59ae88d8c7ec","Name":"TestService","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"127.0.0.1","Port":2000,"MaxPort":2999}},"Registered":true}H +2012-12-05 16:17:24.975173 D [48205:70279829347040] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 261 bytes +2012-12-05 16:17:24.976627 T [48205:70279839379340] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\xF9" +2012-12-05 16:17:24.976639 D [48205:70279839379340] (4.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 16:17:24.977000 T [48205:70279839379340] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xBC-*+/services/TestService/1/Test/127.0.0.1/20002\xC2\x01{\"Config\":{\"UUID\":\"3978b371-15e9-40f8-9b7b-59ae88d8c7ec\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"127.0.0.1\",\"Port\":2000,\"MaxPort\":2999}},\"Registered\":true}" +2012-12-05 16:17:24.977011 D [48205:70279839379340] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 249 bytes +2012-12-05 16:17:24.977228 D [48205:70279839379340] RubySkynet::Registry -- #monitor Add/Update Service: TestService/1/Test => 127.0.0.1:2000 +2012-12-05 16:17:24.977240 D [48205:70279839379340] RubySkynet::Registry -- Updated registry -- {"TestService/1/Test"=>["127.0.0.1:2000"]} +2012-12-05 16:17:24.977433 T [48205:70279839379340] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H- +2012-12-05 16:17:24.978620 D [48205:70279839379340] (1.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 16:17:24.979131 T [48205:70279829347040] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 16:17:24.979171 D [48205:70279829347040] (4.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 16:17:24.979411 T [48205:70279829347040] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xBC-" +2012-12-05 16:17:24.979422 D [48205:70279829347040] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 16:17:24.979509 D [48205:70279829347040] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fd698a94388>(70279830479300) self=connections=70279830479300 checked_out= with_map= +2012-12-05 16:17:24.980517 D [48205:70279829347040] [50bfb9e46b6933bc4d000002] RubySkynet::Connection: 127.0.0.1:2000 -- Waiting for Service Handshake +2012-12-05 16:17:24.980708 D [48205:70279830134380] SimpleServer -- Waiting for a client to connect +2012-12-05 16:17:24.980793 D [48205:70279830134380] SimpleServer -- Client connected, waiting for data from client +2012-12-05 16:17:24.981958 T [48205:70279829347040] [50bfb9e46b6933bc4d000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "$\x00\x00\x00" +2012-12-05 16:17:24.981968 D [48205:70279829347040] [50bfb9e46b6933bc4d000002] (1.4ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes +2012-12-05 16:17:24.982283 T [48205:70279829347040] [50bfb9e46b6933bc4d000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "\bregistered\x00\x01\x02clientid\x00\x04\x00\x00\x00123\x00\x00" +2012-12-05 16:17:24.982294 D [48205:70279829347040] [50bfb9e46b6933bc4d000002] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 32 bytes +2012-12-05 16:17:24.982331 T [48205:70279829347040] [50bfb9e46b6933bc4d000002] RubySkynet::Connection: 127.0.0.1:2000 -- Service Handshake -- {"registered"=>true, "clientid"=>"123"} +2012-12-05 16:17:24.982343 D [48205:70279829347040] [50bfb9e46b6933bc4d000002] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Client Handshake +2012-12-05 16:17:24.982349 T [48205:70279829347040] [50bfb9e46b6933bc4d000002] RubySkynet::Connection: 127.0.0.1:2000 -- Client Handshake -- {"clientid"=>"123"} +2012-12-05 16:17:24.982365 T [48205:70279829347040] [50bfb9e46b6933bc4d000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- clientid123 +2012-12-05 16:17:24.982827 D [48205:70279829347040] [50bfb9e46b6933bc4d000002] (0.5ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 23 bytes +2012-12-05 16:17:24.982901 D [48205:70279829347040] [50bfb9e46b6933bc4d000002] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Header +2012-12-05 16:17:24.982911 T [48205:70279829347040] [50bfb9e46b6933bc4d000002] RubySkynet::Connection: 127.0.0.1:2000 -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 16:17:24.982940 T [48205:70279829347040] [50bfb9e46b6933bc4d000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- 5servicemethodTestService.Forwardseq +2012-12-05 16:17:24.983819 D [48205:70279830134380] SimpleServer -- +****************** +2012-12-05 16:17:24.983832 D [48205:70279830134380] SimpleServer -- Received Request +2012-12-05 16:17:24.983839 T [48205:70279830134380] SimpleServer -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 16:17:24.984206 D [48205:70279829347040] [50bfb9e46b6933bc4d000002] (1.3ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 53 bytes +2012-12-05 16:17:24.984277 D [48205:70279829347040] [50bfb9e46b6933bc4d000002] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Request +2012-12-05 16:17:24.984285 T [48205:70279829347040] [50bfb9e46b6933bc4d000002] RubySkynet::Connection: 127.0.0.1:2000 -- Request -- {"clientid"=>"123", "in"=>"\x17\x00\x00\x00\x01duration\x00\x00\x00\x00\x00\x00\x00\f@\x00", "method"=>"sleep", "requestinfo"=>{"requestid"=>"50bfb9e46b6933bc4d000002", "retrycount"=>0, "originaddress"=>""}} +2012-12-05 16:17:24.984291 T [48205:70279829347040] [50bfb9e46b6933bc4d000002] RubySkynet::Connection: 127.0.0.1:2000 -- Parameters: -- {"duration"=>3.5} +2012-12-05 16:17:24.984308 T [48205:70279829347040] [50bfb9e46b6933bc4d000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- clientid123induration @methodsleeprequestinfoQrequestid50bfb9e46b6933bc4d000002retrycountoriginaddress +2012-12-05 16:17:24.984852 T [48205:70279830134380] SimpleServer -- Request -- {"clientid"=>"123", "in"=>"\x17\x00\x00\x00\x01duration\x00\x00\x00\x00\x00\x00\x00\f@\x00", "method"=>"sleep", "requestinfo"=>{"requestid"=>"50bfb9e46b6933bc4d000002", "retrycount"=>0, "originaddress"=>""}} +2012-12-05 16:17:24.985137 D [48205:70279829347040] [50bfb9e46b6933bc4d000002] (0.8ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 167 bytes +2012-12-05 16:17:24.985155 D [48205:70279829347040] [50bfb9e46b6933bc4d000002] RubySkynet::Connection: 127.0.0.1:2000 -- Reading header from server +2012-12-05 16:17:27.984884 W [48205:70279829347040] [50bfb9e46b6933bc4d000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read Timeout waiting for server to reply +2012-12-05 16:17:27.985041 D [48205:70279829347040] [50bfb9e46b6933bc4d000002] (2999.9ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes -- ResilientSocket::ReadTimeout: Timedout after 3.0 seconds trying to read from 127.0.0.1:2000 +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:392:in `block in read' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_debug' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:374:in `read' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/common.rb:10:in `read_bson_document' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:178:in `rpc_call' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:65:in `block (3 levels) in call' /Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/gene_pool-1.3.0/lib/gene_pool.rb:134:in `with_connection' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:213:in `with_connection' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:66:in `block (2 levels) in call' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.7.0/lib/semantic_logger/base.rb:181:in `benchmark_info' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:62:in `block in call' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.7.0/lib/semantic_logger/base.rb:161:in `with_tags' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:61:in `call' -/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_client_test.rb:84:in `block (5 levels) in <class:RubySkynetClientTest>' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:214:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:64:in `block (2 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_info' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:60:in `block in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:126:in `with_tags' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:59:in `call' +/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_client_test.rb:87:in `block (5 levels) in <class:RubySkynetClientTest>' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:330:in `assert_raises' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/assertions.rb:69:in `assert_raise' -/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_client_test.rb:82:in `block (4 levels) in <class:RubySkynetClientTest>' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.0/lib/shoulda/context/context.rb:398:in `call' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.0/lib/shoulda/context/context.rb:398:in `block in create_test_from_should_hash' -/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:949:in `run' +/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_client_test.rb:85:in `block (4 levels) in <class:RubySkynetClientTest>' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `block in create_test_from_should_hash' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/mocha-0.10.5/lib/mocha/integration/mini_test/version_230_to_262.rb:28:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/testcase.rb:17:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:787:in `block in _run_suite' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `map' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `_run_suite' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:565:in `block in _run_suites' @@ -6432,31 +13350,31 @@ /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:884:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:21:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:326:in `block (2 levels) in autorun' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:27:in `run_once' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:325:in `block in autorun' -2012-10-18 16:32:47.237846 I [1349:70172945898200] [5080676c6b69330545000002] (3017.5ms) RubySkynet::Client: TestService/1/Test -- Called Skynet Service: TestService.sleep -- ResilientSocket::ReadTimeout: Timedout after 3.0 seconds trying to read from 127.0.0.1:2000 -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:391:in `block in read' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.7.0/lib/semantic_logger/base.rb:181:in `benchmark_debug' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:373:in `read' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:229:in `read_bson_document' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:177:in `rpc_call' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:67:in `block (3 levels) in call' +2012-12-05 16:17:27.985093 I [48205:70279829347040] [50bfb9e46b6933bc4d000002] (3005.5ms) RubySkynet::Client: TestService/1/Test -- Called Skynet Service: TestService.sleep -- ResilientSocket::ReadTimeout: Timedout after 3.0 seconds trying to read from 127.0.0.1:2000 +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:392:in `block in read' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_debug' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:374:in `read' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/common.rb:10:in `read_bson_document' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:178:in `rpc_call' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:65:in `block (3 levels) in call' /Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/gene_pool-1.3.0/lib/gene_pool.rb:134:in `with_connection' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:213:in `with_connection' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:66:in `block (2 levels) in call' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.7.0/lib/semantic_logger/base.rb:181:in `benchmark_info' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:62:in `block in call' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.7.0/lib/semantic_logger/base.rb:161:in `with_tags' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:61:in `call' -/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_client_test.rb:84:in `block (5 levels) in <class:RubySkynetClientTest>' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:214:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:64:in `block (2 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_info' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:60:in `block in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:126:in `with_tags' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:59:in `call' +/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_client_test.rb:87:in `block (5 levels) in <class:RubySkynetClientTest>' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:330:in `assert_raises' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/assertions.rb:69:in `assert_raise' -/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_client_test.rb:82:in `block (4 levels) in <class:RubySkynetClientTest>' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.0/lib/shoulda/context/context.rb:398:in `call' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.0/lib/shoulda/context/context.rb:398:in `block in create_test_from_should_hash' -/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:949:in `run' +/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_client_test.rb:85:in `block (4 levels) in <class:RubySkynetClientTest>' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `block in create_test_from_should_hash' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/mocha-0.10.5/lib/mocha/integration/mini_test/version_230_to_262.rb:28:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/testcase.rb:17:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:787:in `block in _run_suite' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `map' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `_run_suite' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:565:in `block in _run_suites' @@ -6469,31 +13387,36 @@ /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:895:in `_run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:884:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:21:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:326:in `block (2 levels) in autorun' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:27:in `run_once' -/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:325:in `block in autorun' -- ResilientSocket::ReadTimeout: Timedout after 3.0 seconds trying to read from 127.0.0.1:2000 -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:391:in `block in read' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.7.0/lib/semantic_logger/base.rb:181:in `benchmark_debug' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.3.0/lib/resilient_socket/tcp_client.rb:373:in `read' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:229:in `read_bson_document' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:177:in `rpc_call' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:67:in `block (3 levels) in call' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/gene_pool-1.3.0/lib/gene_pool.rb:134:in `with_connection' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:213:in `with_connection' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:66:in `block (2 levels) in call' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.7.0/lib/semantic_logger/base.rb:181:in `benchmark_info' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:62:in `block in call' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.7.0/lib/semantic_logger/base.rb:161:in `with_tags' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:61:in `call' -/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_client_test.rb:84:in `block (5 levels) in <class:RubySkynetClientTest>' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:325:in `block in autorun' +2012-12-05 16:17:27.986974 D [48205:70279829347040] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fd698a94388>(70279830479300) self=connections=70279830479300 checked_out=70279830479300 with_map= +2012-12-05 16:17:27.987393 T [48205:70279829347040] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- <"+/services/TestService/1/Test/127.0.0.1/2000H +2012-12-05 16:17:27.987494 D [48205:70279829347040] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 64 bytes +2012-12-05 16:17:27.989533 T [48205:70279839379340] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x006" +2012-12-05 16:17:27.989546 D [48205:70279839379340] (3010.9ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 16:17:27.990222 T [48205:70279829347040] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 16:17:27.990247 D [48205:70279829347040] (2.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 16:17:27.990307 T [48205:70279829347040] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00" +2012-12-05 16:17:27.990313 D [48205:70279829347040] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 2 bytes +2012-12-05 16:17:27.990411 D [48205:70279829347040] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fd698a94388>(70279830479300) self=connections=70279830479300 checked_out= with_map= +2012-12-05 16:17:27.990812 W [48205:70279829347040] [50bfb9e76b6933bc4d000003] RubySkynet::Registry -- No servers available for service: SomeService with version: * in region: Development +2012-12-05 16:17:27.990894 I [48205:70279829347040] [50bfb9e76b6933bc4d000003] (0.2ms) RubySkynet::Client: SomeService/*/Development -- Called Skynet Service: SomeService.test -- RubySkynet::ServiceUnavailable: No servers available for service: SomeService with version: * in region: Development +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/registry.rb:92:in `server_for' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:64:in `block (2 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_info' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:60:in `block in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:126:in `with_tags' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:59:in `call' +/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_client_test.rb:26:in `block (4 levels) in <class:RubySkynetClientTest>' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:330:in `assert_raises' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/assertions.rb:69:in `assert_raise' -/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_client_test.rb:82:in `block (4 levels) in <class:RubySkynetClientTest>' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.0/lib/shoulda/context/context.rb:398:in `call' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.0/lib/shoulda/context/context.rb:398:in `block in create_test_from_should_hash' -/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:949:in `run' +/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_client_test.rb:24:in `block (3 levels) in <class:RubySkynetClientTest>' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `block in create_test_from_should_hash' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/mocha-0.10.5/lib/mocha/integration/mini_test/version_230_to_262.rb:28:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/testcase.rb:17:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:787:in `block in _run_suite' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `map' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `_run_suite' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:565:in `block in _run_suites' @@ -6507,62 +13430,279 @@ /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:884:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:21:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:326:in `block (2 levels) in autorun' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:27:in `run_once' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:325:in `block in autorun' -2012-10-18 16:32:47.238577 D [1349:70172945898200] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fa4d3224348>(70172946801060) self=connections=70172946801060 checked_out=70172946801060 with_map= -2012-10-18 16:32:47.238577 D [1349:70172945898200] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fa4d3224348>(70172946801060) self=connections=70172946801060 checked_out=70172946801060 with_map= -2012-10-18 16:32:47.238904 T [1349:70172945898200] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- <"+/services/TestService/1/Test/127.0.0.1/2000H -2012-10-18 16:32:47.238904 T [1349:70172945898200] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- <"+/services/TestService/1/Test/127.0.0.1/2000H -- <"+/services/TestService/1/Test/127.0.0.1/2000H -2012-10-18 16:32:47.239642 D [1349:70172945898200] (0.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 64 bytes -2012-10-18 16:32:47.239642 D [1349:70172945898200] (0.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 64 bytes -2012-10-18 16:32:47.240958 T [1349:70172946982200] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x007" -2012-10-18 16:32:47.240958 T [1349:70172946982200] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x007" -- "\x00\x00\x007" -2012-10-18 16:32:47.240976 D [1349:70172946982200] (3021.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:32:47.240976 D [1349:70172946982200] (3021.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:32:47.241461 T [1349:70172945898200] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x02" -2012-10-18 16:32:47.241461 T [1349:70172945898200] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x02" -- "\x00\x00\x00\x02" -2012-10-18 16:32:47.241477 D [1349:70172945898200] (1.8ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:32:47.241477 D [1349:70172945898200] (1.8ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes -2012-10-18 16:32:47.251492 T [1349:70172946982200] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\b\x18\x8B\xD5\x03*+/services/TestService/1/Test/127.0.0.1/20002\x00" -2012-10-18 16:32:47.251492 T [1349:70172946982200] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\b\x18\x8B\xD5\x03*+/services/TestService/1/Test/127.0.0.1/20002\x00" -- "\b\x00\x10\b\x18\x8B\xD5\x03*+/services/TestService/1/Test/127.0.0.1/20002\x00" -2012-10-18 16:32:47.251547 D [1349:70172946982200] (10.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 55 bytes -2012-10-18 16:32:47.251547 D [1349:70172946982200] (10.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 55 bytes -2012-10-18 16:32:47.251758 D [1349:70172946982200] RubySkynet::Registry -- #monitor Service stopped, remove: TestService/1/Test => 127.0.0.1:2000 -2012-10-18 16:32:47.251758 D [1349:70172946982200] RubySkynet::Registry -- #monitor Service stopped, remove: TestService/1/Test => 127.0.0.1:2000 -2012-10-18 16:32:47.251792 I [1349:70172946982200] RubySkynet::Registry -- Calling callback for server: 127.0.0.1:2000 -2012-10-18 16:32:47.251792 I [1349:70172946982200] RubySkynet::Registry -- Calling callback for server: 127.0.0.1:2000 -2012-10-18 16:32:47.251854 D [1349:70172946982200] RubySkynet::Connection -- Connection pool for server:127.0.0.1:2000 has been released -2012-10-18 16:32:47.251854 D [1349:70172946982200] RubySkynet::Connection -- Connection pool for server:127.0.0.1:2000 has been released -2012-10-18 16:32:47.251867 D [1349:70172946982200] RubySkynet::Registry -- Updated registry -- {"TutorialService/1/Development"=>["127.0.0.1:9000"]} -2012-10-18 16:32:47.251867 D [1349:70172946982200] RubySkynet::Registry -- Updated registry -- {"TutorialService/1/Development"=>["127.0.0.1:9000"]} -- {"TutorialService/1/Development"=>["127.0.0.1:9000"]} -2012-10-18 16:32:47.252166 T [1349:70172946982200] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H -2012-10-18 16:32:47.252166 T [1349:70172946982200] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H -- "/services/*/*/*/*/*H -2012-10-18 16:32:47.252349 D [1349:70172946982200] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 33 bytes -2012-10-18 16:32:47.252349 D [1349:70172946982200] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 33 bytes -2012-10-18 16:32:47.255929 T [1349:70172945898200] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00" -2012-10-18 16:32:47.255929 T [1349:70172945898200] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00" -- "\b\x00" -2012-10-18 16:32:47.255961 D [1349:70172945898200] (14.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 2 bytes -2012-10-18 16:32:47.255961 D [1349:70172945898200] (14.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 2 bytes -2012-10-18 16:32:47.256110 D [1349:70172945898200] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fa4d3224348>(70172946801060) self=connections=70172946801060 checked_out= with_map= -2012-10-18 16:32:47.256110 D [1349:70172945898200] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fa4d3224348>(70172946801060) self=connections=70172946801060 checked_out= with_map= -2012-10-18 16:32:47.259120 W [1349:70172945898200] [5080676f6b69330545000003] RubySkynet::Registry -- No servers available for service: SomeService with version: * in region: Development -2012-10-18 16:32:47.259120 W [1349:70172945898200] [5080676f6b69330545000003] RubySkynet::Registry -- No servers available for service: SomeService with version: * in region: Development -2012-10-18 16:32:47.259255 I [1349:70172945898200] [5080676f6b69330545000003] (2.2ms) RubySkynet::Client: SomeService/*/Development -- Called Skynet Service: SomeService.test -- RubySkynet::ServiceUnavailable: No servers available for service: SomeService with version: * in region: Development -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/registry.rb:92:in `server_for' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:66:in `block (2 levels) in call' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.7.0/lib/semantic_logger/base.rb:181:in `benchmark_info' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:62:in `block in call' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.7.0/lib/semantic_logger/base.rb:161:in `with_tags' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:61:in `call' -/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_client_test.rb:23:in `block (4 levels) in <class:RubySkynetClientTest>' +2012-12-05 16:17:27.992590 T [48205:70279839379340] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\b\x18\xC0-*+/services/TestService/1/Test/127.0.0.1/20002\x00" +2012-12-05 16:17:27.992601 D [48205:70279839379340] (3.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 54 bytes +2012-12-05 16:17:27.992882 D [48205:70279839379340] RubySkynet::Registry -- #monitor Service stopped, remove: TestService/1/Test => 127.0.0.1:2000 +2012-12-05 16:17:27.992908 I [48205:70279839379340] RubySkynet::Registry -- Calling callback for server: 127.0.0.1:2000 +2012-12-05 16:17:27.992959 D [48205:70279839379340] RubySkynet::Connection -- Connection pool for server:127.0.0.1:2000 has been released +2012-12-05 16:17:27.992971 D [48205:70279839379340] RubySkynet::Registry -- Updated registry -- {} +2012-12-05 16:17:27.993234 T [48205:70279839379340] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H- +2012-12-05 16:17:27.993388 D [48205:70279839379340] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 16:17:27.995682 D [48205:70279830123560] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fd698a94388>(70279830479300) self=connections=70279830479300 checked_out=70279830479300 with_map= +2012-12-05 16:17:27.995988 T [48205:70279830123560] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "+/services/TestService/1/Test/localhost/2100*{"Config":{"UUID":"localhost:2100-48205-TestService-70279839281740","Name":"TestService","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"localhost","Port":2100,"MaxPort":3099}},"Registered":true}H +2012-12-05 16:17:27.996034 D [48205:70279830123560] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 272 bytes +2012-12-05 16:17:27.998462 T [48205:70279830123560] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 16:17:27.998478 D [48205:70279830123560] (2.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 16:17:27.999066 T [48205:70279839379340] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01\x04" +2012-12-05 16:17:27.999077 D [48205:70279839379340] (5.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 16:17:27.999379 T [48205:70279839379340] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xC1-*+/services/TestService/1/Test/localhost/21002\xCD\x01{\"Config\":{\"UUID\":\"localhost:2100-48205-TestService-70279839281740\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-05 16:17:27.999390 D [48205:70279839379340] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 260 bytes +2012-12-05 16:17:27.999600 D [48205:70279839379340] RubySkynet::Registry -- #monitor Add/Update Service: TestService/1/Test => localhost:2100 +2012-12-05 16:17:27.999612 D [48205:70279839379340] RubySkynet::Registry -- Updated registry -- {"TestService/1/Test"=>["localhost:2100"]} +2012-12-05 16:17:27.999818 T [48205:70279839379340] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H- +2012-12-05 16:17:27.999884 D [48205:70279839379340] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 16:17:28.001730 T [48205:70279830123560] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xC1-" +2012-12-05 16:17:28.001925 D [48205:70279830123560] (3.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 16:17:28.002264 D [48205:70279830123560] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fd698a94388>(70279830479300) self=connections=70279830479300 checked_out= with_map= +2012-12-05 16:17:28.002745 I [48205:70279830123560] RubySkynet::Server -- Starting listener on localhost:2100 +2012-12-05 16:17:28.002822 D [48205:70279830123560] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 16:17:28.004273 D [48205:70279829347040] [50bfb9e86b6933bc4d000004] RubySkynet::Connection: localhost:2100 -- Waiting for Service Handshake +2012-12-05 16:17:28.004464 D [48205:70279830123560] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 16:17:28.004542 D [48205:70279830123560] RubySkynet::Server -- Client connected, waiting for data from client +2012-12-05 16:17:28.004870 T [48205:70279829347040] [50bfb9e86b6933bc4d000004] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "9\x00\x00\x00" +2012-12-05 16:17:28.004878 D [48205:70279829347040] [50bfb9e86b6933bc4d000004] (0.6ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 4 bytes +2012-12-05 16:17:28.004930 T [48205:70279829347040] [50bfb9e86b6933bc4d000004] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "\bregistered\x00\x01\x02clientid\x00\x19\x00\x00\x0050bfb9e86b6933bc4d000005\x00\x00" +2012-12-05 16:17:28.004936 D [48205:70279829347040] [50bfb9e86b6933bc4d000004] (0.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 53 bytes +2012-12-05 16:17:28.004974 T [48205:70279829347040] [50bfb9e86b6933bc4d000004] RubySkynet::Connection: localhost:2100 -- Service Handshake -- {"registered"=>true, "clientid"=>"50bfb9e86b6933bc4d000005"} +2012-12-05 16:17:28.004985 D [48205:70279829347040] [50bfb9e86b6933bc4d000004] RubySkynet::Connection: localhost:2100 -- Sending Client Handshake +2012-12-05 16:17:28.004990 T [48205:70279829347040] [50bfb9e86b6933bc4d000004] RubySkynet::Connection: localhost:2100 -- Client Handshake -- {"clientid"=>"50bfb9e86b6933bc4d000005"} +2012-12-05 16:17:28.005006 T [48205:70279829347040] [50bfb9e86b6933bc4d000004] ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sending -- ,clientid50bfb9e86b6933bc4d000005 +2012-12-05 16:17:28.005047 D [48205:70279829347040] [50bfb9e86b6933bc4d000004] (0.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sent 44 bytes +2012-12-05 16:17:28.005107 D [48205:70279829347040] [50bfb9e86b6933bc4d000004] RubySkynet::Connection: localhost:2100 -- Sending Header +2012-12-05 16:17:28.005116 T [48205:70279829347040] [50bfb9e86b6933bc4d000004] RubySkynet::Connection: localhost:2100 -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 16:17:28.005137 T [48205:70279829347040] [50bfb9e86b6933bc4d000004] ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sending -- 5servicemethodTestService.Forwardseq +2012-12-05 16:17:28.005179 D [48205:70279829347040] [50bfb9e86b6933bc4d000004] (0.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sent 53 bytes +2012-12-05 16:17:28.005210 D [48205:70279829347040] [50bfb9e86b6933bc4d000004] RubySkynet::Connection: localhost:2100 -- Sending Request +2012-12-05 16:17:28.005218 T [48205:70279829347040] [50bfb9e86b6933bc4d000004] RubySkynet::Connection: localhost:2100 -- Request -- {"clientid"=>"50bfb9e86b6933bc4d000005", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"echo", "requestinfo"=>{"requestid"=>"50bfb9e86b6933bc4d000004", "retrycount"=>0, "originaddress"=>""}} +2012-12-05 16:17:28.005223 T [48205:70279829347040] [50bfb9e86b6933bc4d000004] RubySkynet::Connection: localhost:2100 -- Parameters: -- {"some"=>"parameters"} +2012-12-05 16:17:28.005239 T [48205:70279829347040] [50bfb9e86b6933bc4d000004] ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sending -- clientid50bfb9e86b6933bc4d000005insome parametersmethodechorequestinfoQrequestid50bfb9e86b6933bc4d000004retrycountoriginaddress +2012-12-05 16:17:28.005280 D [48205:70279829347040] [50bfb9e86b6933bc4d000004] (0.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sent 190 bytes +2012-12-05 16:17:28.005293 D [48205:70279829347040] [50bfb9e86b6933bc4d000004] RubySkynet::Connection: localhost:2100 -- Reading header from server +2012-12-05 16:17:28.007313 D [48205:70279830123560] RubySkynet::Server -- +****************** +2012-12-05 16:17:28.007332 D [48205:70279830123560] RubySkynet::Server -- Received Request +2012-12-05 16:17:28.007345 T [48205:70279830123560] RubySkynet::Server -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 16:17:28.007597 T [48205:70279830123560] RubySkynet::Server -- Request -- {"clientid"=>"50bfb9e86b6933bc4d000005", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"echo", "requestinfo"=>{"requestid"=>"50bfb9e86b6933bc4d000004", "retrycount"=>0, "originaddress"=>""}} +2012-12-05 16:17:28.007621 T [48205:70279830123560] RubySkynet::Server -- Parameters -- {"some"=>"parameters"} +2012-12-05 16:17:28.007643 T [48205:70279830123560] RubySkynet::Server -- Method Call: echo with parameters: -- {"some"=>"parameters"} +2012-12-05 16:17:28.007656 D [48205:70279830123560] (0.0ms) RubySkynet::Server -- Called: TestService#echo +2012-12-05 16:17:28.007673 D [48205:70279830123560] RubySkynet::Server -- Sending Header +2012-12-05 16:17:28.007726 D [48205:70279830123560] RubySkynet::Server -- Sending Reply +2012-12-05 16:17:28.007737 T [48205:70279830123560] RubySkynet::Server -- Reply -- {"some"=>"parameters"} +2012-12-05 16:17:28.007996 T [48205:70279829347040] [50bfb9e86b6933bc4d000004] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "5\x00\x00\x00" +2012-12-05 16:17:28.008005 D [48205:70279829347040] [50bfb9e86b6933bc4d000004] (2.7ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 4 bytes +2012-12-05 16:17:28.008054 T [48205:70279829347040] [50bfb9e86b6933bc4d000004] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "\x02servicemethod\x00\x14\x00\x00\x00TestService.Forward\x00\x10seq\x00\x00\x00\x00\x00\x00" +2012-12-05 16:17:28.008060 D [48205:70279829347040] [50bfb9e86b6933bc4d000004] (0.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 49 bytes +2012-12-05 16:17:28.008090 D [48205:70279829347040] [50bfb9e86b6933bc4d000004] RubySkynet::Connection: localhost:2100 -- Response Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 16:17:28.008096 D [48205:70279829347040] [50bfb9e86b6933bc4d000004] RubySkynet::Connection: localhost:2100 -- Reading response from server +2012-12-05 16:17:28.008144 T [48205:70279829347040] [50bfb9e86b6933bc4d000004] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- ")\x00\x00\x00" +2012-12-05 16:17:28.008150 D [48205:70279829347040] [50bfb9e86b6933bc4d000004] (0.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 4 bytes +2012-12-05 16:17:28.008195 T [48205:70279829347040] [50bfb9e86b6933bc4d000004] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "\x02out\x00\e\x00\x00\x00\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00\x00\x00" +2012-12-05 16:17:28.008201 D [48205:70279829347040] [50bfb9e86b6933bc4d000004] (0.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 37 bytes +2012-12-05 16:17:28.008227 T [48205:70279829347040] [50bfb9e86b6933bc4d000004] RubySkynet::Connection: localhost:2100 -- Response -- {"out"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00"} +2012-12-05 16:17:28.008249 T [48205:70279829347040] [50bfb9e86b6933bc4d000004] RubySkynet::Connection: localhost:2100 -- Return Value -- {"some"=>"parameters"} +2012-12-05 16:17:28.008267 I [48205:70279829347040] [50bfb9e86b6933bc4d000004] (4.9ms) RubySkynet::Client: TestService/1/Test -- Called Skynet Service: TestService.echo +2012-12-05 16:17:28.008458 I [48205:70279830123560] RubySkynet::Server -- Skynet Server Stopped +2012-12-05 16:17:28.008533 D [48205:70279830123560] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fd698a94388>(70279830479300) self=connections=70279830479300 checked_out=70279830479300 with_map= +2012-12-05 16:17:28.008839 T [48205:70279830123560] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- <"+/services/TestService/1/Test/localhost/2100H +2012-12-05 16:17:28.008883 D [48205:70279830123560] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 64 bytes +2012-12-05 16:17:28.011032 T [48205:70279839379340] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x006" +2012-12-05 16:17:28.011045 D [48205:70279839379340] (11.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 16:17:28.011437 T [48205:70279830123560] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 16:17:28.011449 D [48205:70279830123560] (2.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 16:17:28.011548 T [48205:70279839379340] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\b\x18\xC2-*+/services/TestService/1/Test/localhost/21002\x00" +2012-12-05 16:17:28.011555 D [48205:70279839379340] (0.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 54 bytes +2012-12-05 16:17:28.011881 D [48205:70279839379340] RubySkynet::Registry -- #monitor Service stopped, remove: TestService/1/Test => localhost:2100 +2012-12-05 16:17:28.011905 I [48205:70279839379340] RubySkynet::Registry -- Calling callback for server: localhost:2100 +2012-12-05 16:17:28.012017 D [48205:70279839379340] RubySkynet::Connection -- Connection pool for server:localhost:2100 has been released +2012-12-05 16:17:28.012029 D [48205:70279839379340] RubySkynet::Registry -- Updated registry -- {} +2012-12-05 16:17:28.012232 T [48205:70279839379340] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H- +2012-12-05 16:17:28.012299 D [48205:70279839379340] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 16:17:28.012352 T [48205:70279830123560] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00" +2012-12-05 16:17:28.012358 D [48205:70279830123560] (0.9ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 2 bytes +2012-12-05 16:17:28.012416 D [48205:70279830123560] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fd698a94388>(70279830479300) self=connections=70279830479300 checked_out= with_map= +2012-12-05 16:17:28.012432 I [48205:70279830123560] RubySkynet::Server -- Skynet Services De-registered in Doozer +2012-12-05 16:17:28.015444 D [48205:70279830090320] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fd698a94388>(70279830479300) self=connections=70279830479300 checked_out=70279830479300 with_map= +2012-12-05 16:17:28.015832 T [48205:70279830090320] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "+/services/TestService/1/Test/localhost/2100*{"Config":{"UUID":"localhost:2100-48205-TestService-70279839281740","Name":"TestService","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"localhost","Port":2100,"MaxPort":3099}},"Registered":true}H +2012-12-05 16:17:28.015883 D [48205:70279830090320] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 272 bytes +2012-12-05 16:17:28.017631 T [48205:70279830090320] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 16:17:28.017644 D [48205:70279830090320] (1.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 16:17:28.017747 T [48205:70279839379340] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01\x04" +2012-12-05 16:17:28.017755 D [48205:70279839379340] (5.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 16:17:28.021274 T [48205:70279830090320] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xC3-" +2012-12-05 16:17:28.021289 D [48205:70279830090320] (3.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 16:17:28.021503 D [48205:70279830090320] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fd698a94388>(70279830479300) self=connections=70279830479300 checked_out= with_map= +2012-12-05 16:17:28.022273 I [48205:70279830090320] RubySkynet::Server -- Starting listener on localhost:2100 +2012-12-05 16:17:28.022291 D [48205:70279830090320] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 16:17:28.023014 I [48205:70279830090320] RubySkynet::Server -- Skynet Server Stopped +2012-12-05 16:17:28.025103 D [48205:70279830090320] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fd698a94388>(70279830479300) self=connections=70279830479300 checked_out=70279830479300 with_map= +2012-12-05 16:17:28.025467 T [48205:70279830090320] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- <"+/services/TestService/1/Test/localhost/2100H +2012-12-05 16:17:28.025524 D [48205:70279830090320] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 64 bytes +2012-12-05 16:17:28.025582 T [48205:70279839379340] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xC3-*+/services/TestService/1/Test/localhost/21002\xCD\x01{\"Config\":{\"UUID\":\"localhost:2100-48205-TestService-70279839281740\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-05 16:17:28.025588 D [48205:70279839379340] (7.8ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 260 bytes +2012-12-05 16:17:28.025754 D [48205:70279839379340] RubySkynet::Registry -- #monitor Add/Update Service: TestService/1/Test => localhost:2100 +2012-12-05 16:17:28.025767 D [48205:70279839379340] RubySkynet::Registry -- Updated registry -- {"TestService/1/Test"=>["localhost:2100"]} +2012-12-05 16:17:28.026651 T [48205:70279839379340] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H- +2012-12-05 16:17:28.026722 D [48205:70279839379340] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 16:17:28.028525 T [48205:70279830090320] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 16:17:28.028537 D [48205:70279830090320] (3.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 16:17:28.028683 T [48205:70279839379340] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x006" +2012-12-05 16:17:28.028690 D [48205:70279839379340] (2.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 16:17:28.029456 T [48205:70279830090320] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00" +2012-12-05 16:17:28.029468 D [48205:70279830090320] (0.9ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 2 bytes +2012-12-05 16:17:28.029537 D [48205:70279830090320] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fd698a94388>(70279830479300) self=connections=70279830479300 checked_out= with_map= +2012-12-05 16:17:28.029555 I [48205:70279830090320] RubySkynet::Server -- Skynet Services De-registered in Doozer +2012-12-05 16:17:28.029853 T [48205:70279839379340] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\b\x18\xC4-*+/services/TestService/1/Test/localhost/21002\x00" +2012-12-05 16:17:28.029859 D [48205:70279839379340] (1.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 54 bytes +2012-12-05 16:17:28.029960 D [48205:70279839379340] RubySkynet::Registry -- #monitor Service stopped, remove: TestService/1/Test => localhost:2100 +2012-12-05 16:17:28.029978 D [48205:70279839379340] RubySkynet::Registry -- Updated registry -- {} +2012-12-05 16:17:28.030168 T [48205:70279839379340] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H- +2012-12-05 16:17:28.030231 D [48205:70279839379340] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 16:17:28.031898 D [48205:70279830097080] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fd698a94388>(70279830479300) self=connections=70279830479300 checked_out=70279830479300 with_map= +2012-12-05 16:17:28.032246 T [48205:70279830097080] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "+/services/TestService/1/Test/localhost/2100*{"Config":{"UUID":"localhost:2100-48205-TestService-70279839281740","Name":"TestService","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"localhost","Port":2100,"MaxPort":3099}},"Registered":true}H +2012-12-05 16:17:28.032317 D [48205:70279830097080] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 272 bytes +2012-12-05 16:17:28.033571 T [48205:70279839379340] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01\x04" +2012-12-05 16:17:28.033583 D [48205:70279839379340] (3.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 16:17:28.033732 T [48205:70279830097080] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 16:17:28.033738 D [48205:70279830097080] (1.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 16:17:28.034152 T [48205:70279839379340] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xC5-*+/services/TestService/1/Test/localhost/21002\xCD\x01{\"Config\":{\"UUID\":\"localhost:2100-48205-TestService-70279839281740\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-05 16:17:28.034163 D [48205:70279839379340] (0.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 260 bytes +2012-12-05 16:17:28.034314 D [48205:70279839379340] RubySkynet::Registry -- #monitor Add/Update Service: TestService/1/Test => localhost:2100 +2012-12-05 16:17:28.034326 D [48205:70279839379340] RubySkynet::Registry -- Updated registry -- {"TestService/1/Test"=>["localhost:2100"]} +2012-12-05 16:17:28.034511 T [48205:70279839379340] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H- +2012-12-05 16:17:28.034573 D [48205:70279839379340] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 16:17:28.034664 T [48205:70279830097080] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xC5-" +2012-12-05 16:17:28.034670 D [48205:70279830097080] (0.9ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 16:17:28.034738 D [48205:70279830097080] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fd698a94388>(70279830479300) self=connections=70279830479300 checked_out= with_map= +2012-12-05 16:17:28.035578 I [48205:70279830097080] RubySkynet::Server -- Starting listener on localhost:2100 +2012-12-05 16:17:28.035597 D [48205:70279830097080] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 16:17:28.035794 D [48205:70279829347040] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fd698a94388>(70279830479300) self=connections=70279830479300 checked_out=70279830479300 with_map= +2012-12-05 16:17:28.035997 T [48205:70279829347040] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- 1"+/services/TestService/1/Test/localhost/2100 +2012-12-05 16:17:28.036064 D [48205:70279829347040] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 53 bytes +2012-12-05 16:17:28.037320 T [48205:70279829347040] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\xD5" +2012-12-05 16:17:28.037332 D [48205:70279829347040] (1.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 16:17:28.037593 T [48205:70279829347040] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xC5-2\xCD\x01{\"Config\":{\"UUID\":\"localhost:2100-48205-TestService-70279839281740\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-05 16:17:28.037604 D [48205:70279829347040] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 213 bytes +2012-12-05 16:17:28.037720 D [48205:70279829347040] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fd698a94388>(70279830479300) self=connections=70279830479300 checked_out= with_map= +2012-12-05 16:17:28.038043 I [48205:70279830097080] RubySkynet::Server -- Skynet Server Stopped +2012-12-05 16:17:28.038107 D [48205:70279830097080] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007fd698a94388>(70279830479300) self=connections=70279830479300 checked_out=70279830479300 with_map= +2012-12-05 16:17:28.038366 T [48205:70279830097080] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- <"+/services/TestService/1/Test/localhost/2100H +2012-12-05 16:17:28.040735 D [48205:70279830097080] (2.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 64 bytes +2012-12-05 16:17:28.043767 T [48205:70279839379340] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x006" +2012-12-05 16:17:28.043781 D [48205:70279839379340] (9.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 16:17:28.044033 T [48205:70279830097080] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 16:17:28.044039 D [48205:70279830097080] (3.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 16:17:28.044497 T [48205:70279839379340] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\b\x18\xC6-*+/services/TestService/1/Test/localhost/21002\x00" +2012-12-05 16:17:28.044508 D [48205:70279839379340] (0.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 54 bytes +2012-12-05 16:17:28.044655 D [48205:70279839379340] RubySkynet::Registry -- #monitor Service stopped, remove: TestService/1/Test => localhost:2100 +2012-12-05 16:17:28.044675 D [48205:70279839379340] RubySkynet::Registry -- Updated registry -- {} +2012-12-05 16:17:28.044888 T [48205:70279839379340] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H- +2012-12-05 16:17:28.044950 D [48205:70279839379340] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 16:17:28.045045 T [48205:70279830097080] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00" +2012-12-05 16:17:28.045051 D [48205:70279830097080] (1.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 2 bytes +2012-12-05 16:17:28.045122 D [48205:70279830097080] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007fd698a94388>(70279830479300) self=connections=70279830479300 checked_out= with_map= +2012-12-05 16:17:28.045142 I [48205:70279830097080] RubySkynet::Server -- Skynet Services De-registered in Doozer +2012-12-05 16:17:31.682661 D [48209:70185147128540] RubySkynet::Server -- Registering Service: TestService with name: TestService +2012-12-05 16:17:31.683754 I [48209:70185147128540] Celluloid -- Terminating 4 actors... +2012-12-05 16:17:31.684795 I [48209:70185147128540] Celluloid -- Shutdown completed cleanly +2012-12-05 16:17:31.687193 T [48209:70185147128540] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007faa820bf1d8@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 16:17:31.693174 T [48209:70185147128540] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "/8 +2012-12-05 16:17:31.693377 D [48209:70185147128540] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 13 bytes +2012-12-05 16:17:31.693442 T [48209:70185147128540] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\a" +2012-12-05 16:17:31.693448 D [48209:70185147128540] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 16:17:31.693742 T [48209:70185147128540] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00*\x03ctl" +2012-12-05 16:17:31.693752 D [48209:70185147128540] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 7 bytes +2012-12-05 16:17:31.694066 T [48209:70185147128540] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "/8 +2012-12-05 16:17:31.694108 D [48209:70185147128540] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 13 bytes +2012-12-05 16:17:31.694379 T [48209:70185147128540] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 16:17:31.694385 D [48209:70185147128540] (0.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 16:17:31.694485 T [48209:70185147128540] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\xA0\x06\b" +2012-12-05 16:17:31.694492 D [48209:70185147128540] (0.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 5 bytes +2012-12-05 16:17:31.695932 T [48209:70185147128540] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/fooH +2012-12-05 16:17:31.695998 D [48209:70185147128540] (0.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 30 bytes +2012-12-05 16:17:31.697213 T [48209:70185147128540] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 16:17:31.697225 D [48209:70185147128540] (1.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 16:17:31.698187 T [48209:70185147128540] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00" +2012-12-05 16:17:31.698200 D [48209:70185147128540] (0.9ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 2 bytes +2012-12-05 16:17:31.698604 T [48209:70185147128540] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007faa82562b68@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 16:17:31.700975 T [48209:70185147128540] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending --  +2012-12-05 16:17:31.701037 D [48209:70185147128540] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 8 bytes +2012-12-05 16:17:31.701330 T [48209:70185147128540] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 16:17:31.701341 D [48209:70185147128540] (0.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 16:17:31.701414 T [48209:70185147128540] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xCB-" +2012-12-05 16:17:31.701423 D [48209:70185147128540] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 5 bytes +2012-12-05 16:17:31.702908 T [48209:70185147128540] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/fooH +2012-12-05 16:17:31.703049 D [48209:70185147128540] (0.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 30 bytes +2012-12-05 16:17:31.704387 T [48209:70185147128540] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 16:17:31.704424 D [48209:70185147128540] (1.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 16:17:31.704691 T [48209:70185147128540] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00" +2012-12-05 16:17:31.704701 D [48209:70185147128540] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 2 bytes +2012-12-05 16:17:31.704964 T [48209:70185147128540] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007faa820a5f08@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 16:17:31.709478 T [48209:70185147128540] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- "" /test/foo*value2H +2012-12-05 16:17:31.709565 D [48209:70185147128540] (0.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 38 bytes +2012-12-05 16:17:31.712336 T [48209:70185147128540] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 16:17:31.712354 D [48209:70185147128540] (2.7ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 16:17:31.712435 T [48209:70185147128540] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xCD-" +2012-12-05 16:17:31.712441 D [48209:70185147128540] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 5 bytes +2012-12-05 16:17:31.712744 T [48209:70185147128540] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/foo +2012-12-05 16:17:31.712783 D [48209:70185147128540] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 19 bytes +2012-12-05 16:17:31.713599 T [48209:70185147128540] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\r" +2012-12-05 16:17:31.713611 D [48209:70185147128540] (0.8ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 16:17:31.713671 T [48209:70185147128540] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xCD-2\x06value2" +2012-12-05 16:17:31.713677 D [48209:70185147128540] (0.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 13 bytes +2012-12-05 16:17:31.714855 T [48209:70185147128540] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/fooH +2012-12-05 16:17:31.714985 D [48209:70185147128540] (0.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 30 bytes +2012-12-05 16:17:31.716523 T [48209:70185147128540] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 16:17:31.716535 D [48209:70185147128540] (1.5ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 16:17:31.718010 T [48209:70185147128540] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00" +2012-12-05 16:17:31.718023 D [48209:70185147128540] (1.4ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 2 bytes +2012-12-05 16:17:31.718367 T [48209:70185147128540] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:8046", :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>0.1, :connect_retry_count=>3, :buffered=>false, :on_connect=>#<Proc:0x007faa825850c8@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 16:17:31.721432 T [48209:70185147128540] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- !" /test/foo*valueH +2012-12-05 16:17:31.721514 D [48209:70185147128540] (0.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 37 bytes +2012-12-05 16:17:31.722523 T [48209:70185147128540] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 16:17:31.722530 D [48209:70185147128540] (1.0ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 16:17:31.722708 T [48209:70185147128540] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xCF-" +2012-12-05 16:17:31.722715 D [48209:70185147128540] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 5 bytes +2012-12-05 16:17:31.722930 T [48209:70185147128540] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/foo +2012-12-05 16:17:31.722992 D [48209:70185147128540] (0.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 19 bytes +2012-12-05 16:17:31.723301 T [48209:70185147128540] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\f" +2012-12-05 16:17:31.723307 D [48209:70185147128540] (0.3ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 16:17:31.723426 T [48209:70185147128540] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00\x18\xCF-2\x05value" +2012-12-05 16:17:31.723433 D [48209:70185147128540] (0.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 12 bytes +2012-12-05 16:17:31.724426 T [48209:70185147128540] ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sending -- " /test/fooH +2012-12-05 16:17:31.724488 D [48209:70185147128540] (0.1ms) ResilientSocket::TCPClient ["localhost:8046"] -- #write ==> sent 30 bytes +2012-12-05 16:17:31.725327 T [48209:70185147128540] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 16:17:31.725334 D [48209:70185147128540] (0.8ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 4 bytes +2012-12-05 16:17:31.725535 T [48209:70185147128540] ResilientSocket::TCPClient ["localhost:8046"] -- #read <== received -- "\b\x00" +2012-12-05 16:17:31.725542 D [48209:70185147128540] (0.2ms) ResilientSocket::TCPClient ["localhost:8046"] -- #read <== read 2 bytes +2012-12-05 16:17:31.725724 T [48209:70185147128540] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:server=>"localhost:9999", :connect_retry_interval=>0.1, :connect_retry_count=>5, :read_timeout=>5, :connect_timeout=>3, :buffered=>false, :on_connect=>#<Proc:0x007faa82592138@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 16:17:31.726267 W [48209:70185147128540] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 1 +2012-12-05 16:17:31.827601 W [48209:70185147128540] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 2 +2012-12-05 16:17:31.928629 W [48209:70185147128540] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 3 +2012-12-05 16:17:32.042254 W [48209:70185147128540] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 4 +2012-12-05 16:17:32.143790 W [48209:70185147128540] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Retry: 5 +2012-12-05 16:17:32.244916 E [48209:70185147128540] ResilientSocket::TCPClient ["localhost:9999"] -- Connection failure: Errno::ECONNREFUSED: Connection refused - connect(2). Giving up after 5 retries +2012-12-05 16:17:32.245017 I [48209:70185147128540] (519.2ms) ResilientSocket::TCPClient ["localhost:9999"] -- Connecting to server localhost:9999 -- ResilientSocket::ConnectionFailure: After 5 connection attempts to host 'localhost:9999': Errno::ECONNREFUSED: Connection refused - connect(2) +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:578:in `rescue in block in connect_to_server' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:549:in `block in connect_to_server' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_info' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:542:in `connect_to_server' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:305:in `connect' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:233:in `initialize' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:36:in `new' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:36:in `initialize' +/Users/rmorrison/Sandbox/ruby_skynet/test/doozer_client_test.rb:19:in `new' +/Users/rmorrison/Sandbox/ruby_skynet/test/doozer_client_test.rb:19:in `block (4 levels) in <class:DoozerClientTest>' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:330:in `assert_raises' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/assertions.rb:69:in `assert_raise' -/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_client_test.rb:21:in `block (3 levels) in <class:RubySkynetClientTest>' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.0/lib/shoulda/context/context.rb:398:in `call' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.0/lib/shoulda/context/context.rb:398:in `block in create_test_from_should_hash' -/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:949:in `run' +/Users/rmorrison/Sandbox/ruby_skynet/test/doozer_client_test.rb:18:in `block (3 levels) in <class:DoozerClientTest>' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `block in create_test_from_should_hash' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/mocha-0.10.5/lib/mocha/integration/mini_test/version_230_to_262.rb:28:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/testcase.rb:17:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:787:in `block in _run_suite' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `map' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `_run_suite' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:565:in `block in _run_suites' @@ -6576,24 +13716,174 @@ /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:884:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:21:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:326:in `block (2 levels) in autorun' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:27:in `run_once' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:325:in `block in autorun' -2012-10-18 16:32:47.259255 I [1349:70172945898200] [5080676f6b69330545000003] (2.2ms) RubySkynet::Client: SomeService/*/Development -- Called Skynet Service: SomeService.test -- RubySkynet::ServiceUnavailable: No servers available for service: SomeService with version: * in region: Development -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/registry.rb:92:in `server_for' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:66:in `block (2 levels) in call' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.7.0/lib/semantic_logger/base.rb:181:in `benchmark_info' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:62:in `block in call' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.7.0/lib/semantic_logger/base.rb:161:in `with_tags' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:61:in `call' -/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_client_test.rb:23:in `block (4 levels) in <class:RubySkynetClientTest>' +2012-12-05 16:17:32.246938 D [48209:70185147704240] SimpleServer -- Waiting for a client to connect +2012-12-05 16:17:32.252024 D [48209:70185147128540] RubySkynet::Registry -- Doozer Connection Pool: Created connection #1 #<Thread:0x007faa8186b5b8>(70185147128540) for Doozer Connection Pool +2012-12-05 16:17:32.252165 T [48209:70185147128540] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007faa81aa0608@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 16:17:32.253302 D [48209:70185147128540] RubySkynet::Registry -- Doozer Connection Pool: Renewed connection old=70185147128540 new=#<RubySkynet::Doozer::Client:0x007faa81aa09a0>(70185148286160) +2012-12-05 16:17:32.253341 D [48209:70185147128540] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007faa81aa09a0>(70185148286160) self=connections=70185148286160 checked_out=70185148286160 with_map= +2012-12-05 16:17:32.264494 T [48209:70185147128540] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "+/services/TestService/1/Test/127.0.0.1/2000*{"Config":{"UUID":"3978b371-15e9-40f8-9b7b-59ae88d8c7ec","Name":"TestService","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"127.0.0.1","Port":2000,"MaxPort":2999}},"Registered":true}H +2012-12-05 16:17:32.265481 D [48209:70185147128540] (1.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 261 bytes +2012-12-05 16:17:32.266248 T [48209:70185147128540] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 16:17:32.266261 D [48209:70185147128540] (0.8ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 16:17:32.269073 T [48209:70185147128540] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xD1-" +2012-12-05 16:17:32.269084 D [48209:70185147128540] (2.8ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 16:17:32.269247 D [48209:70185147128540] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007faa81aa09a0>(70185148286160) self=connections=70185148286160 checked_out= with_map= +2012-12-05 16:17:32.271461 D [48209:70185147128540] [50bfb9ec6b6933bc51000001] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007faa81aa09a0>(70185148286160) self=connections=70185148286160 checked_out=70185148286160 with_map= +2012-12-05 16:17:32.271683 T [48209:70185147128540] [50bfb9ec6b6933bc51000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  +2012-12-05 16:17:32.271747 D [48209:70185147128540] [50bfb9ec6b6933bc51000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 8 bytes +2012-12-05 16:17:32.274535 T [48209:70185147128540] [50bfb9ec6b6933bc51000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 16:17:32.274550 D [48209:70185147128540] [50bfb9ec6b6933bc51000001] (2.8ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 16:17:32.274623 T [48209:70185147128540] [50bfb9ec6b6933bc51000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xD1-" +2012-12-05 16:17:32.274629 D [48209:70185147128540] [50bfb9ec6b6933bc51000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 16:17:32.274929 T [48209:70185147128540] [50bfb9ec6b6933bc51000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H- +2012-12-05 16:17:32.275141 D [48209:70185147128540] [50bfb9ec6b6933bc51000001] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-05 16:17:32.275662 T [48209:70185147128540] [50bfb9ec6b6933bc51000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\xF9" +2012-12-05 16:17:32.275669 D [48209:70185147128540] [50bfb9ec6b6933bc51000001] (0.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 16:17:32.275737 T [48209:70185147128540] [50bfb9ec6b6933bc51000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xD1-*+/services/TestService/1/Test/127.0.0.1/20002\xC2\x01{\"Config\":{\"UUID\":\"3978b371-15e9-40f8-9b7b-59ae88d8c7ec\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"127.0.0.1\",\"Port\":2000,\"MaxPort\":2999}},\"Registered\":true}" +2012-12-05 16:17:32.275743 D [48209:70185147128540] [50bfb9ec6b6933bc51000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 249 bytes +2012-12-05 16:17:32.276135 T [48209:70185147128540] [50bfb9ec6b6933bc51000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "/services/*/*/*/*/*8H- +2012-12-05 16:17:32.276183 D [48209:70185147128540] [50bfb9ec6b6933bc51000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 34 bytes +2012-12-05 16:17:32.276934 T [48209:70185147128540] [50bfb9ec6b6933bc51000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 16:17:32.276946 D [48209:70185147128540] [50bfb9ec6b6933bc51000001] (0.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 16:17:32.277028 T [48209:70185147128540] [50bfb9ec6b6933bc51000001] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\xA0\x06\b" +2012-12-05 16:17:32.277035 D [48209:70185147128540] [50bfb9ec6b6933bc51000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 16:17:32.277210 D [48209:70185147128540] [50bfb9ec6b6933bc51000001] RubySkynet::Registry -- #start_monitoring Add Service: TestService/1/Test => 127.0.0.1:2000 +2012-12-05 16:17:32.277250 D [48209:70185147128540] [50bfb9ec6b6933bc51000001] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007faa81aa09a0>(70185148286160) self=connections=70185148286160 checked_out= with_map= +2012-12-05 16:17:32.278680 D [48209:70185147128540] [50bfb9ec6b6933bc51000001] RubySkynet::Connection: 127.0.0.1:2000 -- Waiting for Service Handshake +2012-12-05 16:17:32.279955 D [48209:70185147704240] SimpleServer -- Waiting for a client to connect +2012-12-05 16:17:32.280289 D [48209:70185147704240] SimpleServer -- Client connected, waiting for data from client +2012-12-05 16:17:32.281036 I [48209:70185152879320] RubySkynet::Registry -- Start monitoring /services/*/*/*/*/* +2012-12-05 16:17:32.281105 T [48209:70185152879320] RubySkynet::Doozer::Client -- Socket Connection parameters -- {:servers=>["127.0.0.1:8046"], :read_timeout=>5, :connect_timeout=>3, :connect_retry_interval=>1, :connect_retry_count=>300, :buffered=>false, :on_connect=>#<Proc:0x007faa8247f980@/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/doozer/client.rb:31>} +2012-12-05 16:17:32.281683 T [48209:70185152879320] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H- +2012-12-05 16:17:32.281723 D [48209:70185152879320] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 16:17:32.282118 T [48209:70185147128540] [50bfb9ec6b6933bc51000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "$\x00\x00\x00" +2012-12-05 16:17:32.282135 D [48209:70185147128540] [50bfb9ec6b6933bc51000001] (2.8ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes +2012-12-05 16:17:32.282183 T [48209:70185147128540] [50bfb9ec6b6933bc51000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "\bregistered\x00\x01\x02clientid\x00\x04\x00\x00\x00123\x00\x00" +2012-12-05 16:17:32.282189 D [48209:70185147128540] [50bfb9ec6b6933bc51000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 32 bytes +2012-12-05 16:17:32.282235 T [48209:70185147128540] [50bfb9ec6b6933bc51000001] RubySkynet::Connection: 127.0.0.1:2000 -- Service Handshake -- {"registered"=>true, "clientid"=>"123"} +2012-12-05 16:17:32.282247 D [48209:70185147128540] [50bfb9ec6b6933bc51000001] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Client Handshake +2012-12-05 16:17:32.282252 T [48209:70185147128540] [50bfb9ec6b6933bc51000001] RubySkynet::Connection: 127.0.0.1:2000 -- Client Handshake -- {"clientid"=>"123"} +2012-12-05 16:17:32.282269 T [48209:70185147128540] [50bfb9ec6b6933bc51000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- clientid123 +2012-12-05 16:17:32.282332 D [48209:70185147128540] [50bfb9ec6b6933bc51000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 23 bytes +2012-12-05 16:17:32.282397 D [48209:70185147128540] [50bfb9ec6b6933bc51000001] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Header +2012-12-05 16:17:32.282407 T [48209:70185147128540] [50bfb9ec6b6933bc51000001] RubySkynet::Connection: 127.0.0.1:2000 -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 16:17:32.282428 T [48209:70185147128540] [50bfb9ec6b6933bc51000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- 5servicemethodTestService.Forwardseq +2012-12-05 16:17:32.282491 D [48209:70185147128540] [50bfb9ec6b6933bc51000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 53 bytes +2012-12-05 16:17:32.282525 D [48209:70185147128540] [50bfb9ec6b6933bc51000001] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Request +2012-12-05 16:17:32.282531 T [48209:70185147128540] [50bfb9ec6b6933bc51000001] RubySkynet::Connection: 127.0.0.1:2000 -- Request -- {"clientid"=>"123", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"test1", "requestinfo"=>{"requestid"=>"50bfb9ec6b6933bc51000001", "retrycount"=>0, "originaddress"=>""}} +2012-12-05 16:17:32.282536 T [48209:70185147128540] [50bfb9ec6b6933bc51000001] RubySkynet::Connection: 127.0.0.1:2000 -- Parameters: -- {"some"=>"parameters"} +2012-12-05 16:17:32.282553 T [48209:70185147128540] [50bfb9ec6b6933bc51000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- clientid123insome parametersmethodtest1requestinfoQrequestid50bfb9ec6b6933bc51000001retrycountoriginaddress +2012-12-05 16:17:32.282612 D [48209:70185147128540] [50bfb9ec6b6933bc51000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 170 bytes +2012-12-05 16:17:32.282626 D [48209:70185147128540] [50bfb9ec6b6933bc51000001] RubySkynet::Connection: 127.0.0.1:2000 -- Reading header from server +2012-12-05 16:17:32.284379 D [48209:70185147704240] SimpleServer -- +****************** +2012-12-05 16:17:32.284393 D [48209:70185147704240] SimpleServer -- Received Request +2012-12-05 16:17:32.284400 T [48209:70185147704240] SimpleServer -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 16:17:32.284485 T [48209:70185147704240] SimpleServer -- Request -- {"clientid"=>"123", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"test1", "requestinfo"=>{"requestid"=>"50bfb9ec6b6933bc51000001", "retrycount"=>0, "originaddress"=>""}} +2012-12-05 16:17:32.284506 D [48209:70185147704240] SimpleServer -- Sending Header +2012-12-05 16:17:32.284587 D [48209:70185147704240] SimpleServer -- Sending Reply +2012-12-05 16:17:32.284595 T [48209:70185147704240] SimpleServer -- Reply -- {"result"=>"test1"} +2012-12-05 16:17:32.289169 T [48209:70185147128540] [50bfb9ec6b6933bc51000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "5\x00\x00\x00" +2012-12-05 16:17:32.289186 D [48209:70185147128540] [50bfb9ec6b6933bc51000001] (6.5ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes +2012-12-05 16:17:32.289301 T [48209:70185147128540] [50bfb9ec6b6933bc51000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "\x02servicemethod\x00\x14\x00\x00\x00TestService.Forward\x00\x10seq\x00\x00\x00\x00\x00\x00" +2012-12-05 16:17:32.289308 D [48209:70185147128540] [50bfb9ec6b6933bc51000001] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 49 bytes +2012-12-05 16:17:32.289346 D [48209:70185147128540] [50bfb9ec6b6933bc51000001] RubySkynet::Connection: 127.0.0.1:2000 -- Response Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 16:17:32.289353 D [48209:70185147128540] [50bfb9ec6b6933bc51000001] RubySkynet::Connection: 127.0.0.1:2000 -- Reading response from server +2012-12-05 16:17:32.289405 T [48209:70185147128540] [50bfb9ec6b6933bc51000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "&\x00\x00\x00" +2012-12-05 16:17:32.289411 D [48209:70185147128540] [50bfb9ec6b6933bc51000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes +2012-12-05 16:17:32.289458 T [48209:70185147128540] [50bfb9ec6b6933bc51000001] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "\x02out\x00\x18\x00\x00\x00\x17\x00\x00\x00\x02result\x00\x06\x00\x00\x00test1\x00\x00\x00\x00" +2012-12-05 16:17:32.289464 D [48209:70185147128540] [50bfb9ec6b6933bc51000001] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 34 bytes +2012-12-05 16:17:32.289489 T [48209:70185147128540] [50bfb9ec6b6933bc51000001] RubySkynet::Connection: 127.0.0.1:2000 -- Response -- {"out"=>"\x17\x00\x00\x00\x02result\x00\x06\x00\x00\x00test1\x00\x00"} +2012-12-05 16:17:32.289514 T [48209:70185147128540] [50bfb9ec6b6933bc51000001] RubySkynet::Connection: 127.0.0.1:2000 -- Return Value -- {"result"=>"test1"} +2012-12-05 16:17:32.289539 I [48209:70185147128540] [50bfb9ec6b6933bc51000001] (20.1ms) RubySkynet::Client: TestService/1/Test -- Called Skynet Service: TestService.test1 +2012-12-05 16:17:32.291320 D [48209:70185147128540] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007faa81aa09a0>(70185148286160) self=connections=70185148286160 checked_out=70185148286160 with_map= +2012-12-05 16:17:32.291651 T [48209:70185147128540] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- <"+/services/TestService/1/Test/127.0.0.1/2000H +2012-12-05 16:17:32.291743 D [48209:70185147128540] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 64 bytes +2012-12-05 16:17:32.293342 T [48209:70185152879320] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x006" +2012-12-05 16:17:32.293355 D [48209:70185152879320] (11.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 16:17:32.293448 T [48209:70185147128540] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 16:17:32.293454 D [48209:70185147128540] (1.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 16:17:32.293871 T [48209:70185152879320] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\b\x18\xD2-*+/services/TestService/1/Test/127.0.0.1/20002\x00" +2012-12-05 16:17:32.293879 D [48209:70185152879320] (0.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 54 bytes +2012-12-05 16:17:32.294013 D [48209:70185152879320] RubySkynet::Registry -- #monitor Service stopped, remove: TestService/1/Test => 127.0.0.1:2000 +2012-12-05 16:17:32.294039 I [48209:70185152879320] RubySkynet::Registry -- Calling callback for server: 127.0.0.1:2000 +2012-12-05 16:17:32.294161 D [48209:70185152879320] RubySkynet::Connection -- Connection pool for server:127.0.0.1:2000 has been released +2012-12-05 16:17:32.294173 D [48209:70185152879320] RubySkynet::Registry -- Updated registry -- {} +2012-12-05 16:17:32.294384 T [48209:70185152879320] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H- +2012-12-05 16:17:32.294450 D [48209:70185152879320] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 16:17:32.294526 T [48209:70185147128540] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00" +2012-12-05 16:17:32.294532 D [48209:70185147128540] (1.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 2 bytes +2012-12-05 16:17:32.294596 D [48209:70185147128540] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007faa81aa09a0>(70185148286160) self=connections=70185148286160 checked_out= with_map= +2012-12-05 16:17:32.296127 D [48209:70185147741920] SimpleServer -- Waiting for a client to connect +2012-12-05 16:17:32.296424 D [48209:70185147128540] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007faa81aa09a0>(70185148286160) self=connections=70185148286160 checked_out=70185148286160 with_map= +2012-12-05 16:17:32.296794 T [48209:70185147128540] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "+/services/TestService/1/Test/127.0.0.1/2000*{"Config":{"UUID":"3978b371-15e9-40f8-9b7b-59ae88d8c7ec","Name":"TestService","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"127.0.0.1","Port":2000,"MaxPort":2999}},"Registered":true}H +2012-12-05 16:17:32.296844 D [48209:70185147128540] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 261 bytes +2012-12-05 16:17:32.300209 T [48209:70185152879320] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\xF9" +2012-12-05 16:17:32.300224 D [48209:70185152879320] (5.8ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 16:17:32.301306 T [48209:70185152879320] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xD3-*+/services/TestService/1/Test/127.0.0.1/20002\xC2\x01{\"Config\":{\"UUID\":\"3978b371-15e9-40f8-9b7b-59ae88d8c7ec\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"127.0.0.1\",\"Port\":2000,\"MaxPort\":2999}},\"Registered\":true}" +2012-12-05 16:17:32.301319 D [48209:70185152879320] (1.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 249 bytes +2012-12-05 16:17:32.301661 D [48209:70185152879320] RubySkynet::Registry -- #monitor Add/Update Service: TestService/1/Test => 127.0.0.1:2000 +2012-12-05 16:17:32.301674 D [48209:70185152879320] RubySkynet::Registry -- Updated registry -- {"TestService/1/Test"=>["127.0.0.1:2000"]} +2012-12-05 16:17:32.302008 T [48209:70185152879320] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H- +2012-12-05 16:17:32.302090 T [48209:70185147128540] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 16:17:32.302097 D [48209:70185147128540] (5.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 16:17:32.302186 T [48209:70185147128540] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xD3-" +2012-12-05 16:17:32.302192 D [48209:70185147128540] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 16:17:32.302317 D [48209:70185147128540] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007faa81aa09a0>(70185148286160) self=connections=70185148286160 checked_out= with_map= +2012-12-05 16:17:32.303110 D [48209:70185152879320] (1.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 16:17:32.303935 D [48209:70185147128540] [50bfb9ec6b6933bc51000002] RubySkynet::Connection: 127.0.0.1:2000 -- Waiting for Service Handshake +2012-12-05 16:17:32.304139 D [48209:70185147741920] SimpleServer -- Waiting for a client to connect +2012-12-05 16:17:32.304225 D [48209:70185147741920] SimpleServer -- Client connected, waiting for data from client +2012-12-05 16:17:32.305554 T [48209:70185147128540] [50bfb9ec6b6933bc51000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "$\x00\x00\x00" +2012-12-05 16:17:32.305587 D [48209:70185147128540] [50bfb9ec6b6933bc51000002] (1.6ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes +2012-12-05 16:17:32.306109 T [48209:70185147128540] [50bfb9ec6b6933bc51000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== received -- "\bregistered\x00\x01\x02clientid\x00\x04\x00\x00\x00123\x00\x00" +2012-12-05 16:17:32.306221 D [48209:70185147128540] [50bfb9ec6b6933bc51000002] (0.4ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 32 bytes +2012-12-05 16:17:32.306260 T [48209:70185147128540] [50bfb9ec6b6933bc51000002] RubySkynet::Connection: 127.0.0.1:2000 -- Service Handshake -- {"registered"=>true, "clientid"=>"123"} +2012-12-05 16:17:32.306272 D [48209:70185147128540] [50bfb9ec6b6933bc51000002] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Client Handshake +2012-12-05 16:17:32.306278 T [48209:70185147128540] [50bfb9ec6b6933bc51000002] RubySkynet::Connection: 127.0.0.1:2000 -- Client Handshake -- {"clientid"=>"123"} +2012-12-05 16:17:32.306295 T [48209:70185147128540] [50bfb9ec6b6933bc51000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- clientid123 +2012-12-05 16:17:32.307135 D [48209:70185147128540] [50bfb9ec6b6933bc51000002] (0.8ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 23 bytes +2012-12-05 16:17:32.307258 D [48209:70185147128540] [50bfb9ec6b6933bc51000002] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Header +2012-12-05 16:17:32.307270 T [48209:70185147128540] [50bfb9ec6b6933bc51000002] RubySkynet::Connection: 127.0.0.1:2000 -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 16:17:32.307293 T [48209:70185147128540] [50bfb9ec6b6933bc51000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- 5servicemethodTestService.Forwardseq +2012-12-05 16:17:32.307339 D [48209:70185147128540] [50bfb9ec6b6933bc51000002] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 53 bytes +2012-12-05 16:17:32.307380 D [48209:70185147128540] [50bfb9ec6b6933bc51000002] RubySkynet::Connection: 127.0.0.1:2000 -- Sending Request +2012-12-05 16:17:32.307387 T [48209:70185147128540] [50bfb9ec6b6933bc51000002] RubySkynet::Connection: 127.0.0.1:2000 -- Request -- {"clientid"=>"123", "in"=>"\x17\x00\x00\x00\x01duration\x00\x00\x00\x00\x00\x00\x00\f@\x00", "method"=>"sleep", "requestinfo"=>{"requestid"=>"50bfb9ec6b6933bc51000002", "retrycount"=>0, "originaddress"=>""}} +2012-12-05 16:17:32.307392 T [48209:70185147128540] [50bfb9ec6b6933bc51000002] RubySkynet::Connection: 127.0.0.1:2000 -- Parameters: -- {"duration"=>3.5} +2012-12-05 16:17:32.307416 T [48209:70185147128540] [50bfb9ec6b6933bc51000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sending -- clientid123induration @methodsleeprequestinfoQrequestid50bfb9ec6b6933bc51000002retrycountoriginaddress +2012-12-05 16:17:32.307457 D [48209:70185147128540] [50bfb9ec6b6933bc51000002] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #write ==> sent 167 bytes +2012-12-05 16:17:32.307470 D [48209:70185147128540] [50bfb9ec6b6933bc51000002] RubySkynet::Connection: 127.0.0.1:2000 -- Reading header from server +2012-12-05 16:17:32.308884 D [48209:70185147741920] SimpleServer -- +****************** +2012-12-05 16:17:32.308897 D [48209:70185147741920] SimpleServer -- Received Request +2012-12-05 16:17:32.308904 T [48209:70185147741920] SimpleServer -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 16:17:32.309307 T [48209:70185147741920] SimpleServer -- Request -- {"clientid"=>"123", "in"=>"\x17\x00\x00\x00\x01duration\x00\x00\x00\x00\x00\x00\x00\f@\x00", "method"=>"sleep", "requestinfo"=>{"requestid"=>"50bfb9ec6b6933bc51000002", "retrycount"=>0, "originaddress"=>""}} +2012-12-05 16:17:35.306145 W [48209:70185147128540] [50bfb9ec6b6933bc51000002] ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read Timeout waiting for server to reply +2012-12-05 16:17:35.306309 D [48209:70185147128540] [50bfb9ec6b6933bc51000002] (2998.8ms) ResilientSocket::TCPClient ["127.0.0.1:2000"] -- #read <== read 4 bytes -- ResilientSocket::ReadTimeout: Timedout after 3.0 seconds trying to read from 127.0.0.1:2000 +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:392:in `block in read' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_debug' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:374:in `read' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/common.rb:10:in `read_bson_document' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:178:in `rpc_call' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:65:in `block (3 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/gene_pool-1.3.0/lib/gene_pool.rb:134:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:214:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:64:in `block (2 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_info' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:60:in `block in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:126:in `with_tags' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:59:in `call' +/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_client_test.rb:87:in `block (5 levels) in <class:RubySkynetClientTest>' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:330:in `assert_raises' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/assertions.rb:69:in `assert_raise' -/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_client_test.rb:21:in `block (3 levels) in <class:RubySkynetClientTest>' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.0/lib/shoulda/context/context.rb:398:in `call' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.0/lib/shoulda/context/context.rb:398:in `block in create_test_from_should_hash' -/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:949:in `run' +/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_client_test.rb:85:in `block (4 levels) in <class:RubySkynetClientTest>' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `block in create_test_from_should_hash' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/mocha-0.10.5/lib/mocha/integration/mini_test/version_230_to_262.rb:28:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/testcase.rb:17:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:787:in `block in _run_suite' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `map' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `_run_suite' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:565:in `block in _run_suites' @@ -6606,24 +13896,82 @@ /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:895:in `_run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:884:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:21:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:326:in `block (2 levels) in autorun' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:27:in `run_once' -/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:325:in `block in autorun' -- RubySkynet::ServiceUnavailable: No servers available for service: SomeService with version: * in region: Development +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:325:in `block in autorun' +2012-12-05 16:17:35.306362 I [48209:70185147128540] [50bfb9ec6b6933bc51000002] (3003.8ms) RubySkynet::Client: TestService/1/Test -- Called Skynet Service: TestService.sleep -- ResilientSocket::ReadTimeout: Timedout after 3.0 seconds trying to read from 127.0.0.1:2000 +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:392:in `block in read' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_debug' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/resilient_socket-0.4.0/lib/resilient_socket/tcp_client.rb:374:in `read' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/common.rb:10:in `read_bson_document' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:178:in `rpc_call' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:65:in `block (3 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/gene_pool-1.3.0/lib/gene_pool.rb:134:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/connection.rb:214:in `with_connection' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:64:in `block (2 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_info' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:60:in `block in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:126:in `with_tags' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:59:in `call' +/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_client_test.rb:87:in `block (5 levels) in <class:RubySkynetClientTest>' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:330:in `assert_raises' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/assertions.rb:69:in `assert_raise' +/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_client_test.rb:85:in `block (4 levels) in <class:RubySkynetClientTest>' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `block in create_test_from_should_hash' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/mocha-0.10.5/lib/mocha/integration/mini_test/version_230_to_262.rb:28:in `run' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/testcase.rb:17:in `run' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:787:in `block in _run_suite' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `map' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `_run_suite' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:565:in `block in _run_suites' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:563:in `each' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:563:in `_run_suites' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:746:in `_run_anything' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:909:in `run_tests' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:896:in `block in _run' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:895:in `each' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:895:in `_run' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:884:in `run' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:21:in `run' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:326:in `block (2 levels) in autorun' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:27:in `run_once' +/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:325:in `block in autorun' +2012-12-05 16:17:35.307664 D [48209:70185147128540] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007faa81aa09a0>(70185148286160) self=connections=70185148286160 checked_out=70185148286160 with_map= +2012-12-05 16:17:35.308340 T [48209:70185147128540] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- <"+/services/TestService/1/Test/127.0.0.1/2000H +2012-12-05 16:17:35.308426 D [48209:70185147128540] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 64 bytes +2012-12-05 16:17:35.309822 T [48209:70185152879320] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x006" +2012-12-05 16:17:35.309835 D [48209:70185152879320] (3006.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 16:17:35.310609 T [48209:70185147128540] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 16:17:35.310624 D [48209:70185147128540] (2.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 16:17:35.310828 T [48209:70185152879320] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\b\x18\xD7-*+/services/TestService/1/Test/127.0.0.1/20002\x00" +2012-12-05 16:17:35.310838 D [48209:70185152879320] (1.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 54 bytes +2012-12-05 16:17:35.310973 D [48209:70185152879320] RubySkynet::Registry -- #monitor Service stopped, remove: TestService/1/Test => 127.0.0.1:2000 +2012-12-05 16:17:35.310998 I [48209:70185152879320] RubySkynet::Registry -- Calling callback for server: 127.0.0.1:2000 +2012-12-05 16:17:35.311061 D [48209:70185152879320] RubySkynet::Connection -- Connection pool for server:127.0.0.1:2000 has been released +2012-12-05 16:17:35.311073 D [48209:70185152879320] RubySkynet::Registry -- Updated registry -- {} +2012-12-05 16:17:35.311287 T [48209:70185152879320] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H- +2012-12-05 16:17:35.311359 D [48209:70185152879320] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 16:17:35.312711 T [48209:70185147128540] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00" +2012-12-05 16:17:35.312724 D [48209:70185147128540] (2.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 2 bytes +2012-12-05 16:17:35.312799 D [48209:70185147128540] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007faa81aa09a0>(70185148286160) self=connections=70185148286160 checked_out= with_map= +2012-12-05 16:17:35.313341 W [48209:70185147128540] [50bfb9ef6b6933bc51000003] RubySkynet::Registry -- No servers available for service: SomeService with version: * in region: Development +2012-12-05 16:17:35.313494 I [48209:70185147128540] [50bfb9ef6b6933bc51000003] (0.3ms) RubySkynet::Client: SomeService/*/Development -- Called Skynet Service: SomeService.test -- RubySkynet::ServiceUnavailable: No servers available for service: SomeService with version: * in region: Development /Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/registry.rb:92:in `server_for' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:66:in `block (2 levels) in call' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.7.0/lib/semantic_logger/base.rb:181:in `benchmark_info' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:62:in `block in call' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.7.0/lib/semantic_logger/base.rb:161:in `with_tags' -/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:61:in `call' -/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_client_test.rb:23:in `block (4 levels) in <class:RubySkynetClientTest>' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:64:in `block (2 levels) in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:146:in `benchmark_info' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:60:in `block in call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/semantic_logger-0.11.4/lib/semantic_logger/base.rb:126:in `with_tags' +/Users/rmorrison/Sandbox/ruby_skynet/lib/ruby_skynet/client.rb:59:in `call' +/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_client_test.rb:26:in `block (4 levels) in <class:RubySkynetClientTest>' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:330:in `assert_raises' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/assertions.rb:69:in `assert_raise' -/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_client_test.rb:21:in `block (3 levels) in <class:RubySkynetClientTest>' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.0/lib/shoulda/context/context.rb:398:in `call' -/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.0/lib/shoulda/context/context.rb:398:in `block in create_test_from_should_hash' -/Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:949:in `run' +/Users/rmorrison/Sandbox/ruby_skynet/test/ruby_skynet_client_test.rb:24:in `block (3 levels) in <class:RubySkynetClientTest>' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `call' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb:398:in `block in create_test_from_should_hash' +/Users/rmorrison/.rvm/gems/ruby-1.9.3-p194@ruby_skynet/gems/mocha-0.10.5/lib/mocha/integration/mini_test/version_230_to_262.rb:28:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit/testcase.rb:17:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:787:in `block in _run_suite' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `map' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:780:in `_run_suite' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:565:in `block in _run_suites' @@ -6637,5 +13985,169 @@ /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:884:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:21:in `run' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:326:in `block (2 levels) in autorun' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:27:in `run_once' /Users/rmorrison/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:325:in `block in autorun' +2012-12-05 16:17:35.316047 D [48209:70185147731100] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007faa81aa09a0>(70185148286160) self=connections=70185148286160 checked_out=70185148286160 with_map= +2012-12-05 16:17:35.316446 T [48209:70185147731100] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "+/services/TestService/1/Test/localhost/2100*{"Config":{"UUID":"localhost:2100-48209-TestService-70185153308480","Name":"TestService","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"localhost","Port":2100,"MaxPort":3099}},"Registered":true}H +2012-12-05 16:17:35.318265 D [48209:70185147731100] (1.8ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 272 bytes +2012-12-05 16:17:35.318662 T [48209:70185152879320] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01\x04" +2012-12-05 16:17:35.318674 D [48209:70185152879320] (7.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 16:17:35.318852 T [48209:70185147731100] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 16:17:35.318858 D [48209:70185147731100] (0.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 16:17:35.320144 T [48209:70185152879320] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xD8-*+/services/TestService/1/Test/localhost/21002\xCD\x01{\"Config\":{\"UUID\":\"localhost:2100-48209-TestService-70185153308480\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-05 16:17:35.320159 D [48209:70185152879320] (1.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 260 bytes +2012-12-05 16:17:35.320367 D [48209:70185152879320] RubySkynet::Registry -- #monitor Add/Update Service: TestService/1/Test => localhost:2100 +2012-12-05 16:17:35.320379 D [48209:70185152879320] RubySkynet::Registry -- Updated registry -- {"TestService/1/Test"=>["localhost:2100"]} +2012-12-05 16:17:35.320647 T [48209:70185152879320] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H- +2012-12-05 16:17:35.320713 D [48209:70185152879320] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 16:17:35.320790 T [48209:70185147731100] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xD8-" +2012-12-05 16:17:35.320797 D [48209:70185147731100] (1.9ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 16:17:35.320882 D [48209:70185147731100] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007faa81aa09a0>(70185148286160) self=connections=70185148286160 checked_out= with_map= +2012-12-05 16:17:35.322365 I [48209:70185147731100] RubySkynet::Server -- Starting listener on localhost:2100 +2012-12-05 16:17:35.322387 D [48209:70185147731100] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 16:17:35.324402 D [48209:70185147128540] [50bfb9ef6b6933bc51000004] RubySkynet::Connection: localhost:2100 -- Waiting for Service Handshake +2012-12-05 16:17:35.324583 D [48209:70185147731100] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 16:17:35.324666 D [48209:70185147731100] RubySkynet::Server -- Client connected, waiting for data from client +2012-12-05 16:17:35.325585 T [48209:70185147128540] [50bfb9ef6b6933bc51000004] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "9\x00\x00\x00" +2012-12-05 16:17:35.325597 D [48209:70185147128540] [50bfb9ef6b6933bc51000004] (1.2ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 4 bytes +2012-12-05 16:17:35.325696 T [48209:70185147128540] [50bfb9ef6b6933bc51000004] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "\bregistered\x00\x01\x02clientid\x00\x19\x00\x00\x0050bfb9ef6b6933bc51000005\x00\x00" +2012-12-05 16:17:35.325703 D [48209:70185147128540] [50bfb9ef6b6933bc51000004] (0.1ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 53 bytes +2012-12-05 16:17:35.325742 T [48209:70185147128540] [50bfb9ef6b6933bc51000004] RubySkynet::Connection: localhost:2100 -- Service Handshake -- {"registered"=>true, "clientid"=>"50bfb9ef6b6933bc51000005"} +2012-12-05 16:17:35.325755 D [48209:70185147128540] [50bfb9ef6b6933bc51000004] RubySkynet::Connection: localhost:2100 -- Sending Client Handshake +2012-12-05 16:17:35.325767 T [48209:70185147128540] [50bfb9ef6b6933bc51000004] RubySkynet::Connection: localhost:2100 -- Client Handshake -- {"clientid"=>"50bfb9ef6b6933bc51000005"} +2012-12-05 16:17:35.325786 T [48209:70185147128540] [50bfb9ef6b6933bc51000004] ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sending -- ,clientid50bfb9ef6b6933bc51000005 +2012-12-05 16:17:35.325829 D [48209:70185147128540] [50bfb9ef6b6933bc51000004] (0.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sent 44 bytes +2012-12-05 16:17:35.325887 D [48209:70185147128540] [50bfb9ef6b6933bc51000004] RubySkynet::Connection: localhost:2100 -- Sending Header +2012-12-05 16:17:35.325897 T [48209:70185147128540] [50bfb9ef6b6933bc51000004] RubySkynet::Connection: localhost:2100 -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 16:17:35.325917 T [48209:70185147128540] [50bfb9ef6b6933bc51000004] ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sending -- 5servicemethodTestService.Forwardseq +2012-12-05 16:17:35.325961 D [48209:70185147128540] [50bfb9ef6b6933bc51000004] (0.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sent 53 bytes +2012-12-05 16:17:35.325994 D [48209:70185147128540] [50bfb9ef6b6933bc51000004] RubySkynet::Connection: localhost:2100 -- Sending Request +2012-12-05 16:17:35.326000 T [48209:70185147128540] [50bfb9ef6b6933bc51000004] RubySkynet::Connection: localhost:2100 -- Request -- {"clientid"=>"50bfb9ef6b6933bc51000005", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"echo", "requestinfo"=>{"requestid"=>"50bfb9ef6b6933bc51000004", "retrycount"=>0, "originaddress"=>""}} +2012-12-05 16:17:35.326006 T [48209:70185147128540] [50bfb9ef6b6933bc51000004] RubySkynet::Connection: localhost:2100 -- Parameters: -- {"some"=>"parameters"} +2012-12-05 16:17:35.326030 T [48209:70185147128540] [50bfb9ef6b6933bc51000004] ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sending -- clientid50bfb9ef6b6933bc51000005insome parametersmethodechorequestinfoQrequestid50bfb9ef6b6933bc51000004retrycountoriginaddress +2012-12-05 16:17:35.326070 D [48209:70185147128540] [50bfb9ef6b6933bc51000004] (0.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #write ==> sent 190 bytes +2012-12-05 16:17:35.326083 D [48209:70185147128540] [50bfb9ef6b6933bc51000004] RubySkynet::Connection: localhost:2100 -- Reading header from server +2012-12-05 16:17:35.326556 D [48209:70185147731100] RubySkynet::Server -- +****************** +2012-12-05 16:17:35.326571 D [48209:70185147731100] RubySkynet::Server -- Received Request +2012-12-05 16:17:35.326581 T [48209:70185147731100] RubySkynet::Server -- Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 16:17:35.328708 T [48209:70185147731100] RubySkynet::Server -- Request -- {"clientid"=>"50bfb9ef6b6933bc51000005", "in"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00", "method"=>"echo", "requestinfo"=>{"requestid"=>"50bfb9ef6b6933bc51000004", "retrycount"=>0, "originaddress"=>""}} +2012-12-05 16:17:35.328792 T [48209:70185147731100] RubySkynet::Server -- Parameters -- {"some"=>"parameters"} +2012-12-05 16:17:35.328816 T [48209:70185147731100] RubySkynet::Server -- Method Call: echo with parameters: -- {"some"=>"parameters"} +2012-12-05 16:17:35.328829 D [48209:70185147731100] (0.0ms) RubySkynet::Server -- Called: TestService#echo +2012-12-05 16:17:35.328847 D [48209:70185147731100] RubySkynet::Server -- Sending Header +2012-12-05 16:17:35.329003 D [48209:70185147731100] RubySkynet::Server -- Sending Reply +2012-12-05 16:17:35.329015 T [48209:70185147731100] RubySkynet::Server -- Reply -- {"some"=>"parameters"} +2012-12-05 16:17:35.329737 T [48209:70185147128540] [50bfb9ef6b6933bc51000004] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "5\x00\x00\x00" +2012-12-05 16:17:35.329750 D [48209:70185147128540] [50bfb9ef6b6933bc51000004] (3.7ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 4 bytes +2012-12-05 16:17:35.329800 T [48209:70185147128540] [50bfb9ef6b6933bc51000004] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "\x02servicemethod\x00\x14\x00\x00\x00TestService.Forward\x00\x10seq\x00\x00\x00\x00\x00\x00" +2012-12-05 16:17:35.329806 D [48209:70185147128540] [50bfb9ef6b6933bc51000004] (0.0ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 49 bytes +2012-12-05 16:17:35.329835 D [48209:70185147128540] [50bfb9ef6b6933bc51000004] RubySkynet::Connection: localhost:2100 -- Response Header -- {"servicemethod"=>"TestService.Forward", "seq"=>0} +2012-12-05 16:17:35.329842 D [48209:70185147128540] [50bfb9ef6b6933bc51000004] RubySkynet::Connection: localhost:2100 -- Reading response from server +2012-12-05 16:17:35.330347 T [48209:70185147128540] [50bfb9ef6b6933bc51000004] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- ")\x00\x00\x00" +2012-12-05 16:17:35.330347 D [48209:70185147128540] [50bfb9ef6b6933bc51000004] (0.5ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 4 bytes +2012-12-05 16:17:35.330466 T [48209:70185147128540] [50bfb9ef6b6933bc51000004] ResilientSocket::TCPClient ["localhost:2100"] -- #read <== received -- "\x02out\x00\e\x00\x00\x00\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00\x00\x00" +2012-12-05 16:17:35.330474 D [48209:70185147128540] [50bfb9ef6b6933bc51000004] (0.1ms) ResilientSocket::TCPClient ["localhost:2100"] -- #read <== read 37 bytes +2012-12-05 16:17:35.330511 T [48209:70185147128540] [50bfb9ef6b6933bc51000004] RubySkynet::Connection: localhost:2100 -- Response -- {"out"=>"\x1A\x00\x00\x00\x02some\x00\v\x00\x00\x00parameters\x00\x00"} +2012-12-05 16:17:35.330536 T [48209:70185147128540] [50bfb9ef6b6933bc51000004] RubySkynet::Connection: localhost:2100 -- Return Value -- {"some"=>"parameters"} +2012-12-05 16:17:35.330557 I [48209:70185147128540] [50bfb9ef6b6933bc51000004] (7.9ms) RubySkynet::Client: TestService/1/Test -- Called Skynet Service: TestService.echo +2012-12-05 16:17:35.330896 I [48209:70185147731100] RubySkynet::Server -- Skynet Server Stopped +2012-12-05 16:17:35.330973 D [48209:70185147731100] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007faa81aa09a0>(70185148286160) self=connections=70185148286160 checked_out=70185148286160 with_map= +2012-12-05 16:17:35.331295 T [48209:70185147731100] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- <"+/services/TestService/1/Test/localhost/2100H +2012-12-05 16:17:35.331342 D [48209:70185147731100] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 64 bytes +2012-12-05 16:17:35.333427 T [48209:70185152879320] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x006" +2012-12-05 16:17:35.333455 D [48209:70185152879320] (12.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 16:17:35.336017 T [48209:70185147731100] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 16:17:35.336033 D [48209:70185147731100] (4.7ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 16:17:35.336556 T [48209:70185147731100] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00" +2012-12-05 16:17:35.336569 D [48209:70185147731100] (0.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 2 bytes +2012-12-05 16:17:35.336700 D [48209:70185147731100] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007faa81aa09a0>(70185148286160) self=connections=70185148286160 checked_out= with_map= +2012-12-05 16:17:35.336896 I [48209:70185147731100] RubySkynet::Server -- Skynet Services De-registered in Doozer +2012-12-05 16:17:35.339418 T [48209:70185152879320] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\b\x18\xD9-*+/services/TestService/1/Test/localhost/21002\x00" +2012-12-05 16:17:35.339429 D [48209:70185152879320] (5.9ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 54 bytes +2012-12-05 16:17:35.340312 D [48209:70185152879320] RubySkynet::Registry -- #monitor Service stopped, remove: TestService/1/Test => localhost:2100 +2012-12-05 16:17:35.340312 I [48209:70185152879320] RubySkynet::Registry -- Calling callback for server: localhost:2100 +2012-12-05 16:17:35.340401 D [48209:70185152879320] RubySkynet::Connection -- Connection pool for server:localhost:2100 has been released +2012-12-05 16:17:35.340414 D [48209:70185152879320] RubySkynet::Registry -- Updated registry -- {} +2012-12-05 16:17:35.340654 T [48209:70185152879320] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H- +2012-12-05 16:17:35.340701 D [48209:70185152879320] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 16:17:35.342514 D [48209:70185147697540] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007faa81aa09a0>(70185148286160) self=connections=70185148286160 checked_out=70185148286160 with_map= +2012-12-05 16:17:35.342887 T [48209:70185147697540] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "+/services/TestService/1/Test/localhost/2100*{"Config":{"UUID":"localhost:2100-48209-TestService-70185153308480","Name":"TestService","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"localhost","Port":2100,"MaxPort":3099}},"Registered":true}H +2012-12-05 16:17:35.342937 D [48209:70185147697540] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 272 bytes +2012-12-05 16:17:35.344465 T [48209:70185147697540] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 16:17:35.344478 D [48209:70185147697540] (1.5ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 16:17:35.344634 T [48209:70185152879320] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01\x04" +2012-12-05 16:17:35.344642 D [48209:70185152879320] (3.9ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 16:17:35.345853 T [48209:70185152879320] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xDA-*+/services/TestService/1/Test/localhost/21002\xCD\x01{\"Config\":{\"UUID\":\"localhost:2100-48209-TestService-70185153308480\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-05 16:17:35.345867 D [48209:70185152879320] (1.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 260 bytes +2012-12-05 16:17:35.346216 D [48209:70185152879320] RubySkynet::Registry -- #monitor Add/Update Service: TestService/1/Test => localhost:2100 +2012-12-05 16:17:35.346230 D [48209:70185152879320] RubySkynet::Registry -- Updated registry -- {"TestService/1/Test"=>["localhost:2100"]} +2012-12-05 16:17:35.347618 T [48209:70185152879320] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H- +2012-12-05 16:17:35.347718 D [48209:70185152879320] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 16:17:35.347783 T [48209:70185147697540] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xDA-" +2012-12-05 16:17:35.347791 D [48209:70185147697540] (3.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 16:17:35.348137 D [48209:70185147697540] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007faa81aa09a0>(70185148286160) self=connections=70185148286160 checked_out= with_map= +2012-12-05 16:17:35.348755 I [48209:70185147697540] RubySkynet::Server -- Starting listener on localhost:2100 +2012-12-05 16:17:35.348792 D [48209:70185147697540] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 16:17:35.353701 I [48209:70185147697540] RubySkynet::Server -- Skynet Server Stopped +2012-12-05 16:17:35.353803 D [48209:70185147697540] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007faa81aa09a0>(70185148286160) self=connections=70185148286160 checked_out=70185148286160 with_map= +2012-12-05 16:17:35.354129 T [48209:70185147697540] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- <"+/services/TestService/1/Test/localhost/2100H +2012-12-05 16:17:35.354402 D [48209:70185147697540] (0.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 64 bytes +2012-12-05 16:17:35.355745 T [48209:70185147697540] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 16:17:35.355758 D [48209:70185147697540] (1.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 16:17:35.355837 T [48209:70185152879320] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x006" +2012-12-05 16:17:35.355845 D [48209:70185152879320] (8.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 16:17:35.358601 T [48209:70185152879320] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\b\x18\xDB-*+/services/TestService/1/Test/localhost/21002\x00" +2012-12-05 16:17:35.358612 D [48209:70185152879320] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 54 bytes +2012-12-05 16:17:35.358758 D [48209:70185152879320] RubySkynet::Registry -- #monitor Service stopped, remove: TestService/1/Test => localhost:2100 +2012-12-05 16:17:35.358780 D [48209:70185152879320] RubySkynet::Registry -- Updated registry -- {} +2012-12-05 16:17:35.359000 T [48209:70185152879320] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H- +2012-12-05 16:17:35.359049 D [48209:70185152879320] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 16:17:35.359107 T [48209:70185147697540] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00" +2012-12-05 16:17:35.359115 D [48209:70185147697540] (3.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 2 bytes +2012-12-05 16:17:35.359185 D [48209:70185147697540] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007faa81aa09a0>(70185148286160) self=connections=70185148286160 checked_out= with_map= +2012-12-05 16:17:35.359202 I [48209:70185147697540] RubySkynet::Server -- Skynet Services De-registered in Doozer +2012-12-05 16:17:35.361701 D [48209:70185147704240] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007faa81aa09a0>(70185148286160) self=connections=70185148286160 checked_out=70185148286160 with_map= +2012-12-05 16:17:35.362079 T [48209:70185147704240] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending --  "+/services/TestService/1/Test/localhost/2100*{"Config":{"UUID":"localhost:2100-48209-TestService-70185153308480","Name":"TestService","Version":"1","Region":"Test","ServiceAddr":{"IPAddress":"localhost","Port":2100,"MaxPort":3099}},"Registered":true}H +2012-12-05 16:17:35.362290 D [48209:70185147704240] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 272 bytes +2012-12-05 16:17:35.363837 T [48209:70185152879320] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x01\x04" +2012-12-05 16:17:35.363850 D [48209:70185152879320] (4.8ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 16:17:35.363933 T [48209:70185147704240] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x05" +2012-12-05 16:17:35.363941 D [48209:70185147704240] (1.6ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 16:17:35.366691 T [48209:70185152879320] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\x04\x18\xDC-*+/services/TestService/1/Test/localhost/21002\xCD\x01{\"Config\":{\"UUID\":\"localhost:2100-48209-TestService-70185153308480\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-05 16:17:35.366884 D [48209:70185152879320] (3.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 260 bytes +2012-12-05 16:17:35.367216 D [48209:70185152879320] RubySkynet::Registry -- #monitor Add/Update Service: TestService/1/Test => localhost:2100 +2012-12-05 16:17:35.367230 D [48209:70185152879320] RubySkynet::Registry -- Updated registry -- {"TestService/1/Test"=>["localhost:2100"]} +2012-12-05 16:17:35.367716 T [48209:70185152879320] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H- +2012-12-05 16:17:35.367766 D [48209:70185152879320] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 16:17:35.367826 T [48209:70185147704240] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xDC-" +2012-12-05 16:17:35.367834 D [48209:70185147704240] (3.9ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 5 bytes +2012-12-05 16:17:35.367916 D [48209:70185147704240] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007faa81aa09a0>(70185148286160) self=connections=70185148286160 checked_out= with_map= +2012-12-05 16:17:35.368621 I [48209:70185147704240] RubySkynet::Server -- Starting listener on localhost:2100 +2012-12-05 16:17:35.368641 D [48209:70185147704240] RubySkynet::Server -- Waiting for a client to connect +2012-12-05 16:17:35.368975 D [48209:70185147128540] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007faa81aa09a0>(70185148286160) self=connections=70185148286160 checked_out=70185148286160 with_map= +2012-12-05 16:17:35.369214 T [48209:70185147128540] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- 1"+/services/TestService/1/Test/localhost/2100 +2012-12-05 16:17:35.369262 D [48209:70185147128540] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 53 bytes +2012-12-05 16:17:35.370042 T [48209:70185147128540] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\xD5" +2012-12-05 16:17:35.370056 D [48209:70185147128540] (0.8ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 16:17:35.370239 T [48209:70185147128540] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x18\xDC-2\xCD\x01{\"Config\":{\"UUID\":\"localhost:2100-48209-TestService-70185153308480\",\"Name\":\"TestService\",\"Version\":\"1\",\"Region\":\"Test\",\"ServiceAddr\":{\"IPAddress\":\"localhost\",\"Port\":2100,\"MaxPort\":3099}},\"Registered\":true}" +2012-12-05 16:17:35.370250 D [48209:70185147128540] (0.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 213 bytes +2012-12-05 16:17:35.370376 D [48209:70185147128540] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007faa81aa09a0>(70185148286160) self=connections=70185148286160 checked_out= with_map= +2012-12-05 16:17:35.371009 I [48209:70185147704240] RubySkynet::Server -- Skynet Server Stopped +2012-12-05 16:17:35.371082 D [48209:70185147704240] RubySkynet::Registry -- Doozer Connection Pool: Checkout connection #<RubySkynet::Doozer::Client:0x007faa81aa09a0>(70185148286160) self=connections=70185148286160 checked_out=70185148286160 with_map= +2012-12-05 16:17:35.371353 T [48209:70185147704240] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- <"+/services/TestService/1/Test/localhost/2100H +2012-12-05 16:17:35.371398 D [48209:70185147704240] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 64 bytes +2012-12-05 16:17:35.372959 T [48209:70185152879320] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x006" +2012-12-05 16:17:35.372972 D [48209:70185152879320] (5.2ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 16:17:35.374257 T [48209:70185152879320] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00\x10\b\x18\xDD-*+/services/TestService/1/Test/localhost/21002\x00" +2012-12-05 16:17:35.374271 D [48209:70185152879320] (1.3ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 54 bytes +2012-12-05 16:17:35.374470 D [48209:70185152879320] RubySkynet::Registry -- #monitor Service stopped, remove: TestService/1/Test => localhost:2100 +2012-12-05 16:17:35.374493 D [48209:70185152879320] RubySkynet::Registry -- Updated registry -- {} +2012-12-05 16:17:35.374703 T [48209:70185152879320] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sending -- "/services/*/*/*/*/*H- +2012-12-05 16:17:35.374777 D [48209:70185152879320] (0.1ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #write ==> sent 32 bytes +2012-12-05 16:17:35.374832 T [48209:70185147704240] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\x00\x00\x00\x02" +2012-12-05 16:17:35.374839 D [48209:70185147704240] (3.4ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 4 bytes +2012-12-05 16:17:35.374903 T [48209:70185147704240] ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== received -- "\b\x00" +2012-12-05 16:17:35.374910 D [48209:70185147704240] (0.0ms) ResilientSocket::TCPClient ["127.0.0.1:8046"] -- #read <== read 2 bytes +2012-12-05 16:17:35.374975 D [48209:70185147704240] RubySkynet::Registry -- Doozer Connection Pool: Checkin connection #<RubySkynet::Doozer::Client:0x007faa81aa09a0>(70185148286160) self=connections=70185148286160 checked_out= with_map= +2012-12-05 16:17:35.374993 I [48209:70185147704240] RubySkynet::Server -- Skynet Services De-registered in Doozer