Skip to content

Instantly share code, notes, and snippets.

@bowrocker
Created October 2, 2013 19:32
Show Gist options
  • Save bowrocker/6799290 to your computer and use it in GitHub Desktop.
Save bowrocker/6799290 to your computer and use it in GitHub Desktop.
Eunit for AT&T urgent issue, PR 415
[ 0 ] janderson::Jons-MacBook-Pro { ~/sandbox/develop/riak_ee/deps/riak_repl }-> ./rebar eunit skip_deps=true
==> riak_repl (eunit)
test/riak_core_cluster_mgr_tests.erl:87:<0.859.0>: get_known_clusters_when_empty_test(): {ok,[]}
src/riak_core_cluster_conn.erl:40:<0.856.0>: connecting to {cluster_by_addr,{"127.0.0.1",4097}}
test/riak_core_cluster_mgr_tests.erl:557:<0.875.0>: ctrlService: received connection from cluster: "undefined"
src/riak_core_cluster_conn.erl:80:<0.870.0>: Cluster Manager control channel client connected to remote {cluster_by_addr,
{"127.0.0.1",
4097}} at {"127.0.0.1",
4097} named "undefined"
test/riak_core_cluster_mgr_tests.erl:582:<0.884.0>: wants my name
test/riak_core_cluster_mgr_tests.erl:587:<0.884.0>: wants my members
test/riak_core_cluster_mgr_tests.erl:568:<0.884.0>: Cluster Manager: remote thinks my addr is {"127.0.0.1",4097}
test/riak_core_cluster_mgr_tests.erl:590:<0.884.0>: client thinks my Addr is {"127.0.0.1",4097}
src/riak_core_cluster_conn.erl:40:<0.856.0>: connecting to {cluster_by_name,"betty"}
test/riak_core_cluster_mgr_tests.erl:595:<0.884.0>: Failed recv on control channel. Error = closed
src/riak_core_cluster_conn.erl:72:<0.885.0>: ClusterManager Client: connect_failed to {cluster_by_name,"betty"} because {error,
{unknown_target_type,
cluster_by_name}}. Will retry.
src/riak_core_cluster_conn.erl:40:<0.856.0>: connecting to {cluster_by_name,"betty"}
src/riak_core_cluster_conn.erl:72:<0.886.0>: ClusterManager Client: connect_failed to {cluster_by_name,"betty"} because {error,
{unknown_target_type,
cluster_by_name}}. Will retry.
src/riak_core_cluster_conn.erl:40:<0.856.0>: connecting to {cluster_by_name,"betty"}
src/riak_core_cluster_conn.erl:72:<0.887.0>: ClusterManager Client: connect_failed to {cluster_by_name,"betty"} because {error,
{unknown_target_type,
cluster_by_name}}. Will retry.
src/riak_core_cluster_conn.erl:40:<0.856.0>: connecting to {cluster_by_name,"betty"}
src/riak_core_cluster_conn.erl:72:<0.888.0>: ClusterManager Client: connect_failed to {cluster_by_name,"betty"} because {error,
{unknown_target_type,
cluster_by_name}}. Will retry.
src/riak_core_cluster_conn.erl:40:<0.856.0>: connecting to {cluster_by_name,"betty"}
src/riak_core_cluster_conn.erl:72:<0.889.0>: ClusterManager Client: connect_failed to {cluster_by_name,"betty"} because {error,
{unknown_target_type,
cluster_by_name}}. Will retry.
src/riak_core_cluster_conn.erl:40:<0.856.0>: connecting to {cluster_by_name,"betty"}
src/riak_core_cluster_conn.erl:72:<0.890.0>: ClusterManager Client: connect_failed to {cluster_by_name,"betty"} because {error,
{unknown_target_type,
cluster_by_name}}. Will retry.
src/riak_core_cluster_conn.erl:40:<0.856.0>: connecting to {cluster_by_name,"betty"}
src/riak_core_cluster_conn.erl:72:<0.891.0>: ClusterManager Client: connect_failed to {cluster_by_name,"betty"} because {error,
{unknown_target_type,
cluster_by_name}}. Will retry.
src/riak_core_cluster_conn.erl:40:<0.856.0>: connecting to {cluster_by_name,"betty"}
src/riak_core_cluster_conn.erl:72:<0.892.0>: ClusterManager Client: connect_failed to {cluster_by_name,"betty"} because {error,
{unknown_target_type,
cluster_by_name}}. Will retry.
src/riak_core_cluster_conn.erl:40:<0.856.0>: connecting to {cluster_by_name,"betty"}
src/riak_core_cluster_conn.erl:72:<0.893.0>: ClusterManager Client: connect_failed to {cluster_by_name,"betty"} because {error,
{unknown_target_type,
cluster_by_name}}. Will retry.
src/riak_core_cluster_conn.erl:40:<0.856.0>: connecting to {cluster_by_name,"betty"}
src/riak_core_cluster_conn.erl:72:<0.894.0>: ClusterManager Client: connect_failed to {cluster_by_name,"betty"} because {error,
{unknown_target_type,
cluster_by_name}}. Will retry.
src/riak_core_cluster_conn.erl:40:<0.856.0>: connecting to {cluster_by_name,"betty"}
src/riak_core_cluster_conn.erl:72:<0.895.0>: ClusterManager Client: connect_failed to {cluster_by_name,"betty"} because {error,
{unknown_target_type,
cluster_by_name}}. Will retry.
=INFO REPORT==== 2-Oct-2013::15:26:39 ===
application: ranch
exited: stopped
type: temporary
=INFO REPORT==== 2-Oct-2013::15:26:39 ===
application: ranch
exited: stopped
type: temporary
=ERROR REPORT==== 2-Oct-2013::15:26:39 ===
** Generic server riak_repl2_leader_gs terminating
** Last message in was {'EXIT',<0.924.0>,killed}
** When Server state == {state,<0.935.0>,true,nonode@nohost,<0.926.0>,
undefined,
[#Fun<riak_core_cluster_mgr.set_leader.2>],
[nonode@nohost],
[],
{interval,#Ref<0.0.0.16165>},
undefined}
** Reason for termination ==
** killed
=ERROR REPORT==== 2-Oct-2013::15:26:39 ===
** Generic server riak_repl_leader_gs terminating
** Last message in was {'EXIT',<0.924.0>,killed}
** When Server state == {state,<0.1141.0>,true,nonode@nohost,undefined,
[nonode@nohost],
[],[],
{interval,#Ref<0.0.0.16162>},
0,
{0,0,0}}
** Reason for termination ==
** killed
=ERROR REPORT==== 2-Oct-2013::15:26:39 ===
** Generic server riak_core_cluster_mgr_sup terminating
** Last message in was {'EXIT',<0.924.0>,killed}
** When Server state == {state,
{local,riak_core_cluster_mgr_sup},
rest_for_one,
[{child,<0.1144.0>,riak_core_tcp_mon,
{riak_core_tcp_mon,start_link,[]},
permanent,5000,worker,
[riak_core_tcp_mon]},
{child,<0.1143.0>,riak_repl_cluster_mgr,
{riak_core_cluster_mgr,start_link,
[#Fun<riak_repl_app.cluster_mgr_member_fun.1>,
#Fun<riak_repl_app.cluster_mgr_write_cluster_members_to_ring.2>,
#Fun<riak_repl_app.cluster_mgr_read_cluster_targets_from_ring.0>]},
permanent,5000,worker,
[riak_core_cluster_mgr]},
{child,<0.1135.0>,riak_core_cluster_conn_sup,
{riak_core_cluster_conn_sup,start_link,[]},
permanent,infinity,supervisor,
[riak_core_cluster_conn_sup]},
{child,<0.1134.0>,riak_core_connection_mgr,
{riak_core_connection_mgr,start_link,[]},
permanent,5000,worker,
[riak_core_connection_mgr]},
{child,<0.928.0>,riak_core_service_mgr,
{riak_core_service_mgr,start_link,[]},
permanent,5000,worker,
[riak_core_service_mgr]}],
undefined,9,10,
[{1380,741999,717071}],
riak_core_cluster_mgr_sup,[]}
** Reason for termination ==
** killed
15:26:39.853 [info] Application lager started on node nonode@nohost
15:26:39.853 [warning] Unable to find an approximate match for 192.168.0.1/15,trying to guess one.
15:26:39.853 [notice] Guessed 10.4.0.99 to match 192.168.0.1/15
15:26:39.862 [warning] Unable to find an approximate match for 64.8.8.1/7,trying to guess one.
15:26:39.862 [notice] Guessed 8.0.8.8 to match 64.8.8.1/7
15:26:39.868 [warning] Unable to find an approximate match for 172.16.0.1/11,trying to guess one.
15:26:39.868 [warning] Unable to guess an appropriate local IP to match 172.16.0.1/11
15:26:39.871 [warning] Unable to find an approximate match for 172.0.8.8/7,trying to guess one.
15:26:39.871 [warning] Unable to guess an appropriate local IP to match 172.0.8.8/7
15:26:39.874 [warning] Unable to find an approximate match for 8.8.8.1/7,trying to guess one.
15:26:39.874 [warning] Unable to guess an appropriate local IP to match 8.8.8.1/7
15:26:39.886 [warning] NAT detected, do you need to define a nat-map?
=INFO REPORT==== 2-Oct-2013::15:26:39 ===
application: lager
exited: stopped
type: permanent
=INFO REPORT==== 2-Oct-2013::15:26:54 ===
application: folsom
exited: stopped
type: temporary
rt_source_eqc: prop_test_ (module 'rt_source_eqc')...*failed*
::{assertion_failed,[{module,rt_source_eqc},
{line,40},
{expression,"eqc : quickcheck ( eqc : numtests ( 10 , ? MODULE : prop_main ( ) ) )"},
{expected,true},
{value,false}]}
output:<<"..Failed! After 3 tests.
[{set,{var,1},{call,rt_source_eqc,connect_to_v2,["c",[]]}},
{set,
{var,2},
{call,rt_source_eqc,ack_objects,
[0,{"c",{src_state,{var,1},2,undefined,0,[]}}]}},
{set,
{var,3},
{call,rt_source_eqc,push_object,
[[],
{r_object,<<>>,<<>>,
[{r_content,
{dict,0,16,16,8,80,48,
{[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[]},
{{[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[]}}},
<<>>}],
[],
{dict,1,16,16,8,80,48,
{[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[]},
{{[],[],[],[],[],[],[],[],[],[],[],[],[],[],
[[clean|true]],
[]}">>...
riak_repl2_rt_source_sink_tests: connection_test_ (sending objects)...*failed*
::{assertEqual_failed,[{module,riak_repl2_rt_source_sink_tests},
{line,88},
{expression,"MeckOk"},
{expected,ok},
{value,{error,timeout}}]}
riak_repl2_rt_source_sink_tests: connection_test_ (assert done)...*failed*
::{badmatch,{error,nostate}}
riak_repl2_rt_source_sink_tests: connection_test_ (sending objects)...*failed*
::{assertEqual_failed,[{module,riak_repl2_rt_source_sink_tests},
{line,135},
{expression,"MeckOk"},
{expected,ok},
{value,{error,timeout}}]}
riak_repl2_rt_source_sink_tests: connection_test_ (assert done)...*failed*
::{badmatch,{error,nostate}}
=======================================================
Failed: 5. Skipped: 0. Passed: 138.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment