Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

riak_core_info_service #898

Merged
merged 28 commits into from
Mar 3, 2017
Merged

riak_core_info_service #898

merged 28 commits into from
Mar 3, 2017

Conversation

JeetKunDoug
Copy link
Contributor

@JeetKunDoug JeetKunDoug commented Feb 14, 2017

This PR implements the riak_core_info_service set of processes - a supervisor and one or more children that are created to support NIFs that need to call in to Riak to get information.

  • riak_core_info_service - API
  • riak_core_info_service_sup - supervisor for riak_core_info_service_process processes.
  • riak_core_info_service_process - a lightweight process that can respond to a specified request by invoking a function and calling a callback to return the results.

See riak_core_app.erl for an example of registering and starting a service.

TODO:

  • Decide if hard-coding the eleveldb service registration is acceptable, or if we want to use a more indirect method of registering the callbacks in this case (cuttlefish schema perhaps? Do we have other ways of doing this that don't require eleveldb to directly call in to riak_core?)
  • Perhaps make the riak_core_info_service_process a gen_server at this point.
  • Add copyright banners

lehoff and others added 10 commits February 13, 2017 15:59
riak_core_info_service*.erl files contains the solution.
Changed the code placement of where the result to give back to the dependent process happens.
Now the Result is calculated in the riak_core_info_service_process callback_router function and then the handler is invoked.
- Add `state` record to `riak_core_info_service_process` to resolve issues with order of parameters.
- Make children of `riak_core_info_service_sup` `permanent` rather than `temporary`
…tails.

- Also, rename `get` handler to `invoke`
@thumbot
Copy link

thumbot commented Feb 14, 2017

Thanks @JeetKunDoug!

Settings
---
minimum_reviewers: 2
merge: true
build_steps:
- make clean
- make deps
- make compile
- make test
- make xref
- make dialyzer
org_mode: true
timeout: 1800

@thumbot
Copy link

thumbot commented Feb 14, 2017

dr-th/service-poc 047c3a5 ➡️ develop 8e4cf95 ✅ completed
Looks good! 👍
✅ MERGE

Started at: 2017-02-14 07:46
Duration: 1 seconds.
Result: OK
Message: Merge Success: dr-th/service-poc 047c3a5 onto target branch: develop 8e4cf95
Exit Code: OK

📄







  Merge made by the 'recursive' strategy.
 src/riak_core_app.erl                  |  10 +++
 src/riak_core_info_service.erl         |  44 +++++++++++++
 src/riak_core_info_service_process.erl | 113 +++++++++++++++++++++++++++++++++
 src/riak_core_info_service_sup.erl     |  30 +++++++++
 src/riak_core_sup.erl                  |   1 +
 5 files changed, 198 insertions(+)
 create mode 100644 src/riak_core_info_service.erl
 create mode 100644 src/riak_core_info_service_process.erl
 create mode 100644 src/riak_core_info_service_sup.erl




✅ MAKE_CLEAN

Started at: 2017-02-14 07:46
Duration: 1 seconds.
Result: OK
Message: OK
Exit Code: 0

📄


cd /tmp/thumbs/develop.8e4cf95.dr-th_service-poc.047c3a5; make clean




  ./rebar clean
==> develop.8e4cf95.dr-th_service-poc.047c3a5 (clean)





✅ MAKE_DEPS

Started at: 2017-02-14 07:46
Duration: 12 seconds.
Result: OK
Message: OK
Exit Code: 0

📄


cd /tmp/thumbs/develop.8e4cf95.dr-th_service-poc.047c3a5; make deps




  ./rebar get-deps
==> develop.8e4cf95.dr-th_service-poc.047c3a5 (get-deps)
Pulling lager from {git,"git://github.com/basho/lager.git",{tag,"3.2.4"}}
Cloning into 'lager'...
Pulling poolboy from {git,"git://github.com/basho/poolboy.git",
                          {tag,"0.8.1p3"}}
Cloning into 'poolboy'...
Pulling basho_stats from {git,"git://github.com/basho/basho_stats.git",
                              {tag,"1.0.3"}}
Cloning into 'basho_stats'...
Pulling riak_sysmon from {git,"git://github.com/basho/riak_sysmon.git",
                              {tag,"2.1.4"}}
Cloning into 'riak_sysmon'...
Pulling eleveldb from {git,"git://github.com/basho/eleveldb.git",
                           {tag,"2.0.32"}}
Cloning into 'eleveldb'...
Pulling riak_ensemble from {git,"git://github.com/basho/riak_ensemble",
                                {tag,"2.1.6"}}
Cloning into 'riak_ensemble'...
Pulling pbkdf2 from {git,"git://github.com/basho/erlang-pbkdf2.git",
                         {tag,"2.0.0"}}
Cloning into 'pbkdf2'...
Pulling exometer_core from {git,"git://github.com/basho/exometer_core.git",
                                {tag,"1.0.0-basho9"}}
Cloning into 'exometer_core'...
Pulling clique from {git,"https://github.com/basho/clique.git",{tag,"0.3.8"}}
Cloning into 'clique'...
==> lager (get-deps)
Pulling goldrush from {git,"https://github.com/basho/goldrush.git",
                           {tag,"0.1.9"}}
Cloning into 'goldrush'...
==> goldrush (get-deps)
==> poolboy (get-deps)
==> basho_stats (get-deps)
==> riak_sysmon (get-deps)
Pulling cuttlefish from {git,"https://github.com/basho/cuttlefish.git",
                             {tag,"2.0.10"}}
Cloning into 'cuttlefish'...
==> cuttlefish (get-deps)
Pulling getopt from {git,"https://github.com/basho/getopt.git",{tag,"v0.8.2"}}
Cloning into 'getopt'...
Pulling neotoma from {git,"https://github.com/basho/neotoma.git",
                          {tag,"1.7.3"}}
Cloning into 'neotoma'...
==> getopt (get-deps)
==> neotoma (get-deps)
==> eleveldb (get-deps)
Cloning into 'leveldb'...
Note: checking out '2.0.31'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b new_branch_name

HEAD is now at e6a2939... add (int) cast to fix compile errors on 10 of 16 platforms ... argh.
==> riak_ensemble (get-deps)
==> pbkdf2 (get-deps)
==> src (get-deps)
==> exometer_core (get-deps)
Pulling parse_trans from {git,"git://github.com/basho/parse_trans.git",
                              {tag,"2.9.2p1"}}
Cloning into 'parse_trans'...
Pulling folsom from {git,"git://github.com/basho/folsom.git",{tag,"0.7.4p5"}}
Cloning into 'folsom'...
Pulling setup from {git,"git://github.com/basho/setup.git",{tag,"1.4"}}
Cloning into 'setup'...
==> parse_trans (get-deps)
Pulling edown from {git,"git://github.com/basho/edown.git",{tag,"0.8.1"}}
Cloning into 'edown'...
==> edown (get-deps)
==> folsom (get-deps)
Pulling bear from {git,"git://github.com/basho/bear.git",{tag,"0.1.3p1"}}
Cloning into 'bear'...
Pulling meck from {git,"git://github.com/basho/meck.git",{tag,"0.8.2"}}
Cloning into 'meck'...
==> bear (get-deps)
==> meck (get-deps)
==> setup (get-deps)
==> clique (get-deps)





✅ MAKE_COMPILE

Started at: 2017-02-14 07:47
Duration: 33 seconds.
Result: OK
Message: OK
Exit Code: 0

📄


cd /tmp/thumbs/develop.8e4cf95.dr-th_service-poc.047c3a5; make compile




  
  
... Snipped 636 lines ...
d -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY  -DLEVELDB_VSN="2.0.31" -O2 -g -DNDEBUG     -fPIC tools/perf_dump.cc -o perf_dump -L . -Wl,-non_shared -lleveldb -Wl,-call_shared -m64  -L/tmp/thumbs/develop.8e4cf95.dr-th_service-poc.047c3a5/deps/eleveldb/c_src/system/lib -pthread -lrt -Wl,-non_shared -lsnappy -Wl,-call_shared
c++ -m64  -Wall -O3 -fPIC -I /tmp/thumbs/develop.8e4cf95.dr-th_service-poc.047c3a5/deps/eleveldb/c_src/system/include -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY  -DLEVELDB_VSN="2.0.31" -O2 -g -DNDEBUG     -fPIC tools/sst_rewrite.cc -o sst_rewrite -L . -Wl,-non_shared -lleveldb -Wl,-call_shared -m64  -L/tmp/thumbs/develop.8e4cf95.dr-th_service-poc.047c3a5/deps/eleveldb/c_src/system/lib -pthread -lrt -Wl,-non_shared -lsnappy -Wl,-call_shared
c++ -m64  -Wall -O3 -fPIC -I /tmp/thumbs/develop.8e4cf95.dr-th_service-poc.047c3a5/deps/eleveldb/c_src/system/include -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY  -DLEVELDB_VSN="2.0.31" -O2 -g -DNDEBUG     -fPIC tools/sst_scan.cc -o sst_scan -L . -Wl,-non_shared -lleveldb -Wl,-call_shared -m64  -L/tmp/thumbs/develop.8e4cf95.dr-th_service-poc.047c3a5/deps/eleveldb/c_src/system/lib -pthread -lrt -Wl,-non_shared -lsnappy -Wl,-call_shared
make[1]: Leaving directory `/tmp/thumbs/develop.8e4cf95.dr-th_service-poc.047c3a5/deps/eleveldb/c_src/leveldb'
Compiled src/eleveldb_bump.erl
Compiled src/eleveldb.erl
Compiling c_src/eleveldb.cc
Compiling c_src/refobjects.cc
Compiling c_src/workitems.cc
==> riak_ensemble (compile)
Compiled src/riak_ensemble_backend.erl
Compiled src/riak_ensemble_sup.erl
Compiled src/synctree_orddict.erl
Compiled src/riak_ensemble_client.erl
Compiled src/riak_ensemble_router.erl
Compiled src/riak_ensemble_config.erl
Compiled src/riak_ensemble_router_sup.erl
Compiled src/synctree.erl
Compiled src/riak_ensemble_lease.erl
Compiled src/riak_ensemble_test.erl
Compiled src/synctree_leveldb.erl
Compiled src/riak_ensemble_manager.erl
Compiled src/riak_ensemble_exchange.erl
Compiled src/riak_ensemble_root.erl
Compiled src/riak_ensemble_save.erl
Compiled src/riak_ensemble_clock.erl
Compiled src/riak_ensemble_peer_worker.erl
Compiled src/riak_ensemble_app.erl
Compiled src/riak_ensemble_basic_backend.erl
Compiled src/riak_ensemble_state.erl
Compiled src/riak_ensemble_peer_tree.erl
Compiled src/riak_ensemble_storage.erl
Compiled src/riak_ensemble_peer_sup.erl
Compiled src/synctree_ets.erl
Compiled src/riak_ensemble_util.erl
Compiled src/riak_ensemble_msg.erl
Compiled src/riak_ensemble_peer.erl
Compiling c_src/riak_ensemble_clock.c
==> pbkdf2 (compile)
Compiled src/pbkdf2.erl
==> edown (compile)
Compiled src/edown_make.erl
Compiled src/edown_lib.erl
Compiled src/edown_xmerl.erl
Compiled src/edown_doclet.erl
Compiled src/edown_layout.erl
==> parse_trans (compile)
Compiled src/parse_trans.erl
Compiled src/parse_trans_pp.erl
Compiled src/parse_trans_codegen.erl
Compiled src/parse_trans_mod.erl
Compiled src/ct_expand.erl
Compiled src/exprecs.erl
==> bear (compile)
Compiled src/bear.erl
==> meck (compile)
Compiled src/meck_cover.erl
Compiled src/meck_expect.erl
Compiled src/meck_args_matcher.erl
Compiled src/meck_matcher.erl
Compiled src/meck_history.erl
Compiled src/meck.erl
Compiled src/meck_code_gen.erl
Compiled src/meck_util.erl
Compiled src/meck_code.erl
Compiled src/meck_ret_spec.erl
Compiled src/meck_proc.erl
==> folsom (compile)
Compiled src/folsom_sample_slide_sup.erl
Compiled src/folsom_sample_slide.erl
Compiled src/folsom_metrics_histogram.erl
Compiled src/folsom_ewma.erl
Compiled src/folsom_sample_none.erl
Compiled src/folsom_sample_exdec.erl
Compiled src/folsom_metrics_histogram_ets.erl
Compiled src/folsom_metrics_duration.erl
Compiled src/folsom.erl
Compiled src/folsom_sample.erl
Compiled src/folsom_metrics_meter_reader.erl
Compiled src/folsom_metrics.erl
Compiled src/folsom_vm_metrics.erl
Compiled src/folsom_sample_slide_uniform.erl
Compiled src/folsom_metrics_counter.erl
Compiled src/folsom_metrics_spiral.erl
Compiled src/folsom_meter_timer_server.erl
Compiled src/folsom_metrics_history.erl
Compiled src/folsom_sample_slide_server.erl
Compiled src/folsom_ets.erl
Compiled src/folsom_sup.erl
Compiled src/folsom_utils.erl
Compiled src/folsom_metrics_gauge.erl
Compiled src/folsom_metrics_meter.erl
Compiled src/folsom_sample_uniform.erl
==> setup (compile)
Compiled src/setup_lib.erl
Compiled src/setup_gen.erl
Compiled src/setup.erl
==> edown (escriptize)
==> setup (escriptize)
==> src (compile)
==> exometer_core (compile)
Compiled src/exometer_igor.erl
Compiled src/exometer_util.erl
Compiled src/exometer_entry.erl
Compiled src/exometer_probe.erl
Compiled src/exometer_report.erl
Compiled src/exometer_folsom_monitor.erl
Compiled src/exometer_folsom.erl
Compiled src/exometer_report_lager.erl
Compiled src/exometer_duration.erl
Compiled src/exometer_function.erl
Compiled src/exometer_core_sup.erl
Compiled src/exometer_slide.erl
Compiled src/exometer_slot_slide.erl
Compiled src/exometer_report_tty.erl
Compiled src/exometer_proc.erl
Compiled src/exo_montest.erl
Compiled src/exometer_cache.erl
Compiled src/exometer_spiral.erl
Compiled src/exometer_cpu.erl
Compiled src/exometer_alias.erl
Compiled src/exometer_shallowtree.erl
Compiled src/exometer_admin.erl
Compiled src/exometer_uniform.erl
Compiled src/exometer.erl
Compiled src/exometer_core_app.erl
Compiled src/exometer_info.erl
Compiled src/exometer_histogram.erl
==> clique (compile)
Compiled src/clique_writer.erl
Compiled src/clique_handler.erl
Compiled src/clique_test_group_leader.erl
Compiled src/clique_table.erl
Compiled src/clique_json_writer.erl
Compiled src/clique_config.erl
Compiled src/clique.erl
Compiled src/clique_typecast.erl
Compiled src/clique_status.erl
Compiled src/clique_human_writer.erl
Compiled src/clique_usage.erl
Compiled src/clique_error.erl
Compiled src/clique_manager.erl
Compiled src/clique_nodes.erl
Compiled src/clique_app.erl
Compiled src/clique_sup.erl
Compiled src/clique_csv_writer.erl
Compiled src/clique_parser.erl
Compiled src/clique_command.erl
Compiled src/clique_spec.erl
==> develop.8e4cf95.dr-th_service-poc.047c3a5 (compile)
Compiled src/gen_nb_server.erl
Compiled src/riak_core_gen_server.erl
Compiled src/riak_core_stat_xform.erl
Compiled src/riak_core_broadcast_handler.erl
Compiled src/riak_core_vnode_worker_pool.erl
Compiled src/chash.erl
Compiled src/riak_core_format.erl
Compiled src/riak_core_broadcast.erl
Compiled src/riak_core_ring_manager.erl
Compiled src/riak_core_dist_mon.erl
Compiled src/riak_core_handoff_sender_sup.erl
Compiled src/chashbin.erl
Compiled src/riak_core_vnode_proxy.erl
Compiled src/riak_core_status.erl
Compiled src/riak_core_repair.erl
Compiled src/riak_core_metadata_exchange_fsm.erl
Compiled src/riak_core_claim_sim.erl
Compiled src/riak_core_mochiglobal.erl
Compiled src/dvvset.erl
Compiled src/riak_core_vnode_manager.erl
Compiled src/riak_core_bucket.erl
Compiled src/vclock.erl
Compiled src/riak_core_bg_manager.erl
Compiled src/riak_core_node_watcher.erl
Compiled src/riak_core_dtrace.erl
Compiled src/riak_core_tracer.erl
Compiled src/riak_core_vnode_sup.erl
Compiled src/riak_core_test_util.erl
Compiled src/riak_core_sup.erl
Compiled src/riak_core_handoff_sup.erl
Compiled src/riak_core_nodeid.erl
Compiled src/riak_core_vnode_proxy_sup.erl
Compiled src/riak_core_stat.erl
Compiled src/hashtree.erl
Compiled src/riak_core_handoff_listener.erl
Compiled src/riak_core_cli_registry.erl
Compiled src/riak_core_tcp_mon.erl
Compiled src/riak_core_app.erl
Compiled src/riak_core_stat_calc_sup.erl
Compiled src/riak_core_util.erl
Compiled src/riak_core_ring_util.erl
Compiled src/supervisor_pre_r14b04.erl
Compiled src/riak_core_console_table.erl
Compiled src/riak_core_cinfo_core.erl
Compiled src/riak_core_net_ticktime.erl
Compiled src/riak_core_coverage_plan.erl
Compiled src/riak_core_ring.erl
Compiled src/riak_core_send_msg.erl
Compiled src/riak_core_cluster_cli.erl
Compiled src/riak_core_throttle.erl
Compiled src/riak_core_metadata.erl
Compiled src/hashtree_tree.erl
Compiled src/riak_core_stat_q.erl
Compiled src/riak_core_vnode_master.erl
Compiled src/riak_core_table_owner.erl
Compiled src/process_proxy.erl
Compiled src/riak_core_ring_handler.erl
Compiled src/riak_core_exo_monitor.erl
Compiled src/riak_core_stat_calc_proc.erl
Compiled src/riak_core_claim_util.erl
Compiled src/riak_core_eventhandler_sup.erl
Compiled src/riak_core_metadata_object.erl
Compiled src/riak_core_handoff_listener_sup.erl
Compiled src/riak_core_sysmon_minder.erl
Compiled src/riak_core_pw_auth.erl
Compiled src/app_helper.erl
Compiled src/riak_core_stat_sup.erl
Compiled src/riak_core_node_watcher_events.erl
Compiled src/riak_core_sysmon_handler.erl
Compiled src/riak_core_handoff_cli.erl
Compiled src/riak_core_console.erl
Compiled src/riak_core_metadata_manager.erl
Compiled src/riak_core_vnode_worker.erl
Compiled src/riak_core_bucket_props.erl
Compiled src/riak_core_info_service_sup.erl
Compiled src/riak_core_metadata_hashtree.erl
Compiled src/bloom.erl
Compiled src/riak_core_handoff_status.erl
Compiled src/riak_core_handoff_sender.erl
Compiled src/riak_core_ring_events.erl
Compiled src/riak_core_gossip.erl
Compiled src/riak_core_coverage_fsm.erl
Compiled src/riak_core_ssl_util.erl
Compiled src/riak_core_claimant.erl
Compiled src/riak_core_bucket_type.erl
Compiled src/riak_core_stats_sup.erl
Compiled src/riak_core_handoff_receiver.erl
Compiled src/riak_core_security.erl
Compiled src/riak_core_handoff_receiver_sup.erl
Compiled src/riak_core_info_service.erl
Compiled src/riak_core_claim.erl
Compiled src/riak_core_new_claim.erl
Compiled src/riak_core_stat_cache.erl
Compiled src/riak_core_handoff_manager.erl
Compiled src/riak_core_apl.erl
Compiled src/riak_core.erl
Compiled src/riak_core_priority_queue.erl
Compiled src/riak_core_info_service_process.erl
Compiled src/riak_core_vnode.erl
Compiled src/riak_core_eventhandler_guard.erl
Compiled src/riak_core_base64url.erl
Compiled src/riak_core_capability.erl





✅ MAKE_TEST

Started at: 2017-02-14 07:47
Duration: 575 seconds.
Result: OK
Message: OK
Exit Code: 0

📄


cd /tmp/thumbs/develop.8e4cf95.dr-th_service-poc.047c3a5; make test




  
  
... Snipped 1390 lines ...
ated
07:55:38.875 [info] Application lager started on node nonode@nohost
  sync_command_test: sync_test_ (Assert sync exit)...07:55:38.875 [error] CRASH REPORT Process <0.24245.0> with 0 neighbours exited with reason: {{already_started,<0.6653.0>},{exometer_core_app,start,[normal,[]]}} in application_master:init/4 line 133
ok
07:55:38.876 [info] Application exometer_core exited with reason: {{already_started,<0.6653.0>},{exometer_core_app,start,[normal,[]]}}
07:55:38.879 [error] mock_vnode command failed core_breach
07:55:38.880 [error] gen_fsm <0.24254.0> in state active terminated with reason: core_breach
07:55:38.880 [error] CRASH REPORT Process <0.24254.0> with 0 neighbours exited with reason: core_breach in gen_fsm:terminate/7 line 622
07:55:38.880 [error] Supervisor riak_core_vnode_sup had child undefined started with {riak_core_vnode,start_link,undefined} at <0.24254.0> exit with reason core_breach in context child_terminated
07:55:38.933 [info] Application lager started on node nonode@nohost
  sync_command_test: sync_test_ (Assert non-blocking sync error)...07:55:38.933 [error] CRASH REPORT Process <0.24290.0> with 0 neighbours exited with reason: {{already_started,<0.6653.0>},{exometer_core_app,start,[normal,[]]}} in application_master:init/4 line 133
07:55:38.933 [info] Application exometer_core exited with reason: {{already_started,<0.6653.0>},{exometer_core_app,start,[normal,[]]}}
ok
07:55:38.953 [error] mock_vnode command failed {core_breach,[{mock_vnode,handle_command,3,[{file,"test/mock_vnode.erl"},{line,131}]},{riak_core_vnode,vnode_command,3,[{file,"src/riak_core_vnode.erl"},{line,346}]},{gen_fsm,handle_msg,7,[{file,"gen_fsm.erl"},{line,505}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,239}]}]}
07:55:38.953 [error] gen_fsm <0.24299.0> in state active terminated with reason: core_breach in mock_vnode:handle_command/3 line 131
07:55:38.953 [error] CRASH REPORT Process <0.24299.0> with 0 neighbours exited with reason: core_breach in mock_vnode:handle_command/3 line 131 in gen_fsm:terminate/7 line 622
07:55:38.954 [error] Supervisor riak_core_vnode_sup had child undefined started with {riak_core_vnode,start_link,undefined} at <0.24299.0> exit with reason core_breach in mock_vnode:handle_command/3 line 131 in context child_terminated
07:55:38.999 [info] Application lager started on node nonode@nohost
  sync_command_test: sync_test_ (Assert non-blocking sync exit)...ok
07:55:38.999 [error] CRASH REPORT Process <0.24336.0> with 0 neighbours exited with reason: {{already_started,<0.6653.0>},{exometer_core_app,start,[normal,[]]}} in application_master:init/4 line 133
07:55:38.999 [info] Application exometer_core exited with reason: {{already_started,<0.6653.0>},{exometer_core_app,start,[normal,[]]}}
07:55:39.003 [error] mock_vnode command failed core_breach
07:55:39.003 [error] gen_fsm <0.24345.0> in state active terminated with reason: core_breach
07:55:39.003 [error] CRASH REPORT Process <0.24345.0> with 0 neighbours exited with reason: core_breach in gen_fsm:terminate/7 line 622
07:55:39.003 [error] Supervisor riak_core_vnode_sup had child undefined started with {riak_core_vnode,start_link,undefined} at <0.24345.0> exit with reason core_breach in context child_terminated
  [done in 0.340 s]
module 'riak_core_ssl_util'
module 'riak_core_handoff_receiver'
module 'riak_core_ring_handler'
module 'test_guarded_event_handler'
  test_guarded_event_handler: guarded_handler_test_...[0.101 s] ok
  [done in 0.104 s]
module 'riak_core_vnode_worker'
module 'riak_core_handoff_manager'
  riak_core_handoff_manager:674: handoff_test_...ok
  riak_core_handoff_manager:675: handoff_test_...ok
  [done in 0.006 s]
module 'riak_core_dtrace'
  riak_core_dtrace: timeit_naive_test...timeit_naive                 average     1.488 usec/call over     500.0 calls
[0.013 s] ok
  riak_core_dtrace: timeit_mochiglobal_test...timeit_mochiglobal           average     2.325 usec/call over  225000.0 calls
[0.537 s] ok
  Skipping timeit_best_on test: no DTrace/SystemTap is available
riak_core_dtrace: timeit_best_off_test...ok
  riak_core_dtrace: timeit_best_onfalse_test...Skipping timeit_best_on test: no DTrace/SystemTap is available
Skipping timeit_best_on test: no DTrace/SystemTap is available
ok
  riak_core_dtrace: timeit_best_ontrue_test...NOTE: cover analysis will skew results.  Run without cover for true timings.
ok
  riak_core_dtrace: last_test...ok
  [done in 0.568 s]
riak_core_format: human_time_fmt_test (module 'riak_core_format')...ok
module 'riak_core_metadata_exchange_fsm'
module 'worker_pool_test'
  worker_pool_test: pool_test_...[1.201 s] ok
  worker_pool_test: pool_test_...[1.201 s] ok
  [done in 2.408 s]
module 'riak_core_vnode_master'
module 'riak_core_cluster_cli'
module 'riak_core_metadata_manager'
module 'claim_simulation'
module 'riak_core_claim'
  riak_core_claim: wants_claim_test...[0.004 s] ok
  riak_core_claim: find_biggest_hole_test...ok
  riak_core_claim: prop_claim_ensures_unique_nodes_v2_test_.......................................................................................................
OK, passed 100 tests
[2.509 s] ok
  riak_core_claim: prop_claim_ensures_unique_nodes_v3_test_........
OK, passed 5 tests
[18.466 s] ok
  riak_core_claim: wants_counts_test.......................................................................................................
OK, passed 100 tests
[0.009 s] ok
  riak_core_claim: wants_test.......................................................................................................
OK, passed 100 tests
[0.110 s] ok
  riak_core_claim: take_idxs_test.......................................................................................................
OK, passed 100 tests
[0.061 s] ok
  [done in 21.180 s]
module 'riak_core_info_service'
vclock_qc:21: eqc_test_ (module 'vclock_qc').......................................................................................................(x10)..............................................................(x1).....
Time limit reached: 20.0 seconds.

OK, passed 725 tests

45.49% 0
24.35% 1
13.26% 2
8.05% 3
5.12% 4
3.73% 5

11.149% {vclock_qc,timestamp,0}
11.070% {vclock_qc,fresh,0}
9.884% {vclock_qc,merge,1}
9.859% {vclock_qc,descends,2}
9.752% {vclock_qc,get_dot,2}
9.740% {vclock_qc,get_counter,2}
9.719% {vclock_qc,increment,2}
9.644% {vclock_qc,get_timestamp,2}
9.622% {vclock_qc,dominates,2}
9.561% {vclock_qc,descends_dot,3}

42.1% {num_vclocks_div_10,0}
22.2% {num_vclocks_div_10,1}
12.3% {num_vclocks_div_10,2}
8.0% {num_vclocks_div_10,3}
5.1% {num_vclocks_div_10,4}
2.9% {num_vclocks_div_10,5}
2.5% {num_vclocks_div_10,6}
1.1% {num_vclocks_div_10,7}
0.8% {num_vclocks_div_10,10}
0.7% {num_vclocks_div_10,8}
0.6% {num_vclocks_div_10,9}
0.4% {num_vclocks_div_10,12}
0.4% {num_vclocks_div_10,11}
0.3% {num_vclocks_div_10,15}
0.3% {num_vclocks_div_10,14}
0.1% {num_vclocks_div_10,32}
0.1% {num_vclocks_div_10,21}
0.1% {num_vclocks_div_10,13}
[20.126 s] ok
module 'riak_core_send_msg'
riak_core_bucket: simple_set_test (module 'riak_core_bucket')...[0.004 s] ok
module 'riak_core_handoff_sender_sup'
module 'riak_core_coverage_plan'
module 'riak_core_eventhandler_sup'
module 'riak_core_repair'
module 'bucket_eqc_utils'
module 'vclock'
  vclock: example_test...ok
  vclock: prune_small_test...ok
  vclock: prune_young_test...ok
  vclock: prune_big_test...ok
  vclock: prune_old_test...ok
  vclock: prune_order_test...ok
  vclock: accessor_test...ok
  vclock: merge_test...ok
  vclock: merge_less_left_test...ok
  vclock: merge_less_right_test...ok
  vclock: merge_same_id_test...ok
  vclock: get_entry_test...ok
  vclock: valid_entry_test...ok
  [done in 0.039 s]
module 'riak_core_ring_manager'
  riak_core_ring_manager: back_test...ok
  riak_core_ring_manager: prune_list_test...ok
  riak_core_ring_manager: set_ring_global_test...[0.006 s] ok
  riak_core_ring_manager: set_my_ring_test...[0.006 s] ok
  riak_core_ring_manager: refresh_my_ring_test...ok
  riak_core_ring_manager: do_write_ringfile_test...[0.016 s] ok
  riak_core_ring_manager: is_stable_ring_test...ok
  [done in 0.049 s]
module 'riak_core_handoff_sup'
module 'riak_core_capability'
  riak_core_capability_tests: basic_test (module 'riak_core_capability_tests')...ok
  [done in 0.003 s]
module 'riak_core_handoff_cli'
module 'riak_core_broadcast_handler'
module 'mock_vnode'
module 'bloom'
  bloom: fixed_case_test_...[1.041 s] ok
  bloom: bloom_test...[0.644 s] ok
  [done in 1.691 s]
module 'riak_core_vnode_sup'
module 'process_proxy'
module 'riak_core_dist_mon'
module 'riak_core_bucket_type'
module 'riak_core_gossip'
module 'app_helper'
  app_helper: app_helper_test_...ok
  app_helper: app_helper_test_...ok
  app_helper: app_helper_test_...ok
  app_helper: app_helper_test_...ok
  app_helper: app_helper_test_...ok
  app_helper: app_helper_test_...ok
  [done in 0.018 s]
module 'bg_manager_tests'
  bg_manager_tests: bg_mgr_test_ (set/get token rates + verify rates)...[0.001 s] ok
  bg_manager_tests: bg_mgr_test_ (crash token manager + verify rates persist)...[0.303 s] ok
  bg_manager_tests: bg_mgr_test_ (lock/token separation)...ok
  bg_manager_tests: bg_mgr_test_ (failing crash/revive EQC test case)...[0.303 s] ok
  bg_manager_tests: bg_mgr_test_ (bypass API)...ok
  [done in 0.622 s]
module 'riak_core_schema_tests'
  riak_core_schema_tests: basic_schema_test...[0.085 s] ok
  riak_core_schema_tests: invalid_states_test...[0.032 s] ok
  riak_core_schema_tests: default_bucket_properties_test...[0.031 s] ok
  riak_core_schema_tests: override_schema_test...[0.031 s] ok
  [done in 0.191 s]
=======================================================
  All 428 tests passed.
Cover analysis: /tmp/thumbs/develop.8e4cf95.dr-th_service-poc.047c3a5/.eunit/index.html

=INFO REPORT==== 14-Feb-2017::07:57:08 ===
    application: ssl
    exited: stopped
    type: temporary

=INFO REPORT==== 14-Feb-2017::07:57:08 ===
    application: inets
    exited: killed
    type: temporary





✅ MAKE_XREF

Started at: 2017-02-14 07:57
Duration: 5 seconds.
Result: OK
Message: OK
Exit Code: 0

📄


cd /tmp/thumbs/develop.8e4cf95.dr-th_service-poc.047c3a5; make xref




  ./rebar get-deps
==> goldrush (get-deps)
==> lager (get-deps)
==> poolboy (get-deps)
==> basho_stats (get-deps)
==> getopt (get-deps)
==> neotoma (get-deps)
==> cuttlefish (get-deps)
==> riak_sysmon (get-deps)
==> eleveldb (get-deps)
==> riak_ensemble (get-deps)
==> pbkdf2 (get-deps)
==> edown (get-deps)
==> parse_trans (get-deps)
==> bear (get-deps)
==> meck (get-deps)
==> folsom (get-deps)
==> setup (get-deps)
==> src (get-deps)
==> exometer_core (get-deps)
==> clique (get-deps)
==> develop.8e4cf95.dr-th_service-poc.047c3a5 (get-deps)
./rebar compile
==> goldrush (compile)
==> lager (compile)
==> poolboy (compile)
==> basho_stats (compile)
==> getopt (compile)
==> neotoma (compile)
==> cuttlefish (compile)
==> getopt (escriptize)
==> goldrush (escriptize)
==> lager (escriptize)
==> neotoma (escriptize)
==> cuttlefish (escriptize)
==> riak_sysmon (compile)
==> eleveldb (compile)
make[1]: Entering directory `/tmp/thumbs/develop.8e4cf95.dr-th_service-poc.047c3a5/deps/eleveldb/c_src/leveldb'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/tmp/thumbs/develop.8e4cf95.dr-th_service-poc.047c3a5/deps/eleveldb/c_src/leveldb'
make[1]: Entering directory `/tmp/thumbs/develop.8e4cf95.dr-th_service-poc.047c3a5/deps/eleveldb/c_src/leveldb'
make[1]: Nothing to be done for `tools'.
make[1]: Leaving directory `/tmp/thumbs/develop.8e4cf95.dr-th_service-poc.047c3a5/deps/eleveldb/c_src/leveldb'
==> riak_ensemble (compile)
==> pbkdf2 (compile)
==> edown (compile)
==> parse_trans (compile)
==> bear (compile)
==> meck (compile)
==> folsom (compile)
==> setup (compile)
==> edown (escriptize)
==> setup (escriptize)
==> src (compile)
==> exometer_core (compile)
==> clique (compile)
==> develop.8e4cf95.dr-th_service-poc.047c3a5 (compile)
./rebar xref skip_deps=true
WARN:  Ignoring sub_dirs for /tmp/thumbs/develop.8e4cf95.dr-th_service-poc.047c3a5/deps/exometer_core
==> develop.8e4cf95.dr-th_service-poc.047c3a5 (xref)





✅ MAKE_DIALYZER

Started at: 2017-02-14 07:57
Duration: 41 seconds.
Result: OK
Message: OK
Exit Code: 0

📄


cd /tmp/thumbs/develop.8e4cf95.dr-th_service-poc.047c3a5; make dialyzer




  
  
... Snipped 181 lines ...
ax:abstract/1
  erl_syntax:application/2
  erl_syntax:application/3
  erl_syntax:application_arguments/1
  erl_syntax:arity_qualifier/2
  erl_syntax:arity_qualifier_argument/1
  erl_syntax:arity_qualifier_body/1
  erl_syntax:atom/1
  erl_syntax:atom_value/1
  erl_syntax:attribute/2
  erl_syntax:attribute_arguments/1
  erl_syntax:attribute_name/1
  erl_syntax:case_expr/2
  erl_syntax:catch_expr/1
  erl_syntax:clause/2
  erl_syntax:clause/3
  erl_syntax:clause_patterns/1
  erl_syntax:fun_expr_clauses/1
  erl_syntax:function/2
  erl_syntax:function_clauses/1
  erl_syntax:generator/2
  erl_syntax:generator_body/1
  erl_syntax:generator_pattern/1
  erl_syntax:get_pos/1
  erl_syntax:implicit_fun/2
  erl_syntax:implicit_fun_name/1
  erl_syntax:integer/1
  erl_syntax:integer_value/1
  erl_syntax:list/1
  erl_syntax:list_comp/2
  erl_syntax:list_comp_body/1
  erl_syntax:list_comp_template/1
  erl_syntax:list_elements/1
  erl_syntax:match_expr/2
  erl_syntax:revert/1
  erl_syntax:revert_forms/1
  erl_syntax:string/1
  erl_syntax:string_value/1
  erl_syntax:subtrees/1
  erl_syntax:tuple/1
  erl_syntax:tuple_elements/1
  erl_syntax:type/1
  erl_syntax:underscore/0
  erl_syntax:update_tree/2
  erl_syntax:variable/1
  erl_syntax:variable_name/1
  erl_syntax_lib:analyze_application/1
  erl_syntax_lib:analyze_forms/1
  erl_syntax_lib:analyze_function/1
  erl_syntax_lib:map/2
  erl_syntax_lib:variables/1
  erlang:append_element/2
  erlang:atom_to_binary/2
  erlang:atom_to_list/1
  erlang:binary_to_atom/2
  erlang:binary_to_existing_atom/2
  erlang:binary_to_list/1
  erlang:binary_to_list/3
  erlang:binary_to_term/1
  erlang:bitstring_to_list/1
  erlang:bump_reductions/1
  erlang:cancel_timer/1
  erlang:crc32/1
  erlang:demonitor/1
  erlang:demonitor/2
  erlang:erase/1
  erlang:exit/2
  erlang:float_to_list/1
  erlang:float_to_list/2
  erlang:fun_info/2
  erlang:fun_to_list/1
  erlang:function_exported/3
  erlang:garbage_collect/0
  erlang:get/1
  erlang:get_module_info/1
  erlang:get_module_info/2
  erlang:get_stacktrace/0
  erlang:group_leader/0
  erlang:group_leader/2
  erlang:integer_to_list/1
  erlang:iolist_size/1
  erlang:iolist_to_binary/1
  erlang:is_alive/0
  erlang:is_builtin/3
  erlang:is_map/1
  erlang:is_process_alive/1
  erlang:link/1
  erlang:list_to_atom/1
  erlang:list_to_binary/1
  erlang:list_to_existing_atom/1
  erlang:list_to_float/1
  erlang:list_to_integer/1
  erlang:list_to_tuple/1
  erlang:load_nif/2
  erlang:localtime/0
  erlang:make_fun/3
  erlang:make_ref/0
  erlang:map_size/1
  erlang:max/2
  erlang:min/2
  erlang:monitor/2
  erlang:now/0
  erlang:phash2/1
  erlang:phash2/2
  erlang:pid_to_list/1
  erlang:port_info/1
  erlang:port_info/2
  erlang:port_to_list/1
  erlang:ports/0
  erlang:process_flag/2
  erlang:process_info/2
  erlang:processes/0
  erlang:put/2
  erlang:raise/3
  erlang:ref_to_list/1
  erlang:register/2
  erlang:registered/0
  erlang:send/2
  erlang:send/3
  erlang:send_after/3
  erlang:spawn_link/3
  erlang:spawn_monitor/1
  erlang:split_binary/2
  erlang:start_timer/3
  erlang:statistics/1
  erlang:system_monitor/0
  erlang:system_monitor/2
  erlang:term_to_binary/1
  erlang:trace_info/2
  erlang:trace_pattern/3
  erlang:universaltime/0
  erlang:unlink/1
  erlang:whereis/1
  error_logger:add_report_handler/1
  error_logger:delete_report_handler/1
  error_logger:error_msg/1
  error_logger:error_msg/2
  error_logger:format/2
  error_logger:info_msg/2
  error_logger:info_report/1
  error_logger:warning_msg/1
  escript:script_name/0
  ets:all/0
  ets:delete/1
  ets:delete/2
  ets:delete_all_objects/1
  ets:delete_object/2
  ets:first/1
  ets:foldl/3
  ets:give_away/3
  ets:info/1
  ets:info/2
  ets:insert/2
  ets:insert_new/2
  ets:last/1
  ets:lookup/2
  ets:lookup_element/3
  ets:match/2
  ets:match_spec_compile/1
  ets:match_spec_run/2
  ets:member/2
  ets:new/2
  ets:next/2
  ets:prev/2
  ets:select/1
  ets:select/2
  ets:select/3
  ets:select_count/2
  ets:select_delete/2
  ets:select_reverse/3
  ets:setopts/2
  ets:tab2list/1
  ets:update_counter/3
  ets:update_element/3
  eunit:test/1
  file:close/1
  file:consult/1
  file:datasync/1
  file:delete/1
  file:format_error/1
  file:get_cwd/0
  file:list_dir/1
  file:make_dir/1
  file:open/2
  file:read/2
  file:read_file/1
  file:read_file_info/1
  file:rename/2
  file:script/1
  file:script/2
  file:set_cwd/1
  file:sync/1
  file:write/2
  file:write_file/2
  filelib:ensure_dir/1
  filelib:is_dir/1
  filelib:is_file/1
  filelib:is_regular/1
  filelib:wildcard/1
  filelib:wildcard/2
  filename:absname/1
  filename:append/2
  filename:basename/1
  filename:basename/2
  filename:dirname/1
  filename:extension/1
  filename:join/1
  filename:join/2
  filename:split/1
  gb_trees:empty/0
  gb_trees:enter/3
  gb_trees:from_orddict/1
  gb_trees:get/2
  gb_trees:iterator/1
  gb_trees:lookup/2
  gb_trees:next/1
  gb_trees:size/1
  gen_event:add_sup_handler/3
  gen_event:call/3
  gen_event:call/4
  gen_event:delete_handler/3
  gen_event:notify/2
  gen_event:sync_notify/2
  gen_event:which_handlers/1
  gen_fsm:cancel_timer/1
  gen_fsm:reply/2
  gen_fsm:send_all_state_event/2
  gen_fsm:send_event/2
  gen_fsm:send_event_after/2
  gen_fsm:start/3
  gen_fsm:start_link/3
  gen_fsm:sync_send_all_state_event/2
  gen_fsm:sync_send_all_state_event/3
  gen_fsm:sync_send_event/2
  gen_fsm:sync_send_event/3
  gen_server:call/2
  gen_server:call/3
  gen_server:cast/2
  gen_server:reply/2
  gen_server:start/3
  gen_server:start/4
  gen_server:start_link/3
  gen_server:start_link/4
  hamcrest:assert_that/2
  hamcrest:is_matcher/1
  igor:parse_transform/2
  inet:getopts/2
  inet:getstat/1
  inet:parse_address/1
  inet:peername/1
  inet:sockname/1
  init:archive_extension/0
  init:get_argument/1
  init:script_id/0
  init:stop/1
  io:columns/0
  io:format/1
  io:format/2
  io:format/3
  io:fwrite/1
  io:fwrite/2
  io:fwrite/3
  io:put_chars/1
  io:put_chars/2
  io_lib:deep_char_list/1
  io_lib:format/2
  io_lib:fwrite/2
  io_lib:printable_list/1
  io_lib:write/1
  io_lib:write/2
  io_lib:write_atom/1
  io_lib_format:fwrite_g/1
  io_lib_pretty:print/6
  lager_default_tracer:info/1
  lib:format_exception/6
  lists:append/1
  lists:concat/1
  lists:duplicate/2
  lists:flatlength/1
  lists:keystore/4
  lists:keytake/3
  lists:prefix/2
  lists:seq/2
  lists:sublist/2
  lists:sublist/3
  lists:sum/1
  lists:ukeymerge/3
  lists:ukeysort/2
  maps:to_list/1
  math:cos/1
  math:exp/1
  math:log/1
  math:log10/1
  math:pi/0
  math:pow/2
  math:sqrt/1
  memsup:get_system_memory_data/0
  mochijson2:encode/1
  mustache:render/2
  net_adm:ping/1
  orddict:append/3
  orddict:append_list/3
  orddict:erase/2
  orddict:fetch_keys/1
  orddict:find/2
  orddict:fold/3
  orddict:merge/3
  orddict:new/0
  orddict:store/3
  orddict:update/4
  orddict:update_counter/3
  ordsets:add_element/2
  ordsets:del_element/2
  ordsets:from_list/1
  ordsets:intersection/2
  ordsets:is_element/2
  ordsets:new/0
  ordsets:subtract/2
  ordsets:union/2
  os:cmd/1
  os:getenv/1
  os:timestamp/0
  os:type/0
  prim_inet:getstatus/1
  prim_inet:gettype/1
  proc_lib:init_ack/2
  proc_lib:spawn/1
  proc_lib:start_link/3
  proplists:delete/2
  proplists:get_all_values/2
  proplists:get_bool/2
  proplists:get_keys/1
  proplists:get_value/2
  proplists:get_value/3
  proplists:is_defined/2
  proplists:lookup/2
  queue:filter/2
  queue:in/2
  queue:is_empty/1
  queue:len/1
  queue:member/2
  queue:new/0
  queue:out/1
  queue:to_list/1
  random:seed/0
  random:seed/1
  random:seed/3
  random:seed0/0
  random:uniform/0
  random:uniform/1
  random:uniform_s/2
  re:compile/1
  re:compile/2
  re:replace/4
  re:run/2
  re:run/3
  re:split/3
  rebar_config:get_local/3
  rebar_mustache:render/2
  rebar_rel_utils:get_target_dir/2
  rebar_rel_utils:is_rel_dir/0
  rebar_rel_utils:load_config/2
  release_handler:eval_appup_script/4
  rpc:call/4
  rpc:eval_everywhere/3
  rpc:multicall/3
  rpc:multicall/4
  rpc:multicall/5
  sets:add_element/2
  sets:del_element/2
  sets:from_list/1
  sets:is_element/2
  sets:new/0
  sets:size/1
  sets:to_list/1
  string:centre/2
  string:chr/2
  string:cspan/2
  string:join/2
  string:left/2
  string:left/3
  string:rchr/2
  string:right/2
  string:str/2
  string:strip/1
  string:strip/2
  string:sub_string/2
  string:sub_string/3
  string:substr/2
  string:substr/3
  string:to_lower/1
  string:tokens/2
  supervisor:delete_child/2
  supervisor:start_child/2
  supervisor:start_link/2
  supervisor:start_link/3
  supervisor:terminate_child/2
  supervisor:which_children/1
  sys:get_debug/3
  sys:handle_system_msg/6
  systools:make_script/2
  timer:apply_interval/4
  timer:cancel/1
  timer:now_diff/2
  timer:seconds/1
  timer:send_interval/2
  timer:sleep/1
  timer:tc/1
  timer:tc/2
  timer:tc/3
  unicode:characters_to_binary/1
  unicode:characters_to_binary/3
  unicode:characters_to_list/1
  unicode:characters_to_list/2
  xmerl:export_simple/2
  xmerl_html:'#element#'/5
  xmerl_lib:end_tag/1
  xmerl_lib:expand_element/1
  xmerl_lib:find_attribute/2
  xmerl_lib:mapxml/2
  xmerl_lib:start_tag/2
Unknown types:
  calendar:datetime/0
  erl_syntax:syntaxTree/0
  erlang:timestamp/0
  ets:comp_match_spec/0
  ets:match_spec/0
  ets:tab/0
  ets:tid/0
  file:date_time/0
  file:fd/0
  file:filename/0
  file:io_device/0
  file:name/0
  file:name_all/0
  file:posix/0
  hamcrest:matchspec/0
  meck_history:history_record/0
  orddict:orddict/0
  proplists:property/0
  proplists:proplist/0
  re:mp/0
  supervisor:child_spec/0
  timer:tref/0
  unicode:charlist/0
 done in 0m6.08s
done (passed successfully)
==> develop.8e4cf95.dr-th_service-poc.047c3a5 (dialyzer)
  Checking whether the PLT /home/ubuntu/.combo_dialyzer_plt is up-to-date... yes
  Checking whether the PLT .local_dialyzer_plt is up-to-date... yes
  Compiling some key modules to native code... done in 0m8.55s
  Proceeding with analysis...
Unknown functions:
  cluster_info:format/3
  cluster_info:register_app/1
 done in 0m5.49s
done (passed successfully)





⬜ 0 of 2 Code reviews from organization basho

@@ -0,0 +1,113 @@
-module(riak_core_info_service_process).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

At this point you've pretty much rolled your own gen_server, so it doesn't seem to me that the argument against using the OTP behavior has any basis left.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was thinking the same thing - simple gen_server with a few handle_info function heads should work just as well, and be less boilerplate code. I didn't know what the original reasoning was - maybe @macintux can weigh in and if he agrees we can just turn this into a gen_server process.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The original "API" was leveldb sending custom Erlang messages that would not be routed via OTP. I felt strongly that implementing an OTP behavior would be effectively lying about the role the process played.

I haven't looked at the new code to see what's been done to it.

- Invoke the `shutdown` callback in `Mod:terminate`
@thumbot
Copy link

thumbot commented Feb 14, 2017

dr-th/service-poc bb87dbc ➡️ develop 8e4cf95 ✅ completed
Looks good! 👍
✅ MERGE

Started at: 2017-02-14 08:49
Duration: 2 seconds.
Result: OK
Message: Merge Success: dr-th/service-poc bb87dbc onto target branch: develop 8e4cf95
Exit Code: OK

📄







  Merge made by the 'recursive' strategy.
 src/riak_core_app.erl                  | 10 +++++
 src/riak_core_info_service.erl         | 44 ++++++++++++++++++++++
 src/riak_core_info_service_process.erl | 69 ++++++++++++++++++++++++++++++++++
 src/riak_core_info_service_sup.erl     | 30 +++++++++++++++
 src/riak_core_sup.erl                  |  1 +
 5 files changed, 154 insertions(+)
 create mode 100644 src/riak_core_info_service.erl
 create mode 100644 src/riak_core_info_service_process.erl
 create mode 100644 src/riak_core_info_service_sup.erl




✅ MAKE_CLEAN

Started at: 2017-02-14 08:49
Duration: 1 seconds.
Result: OK
Message: OK
Exit Code: 0

📄


cd /tmp/thumbs/develop.8e4cf95.dr-th_service-poc.bb87dbc; make clean




  ./rebar clean
==> develop.8e4cf95.dr-th_service-poc.bb87dbc (clean)





✅ MAKE_DEPS

Started at: 2017-02-14 08:49
Duration: 13 seconds.
Result: OK
Message: OK
Exit Code: 0

📄


cd /tmp/thumbs/develop.8e4cf95.dr-th_service-poc.bb87dbc; make deps




  ./rebar get-deps
==> develop.8e4cf95.dr-th_service-poc.bb87dbc (get-deps)
Pulling lager from {git,"git://github.com/basho/lager.git",{tag,"3.2.4"}}
Cloning into 'lager'...
Pulling poolboy from {git,"git://github.com/basho/poolboy.git",
                          {tag,"0.8.1p3"}}
Cloning into 'poolboy'...
Pulling basho_stats from {git,"git://github.com/basho/basho_stats.git",
                              {tag,"1.0.3"}}
Cloning into 'basho_stats'...
Pulling riak_sysmon from {git,"git://github.com/basho/riak_sysmon.git",
                              {tag,"2.1.4"}}
Cloning into 'riak_sysmon'...
Pulling eleveldb from {git,"git://github.com/basho/eleveldb.git",
                           {tag,"2.0.32"}}
Cloning into 'eleveldb'...
Pulling riak_ensemble from {git,"git://github.com/basho/riak_ensemble",
                                {tag,"2.1.6"}}
Cloning into 'riak_ensemble'...
Pulling pbkdf2 from {git,"git://github.com/basho/erlang-pbkdf2.git",
                         {tag,"2.0.0"}}
Cloning into 'pbkdf2'...
Pulling exometer_core from {git,"git://github.com/basho/exometer_core.git",
                                {tag,"1.0.0-basho9"}}
Cloning into 'exometer_core'...
Pulling clique from {git,"https://github.com/basho/clique.git",{tag,"0.3.8"}}
Cloning into 'clique'...
==> lager (get-deps)
Pulling goldrush from {git,"https://github.com/basho/goldrush.git",
                           {tag,"0.1.9"}}
Cloning into 'goldrush'...
==> goldrush (get-deps)
==> poolboy (get-deps)
==> basho_stats (get-deps)
==> riak_sysmon (get-deps)
Pulling cuttlefish from {git,"https://github.com/basho/cuttlefish.git",
                             {tag,"2.0.10"}}
Cloning into 'cuttlefish'...
==> cuttlefish (get-deps)
Pulling getopt from {git,"https://github.com/basho/getopt.git",{tag,"v0.8.2"}}
Cloning into 'getopt'...
Pulling neotoma from {git,"https://github.com/basho/neotoma.git",
                          {tag,"1.7.3"}}
Cloning into 'neotoma'...
==> getopt (get-deps)
==> neotoma (get-deps)
==> eleveldb (get-deps)
Cloning into 'leveldb'...
Note: checking out '2.0.31'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b new_branch_name

HEAD is now at e6a2939... add (int) cast to fix compile errors on 10 of 16 platforms ... argh.
==> riak_ensemble (get-deps)
==> pbkdf2 (get-deps)
==> src (get-deps)
==> exometer_core (get-deps)
Pulling parse_trans from {git,"git://github.com/basho/parse_trans.git",
                              {tag,"2.9.2p1"}}
Cloning into 'parse_trans'...
Pulling folsom from {git,"git://github.com/basho/folsom.git",{tag,"0.7.4p5"}}
Cloning into 'folsom'...
Pulling setup from {git,"git://github.com/basho/setup.git",{tag,"1.4"}}
Cloning into 'setup'...
==> parse_trans (get-deps)
Pulling edown from {git,"git://github.com/basho/edown.git",{tag,"0.8.1"}}
Cloning into 'edown'...
==> edown (get-deps)
==> folsom (get-deps)
Pulling bear from {git,"git://github.com/basho/bear.git",{tag,"0.1.3p1"}}
Cloning into 'bear'...
Pulling meck from {git,"git://github.com/basho/meck.git",{tag,"0.8.2"}}
Cloning into 'meck'...
==> bear (get-deps)
==> meck (get-deps)
==> setup (get-deps)
==> clique (get-deps)





✅ MAKE_COMPILE

Started at: 2017-02-14 08:49
Duration: 33 seconds.
Result: OK
Message: OK
Exit Code: 0

📄


cd /tmp/thumbs/develop.8e4cf95.dr-th_service-poc.bb87dbc; make compile




  
  
... Snipped 636 lines ...
d -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY  -DLEVELDB_VSN="2.0.31" -O2 -g -DNDEBUG     -fPIC tools/perf_dump.cc -o perf_dump -L . -Wl,-non_shared -lleveldb -Wl,-call_shared -m64  -L/tmp/thumbs/develop.8e4cf95.dr-th_service-poc.bb87dbc/deps/eleveldb/c_src/system/lib -pthread -lrt -Wl,-non_shared -lsnappy -Wl,-call_shared
c++ -m64  -Wall -O3 -fPIC -I /tmp/thumbs/develop.8e4cf95.dr-th_service-poc.bb87dbc/deps/eleveldb/c_src/system/include -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY  -DLEVELDB_VSN="2.0.31" -O2 -g -DNDEBUG     -fPIC tools/sst_rewrite.cc -o sst_rewrite -L . -Wl,-non_shared -lleveldb -Wl,-call_shared -m64  -L/tmp/thumbs/develop.8e4cf95.dr-th_service-poc.bb87dbc/deps/eleveldb/c_src/system/lib -pthread -lrt -Wl,-non_shared -lsnappy -Wl,-call_shared
c++ -m64  -Wall -O3 -fPIC -I /tmp/thumbs/develop.8e4cf95.dr-th_service-poc.bb87dbc/deps/eleveldb/c_src/system/include -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY  -DLEVELDB_VSN="2.0.31" -O2 -g -DNDEBUG     -fPIC tools/sst_scan.cc -o sst_scan -L . -Wl,-non_shared -lleveldb -Wl,-call_shared -m64  -L/tmp/thumbs/develop.8e4cf95.dr-th_service-poc.bb87dbc/deps/eleveldb/c_src/system/lib -pthread -lrt -Wl,-non_shared -lsnappy -Wl,-call_shared
make[1]: Leaving directory `/tmp/thumbs/develop.8e4cf95.dr-th_service-poc.bb87dbc/deps/eleveldb/c_src/leveldb'
Compiled src/eleveldb_bump.erl
Compiled src/eleveldb.erl
Compiling c_src/eleveldb.cc
Compiling c_src/refobjects.cc
Compiling c_src/workitems.cc
==> riak_ensemble (compile)
Compiled src/riak_ensemble_backend.erl
Compiled src/riak_ensemble_sup.erl
Compiled src/synctree_orddict.erl
Compiled src/riak_ensemble_client.erl
Compiled src/riak_ensemble_router.erl
Compiled src/riak_ensemble_config.erl
Compiled src/riak_ensemble_router_sup.erl
Compiled src/synctree.erl
Compiled src/riak_ensemble_lease.erl
Compiled src/riak_ensemble_test.erl
Compiled src/synctree_leveldb.erl
Compiled src/riak_ensemble_root.erl
Compiled src/riak_ensemble_manager.erl
Compiled src/riak_ensemble_exchange.erl
Compiled src/riak_ensemble_save.erl
Compiled src/riak_ensemble_clock.erl
Compiled src/riak_ensemble_peer_worker.erl
Compiled src/riak_ensemble_app.erl
Compiled src/riak_ensemble_basic_backend.erl
Compiled src/riak_ensemble_state.erl
Compiled src/riak_ensemble_storage.erl
Compiled src/riak_ensemble_peer_tree.erl
Compiled src/riak_ensemble_peer_sup.erl
Compiled src/synctree_ets.erl
Compiled src/riak_ensemble_util.erl
Compiled src/riak_ensemble_msg.erl
Compiled src/riak_ensemble_peer.erl
Compiling c_src/riak_ensemble_clock.c
==> pbkdf2 (compile)
Compiled src/pbkdf2.erl
==> edown (compile)
Compiled src/edown_make.erl
Compiled src/edown_lib.erl
Compiled src/edown_doclet.erl
Compiled src/edown_xmerl.erl
Compiled src/edown_layout.erl
==> parse_trans (compile)
Compiled src/parse_trans.erl
Compiled src/parse_trans_pp.erl
Compiled src/parse_trans_codegen.erl
Compiled src/parse_trans_mod.erl
Compiled src/ct_expand.erl
Compiled src/exprecs.erl
==> bear (compile)
Compiled src/bear.erl
==> meck (compile)
Compiled src/meck_cover.erl
Compiled src/meck_expect.erl
Compiled src/meck_matcher.erl
Compiled src/meck_args_matcher.erl
Compiled src/meck_history.erl
Compiled src/meck.erl
Compiled src/meck_code_gen.erl
Compiled src/meck_util.erl
Compiled src/meck_code.erl
Compiled src/meck_ret_spec.erl
Compiled src/meck_proc.erl
==> folsom (compile)
Compiled src/folsom_sample_slide_sup.erl
Compiled src/folsom_sample_slide.erl
Compiled src/folsom_metrics_histogram.erl
Compiled src/folsom_ewma.erl
Compiled src/folsom_sample_none.erl
Compiled src/folsom_sample_exdec.erl
Compiled src/folsom_metrics_histogram_ets.erl
Compiled src/folsom_metrics_duration.erl
Compiled src/folsom.erl
Compiled src/folsom_sample.erl
Compiled src/folsom_metrics_meter_reader.erl
Compiled src/folsom_metrics.erl
Compiled src/folsom_vm_metrics.erl
Compiled src/folsom_sample_slide_uniform.erl
Compiled src/folsom_metrics_counter.erl
Compiled src/folsom_metrics_spiral.erl
Compiled src/folsom_meter_timer_server.erl
Compiled src/folsom_metrics_history.erl
Compiled src/folsom_sup.erl
Compiled src/folsom_sample_slide_server.erl
Compiled src/folsom_ets.erl
Compiled src/folsom_metrics_gauge.erl
Compiled src/folsom_utils.erl
Compiled src/folsom_metrics_meter.erl
Compiled src/folsom_sample_uniform.erl
==> setup (compile)
Compiled src/setup_lib.erl
Compiled src/setup_gen.erl
Compiled src/setup.erl
==> edown (escriptize)
==> setup (escriptize)
==> src (compile)
==> exometer_core (compile)
Compiled src/exometer_igor.erl
Compiled src/exometer_util.erl
Compiled src/exometer_entry.erl
Compiled src/exometer_probe.erl
Compiled src/exometer_report.erl
Compiled src/exometer_folsom_monitor.erl
Compiled src/exometer_folsom.erl
Compiled src/exometer_report_lager.erl
Compiled src/exometer_duration.erl
Compiled src/exometer_function.erl
Compiled src/exometer_core_sup.erl
Compiled src/exometer_slide.erl
Compiled src/exometer_slot_slide.erl
Compiled src/exometer_report_tty.erl
Compiled src/exometer_proc.erl
Compiled src/exo_montest.erl
Compiled src/exometer_cache.erl
Compiled src/exometer_spiral.erl
Compiled src/exometer_cpu.erl
Compiled src/exometer_alias.erl
Compiled src/exometer_shallowtree.erl
Compiled src/exometer_admin.erl
Compiled src/exometer_uniform.erl
Compiled src/exometer.erl
Compiled src/exometer_core_app.erl
Compiled src/exometer_info.erl
Compiled src/exometer_histogram.erl
==> clique (compile)
Compiled src/clique_writer.erl
Compiled src/clique_handler.erl
Compiled src/clique_test_group_leader.erl
Compiled src/clique_table.erl
Compiled src/clique_config.erl
Compiled src/clique_json_writer.erl
Compiled src/clique.erl
Compiled src/clique_status.erl
Compiled src/clique_typecast.erl
Compiled src/clique_human_writer.erl
Compiled src/clique_usage.erl
Compiled src/clique_error.erl
Compiled src/clique_manager.erl
Compiled src/clique_nodes.erl
Compiled src/clique_app.erl
Compiled src/clique_sup.erl
Compiled src/clique_csv_writer.erl
Compiled src/clique_parser.erl
Compiled src/clique_command.erl
Compiled src/clique_spec.erl
==> develop.8e4cf95.dr-th_service-poc.bb87dbc (compile)
Compiled src/gen_nb_server.erl
Compiled src/riak_core_gen_server.erl
Compiled src/riak_core_stat_xform.erl
Compiled src/riak_core_broadcast_handler.erl
Compiled src/riak_core_vnode_worker_pool.erl
Compiled src/chash.erl
Compiled src/riak_core_format.erl
Compiled src/riak_core_ring_manager.erl
Compiled src/riak_core_broadcast.erl
Compiled src/riak_core_dist_mon.erl
Compiled src/riak_core_handoff_sender_sup.erl
Compiled src/chashbin.erl
Compiled src/riak_core_vnode_proxy.erl
Compiled src/riak_core_status.erl
Compiled src/riak_core_repair.erl
Compiled src/riak_core_metadata_exchange_fsm.erl
Compiled src/riak_core_claim_sim.erl
Compiled src/riak_core_mochiglobal.erl
Compiled src/dvvset.erl
Compiled src/riak_core_vnode_manager.erl
Compiled src/riak_core_bucket.erl
Compiled src/vclock.erl
Compiled src/riak_core_bg_manager.erl
Compiled src/riak_core_node_watcher.erl
Compiled src/riak_core_dtrace.erl
Compiled src/riak_core_tracer.erl
Compiled src/riak_core_vnode_sup.erl
Compiled src/riak_core_test_util.erl
Compiled src/riak_core_sup.erl
Compiled src/riak_core_handoff_sup.erl
Compiled src/riak_core_nodeid.erl
Compiled src/riak_core_vnode_proxy_sup.erl
Compiled src/riak_core_stat.erl
Compiled src/hashtree.erl
Compiled src/riak_core_tcp_mon.erl
Compiled src/riak_core_cli_registry.erl
Compiled src/riak_core_handoff_listener.erl
Compiled src/riak_core_stat_calc_sup.erl
Compiled src/riak_core_app.erl
Compiled src/riak_core_util.erl
Compiled src/riak_core_ring_util.erl
Compiled src/riak_core_console_table.erl
Compiled src/riak_core_cinfo_core.erl
Compiled src/supervisor_pre_r14b04.erl
Compiled src/riak_core_cluster_cli.erl
Compiled src/riak_core_net_ticktime.erl
Compiled src/riak_core_coverage_plan.erl
Compiled src/riak_core_ring.erl
Compiled src/riak_core_send_msg.erl
Compiled src/riak_core_throttle.erl
Compiled src/riak_core_metadata.erl
Compiled src/riak_core_stat_q.erl
Compiled src/hashtree_tree.erl
Compiled src/riak_core_table_owner.erl
Compiled src/riak_core_vnode_master.erl
Compiled src/process_proxy.erl
Compiled src/riak_core_ring_handler.erl
Compiled src/riak_core_exo_monitor.erl
Compiled src/riak_core_claim_util.erl
Compiled src/riak_core_stat_calc_proc.erl
Compiled src/riak_core_eventhandler_sup.erl
Compiled src/riak_core_metadata_object.erl
Compiled src/riak_core_handoff_listener_sup.erl
Compiled src/riak_core_sysmon_minder.erl
Compiled src/riak_core_pw_auth.erl
Compiled src/app_helper.erl
Compiled src/riak_core_stat_sup.erl
Compiled src/riak_core_node_watcher_events.erl
Compiled src/riak_core_sysmon_handler.erl
Compiled src/riak_core_handoff_cli.erl
Compiled src/riak_core_console.erl
Compiled src/riak_core_vnode_worker.erl
Compiled src/riak_core_bucket_props.erl
Compiled src/riak_core_metadata_manager.erl
Compiled src/riak_core_info_service_sup.erl
Compiled src/bloom.erl
Compiled src/riak_core_metadata_hashtree.erl
Compiled src/riak_core_handoff_status.erl
Compiled src/riak_core_handoff_sender.erl
Compiled src/riak_core_ring_events.erl
Compiled src/riak_core_gossip.erl
Compiled src/riak_core_coverage_fsm.erl
Compiled src/riak_core_claimant.erl
Compiled src/riak_core_ssl_util.erl
Compiled src/riak_core_stats_sup.erl
Compiled src/riak_core_bucket_type.erl
Compiled src/riak_core_security.erl
Compiled src/riak_core_handoff_receiver_sup.erl
Compiled src/riak_core_handoff_receiver.erl
Compiled src/riak_core_info_service.erl
Compiled src/riak_core_claim.erl
Compiled src/riak_core_new_claim.erl
Compiled src/riak_core_stat_cache.erl
Compiled src/riak_core_handoff_manager.erl
Compiled src/riak_core.erl
Compiled src/riak_core_apl.erl
Compiled src/riak_core_priority_queue.erl
Compiled src/riak_core_vnode.erl
Compiled src/riak_core_info_service_process.erl
Compiled src/riak_core_eventhandler_guard.erl
Compiled src/riak_core_base64url.erl
Compiled src/riak_core_capability.erl





✅ MAKE_TEST

Started at: 2017-02-14 08:50
Duration: 601 seconds.
Result: OK
Message: OK
Exit Code: 0

📄


cd /tmp/thumbs/develop.8e4cf95.dr-th_service-poc.bb87dbc; make test




  
  
... Snipped 1416 lines ...
plication lager started on node nonode@nohost
  sync_command_test: sync_test_ (Assert sync exit)...08:59:06.845 [error] CRASH REPORT Process <0.24894.0> with 0 neighbours exited with reason: {{already_started,<0.6722.0>},{exometer_core_app,start,[normal,[]]}} in application_master:init/4 line 133
08:59:06.845 [info] Application exometer_core exited with reason: {{already_started,<0.6722.0>},{exometer_core_app,start,[normal,[]]}}
ok
08:59:06.849 [error] mock_vnode command failed core_breach
08:59:06.849 [error] gen_fsm <0.24903.0> in state active terminated with reason: core_breach
08:59:06.849 [error] CRASH REPORT Process <0.24903.0> with 0 neighbours exited with reason: core_breach in gen_fsm:terminate/7 line 622
08:59:06.849 [error] Supervisor riak_core_vnode_sup had child undefined started with {riak_core_vnode,start_link,undefined} at <0.24903.0> exit with reason core_breach in context child_terminated
08:59:06.887 [info] Application lager started on node nonode@nohost
  sync_command_test: sync_test_ (Assert non-blocking sync error)...08:59:06.887 [error] CRASH REPORT Process <0.24939.0> with 0 neighbours exited with reason: {{already_started,<0.6722.0>},{exometer_core_app,start,[normal,[]]}} in application_master:init/4 line 133
08:59:06.887 [info] Application exometer_core exited with reason: {{already_started,<0.6722.0>},{exometer_core_app,start,[normal,[]]}}
ok
08:59:06.891 [error] mock_vnode command failed {core_breach,[{mock_vnode,handle_command,3,[{file,"test/mock_vnode.erl"},{line,131}]},{riak_core_vnode,vnode_command,3,[{file,"src/riak_core_vnode.erl"},{line,346}]},{gen_fsm,handle_msg,7,[{file,"gen_fsm.erl"},{line,505}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,239}]}]}
08:59:06.891 [error] gen_fsm <0.24948.0> in state active terminated with reason: core_breach in mock_vnode:handle_command/3 line 131
08:59:06.891 [error] CRASH REPORT Process <0.24948.0> with 0 neighbours exited with reason: core_breach in mock_vnode:handle_command/3 line 131 in gen_fsm:terminate/7 line 622
08:59:06.891 [error] Supervisor riak_core_vnode_sup had child undefined started with {riak_core_vnode,start_link,undefined} at <0.24948.0> exit with reason core_breach in mock_vnode:handle_command/3 line 131 in context child_terminated
08:59:06.943 [info] Application lager started on node nonode@nohost
08:59:06.944 [error] CRASH REPORT Process <0.24984.0> with 0 neighbours exited with reason: {{already_started,<0.6722.0>},{exometer_core_app,start,[normal,[]]}} in application_master:init/4 line 133
08:59:06.944 [info] Application exometer_core exited with reason: {{already_started,<0.6722.0>},{exometer_core_app,start,[normal,[]]}}
  sync_command_test: sync_test_ (Assert non-blocking sync exit)...ok
08:59:06.949 [error] mock_vnode command failed core_breach
08:59:06.949 [error] gen_fsm <0.24993.0> in state active terminated with reason: core_breach
08:59:06.950 [error] CRASH REPORT Process <0.24993.0> with 0 neighbours exited with reason: core_breach in gen_fsm:terminate/7 line 622
08:59:06.950 [error] Supervisor riak_core_vnode_sup had child undefined started with {riak_core_vnode,start_link,undefined} at <0.24993.0> exit with reason core_breach in context child_terminated
  [done in 0.291 s]
module 'riak_core_ssl_util'
module 'riak_core_handoff_receiver'
module 'riak_core_ring_handler'
module 'test_guarded_event_handler'
  test_guarded_event_handler: guarded_handler_test_...[0.101 s] ok
  [done in 0.104 s]
module 'riak_core_vnode_worker'
module 'riak_core_handoff_manager'
  riak_core_handoff_manager:674: handoff_test_...ok
  riak_core_handoff_manager:675: handoff_test_...ok
  [done in 0.006 s]
module 'riak_core_dtrace'
  riak_core_dtrace: timeit_naive_test...timeit_naive                 average     1.396 usec/call over     500.0 calls
[0.014 s] ok
  riak_core_dtrace: timeit_mochiglobal_test...timeit_mochiglobal           average     2.298 usec/call over  225000.0 calls
Skipping timeit_best_on test: no DTrace/SystemTap is available
[0.526 s] ok
  riak_core_dtrace: timeit_best_off_test...ok
  riak_core_dtrace: timeit_best_onfalse_test...Skipping timeit_best_on test: no DTrace/SystemTap is available
ok
  riak_core_dtrace: timeit_best_ontrue_test...Skipping timeit_best_on test: no DTrace/SystemTap is available
NOTE: cover analysis will skew results.  Run without cover for true timings.
ok
  riak_core_dtrace: last_test...ok
  [done in 0.558 s]
riak_core_format: human_time_fmt_test (module 'riak_core_format')...[0.001 s] ok
module 'riak_core_metadata_exchange_fsm'
  [done in 0.001 s]
module 'worker_pool_test'
  worker_pool_test: pool_test_...[1.201 s] ok
  worker_pool_test: pool_test_...[1.201 s] ok
  [done in 2.409 s]
module 'riak_core_vnode_master'
module 'riak_core_cluster_cli'
module 'riak_core_metadata_manager'
module 'claim_simulation'
module 'riak_core_claim'
  riak_core_claim: wants_claim_test...[0.004 s] ok
  riak_core_claim: find_biggest_hole_test...ok
  riak_core_claim: prop_claim_ensures_unique_nodes_v2_test_.......................................................................................................
OK, passed 100 tests
[2.740 s] ok
  riak_core_claim: prop_claim_ensures_unique_nodes_v3_test_........
OK, passed 5 tests
[10.894 s] ok
  riak_core_claim: wants_counts_test.......................................................................................................
OK, passed 100 tests
[0.009 s] ok
  riak_core_claim: wants_test.......................................................................................................
OK, passed 100 tests
[0.087 s] ok
  riak_core_claim: take_idxs_test.......................................................................................................
OK, passed 100 tests
[0.058 s] ok
  [done in 13.813 s]
module 'riak_core_info_service'
vclock_qc:21: eqc_test_ (module 'vclock_qc').......................................................................................................(x10)..............................................................(x1)..
Time limit reached: 20.0 seconds.

OK, passed 722 tests

46.33% 0
25.22% 1
13.19% 2
7.14% 3
5.17% 4
2.96% 5

11.170% {vclock_qc,timestamp,0}
10.965% {vclock_qc,fresh,0}
9.836% {vclock_qc,get_dot,2}
9.829% {vclock_qc,descends_dot,3}
9.784% {vclock_qc,dominates,2}
9.734% {vclock_qc,increment,2}
9.716% {vclock_qc,get_counter,2}
9.670% {vclock_qc,get_timestamp,2}
9.668% {vclock_qc,descends,2}
9.627% {vclock_qc,merge,1}

39.6% {num_vclocks_div_10,0}
21.9% {num_vclocks_div_10,1}
10.1% {num_vclocks_div_10,2}
10.0% {num_vclocks_div_10,3}
6.0% {num_vclocks_div_10,4}
4.7% {num_vclocks_div_10,5}
2.4% {num_vclocks_div_10,6}
1.4% {num_vclocks_div_10,7}
1.0% {num_vclocks_div_10,9}
1.0% {num_vclocks_div_10,8}
0.7% {num_vclocks_div_10,10}
0.3% {num_vclocks_div_10,18}
0.3% {num_vclocks_div_10,14}
0.3% {num_vclocks_div_10,11}
0.1% {num_vclocks_div_10,20}
0.1% {num_vclocks_div_10,16}
0.1% {num_vclocks_div_10,15}
0.1% {num_vclocks_div_10,12}
[20.265 s] ok
module 'riak_core_send_msg'
riak_core_bucket: simple_set_test (module 'riak_core_bucket')...[0.004 s] ok
module 'riak_core_handoff_sender_sup'
module 'riak_core_coverage_plan'
module 'riak_core_eventhandler_sup'
module 'riak_core_repair'
module 'bucket_eqc_utils'
module 'vclock'
  vclock: example_test...ok
  vclock: prune_small_test...ok
  vclock: prune_young_test...ok
  vclock: prune_big_test...ok
  vclock: prune_old_test...ok
  vclock: prune_order_test...ok
  vclock: accessor_test...ok
  vclock: merge_test...ok
  vclock: merge_less_left_test...ok
  vclock: merge_less_right_test...ok
  vclock: merge_same_id_test...ok
  vclock: get_entry_test...ok
  vclock: valid_entry_test...ok
  [done in 0.039 s]
module 'riak_core_ring_manager'
  riak_core_ring_manager: back_test...ok
  riak_core_ring_manager: prune_list_test...ok
  riak_core_ring_manager: set_ring_global_test...[0.007 s] ok
  riak_core_ring_manager: set_my_ring_test...[0.006 s] ok
  riak_core_ring_manager: refresh_my_ring_test...ok
  riak_core_ring_manager: do_write_ringfile_test...[0.139 s] ok
  riak_core_ring_manager: is_stable_ring_test...ok
  [done in 0.174 s]
module 'riak_core_handoff_sup'
module 'riak_core_capability'
  riak_core_capability_tests: basic_test (module 'riak_core_capability_tests')...ok
  [done in 0.003 s]
module 'riak_core_handoff_cli'
module 'riak_core_broadcast_handler'
module 'mock_vnode'
module 'bloom'
  bloom: fixed_case_test_...[1.018 s] ok
  bloom: bloom_test...[0.626 s] ok
  [done in 1.650 s]
module 'riak_core_vnode_sup'
module 'process_proxy'
module 'riak_core_dist_mon'
module 'riak_core_bucket_type'
module 'riak_core_gossip'
module 'app_helper'
  app_helper: app_helper_test_...ok
  app_helper: app_helper_test_...ok
  app_helper: app_helper_test_...ok
  app_helper: app_helper_test_...ok
  app_helper: app_helper_test_...ok
  app_helper: app_helper_test_...ok
  [done in 0.019 s]
module 'bg_manager_tests'
  bg_manager_tests: bg_mgr_test_ (set/get token rates + verify rates)...[0.001 s] ok
  bg_manager_tests: bg_mgr_test_ (crash token manager + verify rates persist)...[0.303 s] ok
  bg_manager_tests: bg_mgr_test_ (lock/token separation)...ok
  bg_manager_tests: bg_mgr_test_ (failing crash/revive EQC test case)...[0.303 s] ok
  bg_manager_tests: bg_mgr_test_ (bypass API)...ok
  [done in 0.622 s]
module 'riak_core_schema_tests'
  riak_core_schema_tests: basic_schema_test...[0.070 s] ok
  riak_core_schema_tests: invalid_states_test...[0.031 s] ok
  riak_core_schema_tests: default_bucket_properties_test...[0.031 s] ok
  riak_core_schema_tests: override_schema_test...[0.030 s] ok
  [done in 0.174 s]
=======================================================
  All 428 tests passed.
Cover analysis: /tmp/thumbs/develop.8e4cf95.dr-th_service-poc.bb87dbc/.eunit/index.html

=INFO REPORT==== 14-Feb-2017::09:00:26 ===
    application: ssl
    exited: stopped
    type: temporary

=INFO REPORT==== 14-Feb-2017::09:00:26 ===
    application: inets
    exited: killed
    type: temporary





✅ MAKE_XREF

Started at: 2017-02-14 09:00
Duration: 4 seconds.
Result: OK
Message: OK
Exit Code: 0

📄


cd /tmp/thumbs/develop.8e4cf95.dr-th_service-poc.bb87dbc; make xref




  ./rebar get-deps
==> goldrush (get-deps)
==> lager (get-deps)
==> poolboy (get-deps)
==> basho_stats (get-deps)
==> getopt (get-deps)
==> neotoma (get-deps)
==> cuttlefish (get-deps)
==> riak_sysmon (get-deps)
==> eleveldb (get-deps)
==> riak_ensemble (get-deps)
==> pbkdf2 (get-deps)
==> edown (get-deps)
==> parse_trans (get-deps)
==> bear (get-deps)
==> meck (get-deps)
==> folsom (get-deps)
==> setup (get-deps)
==> src (get-deps)
==> exometer_core (get-deps)
==> clique (get-deps)
==> develop.8e4cf95.dr-th_service-poc.bb87dbc (get-deps)
./rebar compile
==> goldrush (compile)
==> lager (compile)
==> poolboy (compile)
==> basho_stats (compile)
==> getopt (compile)
==> neotoma (compile)
==> cuttlefish (compile)
==> getopt (escriptize)
==> goldrush (escriptize)
==> lager (escriptize)
==> neotoma (escriptize)
==> cuttlefish (escriptize)
==> riak_sysmon (compile)
==> eleveldb (compile)
make[1]: Entering directory `/tmp/thumbs/develop.8e4cf95.dr-th_service-poc.bb87dbc/deps/eleveldb/c_src/leveldb'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/tmp/thumbs/develop.8e4cf95.dr-th_service-poc.bb87dbc/deps/eleveldb/c_src/leveldb'
make[1]: Entering directory `/tmp/thumbs/develop.8e4cf95.dr-th_service-poc.bb87dbc/deps/eleveldb/c_src/leveldb'
make[1]: Nothing to be done for `tools'.
make[1]: Leaving directory `/tmp/thumbs/develop.8e4cf95.dr-th_service-poc.bb87dbc/deps/eleveldb/c_src/leveldb'
==> riak_ensemble (compile)
==> pbkdf2 (compile)
==> edown (compile)
==> parse_trans (compile)
==> bear (compile)
==> meck (compile)
==> folsom (compile)
==> setup (compile)
==> edown (escriptize)
==> setup (escriptize)
==> src (compile)
==> exometer_core (compile)
==> clique (compile)
==> develop.8e4cf95.dr-th_service-poc.bb87dbc (compile)
./rebar xref skip_deps=true
WARN:  Ignoring sub_dirs for /tmp/thumbs/develop.8e4cf95.dr-th_service-poc.bb87dbc/deps/exometer_core
==> develop.8e4cf95.dr-th_service-poc.bb87dbc (xref)





✅ MAKE_DIALYZER

Started at: 2017-02-14 09:00
Duration: 40 seconds.
Result: OK
Message: OK
Exit Code: 0

📄


cd /tmp/thumbs/develop.8e4cf95.dr-th_service-poc.bb87dbc; make dialyzer




  
  
... Snipped 181 lines ...
ax:abstract/1
  erl_syntax:application/2
  erl_syntax:application/3
  erl_syntax:application_arguments/1
  erl_syntax:arity_qualifier/2
  erl_syntax:arity_qualifier_argument/1
  erl_syntax:arity_qualifier_body/1
  erl_syntax:atom/1
  erl_syntax:atom_value/1
  erl_syntax:attribute/2
  erl_syntax:attribute_arguments/1
  erl_syntax:attribute_name/1
  erl_syntax:case_expr/2
  erl_syntax:catch_expr/1
  erl_syntax:clause/2
  erl_syntax:clause/3
  erl_syntax:clause_patterns/1
  erl_syntax:fun_expr_clauses/1
  erl_syntax:function/2
  erl_syntax:function_clauses/1
  erl_syntax:generator/2
  erl_syntax:generator_body/1
  erl_syntax:generator_pattern/1
  erl_syntax:get_pos/1
  erl_syntax:implicit_fun/2
  erl_syntax:implicit_fun_name/1
  erl_syntax:integer/1
  erl_syntax:integer_value/1
  erl_syntax:list/1
  erl_syntax:list_comp/2
  erl_syntax:list_comp_body/1
  erl_syntax:list_comp_template/1
  erl_syntax:list_elements/1
  erl_syntax:match_expr/2
  erl_syntax:revert/1
  erl_syntax:revert_forms/1
  erl_syntax:string/1
  erl_syntax:string_value/1
  erl_syntax:subtrees/1
  erl_syntax:tuple/1
  erl_syntax:tuple_elements/1
  erl_syntax:type/1
  erl_syntax:underscore/0
  erl_syntax:update_tree/2
  erl_syntax:variable/1
  erl_syntax:variable_name/1
  erl_syntax_lib:analyze_application/1
  erl_syntax_lib:analyze_forms/1
  erl_syntax_lib:analyze_function/1
  erl_syntax_lib:map/2
  erl_syntax_lib:variables/1
  erlang:append_element/2
  erlang:atom_to_binary/2
  erlang:atom_to_list/1
  erlang:binary_to_atom/2
  erlang:binary_to_existing_atom/2
  erlang:binary_to_list/1
  erlang:binary_to_list/3
  erlang:binary_to_term/1
  erlang:bitstring_to_list/1
  erlang:bump_reductions/1
  erlang:cancel_timer/1
  erlang:crc32/1
  erlang:demonitor/1
  erlang:demonitor/2
  erlang:erase/1
  erlang:exit/2
  erlang:float_to_list/1
  erlang:float_to_list/2
  erlang:fun_info/2
  erlang:fun_to_list/1
  erlang:function_exported/3
  erlang:garbage_collect/0
  erlang:get/1
  erlang:get_module_info/1
  erlang:get_module_info/2
  erlang:get_stacktrace/0
  erlang:group_leader/0
  erlang:group_leader/2
  erlang:integer_to_list/1
  erlang:iolist_size/1
  erlang:iolist_to_binary/1
  erlang:is_alive/0
  erlang:is_builtin/3
  erlang:is_map/1
  erlang:is_process_alive/1
  erlang:link/1
  erlang:list_to_atom/1
  erlang:list_to_binary/1
  erlang:list_to_existing_atom/1
  erlang:list_to_float/1
  erlang:list_to_integer/1
  erlang:list_to_tuple/1
  erlang:load_nif/2
  erlang:localtime/0
  erlang:make_fun/3
  erlang:make_ref/0
  erlang:map_size/1
  erlang:max/2
  erlang:min/2
  erlang:monitor/2
  erlang:now/0
  erlang:phash2/1
  erlang:phash2/2
  erlang:pid_to_list/1
  erlang:port_info/1
  erlang:port_info/2
  erlang:port_to_list/1
  erlang:ports/0
  erlang:process_flag/2
  erlang:process_info/2
  erlang:processes/0
  erlang:put/2
  erlang:raise/3
  erlang:ref_to_list/1
  erlang:register/2
  erlang:registered/0
  erlang:send/2
  erlang:send/3
  erlang:send_after/3
  erlang:spawn_link/3
  erlang:spawn_monitor/1
  erlang:split_binary/2
  erlang:start_timer/3
  erlang:statistics/1
  erlang:system_monitor/0
  erlang:system_monitor/2
  erlang:term_to_binary/1
  erlang:trace_info/2
  erlang:trace_pattern/3
  erlang:universaltime/0
  erlang:unlink/1
  erlang:whereis/1
  error_logger:add_report_handler/1
  error_logger:delete_report_handler/1
  error_logger:error_msg/1
  error_logger:error_msg/2
  error_logger:format/2
  error_logger:info_msg/2
  error_logger:info_report/1
  error_logger:warning_msg/1
  escript:script_name/0
  ets:all/0
  ets:delete/1
  ets:delete/2
  ets:delete_all_objects/1
  ets:delete_object/2
  ets:first/1
  ets:foldl/3
  ets:give_away/3
  ets:info/1
  ets:info/2
  ets:insert/2
  ets:insert_new/2
  ets:last/1
  ets:lookup/2
  ets:lookup_element/3
  ets:match/2
  ets:match_spec_compile/1
  ets:match_spec_run/2
  ets:member/2
  ets:new/2
  ets:next/2
  ets:prev/2
  ets:select/1
  ets:select/2
  ets:select/3
  ets:select_count/2
  ets:select_delete/2
  ets:select_reverse/3
  ets:setopts/2
  ets:tab2list/1
  ets:update_counter/3
  ets:update_element/3
  eunit:test/1
  file:close/1
  file:consult/1
  file:datasync/1
  file:delete/1
  file:format_error/1
  file:get_cwd/0
  file:list_dir/1
  file:make_dir/1
  file:open/2
  file:read/2
  file:read_file/1
  file:read_file_info/1
  file:rename/2
  file:script/1
  file:script/2
  file:set_cwd/1
  file:sync/1
  file:write/2
  file:write_file/2
  filelib:ensure_dir/1
  filelib:is_dir/1
  filelib:is_file/1
  filelib:is_regular/1
  filelib:wildcard/1
  filelib:wildcard/2
  filename:absname/1
  filename:append/2
  filename:basename/1
  filename:basename/2
  filename:dirname/1
  filename:extension/1
  filename:join/1
  filename:join/2
  filename:split/1
  gb_trees:empty/0
  gb_trees:enter/3
  gb_trees:from_orddict/1
  gb_trees:get/2
  gb_trees:iterator/1
  gb_trees:lookup/2
  gb_trees:next/1
  gb_trees:size/1
  gen_event:add_sup_handler/3
  gen_event:call/3
  gen_event:call/4
  gen_event:delete_handler/3
  gen_event:notify/2
  gen_event:sync_notify/2
  gen_event:which_handlers/1
  gen_fsm:cancel_timer/1
  gen_fsm:reply/2
  gen_fsm:send_all_state_event/2
  gen_fsm:send_event/2
  gen_fsm:send_event_after/2
  gen_fsm:start/3
  gen_fsm:start_link/3
  gen_fsm:sync_send_all_state_event/2
  gen_fsm:sync_send_all_state_event/3
  gen_fsm:sync_send_event/2
  gen_fsm:sync_send_event/3
  gen_server:call/2
  gen_server:call/3
  gen_server:cast/2
  gen_server:reply/2
  gen_server:start/3
  gen_server:start/4
  gen_server:start_link/3
  gen_server:start_link/4
  hamcrest:assert_that/2
  hamcrest:is_matcher/1
  igor:parse_transform/2
  inet:getopts/2
  inet:getstat/1
  inet:parse_address/1
  inet:peername/1
  inet:sockname/1
  init:archive_extension/0
  init:get_argument/1
  init:script_id/0
  init:stop/1
  io:columns/0
  io:format/1
  io:format/2
  io:format/3
  io:fwrite/1
  io:fwrite/2
  io:fwrite/3
  io:put_chars/1
  io:put_chars/2
  io_lib:deep_char_list/1
  io_lib:format/2
  io_lib:fwrite/2
  io_lib:printable_list/1
  io_lib:write/1
  io_lib:write/2
  io_lib:write_atom/1
  io_lib_format:fwrite_g/1
  io_lib_pretty:print/6
  lager_default_tracer:info/1
  lib:format_exception/6
  lists:append/1
  lists:concat/1
  lists:duplicate/2
  lists:flatlength/1
  lists:keystore/4
  lists:keytake/3
  lists:prefix/2
  lists:seq/2
  lists:sublist/2
  lists:sublist/3
  lists:sum/1
  lists:ukeymerge/3
  lists:ukeysort/2
  maps:to_list/1
  math:cos/1
  math:exp/1
  math:log/1
  math:log10/1
  math:pi/0
  math:pow/2
  math:sqrt/1
  memsup:get_system_memory_data/0
  mochijson2:encode/1
  mustache:render/2
  net_adm:ping/1
  orddict:append/3
  orddict:append_list/3
  orddict:erase/2
  orddict:fetch_keys/1
  orddict:find/2
  orddict:fold/3
  orddict:merge/3
  orddict:new/0
  orddict:store/3
  orddict:update/4
  orddict:update_counter/3
  ordsets:add_element/2
  ordsets:del_element/2
  ordsets:from_list/1
  ordsets:intersection/2
  ordsets:is_element/2
  ordsets:new/0
  ordsets:subtract/2
  ordsets:union/2
  os:cmd/1
  os:getenv/1
  os:timestamp/0
  os:type/0
  prim_inet:getstatus/1
  prim_inet:gettype/1
  proc_lib:init_ack/2
  proc_lib:spawn/1
  proc_lib:start_link/3
  proplists:delete/2
  proplists:get_all_values/2
  proplists:get_bool/2
  proplists:get_keys/1
  proplists:get_value/2
  proplists:get_value/3
  proplists:is_defined/2
  proplists:lookup/2
  queue:filter/2
  queue:in/2
  queue:is_empty/1
  queue:len/1
  queue:member/2
  queue:new/0
  queue:out/1
  queue:to_list/1
  random:seed/0
  random:seed/1
  random:seed/3
  random:seed0/0
  random:uniform/0
  random:uniform/1
  random:uniform_s/2
  re:compile/1
  re:compile/2
  re:replace/4
  re:run/2
  re:run/3
  re:split/3
  rebar_config:get_local/3
  rebar_mustache:render/2
  rebar_rel_utils:get_target_dir/2
  rebar_rel_utils:is_rel_dir/0
  rebar_rel_utils:load_config/2
  release_handler:eval_appup_script/4
  rpc:call/4
  rpc:eval_everywhere/3
  rpc:multicall/3
  rpc:multicall/4
  rpc:multicall/5
  sets:add_element/2
  sets:del_element/2
  sets:from_list/1
  sets:is_element/2
  sets:new/0
  sets:size/1
  sets:to_list/1
  string:centre/2
  string:chr/2
  string:cspan/2
  string:join/2
  string:left/2
  string:left/3
  string:rchr/2
  string:right/2
  string:str/2
  string:strip/1
  string:strip/2
  string:sub_string/2
  string:sub_string/3
  string:substr/2
  string:substr/3
  string:to_lower/1
  string:tokens/2
  supervisor:delete_child/2
  supervisor:start_child/2
  supervisor:start_link/2
  supervisor:start_link/3
  supervisor:terminate_child/2
  supervisor:which_children/1
  sys:get_debug/3
  sys:handle_system_msg/6
  systools:make_script/2
  timer:apply_interval/4
  timer:cancel/1
  timer:now_diff/2
  timer:seconds/1
  timer:send_interval/2
  timer:sleep/1
  timer:tc/1
  timer:tc/2
  timer:tc/3
  unicode:characters_to_binary/1
  unicode:characters_to_binary/3
  unicode:characters_to_list/1
  unicode:characters_to_list/2
  xmerl:export_simple/2
  xmerl_html:'#element#'/5
  xmerl_lib:end_tag/1
  xmerl_lib:expand_element/1
  xmerl_lib:find_attribute/2
  xmerl_lib:mapxml/2
  xmerl_lib:start_tag/2
Unknown types:
  calendar:datetime/0
  erl_syntax:syntaxTree/0
  erlang:timestamp/0
  ets:comp_match_spec/0
  ets:match_spec/0
  ets:tab/0
  ets:tid/0
  file:date_time/0
  file:fd/0
  file:filename/0
  file:io_device/0
  file:name/0
  file:name_all/0
  file:posix/0
  hamcrest:matchspec/0
  meck_history:history_record/0
  orddict:orddict/0
  proplists:property/0
  proplists:proplist/0
  re:mp/0
  supervisor:child_spec/0
  timer:tref/0
  unicode:charlist/0
 done in 0m5.58s
done (passed successfully)
==> develop.8e4cf95.dr-th_service-poc.bb87dbc (dialyzer)
  Checking whether the PLT /home/ubuntu/.combo_dialyzer_plt is up-to-date... yes
  Checking whether the PLT .local_dialyzer_plt is up-to-date... yes
  Compiling some key modules to native code... done in 0m8.63s
  Proceeding with analysis...
Unknown functions:
  cluster_info:format/3
  cluster_info:register_app/1
 done in 0m5.40s
done (passed successfully)





⬜ 0 of 2 Code reviews from organization basho

%% `gen_server' implementation

start_link(Registration, Shutdown, Source, ResponseHandler) ->
{ok, Pid} = gen_server:start_link(?MODULE, [Shutdown, Source, ResponseHandler], []),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Trivial, but why not just create the #state{} record here and pass it through intact?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably just an "order of operations thing," as in, I morphed the code in such a way that this is how it ended up... good call though, will update.

rather than passing all the parameters down to `init`
@thumbot
Copy link

thumbot commented Feb 14, 2017

dr-th/service-poc b8880ca ➡️ develop 8e4cf95 ✅ completed
Looks good! 👍
✅ MERGE

Started at: 2017-02-14 11:23
Duration: 1 seconds.
Result: OK
Message: Merge Success: dr-th/service-poc b8880ca onto target branch: develop 8e4cf95
Exit Code: OK

📄







  Merge made by the 'recursive' strategy.
 src/riak_core_app.erl                  | 10 +++++
 src/riak_core_info_service.erl         | 44 ++++++++++++++++++++++
 src/riak_core_info_service_process.erl | 69 ++++++++++++++++++++++++++++++++++
 src/riak_core_info_service_sup.erl     | 30 +++++++++++++++
 src/riak_core_sup.erl                  |  1 +
 5 files changed, 154 insertions(+)
 create mode 100644 src/riak_core_info_service.erl
 create mode 100644 src/riak_core_info_service_process.erl
 create mode 100644 src/riak_core_info_service_sup.erl




✅ MAKE_CLEAN

Started at: 2017-02-14 11:23
Duration: 1 seconds.
Result: OK
Message: OK
Exit Code: 0

📄


cd /tmp/thumbs/develop.8e4cf95.dr-th_service-poc.b8880ca; make clean




  ./rebar clean
==> develop.8e4cf95.dr-th_service-poc.b8880ca (clean)





✅ MAKE_DEPS

Started at: 2017-02-14 11:23
Duration: 12 seconds.
Result: OK
Message: OK
Exit Code: 0

📄


cd /tmp/thumbs/develop.8e4cf95.dr-th_service-poc.b8880ca; make deps




  ./rebar get-deps
==> develop.8e4cf95.dr-th_service-poc.b8880ca (get-deps)
Pulling lager from {git,"git://github.com/basho/lager.git",{tag,"3.2.4"}}
Cloning into 'lager'...
Pulling poolboy from {git,"git://github.com/basho/poolboy.git",
                          {tag,"0.8.1p3"}}
Cloning into 'poolboy'...
Pulling basho_stats from {git,"git://github.com/basho/basho_stats.git",
                              {tag,"1.0.3"}}
Cloning into 'basho_stats'...
Pulling riak_sysmon from {git,"git://github.com/basho/riak_sysmon.git",
                              {tag,"2.1.4"}}
Cloning into 'riak_sysmon'...
Pulling eleveldb from {git,"git://github.com/basho/eleveldb.git",
                           {tag,"2.0.32"}}
Cloning into 'eleveldb'...
Pulling riak_ensemble from {git,"git://github.com/basho/riak_ensemble",
                                {tag,"2.1.6"}}
Cloning into 'riak_ensemble'...
Pulling pbkdf2 from {git,"git://github.com/basho/erlang-pbkdf2.git",
                         {tag,"2.0.0"}}
Cloning into 'pbkdf2'...
Pulling exometer_core from {git,"git://github.com/basho/exometer_core.git",
                                {tag,"1.0.0-basho9"}}
Cloning into 'exometer_core'...
Pulling clique from {git,"https://github.com/basho/clique.git",{tag,"0.3.8"}}
Cloning into 'clique'...
==> lager (get-deps)
Pulling goldrush from {git,"https://github.com/basho/goldrush.git",
                           {tag,"0.1.9"}}
Cloning into 'goldrush'...
==> goldrush (get-deps)
==> poolboy (get-deps)
==> basho_stats (get-deps)
==> riak_sysmon (get-deps)
Pulling cuttlefish from {git,"https://github.com/basho/cuttlefish.git",
                             {tag,"2.0.10"}}
Cloning into 'cuttlefish'...
==> cuttlefish (get-deps)
Pulling getopt from {git,"https://github.com/basho/getopt.git",{tag,"v0.8.2"}}
Cloning into 'getopt'...
Pulling neotoma from {git,"https://github.com/basho/neotoma.git",
                          {tag,"1.7.3"}}
Cloning into 'neotoma'...
==> getopt (get-deps)
==> neotoma (get-deps)
==> eleveldb (get-deps)
Cloning into 'leveldb'...
Note: checking out '2.0.31'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b new_branch_name

HEAD is now at e6a2939... add (int) cast to fix compile errors on 10 of 16 platforms ... argh.
==> riak_ensemble (get-deps)
==> pbkdf2 (get-deps)
==> src (get-deps)
==> exometer_core (get-deps)
Pulling parse_trans from {git,"git://github.com/basho/parse_trans.git",
                              {tag,"2.9.2p1"}}
Cloning into 'parse_trans'...
Pulling folsom from {git,"git://github.com/basho/folsom.git",{tag,"0.7.4p5"}}
Cloning into 'folsom'...
Pulling setup from {git,"git://github.com/basho/setup.git",{tag,"1.4"}}
Cloning into 'setup'...
==> parse_trans (get-deps)
Pulling edown from {git,"git://github.com/basho/edown.git",{tag,"0.8.1"}}
Cloning into 'edown'...
==> edown (get-deps)
==> folsom (get-deps)
Pulling bear from {git,"git://github.com/basho/bear.git",{tag,"0.1.3p1"}}
Cloning into 'bear'...
Pulling meck from {git,"git://github.com/basho/meck.git",{tag,"0.8.2"}}
Cloning into 'meck'...
==> bear (get-deps)
==> meck (get-deps)
==> setup (get-deps)
==> clique (get-deps)





✅ MAKE_COMPILE

Started at: 2017-02-14 11:23
Duration: 34 seconds.
Result: OK
Message: OK
Exit Code: 0

📄


cd /tmp/thumbs/develop.8e4cf95.dr-th_service-poc.b8880ca; make compile




  
  
... Snipped 636 lines ...
d -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY  -DLEVELDB_VSN="2.0.31" -O2 -g -DNDEBUG     -fPIC tools/perf_dump.cc -o perf_dump -L . -Wl,-non_shared -lleveldb -Wl,-call_shared -m64  -L/tmp/thumbs/develop.8e4cf95.dr-th_service-poc.b8880ca/deps/eleveldb/c_src/system/lib -pthread -lrt -Wl,-non_shared -lsnappy -Wl,-call_shared
c++ -m64  -Wall -O3 -fPIC -I /tmp/thumbs/develop.8e4cf95.dr-th_service-poc.b8880ca/deps/eleveldb/c_src/system/include -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY  -DLEVELDB_VSN="2.0.31" -O2 -g -DNDEBUG     -fPIC tools/sst_rewrite.cc -o sst_rewrite -L . -Wl,-non_shared -lleveldb -Wl,-call_shared -m64  -L/tmp/thumbs/develop.8e4cf95.dr-th_service-poc.b8880ca/deps/eleveldb/c_src/system/lib -pthread -lrt -Wl,-non_shared -lsnappy -Wl,-call_shared
c++ -m64  -Wall -O3 -fPIC -I /tmp/thumbs/develop.8e4cf95.dr-th_service-poc.b8880ca/deps/eleveldb/c_src/system/include -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY  -DLEVELDB_VSN="2.0.31" -O2 -g -DNDEBUG     -fPIC tools/sst_scan.cc -o sst_scan -L . -Wl,-non_shared -lleveldb -Wl,-call_shared -m64  -L/tmp/thumbs/develop.8e4cf95.dr-th_service-poc.b8880ca/deps/eleveldb/c_src/system/lib -pthread -lrt -Wl,-non_shared -lsnappy -Wl,-call_shared
make[1]: Leaving directory `/tmp/thumbs/develop.8e4cf95.dr-th_service-poc.b8880ca/deps/eleveldb/c_src/leveldb'
Compiled src/eleveldb_bump.erl
Compiled src/eleveldb.erl
Compiling c_src/eleveldb.cc
Compiling c_src/refobjects.cc
Compiling c_src/workitems.cc
==> riak_ensemble (compile)
Compiled src/riak_ensemble_backend.erl
Compiled src/riak_ensemble_sup.erl
Compiled src/synctree_orddict.erl
Compiled src/riak_ensemble_client.erl
Compiled src/riak_ensemble_router.erl
Compiled src/riak_ensemble_config.erl
Compiled src/riak_ensemble_router_sup.erl
Compiled src/synctree.erl
Compiled src/riak_ensemble_lease.erl
Compiled src/riak_ensemble_test.erl
Compiled src/synctree_leveldb.erl
Compiled src/riak_ensemble_manager.erl
Compiled src/riak_ensemble_root.erl
Compiled src/riak_ensemble_exchange.erl
Compiled src/riak_ensemble_save.erl
Compiled src/riak_ensemble_clock.erl
Compiled src/riak_ensemble_peer_worker.erl
Compiled src/riak_ensemble_app.erl
Compiled src/riak_ensemble_basic_backend.erl
Compiled src/riak_ensemble_state.erl
Compiled src/riak_ensemble_storage.erl
Compiled src/riak_ensemble_peer_tree.erl
Compiled src/riak_ensemble_peer_sup.erl
Compiled src/synctree_ets.erl
Compiled src/riak_ensemble_util.erl
Compiled src/riak_ensemble_msg.erl
Compiled src/riak_ensemble_peer.erl
Compiling c_src/riak_ensemble_clock.c
==> pbkdf2 (compile)
Compiled src/pbkdf2.erl
==> edown (compile)
Compiled src/edown_make.erl
Compiled src/edown_lib.erl
Compiled src/edown_doclet.erl
Compiled src/edown_xmerl.erl
Compiled src/edown_layout.erl
==> parse_trans (compile)
Compiled src/parse_trans.erl
Compiled src/parse_trans_pp.erl
Compiled src/parse_trans_codegen.erl
Compiled src/parse_trans_mod.erl
Compiled src/ct_expand.erl
Compiled src/exprecs.erl
==> bear (compile)
Compiled src/bear.erl
==> meck (compile)
Compiled src/meck_cover.erl
Compiled src/meck_expect.erl
Compiled src/meck_matcher.erl
Compiled src/meck_args_matcher.erl
Compiled src/meck_history.erl
Compiled src/meck.erl
Compiled src/meck_code_gen.erl
Compiled src/meck_util.erl
Compiled src/meck_code.erl
Compiled src/meck_ret_spec.erl
Compiled src/meck_proc.erl
==> folsom (compile)
Compiled src/folsom_sample_slide_sup.erl
Compiled src/folsom_sample_slide.erl
Compiled src/folsom_metrics_histogram.erl
Compiled src/folsom_ewma.erl
Compiled src/folsom_sample_none.erl
Compiled src/folsom_sample_exdec.erl
Compiled src/folsom_metrics_histogram_ets.erl
Compiled src/folsom_metrics_duration.erl
Compiled src/folsom.erl
Compiled src/folsom_sample.erl
Compiled src/folsom_metrics_meter_reader.erl
Compiled src/folsom_metrics.erl
Compiled src/folsom_vm_metrics.erl
Compiled src/folsom_sample_slide_uniform.erl
Compiled src/folsom_metrics_counter.erl
Compiled src/folsom_metrics_spiral.erl
Compiled src/folsom_meter_timer_server.erl
Compiled src/folsom_metrics_history.erl
Compiled src/folsom_sample_slide_server.erl
Compiled src/folsom_ets.erl
Compiled src/folsom_sup.erl
Compiled src/folsom_utils.erl
Compiled src/folsom_metrics_gauge.erl
Compiled src/folsom_metrics_meter.erl
Compiled src/folsom_sample_uniform.erl
==> setup (compile)
Compiled src/setup_lib.erl
Compiled src/setup_gen.erl
Compiled src/setup.erl
==> edown (escriptize)
==> setup (escriptize)
==> src (compile)
==> exometer_core (compile)
Compiled src/exometer_igor.erl
Compiled src/exometer_util.erl
Compiled src/exometer_entry.erl
Compiled src/exometer_probe.erl
Compiled src/exometer_report.erl
Compiled src/exometer_folsom_monitor.erl
Compiled src/exometer_folsom.erl
Compiled src/exometer_report_lager.erl
Compiled src/exometer_duration.erl
Compiled src/exometer_function.erl
Compiled src/exometer_core_sup.erl
Compiled src/exometer_slide.erl
Compiled src/exometer_slot_slide.erl
Compiled src/exometer_report_tty.erl
Compiled src/exometer_proc.erl
Compiled src/exo_montest.erl
Compiled src/exometer_cache.erl
Compiled src/exometer_spiral.erl
Compiled src/exometer_cpu.erl
Compiled src/exometer_alias.erl
Compiled src/exometer_shallowtree.erl
Compiled src/exometer_admin.erl
Compiled src/exometer_uniform.erl
Compiled src/exometer.erl
Compiled src/exometer_core_app.erl
Compiled src/exometer_info.erl
Compiled src/exometer_histogram.erl
==> clique (compile)
Compiled src/clique_writer.erl
Compiled src/clique_handler.erl
Compiled src/clique_test_group_leader.erl
Compiled src/clique_table.erl
Compiled src/clique_json_writer.erl
Compiled src/clique_config.erl
Compiled src/clique.erl
Compiled src/clique_typecast.erl
Compiled src/clique_human_writer.erl
Compiled src/clique_status.erl
Compiled src/clique_usage.erl
Compiled src/clique_error.erl
Compiled src/clique_manager.erl
Compiled src/clique_app.erl
Compiled src/clique_nodes.erl
Compiled src/clique_sup.erl
Compiled src/clique_csv_writer.erl
Compiled src/clique_command.erl
Compiled src/clique_parser.erl
Compiled src/clique_spec.erl
==> develop.8e4cf95.dr-th_service-poc.b8880ca (compile)
Compiled src/gen_nb_server.erl
Compiled src/riak_core_gen_server.erl
Compiled src/riak_core_stat_xform.erl
Compiled src/riak_core_broadcast_handler.erl
Compiled src/riak_core_vnode_worker_pool.erl
Compiled src/chash.erl
Compiled src/riak_core_format.erl
Compiled src/riak_core_broadcast.erl
Compiled src/riak_core_ring_manager.erl
Compiled src/riak_core_handoff_sender_sup.erl
Compiled src/riak_core_dist_mon.erl
Compiled src/chashbin.erl
Compiled src/riak_core_vnode_proxy.erl
Compiled src/riak_core_status.erl
Compiled src/riak_core_repair.erl
Compiled src/riak_core_metadata_exchange_fsm.erl
Compiled src/riak_core_claim_sim.erl
Compiled src/riak_core_mochiglobal.erl
Compiled src/dvvset.erl
Compiled src/riak_core_vnode_manager.erl
Compiled src/riak_core_bucket.erl
Compiled src/vclock.erl
Compiled src/riak_core_bg_manager.erl
Compiled src/riak_core_node_watcher.erl
Compiled src/riak_core_dtrace.erl
Compiled src/riak_core_tracer.erl
Compiled src/riak_core_vnode_sup.erl
Compiled src/riak_core_test_util.erl
Compiled src/riak_core_sup.erl
Compiled src/riak_core_handoff_sup.erl
Compiled src/riak_core_nodeid.erl
Compiled src/riak_core_vnode_proxy_sup.erl
Compiled src/riak_core_stat.erl
Compiled src/riak_core_handoff_listener.erl
Compiled src/hashtree.erl
Compiled src/riak_core_cli_registry.erl
Compiled src/riak_core_tcp_mon.erl
Compiled src/riak_core_stat_calc_sup.erl
Compiled src/riak_core_app.erl
Compiled src/riak_core_util.erl
Compiled src/riak_core_ring_util.erl
Compiled src/riak_core_console_table.erl
Compiled src/riak_core_cinfo_core.erl
Compiled src/supervisor_pre_r14b04.erl
Compiled src/riak_core_cluster_cli.erl
Compiled src/riak_core_net_ticktime.erl
Compiled src/riak_core_coverage_plan.erl
Compiled src/riak_core_ring.erl
Compiled src/riak_core_send_msg.erl
Compiled src/riak_core_throttle.erl
Compiled src/riak_core_metadata.erl
Compiled src/hashtree_tree.erl
Compiled src/riak_core_stat_q.erl
Compiled src/riak_core_table_owner.erl
Compiled src/riak_core_vnode_master.erl
Compiled src/process_proxy.erl
Compiled src/riak_core_ring_handler.erl
Compiled src/riak_core_exo_monitor.erl
Compiled src/riak_core_claim_util.erl
Compiled src/riak_core_stat_calc_proc.erl
Compiled src/riak_core_eventhandler_sup.erl
Compiled src/riak_core_metadata_object.erl
Compiled src/riak_core_handoff_listener_sup.erl
Compiled src/riak_core_sysmon_minder.erl
Compiled src/riak_core_pw_auth.erl
Compiled src/app_helper.erl
Compiled src/riak_core_stat_sup.erl
Compiled src/riak_core_node_watcher_events.erl
Compiled src/riak_core_sysmon_handler.erl
Compiled src/riak_core_handoff_cli.erl
Compiled src/riak_core_console.erl
Compiled src/riak_core_metadata_manager.erl
Compiled src/riak_core_bucket_props.erl
Compiled src/riak_core_vnode_worker.erl
Compiled src/riak_core_info_service_sup.erl
Compiled src/riak_core_metadata_hashtree.erl
Compiled src/bloom.erl
Compiled src/riak_core_handoff_status.erl
Compiled src/riak_core_handoff_sender.erl
Compiled src/riak_core_ring_events.erl
Compiled src/riak_core_gossip.erl
Compiled src/riak_core_coverage_fsm.erl
Compiled src/riak_core_claimant.erl
Compiled src/riak_core_ssl_util.erl
Compiled src/riak_core_stats_sup.erl
Compiled src/riak_core_bucket_type.erl
Compiled src/riak_core_security.erl
Compiled src/riak_core_handoff_receiver_sup.erl
Compiled src/riak_core_handoff_receiver.erl
Compiled src/riak_core_info_service.erl
Compiled src/riak_core_claim.erl
Compiled src/riak_core_new_claim.erl
Compiled src/riak_core_stat_cache.erl
Compiled src/riak_core_handoff_manager.erl
Compiled src/riak_core.erl
Compiled src/riak_core_apl.erl
Compiled src/riak_core_vnode.erl
Compiled src/riak_core_priority_queue.erl
Compiled src/riak_core_info_service_process.erl
Compiled src/riak_core_eventhandler_guard.erl
Compiled src/riak_core_capability.erl
Compiled src/riak_core_base64url.erl





✅ MAKE_TEST

Started at: 2017-02-14 11:24
Duration: 591 seconds.
Result: OK
Message: OK
Exit Code: 0

📄


cd /tmp/thumbs/develop.8e4cf95.dr-th_service-poc.b8880ca; make test




  
  
... Snipped 1306 lines ...
nfo] Application lager started on node nonode@nohost
  sync_command_test: sync_test_ (Assert sync exit)...ok
11:32:27.744 [error] CRASH REPORT Process <0.24833.0> with 0 neighbours exited with reason: {{already_started,<0.6721.0>},{exometer_core_app,start,[normal,[]]}} in application_master:init/4 line 133
11:32:27.744 [info] Application exometer_core exited with reason: {{already_started,<0.6721.0>},{exometer_core_app,start,[normal,[]]}}
11:32:27.748 [error] mock_vnode command failed core_breach
11:32:27.749 [error] gen_fsm <0.24842.0> in state active terminated with reason: core_breach
11:32:27.749 [error] CRASH REPORT Process <0.24842.0> with 0 neighbours exited with reason: core_breach in gen_fsm:terminate/7 line 622
11:32:27.749 [error] Supervisor riak_core_vnode_sup had child undefined started with {riak_core_vnode,start_link,undefined} at <0.24842.0> exit with reason core_breach in context child_terminated
11:32:27.804 [info] Application lager started on node nonode@nohost
11:32:27.804 [error] CRASH REPORT Process <0.24878.0> with 0 neighbours exited with reason: {{already_started,<0.6721.0>},{exometer_core_app,start,[normal,[]]}} in application_master:init/4 line 133
11:32:27.805 [info] Application exometer_core exited with reason: {{already_started,<0.6721.0>},{exometer_core_app,start,[normal,[]]}}
  sync_command_test: sync_test_ (Assert non-blocking sync error)...ok
11:32:27.811 [error] mock_vnode command failed {core_breach,[{mock_vnode,handle_command,3,[{file,"test/mock_vnode.erl"},{line,131}]},{riak_core_vnode,vnode_command,3,[{file,"src/riak_core_vnode.erl"},{line,346}]},{gen_fsm,handle_msg,7,[{file,"gen_fsm.erl"},{line,505}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,239}]}]}
11:32:27.811 [error] gen_fsm <0.24887.0> in state active terminated with reason: core_breach in mock_vnode:handle_command/3 line 131
11:32:27.811 [error] CRASH REPORT Process <0.24887.0> with 0 neighbours exited with reason: core_breach in mock_vnode:handle_command/3 line 131 in gen_fsm:terminate/7 line 622
11:32:27.812 [error] Supervisor riak_core_vnode_sup had child undefined started with {riak_core_vnode,start_link,undefined} at <0.24887.0> exit with reason core_breach in mock_vnode:handle_command/3 line 131 in context child_terminated
11:32:27.852 [info] Application lager started on node nonode@nohost
  sync_command_test: sync_test_ (Assert non-blocking sync exit)...11:32:27.852 [error] CRASH REPORT Process <0.24924.0> with 0 neighbours exited with reason: {{already_started,<0.6721.0>},{exometer_core_app,start,[normal,[]]}} in application_master:init/4 line 133
11:32:27.852 [info] Application exometer_core exited with reason: {{already_started,<0.6721.0>},{exometer_core_app,start,[normal,[]]}}
ok
11:32:27.856 [error] mock_vnode command failed core_breach
11:32:27.856 [error] gen_fsm <0.24933.0> in state active terminated with reason: core_breach
11:32:27.856 [error] CRASH REPORT Process <0.24933.0> with 0 neighbours exited with reason: core_breach in gen_fsm:terminate/7 line 622
11:32:27.856 [error] Supervisor riak_core_vnode_sup had child undefined started with {riak_core_vnode,start_link,undefined} at <0.24933.0> exit with reason core_breach in context child_terminated
  [done in 0.342 s]
module 'riak_core_ssl_util'
module 'riak_core_handoff_receiver'
module 'riak_core_ring_handler'
module 'test_guarded_event_handler'
  test_guarded_event_handler: guarded_handler_test_...[0.101 s] ok
  [done in 0.104 s]
module 'riak_core_vnode_worker'
module 'riak_core_handoff_manager'
  riak_core_handoff_manager:674: handoff_test_...ok
  riak_core_handoff_manager:675: handoff_test_...ok
  [done in 0.006 s]
module 'riak_core_dtrace'
  riak_core_dtrace: timeit_naive_test...timeit_naive                 average     1.358 usec/call over     500.0 calls
[0.013 s] ok
  riak_core_dtrace: timeit_mochiglobal_test...timeit_mochiglobal           average     2.290 usec/call over  225000.0 calls
Skipping timeit_best_on test: no DTrace/SystemTap is available
[0.529 s] ok
  riak_core_dtrace: timeit_best_off_test...ok
  riak_core_dtrace: timeit_best_onfalse_test...Skipping timeit_best_on test: no DTrace/SystemTap is available
ok
  riak_core_dtrace: timeit_best_ontrue_test...Skipping timeit_best_on test: no DTrace/SystemTap is available
NOTE: cover analysis will skew results.  Run without cover for true timings.
ok
  riak_core_dtrace: last_test...ok
  [done in 0.560 s]
riak_core_format: human_time_fmt_test (module 'riak_core_format')...ok
module 'riak_core_metadata_exchange_fsm'
module 'worker_pool_test'
  worker_pool_test: pool_test_...[1.201 s] ok
  worker_pool_test: pool_test_...[1.201 s] ok
  [done in 2.408 s]
module 'riak_core_vnode_master'
module 'riak_core_cluster_cli'
module 'riak_core_metadata_manager'
module 'claim_simulation'
module 'riak_core_claim'
  riak_core_claim: wants_claim_test...[0.004 s] ok
  riak_core_claim: find_biggest_hole_test...ok
  riak_core_claim: prop_claim_ensures_unique_nodes_v2_test_.......................................................................................................
OK, passed 100 tests
[1.817 s] ok
  riak_core_claim: prop_claim_ensures_unique_nodes_v3_test_........
OK, passed 5 tests
[12.474 s] ok
  riak_core_claim: wants_counts_test.......................................................................................................
OK, passed 100 tests
[0.008 s] ok
  riak_core_claim: wants_test.......................................................................................................
OK, passed 100 tests
[0.095 s] ok
  riak_core_claim: take_idxs_test.......................................................................................................
OK, passed 100 tests
[0.059 s] ok
  [done in 14.478 s]
module 'riak_core_info_service'
vclock_qc:21: eqc_test_ (module 'vclock_qc').......................................................................................................(x10)........................................................(x1)..
Time limit reached: 20.0 seconds.

OK, passed 662 tests

45.46% 0
24.48% 1
12.94% 2
7.55% 3
5.33% 4
4.24% 5

11.041% {vclock_qc,fresh,0}
10.847% {vclock_qc,timestamp,0}
10.117% {vclock_qc,get_timestamp,2}
9.773% {vclock_qc,get_dot,2}
9.756% {vclock_qc,increment,2}
9.722% {vclock_qc,descends_dot,3}
9.710% {vclock_qc,dominates,2}
9.683% {vclock_qc,merge,1}
9.681% {vclock_qc,get_counter,2}
9.669% {vclock_qc,descends,2}

40.6% {num_vclocks_div_10,0}
20.1% {num_vclocks_div_10,1}
12.2% {num_vclocks_div_10,2}
9.8% {num_vclocks_div_10,3}
5.3% {num_vclocks_div_10,4}
2.9% {num_vclocks_div_10,5}
2.3% {num_vclocks_div_10,6}
1.5% {num_vclocks_div_10,7}
1.4% {num_vclocks_div_10,9}
1.4% {num_vclocks_div_10,8}
0.6% {num_vclocks_div_10,11}
0.6% {num_vclocks_div_10,10}
0.3% {num_vclocks_div_10,13}
0.3% {num_vclocks_div_10,12}
0.2% {num_vclocks_div_10,18}
0.2% {num_vclocks_div_10,17}
0.2% {num_vclocks_div_10,16}
0.2% {num_vclocks_div_10,15}
0.2% {num_vclocks_div_10,14}
[20.012 s] ok
module 'riak_core_send_msg'
riak_core_bucket: simple_set_test (module 'riak_core_bucket')...[0.005 s] ok
module 'riak_core_handoff_sender_sup'
module 'riak_core_coverage_plan'
module 'riak_core_eventhandler_sup'
module 'riak_core_repair'
module 'bucket_eqc_utils'
module 'vclock'
  vclock: example_test...ok
  vclock: prune_small_test...ok
  vclock: prune_young_test...ok
  vclock: prune_big_test...ok
  vclock: prune_old_test...ok
  vclock: prune_order_test...ok
  vclock: accessor_test...ok
  vclock: merge_test...ok
  vclock: merge_less_left_test...ok
  vclock: merge_less_right_test...ok
  vclock: merge_same_id_test...ok
  vclock: get_entry_test...ok
  vclock: valid_entry_test...ok
  [done in 0.039 s]
module 'riak_core_ring_manager'
  riak_core_ring_manager: back_test...ok
  riak_core_ring_manager: prune_list_test...ok
  riak_core_ring_manager: set_ring_global_test...[0.007 s] ok
  riak_core_ring_manager: set_my_ring_test...[0.006 s] ok
  riak_core_ring_manager: refresh_my_ring_test...ok
  riak_core_ring_manager: do_write_ringfile_test...[0.005 s] ok
  riak_core_ring_manager: is_stable_ring_test...ok
  [done in 0.039 s]
module 'riak_core_handoff_sup'
module 'riak_core_capability'
  riak_core_capability_tests: basic_test (module 'riak_core_capability_tests')...ok
  [done in 0.003 s]
module 'riak_core_handoff_cli'
module 'riak_core_broadcast_handler'
module 'mock_vnode'
module 'bloom'
  bloom: fixed_case_test_...[1.033 s] ok
  bloom: bloom_test...[0.631 s] ok
  [done in 1.670 s]
module 'riak_core_vnode_sup'
module 'process_proxy'
module 'riak_core_dist_mon'
module 'riak_core_bucket_type'
module 'riak_core_gossip'
module 'app_helper'
  app_helper: app_helper_test_...ok
  app_helper: app_helper_test_...ok
  app_helper: app_helper_test_...ok
  app_helper: app_helper_test_...ok
  app_helper: app_helper_test_...ok
  app_helper: app_helper_test_...ok
  [done in 0.018 s]
module 'bg_manager_tests'
  bg_manager_tests: bg_mgr_test_ (set/get token rates + verify rates)...[0.001 s] ok
  bg_manager_tests: bg_mgr_test_ (crash token manager + verify rates persist)...[0.303 s] ok
  bg_manager_tests: bg_mgr_test_ (lock/token separation)...ok
  bg_manager_tests: bg_mgr_test_ (failing crash/revive EQC test case)...[0.303 s] ok
  bg_manager_tests: bg_mgr_test_ (bypass API)...ok
  [done in 0.622 s]
module 'riak_core_schema_tests'
  riak_core_schema_tests: basic_schema_test...[0.071 s] ok
  riak_core_schema_tests: invalid_states_test...[0.030 s] ok
  riak_core_schema_tests: default_bucket_properties_test...[0.031 s] ok
  riak_core_schema_tests: override_schema_test...[0.031 s] ok
  [done in 0.175 s]
=======================================================
  All 428 tests passed.
Cover analysis: /tmp/thumbs/develop.8e4cf95.dr-th_service-poc.b8880ca/.eunit/index.html

=INFO REPORT==== 14-Feb-2017::11:34:00 ===
    application: ssl
    exited: stopped
    type: temporary

=INFO REPORT==== 14-Feb-2017::11:34:00 ===
    application: inets
    exited: killed
    type: temporary





✅ MAKE_XREF

Started at: 2017-02-14 11:34
Duration: 5 seconds.
Result: OK
Message: OK
Exit Code: 0

📄


cd /tmp/thumbs/develop.8e4cf95.dr-th_service-poc.b8880ca; make xref




  ./rebar get-deps
==> goldrush (get-deps)
==> lager (get-deps)
==> poolboy (get-deps)
==> basho_stats (get-deps)
==> getopt (get-deps)
==> neotoma (get-deps)
==> cuttlefish (get-deps)
==> riak_sysmon (get-deps)
==> eleveldb (get-deps)
==> riak_ensemble (get-deps)
==> pbkdf2 (get-deps)
==> edown (get-deps)
==> parse_trans (get-deps)
==> bear (get-deps)
==> meck (get-deps)
==> folsom (get-deps)
==> setup (get-deps)
==> src (get-deps)
==> exometer_core (get-deps)
==> clique (get-deps)
==> develop.8e4cf95.dr-th_service-poc.b8880ca (get-deps)
./rebar compile
==> goldrush (compile)
==> lager (compile)
==> poolboy (compile)
==> basho_stats (compile)
==> getopt (compile)
==> neotoma (compile)
==> cuttlefish (compile)
==> getopt (escriptize)
==> goldrush (escriptize)
==> lager (escriptize)
==> neotoma (escriptize)
==> cuttlefish (escriptize)
==> riak_sysmon (compile)
==> eleveldb (compile)
make[1]: Entering directory `/tmp/thumbs/develop.8e4cf95.dr-th_service-poc.b8880ca/deps/eleveldb/c_src/leveldb'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/tmp/thumbs/develop.8e4cf95.dr-th_service-poc.b8880ca/deps/eleveldb/c_src/leveldb'
make[1]: Entering directory `/tmp/thumbs/develop.8e4cf95.dr-th_service-poc.b8880ca/deps/eleveldb/c_src/leveldb'
make[1]: Nothing to be done for `tools'.
make[1]: Leaving directory `/tmp/thumbs/develop.8e4cf95.dr-th_service-poc.b8880ca/deps/eleveldb/c_src/leveldb'
==> riak_ensemble (compile)
==> pbkdf2 (compile)
==> edown (compile)
==> parse_trans (compile)
==> bear (compile)
==> meck (compile)
==> folsom (compile)
==> setup (compile)
==> edown (escriptize)
==> setup (escriptize)
==> src (compile)
==> exometer_core (compile)
==> clique (compile)
==> develop.8e4cf95.dr-th_service-poc.b8880ca (compile)
./rebar xref skip_deps=true
WARN:  Ignoring sub_dirs for /tmp/thumbs/develop.8e4cf95.dr-th_service-poc.b8880ca/deps/exometer_core
==> develop.8e4cf95.dr-th_service-poc.b8880ca (xref)





✅ MAKE_DIALYZER

Started at: 2017-02-14 11:34
Duration: 42 seconds.
Result: OK
Message: OK
Exit Code: 0

📄


cd /tmp/thumbs/develop.8e4cf95.dr-th_service-poc.b8880ca; make dialyzer




  
  
... Snipped 181 lines ...
ax:abstract/1
  erl_syntax:application/2
  erl_syntax:application/3
  erl_syntax:application_arguments/1
  erl_syntax:arity_qualifier/2
  erl_syntax:arity_qualifier_argument/1
  erl_syntax:arity_qualifier_body/1
  erl_syntax:atom/1
  erl_syntax:atom_value/1
  erl_syntax:attribute/2
  erl_syntax:attribute_arguments/1
  erl_syntax:attribute_name/1
  erl_syntax:case_expr/2
  erl_syntax:catch_expr/1
  erl_syntax:clause/2
  erl_syntax:clause/3
  erl_syntax:clause_patterns/1
  erl_syntax:fun_expr_clauses/1
  erl_syntax:function/2
  erl_syntax:function_clauses/1
  erl_syntax:generator/2
  erl_syntax:generator_body/1
  erl_syntax:generator_pattern/1
  erl_syntax:get_pos/1
  erl_syntax:implicit_fun/2
  erl_syntax:implicit_fun_name/1
  erl_syntax:integer/1
  erl_syntax:integer_value/1
  erl_syntax:list/1
  erl_syntax:list_comp/2
  erl_syntax:list_comp_body/1
  erl_syntax:list_comp_template/1
  erl_syntax:list_elements/1
  erl_syntax:match_expr/2
  erl_syntax:revert/1
  erl_syntax:revert_forms/1
  erl_syntax:string/1
  erl_syntax:string_value/1
  erl_syntax:subtrees/1
  erl_syntax:tuple/1
  erl_syntax:tuple_elements/1
  erl_syntax:type/1
  erl_syntax:underscore/0
  erl_syntax:update_tree/2
  erl_syntax:variable/1
  erl_syntax:variable_name/1
  erl_syntax_lib:analyze_application/1
  erl_syntax_lib:analyze_forms/1
  erl_syntax_lib:analyze_function/1
  erl_syntax_lib:map/2
  erl_syntax_lib:variables/1
  erlang:append_element/2
  erlang:atom_to_binary/2
  erlang:atom_to_list/1
  erlang:binary_to_atom/2
  erlang:binary_to_existing_atom/2
  erlang:binary_to_list/1
  erlang:binary_to_list/3
  erlang:binary_to_term/1
  erlang:bitstring_to_list/1
  erlang:bump_reductions/1
  erlang:cancel_timer/1
  erlang:crc32/1
  erlang:demonitor/1
  erlang:demonitor/2
  erlang:erase/1
  erlang:exit/2
  erlang:float_to_list/1
  erlang:float_to_list/2
  erlang:fun_info/2
  erlang:fun_to_list/1
  erlang:function_exported/3
  erlang:garbage_collect/0
  erlang:get/1
  erlang:get_module_info/1
  erlang:get_module_info/2
  erlang:get_stacktrace/0
  erlang:group_leader/0
  erlang:group_leader/2
  erlang:integer_to_list/1
  erlang:iolist_size/1
  erlang:iolist_to_binary/1
  erlang:is_alive/0
  erlang:is_builtin/3
  erlang:is_map/1
  erlang:is_process_alive/1
  erlang:link/1
  erlang:list_to_atom/1
  erlang:list_to_binary/1
  erlang:list_to_existing_atom/1
  erlang:list_to_float/1
  erlang:list_to_integer/1
  erlang:list_to_tuple/1
  erlang:load_nif/2
  erlang:localtime/0
  erlang:make_fun/3
  erlang:make_ref/0
  erlang:map_size/1
  erlang:max/2
  erlang:min/2
  erlang:monitor/2
  erlang:now/0
  erlang:phash2/1
  erlang:phash2/2
  erlang:pid_to_list/1
  erlang:port_info/1
  erlang:port_info/2
  erlang:port_to_list/1
  erlang:ports/0
  erlang:process_flag/2
  erlang:process_info/2
  erlang:processes/0
  erlang:put/2
  erlang:raise/3
  erlang:ref_to_list/1
  erlang:register/2
  erlang:registered/0
  erlang:send/2
  erlang:send/3
  erlang:send_after/3
  erlang:spawn_link/3
  erlang:spawn_monitor/1
  erlang:split_binary/2
  erlang:start_timer/3
  erlang:statistics/1
  erlang:system_monitor/0
  erlang:system_monitor/2
  erlang:term_to_binary/1
  erlang:trace_info/2
  erlang:trace_pattern/3
  erlang:universaltime/0
  erlang:unlink/1
  erlang:whereis/1
  error_logger:add_report_handler/1
  error_logger:delete_report_handler/1
  error_logger:error_msg/1
  error_logger:error_msg/2
  error_logger:format/2
  error_logger:info_msg/2
  error_logger:info_report/1
  error_logger:warning_msg/1
  escript:script_name/0
  ets:all/0
  ets:delete/1
  ets:delete/2
  ets:delete_all_objects/1
  ets:delete_object/2
  ets:first/1
  ets:foldl/3
  ets:give_away/3
  ets:info/1
  ets:info/2
  ets:insert/2
  ets:insert_new/2
  ets:last/1
  ets:lookup/2
  ets:lookup_element/3
  ets:match/2
  ets:match_spec_compile/1
  ets:match_spec_run/2
  ets:member/2
  ets:new/2
  ets:next/2
  ets:prev/2
  ets:select/1
  ets:select/2
  ets:select/3
  ets:select_count/2
  ets:select_delete/2
  ets:select_reverse/3
  ets:setopts/2
  ets:tab2list/1
  ets:update_counter/3
  ets:update_element/3
  eunit:test/1
  file:close/1
  file:consult/1
  file:datasync/1
  file:delete/1
  file:format_error/1
  file:get_cwd/0
  file:list_dir/1
  file:make_dir/1
  file:open/2
  file:read/2
  file:read_file/1
  file:read_file_info/1
  file:rename/2
  file:script/1
  file:script/2
  file:set_cwd/1
  file:sync/1
  file:write/2
  file:write_file/2
  filelib:ensure_dir/1
  filelib:is_dir/1
  filelib:is_file/1
  filelib:is_regular/1
  filelib:wildcard/1
  filelib:wildcard/2
  filename:absname/1
  filename:append/2
  filename:basename/1
  filename:basename/2
  filename:dirname/1
  filename:extension/1
  filename:join/1
  filename:join/2
  filename:split/1
  gb_trees:empty/0
  gb_trees:enter/3
  gb_trees:from_orddict/1
  gb_trees:get/2
  gb_trees:iterator/1
  gb_trees:lookup/2
  gb_trees:next/1
  gb_trees:size/1
  gen_event:add_sup_handler/3
  gen_event:call/3
  gen_event:call/4
  gen_event:delete_handler/3
  gen_event:notify/2
  gen_event:sync_notify/2
  gen_event:which_handlers/1
  gen_fsm:cancel_timer/1
  gen_fsm:reply/2
  gen_fsm:send_all_state_event/2
  gen_fsm:send_event/2
  gen_fsm:send_event_after/2
  gen_fsm:start/3
  gen_fsm:start_link/3
  gen_fsm:sync_send_all_state_event/2
  gen_fsm:sync_send_all_state_event/3
  gen_fsm:sync_send_event/2
  gen_fsm:sync_send_event/3
  gen_server:call/2
  gen_server:call/3
  gen_server:cast/2
  gen_server:reply/2
  gen_server:start/3
  gen_server:start/4
  gen_server:start_link/3
  gen_server:start_link/4
  hamcrest:assert_that/2
  hamcrest:is_matcher/1
  igor:parse_transform/2
  inet:getopts/2
  inet:getstat/1
  inet:parse_address/1
  inet:peername/1
  inet:sockname/1
  init:archive_extension/0
  init:get_argument/1
  init:script_id/0
  init:stop/1
  io:columns/0
  io:format/1
  io:format/2
  io:format/3
  io:fwrite/1
  io:fwrite/2
  io:fwrite/3
  io:put_chars/1
  io:put_chars/2
  io_lib:deep_char_list/1
  io_lib:format/2
  io_lib:fwrite/2
  io_lib:printable_list/1
  io_lib:write/1
  io_lib:write/2
  io_lib:write_atom/1
  io_lib_format:fwrite_g/1
  io_lib_pretty:print/6
  lager_default_tracer:info/1
  lib:format_exception/6
  lists:append/1
  lists:concat/1
  lists:duplicate/2
  lists:flatlength/1
  lists:keystore/4
  lists:keytake/3
  lists:prefix/2
  lists:seq/2
  lists:sublist/2
  lists:sublist/3
  lists:sum/1
  lists:ukeymerge/3
  lists:ukeysort/2
  maps:to_list/1
  math:cos/1
  math:exp/1
  math:log/1
  math:log10/1
  math:pi/0
  math:pow/2
  math:sqrt/1
  memsup:get_system_memory_data/0
  mochijson2:encode/1
  mustache:render/2
  net_adm:ping/1
  orddict:append/3
  orddict:append_list/3
  orddict:erase/2
  orddict:fetch_keys/1
  orddict:find/2
  orddict:fold/3
  orddict:merge/3
  orddict:new/0
  orddict:store/3
  orddict:update/4
  orddict:update_counter/3
  ordsets:add_element/2
  ordsets:del_element/2
  ordsets:from_list/1
  ordsets:intersection/2
  ordsets:is_element/2
  ordsets:new/0
  ordsets:subtract/2
  ordsets:union/2
  os:cmd/1
  os:getenv/1
  os:timestamp/0
  os:type/0
  prim_inet:getstatus/1
  prim_inet:gettype/1
  proc_lib:init_ack/2
  proc_lib:spawn/1
  proc_lib:start_link/3
  proplists:delete/2
  proplists:get_all_values/2
  proplists:get_bool/2
  proplists:get_keys/1
  proplists:get_value/2
  proplists:get_value/3
  proplists:is_defined/2
  proplists:lookup/2
  queue:filter/2
  queue:in/2
  queue:is_empty/1
  queue:len/1
  queue:member/2
  queue:new/0
  queue:out/1
  queue:to_list/1
  random:seed/0
  random:seed/1
  random:seed/3
  random:seed0/0
  random:uniform/0
  random:uniform/1
  random:uniform_s/2
  re:compile/1
  re:compile/2
  re:replace/4
  re:run/2
  re:run/3
  re:split/3
  rebar_config:get_local/3
  rebar_mustache:render/2
  rebar_rel_utils:get_target_dir/2
  rebar_rel_utils:is_rel_dir/0
  rebar_rel_utils:load_config/2
  release_handler:eval_appup_script/4
  rpc:call/4
  rpc:eval_everywhere/3
  rpc:multicall/3
  rpc:multicall/4
  rpc:multicall/5
  sets:add_element/2
  sets:del_element/2
  sets:from_list/1
  sets:is_element/2
  sets:new/0
  sets:size/1
  sets:to_list/1
  string:centre/2
  string:chr/2
  string:cspan/2
  string:join/2
  string:left/2
  string:left/3
  string:rchr/2
  string:right/2
  string:str/2
  string:strip/1
  string:strip/2
  string:sub_string/2
  string:sub_string/3
  string:substr/2
  string:substr/3
  string:to_lower/1
  string:tokens/2
  supervisor:delete_child/2
  supervisor:start_child/2
  supervisor:start_link/2
  supervisor:start_link/3
  supervisor:terminate_child/2
  supervisor:which_children/1
  sys:get_debug/3
  sys:handle_system_msg/6
  systools:make_script/2
  timer:apply_interval/4
  timer:cancel/1
  timer:now_diff/2
  timer:seconds/1
  timer:send_interval/2
  timer:sleep/1
  timer:tc/1
  timer:tc/2
  timer:tc/3
  unicode:characters_to_binary/1
  unicode:characters_to_binary/3
  unicode:characters_to_list/1
  unicode:characters_to_list/2
  xmerl:export_simple/2
  xmerl_html:'#element#'/5
  xmerl_lib:end_tag/1
  xmerl_lib:expand_element/1
  xmerl_lib:find_attribute/2
  xmerl_lib:mapxml/2
  xmerl_lib:start_tag/2
Unknown types:
  calendar:datetime/0
  erl_syntax:syntaxTree/0
  erlang:timestamp/0
  ets:comp_match_spec/0
  ets:match_spec/0
  ets:tab/0
  ets:tid/0
  file:date_time/0
  file:fd/0
  file:filename/0
  file:io_device/0
  file:name/0
  file:name_all/0
  file:posix/0
  hamcrest:matchspec/0
  meck_history:history_record/0
  orddict:orddict/0
  proplists:property/0
  proplists:proplist/0
  re:mp/0
  supervisor:child_spec/0
  timer:tref/0
  unicode:charlist/0
 done in 0m5.93s
done (passed successfully)
==> develop.8e4cf95.dr-th_service-poc.b8880ca (dialyzer)
  Checking whether the PLT /home/ubuntu/.combo_dialyzer_plt is up-to-date... yes
  Checking whether the PLT .local_dialyzer_plt is up-to-date... yes
  Compiling some key modules to native code... done in 0m9.14s
  Proceeding with analysis...
Unknown functions:
  cluster_info:format/3
  cluster_info:register_app/1
 done in 0m5.69s
done (passed successfully)





⬜ 0 of 2 Code reviews from organization basho

InfoSource = {riak_core_bucket, get_bucket, []},
ResultsHandler = {eleveldb_metadata, handle_metadata_response, []},
{ok, _Pid} = riak_core_info_service:start_service(Registration, Shutdown, InfoSource, ResultsHandler),
ok.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

-behaviour(gen_server).

-record(state, {
source = undefined :: riak_core_info_service:callback(),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggest a different name; I first thought source was the source of the request. Perhaps service_provider?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 - makes sense to me... will think about the name a bit but I like service_provider

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yea - go with service_provider unless you come up with something better - please make sure to rename things like the variables in riak_core_app.erl to match whatever you come up with.

@macintux
Copy link
Contributor

I'm reasonably certain the whitelist for mapreduce will prevent this from being misused, but it's worth verifying my memory is correct.

@thumbot
Copy link

thumbot commented Feb 15, 2017

dr-th/service-poc b8880ca ➡️ develop 146de1b ✅ completed
Looks good! 👍
✅ MERGE

Started at: 2017-02-15 08:04
Duration: 3 seconds.
Result: OK
Message: Merge Success: dr-th/service-poc b8880ca onto target branch: develop 146de1b
Exit Code: OK

📄







  Merge made by the 'recursive' strategy.
 src/riak_core_app.erl                  | 10 +++++
 src/riak_core_info_service.erl         | 44 ++++++++++++++++++++++
 src/riak_core_info_service_process.erl | 69 ++++++++++++++++++++++++++++++++++
 src/riak_core_info_service_sup.erl     | 30 +++++++++++++++
 src/riak_core_sup.erl                  |  1 +
 5 files changed, 154 insertions(+)
 create mode 100644 src/riak_core_info_service.erl
 create mode 100644 src/riak_core_info_service_process.erl
 create mode 100644 src/riak_core_info_service_sup.erl




✅ MAKE_CLEAN

Started at: 2017-02-15 08:04
Duration: 1 seconds.
Result: OK
Message: OK
Exit Code: 0

📄


cd /tmp/thumbs/develop.146de1b.dr-th_service-poc.b8880ca; make clean




  ./rebar clean
==> develop.146de1b.dr-th_service-poc.b8880ca (clean)





✅ MAKE_DEPS

Started at: 2017-02-15 08:04
Duration: 19 seconds.
Result: OK
Message: OK
Exit Code: 0

📄


cd /tmp/thumbs/develop.146de1b.dr-th_service-poc.b8880ca; make deps




  ./rebar get-deps
==> develop.146de1b.dr-th_service-poc.b8880ca (get-deps)
Pulling lager from {git,"git://github.com/basho/lager.git",{tag,"3.2.4"}}
Cloning into 'lager'...
Pulling poolboy from {git,"git://github.com/basho/poolboy.git",
                          {tag,"0.8.1p3"}}
Cloning into 'poolboy'...
Pulling basho_stats from {git,"git://github.com/basho/basho_stats.git",
                              {tag,"1.0.3"}}
Cloning into 'basho_stats'...
Pulling riak_sysmon from {git,"git://github.com/basho/riak_sysmon.git",
                              {tag,"2.1.4"}}
Cloning into 'riak_sysmon'...
Pulling eleveldb from {git,"git://github.com/basho/eleveldb.git",
                           {tag,"2.0.32"}}
Cloning into 'eleveldb'...
Pulling riak_ensemble from {git,"git://github.com/basho/riak_ensemble",
                                {tag,"2.1.6"}}
Cloning into 'riak_ensemble'...
Pulling pbkdf2 from {git,"git://github.com/basho/erlang-pbkdf2.git",
                         {tag,"2.0.0"}}
Cloning into 'pbkdf2'...
Pulling exometer_core from {git,"git://github.com/basho/exometer_core.git",
                                {tag,"1.0.0-basho9"}}
Cloning into 'exometer_core'...
Pulling clique from {git,"https://github.com/basho/clique.git",{tag,"0.3.8"}}
Cloning into 'clique'...
==> lager (get-deps)
Pulling goldrush from {git,"https://github.com/basho/goldrush.git",
                           {tag,"0.1.9"}}
Cloning into 'goldrush'...
==> goldrush (get-deps)
==> poolboy (get-deps)
==> basho_stats (get-deps)
==> riak_sysmon (get-deps)
Pulling cuttlefish from {git,"https://github.com/basho/cuttlefish.git",
                             {tag,"2.0.10"}}
Cloning into 'cuttlefish'...
==> cuttlefish (get-deps)
Pulling getopt from {git,"https://github.com/basho/getopt.git",{tag,"v0.8.2"}}
Cloning into 'getopt'...
Pulling neotoma from {git,"https://github.com/basho/neotoma.git",
                          {tag,"1.7.3"}}
Cloning into 'neotoma'...
==> getopt (get-deps)
==> neotoma (get-deps)
==> eleveldb (get-deps)
Cloning into 'leveldb'...
Note: checking out '2.0.31'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b new_branch_name

HEAD is now at e6a2939... add (int) cast to fix compile errors on 10 of 16 platforms ... argh.
==> riak_ensemble (get-deps)
==> pbkdf2 (get-deps)
==> src (get-deps)
==> exometer_core (get-deps)
Pulling parse_trans from {git,"git://github.com/basho/parse_trans.git",
                              {tag,"2.9.2p1"}}
Cloning into 'parse_trans'...
Pulling folsom from {git,"git://github.com/basho/folsom.git",{tag,"0.7.4p5"}}
Cloning into 'folsom'...
Pulling setup from {git,"git://github.com/basho/setup.git",{tag,"1.4"}}
Cloning into 'setup'...
==> parse_trans (get-deps)
Pulling edown from {git,"git://github.com/basho/edown.git",{tag,"0.8.1"}}
Cloning into 'edown'...
==> edown (get-deps)
==> folsom (get-deps)
Pulling bear from {git,"git://github.com/basho/bear.git",{tag,"0.1.3p1"}}
Cloning into 'bear'...
Pulling meck from {git,"git://github.com/basho/meck.git",{tag,"0.8.2"}}
Cloning into 'meck'...
==> bear (get-deps)
==> meck (get-deps)
==> setup (get-deps)
==> clique (get-deps)





✅ MAKE_COMPILE

Started at: 2017-02-15 08:04
Duration: 35 seconds.
Result: OK
Message: OK
Exit Code: 0

📄


cd /tmp/thumbs/develop.146de1b.dr-th_service-poc.b8880ca; make compile




  
  
... Snipped 636 lines ...
d -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY  -DLEVELDB_VSN="2.0.31" -O2 -g -DNDEBUG     -fPIC tools/perf_dump.cc -o perf_dump -L . -Wl,-non_shared -lleveldb -Wl,-call_shared -m64  -L/tmp/thumbs/develop.146de1b.dr-th_service-poc.b8880ca/deps/eleveldb/c_src/system/lib -pthread -lrt -Wl,-non_shared -lsnappy -Wl,-call_shared
c++ -m64  -Wall -O3 -fPIC -I /tmp/thumbs/develop.146de1b.dr-th_service-poc.b8880ca/deps/eleveldb/c_src/system/include -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY  -DLEVELDB_VSN="2.0.31" -O2 -g -DNDEBUG     -fPIC tools/sst_rewrite.cc -o sst_rewrite -L . -Wl,-non_shared -lleveldb -Wl,-call_shared -m64  -L/tmp/thumbs/develop.146de1b.dr-th_service-poc.b8880ca/deps/eleveldb/c_src/system/lib -pthread -lrt -Wl,-non_shared -lsnappy -Wl,-call_shared
c++ -m64  -Wall -O3 -fPIC -I /tmp/thumbs/develop.146de1b.dr-th_service-poc.b8880ca/deps/eleveldb/c_src/system/include -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY  -DLEVELDB_VSN="2.0.31" -O2 -g -DNDEBUG     -fPIC tools/sst_scan.cc -o sst_scan -L . -Wl,-non_shared -lleveldb -Wl,-call_shared -m64  -L/tmp/thumbs/develop.146de1b.dr-th_service-poc.b8880ca/deps/eleveldb/c_src/system/lib -pthread -lrt -Wl,-non_shared -lsnappy -Wl,-call_shared
make[1]: Leaving directory `/tmp/thumbs/develop.146de1b.dr-th_service-poc.b8880ca/deps/eleveldb/c_src/leveldb'
Compiled src/eleveldb_bump.erl
Compiled src/eleveldb.erl
Compiling c_src/eleveldb.cc
Compiling c_src/refobjects.cc
Compiling c_src/workitems.cc
==> riak_ensemble (compile)
Compiled src/riak_ensemble_backend.erl
Compiled src/riak_ensemble_sup.erl
Compiled src/synctree_orddict.erl
Compiled src/riak_ensemble_client.erl
Compiled src/riak_ensemble_router.erl
Compiled src/riak_ensemble_config.erl
Compiled src/riak_ensemble_router_sup.erl
Compiled src/synctree.erl
Compiled src/riak_ensemble_lease.erl
Compiled src/riak_ensemble_test.erl
Compiled src/synctree_leveldb.erl
Compiled src/riak_ensemble_root.erl
Compiled src/riak_ensemble_manager.erl
Compiled src/riak_ensemble_exchange.erl
Compiled src/riak_ensemble_save.erl
Compiled src/riak_ensemble_clock.erl
Compiled src/riak_ensemble_peer_worker.erl
Compiled src/riak_ensemble_basic_backend.erl
Compiled src/riak_ensemble_app.erl
Compiled src/riak_ensemble_state.erl
Compiled src/riak_ensemble_storage.erl
Compiled src/riak_ensemble_peer_tree.erl
Compiled src/riak_ensemble_peer_sup.erl
Compiled src/synctree_ets.erl
Compiled src/riak_ensemble_util.erl
Compiled src/riak_ensemble_msg.erl
Compiled src/riak_ensemble_peer.erl
Compiling c_src/riak_ensemble_clock.c
==> pbkdf2 (compile)
Compiled src/pbkdf2.erl
==> edown (compile)
Compiled src/edown_make.erl
Compiled src/edown_lib.erl
Compiled src/edown_xmerl.erl
Compiled src/edown_doclet.erl
Compiled src/edown_layout.erl
==> parse_trans (compile)
Compiled src/parse_trans.erl
Compiled src/parse_trans_pp.erl
Compiled src/parse_trans_codegen.erl
Compiled src/parse_trans_mod.erl
Compiled src/ct_expand.erl
Compiled src/exprecs.erl
==> bear (compile)
Compiled src/bear.erl
==> meck (compile)
Compiled src/meck_cover.erl
Compiled src/meck_expect.erl
Compiled src/meck_matcher.erl
Compiled src/meck_args_matcher.erl
Compiled src/meck_history.erl
Compiled src/meck.erl
Compiled src/meck_code_gen.erl
Compiled src/meck_util.erl
Compiled src/meck_code.erl
Compiled src/meck_ret_spec.erl
Compiled src/meck_proc.erl
==> folsom (compile)
Compiled src/folsom_sample_slide_sup.erl
Compiled src/folsom_sample_slide.erl
Compiled src/folsom_metrics_histogram.erl
Compiled src/folsom_ewma.erl
Compiled src/folsom_sample_none.erl
Compiled src/folsom_sample_exdec.erl
Compiled src/folsom_metrics_histogram_ets.erl
Compiled src/folsom_metrics_duration.erl
Compiled src/folsom.erl
Compiled src/folsom_sample.erl
Compiled src/folsom_metrics_meter_reader.erl
Compiled src/folsom_metrics.erl
Compiled src/folsom_vm_metrics.erl
Compiled src/folsom_sample_slide_uniform.erl
Compiled src/folsom_metrics_counter.erl
Compiled src/folsom_metrics_spiral.erl
Compiled src/folsom_meter_timer_server.erl
Compiled src/folsom_metrics_history.erl
Compiled src/folsom_ets.erl
Compiled src/folsom_sup.erl
Compiled src/folsom_sample_slide_server.erl
Compiled src/folsom_utils.erl
Compiled src/folsom_metrics_gauge.erl
Compiled src/folsom_metrics_meter.erl
Compiled src/folsom_sample_uniform.erl
==> setup (compile)
Compiled src/setup_lib.erl
Compiled src/setup_gen.erl
Compiled src/setup.erl
==> edown (escriptize)
==> setup (escriptize)
==> src (compile)
==> exometer_core (compile)
Compiled src/exometer_igor.erl
Compiled src/exometer_util.erl
Compiled src/exometer_entry.erl
Compiled src/exometer_probe.erl
Compiled src/exometer_report.erl
Compiled src/exometer_folsom_monitor.erl
Compiled src/exometer_folsom.erl
Compiled src/exometer_report_lager.erl
Compiled src/exometer_duration.erl
Compiled src/exometer_function.erl
Compiled src/exometer_core_sup.erl
Compiled src/exometer_slide.erl
Compiled src/exometer_slot_slide.erl
Compiled src/exometer_report_tty.erl
Compiled src/exometer_proc.erl
Compiled src/exo_montest.erl
Compiled src/exometer_cache.erl
Compiled src/exometer_spiral.erl
Compiled src/exometer_cpu.erl
Compiled src/exometer_alias.erl
Compiled src/exometer_shallowtree.erl
Compiled src/exometer_admin.erl
Compiled src/exometer_uniform.erl
Compiled src/exometer.erl
Compiled src/exometer_info.erl
Compiled src/exometer_core_app.erl
Compiled src/exometer_histogram.erl
==> clique (compile)
Compiled src/clique_writer.erl
Compiled src/clique_handler.erl
Compiled src/clique_test_group_leader.erl
Compiled src/clique_table.erl
Compiled src/clique_config.erl
Compiled src/clique_json_writer.erl
Compiled src/clique.erl
Compiled src/clique_status.erl
Compiled src/clique_typecast.erl
Compiled src/clique_human_writer.erl
Compiled src/clique_error.erl
Compiled src/clique_usage.erl
Compiled src/clique_manager.erl
Compiled src/clique_nodes.erl
Compiled src/clique_app.erl
Compiled src/clique_sup.erl
Compiled src/clique_csv_writer.erl
Compiled src/clique_command.erl
Compiled src/clique_parser.erl
Compiled src/clique_spec.erl
==> develop.146de1b.dr-th_service-poc.b8880ca (compile)
Compiled src/gen_nb_server.erl
Compiled src/riak_core_gen_server.erl
Compiled src/riak_core_stat_xform.erl
Compiled src/riak_core_broadcast_handler.erl
Compiled src/riak_core_vnode_worker_pool.erl
Compiled src/chash.erl
Compiled src/riak_core_format.erl
Compiled src/riak_core_broadcast.erl
Compiled src/riak_core_dist_mon.erl
Compiled src/riak_core_ring_manager.erl
Compiled src/riak_core_handoff_sender_sup.erl
Compiled src/chashbin.erl
Compiled src/riak_core_vnode_proxy.erl
Compiled src/riak_core_repair.erl
Compiled src/riak_core_status.erl
Compiled src/riak_core_metadata_exchange_fsm.erl
Compiled src/riak_core_claim_sim.erl
Compiled src/riak_core_vnode_manager.erl
Compiled src/riak_core_mochiglobal.erl
Compiled src/dvvset.erl
Compiled src/riak_core_bucket.erl
Compiled src/vclock.erl
Compiled src/riak_core_node_watcher.erl
Compiled src/riak_core_bg_manager.erl
Compiled src/riak_core_dtrace.erl
Compiled src/riak_core_tracer.erl
Compiled src/riak_core_vnode_sup.erl
Compiled src/riak_core_test_util.erl
Compiled src/riak_core_sup.erl
Compiled src/riak_core_handoff_sup.erl
Compiled src/riak_core_nodeid.erl
Compiled src/riak_core_vnode_proxy_sup.erl
Compiled src/riak_core_stat.erl
Compiled src/hashtree.erl
Compiled src/riak_core_cli_registry.erl
Compiled src/riak_core_app.erl
Compiled src/riak_core_handoff_listener.erl
Compiled src/riak_core_stat_calc_sup.erl
Compiled src/riak_core_tcp_mon.erl
Compiled src/riak_core_util.erl
Compiled src/riak_core_ring_util.erl
Compiled src/riak_core_console_table.erl
Compiled src/riak_core_cinfo_core.erl
Compiled src/supervisor_pre_r14b04.erl
Compiled src/riak_core_cluster_cli.erl
Compiled src/riak_core_net_ticktime.erl
Compiled src/riak_core_coverage_plan.erl
Compiled src/riak_core_send_msg.erl
Compiled src/riak_core_ring.erl
Compiled src/riak_core_throttle.erl
Compiled src/riak_core_metadata.erl
Compiled src/hashtree_tree.erl
Compiled src/riak_core_stat_q.erl
Compiled src/riak_core_vnode_master.erl
Compiled src/riak_core_table_owner.erl
Compiled src/process_proxy.erl
Compiled src/riak_core_ring_handler.erl
Compiled src/riak_core_exo_monitor.erl
Compiled src/riak_core_claim_util.erl
Compiled src/riak_core_stat_calc_proc.erl
Compiled src/riak_core_eventhandler_sup.erl
Compiled src/riak_core_metadata_object.erl
Compiled src/riak_core_handoff_listener_sup.erl
Compiled src/riak_core_sysmon_minder.erl
Compiled src/riak_core_pw_auth.erl
Compiled src/app_helper.erl
Compiled src/riak_core_stat_sup.erl
Compiled src/riak_core_node_watcher_events.erl
Compiled src/riak_core_sysmon_handler.erl
Compiled src/riak_core_handoff_cli.erl
Compiled src/riak_core_console.erl
Compiled src/riak_core_metadata_manager.erl
Compiled src/riak_core_vnode_worker.erl
Compiled src/riak_core_bucket_props.erl
Compiled src/riak_core_info_service_sup.erl
Compiled src/bloom.erl
Compiled src/riak_core_metadata_hashtree.erl
Compiled src/riak_core_handoff_status.erl
Compiled src/riak_core_handoff_sender.erl
Compiled src/riak_core_ring_events.erl
Compiled src/riak_core_gossip.erl
Compiled src/riak_core_coverage_fsm.erl
Compiled src/riak_core_claimant.erl
Compiled src/riak_core_ssl_util.erl
Compiled src/riak_core_stats_sup.erl
Compiled src/riak_core_bucket_type.erl
Compiled src/riak_core_handoff_receiver.erl
Compiled src/riak_core_handoff_receiver_sup.erl
Compiled src/riak_core_security.erl
Compiled src/riak_core_info_service.erl
Compiled src/riak_core_claim.erl
Compiled src/riak_core_new_claim.erl
Compiled src/riak_core_stat_cache.erl
Compiled src/riak_core_handoff_manager.erl
Compiled src/riak_core.erl
Compiled src/riak_core_apl.erl
Compiled src/riak_core_vnode.erl
Compiled src/riak_core_priority_queue.erl
Compiled src/riak_core_info_service_process.erl
Compiled src/riak_core_eventhandler_guard.erl
Compiled src/riak_core_base64url.erl
Compiled src/riak_core_capability.erl





✅ MAKE_TEST

Started at: 2017-02-15 08:05
Duration: 610 seconds.
Result: OK
Message: OK
Exit Code: 0

📄


cd /tmp/thumbs/develop.146de1b.dr-th_service-poc.b8880ca; make test




  
  
... Snipped 1436 lines ...
child_terminated
08:14:09.576 [info] Application lager started on node nonode@nohost
  sync_command_test: sync_test_ (Assert sync exit)...ok
08:14:09.576 [error] CRASH REPORT Process <0.23836.0> with 0 neighbours exited with reason: {{already_started,<0.6319.0>},{exometer_core_app,start,[normal,[]]}} in application_master:init/4 line 133
08:14:09.576 [info] Application exometer_core exited with reason: {{already_started,<0.6319.0>},{exometer_core_app,start,[normal,[]]}}
08:14:09.580 [error] mock_vnode command failed core_breach
08:14:09.581 [error] gen_fsm <0.23845.0> in state active terminated with reason: core_breach
08:14:09.581 [error] CRASH REPORT Process <0.23845.0> with 0 neighbours exited with reason: core_breach in gen_fsm:terminate/7 line 622
08:14:09.581 [error] Supervisor riak_core_vnode_sup had child undefined started with {riak_core_vnode,start_link,undefined} at <0.23845.0> exit with reason core_breach in context child_terminated
08:14:09.627 [info] Application lager started on node nonode@nohost
  sync_command_test: sync_test_ (Assert non-blocking sync error)...08:14:09.627 [error] CRASH REPORT Process <0.23881.0> with 0 neighbours exited with reason: {{already_started,<0.6319.0>},{exometer_core_app,start,[normal,[]]}} in application_master:init/4 line 133
08:14:09.627 [info] Application exometer_core exited with reason: {{already_started,<0.6319.0>},{exometer_core_app,start,[normal,[]]}}
[0.001 s] ok
08:14:09.632 [error] mock_vnode command failed {core_breach,[{mock_vnode,handle_command,3,[{file,"test/mock_vnode.erl"},{line,131}]},{riak_core_vnode,vnode_command,3,[{file,"src/riak_core_vnode.erl"},{line,346}]},{gen_fsm,handle_msg,7,[{file,"gen_fsm.erl"},{line,505}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,239}]}]}
08:14:09.632 [error] gen_fsm <0.23890.0> in state active terminated with reason: core_breach in mock_vnode:handle_command/3 line 131
08:14:09.632 [error] CRASH REPORT Process <0.23890.0> with 0 neighbours exited with reason: core_breach in mock_vnode:handle_command/3 line 131 in gen_fsm:terminate/7 line 622
08:14:09.632 [error] Supervisor riak_core_vnode_sup had child undefined started with {riak_core_vnode,start_link,undefined} at <0.23890.0> exit with reason core_breach in mock_vnode:handle_command/3 line 131 in context child_terminated
08:14:09.691 [info] Application lager started on node nonode@nohost
  sync_command_test: sync_test_ (Assert non-blocking sync exit)...08:14:09.691 [error] CRASH REPORT Process <0.23926.0> with 0 neighbours exited with reason: {{already_started,<0.6319.0>},{exometer_core_app,start,[normal,[]]}} in application_master:init/4 line 133
08:14:09.691 [info] Application exometer_core exited with reason: {{already_started,<0.6319.0>},{exometer_core_app,start,[normal,[]]}}
ok
08:14:09.696 [error] mock_vnode command failed core_breach
08:14:09.696 [error] gen_fsm <0.23935.0> in state active terminated with reason: core_breach
08:14:09.696 [error] CRASH REPORT Process <0.23935.0> with 0 neighbours exited with reason: core_breach in gen_fsm:terminate/7 line 622
08:14:09.696 [error] Supervisor riak_core_vnode_sup had child undefined started with {riak_core_vnode,start_link,undefined} at <0.23935.0> exit with reason core_breach in context child_terminated
  [done in 0.376 s]
module 'riak_core_ssl_util'
module 'riak_core_handoff_receiver'
module 'riak_core_ring_handler'
module 'test_guarded_event_handler'
  test_guarded_event_handler: guarded_handler_test_...[0.101 s] ok
  [done in 0.104 s]
module 'riak_core_vnode_worker'
module 'riak_core_handoff_manager'
  riak_core_handoff_manager:674: handoff_test_...[0.001 s] ok
  riak_core_handoff_manager:675: handoff_test_...ok
  [done in 0.007 s]
module 'riak_core_dtrace'
  riak_core_dtrace: timeit_naive_test...timeit_naive                 average     1.394 usec/call over     500.0 calls
[0.013 s] ok
  riak_core_dtrace: timeit_mochiglobal_test...timeit_mochiglobal           average     2.327 usec/call over  225000.0 calls
[0.537 s] ok
Skipping timeit_best_on test: no DTrace/SystemTap is available
  riak_core_dtrace: timeit_best_off_test...ok
  riak_core_dtrace: timeit_best_onfalse_test...Skipping timeit_best_on test: no DTrace/SystemTap is available
ok
  riak_core_dtrace: timeit_best_ontrue_test...Skipping timeit_best_on test: no DTrace/SystemTap is available
NOTE: cover analysis will skew results.  Run without cover for true timings.
ok
  riak_core_dtrace: last_test...ok
  [done in 0.568 s]
riak_core_format: human_time_fmt_test (module 'riak_core_format')...ok
module 'riak_core_metadata_exchange_fsm'
module 'worker_pool_test'
  worker_pool_test: pool_test_...[1.201 s] ok
  worker_pool_test: pool_test_...[1.201 s] ok
  [done in 2.408 s]
module 'riak_core_vnode_master'
module 'riak_core_cluster_cli'
module 'riak_core_metadata_manager'
module 'claim_simulation'
module 'riak_core_claim'
  riak_core_claim: wants_claim_test...[0.004 s] ok
  riak_core_claim: find_biggest_hole_test...ok
  riak_core_claim: prop_claim_ensures_unique_nodes_v2_test_.......................................................................................................
OK, passed 100 tests
[2.222 s] ok
  riak_core_claim: prop_claim_ensures_unique_nodes_v3_test_........
OK, passed 5 tests
[1.986 s] ok
  riak_core_claim: wants_counts_test.......................................................................................................
OK, passed 100 tests
[0.009 s] ok
  riak_core_claim: wants_test.......................................................................................................
OK, passed 100 tests
[0.118 s] ok
  riak_core_claim: take_idxs_test.......................................................................................................
OK, passed 100 tests
[0.058 s] ok
  [done in 4.418 s]
module 'riak_core_info_service'
vclock_qc:21: eqc_test_ (module 'vclock_qc').......................................................................................................(x10)................................................................(x1)..
Time limit reached: 20.0 seconds.

OK, passed 742 tests

46.52% 0
24.98% 1
12.67% 2
7.70% 3
5.14% 4
2.99% 5

11.279% {vclock_qc,timestamp,0}
11.230% {vclock_qc,fresh,0}
9.871% {vclock_qc,descends,2}
9.774% {vclock_qc,merge,1}
9.735% {vclock_qc,descends_dot,3}
9.694% {vclock_qc,get_timestamp,2}
9.633% {vclock_qc,get_counter,2}
9.609% {vclock_qc,get_dot,2}
9.597% {vclock_qc,dominates,2}
9.576% {vclock_qc,increment,2}

42.7% {num_vclocks_div_10,0}
23.5% {num_vclocks_div_10,1}
11.3% {num_vclocks_div_10,2}
6.9% {num_vclocks_div_10,3}
5.0% {num_vclocks_div_10,4}
3.0% {num_vclocks_div_10,5}
2.7% {num_vclocks_div_10,6}
1.9% {num_vclocks_div_10,7}
1.1% {num_vclocks_div_10,8}
0.7% {num_vclocks_div_10,9}
0.3% {num_vclocks_div_10,13}
0.3% {num_vclocks_div_10,12}
0.3% {num_vclocks_div_10,10}
0.1% {num_vclocks_div_10,21}
0.1% {num_vclocks_div_10,16}
0.1% {num_vclocks_div_10,14}
0.1% {num_vclocks_div_10,11}
[20.041 s] ok
module 'riak_core_send_msg'
riak_core_bucket: simple_set_test (module 'riak_core_bucket')...[0.004 s] ok
module 'riak_core_handoff_sender_sup'
module 'riak_core_coverage_plan'
module 'riak_core_eventhandler_sup'
module 'riak_core_repair'
module 'bucket_eqc_utils'
module 'vclock'
  vclock: example_test...ok
  vclock: prune_small_test...ok
  vclock: prune_young_test...ok
  vclock: prune_big_test...ok
  vclock: prune_old_test...ok
  vclock: prune_order_test...ok
  vclock: accessor_test...ok
  vclock: merge_test...ok
  vclock: merge_less_left_test...ok
  vclock: merge_less_right_test...ok
  vclock: merge_same_id_test...ok
  vclock: get_entry_test...ok
  vclock: valid_entry_test...ok
  [done in 0.039 s]
module 'riak_core_ring_manager'
  riak_core_ring_manager: back_test...ok
  riak_core_ring_manager: prune_list_test...ok
  riak_core_ring_manager: set_ring_global_test...[0.006 s] ok
  riak_core_ring_manager: set_my_ring_test...[0.005 s] ok
  riak_core_ring_manager: refresh_my_ring_test...ok
  riak_core_ring_manager: do_write_ringfile_test...[0.022 s] ok
  riak_core_ring_manager: is_stable_ring_test...ok
  [done in 0.054 s]
module 'riak_core_handoff_sup'
module 'riak_core_capability'
  riak_core_capability_tests: basic_test (module 'riak_core_capability_tests')...ok
  [done in 0.003 s]
module 'riak_core_handoff_cli'
module 'riak_core_broadcast_handler'
module 'mock_vnode'
module 'bloom'
  bloom: fixed_case_test_...[1.074 s] ok
  bloom: bloom_test...[0.642 s] ok
  [done in 1.722 s]
module 'riak_core_vnode_sup'
module 'process_proxy'
module 'riak_core_dist_mon'
module 'riak_core_bucket_type'
module 'riak_core_gossip'
module 'app_helper'
  app_helper: app_helper_test_...ok
  app_helper: app_helper_test_...ok
  app_helper: app_helper_test_...ok
  app_helper: app_helper_test_...ok
  app_helper: app_helper_test_...ok
  app_helper: app_helper_test_...ok
  [done in 0.018 s]
module 'bg_manager_tests'
  bg_manager_tests: bg_mgr_test_ (set/get token rates + verify rates)...[0.001 s] ok
  bg_manager_tests: bg_mgr_test_ (crash token manager + verify rates persist)...[0.303 s] ok
  bg_manager_tests: bg_mgr_test_ (lock/token separation)...ok
  bg_manager_tests: bg_mgr_test_ (failing crash/revive EQC test case)...[0.303 s] ok
  bg_manager_tests: bg_mgr_test_ (bypass API)...ok
  [done in 0.622 s]
module 'riak_core_schema_tests'
  riak_core_schema_tests: basic_schema_test...[0.080 s] ok
  riak_core_schema_tests: invalid_states_test...[0.039 s] ok
  riak_core_schema_tests: default_bucket_properties_test...[0.038 s] ok
  riak_core_schema_tests: override_schema_test...[0.037 s] ok
  [done in 0.206 s]
=======================================================
  All 429 tests passed.
Cover analysis: /tmp/thumbs/develop.146de1b.dr-th_service-poc.b8880ca/.eunit/index.html

=INFO REPORT==== 15-Feb-2017::08:15:24 ===
    application: ssl
    exited: stopped
    type: temporary

=INFO REPORT==== 15-Feb-2017::08:15:24 ===
    application: inets
    exited: killed
    type: temporary





✅ MAKE_XREF

Started at: 2017-02-15 08:15
Duration: 5 seconds.
Result: OK
Message: OK
Exit Code: 0

📄


cd /tmp/thumbs/develop.146de1b.dr-th_service-poc.b8880ca; make xref




  ./rebar get-deps
==> goldrush (get-deps)
==> lager (get-deps)
==> poolboy (get-deps)
==> basho_stats (get-deps)
==> getopt (get-deps)
==> neotoma (get-deps)
==> cuttlefish (get-deps)
==> riak_sysmon (get-deps)
==> eleveldb (get-deps)
==> riak_ensemble (get-deps)
==> pbkdf2 (get-deps)
==> edown (get-deps)
==> parse_trans (get-deps)
==> bear (get-deps)
==> meck (get-deps)
==> folsom (get-deps)
==> setup (get-deps)
==> src (get-deps)
==> exometer_core (get-deps)
==> clique (get-deps)
==> develop.146de1b.dr-th_service-poc.b8880ca (get-deps)
./rebar compile
==> goldrush (compile)
==> lager (compile)
==> poolboy (compile)
==> basho_stats (compile)
==> getopt (compile)
==> neotoma (compile)
==> cuttlefish (compile)
==> getopt (escriptize)
==> goldrush (escriptize)
==> lager (escriptize)
==> neotoma (escriptize)
==> cuttlefish (escriptize)
==> riak_sysmon (compile)
==> eleveldb (compile)
make[1]: Entering directory `/tmp/thumbs/develop.146de1b.dr-th_service-poc.b8880ca/deps/eleveldb/c_src/leveldb'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/tmp/thumbs/develop.146de1b.dr-th_service-poc.b8880ca/deps/eleveldb/c_src/leveldb'
make[1]: Entering directory `/tmp/thumbs/develop.146de1b.dr-th_service-poc.b8880ca/deps/eleveldb/c_src/leveldb'
make[1]: Nothing to be done for `tools'.
make[1]: Leaving directory `/tmp/thumbs/develop.146de1b.dr-th_service-poc.b8880ca/deps/eleveldb/c_src/leveldb'
==> riak_ensemble (compile)
==> pbkdf2 (compile)
==> edown (compile)
==> parse_trans (compile)
==> bear (compile)
==> meck (compile)
==> folsom (compile)
==> setup (compile)
==> edown (escriptize)
==> setup (escriptize)
==> src (compile)
==> exometer_core (compile)
==> clique (compile)
==> develop.146de1b.dr-th_service-poc.b8880ca (compile)
./rebar xref skip_deps=true
WARN:  Ignoring sub_dirs for /tmp/thumbs/develop.146de1b.dr-th_service-poc.b8880ca/deps/exometer_core
==> develop.146de1b.dr-th_service-poc.b8880ca (xref)





✅ MAKE_DIALYZER

Started at: 2017-02-15 08:15
Duration: 40 seconds.
Result: OK
Message: OK
Exit Code: 0

📄


cd /tmp/thumbs/develop.146de1b.dr-th_service-poc.b8880ca; make dialyzer




  
  
... Snipped 181 lines ...
ax:abstract/1
  erl_syntax:application/2
  erl_syntax:application/3
  erl_syntax:application_arguments/1
  erl_syntax:arity_qualifier/2
  erl_syntax:arity_qualifier_argument/1
  erl_syntax:arity_qualifier_body/1
  erl_syntax:atom/1
  erl_syntax:atom_value/1
  erl_syntax:attribute/2
  erl_syntax:attribute_arguments/1
  erl_syntax:attribute_name/1
  erl_syntax:case_expr/2
  erl_syntax:catch_expr/1
  erl_syntax:clause/2
  erl_syntax:clause/3
  erl_syntax:clause_patterns/1
  erl_syntax:fun_expr_clauses/1
  erl_syntax:function/2
  erl_syntax:function_clauses/1
  erl_syntax:generator/2
  erl_syntax:generator_body/1
  erl_syntax:generator_pattern/1
  erl_syntax:get_pos/1
  erl_syntax:implicit_fun/2
  erl_syntax:implicit_fun_name/1
  erl_syntax:integer/1
  erl_syntax:integer_value/1
  erl_syntax:list/1
  erl_syntax:list_comp/2
  erl_syntax:list_comp_body/1
  erl_syntax:list_comp_template/1
  erl_syntax:list_elements/1
  erl_syntax:match_expr/2
  erl_syntax:revert/1
  erl_syntax:revert_forms/1
  erl_syntax:string/1
  erl_syntax:string_value/1
  erl_syntax:subtrees/1
  erl_syntax:tuple/1
  erl_syntax:tuple_elements/1
  erl_syntax:type/1
  erl_syntax:underscore/0
  erl_syntax:update_tree/2
  erl_syntax:variable/1
  erl_syntax:variable_name/1
  erl_syntax_lib:analyze_application/1
  erl_syntax_lib:analyze_forms/1
  erl_syntax_lib:analyze_function/1
  erl_syntax_lib:map/2
  erl_syntax_lib:variables/1
  erlang:append_element/2
  erlang:atom_to_binary/2
  erlang:atom_to_list/1
  erlang:binary_to_atom/2
  erlang:binary_to_existing_atom/2
  erlang:binary_to_list/1
  erlang:binary_to_list/3
  erlang:binary_to_term/1
  erlang:bitstring_to_list/1
  erlang:bump_reductions/1
  erlang:cancel_timer/1
  erlang:crc32/1
  erlang:demonitor/1
  erlang:demonitor/2
  erlang:erase/1
  erlang:exit/2
  erlang:float_to_list/1
  erlang:float_to_list/2
  erlang:fun_info/2
  erlang:fun_to_list/1
  erlang:function_exported/3
  erlang:garbage_collect/0
  erlang:get/1
  erlang:get_module_info/1
  erlang:get_module_info/2
  erlang:get_stacktrace/0
  erlang:group_leader/0
  erlang:group_leader/2
  erlang:integer_to_list/1
  erlang:iolist_size/1
  erlang:iolist_to_binary/1
  erlang:is_alive/0
  erlang:is_builtin/3
  erlang:is_map/1
  erlang:is_process_alive/1
  erlang:link/1
  erlang:list_to_atom/1
  erlang:list_to_binary/1
  erlang:list_to_existing_atom/1
  erlang:list_to_float/1
  erlang:list_to_integer/1
  erlang:list_to_tuple/1
  erlang:load_nif/2
  erlang:localtime/0
  erlang:make_fun/3
  erlang:make_ref/0
  erlang:map_size/1
  erlang:max/2
  erlang:min/2
  erlang:monitor/2
  erlang:now/0
  erlang:phash2/1
  erlang:phash2/2
  erlang:pid_to_list/1
  erlang:port_info/1
  erlang:port_info/2
  erlang:port_to_list/1
  erlang:ports/0
  erlang:process_flag/2
  erlang:process_info/2
  erlang:processes/0
  erlang:put/2
  erlang:raise/3
  erlang:ref_to_list/1
  erlang:register/2
  erlang:registered/0
  erlang:send/2
  erlang:send/3
  erlang:send_after/3
  erlang:spawn_link/3
  erlang:spawn_monitor/1
  erlang:split_binary/2
  erlang:start_timer/3
  erlang:statistics/1
  erlang:system_monitor/0
  erlang:system_monitor/2
  erlang:term_to_binary/1
  erlang:trace_info/2
  erlang:trace_pattern/3
  erlang:universaltime/0
  erlang:unlink/1
  erlang:whereis/1
  error_logger:add_report_handler/1
  error_logger:delete_report_handler/1
  error_logger:error_msg/1
  error_logger:error_msg/2
  error_logger:format/2
  error_logger:info_msg/2
  error_logger:info_report/1
  error_logger:warning_msg/1
  escript:script_name/0
  ets:all/0
  ets:delete/1
  ets:delete/2
  ets:delete_all_objects/1
  ets:delete_object/2
  ets:first/1
  ets:foldl/3
  ets:give_away/3
  ets:info/1
  ets:info/2
  ets:insert/2
  ets:insert_new/2
  ets:last/1
  ets:lookup/2
  ets:lookup_element/3
  ets:match/2
  ets:match_spec_compile/1
  ets:match_spec_run/2
  ets:member/2
  ets:new/2
  ets:next/2
  ets:prev/2
  ets:select/1
  ets:select/2
  ets:select/3
  ets:select_count/2
  ets:select_delete/2
  ets:select_reverse/3
  ets:setopts/2
  ets:tab2list/1
  ets:update_counter/3
  ets:update_element/3
  eunit:test/1
  file:close/1
  file:consult/1
  file:datasync/1
  file:delete/1
  file:format_error/1
  file:get_cwd/0
  file:list_dir/1
  file:make_dir/1
  file:open/2
  file:read/2
  file:read_file/1
  file:read_file_info/1
  file:rename/2
  file:script/1
  file:script/2
  file:set_cwd/1
  file:sync/1
  file:write/2
  file:write_file/2
  filelib:ensure_dir/1
  filelib:is_dir/1
  filelib:is_file/1
  filelib:is_regular/1
  filelib:wildcard/1
  filelib:wildcard/2
  filename:absname/1
  filename:append/2
  filename:basename/1
  filename:basename/2
  filename:dirname/1
  filename:extension/1
  filename:join/1
  filename:join/2
  filename:split/1
  gb_trees:empty/0
  gb_trees:enter/3
  gb_trees:from_orddict/1
  gb_trees:get/2
  gb_trees:iterator/1
  gb_trees:lookup/2
  gb_trees:next/1
  gb_trees:size/1
  gen_event:add_sup_handler/3
  gen_event:call/3
  gen_event:call/4
  gen_event:delete_handler/3
  gen_event:notify/2
  gen_event:sync_notify/2
  gen_event:which_handlers/1
  gen_fsm:cancel_timer/1
  gen_fsm:reply/2
  gen_fsm:send_all_state_event/2
  gen_fsm:send_event/2
  gen_fsm:send_event_after/2
  gen_fsm:start/3
  gen_fsm:start_link/3
  gen_fsm:sync_send_all_state_event/2
  gen_fsm:sync_send_all_state_event/3
  gen_fsm:sync_send_event/2
  gen_fsm:sync_send_event/3
  gen_server:call/2
  gen_server:call/3
  gen_server:cast/2
  gen_server:reply/2
  gen_server:start/3
  gen_server:start/4
  gen_server:start_link/3
  gen_server:start_link/4
  hamcrest:assert_that/2
  hamcrest:is_matcher/1
  igor:parse_transform/2
  inet:getopts/2
  inet:getstat/1
  inet:parse_address/1
  inet:peername/1
  inet:sockname/1
  init:archive_extension/0
  init:get_argument/1
  init:script_id/0
  init:stop/1
  io:columns/0
  io:format/1
  io:format/2
  io:format/3
  io:fwrite/1
  io:fwrite/2
  io:fwrite/3
  io:put_chars/1
  io:put_chars/2
  io_lib:deep_char_list/1
  io_lib:format/2
  io_lib:fwrite/2
  io_lib:printable_list/1
  io_lib:write/1
  io_lib:write/2
  io_lib:write_atom/1
  io_lib_format:fwrite_g/1
  io_lib_pretty:print/6
  lager_default_tracer:info/1
  lib:format_exception/6
  lists:append/1
  lists:concat/1
  lists:duplicate/2
  lists:flatlength/1
  lists:keystore/4
  lists:keytake/3
  lists:prefix/2
  lists:seq/2
  lists:sublist/2
  lists:sublist/3
  lists:sum/1
  lists:ukeymerge/3
  lists:ukeysort/2
  maps:to_list/1
  math:cos/1
  math:exp/1
  math:log/1
  math:log10/1
  math:pi/0
  math:pow/2
  math:sqrt/1
  memsup:get_system_memory_data/0
  mochijson2:encode/1
  mustache:render/2
  net_adm:ping/1
  orddict:append/3
  orddict:append_list/3
  orddict:erase/2
  orddict:fetch_keys/1
  orddict:find/2
  orddict:fold/3
  orddict:merge/3
  orddict:new/0
  orddict:store/3
  orddict:update/4
  orddict:update_counter/3
  ordsets:add_element/2
  ordsets:del_element/2
  ordsets:from_list/1
  ordsets:intersection/2
  ordsets:is_element/2
  ordsets:new/0
  ordsets:subtract/2
  ordsets:union/2
  os:cmd/1
  os:getenv/1
  os:timestamp/0
  os:type/0
  prim_inet:getstatus/1
  prim_inet:gettype/1
  proc_lib:init_ack/2
  proc_lib:spawn/1
  proc_lib:start_link/3
  proplists:delete/2
  proplists:get_all_values/2
  proplists:get_bool/2
  proplists:get_keys/1
  proplists:get_value/2
  proplists:get_value/3
  proplists:is_defined/2
  proplists:lookup/2
  queue:filter/2
  queue:in/2
  queue:is_empty/1
  queue:len/1
  queue:member/2
  queue:new/0
  queue:out/1
  queue:to_list/1
  random:seed/0
  random:seed/1
  random:seed/3
  random:seed0/0
  random:uniform/0
  random:uniform/1
  random:uniform_s/2
  re:compile/1
  re:compile/2
  re:replace/4
  re:run/2
  re:run/3
  re:split/3
  rebar_config:get_local/3
  rebar_mustache:render/2
  rebar_rel_utils:get_target_dir/2
  rebar_rel_utils:is_rel_dir/0
  rebar_rel_utils:load_config/2
  release_handler:eval_appup_script/4
  rpc:call/4
  rpc:eval_everywhere/3
  rpc:multicall/3
  rpc:multicall/4
  rpc:multicall/5
  sets:add_element/2
  sets:del_element/2
  sets:from_list/1
  sets:is_element/2
  sets:new/0
  sets:size/1
  sets:to_list/1
  string:centre/2
  string:chr/2
  string:cspan/2
  string:join/2
  string:left/2
  string:left/3
  string:rchr/2
  string:right/2
  string:str/2
  string:strip/1
  string:strip/2
  string:sub_string/2
  string:sub_string/3
  string:substr/2
  string:substr/3
  string:to_lower/1
  string:tokens/2
  supervisor:delete_child/2
  supervisor:start_child/2
  supervisor:start_link/2
  supervisor:start_link/3
  supervisor:terminate_child/2
  supervisor:which_children/1
  sys:get_debug/3
  sys:handle_system_msg/6
  systools:make_script/2
  timer:apply_interval/4
  timer:cancel/1
  timer:now_diff/2
  timer:seconds/1
  timer:send_interval/2
  timer:sleep/1
  timer:tc/1
  timer:tc/2
  timer:tc/3
  unicode:characters_to_binary/1
  unicode:characters_to_binary/3
  unicode:characters_to_list/1
  unicode:characters_to_list/2
  xmerl:export_simple/2
  xmerl_html:'#element#'/5
  xmerl_lib:end_tag/1
  xmerl_lib:expand_element/1
  xmerl_lib:find_attribute/2
  xmerl_lib:mapxml/2
  xmerl_lib:start_tag/2
Unknown types:
  calendar:datetime/0
  erl_syntax:syntaxTree/0
  erlang:timestamp/0
  ets:comp_match_spec/0
  ets:match_spec/0
  ets:tab/0
  ets:tid/0
  file:date_time/0
  file:fd/0
  file:filename/0
  file:io_device/0
  file:name/0
  file:name_all/0
  file:posix/0
  hamcrest:matchspec/0
  meck_history:history_record/0
  orddict:orddict/0
  proplists:property/0
  proplists:proplist/0
  re:mp/0
  supervisor:child_spec/0
  timer:tref/0
  unicode:charlist/0
 done in 0m5.68s
done (passed successfully)
==> develop.146de1b.dr-th_service-poc.b8880ca (dialyzer)
  Checking whether the PLT /home/ubuntu/.combo_dialyzer_plt is up-to-date... yes
  Checking whether the PLT .local_dialyzer_plt is up-to-date... yes
  Compiling some key modules to native code... done in 0m8.53s
  Proceeding with analysis...
Unknown functions:
  cluster_info:format/3
  cluster_info:register_app/1
 done in 0m5.31s
done (passed successfully)





⬜ 0 of 2 Code reviews from organization basho

Also picked up a few spurious whitespace fixes.
@thumbot
Copy link

thumbot commented Feb 15, 2017

dr-th/service-poc 50e8d77 ➡️ develop 146de1b 🕐 in_progress

Since `riak_core_info_service` provides such a detailed doc string,
refer to it from the `_process` and `_sup` modules.
@thumbot
Copy link

thumbot commented Feb 15, 2017

dr-th/service-poc 57aeb55 ➡️ develop 146de1b ✅ completed
Looks good! 👍
✅ MERGE

Started at: 2017-02-15 08:24
Duration: 2 seconds.
Result: OK
Message: Merge Success: dr-th/service-poc 57aeb55 onto target branch: develop 146de1b
Exit Code: OK

📄







  Merge made by the 'recursive' strategy.
 src/riak_core_app.erl                  | 10 ++++
 src/riak_core_info_service.erl         | 62 +++++++++++++++++++++++
 src/riak_core_info_service_process.erl | 89 ++++++++++++++++++++++++++++++++++
 src/riak_core_info_service_sup.erl     | 50 +++++++++++++++++++
 src/riak_core_sup.erl                  |  1 +
 5 files changed, 212 insertions(+)
 create mode 100644 src/riak_core_info_service.erl
 create mode 100644 src/riak_core_info_service_process.erl
 create mode 100644 src/riak_core_info_service_sup.erl




✅ MAKE_CLEAN

Started at: 2017-02-15 08:24
Duration: 1 seconds.
Result: OK
Message: OK
Exit Code: 0

📄


cd /tmp/thumbs/develop.146de1b.dr-th_service-poc.57aeb55; make clean




  ./rebar clean
==> develop.146de1b.dr-th_service-poc.57aeb55 (clean)





✅ MAKE_DEPS

Started at: 2017-02-15 08:24
Duration: 13 seconds.
Result: OK
Message: OK
Exit Code: 0

📄


cd /tmp/thumbs/develop.146de1b.dr-th_service-poc.57aeb55; make deps




  ./rebar get-deps
==> develop.146de1b.dr-th_service-poc.57aeb55 (get-deps)
Pulling lager from {git,"git://github.com/basho/lager.git",{tag,"3.2.4"}}
Cloning into 'lager'...
Pulling poolboy from {git,"git://github.com/basho/poolboy.git",
                          {tag,"0.8.1p3"}}
Cloning into 'poolboy'...
Pulling basho_stats from {git,"git://github.com/basho/basho_stats.git",
                              {tag,"1.0.3"}}
Cloning into 'basho_stats'...
Pulling riak_sysmon from {git,"git://github.com/basho/riak_sysmon.git",
                              {tag,"2.1.4"}}
Cloning into 'riak_sysmon'...
Pulling eleveldb from {git,"git://github.com/basho/eleveldb.git",
                           {tag,"2.0.32"}}
Cloning into 'eleveldb'...
Pulling riak_ensemble from {git,"git://github.com/basho/riak_ensemble",
                                {tag,"2.1.6"}}
Cloning into 'riak_ensemble'...
Pulling pbkdf2 from {git,"git://github.com/basho/erlang-pbkdf2.git",
                         {tag,"2.0.0"}}
Cloning into 'pbkdf2'...
Pulling exometer_core from {git,"git://github.com/basho/exometer_core.git",
                                {tag,"1.0.0-basho9"}}
Cloning into 'exometer_core'...
Pulling clique from {git,"https://github.com/basho/clique.git",{tag,"0.3.8"}}
Cloning into 'clique'...
==> lager (get-deps)
Pulling goldrush from {git,"https://github.com/basho/goldrush.git",
                           {tag,"0.1.9"}}
Cloning into 'goldrush'...
==> goldrush (get-deps)
==> poolboy (get-deps)
==> basho_stats (get-deps)
==> riak_sysmon (get-deps)
Pulling cuttlefish from {git,"https://github.com/basho/cuttlefish.git",
                             {tag,"2.0.10"}}
Cloning into 'cuttlefish'...
==> cuttlefish (get-deps)
Pulling getopt from {git,"https://github.com/basho/getopt.git",{tag,"v0.8.2"}}
Cloning into 'getopt'...
Pulling neotoma from {git,"https://github.com/basho/neotoma.git",
                          {tag,"1.7.3"}}
Cloning into 'neotoma'...
==> getopt (get-deps)
==> neotoma (get-deps)
==> eleveldb (get-deps)
Cloning into 'leveldb'...
Note: checking out '2.0.31'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b new_branch_name

HEAD is now at e6a2939... add (int) cast to fix compile errors on 10 of 16 platforms ... argh.
==> riak_ensemble (get-deps)
==> pbkdf2 (get-deps)
==> src (get-deps)
==> exometer_core (get-deps)
Pulling parse_trans from {git,"git://github.com/basho/parse_trans.git",
                              {tag,"2.9.2p1"}}
Cloning into 'parse_trans'...
Pulling folsom from {git,"git://github.com/basho/folsom.git",{tag,"0.7.4p5"}}
Cloning into 'folsom'...
Pulling setup from {git,"git://github.com/basho/setup.git",{tag,"1.4"}}
Cloning into 'setup'...
==> parse_trans (get-deps)
Pulling edown from {git,"git://github.com/basho/edown.git",{tag,"0.8.1"}}
Cloning into 'edown'...
==> edown (get-deps)
==> folsom (get-deps)
Pulling bear from {git,"git://github.com/basho/bear.git",{tag,"0.1.3p1"}}
Cloning into 'bear'...
Pulling meck from {git,"git://github.com/basho/meck.git",{tag,"0.8.2"}}
Cloning into 'meck'...
==> bear (get-deps)
==> meck (get-deps)
==> setup (get-deps)
==> clique (get-deps)





✅ MAKE_COMPILE

Started at: 2017-02-15 08:25
Duration: 34 seconds.
Result: OK
Message: OK
Exit Code: 0

📄


cd /tmp/thumbs/develop.146de1b.dr-th_service-poc.57aeb55; make compile




  
  
... Snipped 636 lines ...
d -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY  -DLEVELDB_VSN="2.0.31" -O2 -g -DNDEBUG     -fPIC tools/perf_dump.cc -o perf_dump -L . -Wl,-non_shared -lleveldb -Wl,-call_shared -m64  -L/tmp/thumbs/develop.146de1b.dr-th_service-poc.57aeb55/deps/eleveldb/c_src/system/lib -pthread -lrt -Wl,-non_shared -lsnappy -Wl,-call_shared
c++ -m64  -Wall -O3 -fPIC -I /tmp/thumbs/develop.146de1b.dr-th_service-poc.57aeb55/deps/eleveldb/c_src/system/include -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY  -DLEVELDB_VSN="2.0.31" -O2 -g -DNDEBUG     -fPIC tools/sst_rewrite.cc -o sst_rewrite -L . -Wl,-non_shared -lleveldb -Wl,-call_shared -m64  -L/tmp/thumbs/develop.146de1b.dr-th_service-poc.57aeb55/deps/eleveldb/c_src/system/lib -pthread -lrt -Wl,-non_shared -lsnappy -Wl,-call_shared
c++ -m64  -Wall -O3 -fPIC -I /tmp/thumbs/develop.146de1b.dr-th_service-poc.57aeb55/deps/eleveldb/c_src/system/include -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY  -DLEVELDB_VSN="2.0.31" -O2 -g -DNDEBUG     -fPIC tools/sst_scan.cc -o sst_scan -L . -Wl,-non_shared -lleveldb -Wl,-call_shared -m64  -L/tmp/thumbs/develop.146de1b.dr-th_service-poc.57aeb55/deps/eleveldb/c_src/system/lib -pthread -lrt -Wl,-non_shared -lsnappy -Wl,-call_shared
make[1]: Leaving directory `/tmp/thumbs/develop.146de1b.dr-th_service-poc.57aeb55/deps/eleveldb/c_src/leveldb'
Compiled src/eleveldb_bump.erl
Compiled src/eleveldb.erl
Compiling c_src/eleveldb.cc
Compiling c_src/refobjects.cc
Compiling c_src/workitems.cc
==> riak_ensemble (compile)
Compiled src/riak_ensemble_backend.erl
Compiled src/riak_ensemble_sup.erl
Compiled src/synctree_orddict.erl
Compiled src/riak_ensemble_client.erl
Compiled src/riak_ensemble_router.erl
Compiled src/riak_ensemble_config.erl
Compiled src/synctree.erl
Compiled src/riak_ensemble_router_sup.erl
Compiled src/riak_ensemble_lease.erl
Compiled src/riak_ensemble_test.erl
Compiled src/synctree_leveldb.erl
Compiled src/riak_ensemble_manager.erl
Compiled src/riak_ensemble_save.erl
Compiled src/riak_ensemble_exchange.erl
Compiled src/riak_ensemble_root.erl
Compiled src/riak_ensemble_clock.erl
Compiled src/riak_ensemble_basic_backend.erl
Compiled src/riak_ensemble_peer_worker.erl
Compiled src/riak_ensemble_app.erl
Compiled src/riak_ensemble_state.erl
Compiled src/riak_ensemble_storage.erl
Compiled src/riak_ensemble_peer_tree.erl
Compiled src/riak_ensemble_peer_sup.erl
Compiled src/synctree_ets.erl
Compiled src/riak_ensemble_util.erl
Compiled src/riak_ensemble_msg.erl
Compiled src/riak_ensemble_peer.erl
Compiling c_src/riak_ensemble_clock.c
==> pbkdf2 (compile)
Compiled src/pbkdf2.erl
==> edown (compile)
Compiled src/edown_make.erl
Compiled src/edown_lib.erl
Compiled src/edown_doclet.erl
Compiled src/edown_xmerl.erl
Compiled src/edown_layout.erl
==> parse_trans (compile)
Compiled src/parse_trans.erl
Compiled src/parse_trans_pp.erl
Compiled src/parse_trans_codegen.erl
Compiled src/parse_trans_mod.erl
Compiled src/ct_expand.erl
Compiled src/exprecs.erl
==> bear (compile)
Compiled src/bear.erl
==> meck (compile)
Compiled src/meck_cover.erl
Compiled src/meck_expect.erl
Compiled src/meck_matcher.erl
Compiled src/meck_args_matcher.erl
Compiled src/meck_history.erl
Compiled src/meck.erl
Compiled src/meck_code_gen.erl
Compiled src/meck_util.erl
Compiled src/meck_code.erl
Compiled src/meck_ret_spec.erl
Compiled src/meck_proc.erl
==> folsom (compile)
Compiled src/folsom_sample_slide_sup.erl
Compiled src/folsom_sample_slide.erl
Compiled src/folsom_metrics_histogram.erl
Compiled src/folsom_sample_none.erl
Compiled src/folsom_ewma.erl
Compiled src/folsom_sample_exdec.erl
Compiled src/folsom_metrics_histogram_ets.erl
Compiled src/folsom_metrics_duration.erl
Compiled src/folsom.erl
Compiled src/folsom_sample.erl
Compiled src/folsom_metrics_meter_reader.erl
Compiled src/folsom_metrics.erl
Compiled src/folsom_vm_metrics.erl
Compiled src/folsom_sample_slide_uniform.erl
Compiled src/folsom_metrics_counter.erl
Compiled src/folsom_metrics_spiral.erl
Compiled src/folsom_ets.erl
Compiled src/folsom_meter_timer_server.erl
Compiled src/folsom_sample_slide_server.erl
Compiled src/folsom_metrics_history.erl
Compiled src/folsom_sup.erl
Compiled src/folsom_utils.erl
Compiled src/folsom_metrics_gauge.erl
Compiled src/folsom_metrics_meter.erl
Compiled src/folsom_sample_uniform.erl
==> setup (compile)
Compiled src/setup_lib.erl
Compiled src/setup_gen.erl
Compiled src/setup.erl
==> edown (escriptize)
==> setup (escriptize)
==> src (compile)
==> exometer_core (compile)
Compiled src/exometer_igor.erl
Compiled src/exometer_util.erl
Compiled src/exometer_entry.erl
Compiled src/exometer_probe.erl
Compiled src/exometer_report.erl
Compiled src/exometer_folsom_monitor.erl
Compiled src/exometer_folsom.erl
Compiled src/exometer_report_lager.erl
Compiled src/exometer_duration.erl
Compiled src/exometer_function.erl
Compiled src/exometer_core_sup.erl
Compiled src/exometer_slide.erl
Compiled src/exometer_slot_slide.erl
Compiled src/exometer_report_tty.erl
Compiled src/exometer_proc.erl
Compiled src/exo_montest.erl
Compiled src/exometer_cache.erl
Compiled src/exometer_spiral.erl
Compiled src/exometer_cpu.erl
Compiled src/exometer_alias.erl
Compiled src/exometer_admin.erl
Compiled src/exometer_shallowtree.erl
Compiled src/exometer_uniform.erl
Compiled src/exometer.erl
Compiled src/exometer_core_app.erl
Compiled src/exometer_info.erl
Compiled src/exometer_histogram.erl
==> clique (compile)
Compiled src/clique_writer.erl
Compiled src/clique_handler.erl
Compiled src/clique_test_group_leader.erl
Compiled src/clique_table.erl
Compiled src/clique_config.erl
Compiled src/clique.erl
Compiled src/clique_json_writer.erl
Compiled src/clique_typecast.erl
Compiled src/clique_status.erl
Compiled src/clique_human_writer.erl
Compiled src/clique_error.erl
Compiled src/clique_usage.erl
Compiled src/clique_manager.erl
Compiled src/clique_nodes.erl
Compiled src/clique_app.erl
Compiled src/clique_sup.erl
Compiled src/clique_csv_writer.erl
Compiled src/clique_parser.erl
Compiled src/clique_spec.erl
Compiled src/clique_command.erl
==> develop.146de1b.dr-th_service-poc.57aeb55 (compile)
Compiled src/gen_nb_server.erl
Compiled src/riak_core_gen_server.erl
Compiled src/riak_core_stat_xform.erl
Compiled src/riak_core_broadcast_handler.erl
Compiled src/riak_core_vnode_worker_pool.erl
Compiled src/chash.erl
Compiled src/riak_core_format.erl
Compiled src/riak_core_broadcast.erl
Compiled src/riak_core_ring_manager.erl
Compiled src/riak_core_dist_mon.erl
Compiled src/riak_core_handoff_sender_sup.erl
Compiled src/chashbin.erl
Compiled src/riak_core_vnode_proxy.erl
Compiled src/riak_core_status.erl
Compiled src/riak_core_repair.erl
Compiled src/riak_core_metadata_exchange_fsm.erl
Compiled src/riak_core_claim_sim.erl
Compiled src/riak_core_mochiglobal.erl
Compiled src/dvvset.erl
Compiled src/riak_core_vnode_manager.erl
Compiled src/riak_core_bucket.erl
Compiled src/vclock.erl
Compiled src/riak_core_bg_manager.erl
Compiled src/riak_core_node_watcher.erl
Compiled src/riak_core_dtrace.erl
Compiled src/riak_core_tracer.erl
Compiled src/riak_core_vnode_sup.erl
Compiled src/riak_core_test_util.erl
Compiled src/riak_core_sup.erl
Compiled src/riak_core_handoff_sup.erl
Compiled src/riak_core_nodeid.erl
Compiled src/riak_core_vnode_proxy_sup.erl
Compiled src/riak_core_stat.erl
Compiled src/hashtree.erl
Compiled src/riak_core_tcp_mon.erl
Compiled src/riak_core_cli_registry.erl
Compiled src/riak_core_handoff_listener.erl
Compiled src/riak_core_stat_calc_sup.erl
Compiled src/riak_core_app.erl
Compiled src/riak_core_util.erl
Compiled src/riak_core_ring_util.erl
Compiled src/riak_core_console_table.erl
Compiled src/riak_core_cinfo_core.erl
Compiled src/supervisor_pre_r14b04.erl
Compiled src/riak_core_cluster_cli.erl
Compiled src/riak_core_net_ticktime.erl
Compiled src/riak_core_coverage_plan.erl
Compiled src/riak_core_ring.erl
Compiled src/riak_core_send_msg.erl
Compiled src/riak_core_throttle.erl
Compiled src/riak_core_metadata.erl
Compiled src/hashtree_tree.erl
Compiled src/riak_core_stat_q.erl
Compiled src/riak_core_vnode_master.erl
Compiled src/process_proxy.erl
Compiled src/riak_core_table_owner.erl
Compiled src/riak_core_ring_handler.erl
Compiled src/riak_core_exo_monitor.erl
Compiled src/riak_core_claim_util.erl
Compiled src/riak_core_stat_calc_proc.erl
Compiled src/riak_core_metadata_object.erl
Compiled src/riak_core_eventhandler_sup.erl
Compiled src/riak_core_handoff_listener_sup.erl
Compiled src/riak_core_sysmon_minder.erl
Compiled src/riak_core_pw_auth.erl
Compiled src/app_helper.erl
Compiled src/riak_core_stat_sup.erl
Compiled src/riak_core_node_watcher_events.erl
Compiled src/riak_core_console.erl
Compiled src/riak_core_sysmon_handler.erl
Compiled src/riak_core_metadata_manager.erl
Compiled src/riak_core_handoff_cli.erl
Compiled src/riak_core_vnode_worker.erl
Compiled src/riak_core_bucket_props.erl
Compiled src/riak_core_info_service_sup.erl
Compiled src/riak_core_metadata_hashtree.erl
Compiled src/bloom.erl
Compiled src/riak_core_handoff_status.erl
Compiled src/riak_core_handoff_sender.erl
Compiled src/riak_core_ring_events.erl
Compiled src/riak_core_gossip.erl
Compiled src/riak_core_coverage_fsm.erl
Compiled src/riak_core_claimant.erl
Compiled src/riak_core_ssl_util.erl
Compiled src/riak_core_bucket_type.erl
Compiled src/riak_core_stats_sup.erl
Compiled src/riak_core_handoff_receiver.erl
Compiled src/riak_core_handoff_receiver_sup.erl
Compiled src/riak_core_security.erl
Compiled src/riak_core_info_service.erl
Compiled src/riak_core_claim.erl
Compiled src/riak_core_new_claim.erl
Compiled src/riak_core_handoff_manager.erl
Compiled src/riak_core_stat_cache.erl
Compiled src/riak_core_vnode.erl
Compiled src/riak_core_apl.erl
Compiled src/riak_core.erl
Compiled src/riak_core_info_service_process.erl
Compiled src/riak_core_eventhandler_guard.erl
Compiled src/riak_core_base64url.erl
Compiled src/riak_core_priority_queue.erl
Compiled src/riak_core_capability.erl





✅ MAKE_TEST

Started at: 2017-02-15 08:25
Duration: 613 seconds.
Result: OK
Message: OK
Exit Code: 0

📄


cd /tmp/thumbs/develop.146de1b.dr-th_service-poc.57aeb55; make test




  
  
... Snipped 1401 lines ...
e nonode@nohost
08:34:24.229 [error] CRASH REPORT Process <0.24770.0> with 0 neighbours exited with reason: {{already_started,<0.6235.0>},{exometer_core_app,start,[normal,[]]}} in application_master:init/4 line 133
08:34:24.229 [info] Application exometer_core exited with reason: {{already_started,<0.6235.0>},{exometer_core_app,start,[normal,[]]}}
  sync_command_test: sync_test_ (Assert sync exit)...ok
08:34:24.236 [error] mock_vnode command failed core_breach
08:34:24.236 [error] gen_fsm <0.24779.0> in state active terminated with reason: core_breach
08:34:24.236 [error] CRASH REPORT Process <0.24779.0> with 0 neighbours exited with reason: core_breach in gen_fsm:terminate/7 line 622
08:34:24.236 [error] Supervisor riak_core_vnode_sup had child undefined started with {riak_core_vnode,start_link,undefined} at <0.24779.0> exit with reason core_breach in context child_terminated
08:34:24.287 [info] Application lager started on node nonode@nohost
  sync_command_test: sync_test_ (Assert non-blocking sync error)...ok
08:34:24.288 [error] CRASH REPORT Process <0.24815.0> with 0 neighbours exited with reason: {{already_started,<0.6235.0>},{exometer_core_app,start,[normal,[]]}} in application_master:init/4 line 133
08:34:24.288 [info] Application exometer_core exited with reason: {{already_started,<0.6235.0>},{exometer_core_app,start,[normal,[]]}}
08:34:24.292 [error] mock_vnode command failed {core_breach,[{mock_vnode,handle_command,3,[{file,"test/mock_vnode.erl"},{line,131}]},{riak_core_vnode,vnode_command,3,[{file,"src/riak_core_vnode.erl"},{line,346}]},{gen_fsm,handle_msg,7,[{file,"gen_fsm.erl"},{line,505}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,239}]}]}
08:34:24.292 [error] gen_fsm <0.24824.0> in state active terminated with reason: core_breach in mock_vnode:handle_command/3 line 131
08:34:24.292 [error] CRASH REPORT Process <0.24824.0> with 0 neighbours exited with reason: core_breach in mock_vnode:handle_command/3 line 131 in gen_fsm:terminate/7 line 622
08:34:24.293 [error] Supervisor riak_core_vnode_sup had child undefined started with {riak_core_vnode,start_link,undefined} at <0.24824.0> exit with reason core_breach in mock_vnode:handle_command/3 line 131 in context child_terminated
08:34:24.348 [info] Application lager started on node nonode@nohost
  sync_command_test: sync_test_ (Assert non-blocking sync exit)...[0.001 s] ok
08:34:24.348 [error] CRASH REPORT Process <0.24861.0> with 0 neighbours exited with reason: {{already_started,<0.6235.0>},{exometer_core_app,start,[normal,[]]}} in application_master:init/4 line 133
08:34:24.348 [info] Application exometer_core exited with reason: {{already_started,<0.6235.0>},{exometer_core_app,start,[normal,[]]}}
08:34:24.353 [error] mock_vnode command failed core_breach
08:34:24.353 [error] gen_fsm <0.24870.0> in state active terminated with reason: core_breach
08:34:24.353 [error] CRASH REPORT Process <0.24870.0> with 0 neighbours exited with reason: core_breach in gen_fsm:terminate/7 line 622
08:34:24.353 [error] Supervisor riak_core_vnode_sup had child undefined started with {riak_core_vnode,start_link,undefined} at <0.24870.0> exit with reason core_breach in context child_terminated
  [done in 0.373 s]
module 'riak_core_ssl_util'
module 'riak_core_handoff_receiver'
module 'riak_core_ring_handler'
module 'test_guarded_event_handler'
  test_guarded_event_handler: guarded_handler_test_...[0.101 s] ok
  [done in 0.104 s]
module 'riak_core_vnode_worker'
module 'riak_core_handoff_manager'
  riak_core_handoff_manager:674: handoff_test_...ok
  riak_core_handoff_manager:675: handoff_test_...ok
  [done in 0.006 s]
module 'riak_core_dtrace'
  riak_core_dtrace: timeit_naive_test...timeit_naive                 average     1.474 usec/call over     500.0 calls
[0.014 s] ok
  riak_core_dtrace: timeit_mochiglobal_test...timeit_mochiglobal           average     2.327 usec/call over  225000.0 calls
Skipping timeit_best_on test: no DTrace/SystemTap is available
[0.535 s] ok
  riak_core_dtrace: timeit_best_off_test...Skipping timeit_best_on test: no DTrace/SystemTap is available
ok
  riak_core_dtrace: timeit_best_onfalse_test...Skipping timeit_best_on test: no DTrace/SystemTap is available
ok
  riak_core_dtrace: timeit_best_ontrue_test...NOTE: cover analysis will skew results.  Run without cover for true timings.
ok
  riak_core_dtrace: last_test...ok
  [done in 0.567 s]
riak_core_format: human_time_fmt_test (module 'riak_core_format')...ok
module 'riak_core_metadata_exchange_fsm'
module 'worker_pool_test'
  worker_pool_test: pool_test_...[1.201 s] ok
  worker_pool_test: pool_test_...[1.201 s] ok
  [done in 2.408 s]
module 'riak_core_vnode_master'
module 'riak_core_cluster_cli'
module 'riak_core_metadata_manager'
module 'claim_simulation'
module 'riak_core_claim'
  riak_core_claim: wants_claim_test...[0.004 s] ok
  riak_core_claim: find_biggest_hole_test...ok
  riak_core_claim: prop_claim_ensures_unique_nodes_v2_test_.......................................................................................................
OK, passed 100 tests
[2.211 s] ok
  riak_core_claim: prop_claim_ensures_unique_nodes_v3_test_........
OK, passed 5 tests
[13.459 s] ok
  riak_core_claim: wants_counts_test.......................................................................................................
OK, passed 100 tests
[0.008 s] ok
  riak_core_claim: wants_test.......................................................................................................
OK, passed 100 tests
[0.081 s] ok
  riak_core_claim: take_idxs_test.......................................................................................................
OK, passed 100 tests
[0.056 s] ok
  [done in 15.840 s]
module 'riak_core_info_service'
vclock_qc:21: eqc_test_ (module 'vclock_qc').......................................................................................................(x10)...............................................................................(x1).......
Time limit reached: 20.0 seconds.

OK, passed 897 tests

46.20% 0
24.96% 1
13.20% 2
7.42% 3
4.89% 4
3.33% 5

11.507% {vclock_qc,timestamp,0}
11.061% {vclock_qc,fresh,0}
9.837% {vclock_qc,merge,1}
9.823% {vclock_qc,get_dot,2}
9.690% {vclock_qc,descends_dot,3}
9.682% {vclock_qc,get_counter,2}
9.663% {vclock_qc,descends,2}
9.641% {vclock_qc,get_timestamp,2}
9.569% {vclock_qc,increment,2}
9.528% {vclock_qc,dominates,2}

43.9% {num_vclocks_div_10,0}
21.5% {num_vclocks_div_10,1}
13.3% {num_vclocks_div_10,2}
6.8% {num_vclocks_div_10,3}
5.4% {num_vclocks_div_10,4}
3.1% {num_vclocks_div_10,5}
1.9% {num_vclocks_div_10,6}
1.3% {num_vclocks_div_10,7}
1.0% {num_vclocks_div_10,8}
0.3% {num_vclocks_div_10,11}
0.3% {num_vclocks_div_10,9}
0.2% {num_vclocks_div_10,13}
0.2% {num_vclocks_div_10,10}
0.1% {num_vclocks_div_10,21}
0.1% {num_vclocks_div_10,18}
0.1% {num_vclocks_div_10,16}
0.1% {num_vclocks_div_10,15}
0.1% {num_vclocks_div_10,14}
0.1% {num_vclocks_div_10,12}
[21.040 s] ok
module 'riak_core_send_msg'
riak_core_bucket: simple_set_test (module 'riak_core_bucket')...[0.004 s] ok
module 'riak_core_handoff_sender_sup'
module 'riak_core_coverage_plan'
module 'riak_core_eventhandler_sup'
module 'riak_core_repair'
module 'bucket_eqc_utils'
module 'vclock'
  vclock: example_test...ok
  vclock: prune_small_test...ok
  vclock: prune_young_test...ok
  vclock: prune_big_test...ok
  vclock: prune_old_test...ok
  vclock: prune_order_test...ok
  vclock: accessor_test...ok
  vclock: merge_test...ok
  vclock: merge_less_left_test...ok
  vclock: merge_less_right_test...ok
  vclock: merge_same_id_test...ok
  vclock: get_entry_test...ok
  vclock: valid_entry_test...ok
  [done in 0.039 s]
module 'riak_core_ring_manager'
  riak_core_ring_manager: back_test...ok
  riak_core_ring_manager: prune_list_test...ok
  riak_core_ring_manager: set_ring_global_test...[0.008 s] ok
  riak_core_ring_manager: set_my_ring_test...[0.007 s] ok
  riak_core_ring_manager: refresh_my_ring_test...ok
  riak_core_ring_manager: do_write_ringfile_test...[0.038 s] ok
  riak_core_ring_manager: is_stable_ring_test...ok
  [done in 0.074 s]
module 'riak_core_handoff_sup'
module 'riak_core_capability'
  riak_core_capability_tests: basic_test (module 'riak_core_capability_tests')...ok
  [done in 0.003 s]
module 'riak_core_handoff_cli'
module 'riak_core_broadcast_handler'
module 'mock_vnode'
module 'bloom'
  bloom: fixed_case_test_...[1.040 s] ok
  bloom: bloom_test...[0.632 s] ok
  [done in 1.678 s]
module 'riak_core_vnode_sup'
module 'process_proxy'
module 'riak_core_dist_mon'
module 'riak_core_bucket_type'
module 'riak_core_gossip'
module 'app_helper'
  app_helper: app_helper_test_...ok
  app_helper: app_helper_test_...ok
  app_helper: app_helper_test_...ok
  app_helper: app_helper_test_...ok
  app_helper: app_helper_test_...ok
  app_helper: app_helper_test_...ok
  [done in 0.018 s]
module 'bg_manager_tests'
  bg_manager_tests: bg_mgr_test_ (set/get token rates + verify rates)...[0.001 s] ok
  bg_manager_tests: bg_mgr_test_ (crash token manager + verify rates persist)...[0.303 s] ok
  bg_manager_tests: bg_mgr_test_ (lock/token separation)...ok
  bg_manager_tests: bg_mgr_test_ (failing crash/revive EQC test case)...[0.303 s] ok
  bg_manager_tests: bg_mgr_test_ (bypass API)...ok
  [done in 0.622 s]
module 'riak_core_schema_tests'
  riak_core_schema_tests: basic_schema_test...[0.069 s] ok
  riak_core_schema_tests: invalid_states_test...[0.030 s] ok
  riak_core_schema_tests: default_bucket_properties_test...[0.030 s] ok
  riak_core_schema_tests: override_schema_test...[0.032 s] ok
  [done in 0.174 s]
=======================================================
  All 429 tests passed.
Cover analysis: /tmp/thumbs/develop.146de1b.dr-th_service-poc.57aeb55/.eunit/index.html

=INFO REPORT==== 15-Feb-2017::08:35:49 ===
    application: ssl
    exited: stopped
    type: temporary

=INFO REPORT==== 15-Feb-2017::08:35:49 ===
    application: inets
    exited: killed
    type: temporary





✅ MAKE_XREF

Started at: 2017-02-15 08:35
Duration: 5 seconds.
Result: OK
Message: OK
Exit Code: 0

📄


cd /tmp/thumbs/develop.146de1b.dr-th_service-poc.57aeb55; make xref




  ./rebar get-deps
==> goldrush (get-deps)
==> lager (get-deps)
==> poolboy (get-deps)
==> basho_stats (get-deps)
==> getopt (get-deps)
==> neotoma (get-deps)
==> cuttlefish (get-deps)
==> riak_sysmon (get-deps)
==> eleveldb (get-deps)
==> riak_ensemble (get-deps)
==> pbkdf2 (get-deps)
==> edown (get-deps)
==> parse_trans (get-deps)
==> bear (get-deps)
==> meck (get-deps)
==> folsom (get-deps)
==> setup (get-deps)
==> src (get-deps)
==> exometer_core (get-deps)
==> clique (get-deps)
==> develop.146de1b.dr-th_service-poc.57aeb55 (get-deps)
./rebar compile
==> goldrush (compile)
==> lager (compile)
==> poolboy (compile)
==> basho_stats (compile)
==> getopt (compile)
==> neotoma (compile)
==> cuttlefish (compile)
==> getopt (escriptize)
==> goldrush (escriptize)
==> lager (escriptize)
==> neotoma (escriptize)
==> cuttlefish (escriptize)
==> riak_sysmon (compile)
==> eleveldb (compile)
make[1]: Entering directory `/tmp/thumbs/develop.146de1b.dr-th_service-poc.57aeb55/deps/eleveldb/c_src/leveldb'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/tmp/thumbs/develop.146de1b.dr-th_service-poc.57aeb55/deps/eleveldb/c_src/leveldb'
make[1]: Entering directory `/tmp/thumbs/develop.146de1b.dr-th_service-poc.57aeb55/deps/eleveldb/c_src/leveldb'
make[1]: Nothing to be done for `tools'.
make[1]: Leaving directory `/tmp/thumbs/develop.146de1b.dr-th_service-poc.57aeb55/deps/eleveldb/c_src/leveldb'
==> riak_ensemble (compile)
==> pbkdf2 (compile)
==> edown (compile)
==> parse_trans (compile)
==> bear (compile)
==> meck (compile)
==> folsom (compile)
==> setup (compile)
==> edown (escriptize)
==> setup (escriptize)
==> src (compile)
==> exometer_core (compile)
==> clique (compile)
==> develop.146de1b.dr-th_service-poc.57aeb55 (compile)
./rebar xref skip_deps=true
WARN:  Ignoring sub_dirs for /tmp/thumbs/develop.146de1b.dr-th_service-poc.57aeb55/deps/exometer_core
==> develop.146de1b.dr-th_service-poc.57aeb55 (xref)





✅ MAKE_DIALYZER

Started at: 2017-02-15 08:35
Duration: 40 seconds.
Result: OK
Message: OK
Exit Code: 0

📄


cd /tmp/thumbs/develop.146de1b.dr-th_service-poc.57aeb55; make dialyzer




  
  
... Snipped 181 lines ...
ax:abstract/1
  erl_syntax:application/2
  erl_syntax:application/3
  erl_syntax:application_arguments/1
  erl_syntax:arity_qualifier/2
  erl_syntax:arity_qualifier_argument/1
  erl_syntax:arity_qualifier_body/1
  erl_syntax:atom/1
  erl_syntax:atom_value/1
  erl_syntax:attribute/2
  erl_syntax:attribute_arguments/1
  erl_syntax:attribute_name/1
  erl_syntax:case_expr/2
  erl_syntax:catch_expr/1
  erl_syntax:clause/2
  erl_syntax:clause/3
  erl_syntax:clause_patterns/1
  erl_syntax:fun_expr_clauses/1
  erl_syntax:function/2
  erl_syntax:function_clauses/1
  erl_syntax:generator/2
  erl_syntax:generator_body/1
  erl_syntax:generator_pattern/1
  erl_syntax:get_pos/1
  erl_syntax:implicit_fun/2
  erl_syntax:implicit_fun_name/1
  erl_syntax:integer/1
  erl_syntax:integer_value/1
  erl_syntax:list/1
  erl_syntax:list_comp/2
  erl_syntax:list_comp_body/1
  erl_syntax:list_comp_template/1
  erl_syntax:list_elements/1
  erl_syntax:match_expr/2
  erl_syntax:revert/1
  erl_syntax:revert_forms/1
  erl_syntax:string/1
  erl_syntax:string_value/1
  erl_syntax:subtrees/1
  erl_syntax:tuple/1
  erl_syntax:tuple_elements/1
  erl_syntax:type/1
  erl_syntax:underscore/0
  erl_syntax:update_tree/2
  erl_syntax:variable/1
  erl_syntax:variable_name/1
  erl_syntax_lib:analyze_application/1
  erl_syntax_lib:analyze_forms/1
  erl_syntax_lib:analyze_function/1
  erl_syntax_lib:map/2
  erl_syntax_lib:variables/1
  erlang:append_element/2
  erlang:atom_to_binary/2
  erlang:atom_to_list/1
  erlang:binary_to_atom/2
  erlang:binary_to_existing_atom/2
  erlang:binary_to_list/1
  erlang:binary_to_list/3
  erlang:binary_to_term/1
  erlang:bitstring_to_list/1
  erlang:bump_reductions/1
  erlang:cancel_timer/1
  erlang:crc32/1
  erlang:demonitor/1
  erlang:demonitor/2
  erlang:erase/1
  erlang:exit/2
  erlang:float_to_list/1
  erlang:float_to_list/2
  erlang:fun_info/2
  erlang:fun_to_list/1
  erlang:function_exported/3
  erlang:garbage_collect/0
  erlang:get/1
  erlang:get_module_info/1
  erlang:get_module_info/2
  erlang:get_stacktrace/0
  erlang:group_leader/0
  erlang:group_leader/2
  erlang:integer_to_list/1
  erlang:iolist_size/1
  erlang:iolist_to_binary/1
  erlang:is_alive/0
  erlang:is_builtin/3
  erlang:is_map/1
  erlang:is_process_alive/1
  erlang:link/1
  erlang:list_to_atom/1
  erlang:list_to_binary/1
  erlang:list_to_existing_atom/1
  erlang:list_to_float/1
  erlang:list_to_integer/1
  erlang:list_to_tuple/1
  erlang:load_nif/2
  erlang:localtime/0
  erlang:make_fun/3
  erlang:make_ref/0
  erlang:map_size/1
  erlang:max/2
  erlang:min/2
  erlang:monitor/2
  erlang:now/0
  erlang:phash2/1
  erlang:phash2/2
  erlang:pid_to_list/1
  erlang:port_info/1
  erlang:port_info/2
  erlang:port_to_list/1
  erlang:ports/0
  erlang:process_flag/2
  erlang:process_info/2
  erlang:processes/0
  erlang:put/2
  erlang:raise/3
  erlang:ref_to_list/1
  erlang:register/2
  erlang:registered/0
  erlang:send/2
  erlang:send/3
  erlang:send_after/3
  erlang:spawn_link/3
  erlang:spawn_monitor/1
  erlang:split_binary/2
  erlang:start_timer/3
  erlang:statistics/1
  erlang:system_monitor/0
  erlang:system_monitor/2
  erlang:term_to_binary/1
  erlang:trace_info/2
  erlang:trace_pattern/3
  erlang:universaltime/0
  erlang:unlink/1
  erlang:whereis/1
  error_logger:add_report_handler/1
  error_logger:delete_report_handler/1
  error_logger:error_msg/1
  error_logger:error_msg/2
  error_logger:format/2
  error_logger:info_msg/2
  error_logger:info_report/1
  error_logger:warning_msg/1
  escript:script_name/0
  ets:all/0
  ets:delete/1
  ets:delete/2
  ets:delete_all_objects/1
  ets:delete_object/2
  ets:first/1
  ets:foldl/3
  ets:give_away/3
  ets:info/1
  ets:info/2
  ets:insert/2
  ets:insert_new/2
  ets:last/1
  ets:lookup/2
  ets:lookup_element/3
  ets:match/2
  ets:match_spec_compile/1
  ets:match_spec_run/2
  ets:member/2
  ets:new/2
  ets:next/2
  ets:prev/2
  ets:select/1
  ets:select/2
  ets:select/3
  ets:select_count/2
  ets:select_delete/2
  ets:select_reverse/3
  ets:setopts/2
  ets:tab2list/1
  ets:update_counter/3
  ets:update_element/3
  eunit:test/1
  file:close/1
  file:consult/1
  file:datasync/1
  file:delete/1
  file:format_error/1
  file:get_cwd/0
  file:list_dir/1
  file:make_dir/1
  file:open/2
  file:read/2
  file:read_file/1
  file:read_file_info/1
  file:rename/2
  file:script/1
  file:script/2
  file:set_cwd/1
  file:sync/1
  file:write/2
  file:write_file/2
  filelib:ensure_dir/1
  filelib:is_dir/1
  filelib:is_file/1
  filelib:is_regular/1
  filelib:wildcard/1
  filelib:wildcard/2
  filename:absname/1
  filename:append/2
  filename:basename/1
  filename:basename/2
  filename:dirname/1
  filename:extension/1
  filename:join/1
  filename:join/2
  filename:split/1
  gb_trees:empty/0
  gb_trees:enter/3
  gb_trees:from_orddict/1
  gb_trees:get/2
  gb_trees:iterator/1
  gb_trees:lookup/2
  gb_trees:next/1
  gb_trees:size/1
  gen_event:add_sup_handler/3
  gen_event:call/3
  gen_event:call/4
  gen_event:delete_handler/3
  gen_event:notify/2
  gen_event:sync_notify/2
  gen_event:which_handlers/1
  gen_fsm:cancel_timer/1
  gen_fsm:reply/2
  gen_fsm:send_all_state_event/2
  gen_fsm:send_event/2
  gen_fsm:send_event_after/2
  gen_fsm:start/3
  gen_fsm:start_link/3
  gen_fsm:sync_send_all_state_event/2
  gen_fsm:sync_send_all_state_event/3
  gen_fsm:sync_send_event/2
  gen_fsm:sync_send_event/3
  gen_server:call/2
  gen_server:call/3
  gen_server:cast/2
  gen_server:reply/2
  gen_server:start/3
  gen_server:start/4
  gen_server:start_link/3
  gen_server:start_link/4
  hamcrest:assert_that/2
  hamcrest:is_matcher/1
  igor:parse_transform/2
  inet:getopts/2
  inet:getstat/1
  inet:parse_address/1
  inet:peername/1
  inet:sockname/1
  init:archive_extension/0
  init:get_argument/1
  init:script_id/0
  init:stop/1
  io:columns/0
  io:format/1
  io:format/2
  io:format/3
  io:fwrite/1
  io:fwrite/2
  io:fwrite/3
  io:put_chars/1
  io:put_chars/2
  io_lib:deep_char_list/1
  io_lib:format/2
  io_lib:fwrite/2
  io_lib:printable_list/1
  io_lib:write/1
  io_lib:write/2
  io_lib:write_atom/1
  io_lib_format:fwrite_g/1
  io_lib_pretty:print/6
  lager_default_tracer:info/1
  lib:format_exception/6
  lists:append/1
  lists:concat/1
  lists:duplicate/2
  lists:flatlength/1
  lists:keystore/4
  lists:keytake/3
  lists:prefix/2
  lists:seq/2
  lists:sublist/2
  lists:sublist/3
  lists:sum/1
  lists:ukeymerge/3
  lists:ukeysort/2
  maps:to_list/1
  math:cos/1
  math:exp/1
  math:log/1
  math:log10/1
  math:pi/0
  math:pow/2
  math:sqrt/1
  memsup:get_system_memory_data/0
  mochijson2:encode/1
  mustache:render/2
  net_adm:ping/1
  orddict:append/3
  orddict:append_list/3
  orddict:erase/2
  orddict:fetch_keys/1
  orddict:find/2
  orddict:fold/3
  orddict:merge/3
  orddict:new/0
  orddict:store/3
  orddict:update/4
  orddict:update_counter/3
  ordsets:add_element/2
  ordsets:del_element/2
  ordsets:from_list/1
  ordsets:intersection/2
  ordsets:is_element/2
  ordsets:new/0
  ordsets:subtract/2
  ordsets:union/2
  os:cmd/1
  os:getenv/1
  os:timestamp/0
  os:type/0
  prim_inet:getstatus/1
  prim_inet:gettype/1
  proc_lib:init_ack/2
  proc_lib:spawn/1
  proc_lib:start_link/3
  proplists:delete/2
  proplists:get_all_values/2
  proplists:get_bool/2
  proplists:get_keys/1
  proplists:get_value/2
  proplists:get_value/3
  proplists:is_defined/2
  proplists:lookup/2
  queue:filter/2
  queue:in/2
  queue:is_empty/1
  queue:len/1
  queue:member/2
  queue:new/0
  queue:out/1
  queue:to_list/1
  random:seed/0
  random:seed/1
  random:seed/3
  random:seed0/0
  random:uniform/0
  random:uniform/1
  random:uniform_s/2
  re:compile/1
  re:compile/2
  re:replace/4
  re:run/2
  re:run/3
  re:split/3
  rebar_config:get_local/3
  rebar_mustache:render/2
  rebar_rel_utils:get_target_dir/2
  rebar_rel_utils:is_rel_dir/0
  rebar_rel_utils:load_config/2
  release_handler:eval_appup_script/4
  rpc:call/4
  rpc:eval_everywhere/3
  rpc:multicall/3
  rpc:multicall/4
  rpc:multicall/5
  sets:add_element/2
  sets:del_element/2
  sets:from_list/1
  sets:is_element/2
  sets:new/0
  sets:size/1
  sets:to_list/1
  string:centre/2
  string:chr/2
  string:cspan/2
  string:join/2
  string:left/2
  string:left/3
  string:rchr/2
  string:right/2
  string:str/2
  string:strip/1
  string:strip/2
  string:sub_string/2
  string:sub_string/3
  string:substr/2
  string:substr/3
  string:to_lower/1
  string:tokens/2
  supervisor:delete_child/2
  supervisor:start_child/2
  supervisor:start_link/2
  supervisor:start_link/3
  supervisor:terminate_child/2
  supervisor:which_children/1
  sys:get_debug/3
  sys:handle_system_msg/6
  systools:make_script/2
  timer:apply_interval/4
  timer:cancel/1
  timer:now_diff/2
  timer:seconds/1
  timer:send_interval/2
  timer:sleep/1
  timer:tc/1
  timer:tc/2
  timer:tc/3
  unicode:characters_to_binary/1
  unicode:characters_to_binary/3
  unicode:characters_to_list/1
  unicode:characters_to_list/2
  xmerl:export_simple/2
  xmerl_html:'#element#'/5
  xmerl_lib:end_tag/1
  xmerl_lib:expand_element/1
  xmerl_lib:find_attribute/2
  xmerl_lib:mapxml/2
  xmerl_lib:start_tag/2
Unknown types:
  calendar:datetime/0
  erl_syntax:syntaxTree/0
  erlang:timestamp/0
  ets:comp_match_spec/0
  ets:match_spec/0
  ets:tab/0
  ets:tid/0
  file:date_time/0
  file:fd/0
  file:filename/0
  file:io_device/0
  file:name/0
  file:name_all/0
  file:posix/0
  hamcrest:matchspec/0
  meck_history:history_record/0
  orddict:orddict/0
  proplists:property/0
  proplists:proplist/0
  re:mp/0
  supervisor:child_spec/0
  timer:tref/0
  unicode:charlist/0
 done in 0m5.64s
done (passed successfully)
==> develop.146de1b.dr-th_service-poc.57aeb55 (dialyzer)
  Checking whether the PLT /home/ubuntu/.combo_dialyzer_plt is up-to-date... yes
  Checking whether the PLT .local_dialyzer_plt is up-to-date... yes
  Compiling some key modules to native code... done in 0m8.64s
  Proceeding with analysis...
Unknown functions:
  cluster_info:format/3
  cluster_info:register_app/1
 done in 0m5.33s
done (passed successfully)





⬜ 0 of 2 Code reviews from organization basho

* Add paragraph breaks
* Add section headers
* Add cross-references
* Add code markup
* Add type documentation for `callback()`
* Clarify usage docs
@thumbot
Copy link

thumbot commented Feb 15, 2017

dr-th/service-poc d5b130d ➡️ develop 146de1b ✅ completed
Looks good! 👍
✅ MERGE

Started at: 2017-02-15 12:19
Duration: 1 seconds.
Result: OK
Message: Merge Success: dr-th/service-poc d5b130d onto target branch: develop 146de1b
Exit Code: OK

📄







  Merge made by the 'recursive' strategy.
 src/riak_core_app.erl                  |  10 ++++
 src/riak_core_info_service.erl         | 102 +++++++++++++++++++++++++++++++++
 src/riak_core_info_service_process.erl |  89 ++++++++++++++++++++++++++++
 src/riak_core_info_service_sup.erl     |  50 ++++++++++++++++
 src/riak_core_sup.erl                  |   1 +
 5 files changed, 252 insertions(+)
 create mode 100644 src/riak_core_info_service.erl
 create mode 100644 src/riak_core_info_service_process.erl
 create mode 100644 src/riak_core_info_service_sup.erl




✅ MAKE_CLEAN

Started at: 2017-02-15 12:19
Duration: 1 seconds.
Result: OK
Message: OK
Exit Code: 0

📄


cd /tmp/thumbs/develop.146de1b.dr-th_service-poc.d5b130d; make clean




  ./rebar clean
==> develop.146de1b.dr-th_service-poc.d5b130d (clean)





✅ MAKE_DEPS

Started at: 2017-02-15 12:19
Duration: 11 seconds.
Result: OK
Message: OK
Exit Code: 0

📄


cd /tmp/thumbs/develop.146de1b.dr-th_service-poc.d5b130d; make deps




  ./rebar get-deps
==> develop.146de1b.dr-th_service-poc.d5b130d (get-deps)
Pulling lager from {git,"git://github.com/basho/lager.git",{tag,"3.2.4"}}
Cloning into 'lager'...
Pulling poolboy from {git,"git://github.com/basho/poolboy.git",
                          {tag,"0.8.1p3"}}
Cloning into 'poolboy'...
Pulling basho_stats from {git,"git://github.com/basho/basho_stats.git",
                              {tag,"1.0.3"}}
Cloning into 'basho_stats'...
Pulling riak_sysmon from {git,"git://github.com/basho/riak_sysmon.git",
                              {tag,"2.1.4"}}
Cloning into 'riak_sysmon'...
Pulling eleveldb from {git,"git://github.com/basho/eleveldb.git",
                           {tag,"2.0.32"}}
Cloning into 'eleveldb'...
Pulling riak_ensemble from {git,"git://github.com/basho/riak_ensemble",
                                {tag,"2.1.6"}}
Cloning into 'riak_ensemble'...
Pulling pbkdf2 from {git,"git://github.com/basho/erlang-pbkdf2.git",
                         {tag,"2.0.0"}}
Cloning into 'pbkdf2'...
Pulling exometer_core from {git,"git://github.com/basho/exometer_core.git",
                                {tag,"1.0.0-basho9"}}
Cloning into 'exometer_core'...
Pulling clique from {git,"https://github.com/basho/clique.git",{tag,"0.3.8"}}
Cloning into 'clique'...
==> lager (get-deps)
Pulling goldrush from {git,"https://github.com/basho/goldrush.git",
                           {tag,"0.1.9"}}
Cloning into 'goldrush'...
==> goldrush (get-deps)
==> poolboy (get-deps)
==> basho_stats (get-deps)
==> riak_sysmon (get-deps)
Pulling cuttlefish from {git,"https://github.com/basho/cuttlefish.git",
                             {tag,"2.0.10"}}
Cloning into 'cuttlefish'...
==> cuttlefish (get-deps)
Pulling getopt from {git,"https://github.com/basho/getopt.git",{tag,"v0.8.2"}}
Cloning into 'getopt'...
Pulling neotoma from {git,"https://github.com/basho/neotoma.git",
                          {tag,"1.7.3"}}
Cloning into 'neotoma'...
==> getopt (get-deps)
==> neotoma (get-deps)
==> eleveldb (get-deps)
Cloning into 'leveldb'...
Note: checking out '2.0.31'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b new_branch_name

HEAD is now at e6a2939... add (int) cast to fix compile errors on 10 of 16 platforms ... argh.
==> riak_ensemble (get-deps)
==> pbkdf2 (get-deps)
==> src (get-deps)
==> exometer_core (get-deps)
Pulling parse_trans from {git,"git://github.com/basho/parse_trans.git",
                              {tag,"2.9.2p1"}}
Cloning into 'parse_trans'...
Pulling folsom from {git,"git://github.com/basho/folsom.git",{tag,"0.7.4p5"}}
Cloning into 'folsom'...
Pulling setup from {git,"git://github.com/basho/setup.git",{tag,"1.4"}}
Cloning into 'setup'...
==> parse_trans (get-deps)
Pulling edown from {git,"git://github.com/basho/edown.git",{tag,"0.8.1"}}
Cloning into 'edown'...
==> edown (get-deps)
==> folsom (get-deps)
Pulling bear from {git,"git://github.com/basho/bear.git",{tag,"0.1.3p1"}}
Cloning into 'bear'...
Pulling meck from {git,"git://github.com/basho/meck.git",{tag,"0.8.2"}}
Cloning into 'meck'...
==> bear (get-deps)
==> meck (get-deps)
==> setup (get-deps)
==> clique (get-deps)





✅ MAKE_COMPILE

Started at: 2017-02-15 12:19
Duration: 32 seconds.
Result: OK
Message: OK
Exit Code: 0

📄


cd /tmp/thumbs/develop.146de1b.dr-th_service-poc.d5b130d; make compile




  
  
... Snipped 636 lines ...
d -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY  -DLEVELDB_VSN="2.0.31" -O2 -g -DNDEBUG     -fPIC tools/perf_dump.cc -o perf_dump -L . -Wl,-non_shared -lleveldb -Wl,-call_shared -m64  -L/tmp/thumbs/develop.146de1b.dr-th_service-poc.d5b130d/deps/eleveldb/c_src/system/lib -pthread -lrt -Wl,-non_shared -lsnappy -Wl,-call_shared
c++ -m64  -Wall -O3 -fPIC -I /tmp/thumbs/develop.146de1b.dr-th_service-poc.d5b130d/deps/eleveldb/c_src/system/include -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY  -DLEVELDB_VSN="2.0.31" -O2 -g -DNDEBUG     -fPIC tools/sst_rewrite.cc -o sst_rewrite -L . -Wl,-non_shared -lleveldb -Wl,-call_shared -m64  -L/tmp/thumbs/develop.146de1b.dr-th_service-poc.d5b130d/deps/eleveldb/c_src/system/lib -pthread -lrt -Wl,-non_shared -lsnappy -Wl,-call_shared
c++ -m64  -Wall -O3 -fPIC -I /tmp/thumbs/develop.146de1b.dr-th_service-poc.d5b130d/deps/eleveldb/c_src/system/include -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY  -DLEVELDB_VSN="2.0.31" -O2 -g -DNDEBUG     -fPIC tools/sst_scan.cc -o sst_scan -L . -Wl,-non_shared -lleveldb -Wl,-call_shared -m64  -L/tmp/thumbs/develop.146de1b.dr-th_service-poc.d5b130d/deps/eleveldb/c_src/system/lib -pthread -lrt -Wl,-non_shared -lsnappy -Wl,-call_shared
make[1]: Leaving directory `/tmp/thumbs/develop.146de1b.dr-th_service-poc.d5b130d/deps/eleveldb/c_src/leveldb'
Compiled src/eleveldb_bump.erl
Compiled src/eleveldb.erl
Compiling c_src/eleveldb.cc
Compiling c_src/refobjects.cc
Compiling c_src/workitems.cc
==> riak_ensemble (compile)
Compiled src/riak_ensemble_backend.erl
Compiled src/riak_ensemble_sup.erl
Compiled src/synctree_orddict.erl
Compiled src/riak_ensemble_client.erl
Compiled src/riak_ensemble_router.erl
Compiled src/riak_ensemble_config.erl
Compiled src/riak_ensemble_router_sup.erl
Compiled src/synctree.erl
Compiled src/riak_ensemble_lease.erl
Compiled src/riak_ensemble_test.erl
Compiled src/synctree_leveldb.erl
Compiled src/riak_ensemble_root.erl
Compiled src/riak_ensemble_exchange.erl
Compiled src/riak_ensemble_manager.erl
Compiled src/riak_ensemble_save.erl
Compiled src/riak_ensemble_clock.erl
Compiled src/riak_ensemble_peer_worker.erl
Compiled src/riak_ensemble_basic_backend.erl
Compiled src/riak_ensemble_app.erl
Compiled src/riak_ensemble_state.erl
Compiled src/riak_ensemble_storage.erl
Compiled src/riak_ensemble_peer_tree.erl
Compiled src/riak_ensemble_peer_sup.erl
Compiled src/synctree_ets.erl
Compiled src/riak_ensemble_util.erl
Compiled src/riak_ensemble_msg.erl
Compiled src/riak_ensemble_peer.erl
Compiling c_src/riak_ensemble_clock.c
==> pbkdf2 (compile)
Compiled src/pbkdf2.erl
==> edown (compile)
Compiled src/edown_make.erl
Compiled src/edown_lib.erl
Compiled src/edown_xmerl.erl
Compiled src/edown_doclet.erl
Compiled src/edown_layout.erl
==> parse_trans (compile)
Compiled src/parse_trans.erl
Compiled src/parse_trans_pp.erl
Compiled src/parse_trans_codegen.erl
Compiled src/parse_trans_mod.erl
Compiled src/ct_expand.erl
Compiled src/exprecs.erl
==> bear (compile)
Compiled src/bear.erl
==> meck (compile)
Compiled src/meck_cover.erl
Compiled src/meck_expect.erl
Compiled src/meck_matcher.erl
Compiled src/meck_args_matcher.erl
Compiled src/meck_history.erl
Compiled src/meck.erl
Compiled src/meck_code_gen.erl
Compiled src/meck_util.erl
Compiled src/meck_code.erl
Compiled src/meck_ret_spec.erl
Compiled src/meck_proc.erl
==> folsom (compile)
Compiled src/folsom_sample_slide_sup.erl
Compiled src/folsom_sample_slide.erl
Compiled src/folsom_metrics_histogram.erl
Compiled src/folsom_ewma.erl
Compiled src/folsom_sample_none.erl
Compiled src/folsom_sample_exdec.erl
Compiled src/folsom_metrics_histogram_ets.erl
Compiled src/folsom_metrics_duration.erl
Compiled src/folsom.erl
Compiled src/folsom_sample.erl
Compiled src/folsom_metrics_meter_reader.erl
Compiled src/folsom_vm_metrics.erl
Compiled src/folsom_metrics.erl
Compiled src/folsom_sample_slide_uniform.erl
Compiled src/folsom_metrics_counter.erl
Compiled src/folsom_metrics_spiral.erl
Compiled src/folsom_meter_timer_server.erl
Compiled src/folsom_metrics_history.erl
Compiled src/folsom_sup.erl
Compiled src/folsom_sample_slide_server.erl
Compiled src/folsom_ets.erl
Compiled src/folsom_utils.erl
Compiled src/folsom_metrics_gauge.erl
Compiled src/folsom_metrics_meter.erl
Compiled src/folsom_sample_uniform.erl
==> setup (compile)
Compiled src/setup_lib.erl
Compiled src/setup_gen.erl
Compiled src/setup.erl
==> edown (escriptize)
==> setup (escriptize)
==> src (compile)
==> exometer_core (compile)
Compiled src/exometer_igor.erl
Compiled src/exometer_util.erl
Compiled src/exometer_entry.erl
Compiled src/exometer_probe.erl
Compiled src/exometer_report.erl
Compiled src/exometer_folsom_monitor.erl
Compiled src/exometer_folsom.erl
Compiled src/exometer_report_lager.erl
Compiled src/exometer_duration.erl
Compiled src/exometer_function.erl
Compiled src/exometer_core_sup.erl
Compiled src/exometer_slide.erl
Compiled src/exometer_slot_slide.erl
Compiled src/exometer_report_tty.erl
Compiled src/exometer_proc.erl
Compiled src/exo_montest.erl
Compiled src/exometer_cache.erl
Compiled src/exometer_spiral.erl
Compiled src/exometer_cpu.erl
Compiled src/exometer_alias.erl
Compiled src/exometer_shallowtree.erl
Compiled src/exometer_admin.erl
Compiled src/exometer_uniform.erl
Compiled src/exometer.erl
Compiled src/exometer_core_app.erl
Compiled src/exometer_info.erl
Compiled src/exometer_histogram.erl
==> clique (compile)
Compiled src/clique_writer.erl
Compiled src/clique_handler.erl
Compiled src/clique_test_group_leader.erl
Compiled src/clique_table.erl
Compiled src/clique_json_writer.erl
Compiled src/clique_config.erl
Compiled src/clique.erl
Compiled src/clique_status.erl
Compiled src/clique_typecast.erl
Compiled src/clique_human_writer.erl
Compiled src/clique_usage.erl
Compiled src/clique_error.erl
Compiled src/clique_manager.erl
Compiled src/clique_nodes.erl
Compiled src/clique_app.erl
Compiled src/clique_sup.erl
Compiled src/clique_csv_writer.erl
Compiled src/clique_parser.erl
Compiled src/clique_command.erl
Compiled src/clique_spec.erl
==> develop.146de1b.dr-th_service-poc.d5b130d (compile)
Compiled src/gen_nb_server.erl
Compiled src/riak_core_gen_server.erl
Compiled src/riak_core_stat_xform.erl
Compiled src/riak_core_broadcast_handler.erl
Compiled src/riak_core_vnode_worker_pool.erl
Compiled src/chash.erl
Compiled src/riak_core_format.erl
Compiled src/riak_core_broadcast.erl
Compiled src/riak_core_ring_manager.erl
Compiled src/riak_core_handoff_sender_sup.erl
Compiled src/riak_core_dist_mon.erl
Compiled src/chashbin.erl
Compiled src/riak_core_vnode_proxy.erl
Compiled src/riak_core_status.erl
Compiled src/riak_core_repair.erl
Compiled src/riak_core_metadata_exchange_fsm.erl
Compiled src/riak_core_claim_sim.erl
Compiled src/riak_core_mochiglobal.erl
Compiled src/dvvset.erl
Compiled src/riak_core_vnode_manager.erl
Compiled src/riak_core_bucket.erl
Compiled src/vclock.erl
Compiled src/riak_core_bg_manager.erl
Compiled src/riak_core_node_watcher.erl
Compiled src/riak_core_dtrace.erl
Compiled src/riak_core_tracer.erl
Compiled src/riak_core_vnode_sup.erl
Compiled src/riak_core_test_util.erl
Compiled src/riak_core_sup.erl
Compiled src/riak_core_handoff_sup.erl
Compiled src/riak_core_nodeid.erl
Compiled src/riak_core_vnode_proxy_sup.erl
Compiled src/riak_core_stat.erl
Compiled src/hashtree.erl
Compiled src/riak_core_cli_registry.erl
Compiled src/riak_core_handoff_listener.erl
Compiled src/riak_core_tcp_mon.erl
Compiled src/riak_core_app.erl
Compiled src/riak_core_stat_calc_sup.erl
Compiled src/riak_core_util.erl
Compiled src/riak_core_ring_util.erl
Compiled src/riak_core_console_table.erl
Compiled src/riak_core_cinfo_core.erl
Compiled src/supervisor_pre_r14b04.erl
Compiled src/riak_core_cluster_cli.erl
Compiled src/riak_core_net_ticktime.erl
Compiled src/riak_core_coverage_plan.erl
Compiled src/riak_core_send_msg.erl
Compiled src/riak_core_ring.erl
Compiled src/riak_core_throttle.erl
Compiled src/riak_core_metadata.erl
Compiled src/hashtree_tree.erl
Compiled src/riak_core_stat_q.erl
Compiled src/riak_core_table_owner.erl
Compiled src/riak_core_vnode_master.erl
Compiled src/process_proxy.erl
Compiled src/riak_core_ring_handler.erl
Compiled src/riak_core_exo_monitor.erl
Compiled src/riak_core_claim_util.erl
Compiled src/riak_core_stat_calc_proc.erl
Compiled src/riak_core_eventhandler_sup.erl
Compiled src/riak_core_metadata_object.erl
Compiled src/riak_core_handoff_listener_sup.erl
Compiled src/riak_core_sysmon_minder.erl
Compiled src/riak_core_pw_auth.erl
Compiled src/app_helper.erl
Compiled src/riak_core_stat_sup.erl
Compiled src/riak_core_node_watcher_events.erl
Compiled src/riak_core_sysmon_handler.erl
Compiled src/riak_core_handoff_cli.erl
Compiled src/riak_core_console.erl
Compiled src/riak_core_metadata_manager.erl
Compiled src/riak_core_vnode_worker.erl
Compiled src/riak_core_bucket_props.erl
Compiled src/riak_core_info_service_sup.erl
Compiled src/riak_core_metadata_hashtree.erl
Compiled src/bloom.erl
Compiled src/riak_core_handoff_status.erl
Compiled src/riak_core_handoff_sender.erl
Compiled src/riak_core_ring_events.erl
Compiled src/riak_core_gossip.erl
Compiled src/riak_core_coverage_fsm.erl
Compiled src/riak_core_claimant.erl
Compiled src/riak_core_ssl_util.erl
Compiled src/riak_core_stats_sup.erl
Compiled src/riak_core_bucket_type.erl
Compiled src/riak_core_handoff_receiver.erl
Compiled src/riak_core_security.erl
Compiled src/riak_core_handoff_receiver_sup.erl
Compiled src/riak_core_info_service.erl
Compiled src/riak_core_claim.erl
Compiled src/riak_core_new_claim.erl
Compiled src/riak_core_stat_cache.erl
Compiled src/riak_core_handoff_manager.erl
Compiled src/riak_core_apl.erl
Compiled src/riak_core.erl
Compiled src/riak_core_priority_queue.erl
Compiled src/riak_core_vnode.erl
Compiled src/riak_core_info_service_process.erl
Compiled src/riak_core_eventhandler_guard.erl
Compiled src/riak_core_base64url.erl
Compiled src/riak_core_capability.erl





✅ MAKE_TEST

Started at: 2017-02-15 12:19
Duration: 583 seconds.
Result: OK
Message: OK
Exit Code: 0

📄


cd /tmp/thumbs/develop.146de1b.dr-th_service-poc.d5b130d; make test




  
  
... Snipped 1276 lines ...
ontext child_terminated
12:28:16.083 [info] Application lager started on node nonode@nohost
  sync_command_test: sync_test_ (Assert sync exit)...ok
12:28:16.083 [error] CRASH REPORT Process <0.23639.0> with 0 neighbours exited with reason: {{already_started,<0.6427.0>},{exometer_core_app,start,[normal,[]]}} in application_master:init/4 line 133
12:28:16.083 [info] Application exometer_core exited with reason: {{already_started,<0.6427.0>},{exometer_core_app,start,[normal,[]]}}
12:28:16.087 [error] mock_vnode command failed core_breach
12:28:16.087 [error] gen_fsm <0.23648.0> in state active terminated with reason: core_breach
12:28:16.087 [error] CRASH REPORT Process <0.23648.0> with 0 neighbours exited with reason: core_breach in gen_fsm:terminate/7 line 622
12:28:16.088 [error] Supervisor riak_core_vnode_sup had child undefined started with {riak_core_vnode,start_link,undefined} at <0.23648.0> exit with reason core_breach in context child_terminated
12:28:16.392 [info] Application lager started on node nonode@nohost
  sync_command_test: sync_test_ (Assert non-blocking sync error)...ok
12:28:16.392 [error] CRASH REPORT Process <0.23684.0> with 0 neighbours exited with reason: {{already_started,<0.6427.0>},{exometer_core_app,start,[normal,[]]}} in application_master:init/4 line 133
12:28:16.392 [info] Application exometer_core exited with reason: {{already_started,<0.6427.0>},{exometer_core_app,start,[normal,[]]}}
12:28:16.397 [error] mock_vnode command failed {core_breach,[{mock_vnode,handle_command,3,[{file,"test/mock_vnode.erl"},{line,131}]},{riak_core_vnode,vnode_command,3,[{file,"src/riak_core_vnode.erl"},{line,346}]},{gen_fsm,handle_msg,7,[{file,"gen_fsm.erl"},{line,505}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,239}]}]}
12:28:16.397 [error] gen_fsm <0.23693.0> in state active terminated with reason: core_breach in mock_vnode:handle_command/3 line 131
12:28:16.397 [error] CRASH REPORT Process <0.23693.0> with 0 neighbours exited with reason: core_breach in mock_vnode:handle_command/3 line 131 in gen_fsm:terminate/7 line 622
12:28:16.397 [error] Supervisor riak_core_vnode_sup had child undefined started with {riak_core_vnode,start_link,undefined} at <0.23693.0> exit with reason core_breach in mock_vnode:handle_command/3 line 131 in context child_terminated
12:28:16.474 [info] Application lager started on node nonode@nohost
  sync_command_test: sync_test_ (Assert non-blocking sync exit)...ok
12:28:16.474 [error] CRASH REPORT Process <0.23730.0> with 0 neighbours exited with reason: {{already_started,<0.6427.0>},{exometer_core_app,start,[normal,[]]}} in application_master:init/4 line 133
12:28:16.475 [info] Application exometer_core exited with reason: {{already_started,<0.6427.0>},{exometer_core_app,start,[normal,[]]}}
12:28:16.479 [error] mock_vnode command failed core_breach
12:28:16.479 [error] gen_fsm <0.23739.0> in state active terminated with reason: core_breach
12:28:16.479 [error] CRASH REPORT Process <0.23739.0> with 0 neighbours exited with reason: core_breach in gen_fsm:terminate/7 line 622
12:28:16.479 [error] Supervisor riak_core_vnode_sup had child undefined started with {riak_core_vnode,start_link,undefined} at <0.23739.0> exit with reason core_breach in context child_terminated
  [done in 0.702 s]
module 'riak_core_ssl_util'
module 'riak_core_handoff_receiver'
module 'riak_core_ring_handler'
module 'test_guarded_event_handler'
  test_guarded_event_handler: guarded_handler_test_...[0.101 s] ok
  [done in 0.104 s]
module 'riak_core_vnode_worker'
module 'riak_core_handoff_manager'
  riak_core_handoff_manager:674: handoff_test_...ok
  riak_core_handoff_manager:675: handoff_test_...ok
  [done in 0.006 s]
module 'riak_core_dtrace'
  riak_core_dtrace: timeit_naive_test...timeit_naive                 average     1.396 usec/call over     500.0 calls
[0.014 s] ok
  riak_core_dtrace: timeit_mochiglobal_test...timeit_mochiglobal           average     2.323 usec/call over  225000.0 calls
[0.537 s] ok
Skipping timeit_best_on test: no DTrace/SystemTap is available
  riak_core_dtrace: timeit_best_off_test...ok
  riak_core_dtrace: timeit_best_onfalse_test...Skipping timeit_best_on test: no DTrace/SystemTap is available
ok
  riak_core_dtrace: timeit_best_ontrue_test...Skipping timeit_best_on test: no DTrace/SystemTap is available
NOTE: cover analysis will skew results.  Run without cover for true timings.
ok
  riak_core_dtrace: last_test...ok
  [done in 0.569 s]
riak_core_format: human_time_fmt_test (module 'riak_core_format')...ok
module 'riak_core_metadata_exchange_fsm'
module 'worker_pool_test'
  worker_pool_test: pool_test_...[1.201 s] ok
  worker_pool_test: pool_test_...[1.201 s] ok
  [done in 2.408 s]
module 'riak_core_vnode_master'
module 'riak_core_cluster_cli'
module 'riak_core_metadata_manager'
module 'claim_simulation'
module 'riak_core_claim'
  riak_core_claim: wants_claim_test...[0.005 s] ok
  riak_core_claim: find_biggest_hole_test...ok
  riak_core_claim: prop_claim_ensures_unique_nodes_v2_test_.......................................................................................................
OK, passed 100 tests
[2.300 s] ok
  riak_core_claim: prop_claim_ensures_unique_nodes_v3_test_........
OK, passed 5 tests
[11.505 s] ok
  riak_core_claim: wants_counts_test.......................................................................................................
OK, passed 100 tests
[0.009 s] ok
  riak_core_claim: wants_test.......................................................................................................
OK, passed 100 tests
[0.106 s] ok
  riak_core_claim: take_idxs_test.......................................................................................................
OK, passed 100 tests
[0.056 s] ok
  [done in 14.002 s]
module 'riak_core_info_service'
vclock_qc:21: eqc_test_ (module 'vclock_qc').......................................................................................................(x10)..........................................................................(x1)...
Time limit reached: 20.0 seconds.

OK, passed 843 tests

46.38% 0
24.57% 1
12.70% 2
8.04% 3
4.94% 4
3.38% 5

11.293% {vclock_qc,fresh,0}
10.934% {vclock_qc,timestamp,0}
9.885% {vclock_qc,dominates,2}
9.822% {vclock_qc,descends,2}
9.754% {vclock_qc,increment,2}
9.742% {vclock_qc,get_dot,2}
9.733% {vclock_qc,get_counter,2}
9.667% {vclock_qc,descends_dot,3}
9.595% {vclock_qc,merge,1}
9.576% {vclock_qc,get_timestamp,2}

44.4% {num_vclocks_div_10,0}
20.0% {num_vclocks_div_10,1}
11.6% {num_vclocks_div_10,2}
7.9% {num_vclocks_div_10,3}
5.1% {num_vclocks_div_10,4}
3.3% {num_vclocks_div_10,6}
3.0% {num_vclocks_div_10,5}
1.4% {num_vclocks_div_10,7}
0.9% {num_vclocks_div_10,9}
0.8% {num_vclocks_div_10,8}
0.5% {num_vclocks_div_10,10}
0.2% {num_vclocks_div_10,17}
0.2% {num_vclocks_div_10,12}
0.1% {num_vclocks_div_10,15}
0.1% {num_vclocks_div_10,14}
0.1% {num_vclocks_div_10,13}
0.1% {num_vclocks_div_10,11}
[20.070 s] ok
module 'riak_core_send_msg'
riak_core_bucket: simple_set_test (module 'riak_core_bucket')...[0.004 s] ok
module 'riak_core_handoff_sender_sup'
module 'riak_core_coverage_plan'
module 'riak_core_eventhandler_sup'
module 'riak_core_repair'
module 'bucket_eqc_utils'
module 'vclock'
  vclock: example_test...ok
  vclock: prune_small_test...ok
  vclock: prune_young_test...ok
  vclock: prune_big_test...ok
  vclock: prune_old_test...ok
  vclock: prune_order_test...ok
  vclock: accessor_test...ok
  vclock: merge_test...ok
  vclock: merge_less_left_test...ok
  vclock: merge_less_right_test...ok
  vclock: merge_same_id_test...ok
  vclock: get_entry_test...ok
  vclock: valid_entry_test...ok
  [done in 0.039 s]
module 'riak_core_ring_manager'
  riak_core_ring_manager: back_test...ok
  riak_core_ring_manager: prune_list_test...ok
  riak_core_ring_manager: set_ring_global_test...[0.008 s] ok
  riak_core_ring_manager: set_my_ring_test...[0.007 s] ok
  riak_core_ring_manager: refresh_my_ring_test...ok
  riak_core_ring_manager: do_write_ringfile_test...[0.033 s] ok
  riak_core_ring_manager: is_stable_ring_test...ok
  [done in 0.069 s]
module 'riak_core_handoff_sup'
module 'riak_core_capability'
  riak_core_capability_tests: basic_test (module 'riak_core_capability_tests')...ok
  [done in 0.003 s]
module 'riak_core_handoff_cli'
module 'riak_core_broadcast_handler'
module 'mock_vnode'
module 'bloom'
  bloom: fixed_case_test_...[1.101 s] ok
  bloom: bloom_test...[0.622 s] ok
  [done in 1.729 s]
module 'riak_core_vnode_sup'
module 'process_proxy'
module 'riak_core_dist_mon'
module 'riak_core_bucket_type'
module 'riak_core_gossip'
module 'app_helper'
  app_helper: app_helper_test_...ok
  app_helper: app_helper_test_...ok
  app_helper: app_helper_test_...ok
  app_helper: app_helper_test_...ok
  app_helper: app_helper_test_...ok
  app_helper: app_helper_test_...ok
  [done in 0.018 s]
module 'bg_manager_tests'
  bg_manager_tests: bg_mgr_test_ (set/get token rates + verify rates)...[0.001 s] ok
  bg_manager_tests: bg_mgr_test_ (crash token manager + verify rates persist)...[0.303 s] ok
  bg_manager_tests: bg_mgr_test_ (lock/token separation)...ok
  bg_manager_tests: bg_mgr_test_ (failing crash/revive EQC test case)...[0.303 s] ok
  bg_manager_tests: bg_mgr_test_ (bypass API)...ok
  [done in 0.622 s]
module 'riak_core_schema_tests'
  riak_core_schema_tests: basic_schema_test...[0.070 s] ok
  riak_core_schema_tests: invalid_states_test...[0.030 s] ok
  riak_core_schema_tests: default_bucket_properties_test...[0.030 s] ok
  riak_core_schema_tests: override_schema_test...[0.032 s] ok
  [done in 0.174 s]
=======================================================
  All 429 tests passed.
Cover analysis: /tmp/thumbs/develop.146de1b.dr-th_service-poc.d5b130d/.eunit/index.html

=INFO REPORT==== 15-Feb-2017::12:29:39 ===
    application: ssl
    exited: stopped
    type: temporary

=INFO REPORT==== 15-Feb-2017::12:29:39 ===
    application: inets
    exited: killed
    type: temporary





✅ MAKE_XREF

Started at: 2017-02-15 12:29
Duration: 5 seconds.
Result: OK
Message: OK
Exit Code: 0

📄


cd /tmp/thumbs/develop.146de1b.dr-th_service-poc.d5b130d; make xref




  ./rebar get-deps
==> goldrush (get-deps)
==> lager (get-deps)
==> poolboy (get-deps)
==> basho_stats (get-deps)
==> getopt (get-deps)
==> neotoma (get-deps)
==> cuttlefish (get-deps)
==> riak_sysmon (get-deps)
==> eleveldb (get-deps)
==> riak_ensemble (get-deps)
==> pbkdf2 (get-deps)
==> edown (get-deps)
==> parse_trans (get-deps)
==> bear (get-deps)
==> meck (get-deps)
==> folsom (get-deps)
==> setup (get-deps)
==> src (get-deps)
==> exometer_core (get-deps)
==> clique (get-deps)
==> develop.146de1b.dr-th_service-poc.d5b130d (get-deps)
./rebar compile
==> goldrush (compile)
==> lager (compile)
==> poolboy (compile)
==> basho_stats (compile)
==> getopt (compile)
==> neotoma (compile)
==> cuttlefish (compile)
==> getopt (escriptize)
==> goldrush (escriptize)
==> lager (escriptize)
==> neotoma (escriptize)
==> cuttlefish (escriptize)
==> riak_sysmon (compile)
==> eleveldb (compile)
make[1]: Entering directory `/tmp/thumbs/develop.146de1b.dr-th_service-poc.d5b130d/deps/eleveldb/c_src/leveldb'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/tmp/thumbs/develop.146de1b.dr-th_service-poc.d5b130d/deps/eleveldb/c_src/leveldb'
make[1]: Entering directory `/tmp/thumbs/develop.146de1b.dr-th_service-poc.d5b130d/deps/eleveldb/c_src/leveldb'
make[1]: Nothing to be done for `tools'.
make[1]: Leaving directory `/tmp/thumbs/develop.146de1b.dr-th_service-poc.d5b130d/deps/eleveldb/c_src/leveldb'
==> riak_ensemble (compile)
==> pbkdf2 (compile)
==> edown (compile)
==> parse_trans (compile)
==> bear (compile)
==> meck (compile)
==> folsom (compile)
==> setup (compile)
==> edown (escriptize)
==> setup (escriptize)
==> src (compile)
==> exometer_core (compile)
==> clique (compile)
==> develop.146de1b.dr-th_service-poc.d5b130d (compile)
./rebar xref skip_deps=true
WARN:  Ignoring sub_dirs for /tmp/thumbs/develop.146de1b.dr-th_service-poc.d5b130d/deps/exometer_core
==> develop.146de1b.dr-th_service-poc.d5b130d (xref)





✅ MAKE_DIALYZER

Started at: 2017-02-15 12:29
Duration: 43 seconds.
Result: OK
Message: OK
Exit Code: 0

📄


cd /tmp/thumbs/develop.146de1b.dr-th_service-poc.d5b130d; make dialyzer




  
  
... Snipped 181 lines ...
ax:abstract/1
  erl_syntax:application/2
  erl_syntax:application/3
  erl_syntax:application_arguments/1
  erl_syntax:arity_qualifier/2
  erl_syntax:arity_qualifier_argument/1
  erl_syntax:arity_qualifier_body/1
  erl_syntax:atom/1
  erl_syntax:atom_value/1
  erl_syntax:attribute/2
  erl_syntax:attribute_arguments/1
  erl_syntax:attribute_name/1
  erl_syntax:case_expr/2
  erl_syntax:catch_expr/1
  erl_syntax:clause/2
  erl_syntax:clause/3
  erl_syntax:clause_patterns/1
  erl_syntax:fun_expr_clauses/1
  erl_syntax:function/2
  erl_syntax:function_clauses/1
  erl_syntax:generator/2
  erl_syntax:generator_body/1
  erl_syntax:generator_pattern/1
  erl_syntax:get_pos/1
  erl_syntax:implicit_fun/2
  erl_syntax:implicit_fun_name/1
  erl_syntax:integer/1
  erl_syntax:integer_value/1
  erl_syntax:list/1
  erl_syntax:list_comp/2
  erl_syntax:list_comp_body/1
  erl_syntax:list_comp_template/1
  erl_syntax:list_elements/1
  erl_syntax:match_expr/2
  erl_syntax:revert/1
  erl_syntax:revert_forms/1
  erl_syntax:string/1
  erl_syntax:string_value/1
  erl_syntax:subtrees/1
  erl_syntax:tuple/1
  erl_syntax:tuple_elements/1
  erl_syntax:type/1
  erl_syntax:underscore/0
  erl_syntax:update_tree/2
  erl_syntax:variable/1
  erl_syntax:variable_name/1
  erl_syntax_lib:analyze_application/1
  erl_syntax_lib:analyze_forms/1
  erl_syntax_lib:analyze_function/1
  erl_syntax_lib:map/2
  erl_syntax_lib:variables/1
  erlang:append_element/2
  erlang:atom_to_binary/2
  erlang:atom_to_list/1
  erlang:binary_to_atom/2
  erlang:binary_to_existing_atom/2
  erlang:binary_to_list/1
  erlang:binary_to_list/3
  erlang:binary_to_term/1
  erlang:bitstring_to_list/1
  erlang:bump_reductions/1
  erlang:cancel_timer/1
  erlang:crc32/1
  erlang:demonitor/1
  erlang:demonitor/2
  erlang:erase/1
  erlang:exit/2
  erlang:float_to_list/1
  erlang:float_to_list/2
  erlang:fun_info/2
  erlang:fun_to_list/1
  erlang:function_exported/3
  erlang:garbage_collect/0
  erlang:get/1
  erlang:get_module_info/1
  erlang:get_module_info/2
  erlang:get_stacktrace/0
  erlang:group_leader/0
  erlang:group_leader/2
  erlang:integer_to_list/1
  erlang:iolist_size/1
  erlang:iolist_to_binary/1
  erlang:is_alive/0
  erlang:is_builtin/3
  erlang:is_map/1
  erlang:is_process_alive/1
  erlang:link/1
  erlang:list_to_atom/1
  erlang:list_to_binary/1
  erlang:list_to_existing_atom/1
  erlang:list_to_float/1
  erlang:list_to_integer/1
  erlang:list_to_tuple/1
  erlang:load_nif/2
  erlang:localtime/0
  erlang:make_fun/3
  erlang:make_ref/0
  erlang:map_size/1
  erlang:max/2
  erlang:min/2
  erlang:monitor/2
  erlang:now/0
  erlang:phash2/1
  erlang:phash2/2
  erlang:pid_to_list/1
  erlang:port_info/1
  erlang:port_info/2
  erlang:port_to_list/1
  erlang:ports/0
  erlang:process_flag/2
  erlang:process_info/2
  erlang:processes/0
  erlang:put/2
  erlang:raise/3
  erlang:ref_to_list/1
  erlang:register/2
  erlang:registered/0
  erlang:send/2
  erlang:send/3
  erlang:send_after/3
  erlang:spawn_link/3
  erlang:spawn_monitor/1
  erlang:split_binary/2
  erlang:start_timer/3
  erlang:statistics/1
  erlang:system_monitor/0
  erlang:system_monitor/2
  erlang:term_to_binary/1
  erlang:trace_info/2
  erlang:trace_pattern/3
  erlang:universaltime/0
  erlang:unlink/1
  erlang:whereis/1
  error_logger:add_report_handler/1
  error_logger:delete_report_handler/1
  error_logger:error_msg/1
  error_logger:error_msg/2
  error_logger:format/2
  error_logger:info_msg/2
  error_logger:info_report/1
  error_logger:warning_msg/1
  escript:script_name/0
  ets:all/0
  ets:delete/1
  ets:delete/2
  ets:delete_all_objects/1
  ets:delete_object/2
  ets:first/1
  ets:foldl/3
  ets:give_away/3
  ets:info/1
  ets:info/2
  ets:insert/2
  ets:insert_new/2
  ets:last/1
  ets:lookup/2
  ets:lookup_element/3
  ets:match/2
  ets:match_spec_compile/1
  ets:match_spec_run/2
  ets:member/2
  ets:new/2
  ets:next/2
  ets:prev/2
  ets:select/1
  ets:select/2
  ets:select/3
  ets:select_count/2
  ets:select_delete/2
  ets:select_reverse/3
  ets:setopts/2
  ets:tab2list/1
  ets:update_counter/3
  ets:update_element/3
  eunit:test/1
  file:close/1
  file:consult/1
  file:datasync/1
  file:delete/1
  file:format_error/1
  file:get_cwd/0
  file:list_dir/1
  file:make_dir/1
  file:open/2
  file:read/2
  file:read_file/1
  file:read_file_info/1
  file:rename/2
  file:script/1
  file:script/2
  file:set_cwd/1
  file:sync/1
  file:write/2
  file:write_file/2
  filelib:ensure_dir/1
  filelib:is_dir/1
  filelib:is_file/1
  filelib:is_regular/1
  filelib:wildcard/1
  filelib:wildcard/2
  filename:absname/1
  filename:append/2
  filename:basename/1
  filename:basename/2
  filename:dirname/1
  filename:extension/1
  filename:join/1
  filename:join/2
  filename:split/1
  gb_trees:empty/0
  gb_trees:enter/3
  gb_trees:from_orddict/1
  gb_trees:get/2
  gb_trees:iterator/1
  gb_trees:lookup/2
  gb_trees:next/1
  gb_trees:size/1
  gen_event:add_sup_handler/3
  gen_event:call/3
  gen_event:call/4
  gen_event:delete_handler/3
  gen_event:notify/2
  gen_event:sync_notify/2
  gen_event:which_handlers/1
  gen_fsm:cancel_timer/1
  gen_fsm:reply/2
  gen_fsm:send_all_state_event/2
  gen_fsm:send_event/2
  gen_fsm:send_event_after/2
  gen_fsm:start/3
  gen_fsm:start_link/3
  gen_fsm:sync_send_all_state_event/2
  gen_fsm:sync_send_all_state_event/3
  gen_fsm:sync_send_event/2
  gen_fsm:sync_send_event/3
  gen_server:call/2
  gen_server:call/3
  gen_server:cast/2
  gen_server:reply/2
  gen_server:start/3
  gen_server:start/4
  gen_server:start_link/3
  gen_server:start_link/4
  hamcrest:assert_that/2
  hamcrest:is_matcher/1
  igor:parse_transform/2
  inet:getopts/2
  inet:getstat/1
  inet:parse_address/1
  inet:peername/1
  inet:sockname/1
  init:archive_extension/0
  init:get_argument/1
  init:script_id/0
  init:stop/1
  io:columns/0
  io:format/1
  io:format/2
  io:format/3
  io:fwrite/1
  io:fwrite/2
  io:fwrite/3
  io:put_chars/1
  io:put_chars/2
  io_lib:deep_char_list/1
  io_lib:format/2
  io_lib:fwrite/2
  io_lib:printable_list/1
  io_lib:write/1
  io_lib:write/2
  io_lib:write_atom/1
  io_lib_format:fwrite_g/1
  io_lib_pretty:print/6
  lager_default_tracer:info/1
  lib:format_exception/6
  lists:append/1
  lists:concat/1
  lists:duplicate/2
  lists:flatlength/1
  lists:keystore/4
  lists:keytake/3
  lists:prefix/2
  lists:seq/2
  lists:sublist/2
  lists:sublist/3
  lists:sum/1
  lists:ukeymerge/3
  lists:ukeysort/2
  maps:to_list/1
  math:cos/1
  math:exp/1
  math:log/1
  math:log10/1
  math:pi/0
  math:pow/2
  math:sqrt/1
  memsup:get_system_memory_data/0
  mochijson2:encode/1
  mustache:render/2
  net_adm:ping/1
  orddict:append/3
  orddict:append_list/3
  orddict:erase/2
  orddict:fetch_keys/1
  orddict:find/2
  orddict:fold/3
  orddict:merge/3
  orddict:new/0
  orddict:store/3
  orddict:update/4
  orddict:update_counter/3
  ordsets:add_element/2
  ordsets:del_element/2
  ordsets:from_list/1
  ordsets:intersection/2
  ordsets:is_element/2
  ordsets:new/0
  ordsets:subtract/2
  ordsets:union/2
  os:cmd/1
  os:getenv/1
  os:timestamp/0
  os:type/0
  prim_inet:getstatus/1
  prim_inet:gettype/1
  proc_lib:init_ack/2
  proc_lib:spawn/1
  proc_lib:start_link/3
  proplists:delete/2
  proplists:get_all_values/2
  proplists:get_bool/2
  proplists:get_keys/1
  proplists:get_value/2
  proplists:get_value/3
  proplists:is_defined/2
  proplists:lookup/2
  queue:filter/2
  queue:in/2
  queue:is_empty/1
  queue:len/1
  queue:member/2
  queue:new/0
  queue:out/1
  queue:to_list/1
  random:seed/0
  random:seed/1
  random:seed/3
  random:seed0/0
  random:uniform/0
  random:uniform/1
  random:uniform_s/2
  re:compile/1
  re:compile/2
  re:replace/4
  re:run/2
  re:run/3
  re:split/3
  rebar_config:get_local/3
  rebar_mustache:render/2
  rebar_rel_utils:get_target_dir/2
  rebar_rel_utils:is_rel_dir/0
  rebar_rel_utils:load_config/2
  release_handler:eval_appup_script/4
  rpc:call/4
  rpc:eval_everywhere/3
  rpc:multicall/3
  rpc:multicall/4
  rpc:multicall/5
  sets:add_element/2
  sets:del_element/2
  sets:from_list/1
  sets:is_element/2
  sets:new/0
  sets:size/1
  sets:to_list/1
  string:centre/2
  string:chr/2
  string:cspan/2
  string:join/2
  string:left/2
  string:left/3
  string:rchr/2
  string:right/2
  string:str/2
  string:strip/1
  string:strip/2
  string:sub_string/2
  string:sub_string/3
  string:substr/2
  string:substr/3
  string:to_lower/1
  string:tokens/2
  supervisor:delete_child/2
  supervisor:start_child/2
  supervisor:start_link/2
  supervisor:start_link/3
  supervisor:terminate_child/2
  supervisor:which_children/1
  sys:get_debug/3
  sys:handle_system_msg/6
  systools:make_script/2
  timer:apply_interval/4
  timer:cancel/1
  timer:now_diff/2
  timer:seconds/1
  timer:send_interval/2
  timer:sleep/1
  timer:tc/1
  timer:tc/2
  timer:tc/3
  unicode:characters_to_binary/1
  unicode:characters_to_binary/3
  unicode:characters_to_list/1
  unicode:characters_to_list/2
  xmerl:export_simple/2
  xmerl_html:'#element#'/5
  xmerl_lib:end_tag/1
  xmerl_lib:expand_element/1
  xmerl_lib:find_attribute/2
  xmerl_lib:mapxml/2
  xmerl_lib:start_tag/2
Unknown types:
  calendar:datetime/0
  erl_syntax:syntaxTree/0
  erlang:timestamp/0
  ets:comp_match_spec/0
  ets:match_spec/0
  ets:tab/0
  ets:tid/0
  file:date_time/0
  file:fd/0
  file:filename/0
  file:io_device/0
  file:name/0
  file:name_all/0
  file:posix/0
  hamcrest:matchspec/0
  meck_history:history_record/0
  orddict:orddict/0
  proplists:property/0
  proplists:proplist/0
  re:mp/0
  supervisor:child_spec/0
  timer:tref/0
  unicode:charlist/0
 done in 0m6.04s
done (passed successfully)
==> develop.146de1b.dr-th_service-poc.d5b130d (dialyzer)
  Checking whether the PLT /home/ubuntu/.combo_dialyzer_plt is up-to-date... yes
  Checking whether the PLT .local_dialyzer_plt is up-to-date... yes
  Compiling some key modules to native code... done in 0m9.28s
  Proceeding with analysis...
Unknown functions:
  cluster_info:format/3
  cluster_info:register_app/1
 done in 0m5.94s
done (passed successfully)





⬜ 0 of 2 Code reviews from organization basho

The name "source" was a bit confusing, so it has been renamed
"provider" (as a binding name) or "service_provider" (as a record
field).

Also corrected the 3rd element of the invocation tuple: it's not a list
of terms, it's just a term (which, of course, can be a list).
@thumbot
Copy link

thumbot commented Feb 28, 2017

dr-th/service-poc 39d28e4 ➡️ develop f79eb14 ⛔ completed
There seems to be an issue with build step **make_test** ! ☁️
✅ MERGE

Started at: 2017-02-28 01:43
Duration: 1 seconds.
Result: OK
Message: Merge Success: dr-th/service-poc 39d28e4 onto target branch: develop f79eb14
Exit Code: OK

📄







  Merge made by the 'recursive' strategy.
 src/riak_core_app.erl                  |  12 +++
 src/riak_core_info_service.erl         | 178 +++++++++++++++++++++++++++++++++
 src/riak_core_info_service_process.erl | 168 +++++++++++++++++++++++++++++++
 src/riak_core_info_service_sup.erl     |  50 +++++++++
 src/riak_core_sup.erl                  |   1 +
 src/riak_core_throttle.erl             |   2 +-
 6 files changed, 410 insertions(+), 1 deletion(-)
 create mode 100644 src/riak_core_info_service.erl
 create mode 100644 src/riak_core_info_service_process.erl
 create mode 100644 src/riak_core_info_service_sup.erl




✅ MAKE_CLEAN

Started at: 2017-02-28 01:43
Duration: 1 seconds.
Result: OK
Message: OK
Exit Code: 0

📄


cd /tmp/thumbs/develop.f79eb14.dr-th_service-poc.39d28e4; make clean




  ./rebar clean
==> develop.f79eb14.dr-th_service-poc.39d28e4 (clean)





✅ MAKE_DEPS

Started at: 2017-02-28 01:43
Duration: 12 seconds.
Result: OK
Message: OK
Exit Code: 0

📄


cd /tmp/thumbs/develop.f79eb14.dr-th_service-poc.39d28e4; make deps




  ./rebar get-deps
==> develop.f79eb14.dr-th_service-poc.39d28e4 (get-deps)
Pulling lager from {git,"git://github.com/basho/lager.git",{tag,"3.2.4"}}
Cloning into 'lager'...
Pulling poolboy from {git,"git://github.com/basho/poolboy.git",
                          {tag,"0.8.1p3"}}
Cloning into 'poolboy'...
Pulling basho_stats from {git,"git://github.com/basho/basho_stats.git",
                              {tag,"1.0.3"}}
Cloning into 'basho_stats'...
Pulling riak_sysmon from {git,"git://github.com/basho/riak_sysmon.git",
                              {tag,"2.1.4"}}
Cloning into 'riak_sysmon'...
Pulling eleveldb from {git,"git://github.com/basho/eleveldb.git",
                           {tag,"2.0.32"}}
Cloning into 'eleveldb'...
Pulling riak_ensemble from {git,"git://github.com/basho/riak_ensemble",
                                {tag,"2.1.6"}}
Cloning into 'riak_ensemble'...
Pulling pbkdf2 from {git,"git://github.com/basho/erlang-pbkdf2.git",
                         {tag,"2.0.0"}}
Cloning into 'pbkdf2'...
Pulling exometer_core from {git,"git://github.com/basho/exometer_core.git",
                                {tag,"1.0.0-basho9"}}
Cloning into 'exometer_core'...
Pulling clique from {git,"https://github.com/basho/clique.git",{tag,"0.3.8"}}
Cloning into 'clique'...
==> lager (get-deps)
Pulling goldrush from {git,"https://github.com/basho/goldrush.git",
                           {tag,"0.1.9"}}
Cloning into 'goldrush'...
==> goldrush (get-deps)
==> poolboy (get-deps)
==> basho_stats (get-deps)
==> riak_sysmon (get-deps)
Pulling cuttlefish from {git,"https://github.com/basho/cuttlefish.git",
                             {tag,"2.0.10"}}
Cloning into 'cuttlefish'...
==> cuttlefish (get-deps)
Pulling getopt from {git,"https://github.com/basho/getopt.git",{tag,"v0.8.2"}}
Cloning into 'getopt'...
Pulling neotoma from {git,"https://github.com/basho/neotoma.git",
                          {tag,"1.7.3"}}
Cloning into 'neotoma'...
==> getopt (get-deps)
==> neotoma (get-deps)
==> eleveldb (get-deps)
Cloning into 'leveldb'...
Note: checking out '2.0.31'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b new_branch_name

HEAD is now at e6a2939... add (int) cast to fix compile errors on 10 of 16 platforms ... argh.
==> riak_ensemble (get-deps)
==> pbkdf2 (get-deps)
==> src (get-deps)
==> exometer_core (get-deps)
Pulling parse_trans from {git,"git://github.com/basho/parse_trans.git",
                              {tag,"2.9.2p1"}}
Cloning into 'parse_trans'...
Pulling folsom from {git,"git://github.com/basho/folsom.git",{tag,"0.7.4p5"}}
Cloning into 'folsom'...
Pulling setup from {git,"git://github.com/basho/setup.git",{tag,"1.4"}}
Cloning into 'setup'...
==> parse_trans (get-deps)
Pulling edown from {git,"git://github.com/basho/edown.git",{tag,"0.8.1"}}
Cloning into 'edown'...
==> edown (get-deps)
==> folsom (get-deps)
Pulling bear from {git,"git://github.com/basho/bear.git",{tag,"0.1.3p1"}}
Cloning into 'bear'...
Pulling meck from {git,"git://github.com/basho/meck.git",{tag,"0.8.2"}}
Cloning into 'meck'...
==> bear (get-deps)
==> meck (get-deps)
==> setup (get-deps)
==> clique (get-deps)





✅ MAKE_COMPILE

Started at: 2017-02-28 01:44
Duration: 33 seconds.
Result: OK
Message: OK
Exit Code: 0

📄


cd /tmp/thumbs/develop.f79eb14.dr-th_service-poc.39d28e4; make compile




  
  
... Snipped 636 lines ...
d -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY  -DLEVELDB_VSN="2.0.31" -O2 -g -DNDEBUG     -fPIC tools/perf_dump.cc -o perf_dump -L . -Wl,-non_shared -lleveldb -Wl,-call_shared -m64  -L/tmp/thumbs/develop.f79eb14.dr-th_service-poc.39d28e4/deps/eleveldb/c_src/system/lib -pthread -lrt -Wl,-non_shared -lsnappy -Wl,-call_shared
c++ -m64  -Wall -O3 -fPIC -I /tmp/thumbs/develop.f79eb14.dr-th_service-poc.39d28e4/deps/eleveldb/c_src/system/include -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY  -DLEVELDB_VSN="2.0.31" -O2 -g -DNDEBUG     -fPIC tools/sst_rewrite.cc -o sst_rewrite -L . -Wl,-non_shared -lleveldb -Wl,-call_shared -m64  -L/tmp/thumbs/develop.f79eb14.dr-th_service-poc.39d28e4/deps/eleveldb/c_src/system/lib -pthread -lrt -Wl,-non_shared -lsnappy -Wl,-call_shared
c++ -m64  -Wall -O3 -fPIC -I /tmp/thumbs/develop.f79eb14.dr-th_service-poc.39d28e4/deps/eleveldb/c_src/system/include -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY  -DLEVELDB_VSN="2.0.31" -O2 -g -DNDEBUG     -fPIC tools/sst_scan.cc -o sst_scan -L . -Wl,-non_shared -lleveldb -Wl,-call_shared -m64  -L/tmp/thumbs/develop.f79eb14.dr-th_service-poc.39d28e4/deps/eleveldb/c_src/system/lib -pthread -lrt -Wl,-non_shared -lsnappy -Wl,-call_shared
make[1]: Leaving directory `/tmp/thumbs/develop.f79eb14.dr-th_service-poc.39d28e4/deps/eleveldb/c_src/leveldb'
Compiled src/eleveldb_bump.erl
Compiled src/eleveldb.erl
Compiling c_src/eleveldb.cc
Compiling c_src/refobjects.cc
Compiling c_src/workitems.cc
==> riak_ensemble (compile)
Compiled src/riak_ensemble_backend.erl
Compiled src/riak_ensemble_sup.erl
Compiled src/synctree_orddict.erl
Compiled src/riak_ensemble_client.erl
Compiled src/riak_ensemble_router.erl
Compiled src/riak_ensemble_config.erl
Compiled src/riak_ensemble_router_sup.erl
Compiled src/synctree.erl
Compiled src/riak_ensemble_lease.erl
Compiled src/riak_ensemble_test.erl
Compiled src/synctree_leveldb.erl
Compiled src/riak_ensemble_manager.erl
Compiled src/riak_ensemble_root.erl
Compiled src/riak_ensemble_exchange.erl
Compiled src/riak_ensemble_save.erl
Compiled src/riak_ensemble_clock.erl
Compiled src/riak_ensemble_peer_worker.erl
Compiled src/riak_ensemble_basic_backend.erl
Compiled src/riak_ensemble_app.erl
Compiled src/riak_ensemble_state.erl
Compiled src/riak_ensemble_storage.erl
Compiled src/riak_ensemble_peer_tree.erl
Compiled src/riak_ensemble_peer_sup.erl
Compiled src/synctree_ets.erl
Compiled src/riak_ensemble_util.erl
Compiled src/riak_ensemble_msg.erl
Compiled src/riak_ensemble_peer.erl
Compiling c_src/riak_ensemble_clock.c
==> pbkdf2 (compile)
Compiled src/pbkdf2.erl
==> edown (compile)
Compiled src/edown_make.erl
Compiled src/edown_lib.erl
Compiled src/edown_doclet.erl
Compiled src/edown_xmerl.erl
Compiled src/edown_layout.erl
==> parse_trans (compile)
Compiled src/parse_trans.erl
Compiled src/parse_trans_pp.erl
Compiled src/parse_trans_codegen.erl
Compiled src/parse_trans_mod.erl
Compiled src/ct_expand.erl
Compiled src/exprecs.erl
==> bear (compile)
Compiled src/bear.erl
==> meck (compile)
Compiled src/meck_cover.erl
Compiled src/meck_expect.erl
Compiled src/meck_matcher.erl
Compiled src/meck_args_matcher.erl
Compiled src/meck_history.erl
Compiled src/meck.erl
Compiled src/meck_code_gen.erl
Compiled src/meck_util.erl
Compiled src/meck_code.erl
Compiled src/meck_ret_spec.erl
Compiled src/meck_proc.erl
==> folsom (compile)
Compiled src/folsom_sample_slide_sup.erl
Compiled src/folsom_metrics_histogram.erl
Compiled src/folsom_sample_slide.erl
Compiled src/folsom_ewma.erl
Compiled src/folsom_sample_none.erl
Compiled src/folsom_sample_exdec.erl
Compiled src/folsom_metrics_duration.erl
Compiled src/folsom_metrics_histogram_ets.erl
Compiled src/folsom.erl
Compiled src/folsom_sample.erl
Compiled src/folsom_metrics_meter_reader.erl
Compiled src/folsom_metrics.erl
Compiled src/folsom_vm_metrics.erl
Compiled src/folsom_sample_slide_uniform.erl
Compiled src/folsom_metrics_counter.erl
Compiled src/folsom_metrics_spiral.erl
Compiled src/folsom_meter_timer_server.erl
Compiled src/folsom_metrics_history.erl
Compiled src/folsom_sup.erl
Compiled src/folsom_sample_slide_server.erl
Compiled src/folsom_ets.erl
Compiled src/folsom_utils.erl
Compiled src/folsom_metrics_gauge.erl
Compiled src/folsom_metrics_meter.erl
Compiled src/folsom_sample_uniform.erl
==> setup (compile)
Compiled src/setup_lib.erl
Compiled src/setup_gen.erl
Compiled src/setup.erl
==> edown (escriptize)
==> setup (escriptize)
==> src (compile)
==> exometer_core (compile)
Compiled src/exometer_igor.erl
Compiled src/exometer_util.erl
Compiled src/exometer_entry.erl
Compiled src/exometer_probe.erl
Compiled src/exometer_report.erl
Compiled src/exometer_folsom_monitor.erl
Compiled src/exometer_folsom.erl
Compiled src/exometer_report_lager.erl
Compiled src/exometer_duration.erl
Compiled src/exometer_function.erl
Compiled src/exometer_core_sup.erl
Compiled src/exometer_slide.erl
Compiled src/exometer_slot_slide.erl
Compiled src/exometer_report_tty.erl
Compiled src/exometer_proc.erl
Compiled src/exo_montest.erl
Compiled src/exometer_cache.erl
Compiled src/exometer_spiral.erl
Compiled src/exometer_cpu.erl
Compiled src/exometer_alias.erl
Compiled src/exometer_admin.erl
Compiled src/exometer_shallowtree.erl
Compiled src/exometer_uniform.erl
Compiled src/exometer.erl
Compiled src/exometer_core_app.erl
Compiled src/exometer_info.erl
Compiled src/exometer_histogram.erl
==> clique (compile)
Compiled src/clique_writer.erl
Compiled src/clique_handler.erl
Compiled src/clique_test_group_leader.erl
Compiled src/clique_table.erl
Compiled src/clique_json_writer.erl
Compiled src/clique_config.erl
Compiled src/clique.erl
Compiled src/clique_typecast.erl
Compiled src/clique_human_writer.erl
Compiled src/clique_status.erl
Compiled src/clique_usage.erl
Compiled src/clique_error.erl
Compiled src/clique_manager.erl
Compiled src/clique_app.erl
Compiled src/clique_nodes.erl
Compiled src/clique_sup.erl
Compiled src/clique_csv_writer.erl
Compiled src/clique_command.erl
Compiled src/clique_parser.erl
Compiled src/clique_spec.erl
==> develop.f79eb14.dr-th_service-poc.39d28e4 (compile)
Compiled src/gen_nb_server.erl
Compiled src/riak_core_gen_server.erl
Compiled src/riak_core_stat_xform.erl
Compiled src/riak_core_broadcast_handler.erl
Compiled src/riak_core_vnode_worker_pool.erl
Compiled src/chash.erl
Compiled src/riak_core_format.erl
Compiled src/riak_core_broadcast.erl
Compiled src/riak_core_ring_manager.erl
Compiled src/riak_core_dist_mon.erl
Compiled src/riak_core_handoff_sender_sup.erl
Compiled src/chashbin.erl
Compiled src/riak_core_vnode_proxy.erl
Compiled src/riak_core_status.erl
Compiled src/riak_core_repair.erl
Compiled src/riak_core_metadata_exchange_fsm.erl
Compiled src/riak_core_claim_sim.erl
Compiled src/riak_core_mochiglobal.erl
Compiled src/dvvset.erl
Compiled src/riak_core_vnode_manager.erl
Compiled src/riak_core_bucket.erl
Compiled src/vclock.erl
Compiled src/riak_core_node_watcher.erl
Compiled src/riak_core_bg_manager.erl
Compiled src/riak_core_dtrace.erl
Compiled src/riak_core_tracer.erl
Compiled src/riak_core_vnode_sup.erl
Compiled src/riak_core_test_util.erl
Compiled src/riak_core_sup.erl
Compiled src/riak_core_handoff_sup.erl
Compiled src/riak_core_nodeid.erl
Compiled src/riak_core_vnode_proxy_sup.erl
Compiled src/riak_core_stat.erl
Compiled src/hashtree.erl
Compiled src/riak_core_handoff_listener.erl
Compiled src/riak_core_tcp_mon.erl
Compiled src/riak_core_cli_registry.erl
Compiled src/riak_core_stat_calc_sup.erl
Compiled src/riak_core_app.erl
Compiled src/riak_core_util.erl
Compiled src/riak_core_ring_util.erl
Compiled src/riak_core_console_table.erl
Compiled src/riak_core_cinfo_core.erl
Compiled src/supervisor_pre_r14b04.erl
Compiled src/riak_core_cluster_cli.erl
Compiled src/riak_core_net_ticktime.erl
Compiled src/riak_core_coverage_plan.erl
Compiled src/riak_core_send_msg.erl
Compiled src/riak_core_ring.erl
Compiled src/riak_core_throttle.erl
Compiled src/riak_core_metadata.erl
Compiled src/riak_core_stat_q.erl
Compiled src/hashtree_tree.erl
Compiled src/riak_core_table_owner.erl
Compiled src/riak_core_vnode_master.erl
Compiled src/process_proxy.erl
Compiled src/riak_core_ring_handler.erl
Compiled src/riak_core_exo_monitor.erl
Compiled src/riak_core_claim_util.erl
Compiled src/riak_core_stat_calc_proc.erl
Compiled src/riak_core_eventhandler_sup.erl
Compiled src/riak_core_metadata_object.erl
Compiled src/riak_core_handoff_listener_sup.erl
Compiled src/riak_core_sysmon_minder.erl
Compiled src/riak_core_pw_auth.erl
Compiled src/app_helper.erl
Compiled src/riak_core_stat_sup.erl
Compiled src/riak_core_node_watcher_events.erl
Compiled src/riak_core_sysmon_handler.erl
Compiled src/riak_core_handoff_cli.erl
Compiled src/riak_core_console.erl
Compiled src/riak_core_metadata_manager.erl
Compiled src/riak_core_bucket_props.erl
Compiled src/riak_core_vnode_worker.erl
Compiled src/riak_core_info_service_sup.erl
Compiled src/riak_core_metadata_hashtree.erl
Compiled src/bloom.erl
Compiled src/riak_core_handoff_status.erl
Compiled src/riak_core_handoff_sender.erl
Compiled src/riak_core_ring_events.erl
Compiled src/riak_core_gossip.erl
Compiled src/riak_core_coverage_fsm.erl
Compiled src/riak_core_claimant.erl
Compiled src/riak_core_ssl_util.erl
Compiled src/riak_core_stats_sup.erl
Compiled src/riak_core_bucket_type.erl
Compiled src/riak_core_handoff_receiver.erl
Compiled src/riak_core_handoff_receiver_sup.erl
Compiled src/riak_core_security.erl
Compiled src/riak_core_info_service.erl
Compiled src/riak_core_claim.erl
Compiled src/riak_core_new_claim.erl
Compiled src/riak_core_stat_cache.erl
Compiled src/riak_core_handoff_manager.erl
Compiled src/riak_core.erl
Compiled src/riak_core_apl.erl
Compiled src/riak_core_vnode.erl
Compiled src/riak_core_priority_queue.erl
Compiled src/riak_core_eventhandler_guard.erl
Compiled src/riak_core_base64url.erl
Compiled src/riak_core_info_service_process.erl
Compiled src/riak_core_capability.erl





⛔ MAKE_TEST

Started at: 2017-02-28 01:44
Duration: 580 seconds.
Result: ERROR
Message: Step make_test Failed!
Exit Code: 2

📄


cd /tmp/thumbs/develop.f79eb14.dr-th_service-poc.39d28e4; make test




  
  
... Snipped 1269 lines ...
}}
ok
01:53:05.509 [error] mock_vnode command failed core_breach
01:53:05.509 [error] gen_fsm <0.25322.0> in state active terminated with reason: core_breach
01:53:05.509 [error] CRASH REPORT Process <0.25322.0> with 0 neighbours exited with reason: core_breach in gen_fsm:terminate/7 line 622
01:53:05.509 [error] Supervisor riak_core_vnode_sup had child undefined started with {riak_core_vnode,start_link,undefined} at <0.25322.0> exit with reason core_breach in context child_terminated
01:53:05.564 [info] Application lager started on node nonode@nohost
  sync_command_test: sync_test_ (Assert non-blocking sync error)...01:53:05.564 [error] CRASH REPORT Process <0.25358.0> with 0 neighbours exited with reason: {{already_started,<0.6805.0>},{exometer_core_app,start,[normal,[]]}} in application_master:init/4 line 133
01:53:05.564 [info] Application exometer_core exited with reason: {{already_started,<0.6805.0>},{exometer_core_app,start,[normal,[]]}}
ok
01:53:05.568 [error] mock_vnode command failed {core_breach,[{mock_vnode,handle_command,3,[{file,"test/mock_vnode.erl"},{line,131}]},{riak_core_vnode,vnode_command,3,[{file,"src/riak_core_vnode.erl"},{line,346}]},{gen_fsm,handle_msg,7,[{file,"gen_fsm.erl"},{line,505}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,239}]}]}
01:53:05.568 [error] gen_fsm <0.25367.0> in state active terminated with reason: core_breach in mock_vnode:handle_command/3 line 131
01:53:05.568 [error] CRASH REPORT Process <0.25367.0> with 0 neighbours exited with reason: core_breach in mock_vnode:handle_command/3 line 131 in gen_fsm:terminate/7 line 622
01:53:05.568 [error] Supervisor riak_core_vnode_sup had child undefined started with {riak_core_vnode,start_link,undefined} at <0.25367.0> exit with reason core_breach in mock_vnode:handle_command/3 line 131 in context child_terminated
01:53:05.609 [info] Application lager started on node nonode@nohost
  sync_command_test: sync_test_ (Assert non-blocking sync exit)...01:53:05.609 [error] CRASH REPORT Process <0.25404.0> with 0 neighbours exited with reason: {{already_started,<0.6805.0>},{exometer_core_app,start,[normal,[]]}} in application_master:init/4 line 133
01:53:05.609 [info] Application exometer_core exited with reason: {{already_started,<0.6805.0>},{exometer_core_app,start,[normal,[]]}}
ok
01:53:05.613 [error] mock_vnode command failed core_breach
01:53:05.613 [error] gen_fsm <0.25413.0> in state active terminated with reason: core_breach
01:53:05.613 [error] CRASH REPORT Process <0.25413.0> with 0 neighbours exited with reason: core_breach in gen_fsm:terminate/7 line 622
01:53:05.613 [error] Supervisor riak_core_vnode_sup had child undefined started with {riak_core_vnode,start_link,undefined} at <0.25413.0> exit with reason core_breach in context child_terminated
  [done in 0.316 s]
module 'riak_core_ssl_util'
module 'riak_core_handoff_receiver'
module 'riak_core_ring_handler'
module 'test_guarded_event_handler'
  test_guarded_event_handler: guarded_handler_test_...[0.101 s] ok
  [done in 0.104 s]
module 'riak_core_vnode_worker'
module 'riak_core_handoff_manager'
  riak_core_handoff_manager:674: handoff_test_...[0.001 s] ok
  riak_core_handoff_manager:675: handoff_test_...ok
  [done in 0.007 s]
module 'riak_core_dtrace'
  riak_core_dtrace: timeit_naive_test...timeit_naive                 average     1.372 usec/call over     500.0 calls
[0.013 s] ok
  riak_core_dtrace: timeit_mochiglobal_test...timeit_mochiglobal           average     2.327 usec/call over  225000.0 calls
Skipping timeit_best_on test: no DTrace/SystemTap is available
[0.533 s] ok
  riak_core_dtrace: timeit_best_off_test...ok
  riak_core_dtrace: timeit_best_onfalse_test...Skipping timeit_best_on test: no DTrace/SystemTap is available
ok
  riak_core_dtrace: timeit_best_ontrue_test...Skipping timeit_best_on test: no DTrace/SystemTap is available
ok
  riak_core_dtrace: last_test...NOTE: cover analysis will skew results.  Run without cover for true timings.
ok
  [done in 0.564 s]
riak_core_format: human_time_fmt_test (module 'riak_core_format')...[0.001 s] ok
module 'riak_core_metadata_exchange_fsm'
module 'worker_pool_test'
  worker_pool_test: pool_test_...[1.201 s] ok
  worker_pool_test: pool_test_...[1.201 s] ok
  [done in 2.408 s]
module 'riak_core_vnode_master'
module 'riak_core_cluster_cli'
module 'riak_core_metadata_manager'
module 'claim_simulation'
module 'riak_core_claim'
  riak_core_claim: wants_claim_test...[0.004 s] ok
  riak_core_claim: find_biggest_hole_test...ok
  riak_core_claim: prop_claim_ensures_unique_nodes_v2_test_.......................................................................................................
OK, passed 100 tests
[2.592 s] ok
  riak_core_claim: prop_claim_ensures_unique_nodes_v3_test_........
OK, passed 5 tests
[8.321 s] ok
  riak_core_claim: wants_counts_test.......................................................................................................
OK, passed 100 tests
[0.008 s] ok
  riak_core_claim: wants_test.......................................................................................................
OK, passed 100 tests
[0.089 s] ok
  riak_core_claim: take_idxs_test.......................................................................................................
OK, passed 100 tests
[0.054 s] ok
  [done in 11.089 s]
riak_core_info_service: receive_ring_test (module 'riak_core_info_service')...Unknown msg: {'EXIT',<0.6767.0>,normal}
*failed*
in function riak_core_info_service:receive_ring_test/0 (src/riak_core_info_service.erl, line 141)
**throw:unexpected_msg


vclock_qc:21: eqc_test_ (module 'vclock_qc').......................................................................................................(x10)...............................................................(x1)....
Time limit reached: 20.0 seconds.

OK, passed 734 tests

46.06% 0
25.41% 1
13.03% 2
6.95% 3
5.05% 4
3.51% 5

10.977% {vclock_qc,timestamp,0}
10.972% {vclock_qc,fresh,0}
9.865% {vclock_qc,get_timestamp,2}
9.861% {vclock_qc,dominates,2}
9.788% {vclock_qc,get_dot,2}
9.756% {vclock_qc,descends,2}
9.749% {vclock_qc,descends_dot,3}
9.696% {vclock_qc,increment,2}
9.685% {vclock_qc,merge,1}
9.651% {vclock_qc,get_counter,2}

41.3% {num_vclocks_div_10,0}
22.6% {num_vclocks_div_10,1}
11.9% {num_vclocks_div_10,2}
6.3% {num_vclocks_div_10,3}
5.9% {num_vclocks_div_10,4}
3.3% {num_vclocks_div_10,5}
2.3% {num_vclocks_div_10,6}
2.0% {num_vclocks_div_10,7}
1.2% {num_vclocks_div_10,9}
1.1% {num_vclocks_div_10,8}
0.4% {num_vclocks_div_10,13}
0.4% {num_vclocks_div_10,12}
0.4% {num_vclocks_div_10,10}
0.3% {num_vclocks_div_10,14}
0.1% {num_vclocks_div_10,18}
0.1% {num_vclocks_div_10,17}
0.1% {num_vclocks_div_10,16}
0.1% {num_vclocks_div_10,15}
0.1% {num_vclocks_div_10,11}
[20.037 s] ok
module 'riak_core_send_msg'
riak_core_bucket: simple_set_test (module 'riak_core_bucket')...[0.004 s] ok
module 'riak_core_handoff_sender_sup'
module 'riak_core_coverage_plan'
module 'riak_core_eventhandler_sup'
module 'riak_core_repair'
module 'bucket_eqc_utils'
module 'vclock'
  vclock: example_test...ok
  vclock: prune_small_test...ok
  vclock: prune_young_test...ok
  vclock: prune_big_test...ok
  vclock: prune_old_test...ok
  vclock: prune_order_test...ok
  vclock: accessor_test...ok
  vclock: merge_test...ok
  vclock: merge_less_left_test...ok
  vclock: merge_less_right_test...ok
  vclock: merge_same_id_test...ok
  vclock: get_entry_test...ok
  vclock: valid_entry_test...ok
  [done in 0.039 s]
module 'riak_core_ring_manager'
  riak_core_ring_manager: back_test...[0.001 s] ok
  riak_core_ring_manager: prune_list_test...ok
  riak_core_ring_manager: set_ring_global_test...[0.007 s] ok
  riak_core_ring_manager: set_my_ring_test...[0.007 s] ok
  riak_core_ring_manager: refresh_my_ring_test...ok
  riak_core_ring_manager: do_write_ringfile_test...[0.023 s] ok
  riak_core_ring_manager: is_stable_ring_test...ok
  [done in 0.059 s]
module 'riak_core_handoff_sup'
module 'riak_core_capability'
  riak_core_capability_tests: basic_test (module 'riak_core_capability_tests')...ok
  [done in 0.003 s]
module 'riak_core_handoff_cli'
module 'riak_core_broadcast_handler'
module 'mock_vnode'
module 'bloom'
  bloom: fixed_case_test_...[1.052 s] ok
  bloom: bloom_test...[0.627 s] ok
  [done in 1.685 s]
module 'riak_core_vnode_sup'
module 'process_proxy'
module 'riak_core_dist_mon'
module 'riak_core_bucket_type'
module 'riak_core_gossip'
module 'app_helper'
  app_helper: app_helper_test_...ok
  app_helper: app_helper_test_...ok
  app_helper: app_helper_test_...ok
  app_helper: app_helper_test_...ok
  app_helper: app_helper_test_...ok
  app_helper: app_helper_test_...ok
  [done in 0.018 s]
module 'bg_manager_tests'
  bg_manager_tests: bg_mgr_test_ (set/get token rates + verify rates)...[0.001 s] ok
  bg_manager_tests: bg_mgr_test_ (crash token manager + verify rates persist)...[0.303 s] ok
  bg_manager_tests: bg_mgr_test_ (lock/token separation)...ok
  bg_manager_tests: bg_mgr_test_ (failing crash/revive EQC test case)...[0.303 s] ok
  bg_manager_tests: bg_mgr_test_ (bypass API)...ok
  [done in 0.622 s]
module 'riak_core_schema_tests'
  riak_core_schema_tests: basic_schema_test...[0.074 s] ok
  riak_core_schema_tests: invalid_states_test...[0.030 s] ok
  riak_core_schema_tests: default_bucket_properties_test...[0.031 s] ok
  riak_core_schema_tests: override_schema_test...[0.030 s] ok
  [done in 0.177 s]
=======================================================
  Failed: 1.  Skipped: 0.  Passed: 433.
Cover analysis: /tmp/thumbs/develop.f79eb14.dr-th_service-poc.39d28e4/.eunit/index.html

=INFO REPORT==== 28-Feb-2017::01:54:24 ===
    application: ssl
    exited: stopped
    type: temporary

=INFO REPORT==== 28-Feb-2017::01:54:24 ===
    application: inets
    exited: killed
    type: temporary
ERROR: One or more eunit tests failed.
ERROR: eunit failed while processing /tmp/thumbs/develop.f79eb14.dr-th_service-poc.39d28e4: rebar_abort
make: *** [test] Error 1





✅ MAKE_XREF

Started at: 2017-02-28 01:54
Duration: 6 seconds.
Result: OK
Message: OK
Exit Code: 0

📄


cd /tmp/thumbs/develop.f79eb14.dr-th_service-poc.39d28e4; make xref




  ./rebar get-deps
==> goldrush (get-deps)
==> lager (get-deps)
==> poolboy (get-deps)
==> basho_stats (get-deps)
==> getopt (get-deps)
==> neotoma (get-deps)
==> cuttlefish (get-deps)
==> riak_sysmon (get-deps)
==> eleveldb (get-deps)
==> riak_ensemble (get-deps)
==> pbkdf2 (get-deps)
==> edown (get-deps)
==> parse_trans (get-deps)
==> bear (get-deps)
==> meck (get-deps)
==> folsom (get-deps)
==> setup (get-deps)
==> src (get-deps)
==> exometer_core (get-deps)
==> clique (get-deps)
==> develop.f79eb14.dr-th_service-poc.39d28e4 (get-deps)
./rebar compile
==> goldrush (compile)
==> lager (compile)
==> poolboy (compile)
==> basho_stats (compile)
==> getopt (compile)
==> neotoma (compile)
==> cuttlefish (compile)
==> getopt (escriptize)
==> goldrush (escriptize)
==> lager (escriptize)
==> neotoma (escriptize)
==> cuttlefish (escriptize)
==> riak_sysmon (compile)
==> eleveldb (compile)
make[1]: Entering directory `/tmp/thumbs/develop.f79eb14.dr-th_service-poc.39d28e4/deps/eleveldb/c_src/leveldb'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/tmp/thumbs/develop.f79eb14.dr-th_service-poc.39d28e4/deps/eleveldb/c_src/leveldb'
make[1]: Entering directory `/tmp/thumbs/develop.f79eb14.dr-th_service-poc.39d28e4/deps/eleveldb/c_src/leveldb'
make[1]: Nothing to be done for `tools'.
make[1]: Leaving directory `/tmp/thumbs/develop.f79eb14.dr-th_service-poc.39d28e4/deps/eleveldb/c_src/leveldb'
==> riak_ensemble (compile)
==> pbkdf2 (compile)
==> edown (compile)
==> parse_trans (compile)
==> bear (compile)
==> meck (compile)
==> folsom (compile)
==> setup (compile)
==> edown (escriptize)
==> setup (escriptize)
==> src (compile)
==> exometer_core (compile)
==> clique (compile)
==> develop.f79eb14.dr-th_service-poc.39d28e4 (compile)
Compiled src/riak_core_sup.erl
Compiled src/riak_core_app.erl
Compiled src/riak_core_throttle.erl
Compiled src/riak_core_info_service_sup.erl
Compiled src/riak_core_info_service.erl
Compiled src/riak_core_info_service_process.erl
./rebar xref skip_deps=true
WARN:  Ignoring sub_dirs for /tmp/thumbs/develop.f79eb14.dr-th_service-poc.39d28e4/deps/exometer_core
==> develop.f79eb14.dr-th_service-poc.39d28e4 (xref)





✅ MAKE_DIALYZER

Started at: 2017-02-28 01:54
Duration: 40 seconds.
Result: OK
Message: OK
Exit Code: 0

📄


cd /tmp/thumbs/develop.f79eb14.dr-th_service-poc.39d28e4; make dialyzer




  
  
... Snipped 181 lines ...
ax:abstract/1
  erl_syntax:application/2
  erl_syntax:application/3
  erl_syntax:application_arguments/1
  erl_syntax:arity_qualifier/2
  erl_syntax:arity_qualifier_argument/1
  erl_syntax:arity_qualifier_body/1
  erl_syntax:atom/1
  erl_syntax:atom_value/1
  erl_syntax:attribute/2
  erl_syntax:attribute_arguments/1
  erl_syntax:attribute_name/1
  erl_syntax:case_expr/2
  erl_syntax:catch_expr/1
  erl_syntax:clause/2
  erl_syntax:clause/3
  erl_syntax:clause_patterns/1
  erl_syntax:fun_expr_clauses/1
  erl_syntax:function/2
  erl_syntax:function_clauses/1
  erl_syntax:generator/2
  erl_syntax:generator_body/1
  erl_syntax:generator_pattern/1
  erl_syntax:get_pos/1
  erl_syntax:implicit_fun/2
  erl_syntax:implicit_fun_name/1
  erl_syntax:integer/1
  erl_syntax:integer_value/1
  erl_syntax:list/1
  erl_syntax:list_comp/2
  erl_syntax:list_comp_body/1
  erl_syntax:list_comp_template/1
  erl_syntax:list_elements/1
  erl_syntax:match_expr/2
  erl_syntax:revert/1
  erl_syntax:revert_forms/1
  erl_syntax:string/1
  erl_syntax:string_value/1
  erl_syntax:subtrees/1
  erl_syntax:tuple/1
  erl_syntax:tuple_elements/1
  erl_syntax:type/1
  erl_syntax:underscore/0
  erl_syntax:update_tree/2
  erl_syntax:variable/1
  erl_syntax:variable_name/1
  erl_syntax_lib:analyze_application/1
  erl_syntax_lib:analyze_forms/1
  erl_syntax_lib:analyze_function/1
  erl_syntax_lib:map/2
  erl_syntax_lib:variables/1
  erlang:append_element/2
  erlang:atom_to_binary/2
  erlang:atom_to_list/1
  erlang:binary_to_atom/2
  erlang:binary_to_existing_atom/2
  erlang:binary_to_list/1
  erlang:binary_to_list/3
  erlang:binary_to_term/1
  erlang:bitstring_to_list/1
  erlang:bump_reductions/1
  erlang:cancel_timer/1
  erlang:crc32/1
  erlang:demonitor/1
  erlang:demonitor/2
  erlang:erase/1
  erlang:exit/2
  erlang:float_to_list/1
  erlang:float_to_list/2
  erlang:fun_info/2
  erlang:fun_to_list/1
  erlang:function_exported/3
  erlang:garbage_collect/0
  erlang:get/1
  erlang:get_module_info/1
  erlang:get_module_info/2
  erlang:get_stacktrace/0
  erlang:group_leader/0
  erlang:group_leader/2
  erlang:integer_to_list/1
  erlang:iolist_size/1
  erlang:iolist_to_binary/1
  erlang:is_alive/0
  erlang:is_builtin/3
  erlang:is_map/1
  erlang:is_process_alive/1
  erlang:link/1
  erlang:list_to_atom/1
  erlang:list_to_binary/1
  erlang:list_to_existing_atom/1
  erlang:list_to_float/1
  erlang:list_to_integer/1
  erlang:list_to_tuple/1
  erlang:load_nif/2
  erlang:localtime/0
  erlang:make_fun/3
  erlang:make_ref/0
  erlang:map_size/1
  erlang:max/2
  erlang:min/2
  erlang:monitor/2
  erlang:now/0
  erlang:phash2/1
  erlang:phash2/2
  erlang:pid_to_list/1
  erlang:port_info/1
  erlang:port_info/2
  erlang:port_to_list/1
  erlang:ports/0
  erlang:process_flag/2
  erlang:process_info/2
  erlang:processes/0
  erlang:put/2
  erlang:raise/3
  erlang:ref_to_list/1
  erlang:register/2
  erlang:registered/0
  erlang:send/2
  erlang:send/3
  erlang:send_after/3
  erlang:spawn_link/3
  erlang:spawn_monitor/1
  erlang:split_binary/2
  erlang:start_timer/3
  erlang:statistics/1
  erlang:system_monitor/0
  erlang:system_monitor/2
  erlang:term_to_binary/1
  erlang:trace_info/2
  erlang:trace_pattern/3
  erlang:universaltime/0
  erlang:unlink/1
  erlang:whereis/1
  error_logger:add_report_handler/1
  error_logger:delete_report_handler/1
  error_logger:error_msg/1
  error_logger:error_msg/2
  error_logger:format/2
  error_logger:info_msg/2
  error_logger:info_report/1
  error_logger:warning_msg/1
  escript:script_name/0
  ets:all/0
  ets:delete/1
  ets:delete/2
  ets:delete_all_objects/1
  ets:delete_object/2
  ets:first/1
  ets:foldl/3
  ets:give_away/3
  ets:info/1
  ets:info/2
  ets:insert/2
  ets:insert_new/2
  ets:last/1
  ets:lookup/2
  ets:lookup_element/3
  ets:match/2
  ets:match_spec_compile/1
  ets:match_spec_run/2
  ets:member/2
  ets:new/2
  ets:next/2
  ets:prev/2
  ets:select/1
  ets:select/2
  ets:select/3
  ets:select_count/2
  ets:select_delete/2
  ets:select_reverse/3
  ets:setopts/2
  ets:tab2list/1
  ets:update_counter/3
  ets:update_element/3
  eunit:test/1
  file:close/1
  file:consult/1
  file:datasync/1
  file:delete/1
  file:format_error/1
  file:get_cwd/0
  file:list_dir/1
  file:make_dir/1
  file:open/2
  file:read/2
  file:read_file/1
  file:read_file_info/1
  file:rename/2
  file:script/1
  file:script/2
  file:set_cwd/1
  file:sync/1
  file:write/2
  file:write_file/2
  filelib:ensure_dir/1
  filelib:is_dir/1
  filelib:is_file/1
  filelib:is_regular/1
  filelib:wildcard/1
  filelib:wildcard/2
  filename:absname/1
  filename:append/2
  filename:basename/1
  filename:basename/2
  filename:dirname/1
  filename:extension/1
  filename:join/1
  filename:join/2
  filename:split/1
  gb_trees:empty/0
  gb_trees:enter/3
  gb_trees:from_orddict/1
  gb_trees:get/2
  gb_trees:iterator/1
  gb_trees:lookup/2
  gb_trees:next/1
  gb_trees:size/1
  gen_event:add_sup_handler/3
  gen_event:call/3
  gen_event:call/4
  gen_event:delete_handler/3
  gen_event:notify/2
  gen_event:sync_notify/2
  gen_event:which_handlers/1
  gen_fsm:cancel_timer/1
  gen_fsm:reply/2
  gen_fsm:send_all_state_event/2
  gen_fsm:send_event/2
  gen_fsm:send_event_after/2
  gen_fsm:start/3
  gen_fsm:start_link/3
  gen_fsm:sync_send_all_state_event/2
  gen_fsm:sync_send_all_state_event/3
  gen_fsm:sync_send_event/2
  gen_fsm:sync_send_event/3
  gen_server:call/2
  gen_server:call/3
  gen_server:cast/2
  gen_server:reply/2
  gen_server:start/3
  gen_server:start/4
  gen_server:start_link/3
  gen_server:start_link/4
  hamcrest:assert_that/2
  hamcrest:is_matcher/1
  igor:parse_transform/2
  inet:getopts/2
  inet:getstat/1
  inet:parse_address/1
  inet:peername/1
  inet:sockname/1
  init:archive_extension/0
  init:get_argument/1
  init:script_id/0
  init:stop/1
  io:columns/0
  io:format/1
  io:format/2
  io:format/3
  io:fwrite/1
  io:fwrite/2
  io:fwrite/3
  io:put_chars/1
  io:put_chars/2
  io_lib:deep_char_list/1
  io_lib:format/2
  io_lib:fwrite/2
  io_lib:printable_list/1
  io_lib:write/1
  io_lib:write/2
  io_lib:write_atom/1
  io_lib_format:fwrite_g/1
  io_lib_pretty:print/6
  lager_default_tracer:info/1
  lib:format_exception/6
  lists:append/1
  lists:concat/1
  lists:duplicate/2
  lists:flatlength/1
  lists:keystore/4
  lists:keytake/3
  lists:prefix/2
  lists:seq/2
  lists:sublist/2
  lists:sublist/3
  lists:sum/1
  lists:ukeymerge/3
  lists:ukeysort/2
  maps:to_list/1
  math:cos/1
  math:exp/1
  math:log/1
  math:log10/1
  math:pi/0
  math:pow/2
  math:sqrt/1
  memsup:get_system_memory_data/0
  mochijson2:encode/1
  mustache:render/2
  net_adm:ping/1
  orddict:append/3
  orddict:append_list/3
  orddict:erase/2
  orddict:fetch_keys/1
  orddict:find/2
  orddict:fold/3
  orddict:merge/3
  orddict:new/0
  orddict:store/3
  orddict:update/4
  orddict:update_counter/3
  ordsets:add_element/2
  ordsets:del_element/2
  ordsets:from_list/1
  ordsets:intersection/2
  ordsets:is_element/2
  ordsets:new/0
  ordsets:subtract/2
  ordsets:union/2
  os:cmd/1
  os:getenv/1
  os:timestamp/0
  os:type/0
  prim_inet:getstatus/1
  prim_inet:gettype/1
  proc_lib:init_ack/2
  proc_lib:spawn/1
  proc_lib:start_link/3
  proplists:delete/2
  proplists:get_all_values/2
  proplists:get_bool/2
  proplists:get_keys/1
  proplists:get_value/2
  proplists:get_value/3
  proplists:is_defined/2
  proplists:lookup/2
  queue:filter/2
  queue:in/2
  queue:is_empty/1
  queue:len/1
  queue:member/2
  queue:new/0
  queue:out/1
  queue:to_list/1
  random:seed/0
  random:seed/1
  random:seed/3
  random:seed0/0
  random:uniform/0
  random:uniform/1
  random:uniform_s/2
  re:compile/1
  re:compile/2
  re:replace/4
  re:run/2
  re:run/3
  re:split/3
  rebar_config:get_local/3
  rebar_mustache:render/2
  rebar_rel_utils:get_target_dir/2
  rebar_rel_utils:is_rel_dir/0
  rebar_rel_utils:load_config/2
  release_handler:eval_appup_script/4
  rpc:call/4
  rpc:eval_everywhere/3
  rpc:multicall/3
  rpc:multicall/4
  rpc:multicall/5
  sets:add_element/2
  sets:del_element/2
  sets:from_list/1
  sets:is_element/2
  sets:new/0
  sets:size/1
  sets:to_list/1
  string:centre/2
  string:chr/2
  string:cspan/2
  string:join/2
  string:left/2
  string:left/3
  string:rchr/2
  string:right/2
  string:str/2
  string:strip/1
  string:strip/2
  string:sub_string/2
  string:sub_string/3
  string:substr/2
  string:substr/3
  string:to_lower/1
  string:tokens/2
  supervisor:delete_child/2
  supervisor:start_child/2
  supervisor:start_link/2
  supervisor:start_link/3
  supervisor:terminate_child/2
  supervisor:which_children/1
  sys:get_debug/3
  sys:handle_system_msg/6
  systools:make_script/2
  timer:apply_interval/4
  timer:cancel/1
  timer:now_diff/2
  timer:seconds/1
  timer:send_interval/2
  timer:sleep/1
  timer:tc/1
  timer:tc/2
  timer:tc/3
  unicode:characters_to_binary/1
  unicode:characters_to_binary/3
  unicode:characters_to_list/1
  unicode:characters_to_list/2
  xmerl:export_simple/2
  xmerl_html:'#element#'/5
  xmerl_lib:end_tag/1
  xmerl_lib:expand_element/1
  xmerl_lib:find_attribute/2
  xmerl_lib:mapxml/2
  xmerl_lib:start_tag/2
Unknown types:
  calendar:datetime/0
  erl_syntax:syntaxTree/0
  erlang:timestamp/0
  ets:comp_match_spec/0
  ets:match_spec/0
  ets:tab/0
  ets:tid/0
  file:date_time/0
  file:fd/0
  file:filename/0
  file:io_device/0
  file:name/0
  file:name_all/0
  file:posix/0
  hamcrest:matchspec/0
  meck_history:history_record/0
  orddict:orddict/0
  proplists:property/0
  proplists:proplist/0
  re:mp/0
  supervisor:child_spec/0
  timer:tref/0
  unicode:charlist/0
 done in 0m5.62s
done (passed successfully)
==> develop.f79eb14.dr-th_service-poc.39d28e4 (dialyzer)
  Checking whether the PLT /home/ubuntu/.combo_dialyzer_plt is up-to-date... yes
  Checking whether the PLT .local_dialyzer_plt is up-to-date... yes
  Compiling some key modules to native code... done in 0m8.46s
  Proceeding with analysis...
Unknown functions:
  cluster_info:format/3
  cluster_info:register_app/1
 done in 0m5.40s
done (passed successfully)





⬜ 0 of 2 Code reviews from organization basho

@macintux
Copy link
Contributor

Rather than do ugly stuff with riak_test to expose the callbacks to the devrel node(s), I did less-ugly stuff with a unit test inside riak_core_info_service.

I also caught some glitches along the way: dialyzer fix, create a shutdown callback for eleveldb. That last one will require some careful thought by someone not awake until 5am (i.e., not me).

Add a test which throws an exception when receiving a response from
riak_core and make sure we see a shutdown message.
@thumbot
Copy link

thumbot commented Feb 28, 2017

dr-th/service-poc bebbe2f ➡️ develop f79eb14 ⛔ completed
There seems to be an issue with build step **make_test** ! ☁️
✅ MERGE

Started at: 2017-02-28 03:08
Duration: 1 seconds.
Result: OK
Message: Merge Success: dr-th/service-poc bebbe2f onto target branch: develop f79eb14
Exit Code: OK

📄







  Merge made by the 'recursive' strategy.
 src/riak_core_app.erl                  |  12 ++
 src/riak_core_info_service.erl         | 255 +++++++++++++++++++++++++++++++++
 src/riak_core_info_service_process.erl | 168 ++++++++++++++++++++++
 src/riak_core_info_service_sup.erl     |  50 +++++++
 src/riak_core_sup.erl                  |   1 +
 src/riak_core_throttle.erl             |   2 +-
 6 files changed, 487 insertions(+), 1 deletion(-)
 create mode 100644 src/riak_core_info_service.erl
 create mode 100644 src/riak_core_info_service_process.erl
 create mode 100644 src/riak_core_info_service_sup.erl




✅ MAKE_CLEAN

Started at: 2017-02-28 03:08
Duration: 1 seconds.
Result: OK
Message: OK
Exit Code: 0

📄


cd /tmp/thumbs/develop.f79eb14.dr-th_service-poc.bebbe2f; make clean




  ./rebar clean
==> develop.f79eb14.dr-th_service-poc.bebbe2f (clean)





✅ MAKE_DEPS

Started at: 2017-02-28 03:08
Duration: 11 seconds.
Result: OK
Message: OK
Exit Code: 0

📄


cd /tmp/thumbs/develop.f79eb14.dr-th_service-poc.bebbe2f; make deps




  ./rebar get-deps
==> develop.f79eb14.dr-th_service-poc.bebbe2f (get-deps)
Pulling lager from {git,"git://github.com/basho/lager.git",{tag,"3.2.4"}}
Cloning into 'lager'...
Pulling poolboy from {git,"git://github.com/basho/poolboy.git",
                          {tag,"0.8.1p3"}}
Cloning into 'poolboy'...
Pulling basho_stats from {git,"git://github.com/basho/basho_stats.git",
                              {tag,"1.0.3"}}
Cloning into 'basho_stats'...
Pulling riak_sysmon from {git,"git://github.com/basho/riak_sysmon.git",
                              {tag,"2.1.4"}}
Cloning into 'riak_sysmon'...
Pulling eleveldb from {git,"git://github.com/basho/eleveldb.git",
                           {tag,"2.0.32"}}
Cloning into 'eleveldb'...
Pulling riak_ensemble from {git,"git://github.com/basho/riak_ensemble",
                                {tag,"2.1.6"}}
Cloning into 'riak_ensemble'...
Pulling pbkdf2 from {git,"git://github.com/basho/erlang-pbkdf2.git",
                         {tag,"2.0.0"}}
Cloning into 'pbkdf2'...
Pulling exometer_core from {git,"git://github.com/basho/exometer_core.git",
                                {tag,"1.0.0-basho9"}}
Cloning into 'exometer_core'...
Pulling clique from {git,"https://github.com/basho/clique.git",{tag,"0.3.8"}}
Cloning into 'clique'...
==> lager (get-deps)
Pulling goldrush from {git,"https://github.com/basho/goldrush.git",
                           {tag,"0.1.9"}}
Cloning into 'goldrush'...
==> goldrush (get-deps)
==> poolboy (get-deps)
==> basho_stats (get-deps)
==> riak_sysmon (get-deps)
Pulling cuttlefish from {git,"https://github.com/basho/cuttlefish.git",
                             {tag,"2.0.10"}}
Cloning into 'cuttlefish'...
==> cuttlefish (get-deps)
Pulling getopt from {git,"https://github.com/basho/getopt.git",{tag,"v0.8.2"}}
Cloning into 'getopt'...
Pulling neotoma from {git,"https://github.com/basho/neotoma.git",
                          {tag,"1.7.3"}}
Cloning into 'neotoma'...
==> getopt (get-deps)
==> neotoma (get-deps)
==> eleveldb (get-deps)
Cloning into 'leveldb'...
Note: checking out '2.0.31'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b new_branch_name

HEAD is now at e6a2939... add (int) cast to fix compile errors on 10 of 16 platforms ... argh.
==> riak_ensemble (get-deps)
==> pbkdf2 (get-deps)
==> src (get-deps)
==> exometer_core (get-deps)
Pulling parse_trans from {git,"git://github.com/basho/parse_trans.git",
                              {tag,"2.9.2p1"}}
Cloning into 'parse_trans'...
Pulling folsom from {git,"git://github.com/basho/folsom.git",{tag,"0.7.4p5"}}
Cloning into 'folsom'...
Pulling setup from {git,"git://github.com/basho/setup.git",{tag,"1.4"}}
Cloning into 'setup'...
==> parse_trans (get-deps)
Pulling edown from {git,"git://github.com/basho/edown.git",{tag,"0.8.1"}}
Cloning into 'edown'...
==> edown (get-deps)
==> folsom (get-deps)
Pulling bear from {git,"git://github.com/basho/bear.git",{tag,"0.1.3p1"}}
Cloning into 'bear'...
Pulling meck from {git,"git://github.com/basho/meck.git",{tag,"0.8.2"}}
Cloning into 'meck'...
==> bear (get-deps)
==> meck (get-deps)
==> setup (get-deps)
==> clique (get-deps)





✅ MAKE_COMPILE

Started at: 2017-02-28 03:08
Duration: 32 seconds.
Result: OK
Message: OK
Exit Code: 0

📄


cd /tmp/thumbs/develop.f79eb14.dr-th_service-poc.bebbe2f; make compile




  
  
... Snipped 636 lines ...
d -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY  -DLEVELDB_VSN="2.0.31" -O2 -g -DNDEBUG     -fPIC tools/perf_dump.cc -o perf_dump -L . -Wl,-non_shared -lleveldb -Wl,-call_shared -m64  -L/tmp/thumbs/develop.f79eb14.dr-th_service-poc.bebbe2f/deps/eleveldb/c_src/system/lib -pthread -lrt -Wl,-non_shared -lsnappy -Wl,-call_shared
c++ -m64  -Wall -O3 -fPIC -I /tmp/thumbs/develop.f79eb14.dr-th_service-poc.bebbe2f/deps/eleveldb/c_src/system/include -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY  -DLEVELDB_VSN="2.0.31" -O2 -g -DNDEBUG     -fPIC tools/sst_rewrite.cc -o sst_rewrite -L . -Wl,-non_shared -lleveldb -Wl,-call_shared -m64  -L/tmp/thumbs/develop.f79eb14.dr-th_service-poc.bebbe2f/deps/eleveldb/c_src/system/lib -pthread -lrt -Wl,-non_shared -lsnappy -Wl,-call_shared
c++ -m64  -Wall -O3 -fPIC -I /tmp/thumbs/develop.f79eb14.dr-th_service-poc.bebbe2f/deps/eleveldb/c_src/system/include -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY  -DLEVELDB_VSN="2.0.31" -O2 -g -DNDEBUG     -fPIC tools/sst_scan.cc -o sst_scan -L . -Wl,-non_shared -lleveldb -Wl,-call_shared -m64  -L/tmp/thumbs/develop.f79eb14.dr-th_service-poc.bebbe2f/deps/eleveldb/c_src/system/lib -pthread -lrt -Wl,-non_shared -lsnappy -Wl,-call_shared
make[1]: Leaving directory `/tmp/thumbs/develop.f79eb14.dr-th_service-poc.bebbe2f/deps/eleveldb/c_src/leveldb'
Compiled src/eleveldb_bump.erl
Compiled src/eleveldb.erl
Compiling c_src/eleveldb.cc
Compiling c_src/refobjects.cc
Compiling c_src/workitems.cc
==> riak_ensemble (compile)
Compiled src/riak_ensemble_backend.erl
Compiled src/riak_ensemble_sup.erl
Compiled src/synctree_orddict.erl
Compiled src/riak_ensemble_client.erl
Compiled src/riak_ensemble_router.erl
Compiled src/riak_ensemble_config.erl
Compiled src/riak_ensemble_router_sup.erl
Compiled src/riak_ensemble_lease.erl
Compiled src/synctree.erl
Compiled src/riak_ensemble_test.erl
Compiled src/synctree_leveldb.erl
Compiled src/riak_ensemble_manager.erl
Compiled src/riak_ensemble_root.erl
Compiled src/riak_ensemble_exchange.erl
Compiled src/riak_ensemble_save.erl
Compiled src/riak_ensemble_clock.erl
Compiled src/riak_ensemble_peer_worker.erl
Compiled src/riak_ensemble_app.erl
Compiled src/riak_ensemble_basic_backend.erl
Compiled src/riak_ensemble_state.erl
Compiled src/riak_ensemble_peer_tree.erl
Compiled src/riak_ensemble_storage.erl
Compiled src/riak_ensemble_peer_sup.erl
Compiled src/synctree_ets.erl
Compiled src/riak_ensemble_util.erl
Compiled src/riak_ensemble_msg.erl
Compiled src/riak_ensemble_peer.erl
Compiling c_src/riak_ensemble_clock.c
==> pbkdf2 (compile)
Compiled src/pbkdf2.erl
==> edown (compile)
Compiled src/edown_make.erl
Compiled src/edown_lib.erl
Compiled src/edown_xmerl.erl
Compiled src/edown_doclet.erl
Compiled src/edown_layout.erl
==> parse_trans (compile)
Compiled src/parse_trans.erl
Compiled src/parse_trans_pp.erl
Compiled src/parse_trans_codegen.erl
Compiled src/parse_trans_mod.erl
Compiled src/ct_expand.erl
Compiled src/exprecs.erl
==> bear (compile)
Compiled src/bear.erl
==> meck (compile)
Compiled src/meck_cover.erl
Compiled src/meck_expect.erl
Compiled src/meck_matcher.erl
Compiled src/meck_args_matcher.erl
Compiled src/meck_history.erl
Compiled src/meck.erl
Compiled src/meck_code_gen.erl
Compiled src/meck_util.erl
Compiled src/meck_code.erl
Compiled src/meck_ret_spec.erl
Compiled src/meck_proc.erl
==> folsom (compile)
Compiled src/folsom_sample_slide_sup.erl
Compiled src/folsom_sample_slide.erl
Compiled src/folsom_metrics_histogram.erl
Compiled src/folsom_ewma.erl
Compiled src/folsom_sample_none.erl
Compiled src/folsom_sample_exdec.erl
Compiled src/folsom_metrics_histogram_ets.erl
Compiled src/folsom_metrics_duration.erl
Compiled src/folsom.erl
Compiled src/folsom_sample.erl
Compiled src/folsom_metrics_meter_reader.erl
Compiled src/folsom_metrics.erl
Compiled src/folsom_vm_metrics.erl
Compiled src/folsom_sample_slide_uniform.erl
Compiled src/folsom_metrics_counter.erl
Compiled src/folsom_metrics_spiral.erl
Compiled src/folsom_meter_timer_server.erl
Compiled src/folsom_metrics_history.erl
Compiled src/folsom_sup.erl
Compiled src/folsom_sample_slide_server.erl
Compiled src/folsom_ets.erl
Compiled src/folsom_metrics_gauge.erl
Compiled src/folsom_utils.erl
Compiled src/folsom_metrics_meter.erl
Compiled src/folsom_sample_uniform.erl
==> setup (compile)
Compiled src/setup_lib.erl
Compiled src/setup_gen.erl
Compiled src/setup.erl
==> edown (escriptize)
==> setup (escriptize)
==> src (compile)
==> exometer_core (compile)
Compiled src/exometer_igor.erl
Compiled src/exometer_util.erl
Compiled src/exometer_entry.erl
Compiled src/exometer_probe.erl
Compiled src/exometer_report.erl
Compiled src/exometer_folsom_monitor.erl
Compiled src/exometer_folsom.erl
Compiled src/exometer_report_lager.erl
Compiled src/exometer_duration.erl
Compiled src/exometer_function.erl
Compiled src/exometer_core_sup.erl
Compiled src/exometer_slide.erl
Compiled src/exometer_slot_slide.erl
Compiled src/exometer_report_tty.erl
Compiled src/exometer_proc.erl
Compiled src/exo_montest.erl
Compiled src/exometer_cache.erl
Compiled src/exometer_spiral.erl
Compiled src/exometer_cpu.erl
Compiled src/exometer_alias.erl
Compiled src/exometer_shallowtree.erl
Compiled src/exometer_admin.erl
Compiled src/exometer_uniform.erl
Compiled src/exometer.erl
Compiled src/exometer_core_app.erl
Compiled src/exometer_info.erl
Compiled src/exometer_histogram.erl
==> clique (compile)
Compiled src/clique_writer.erl
Compiled src/clique_handler.erl
Compiled src/clique_test_group_leader.erl
Compiled src/clique_table.erl
Compiled src/clique_json_writer.erl
Compiled src/clique_config.erl
Compiled src/clique.erl
Compiled src/clique_typecast.erl
Compiled src/clique_human_writer.erl
Compiled src/clique_status.erl
Compiled src/clique_usage.erl
Compiled src/clique_error.erl
Compiled src/clique_manager.erl
Compiled src/clique_app.erl
Compiled src/clique_nodes.erl
Compiled src/clique_sup.erl
Compiled src/clique_csv_writer.erl
Compiled src/clique_command.erl
Compiled src/clique_parser.erl
Compiled src/clique_spec.erl
==> develop.f79eb14.dr-th_service-poc.bebbe2f (compile)
Compiled src/gen_nb_server.erl
Compiled src/riak_core_gen_server.erl
Compiled src/riak_core_stat_xform.erl
Compiled src/riak_core_broadcast_handler.erl
Compiled src/riak_core_vnode_worker_pool.erl
Compiled src/chash.erl
Compiled src/riak_core_format.erl
Compiled src/riak_core_ring_manager.erl
Compiled src/riak_core_broadcast.erl
Compiled src/riak_core_dist_mon.erl
Compiled src/riak_core_handoff_sender_sup.erl
Compiled src/chashbin.erl
Compiled src/riak_core_vnode_proxy.erl
Compiled src/riak_core_status.erl
Compiled src/riak_core_repair.erl
Compiled src/riak_core_metadata_exchange_fsm.erl
Compiled src/riak_core_claim_sim.erl
Compiled src/riak_core_mochiglobal.erl
Compiled src/dvvset.erl
Compiled src/riak_core_vnode_manager.erl
Compiled src/riak_core_bucket.erl
Compiled src/vclock.erl
Compiled src/riak_core_bg_manager.erl
Compiled src/riak_core_node_watcher.erl
Compiled src/riak_core_dtrace.erl
Compiled src/riak_core_tracer.erl
Compiled src/riak_core_vnode_sup.erl
Compiled src/riak_core_test_util.erl
Compiled src/riak_core_sup.erl
Compiled src/riak_core_handoff_sup.erl
Compiled src/riak_core_nodeid.erl
Compiled src/riak_core_vnode_proxy_sup.erl
Compiled src/riak_core_stat.erl
Compiled src/hashtree.erl
Compiled src/riak_core_tcp_mon.erl
Compiled src/riak_core_handoff_listener.erl
Compiled src/riak_core_cli_registry.erl
Compiled src/riak_core_stat_calc_sup.erl
Compiled src/riak_core_app.erl
Compiled src/riak_core_util.erl
Compiled src/riak_core_ring_util.erl
Compiled src/riak_core_console_table.erl
Compiled src/riak_core_cinfo_core.erl
Compiled src/supervisor_pre_r14b04.erl
Compiled src/riak_core_cluster_cli.erl
Compiled src/riak_core_net_ticktime.erl
Compiled src/riak_core_coverage_plan.erl
Compiled src/riak_core_send_msg.erl
Compiled src/riak_core_ring.erl
Compiled src/riak_core_throttle.erl
Compiled src/hashtree_tree.erl
Compiled src/riak_core_metadata.erl
Compiled src/riak_core_stat_q.erl
Compiled src/riak_core_vnode_master.erl
Compiled src/riak_core_table_owner.erl
Compiled src/process_proxy.erl
Compiled src/riak_core_ring_handler.erl
Compiled src/riak_core_exo_monitor.erl
Compiled src/riak_core_claim_util.erl
Compiled src/riak_core_stat_calc_proc.erl
Compiled src/riak_core_eventhandler_sup.erl
Compiled src/riak_core_metadata_object.erl
Compiled src/riak_core_handoff_listener_sup.erl
Compiled src/riak_core_sysmon_minder.erl
Compiled src/riak_core_pw_auth.erl
Compiled src/app_helper.erl
Compiled src/riak_core_stat_sup.erl
Compiled src/riak_core_node_watcher_events.erl
Compiled src/riak_core_sysmon_handler.erl
Compiled src/riak_core_handoff_cli.erl
Compiled src/riak_core_console.erl
Compiled src/riak_core_bucket_props.erl
Compiled src/riak_core_metadata_manager.erl
Compiled src/riak_core_info_service_sup.erl
Compiled src/riak_core_vnode_worker.erl
Compiled src/bloom.erl
Compiled src/riak_core_metadata_hashtree.erl
Compiled src/riak_core_handoff_status.erl
Compiled src/riak_core_handoff_sender.erl
Compiled src/riak_core_ring_events.erl
Compiled src/riak_core_gossip.erl
Compiled src/riak_core_coverage_fsm.erl
Compiled src/riak_core_ssl_util.erl
Compiled src/riak_core_claimant.erl
Compiled src/riak_core_stats_sup.erl
Compiled src/riak_core_bucket_type.erl
Compiled src/riak_core_handoff_receiver.erl
Compiled src/riak_core_handoff_receiver_sup.erl
Compiled src/riak_core_security.erl
Compiled src/riak_core_info_service.erl
Compiled src/riak_core_claim.erl
Compiled src/riak_core_new_claim.erl
Compiled src/riak_core_stat_cache.erl
Compiled src/riak_core_handoff_manager.erl
Compiled src/riak_core.erl
Compiled src/riak_core_apl.erl
Compiled src/riak_core_priority_queue.erl
Compiled src/riak_core_vnode.erl
Compiled src/riak_core_eventhandler_guard.erl
Compiled src/riak_core_capability.erl
Compiled src/riak_core_info_service_process.erl
Compiled src/riak_core_base64url.erl





⛔ MAKE_TEST

Started at: 2017-02-28 03:09
Duration: 574 seconds.
Result: ERROR
Message: Step make_test Failed!
Exit Code: 2

📄


cd /tmp/thumbs/develop.f79eb14.dr-th_service-poc.bebbe2f; make test




  
  
... Snipped 1271 lines ...
rvisor riak_core_vnode_sup had child undefined started with {riak_core_vnode,start_link,undefined} at <0.25178.0> exit with reason core_breach in context child_terminated
03:17:32.423 [info] Application lager started on node nonode@nohost
  sync_command_test: sync_test_ (Assert non-blocking sync error)...ok
03:17:32.424 [error] CRASH REPORT Process <0.25214.0> with 0 neighbours exited with reason: {{already_started,<0.6741.0>},{exometer_core_app,start,[normal,[]]}} in application_master:init/4 line 133
03:17:32.424 [info] Application exometer_core exited with reason: {{already_started,<0.6741.0>},{exometer_core_app,start,[normal,[]]}}
03:17:32.427 [error] mock_vnode command failed {core_breach,[{mock_vnode,handle_command,3,[{file,"test/mock_vnode.erl"},{line,131}]},{riak_core_vnode,vnode_command,3,[{file,"src/riak_core_vnode.erl"},{line,346}]},{gen_fsm,handle_msg,7,[{file,"gen_fsm.erl"},{line,505}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,239}]}]}
03:17:32.428 [error] gen_fsm <0.25223.0> in state active terminated with reason: core_breach in mock_vnode:handle_command/3 line 131
03:17:32.428 [error] CRASH REPORT Process <0.25223.0> with 0 neighbours exited with reason: core_breach in mock_vnode:handle_command/3 line 131 in gen_fsm:terminate/7 line 622
03:17:32.428 [error] Supervisor riak_core_vnode_sup had child undefined started with {riak_core_vnode,start_link,undefined} at <0.25223.0> exit with reason core_breach in mock_vnode:handle_command/3 line 131 in context child_terminated
03:17:32.472 [info] Application lager started on node nonode@nohost
  sync_command_test: sync_test_ (Assert non-blocking sync exit)...03:17:32.472 [error] CRASH REPORT Process <0.25260.0> with 0 neighbours exited with reason: {{already_started,<0.6741.0>},{exometer_core_app,start,[normal,[]]}} in application_master:init/4 line 133
03:17:32.472 [info] Application exometer_core exited with reason: {{already_started,<0.6741.0>},{exometer_core_app,start,[normal,[]]}}
ok
03:17:32.476 [error] mock_vnode command failed core_breach
03:17:32.476 [error] gen_fsm <0.25269.0> in state active terminated with reason: core_breach
03:17:32.476 [error] CRASH REPORT Process <0.25269.0> with 0 neighbours exited with reason: core_breach in gen_fsm:terminate/7 line 622
03:17:32.476 [error] Supervisor riak_core_vnode_sup had child undefined started with {riak_core_vnode,start_link,undefined} at <0.25269.0> exit with reason core_breach in context child_terminated
  [done in 0.332 s]
module 'riak_core_ssl_util'
module 'riak_core_handoff_receiver'
module 'riak_core_ring_handler'
module 'test_guarded_event_handler'
  test_guarded_event_handler: guarded_handler_test_...[0.101 s] ok
  [done in 0.104 s]
module 'riak_core_vnode_worker'
module 'riak_core_handoff_manager'
  riak_core_handoff_manager:674: handoff_test_...ok
  riak_core_handoff_manager:675: handoff_test_...ok
  [done in 0.006 s]
module 'riak_core_dtrace'
  riak_core_dtrace: timeit_naive_test...timeit_naive                 average     1.372 usec/call over     500.0 calls
[0.013 s] ok
  riak_core_dtrace: timeit_mochiglobal_test...timeit_mochiglobal           average     2.308 usec/call over  225000.0 calls
Skipping timeit_best_on test: no DTrace/SystemTap is available
[0.528 s] ok
  riak_core_dtrace: timeit_best_off_test...ok
  riak_core_dtrace: timeit_best_onfalse_test...Skipping timeit_best_on test: no DTrace/SystemTap is available
ok
  riak_core_dtrace: timeit_best_ontrue_test...Skipping timeit_best_on test: no DTrace/SystemTap is available
NOTE: cover analysis will skew results.  Run without cover for true timings.
ok
  riak_core_dtrace: last_test...ok
  [done in 0.559 s]
riak_core_format: human_time_fmt_test (module 'riak_core_format')...ok
module 'riak_core_metadata_exchange_fsm'
module 'worker_pool_test'
  worker_pool_test: pool_test_...[1.201 s] ok
  worker_pool_test: pool_test_...[1.201 s] ok
  [done in 2.408 s]
module 'riak_core_vnode_master'
module 'riak_core_cluster_cli'
module 'riak_core_metadata_manager'
module 'claim_simulation'
module 'riak_core_claim'
  riak_core_claim: wants_claim_test...[0.004 s] ok
  riak_core_claim: find_biggest_hole_test...ok
  riak_core_claim: prop_claim_ensures_unique_nodes_v2_test_.......................................................................................................
OK, passed 100 tests
[2.416 s] ok
  riak_core_claim: prop_claim_ensures_unique_nodes_v3_test_........
OK, passed 5 tests
[9.682 s] ok
  riak_core_claim: wants_counts_test.......................................................................................................
OK, passed 100 tests
[0.009 s] ok
  riak_core_claim: wants_test.......................................................................................................
OK, passed 100 tests
[0.110 s] ok
  riak_core_claim: take_idxs_test.......................................................................................................
OK, passed 100 tests
[0.056 s] ok
  [done in 12.298 s]
module 'riak_core_info_service'
  riak_core_info_service: exception_test...Unknown msg: {'EXIT',<0.6703.0>,normal}
*failed*
in function riak_core_info_service:exception_test/0 (src/riak_core_info_service.erl, line 180)
**throw:unexpected_msg


  riak_core_info_service: receive_ring_test...*failed*
in function riak_core_info_service:wait_for_no_sup/2 (src/riak_core_info_service.erl, line 138)
in call from riak_core_info_service:setup/0 (src/riak_core_info_service.erl, line 160)
in call from riak_core_info_service:receive_ring_test/0 (src/riak_core_info_service.erl, line 206)
**throw:supervisor_did_not_die


  [done in 0.312 s]
vclock_qc:21: eqc_test_ (module 'vclock_qc').......................................................................................................(x10)......................................................................(x1)......
Time limit reached: 20.0 seconds.

OK, passed 806 tests

45.49% 0
24.80% 1
13.10% 2
7.65% 3
5.27% 4
3.70% 5

11.062% {vclock_qc,timestamp,0}
10.914% {vclock_qc,fresh,0}
9.900% {vclock_qc,get_dot,2}
9.837% {vclock_qc,increment,2}
9.799% {vclock_qc,dominates,2}
9.777% {vclock_qc,get_counter,2}
9.758% {vclock_qc,descends,2}
9.755% {vclock_qc,get_timestamp,2}
9.656% {vclock_qc,merge,1}
9.542% {vclock_qc,descends_dot,3}

45.9% {num_vclocks_div_10,0}
22.2% {num_vclocks_div_10,1}
9.8% {num_vclocks_div_10,2}
6.7% {num_vclocks_div_10,3}
4.5% {num_vclocks_div_10,4}
3.5% {num_vclocks_div_10,5}
2.0% {num_vclocks_div_10,6}
1.6% {num_vclocks_div_10,7}
0.9% {num_vclocks_div_10,9}
0.7% {num_vclocks_div_10,10}
0.6% {num_vclocks_div_10,12}
0.5% {num_vclocks_div_10,8}
0.4% {num_vclocks_div_10,14}
0.2% {num_vclocks_div_10,13}
0.1% {num_vclocks_div_10,19}
0.1% {num_vclocks_div_10,16}
0.1% {num_vclocks_div_10,15}
0.1% {num_vclocks_div_10,11}
[20.021 s] ok
module 'riak_core_send_msg'
riak_core_bucket: simple_set_test (module 'riak_core_bucket')...[0.005 s] ok
module 'riak_core_handoff_sender_sup'
module 'riak_core_coverage_plan'
module 'riak_core_eventhandler_sup'
module 'riak_core_repair'
module 'bucket_eqc_utils'
module 'vclock'
  vclock: example_test...ok
  vclock: prune_small_test...ok
  vclock: prune_young_test...ok
  vclock: prune_big_test...ok
  vclock: prune_old_test...ok
  vclock: prune_order_test...ok
  vclock: accessor_test...ok
  vclock: merge_test...ok
  vclock: merge_less_left_test...ok
  vclock: merge_less_right_test...ok
  vclock: merge_same_id_test...ok
  vclock: get_entry_test...ok
  vclock: valid_entry_test...ok
  [done in 0.039 s]
module 'riak_core_ring_manager'
  riak_core_ring_manager: back_test...ok
  riak_core_ring_manager: prune_list_test...ok
  riak_core_ring_manager: set_ring_global_test...[0.007 s] ok
  riak_core_ring_manager: set_my_ring_test...[0.005 s] ok
  riak_core_ring_manager: refresh_my_ring_test...ok
  riak_core_ring_manager: do_write_ringfile_test...[0.019 s] ok
  riak_core_ring_manager: is_stable_ring_test...ok
  [done in 0.052 s]
module 'riak_core_handoff_sup'
module 'riak_core_capability'
  riak_core_capability_tests: basic_test (module 'riak_core_capability_tests')...ok
  [done in 0.003 s]
module 'riak_core_handoff_cli'
module 'riak_core_broadcast_handler'
module 'mock_vnode'
module 'bloom'
  bloom: fixed_case_test_...[1.023 s] ok
  bloom: bloom_test...[0.628 s] ok
  [done in 1.657 s]
module 'riak_core_vnode_sup'
module 'process_proxy'
module 'riak_core_dist_mon'
module 'riak_core_bucket_type'
module 'riak_core_gossip'
module 'app_helper'
  app_helper: app_helper_test_...ok
  app_helper: app_helper_test_...ok
  app_helper: app_helper_test_...ok
  app_helper: app_helper_test_...ok
  app_helper: app_helper_test_...ok
  app_helper: app_helper_test_...ok
  [done in 0.018 s]
module 'bg_manager_tests'
  bg_manager_tests: bg_mgr_test_ (set/get token rates + verify rates)...ok
  bg_manager_tests: bg_mgr_test_ (crash token manager + verify rates persist)...[0.303 s] ok
  bg_manager_tests: bg_mgr_test_ (lock/token separation)...ok
  bg_manager_tests: bg_mgr_test_ (failing crash/revive EQC test case)...[0.303 s] ok
  bg_manager_tests: bg_mgr_test_ (bypass API)...ok
  [done in 0.621 s]
module 'riak_core_schema_tests'
  riak_core_schema_tests: basic_schema_test...[0.067 s] ok
  riak_core_schema_tests: invalid_states_test...[0.028 s] ok
  riak_core_schema_tests: default_bucket_properties_test...[0.029 s] ok
  riak_core_schema_tests: override_schema_test...[0.029 s] ok
  [done in 0.165 s]
=======================================================
  Failed: 2.  Skipped: 0.  Passed: 433.
Cover analysis: /tmp/thumbs/develop.f79eb14.dr-th_service-poc.bebbe2f/.eunit/index.html

=INFO REPORT==== 28-Feb-2017::03:18:52 ===
    application: ssl
    exited: stopped
    type: temporary

=INFO REPORT==== 28-Feb-2017::03:18:52 ===
    application: inets
    exited: killed
    type: temporary
ERROR: One or more eunit tests failed.
ERROR: eunit failed while processing /tmp/thumbs/develop.f79eb14.dr-th_service-poc.bebbe2f: rebar_abort
make: *** [test] Error 1





✅ MAKE_XREF

Started at: 2017-02-28 03:18
Duration: 5 seconds.
Result: OK
Message: OK
Exit Code: 0

📄


cd /tmp/thumbs/develop.f79eb14.dr-th_service-poc.bebbe2f; make xref




  ./rebar get-deps
==> goldrush (get-deps)
==> lager (get-deps)
==> poolboy (get-deps)
==> basho_stats (get-deps)
==> getopt (get-deps)
==> neotoma (get-deps)
==> cuttlefish (get-deps)
==> riak_sysmon (get-deps)
==> eleveldb (get-deps)
==> riak_ensemble (get-deps)
==> pbkdf2 (get-deps)
==> edown (get-deps)
==> parse_trans (get-deps)
==> bear (get-deps)
==> meck (get-deps)
==> folsom (get-deps)
==> setup (get-deps)
==> src (get-deps)
==> exometer_core (get-deps)
==> clique (get-deps)
==> develop.f79eb14.dr-th_service-poc.bebbe2f (get-deps)
./rebar compile
==> goldrush (compile)
==> lager (compile)
==> poolboy (compile)
==> basho_stats (compile)
==> getopt (compile)
==> neotoma (compile)
==> cuttlefish (compile)
==> getopt (escriptize)
==> goldrush (escriptize)
==> lager (escriptize)
==> neotoma (escriptize)
==> cuttlefish (escriptize)
==> riak_sysmon (compile)
==> eleveldb (compile)
make[1]: Entering directory `/tmp/thumbs/develop.f79eb14.dr-th_service-poc.bebbe2f/deps/eleveldb/c_src/leveldb'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/tmp/thumbs/develop.f79eb14.dr-th_service-poc.bebbe2f/deps/eleveldb/c_src/leveldb'
make[1]: Entering directory `/tmp/thumbs/develop.f79eb14.dr-th_service-poc.bebbe2f/deps/eleveldb/c_src/leveldb'
make[1]: Nothing to be done for `tools'.
make[1]: Leaving directory `/tmp/thumbs/develop.f79eb14.dr-th_service-poc.bebbe2f/deps/eleveldb/c_src/leveldb'
==> riak_ensemble (compile)
==> pbkdf2 (compile)
==> edown (compile)
==> parse_trans (compile)
==> bear (compile)
==> meck (compile)
==> folsom (compile)
==> setup (compile)
==> edown (escriptize)
==> setup (escriptize)
==> src (compile)
==> exometer_core (compile)
==> clique (compile)
==> develop.f79eb14.dr-th_service-poc.bebbe2f (compile)
./rebar xref skip_deps=true
WARN:  Ignoring sub_dirs for /tmp/thumbs/develop.f79eb14.dr-th_service-poc.bebbe2f/deps/exometer_core
==> develop.f79eb14.dr-th_service-poc.bebbe2f (xref)





✅ MAKE_DIALYZER

Started at: 2017-02-28 03:18
Duration: 41 seconds.
Result: OK
Message: OK
Exit Code: 0

📄


cd /tmp/thumbs/develop.f79eb14.dr-th_service-poc.bebbe2f; make dialyzer




  
  
... Snipped 181 lines ...
ax:abstract/1
  erl_syntax:application/2
  erl_syntax:application/3
  erl_syntax:application_arguments/1
  erl_syntax:arity_qualifier/2
  erl_syntax:arity_qualifier_argument/1
  erl_syntax:arity_qualifier_body/1
  erl_syntax:atom/1
  erl_syntax:atom_value/1
  erl_syntax:attribute/2
  erl_syntax:attribute_arguments/1
  erl_syntax:attribute_name/1
  erl_syntax:case_expr/2
  erl_syntax:catch_expr/1
  erl_syntax:clause/2
  erl_syntax:clause/3
  erl_syntax:clause_patterns/1
  erl_syntax:fun_expr_clauses/1
  erl_syntax:function/2
  erl_syntax:function_clauses/1
  erl_syntax:generator/2
  erl_syntax:generator_body/1
  erl_syntax:generator_pattern/1
  erl_syntax:get_pos/1
  erl_syntax:implicit_fun/2
  erl_syntax:implicit_fun_name/1
  erl_syntax:integer/1
  erl_syntax:integer_value/1
  erl_syntax:list/1
  erl_syntax:list_comp/2
  erl_syntax:list_comp_body/1
  erl_syntax:list_comp_template/1
  erl_syntax:list_elements/1
  erl_syntax:match_expr/2
  erl_syntax:revert/1
  erl_syntax:revert_forms/1
  erl_syntax:string/1
  erl_syntax:string_value/1
  erl_syntax:subtrees/1
  erl_syntax:tuple/1
  erl_syntax:tuple_elements/1
  erl_syntax:type/1
  erl_syntax:underscore/0
  erl_syntax:update_tree/2
  erl_syntax:variable/1
  erl_syntax:variable_name/1
  erl_syntax_lib:analyze_application/1
  erl_syntax_lib:analyze_forms/1
  erl_syntax_lib:analyze_function/1
  erl_syntax_lib:map/2
  erl_syntax_lib:variables/1
  erlang:append_element/2
  erlang:atom_to_binary/2
  erlang:atom_to_list/1
  erlang:binary_to_atom/2
  erlang:binary_to_existing_atom/2
  erlang:binary_to_list/1
  erlang:binary_to_list/3
  erlang:binary_to_term/1
  erlang:bitstring_to_list/1
  erlang:bump_reductions/1
  erlang:cancel_timer/1
  erlang:crc32/1
  erlang:demonitor/1
  erlang:demonitor/2
  erlang:erase/1
  erlang:exit/2
  erlang:float_to_list/1
  erlang:float_to_list/2
  erlang:fun_info/2
  erlang:fun_to_list/1
  erlang:function_exported/3
  erlang:garbage_collect/0
  erlang:get/1
  erlang:get_module_info/1
  erlang:get_module_info/2
  erlang:get_stacktrace/0
  erlang:group_leader/0
  erlang:group_leader/2
  erlang:integer_to_list/1
  erlang:iolist_size/1
  erlang:iolist_to_binary/1
  erlang:is_alive/0
  erlang:is_builtin/3
  erlang:is_map/1
  erlang:is_process_alive/1
  erlang:link/1
  erlang:list_to_atom/1
  erlang:list_to_binary/1
  erlang:list_to_existing_atom/1
  erlang:list_to_float/1
  erlang:list_to_integer/1
  erlang:list_to_tuple/1
  erlang:load_nif/2
  erlang:localtime/0
  erlang:make_fun/3
  erlang:make_ref/0
  erlang:map_size/1
  erlang:max/2
  erlang:min/2
  erlang:monitor/2
  erlang:now/0
  erlang:phash2/1
  erlang:phash2/2
  erlang:pid_to_list/1
  erlang:port_info/1
  erlang:port_info/2
  erlang:port_to_list/1
  erlang:ports/0
  erlang:process_flag/2
  erlang:process_info/2
  erlang:processes/0
  erlang:put/2
  erlang:raise/3
  erlang:ref_to_list/1
  erlang:register/2
  erlang:registered/0
  erlang:send/2
  erlang:send/3
  erlang:send_after/3
  erlang:spawn_link/3
  erlang:spawn_monitor/1
  erlang:split_binary/2
  erlang:start_timer/3
  erlang:statistics/1
  erlang:system_monitor/0
  erlang:system_monitor/2
  erlang:term_to_binary/1
  erlang:trace_info/2
  erlang:trace_pattern/3
  erlang:universaltime/0
  erlang:unlink/1
  erlang:whereis/1
  error_logger:add_report_handler/1
  error_logger:delete_report_handler/1
  error_logger:error_msg/1
  error_logger:error_msg/2
  error_logger:format/2
  error_logger:info_msg/2
  error_logger:info_report/1
  error_logger:warning_msg/1
  escript:script_name/0
  ets:all/0
  ets:delete/1
  ets:delete/2
  ets:delete_all_objects/1
  ets:delete_object/2
  ets:first/1
  ets:foldl/3
  ets:give_away/3
  ets:info/1
  ets:info/2
  ets:insert/2
  ets:insert_new/2
  ets:last/1
  ets:lookup/2
  ets:lookup_element/3
  ets:match/2
  ets:match_spec_compile/1
  ets:match_spec_run/2
  ets:member/2
  ets:new/2
  ets:next/2
  ets:prev/2
  ets:select/1
  ets:select/2
  ets:select/3
  ets:select_count/2
  ets:select_delete/2
  ets:select_reverse/3
  ets:setopts/2
  ets:tab2list/1
  ets:update_counter/3
  ets:update_element/3
  eunit:test/1
  file:close/1
  file:consult/1
  file:datasync/1
  file:delete/1
  file:format_error/1
  file:get_cwd/0
  file:list_dir/1
  file:make_dir/1
  file:open/2
  file:read/2
  file:read_file/1
  file:read_file_info/1
  file:rename/2
  file:script/1
  file:script/2
  file:set_cwd/1
  file:sync/1
  file:write/2
  file:write_file/2
  filelib:ensure_dir/1
  filelib:is_dir/1
  filelib:is_file/1
  filelib:is_regular/1
  filelib:wildcard/1
  filelib:wildcard/2
  filename:absname/1
  filename:append/2
  filename:basename/1
  filename:basename/2
  filename:dirname/1
  filename:extension/1
  filename:join/1
  filename:join/2
  filename:split/1
  gb_trees:empty/0
  gb_trees:enter/3
  gb_trees:from_orddict/1
  gb_trees:get/2
  gb_trees:iterator/1
  gb_trees:lookup/2
  gb_trees:next/1
  gb_trees:size/1
  gen_event:add_sup_handler/3
  gen_event:call/3
  gen_event:call/4
  gen_event:delete_handler/3
  gen_event:notify/2
  gen_event:sync_notify/2
  gen_event:which_handlers/1
  gen_fsm:cancel_timer/1
  gen_fsm:reply/2
  gen_fsm:send_all_state_event/2
  gen_fsm:send_event/2
  gen_fsm:send_event_after/2
  gen_fsm:start/3
  gen_fsm:start_link/3
  gen_fsm:sync_send_all_state_event/2
  gen_fsm:sync_send_all_state_event/3
  gen_fsm:sync_send_event/2
  gen_fsm:sync_send_event/3
  gen_server:call/2
  gen_server:call/3
  gen_server:cast/2
  gen_server:reply/2
  gen_server:start/3
  gen_server:start/4
  gen_server:start_link/3
  gen_server:start_link/4
  hamcrest:assert_that/2
  hamcrest:is_matcher/1
  igor:parse_transform/2
  inet:getopts/2
  inet:getstat/1
  inet:parse_address/1
  inet:peername/1
  inet:sockname/1
  init:archive_extension/0
  init:get_argument/1
  init:script_id/0
  init:stop/1
  io:columns/0
  io:format/1
  io:format/2
  io:format/3
  io:fwrite/1
  io:fwrite/2
  io:fwrite/3
  io:put_chars/1
  io:put_chars/2
  io_lib:deep_char_list/1
  io_lib:format/2
  io_lib:fwrite/2
  io_lib:printable_list/1
  io_lib:write/1
  io_lib:write/2
  io_lib:write_atom/1
  io_lib_format:fwrite_g/1
  io_lib_pretty:print/6
  lager_default_tracer:info/1
  lib:format_exception/6
  lists:append/1
  lists:concat/1
  lists:duplicate/2
  lists:flatlength/1
  lists:keystore/4
  lists:keytake/3
  lists:prefix/2
  lists:seq/2
  lists:sublist/2
  lists:sublist/3
  lists:sum/1
  lists:ukeymerge/3
  lists:ukeysort/2
  maps:to_list/1
  math:cos/1
  math:exp/1
  math:log/1
  math:log10/1
  math:pi/0
  math:pow/2
  math:sqrt/1
  memsup:get_system_memory_data/0
  mochijson2:encode/1
  mustache:render/2
  net_adm:ping/1
  orddict:append/3
  orddict:append_list/3
  orddict:erase/2
  orddict:fetch_keys/1
  orddict:find/2
  orddict:fold/3
  orddict:merge/3
  orddict:new/0
  orddict:store/3
  orddict:update/4
  orddict:update_counter/3
  ordsets:add_element/2
  ordsets:del_element/2
  ordsets:from_list/1
  ordsets:intersection/2
  ordsets:is_element/2
  ordsets:new/0
  ordsets:subtract/2
  ordsets:union/2
  os:cmd/1
  os:getenv/1
  os:timestamp/0
  os:type/0
  prim_inet:getstatus/1
  prim_inet:gettype/1
  proc_lib:init_ack/2
  proc_lib:spawn/1
  proc_lib:start_link/3
  proplists:delete/2
  proplists:get_all_values/2
  proplists:get_bool/2
  proplists:get_keys/1
  proplists:get_value/2
  proplists:get_value/3
  proplists:is_defined/2
  proplists:lookup/2
  queue:filter/2
  queue:in/2
  queue:is_empty/1
  queue:len/1
  queue:member/2
  queue:new/0
  queue:out/1
  queue:to_list/1
  random:seed/0
  random:seed/1
  random:seed/3
  random:seed0/0
  random:uniform/0
  random:uniform/1
  random:uniform_s/2
  re:compile/1
  re:compile/2
  re:replace/4
  re:run/2
  re:run/3
  re:split/3
  rebar_config:get_local/3
  rebar_mustache:render/2
  rebar_rel_utils:get_target_dir/2
  rebar_rel_utils:is_rel_dir/0
  rebar_rel_utils:load_config/2
  release_handler:eval_appup_script/4
  rpc:call/4
  rpc:eval_everywhere/3
  rpc:multicall/3
  rpc:multicall/4
  rpc:multicall/5
  sets:add_element/2
  sets:del_element/2
  sets:from_list/1
  sets:is_element/2
  sets:new/0
  sets:size/1
  sets:to_list/1
  string:centre/2
  string:chr/2
  string:cspan/2
  string:join/2
  string:left/2
  string:left/3
  string:rchr/2
  string:right/2
  string:str/2
  string:strip/1
  string:strip/2
  string:sub_string/2
  string:sub_string/3
  string:substr/2
  string:substr/3
  string:to_lower/1
  string:tokens/2
  supervisor:delete_child/2
  supervisor:start_child/2
  supervisor:start_link/2
  supervisor:start_link/3
  supervisor:terminate_child/2
  supervisor:which_children/1
  sys:get_debug/3
  sys:handle_system_msg/6
  systools:make_script/2
  timer:apply_interval/4
  timer:cancel/1
  timer:now_diff/2
  timer:seconds/1
  timer:send_interval/2
  timer:sleep/1
  timer:tc/1
  timer:tc/2
  timer:tc/3
  unicode:characters_to_binary/1
  unicode:characters_to_binary/3
  unicode:characters_to_list/1
  unicode:characters_to_list/2
  xmerl:export_simple/2
  xmerl_html:'#element#'/5
  xmerl_lib:end_tag/1
  xmerl_lib:expand_element/1
  xmerl_lib:find_attribute/2
  xmerl_lib:mapxml/2
  xmerl_lib:start_tag/2
Unknown types:
  calendar:datetime/0
  erl_syntax:syntaxTree/0
  erlang:timestamp/0
  ets:comp_match_spec/0
  ets:match_spec/0
  ets:tab/0
  ets:tid/0
  file:date_time/0
  file:fd/0
  file:filename/0
  file:io_device/0
  file:name/0
  file:name_all/0
  file:posix/0
  hamcrest:matchspec/0
  meck_history:history_record/0
  orddict:orddict/0
  proplists:property/0
  proplists:proplist/0
  re:mp/0
  supervisor:child_spec/0
  timer:tref/0
  unicode:charlist/0
 done in 0m5.62s
done (passed successfully)
==> develop.f79eb14.dr-th_service-poc.bebbe2f (dialyzer)
  Checking whether the PLT /home/ubuntu/.combo_dialyzer_plt is up-to-date... yes
  Checking whether the PLT .local_dialyzer_plt is up-to-date... yes
  Compiling some key modules to native code... done in 0m8.50s
  Proceeding with analysis...
Unknown functions:
  cluster_info:format/3
  cluster_info:register_app/1
 done in 0m5.61s
done (passed successfully)





⬜ 0 of 2 Code reviews from organization basho

apply_callback({Mod, Fun, StaticArgs}, CallSpecificArgs) ->
%% Invoke the callback, passing static + call-specific args for this call
erlang:apply(Mod, Fun, StaticArgs ++ CallSpecificArgs).
Args = StaticArgs ++ CallSpecificArgs,
_ = case (catch erlang:apply(Mod, Fun, Args)) of
Copy link

@raghavkarol raghavkarol Feb 28, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

with catch, a throw(...) in erlang:apply(Mod, Fun, Args) matches Result and is indistinguishable from a return value. If this is not the intention, a try-catch should be used instead.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think that's suitable. The code in here is pretty much the example I sent John, and I thought about that situation while throwing it together. If we were to use a try/catch, we'd effectively be saying a return by throw is an error, when it has plenty of uses as a simple break out of a loop.

apply_callback({Mod, Fun, StaticArgs}, CallSpecificArgs) ->
%% Invoke the callback, passing static + call-specific args for this call
Args = StaticArgs ++ CallSpecificArgs,
_ = case (catch erlang:apply(Mod, Fun, Args)) of
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

_ = not needed because each case returns from the function

_ = case (catch erlang:apply(Mod, Fun, Args)) of
{'EXIT', {Reason, _Stack}}=Exit->
%% provider called erlang:error(Reason)
lager:warning("~p:~p/~B exited (~p)",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lager calls, otoh, can return structured results, so dialyzer will flag them when the option to check returns is on.

@macintux
Copy link
Contributor

macintux commented Feb 28, 2017

Test failure is interesting. Also interesting that the status box on this PR doesn't make it obvious that there is a failure with the build: #898 (comment)

The two new tests pass when running eunit on just the module locally, now trying eunit across entire project.

Update: they fail locally as well, which will make this easier to fix. Please no one provide a 2nd approval yet.

supervisor:start_link({local, ?SERVER}, ?MODULE, []).

start_service(Registration, Shutdown, Provider, Handler) ->
supervisor:start_child(?SERVER, [Registration, Shutdown, Provider, Handler]).
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this a valid way to start a child? http://erlang.org/doc/man/supervisor.html#start_child-2

Here's my failed attempt at a child spec:

    ChildSpec = {?SERVER, {riak_core_info_service_process, start_link, [Registration, Shutdown, Provider, Handler]}, permanent, 5000, worker, [riak_core_info_service_process]},
    supervisor:start_child(?SERVER, ChildSpec).

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

simple_one_for_one supervisors handle child specs differently. See the 4th paragraph in that section of the document.

These tests were failing when invoked as part of a larger suite due to
unrelated messages arriving from earlier tests.

* Flush the mailbox during setup
* Be more selective about which messages we process
* Add more comments
* Refactor away some boilerplate redundancy
@macintux
Copy link
Contributor

macintux commented Mar 1, 2017

Testing problem identified, fixed. Also some other cleanup on the tests. Ready for re-review.

@thumbot
Copy link

thumbot commented Mar 1, 2017

dr-th/service-poc 78fc65d ➡️ develop f79eb14 ✅ completed
Looks good! 👍
✅ MERGE

Started at: 2017-03-01 10:02
Duration: 1 seconds.
Result: OK
Message: Merge Success: dr-th/service-poc 78fc65d onto target branch: develop f79eb14
Exit Code: OK

📄







  Merge made by the 'recursive' strategy.
 src/riak_core_app.erl                  |  12 ++
 src/riak_core_info_service.erl         | 278 +++++++++++++++++++++++++++++++++
 src/riak_core_info_service_process.erl | 168 ++++++++++++++++++++
 src/riak_core_info_service_sup.erl     |  50 ++++++
 src/riak_core_sup.erl                  |   1 +
 src/riak_core_throttle.erl             |   2 +-
 6 files changed, 510 insertions(+), 1 deletion(-)
 create mode 100644 src/riak_core_info_service.erl
 create mode 100644 src/riak_core_info_service_process.erl
 create mode 100644 src/riak_core_info_service_sup.erl




✅ MAKE_CLEAN

Started at: 2017-03-01 10:02
Duration: 1 seconds.
Result: OK
Message: OK
Exit Code: 0

📄


cd /tmp/thumbs/develop.f79eb14.dr-th_service-poc.78fc65d; make clean




  ./rebar clean
==> develop.f79eb14.dr-th_service-poc.78fc65d (clean)





✅ MAKE_DEPS

Started at: 2017-03-01 10:02
Duration: 12 seconds.
Result: OK
Message: OK
Exit Code: 0

📄


cd /tmp/thumbs/develop.f79eb14.dr-th_service-poc.78fc65d; make deps




  ./rebar get-deps
==> develop.f79eb14.dr-th_service-poc.78fc65d (get-deps)
Pulling lager from {git,"git://github.com/basho/lager.git",{tag,"3.2.4"}}
Cloning into 'lager'...
Pulling poolboy from {git,"git://github.com/basho/poolboy.git",
                          {tag,"0.8.1p3"}}
Cloning into 'poolboy'...
Pulling basho_stats from {git,"git://github.com/basho/basho_stats.git",
                              {tag,"1.0.3"}}
Cloning into 'basho_stats'...
Pulling riak_sysmon from {git,"git://github.com/basho/riak_sysmon.git",
                              {tag,"2.1.4"}}
Cloning into 'riak_sysmon'...
Pulling eleveldb from {git,"git://github.com/basho/eleveldb.git",
                           {tag,"2.0.32"}}
Cloning into 'eleveldb'...
Pulling riak_ensemble from {git,"git://github.com/basho/riak_ensemble",
                                {tag,"2.1.6"}}
Cloning into 'riak_ensemble'...
Pulling pbkdf2 from {git,"git://github.com/basho/erlang-pbkdf2.git",
                         {tag,"2.0.0"}}
Cloning into 'pbkdf2'...
Pulling exometer_core from {git,"git://github.com/basho/exometer_core.git",
                                {tag,"1.0.0-basho9"}}
Cloning into 'exometer_core'...
Pulling clique from {git,"https://github.com/basho/clique.git",{tag,"0.3.8"}}
Cloning into 'clique'...
==> lager (get-deps)
Pulling goldrush from {git,"https://github.com/basho/goldrush.git",
                           {tag,"0.1.9"}}
Cloning into 'goldrush'...
==> goldrush (get-deps)
==> poolboy (get-deps)
==> basho_stats (get-deps)
==> riak_sysmon (get-deps)
Pulling cuttlefish from {git,"https://github.com/basho/cuttlefish.git",
                             {tag,"2.0.10"}}
Cloning into 'cuttlefish'...
==> cuttlefish (get-deps)
Pulling getopt from {git,"https://github.com/basho/getopt.git",{tag,"v0.8.2"}}
Cloning into 'getopt'...
Pulling neotoma from {git,"https://github.com/basho/neotoma.git",
                          {tag,"1.7.3"}}
Cloning into 'neotoma'...
==> getopt (get-deps)
==> neotoma (get-deps)
==> eleveldb (get-deps)
Cloning into 'leveldb'...
Note: checking out '2.0.31'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b new_branch_name

HEAD is now at e6a2939... add (int) cast to fix compile errors on 10 of 16 platforms ... argh.
==> riak_ensemble (get-deps)
==> pbkdf2 (get-deps)
==> src (get-deps)
==> exometer_core (get-deps)
Pulling parse_trans from {git,"git://github.com/basho/parse_trans.git",
                              {tag,"2.9.2p1"}}
Cloning into 'parse_trans'...
Pulling folsom from {git,"git://github.com/basho/folsom.git",{tag,"0.7.4p5"}}
Cloning into 'folsom'...
Pulling setup from {git,"git://github.com/basho/setup.git",{tag,"1.4"}}
Cloning into 'setup'...
==> parse_trans (get-deps)
Pulling edown from {git,"git://github.com/basho/edown.git",{tag,"0.8.1"}}
Cloning into 'edown'...
==> edown (get-deps)
==> folsom (get-deps)
Pulling bear from {git,"git://github.com/basho/bear.git",{tag,"0.1.3p1"}}
Cloning into 'bear'...
Pulling meck from {git,"git://github.com/basho/meck.git",{tag,"0.8.2"}}
Cloning into 'meck'...
==> bear (get-deps)
==> meck (get-deps)
==> setup (get-deps)
==> clique (get-deps)





✅ MAKE_COMPILE

Started at: 2017-03-01 10:03
Duration: 32 seconds.
Result: OK
Message: OK
Exit Code: 0

📄


cd /tmp/thumbs/develop.f79eb14.dr-th_service-poc.78fc65d; make compile




  
  
... Snipped 636 lines ...
d -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY  -DLEVELDB_VSN="2.0.31" -O2 -g -DNDEBUG     -fPIC tools/perf_dump.cc -o perf_dump -L . -Wl,-non_shared -lleveldb -Wl,-call_shared -m64  -L/tmp/thumbs/develop.f79eb14.dr-th_service-poc.78fc65d/deps/eleveldb/c_src/system/lib -pthread -lrt -Wl,-non_shared -lsnappy -Wl,-call_shared
c++ -m64  -Wall -O3 -fPIC -I /tmp/thumbs/develop.f79eb14.dr-th_service-poc.78fc65d/deps/eleveldb/c_src/system/include -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY  -DLEVELDB_VSN="2.0.31" -O2 -g -DNDEBUG     -fPIC tools/sst_rewrite.cc -o sst_rewrite -L . -Wl,-non_shared -lleveldb -Wl,-call_shared -m64  -L/tmp/thumbs/develop.f79eb14.dr-th_service-poc.78fc65d/deps/eleveldb/c_src/system/lib -pthread -lrt -Wl,-non_shared -lsnappy -Wl,-call_shared
c++ -m64  -Wall -O3 -fPIC -I /tmp/thumbs/develop.f79eb14.dr-th_service-poc.78fc65d/deps/eleveldb/c_src/system/include -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY  -DLEVELDB_VSN="2.0.31" -O2 -g -DNDEBUG     -fPIC tools/sst_scan.cc -o sst_scan -L . -Wl,-non_shared -lleveldb -Wl,-call_shared -m64  -L/tmp/thumbs/develop.f79eb14.dr-th_service-poc.78fc65d/deps/eleveldb/c_src/system/lib -pthread -lrt -Wl,-non_shared -lsnappy -Wl,-call_shared
make[1]: Leaving directory `/tmp/thumbs/develop.f79eb14.dr-th_service-poc.78fc65d/deps/eleveldb/c_src/leveldb'
Compiled src/eleveldb_bump.erl
Compiled src/eleveldb.erl
Compiling c_src/eleveldb.cc
Compiling c_src/refobjects.cc
Compiling c_src/workitems.cc
==> riak_ensemble (compile)
Compiled src/riak_ensemble_backend.erl
Compiled src/riak_ensemble_sup.erl
Compiled src/synctree_orddict.erl
Compiled src/riak_ensemble_client.erl
Compiled src/riak_ensemble_router.erl
Compiled src/riak_ensemble_config.erl
Compiled src/riak_ensemble_router_sup.erl
Compiled src/synctree.erl
Compiled src/riak_ensemble_lease.erl
Compiled src/riak_ensemble_test.erl
Compiled src/synctree_leveldb.erl
Compiled src/riak_ensemble_manager.erl
Compiled src/riak_ensemble_root.erl
Compiled src/riak_ensemble_exchange.erl
Compiled src/riak_ensemble_save.erl
Compiled src/riak_ensemble_clock.erl
Compiled src/riak_ensemble_peer_worker.erl
Compiled src/riak_ensemble_app.erl
Compiled src/riak_ensemble_basic_backend.erl
Compiled src/riak_ensemble_state.erl
Compiled src/riak_ensemble_peer_tree.erl
Compiled src/riak_ensemble_storage.erl
Compiled src/riak_ensemble_peer_sup.erl
Compiled src/synctree_ets.erl
Compiled src/riak_ensemble_util.erl
Compiled src/riak_ensemble_msg.erl
Compiled src/riak_ensemble_peer.erl
Compiling c_src/riak_ensemble_clock.c
==> pbkdf2 (compile)
Compiled src/pbkdf2.erl
==> edown (compile)
Compiled src/edown_make.erl
Compiled src/edown_lib.erl
Compiled src/edown_doclet.erl
Compiled src/edown_xmerl.erl
Compiled src/edown_layout.erl
==> parse_trans (compile)
Compiled src/parse_trans.erl
Compiled src/parse_trans_pp.erl
Compiled src/parse_trans_codegen.erl
Compiled src/parse_trans_mod.erl
Compiled src/ct_expand.erl
Compiled src/exprecs.erl
==> bear (compile)
Compiled src/bear.erl
==> meck (compile)
Compiled src/meck_cover.erl
Compiled src/meck_expect.erl
Compiled src/meck_matcher.erl
Compiled src/meck_args_matcher.erl
Compiled src/meck_history.erl
Compiled src/meck.erl
Compiled src/meck_code_gen.erl
Compiled src/meck_util.erl
Compiled src/meck_code.erl
Compiled src/meck_ret_spec.erl
Compiled src/meck_proc.erl
==> folsom (compile)
Compiled src/folsom_sample_slide_sup.erl
Compiled src/folsom_sample_slide.erl
Compiled src/folsom_metrics_histogram.erl
Compiled src/folsom_ewma.erl
Compiled src/folsom_sample_none.erl
Compiled src/folsom_sample_exdec.erl
Compiled src/folsom_metrics_histogram_ets.erl
Compiled src/folsom_metrics_duration.erl
Compiled src/folsom.erl
Compiled src/folsom_sample.erl
Compiled src/folsom_metrics_meter_reader.erl
Compiled src/folsom_metrics.erl
Compiled src/folsom_vm_metrics.erl
Compiled src/folsom_sample_slide_uniform.erl
Compiled src/folsom_metrics_counter.erl
Compiled src/folsom_metrics_spiral.erl
Compiled src/folsom_meter_timer_server.erl
Compiled src/folsom_metrics_history.erl
Compiled src/folsom_sample_slide_server.erl
Compiled src/folsom_ets.erl
Compiled src/folsom_sup.erl
Compiled src/folsom_metrics_gauge.erl
Compiled src/folsom_utils.erl
Compiled src/folsom_metrics_meter.erl
Compiled src/folsom_sample_uniform.erl
==> setup (compile)
Compiled src/setup_lib.erl
Compiled src/setup_gen.erl
Compiled src/setup.erl
==> edown (escriptize)
==> setup (escriptize)
==> src (compile)
==> exometer_core (compile)
Compiled src/exometer_igor.erl
Compiled src/exometer_util.erl
Compiled src/exometer_entry.erl
Compiled src/exometer_probe.erl
Compiled src/exometer_report.erl
Compiled src/exometer_folsom_monitor.erl
Compiled src/exometer_folsom.erl
Compiled src/exometer_report_lager.erl
Compiled src/exometer_duration.erl
Compiled src/exometer_function.erl
Compiled src/exometer_core_sup.erl
Compiled src/exometer_slide.erl
Compiled src/exometer_slot_slide.erl
Compiled src/exometer_report_tty.erl
Compiled src/exometer_proc.erl
Compiled src/exo_montest.erl
Compiled src/exometer_cache.erl
Compiled src/exometer_spiral.erl
Compiled src/exometer_cpu.erl
Compiled src/exometer_alias.erl
Compiled src/exometer_shallowtree.erl
Compiled src/exometer_admin.erl
Compiled src/exometer_uniform.erl
Compiled src/exometer.erl
Compiled src/exometer_info.erl
Compiled src/exometer_core_app.erl
Compiled src/exometer_histogram.erl
==> clique (compile)
Compiled src/clique_writer.erl
Compiled src/clique_handler.erl
Compiled src/clique_test_group_leader.erl
Compiled src/clique_table.erl
Compiled src/clique_json_writer.erl
Compiled src/clique_config.erl
Compiled src/clique.erl
Compiled src/clique_status.erl
Compiled src/clique_typecast.erl
Compiled src/clique_human_writer.erl
Compiled src/clique_usage.erl
Compiled src/clique_error.erl
Compiled src/clique_manager.erl
Compiled src/clique_nodes.erl
Compiled src/clique_app.erl
Compiled src/clique_sup.erl
Compiled src/clique_csv_writer.erl
Compiled src/clique_parser.erl
Compiled src/clique_command.erl
Compiled src/clique_spec.erl
==> develop.f79eb14.dr-th_service-poc.78fc65d (compile)
Compiled src/gen_nb_server.erl
Compiled src/riak_core_gen_server.erl
Compiled src/riak_core_stat_xform.erl
Compiled src/riak_core_broadcast_handler.erl
Compiled src/riak_core_vnode_worker_pool.erl
Compiled src/chash.erl
Compiled src/riak_core_format.erl
Compiled src/riak_core_broadcast.erl
Compiled src/riak_core_ring_manager.erl
Compiled src/riak_core_dist_mon.erl
Compiled src/riak_core_handoff_sender_sup.erl
Compiled src/chashbin.erl
Compiled src/riak_core_vnode_proxy.erl
Compiled src/riak_core_status.erl
Compiled src/riak_core_repair.erl
Compiled src/riak_core_metadata_exchange_fsm.erl
Compiled src/riak_core_claim_sim.erl
Compiled src/riak_core_mochiglobal.erl
Compiled src/dvvset.erl
Compiled src/riak_core_vnode_manager.erl
Compiled src/riak_core_bucket.erl
Compiled src/vclock.erl
Compiled src/riak_core_bg_manager.erl
Compiled src/riak_core_node_watcher.erl
Compiled src/riak_core_dtrace.erl
Compiled src/riak_core_tracer.erl
Compiled src/riak_core_vnode_sup.erl
Compiled src/riak_core_test_util.erl
Compiled src/riak_core_sup.erl
Compiled src/riak_core_handoff_sup.erl
Compiled src/riak_core_nodeid.erl
Compiled src/riak_core_vnode_proxy_sup.erl
Compiled src/riak_core_stat.erl
Compiled src/hashtree.erl
Compiled src/riak_core_cli_registry.erl
Compiled src/riak_core_tcp_mon.erl
Compiled src/riak_core_handoff_listener.erl
Compiled src/riak_core_stat_calc_sup.erl
Compiled src/riak_core_app.erl
Compiled src/riak_core_util.erl
Compiled src/riak_core_ring_util.erl
Compiled src/riak_core_console_table.erl
Compiled src/riak_core_cinfo_core.erl
Compiled src/supervisor_pre_r14b04.erl
Compiled src/riak_core_cluster_cli.erl
Compiled src/riak_core_net_ticktime.erl
Compiled src/riak_core_ring.erl
Compiled src/riak_core_coverage_plan.erl
Compiled src/riak_core_send_msg.erl
Compiled src/riak_core_throttle.erl
Compiled src/riak_core_metadata.erl
Compiled src/riak_core_stat_q.erl
Compiled src/hashtree_tree.erl
Compiled src/riak_core_table_owner.erl
Compiled src/riak_core_vnode_master.erl
Compiled src/process_proxy.erl
Compiled src/riak_core_ring_handler.erl
Compiled src/riak_core_exo_monitor.erl
Compiled src/riak_core_claim_util.erl
Compiled src/riak_core_stat_calc_proc.erl
Compiled src/riak_core_eventhandler_sup.erl
Compiled src/riak_core_metadata_object.erl
Compiled src/riak_core_handoff_listener_sup.erl
Compiled src/riak_core_sysmon_minder.erl
Compiled src/riak_core_pw_auth.erl
Compiled src/app_helper.erl
Compiled src/riak_core_stat_sup.erl
Compiled src/riak_core_node_watcher_events.erl
Compiled src/riak_core_sysmon_handler.erl
Compiled src/riak_core_handoff_cli.erl
Compiled src/riak_core_console.erl
Compiled src/riak_core_metadata_manager.erl
Compiled src/riak_core_bucket_props.erl
Compiled src/riak_core_info_service_sup.erl
Compiled src/riak_core_vnode_worker.erl
Compiled src/riak_core_metadata_hashtree.erl
Compiled src/bloom.erl
Compiled src/riak_core_handoff_status.erl
Compiled src/riak_core_handoff_sender.erl
Compiled src/riak_core_gossip.erl
Compiled src/riak_core_ring_events.erl
Compiled src/riak_core_coverage_fsm.erl
Compiled src/riak_core_claimant.erl
Compiled src/riak_core_ssl_util.erl
Compiled src/riak_core_stats_sup.erl
Compiled src/riak_core_bucket_type.erl
Compiled src/riak_core_security.erl
Compiled src/riak_core_handoff_receiver_sup.erl
Compiled src/riak_core_handoff_receiver.erl
Compiled src/riak_core_info_service.erl
Compiled src/riak_core_claim.erl
Compiled src/riak_core_new_claim.erl
Compiled src/riak_core_stat_cache.erl
Compiled src/riak_core_handoff_manager.erl
Compiled src/riak_core.erl
Compiled src/riak_core_apl.erl
Compiled src/riak_core_vnode.erl
Compiled src/riak_core_priority_queue.erl
Compiled src/riak_core_capability.erl
Compiled src/riak_core_eventhandler_guard.erl
Compiled src/riak_core_info_service_process.erl
Compiled src/riak_core_base64url.erl





✅ MAKE_TEST

Started at: 2017-03-01 10:03
Duration: 586 seconds.
Result: OK
Message: OK
Exit Code: 0

📄


cd /tmp/thumbs/develop.f79eb14.dr-th_service-poc.78fc65d; make test




  
  
... Snipped 1307 lines ...
terminate/7 line 622
10:12:01.567 [error] Supervisor riak_core_vnode_sup had child undefined started with {riak_core_vnode,start_link,undefined} at <0.25229.0> exit with reason core_breach in context child_terminated
10:12:01.637 [info] Application lager started on node nonode@nohost
  sync_command_test: sync_test_ (Assert non-blocking sync error)...ok
10:12:01.637 [error] CRASH REPORT Process <0.25264.0> with 0 neighbours exited with reason: {{already_started,<0.6778.0>},{exometer_core_app,start,[normal,[]]}} in application_master:init/4 line 133
10:12:01.637 [info] Application exometer_core exited with reason: {{already_started,<0.6778.0>},{exometer_core_app,start,[normal,[]]}}
10:12:01.641 [error] mock_vnode command failed {core_breach,[{mock_vnode,handle_command,3,[{file,"test/mock_vnode.erl"},{line,131}]},{riak_core_vnode,vnode_command,3,[{file,"src/riak_core_vnode.erl"},{line,346}]},{gen_fsm,handle_msg,7,[{file,"gen_fsm.erl"},{line,505}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,239}]}]}
10:12:01.641 [error] gen_fsm <0.25273.0> in state active terminated with reason: core_breach in mock_vnode:handle_command/3 line 131
10:12:01.641 [error] CRASH REPORT Process <0.25273.0> with 0 neighbours exited with reason: core_breach in mock_vnode:handle_command/3 line 131 in gen_fsm:terminate/7 line 622
10:12:01.641 [error] Supervisor riak_core_vnode_sup had child undefined started with {riak_core_vnode,start_link,undefined} at <0.25273.0> exit with reason core_breach in mock_vnode:handle_command/3 line 131 in context child_terminated
10:12:01.680 [info] Application lager started on node nonode@nohost
  sync_command_test: sync_test_ (Assert non-blocking sync exit)...10:12:01.680 [error] CRASH REPORT Process <0.25310.0> with 0 neighbours exited with reason: {{already_started,<0.6778.0>},{exometer_core_app,start,[normal,[]]}} in application_master:init/4 line 133
10:12:01.680 [info] Application exometer_core exited with reason: {{already_started,<0.6778.0>},{exometer_core_app,start,[normal,[]]}}
ok
10:12:01.684 [error] mock_vnode command failed core_breach
10:12:01.684 [error] gen_fsm <0.25319.0> in state active terminated with reason: core_breach
10:12:01.684 [error] CRASH REPORT Process <0.25319.0> with 0 neighbours exited with reason: core_breach in gen_fsm:terminate/7 line 622
10:12:01.684 [error] Supervisor riak_core_vnode_sup had child undefined started with {riak_core_vnode,start_link,undefined} at <0.25319.0> exit with reason core_breach in context child_terminated
  [done in 0.330 s]
module 'riak_core_ssl_util'
module 'riak_core_handoff_receiver'
module 'riak_core_ring_handler'
module 'test_guarded_event_handler'
  test_guarded_event_handler: guarded_handler_test_...[0.101 s] ok
  [done in 0.104 s]
module 'riak_core_vnode_worker'
module 'riak_core_handoff_manager'
  riak_core_handoff_manager:674: handoff_test_...ok
  riak_core_handoff_manager:675: handoff_test_...ok
  [done in 0.007 s]
module 'riak_core_dtrace'
  riak_core_dtrace: timeit_naive_test...timeit_naive                 average     1.460 usec/call over     500.0 calls
[0.013 s] ok
  riak_core_dtrace: timeit_mochiglobal_test...timeit_mochiglobal           average     2.367 usec/call over  225000.0 calls
[0.546 s] ok
Skipping timeit_best_on test: no DTrace/SystemTap is available
  riak_core_dtrace: timeit_best_off_test...ok
  riak_core_dtrace: timeit_best_onfalse_test...Skipping timeit_best_on test: no DTrace/SystemTap is available
ok
  riak_core_dtrace: timeit_best_ontrue_test...Skipping timeit_best_on test: no DTrace/SystemTap is available
NOTE: cover analysis will skew results.  Run without cover for true timings.
ok
  riak_core_dtrace: last_test...ok
  [done in 0.577 s]
riak_core_format: human_time_fmt_test (module 'riak_core_format')...ok
module 'riak_core_metadata_exchange_fsm'
module 'worker_pool_test'
  worker_pool_test: pool_test_...[1.201 s] ok
  worker_pool_test: pool_test_...[1.201 s] ok
  [done in 2.408 s]
module 'riak_core_vnode_master'
module 'riak_core_cluster_cli'
module 'riak_core_metadata_manager'
module 'claim_simulation'
module 'riak_core_claim'
  riak_core_claim: wants_claim_test...[0.004 s] ok
  riak_core_claim: find_biggest_hole_test...ok
  riak_core_claim: prop_claim_ensures_unique_nodes_v2_test_.......................................................................................................
OK, passed 100 tests
[1.932 s] ok
  riak_core_claim: prop_claim_ensures_unique_nodes_v3_test_........
OK, passed 5 tests
[15.310 s] ok
  riak_core_claim: wants_counts_test.......................................................................................................
OK, passed 100 tests
[0.008 s] ok
  riak_core_claim: wants_test.......................................................................................................
OK, passed 100 tests
[0.091 s] ok
  riak_core_claim: take_idxs_test.......................................................................................................
OK, passed 100 tests
[0.059 s] ok
  [done in 17.425 s]
module 'riak_core_info_service'
  riak_core_info_service: exception_test...
=ERROR REPORT==== 1-Mar-2017::10:12:22 ===
** Generic server <0.27043.0> terminating 
** Last message in was {invoke,[],'_waydownwego'}
** When Server state == {state,
                            {riak_core_info_service,register,
                                [<0.1559.0>,exception_test]},
                            {riak_core_ring,fresh,[64,a_node]},
                            {riak_core_info_service,crashme,[]},
                            {riak_core_info_service,shutdown,
                                [<0.1559.0>,exception_test]}}
** Reason for termination == 
** response_handler_failure
[0.051 s] ok
  riak_core_info_service: receive_ring_test...[0.051 s] ok
  [done in 0.108 s]
vclock_qc:21: eqc_test_ (module 'vclock_qc').......................................................................................................(x10)...............................................................(x1)...
Time limit reached: 20.0 seconds.

OK, passed 733 tests

45.89% 0
24.59% 1
13.23% 2
7.81% 3
5.19% 4
3.30% 5

11.157% {vclock_qc,fresh,0}
11.042% {vclock_qc,timestamp,0}
9.870% {vclock_qc,dominates,2}
9.812% {vclock_qc,get_counter,2}
9.773% {vclock_qc,increment,2}
9.769% {vclock_qc,get_timestamp,2}
9.744% {vclock_qc,descends,2}
9.662% {vclock_qc,descends_dot,3}
9.626% {vclock_qc,merge,1}
9.546% {vclock_qc,get_dot,2}

44.2% {num_vclocks_div_10,0}
21.1% {num_vclocks_div_10,1}
10.5% {num_vclocks_div_10,2}
7.9% {num_vclocks_div_10,3}
5.3% {num_vclocks_div_10,4}
3.0% {num_vclocks_div_10,7}
2.7% {num_vclocks_div_10,5}
1.0% {num_vclocks_div_10,9}
0.8% {num_vclocks_div_10,13}
0.8% {num_vclocks_div_10,8}
0.8% {num_vclocks_div_10,6}
0.5% {num_vclocks_div_10,11}
0.5% {num_vclocks_div_10,10}
0.1% {num_vclocks_div_10,23}
0.1% {num_vclocks_div_10,17}
0.1% {num_vclocks_div_10,16}
0.1% {num_vclocks_div_10,15}
0.1% {num_vclocks_div_10,12}
[20.559 s] ok
module 'riak_core_send_msg'
riak_core_bucket: simple_set_test (module 'riak_core_bucket')...[0.004 s] ok
module 'riak_core_handoff_sender_sup'
module 'riak_core_coverage_plan'
module 'riak_core_eventhandler_sup'
module 'riak_core_repair'
module 'bucket_eqc_utils'
module 'vclock'
  vclock: example_test...ok
  vclock: prune_small_test...ok
  vclock: prune_young_test...ok
  vclock: prune_big_test...ok
  vclock: prune_old_test...ok
  vclock: prune_order_test...ok
  vclock: accessor_test...ok
  vclock: merge_test...ok
  vclock: merge_less_left_test...ok
  vclock: merge_less_right_test...ok
  vclock: merge_same_id_test...ok
  vclock: get_entry_test...ok
  vclock: valid_entry_test...ok
  [done in 0.039 s]
module 'riak_core_ring_manager'
  riak_core_ring_manager: back_test...ok
  riak_core_ring_manager: prune_list_test...ok
  riak_core_ring_manager: set_ring_global_test...[0.007 s] ok
  riak_core_ring_manager: set_my_ring_test...[0.006 s] ok
  riak_core_ring_manager: refresh_my_ring_test...ok
  riak_core_ring_manager: do_write_ringfile_test...[0.022 s] ok
  riak_core_ring_manager: is_stable_ring_test...ok
  [done in 0.056 s]
module 'riak_core_handoff_sup'
module 'riak_core_capability'
  riak_core_capability_tests: basic_test (module 'riak_core_capability_tests')...ok
  [done in 0.004 s]
module 'riak_core_handoff_cli'
module 'riak_core_broadcast_handler'
module 'mock_vnode'
module 'bloom'
  bloom: fixed_case_test_...[1.048 s] ok
  bloom: bloom_test...[0.655 s] ok
  [done in 1.710 s]
module 'riak_core_vnode_sup'
module 'process_proxy'
module 'riak_core_dist_mon'
module 'riak_core_bucket_type'
module 'riak_core_gossip'
module 'app_helper'
  app_helper: app_helper_test_...ok
  app_helper: app_helper_test_...ok
  app_helper: app_helper_test_...ok
  app_helper: app_helper_test_...ok
  app_helper: app_helper_test_...ok
  app_helper: app_helper_test_...ok
  [done in 0.018 s]
module 'bg_manager_tests'
  bg_manager_tests: bg_mgr_test_ (set/get token rates + verify rates)...[0.001 s] ok
  bg_manager_tests: bg_mgr_test_ (crash token manager + verify rates persist)...[0.303 s] ok
  bg_manager_tests: bg_mgr_test_ (lock/token separation)...ok
  bg_manager_tests: bg_mgr_test_ (failing crash/revive EQC test case)...[0.303 s] ok
  bg_manager_tests: bg_mgr_test_ (bypass API)...ok
  [done in 0.622 s]
module 'riak_core_schema_tests'
  riak_core_schema_tests: basic_schema_test...[0.074 s] ok
  riak_core_schema_tests: invalid_states_test...[0.032 s] ok
  riak_core_schema_tests: default_bucket_properties_test...[0.032 s] ok
  riak_core_schema_tests: override_schema_test...[0.033 s] ok
  [done in 0.183 s]
=======================================================
  All 435 tests passed.
Cover analysis: /tmp/thumbs/develop.f79eb14.dr-th_service-poc.78fc65d/.eunit/index.html

=INFO REPORT==== 1-Mar-2017::10:13:27 ===
    application: ssl
    exited: stopped
    type: temporary

=INFO REPORT==== 1-Mar-2017::10:13:27 ===
    application: inets
    exited: killed
    type: temporary





✅ MAKE_XREF

Started at: 2017-03-01 10:13
Duration: 5 seconds.
Result: OK
Message: OK
Exit Code: 0

📄


cd /tmp/thumbs/develop.f79eb14.dr-th_service-poc.78fc65d; make xref




  ./rebar get-deps
==> goldrush (get-deps)
==> lager (get-deps)
==> poolboy (get-deps)
==> basho_stats (get-deps)
==> getopt (get-deps)
==> neotoma (get-deps)
==> cuttlefish (get-deps)
==> riak_sysmon (get-deps)
==> eleveldb (get-deps)
==> riak_ensemble (get-deps)
==> pbkdf2 (get-deps)
==> edown (get-deps)
==> parse_trans (get-deps)
==> bear (get-deps)
==> meck (get-deps)
==> folsom (get-deps)
==> setup (get-deps)
==> src (get-deps)
==> exometer_core (get-deps)
==> clique (get-deps)
==> develop.f79eb14.dr-th_service-poc.78fc65d (get-deps)
./rebar compile
==> goldrush (compile)
==> lager (compile)
==> poolboy (compile)
==> basho_stats (compile)
==> getopt (compile)
==> neotoma (compile)
==> cuttlefish (compile)
==> getopt (escriptize)
==> goldrush (escriptize)
==> lager (escriptize)
==> neotoma (escriptize)
==> cuttlefish (escriptize)
==> riak_sysmon (compile)
==> eleveldb (compile)
make[1]: Entering directory `/tmp/thumbs/develop.f79eb14.dr-th_service-poc.78fc65d/deps/eleveldb/c_src/leveldb'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/tmp/thumbs/develop.f79eb14.dr-th_service-poc.78fc65d/deps/eleveldb/c_src/leveldb'
make[1]: Entering directory `/tmp/thumbs/develop.f79eb14.dr-th_service-poc.78fc65d/deps/eleveldb/c_src/leveldb'
make[1]: Nothing to be done for `tools'.
make[1]: Leaving directory `/tmp/thumbs/develop.f79eb14.dr-th_service-poc.78fc65d/deps/eleveldb/c_src/leveldb'
==> riak_ensemble (compile)
==> pbkdf2 (compile)
==> edown (compile)
==> parse_trans (compile)
==> bear (compile)
==> meck (compile)
==> folsom (compile)
==> setup (compile)
==> edown (escriptize)
==> setup (escriptize)
==> src (compile)
==> exometer_core (compile)
==> clique (compile)
==> develop.f79eb14.dr-th_service-poc.78fc65d (compile)
./rebar xref skip_deps=true
WARN:  Ignoring sub_dirs for /tmp/thumbs/develop.f79eb14.dr-th_service-poc.78fc65d/deps/exometer_core
==> develop.f79eb14.dr-th_service-poc.78fc65d (xref)





✅ MAKE_DIALYZER

Started at: 2017-03-01 10:13
Duration: 41 seconds.
Result: OK
Message: OK
Exit Code: 0

📄


cd /tmp/thumbs/develop.f79eb14.dr-th_service-poc.78fc65d; make dialyzer




  
  
... Snipped 181 lines ...
ax:abstract/1
  erl_syntax:application/2
  erl_syntax:application/3
  erl_syntax:application_arguments/1
  erl_syntax:arity_qualifier/2
  erl_syntax:arity_qualifier_argument/1
  erl_syntax:arity_qualifier_body/1
  erl_syntax:atom/1
  erl_syntax:atom_value/1
  erl_syntax:attribute/2
  erl_syntax:attribute_arguments/1
  erl_syntax:attribute_name/1
  erl_syntax:case_expr/2
  erl_syntax:catch_expr/1
  erl_syntax:clause/2
  erl_syntax:clause/3
  erl_syntax:clause_patterns/1
  erl_syntax:fun_expr_clauses/1
  erl_syntax:function/2
  erl_syntax:function_clauses/1
  erl_syntax:generator/2
  erl_syntax:generator_body/1
  erl_syntax:generator_pattern/1
  erl_syntax:get_pos/1
  erl_syntax:implicit_fun/2
  erl_syntax:implicit_fun_name/1
  erl_syntax:integer/1
  erl_syntax:integer_value/1
  erl_syntax:list/1
  erl_syntax:list_comp/2
  erl_syntax:list_comp_body/1
  erl_syntax:list_comp_template/1
  erl_syntax:list_elements/1
  erl_syntax:match_expr/2
  erl_syntax:revert/1
  erl_syntax:revert_forms/1
  erl_syntax:string/1
  erl_syntax:string_value/1
  erl_syntax:subtrees/1
  erl_syntax:tuple/1
  erl_syntax:tuple_elements/1
  erl_syntax:type/1
  erl_syntax:underscore/0
  erl_syntax:update_tree/2
  erl_syntax:variable/1
  erl_syntax:variable_name/1
  erl_syntax_lib:analyze_application/1
  erl_syntax_lib:analyze_forms/1
  erl_syntax_lib:analyze_function/1
  erl_syntax_lib:map/2
  erl_syntax_lib:variables/1
  erlang:append_element/2
  erlang:atom_to_binary/2
  erlang:atom_to_list/1
  erlang:binary_to_atom/2
  erlang:binary_to_existing_atom/2
  erlang:binary_to_list/1
  erlang:binary_to_list/3
  erlang:binary_to_term/1
  erlang:bitstring_to_list/1
  erlang:bump_reductions/1
  erlang:cancel_timer/1
  erlang:crc32/1
  erlang:demonitor/1
  erlang:demonitor/2
  erlang:erase/1
  erlang:exit/2
  erlang:float_to_list/1
  erlang:float_to_list/2
  erlang:fun_info/2
  erlang:fun_to_list/1
  erlang:function_exported/3
  erlang:garbage_collect/0
  erlang:get/1
  erlang:get_module_info/1
  erlang:get_module_info/2
  erlang:get_stacktrace/0
  erlang:group_leader/0
  erlang:group_leader/2
  erlang:integer_to_list/1
  erlang:iolist_size/1
  erlang:iolist_to_binary/1
  erlang:is_alive/0
  erlang:is_builtin/3
  erlang:is_map/1
  erlang:is_process_alive/1
  erlang:link/1
  erlang:list_to_atom/1
  erlang:list_to_binary/1
  erlang:list_to_existing_atom/1
  erlang:list_to_float/1
  erlang:list_to_integer/1
  erlang:list_to_tuple/1
  erlang:load_nif/2
  erlang:localtime/0
  erlang:make_fun/3
  erlang:make_ref/0
  erlang:map_size/1
  erlang:max/2
  erlang:min/2
  erlang:monitor/2
  erlang:now/0
  erlang:phash2/1
  erlang:phash2/2
  erlang:pid_to_list/1
  erlang:port_info/1
  erlang:port_info/2
  erlang:port_to_list/1
  erlang:ports/0
  erlang:process_flag/2
  erlang:process_info/2
  erlang:processes/0
  erlang:put/2
  erlang:raise/3
  erlang:ref_to_list/1
  erlang:register/2
  erlang:registered/0
  erlang:send/2
  erlang:send/3
  erlang:send_after/3
  erlang:spawn_link/3
  erlang:spawn_monitor/1
  erlang:split_binary/2
  erlang:start_timer/3
  erlang:statistics/1
  erlang:system_monitor/0
  erlang:system_monitor/2
  erlang:term_to_binary/1
  erlang:trace_info/2
  erlang:trace_pattern/3
  erlang:universaltime/0
  erlang:unlink/1
  erlang:whereis/1
  error_logger:add_report_handler/1
  error_logger:delete_report_handler/1
  error_logger:error_msg/1
  error_logger:error_msg/2
  error_logger:format/2
  error_logger:info_msg/2
  error_logger:info_report/1
  error_logger:warning_msg/1
  escript:script_name/0
  ets:all/0
  ets:delete/1
  ets:delete/2
  ets:delete_all_objects/1
  ets:delete_object/2
  ets:first/1
  ets:foldl/3
  ets:give_away/3
  ets:info/1
  ets:info/2
  ets:insert/2
  ets:insert_new/2
  ets:last/1
  ets:lookup/2
  ets:lookup_element/3
  ets:match/2
  ets:match_spec_compile/1
  ets:match_spec_run/2
  ets:member/2
  ets:new/2
  ets:next/2
  ets:prev/2
  ets:select/1
  ets:select/2
  ets:select/3
  ets:select_count/2
  ets:select_delete/2
  ets:select_reverse/3
  ets:setopts/2
  ets:tab2list/1
  ets:update_counter/3
  ets:update_element/3
  eunit:test/1
  file:close/1
  file:consult/1
  file:datasync/1
  file:delete/1
  file:format_error/1
  file:get_cwd/0
  file:list_dir/1
  file:make_dir/1
  file:open/2
  file:read/2
  file:read_file/1
  file:read_file_info/1
  file:rename/2
  file:script/1
  file:script/2
  file:set_cwd/1
  file:sync/1
  file:write/2
  file:write_file/2
  filelib:ensure_dir/1
  filelib:is_dir/1
  filelib:is_file/1
  filelib:is_regular/1
  filelib:wildcard/1
  filelib:wildcard/2
  filename:absname/1
  filename:append/2
  filename:basename/1
  filename:basename/2
  filename:dirname/1
  filename:extension/1
  filename:join/1
  filename:join/2
  filename:split/1
  gb_trees:empty/0
  gb_trees:enter/3
  gb_trees:from_orddict/1
  gb_trees:get/2
  gb_trees:iterator/1
  gb_trees:lookup/2
  gb_trees:next/1
  gb_trees:size/1
  gen_event:add_sup_handler/3
  gen_event:call/3
  gen_event:call/4
  gen_event:delete_handler/3
  gen_event:notify/2
  gen_event:sync_notify/2
  gen_event:which_handlers/1
  gen_fsm:cancel_timer/1
  gen_fsm:reply/2
  gen_fsm:send_all_state_event/2
  gen_fsm:send_event/2
  gen_fsm:send_event_after/2
  gen_fsm:start/3
  gen_fsm:start_link/3
  gen_fsm:sync_send_all_state_event/2
  gen_fsm:sync_send_all_state_event/3
  gen_fsm:sync_send_event/2
  gen_fsm:sync_send_event/3
  gen_server:call/2
  gen_server:call/3
  gen_server:cast/2
  gen_server:reply/2
  gen_server:start/3
  gen_server:start/4
  gen_server:start_link/3
  gen_server:start_link/4
  hamcrest:assert_that/2
  hamcrest:is_matcher/1
  igor:parse_transform/2
  inet:getopts/2
  inet:getstat/1
  inet:parse_address/1
  inet:peername/1
  inet:sockname/1
  init:archive_extension/0
  init:get_argument/1
  init:script_id/0
  init:stop/1
  io:columns/0
  io:format/1
  io:format/2
  io:format/3
  io:fwrite/1
  io:fwrite/2
  io:fwrite/3
  io:put_chars/1
  io:put_chars/2
  io_lib:deep_char_list/1
  io_lib:format/2
  io_lib:fwrite/2
  io_lib:printable_list/1
  io_lib:write/1
  io_lib:write/2
  io_lib:write_atom/1
  io_lib_format:fwrite_g/1
  io_lib_pretty:print/6
  lager_default_tracer:info/1
  lib:format_exception/6
  lists:append/1
  lists:concat/1
  lists:duplicate/2
  lists:flatlength/1
  lists:keystore/4
  lists:keytake/3
  lists:prefix/2
  lists:seq/2
  lists:sublist/2
  lists:sublist/3
  lists:sum/1
  lists:ukeymerge/3
  lists:ukeysort/2
  maps:to_list/1
  math:cos/1
  math:exp/1
  math:log/1
  math:log10/1
  math:pi/0
  math:pow/2
  math:sqrt/1
  memsup:get_system_memory_data/0
  mochijson2:encode/1
  mustache:render/2
  net_adm:ping/1
  orddict:append/3
  orddict:append_list/3
  orddict:erase/2
  orddict:fetch_keys/1
  orddict:find/2
  orddict:fold/3
  orddict:merge/3
  orddict:new/0
  orddict:store/3
  orddict:update/4
  orddict:update_counter/3
  ordsets:add_element/2
  ordsets:del_element/2
  ordsets:from_list/1
  ordsets:intersection/2
  ordsets:is_element/2
  ordsets:new/0
  ordsets:subtract/2
  ordsets:union/2
  os:cmd/1
  os:getenv/1
  os:timestamp/0
  os:type/0
  prim_inet:getstatus/1
  prim_inet:gettype/1
  proc_lib:init_ack/2
  proc_lib:spawn/1
  proc_lib:start_link/3
  proplists:delete/2
  proplists:get_all_values/2
  proplists:get_bool/2
  proplists:get_keys/1
  proplists:get_value/2
  proplists:get_value/3
  proplists:is_defined/2
  proplists:lookup/2
  queue:filter/2
  queue:in/2
  queue:is_empty/1
  queue:len/1
  queue:member/2
  queue:new/0
  queue:out/1
  queue:to_list/1
  random:seed/0
  random:seed/1
  random:seed/3
  random:seed0/0
  random:uniform/0
  random:uniform/1
  random:uniform_s/2
  re:compile/1
  re:compile/2
  re:replace/4
  re:run/2
  re:run/3
  re:split/3
  rebar_config:get_local/3
  rebar_mustache:render/2
  rebar_rel_utils:get_target_dir/2
  rebar_rel_utils:is_rel_dir/0
  rebar_rel_utils:load_config/2
  release_handler:eval_appup_script/4
  rpc:call/4
  rpc:eval_everywhere/3
  rpc:multicall/3
  rpc:multicall/4
  rpc:multicall/5
  sets:add_element/2
  sets:del_element/2
  sets:from_list/1
  sets:is_element/2
  sets:new/0
  sets:size/1
  sets:to_list/1
  string:centre/2
  string:chr/2
  string:cspan/2
  string:join/2
  string:left/2
  string:left/3
  string:rchr/2
  string:right/2
  string:str/2
  string:strip/1
  string:strip/2
  string:sub_string/2
  string:sub_string/3
  string:substr/2
  string:substr/3
  string:to_lower/1
  string:tokens/2
  supervisor:delete_child/2
  supervisor:start_child/2
  supervisor:start_link/2
  supervisor:start_link/3
  supervisor:terminate_child/2
  supervisor:which_children/1
  sys:get_debug/3
  sys:handle_system_msg/6
  systools:make_script/2
  timer:apply_interval/4
  timer:cancel/1
  timer:now_diff/2
  timer:seconds/1
  timer:send_interval/2
  timer:sleep/1
  timer:tc/1
  timer:tc/2
  timer:tc/3
  unicode:characters_to_binary/1
  unicode:characters_to_binary/3
  unicode:characters_to_list/1
  unicode:characters_to_list/2
  xmerl:export_simple/2
  xmerl_html:'#element#'/5
  xmerl_lib:end_tag/1
  xmerl_lib:expand_element/1
  xmerl_lib:find_attribute/2
  xmerl_lib:mapxml/2
  xmerl_lib:start_tag/2
Unknown types:
  calendar:datetime/0
  erl_syntax:syntaxTree/0
  erlang:timestamp/0
  ets:comp_match_spec/0
  ets:match_spec/0
  ets:tab/0
  ets:tid/0
  file:date_time/0
  file:fd/0
  file:filename/0
  file:io_device/0
  file:name/0
  file:name_all/0
  file:posix/0
  hamcrest:matchspec/0
  meck_history:history_record/0
  orddict:orddict/0
  proplists:property/0
  proplists:proplist/0
  re:mp/0
  supervisor:child_spec/0
  timer:tref/0
  unicode:charlist/0
 done in 0m5.63s
done (passed successfully)
==> develop.f79eb14.dr-th_service-poc.78fc65d (dialyzer)
  Checking whether the PLT /home/ubuntu/.combo_dialyzer_plt is up-to-date... yes
  Checking whether the PLT .local_dialyzer_plt is up-to-date... yes
  Compiling some key modules to native code... done in 0m8.60s
  Proceeding with analysis...
Unknown functions:
  cluster_info:format/3
  cluster_info:register_app/1
 done in 0m5.68s
done (passed successfully)





⬜ 0 of 2 Code reviews from organization basho

_ ->
%% Launching and terminating the supervisor is an async operation with
%% all the non-determinism that that implies. So, we wait.
sup_wait(Name, Fun) ->
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Much cleaner design. Like it!

@tburghart
Copy link
Contributor

+1

* The shutdown callback always takes the info service process pid being
  shut down as an argument, so create a new function to take that pid
* Tell eleveldb the pid is no longer in service (corresponding function is
  already in the appropriate branch for review, MvM is working on the NIF)
* The supervisor will restart the process with the callbacks, including
  registration, so don't try to re-register after shutdown
@thumbot
Copy link

thumbot commented Mar 2, 2017

dr-th/service-poc 0b54582 ➡️ develop f79eb14 ⛔ completed
There seems to be an issue with build step **make_xref,make_dialyzer** ! ☁️
✅ MERGE

Started at: 2017-03-02 13:12
Duration: 4 seconds.
Result: OK
Message: Merge Success: dr-th/service-poc 0b54582 onto target branch: develop f79eb14
Exit Code: OK

📄







  Merge made by the 'recursive' strategy.
 src/riak_core_app.erl                  |  15 ++
 src/riak_core_info_service.erl         | 278 +++++++++++++++++++++++++++++++++
 src/riak_core_info_service_process.erl | 168 ++++++++++++++++++++
 src/riak_core_info_service_sup.erl     |  50 ++++++
 src/riak_core_sup.erl                  |   1 +
 src/riak_core_throttle.erl             |   2 +-
 6 files changed, 513 insertions(+), 1 deletion(-)
 create mode 100644 src/riak_core_info_service.erl
 create mode 100644 src/riak_core_info_service_process.erl
 create mode 100644 src/riak_core_info_service_sup.erl




✅ MAKE_CLEAN

Started at: 2017-03-02 13:12
Duration: 1 seconds.
Result: OK
Message: OK
Exit Code: 0

📄


cd /tmp/thumbs/develop.f79eb14.dr-th_service-poc.0b54582; make clean




  ./rebar clean
==> develop.f79eb14.dr-th_service-poc.0b54582 (clean)





✅ MAKE_DEPS

Started at: 2017-03-02 13:12
Duration: 13 seconds.
Result: OK
Message: OK
Exit Code: 0

📄


cd /tmp/thumbs/develop.f79eb14.dr-th_service-poc.0b54582; make deps




  ./rebar get-deps
==> develop.f79eb14.dr-th_service-poc.0b54582 (get-deps)
Pulling lager from {git,"git://github.com/basho/lager.git",{tag,"3.2.4"}}
Cloning into 'lager'...
Pulling poolboy from {git,"git://github.com/basho/poolboy.git",
                          {tag,"0.8.1p3"}}
Cloning into 'poolboy'...
Pulling basho_stats from {git,"git://github.com/basho/basho_stats.git",
                              {tag,"1.0.3"}}
Cloning into 'basho_stats'...
Pulling riak_sysmon from {git,"git://github.com/basho/riak_sysmon.git",
                              {tag,"2.1.4"}}
Cloning into 'riak_sysmon'...
Pulling eleveldb from {git,"git://github.com/basho/eleveldb.git",
                           {tag,"2.0.32"}}
Cloning into 'eleveldb'...
Pulling riak_ensemble from {git,"git://github.com/basho/riak_ensemble",
                                {tag,"2.1.6"}}
Cloning into 'riak_ensemble'...
Pulling pbkdf2 from {git,"git://github.com/basho/erlang-pbkdf2.git",
                         {tag,"2.0.0"}}
Cloning into 'pbkdf2'...
Pulling exometer_core from {git,"git://github.com/basho/exometer_core.git",
                                {tag,"1.0.0-basho9"}}
Cloning into 'exometer_core'...
Pulling clique from {git,"https://github.com/basho/clique.git",{tag,"0.3.8"}}
Cloning into 'clique'...
==> lager (get-deps)
Pulling goldrush from {git,"https://github.com/basho/goldrush.git",
                           {tag,"0.1.9"}}
Cloning into 'goldrush'...
==> goldrush (get-deps)
==> poolboy (get-deps)
==> basho_stats (get-deps)
==> riak_sysmon (get-deps)
Pulling cuttlefish from {git,"https://github.com/basho/cuttlefish.git",
                             {tag,"2.0.10"}}
Cloning into 'cuttlefish'...
==> cuttlefish (get-deps)
Pulling getopt from {git,"https://github.com/basho/getopt.git",{tag,"v0.8.2"}}
Cloning into 'getopt'...
Pulling neotoma from {git,"https://github.com/basho/neotoma.git",
                          {tag,"1.7.3"}}
Cloning into 'neotoma'...
==> getopt (get-deps)
==> neotoma (get-deps)
==> eleveldb (get-deps)
Cloning into 'leveldb'...
Note: checking out '2.0.31'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b new_branch_name

HEAD is now at e6a2939... add (int) cast to fix compile errors on 10 of 16 platforms ... argh.
==> riak_ensemble (get-deps)
==> pbkdf2 (get-deps)
==> src (get-deps)
==> exometer_core (get-deps)
Pulling parse_trans from {git,"git://github.com/basho/parse_trans.git",
                              {tag,"2.9.2p1"}}
Cloning into 'parse_trans'...
Pulling folsom from {git,"git://github.com/basho/folsom.git",{tag,"0.7.4p5"}}
Cloning into 'folsom'...
Pulling setup from {git,"git://github.com/basho/setup.git",{tag,"1.4"}}
Cloning into 'setup'...
==> parse_trans (get-deps)
Pulling edown from {git,"git://github.com/basho/edown.git",{tag,"0.8.1"}}
Cloning into 'edown'...
==> edown (get-deps)
==> folsom (get-deps)
Pulling bear from {git,"git://github.com/basho/bear.git",{tag,"0.1.3p1"}}
Cloning into 'bear'...
Pulling meck from {git,"git://github.com/basho/meck.git",{tag,"0.8.2"}}
Cloning into 'meck'...
==> bear (get-deps)
==> meck (get-deps)
==> setup (get-deps)
==> clique (get-deps)





✅ MAKE_COMPILE

Started at: 2017-03-02 13:12
Duration: 39 seconds.
Result: OK
Message: OK
Exit Code: 0

📄


cd /tmp/thumbs/develop.f79eb14.dr-th_service-poc.0b54582; make compile




  
  
... Snipped 636 lines ...
d -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY  -DLEVELDB_VSN="2.0.31" -O2 -g -DNDEBUG     -fPIC tools/perf_dump.cc -o perf_dump -L . -Wl,-non_shared -lleveldb -Wl,-call_shared -m64  -L/tmp/thumbs/develop.f79eb14.dr-th_service-poc.0b54582/deps/eleveldb/c_src/system/lib -pthread -lrt -Wl,-non_shared -lsnappy -Wl,-call_shared
c++ -m64  -Wall -O3 -fPIC -I /tmp/thumbs/develop.f79eb14.dr-th_service-poc.0b54582/deps/eleveldb/c_src/system/include -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY  -DLEVELDB_VSN="2.0.31" -O2 -g -DNDEBUG     -fPIC tools/sst_rewrite.cc -o sst_rewrite -L . -Wl,-non_shared -lleveldb -Wl,-call_shared -m64  -L/tmp/thumbs/develop.f79eb14.dr-th_service-poc.0b54582/deps/eleveldb/c_src/system/lib -pthread -lrt -Wl,-non_shared -lsnappy -Wl,-call_shared
c++ -m64  -Wall -O3 -fPIC -I /tmp/thumbs/develop.f79eb14.dr-th_service-poc.0b54582/deps/eleveldb/c_src/system/include -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY  -DLEVELDB_VSN="2.0.31" -O2 -g -DNDEBUG     -fPIC tools/sst_scan.cc -o sst_scan -L . -Wl,-non_shared -lleveldb -Wl,-call_shared -m64  -L/tmp/thumbs/develop.f79eb14.dr-th_service-poc.0b54582/deps/eleveldb/c_src/system/lib -pthread -lrt -Wl,-non_shared -lsnappy -Wl,-call_shared
make[1]: Leaving directory `/tmp/thumbs/develop.f79eb14.dr-th_service-poc.0b54582/deps/eleveldb/c_src/leveldb'
Compiled src/eleveldb_bump.erl
Compiled src/eleveldb.erl
Compiling c_src/eleveldb.cc
Compiling c_src/refobjects.cc
Compiling c_src/workitems.cc
==> riak_ensemble (compile)
Compiled src/riak_ensemble_backend.erl
Compiled src/riak_ensemble_sup.erl
Compiled src/synctree_orddict.erl
Compiled src/riak_ensemble_client.erl
Compiled src/riak_ensemble_router.erl
Compiled src/riak_ensemble_config.erl
Compiled src/riak_ensemble_router_sup.erl
Compiled src/synctree.erl
Compiled src/riak_ensemble_lease.erl
Compiled src/riak_ensemble_test.erl
Compiled src/synctree_leveldb.erl
Compiled src/riak_ensemble_exchange.erl
Compiled src/riak_ensemble_root.erl
Compiled src/riak_ensemble_manager.erl
Compiled src/riak_ensemble_save.erl
Compiled src/riak_ensemble_clock.erl
Compiled src/riak_ensemble_peer_worker.erl
Compiled src/riak_ensemble_basic_backend.erl
Compiled src/riak_ensemble_app.erl
Compiled src/riak_ensemble_state.erl
Compiled src/riak_ensemble_storage.erl
Compiled src/riak_ensemble_peer_tree.erl
Compiled src/riak_ensemble_peer_sup.erl
Compiled src/synctree_ets.erl
Compiled src/riak_ensemble_util.erl
Compiled src/riak_ensemble_msg.erl
Compiled src/riak_ensemble_peer.erl
Compiling c_src/riak_ensemble_clock.c
==> pbkdf2 (compile)
Compiled src/pbkdf2.erl
==> edown (compile)
Compiled src/edown_make.erl
Compiled src/edown_lib.erl
Compiled src/edown_doclet.erl
Compiled src/edown_xmerl.erl
Compiled src/edown_layout.erl
==> parse_trans (compile)
Compiled src/parse_trans.erl
Compiled src/parse_trans_pp.erl
Compiled src/parse_trans_codegen.erl
Compiled src/parse_trans_mod.erl
Compiled src/ct_expand.erl
Compiled src/exprecs.erl
==> bear (compile)
Compiled src/bear.erl
==> meck (compile)
Compiled src/meck_cover.erl
Compiled src/meck_expect.erl
Compiled src/meck_matcher.erl
Compiled src/meck_args_matcher.erl
Compiled src/meck_history.erl
Compiled src/meck.erl
Compiled src/meck_code_gen.erl
Compiled src/meck_util.erl
Compiled src/meck_code.erl
Compiled src/meck_ret_spec.erl
Compiled src/meck_proc.erl
==> folsom (compile)
Compiled src/folsom_sample_slide_sup.erl
Compiled src/folsom_sample_slide.erl
Compiled src/folsom_metrics_histogram.erl
Compiled src/folsom_ewma.erl
Compiled src/folsom_sample_none.erl
Compiled src/folsom_sample_exdec.erl
Compiled src/folsom_metrics_histogram_ets.erl
Compiled src/folsom_metrics_duration.erl
Compiled src/folsom.erl
Compiled src/folsom_sample.erl
Compiled src/folsom_metrics_meter_reader.erl
Compiled src/folsom_metrics.erl
Compiled src/folsom_vm_metrics.erl
Compiled src/folsom_sample_slide_uniform.erl
Compiled src/folsom_metrics_counter.erl
Compiled src/folsom_metrics_spiral.erl
Compiled src/folsom_meter_timer_server.erl
Compiled src/folsom_metrics_history.erl
Compiled src/folsom_sup.erl
Compiled src/folsom_sample_slide_server.erl
Compiled src/folsom_ets.erl
Compiled src/folsom_utils.erl
Compiled src/folsom_metrics_gauge.erl
Compiled src/folsom_metrics_meter.erl
Compiled src/folsom_sample_uniform.erl
==> setup (compile)
Compiled src/setup_lib.erl
Compiled src/setup_gen.erl
Compiled src/setup.erl
==> edown (escriptize)
==> setup (escriptize)
==> src (compile)
==> exometer_core (compile)
Compiled src/exometer_igor.erl
Compiled src/exometer_util.erl
Compiled src/exometer_entry.erl
Compiled src/exometer_probe.erl
Compiled src/exometer_report.erl
Compiled src/exometer_folsom_monitor.erl
Compiled src/exometer_folsom.erl
Compiled src/exometer_report_lager.erl
Compiled src/exometer_duration.erl
Compiled src/exometer_function.erl
Compiled src/exometer_core_sup.erl
Compiled src/exometer_slide.erl
Compiled src/exometer_slot_slide.erl
Compiled src/exometer_report_tty.erl
Compiled src/exometer_proc.erl
Compiled src/exo_montest.erl
Compiled src/exometer_cache.erl
Compiled src/exometer_spiral.erl
Compiled src/exometer_cpu.erl
Compiled src/exometer_alias.erl
Compiled src/exometer_admin.erl
Compiled src/exometer_shallowtree.erl
Compiled src/exometer_uniform.erl
Compiled src/exometer_info.erl
Compiled src/exometer.erl
Compiled src/exometer_core_app.erl
Compiled src/exometer_histogram.erl
==> clique (compile)
Compiled src/clique_writer.erl
Compiled src/clique_handler.erl
Compiled src/clique_test_group_leader.erl
Compiled src/clique_table.erl
Compiled src/clique_json_writer.erl
Compiled src/clique_config.erl
Compiled src/clique.erl
Compiled src/clique_typecast.erl
Compiled src/clique_human_writer.erl
Compiled src/clique_status.erl
Compiled src/clique_usage.erl
Compiled src/clique_error.erl
Compiled src/clique_manager.erl
Compiled src/clique_nodes.erl
Compiled src/clique_app.erl
Compiled src/clique_sup.erl
Compiled src/clique_csv_writer.erl
Compiled src/clique_parser.erl
Compiled src/clique_command.erl
Compiled src/clique_spec.erl
==> develop.f79eb14.dr-th_service-poc.0b54582 (compile)
Compiled src/gen_nb_server.erl
Compiled src/riak_core_gen_server.erl
Compiled src/riak_core_stat_xform.erl
Compiled src/riak_core_broadcast_handler.erl
Compiled src/riak_core_vnode_worker_pool.erl
Compiled src/chash.erl
Compiled src/riak_core_format.erl
Compiled src/riak_core_broadcast.erl
Compiled src/riak_core_ring_manager.erl
Compiled src/riak_core_handoff_sender_sup.erl
Compiled src/riak_core_dist_mon.erl
Compiled src/chashbin.erl
Compiled src/riak_core_vnode_proxy.erl
Compiled src/riak_core_status.erl
Compiled src/riak_core_repair.erl
Compiled src/riak_core_metadata_exchange_fsm.erl
Compiled src/riak_core_claim_sim.erl
Compiled src/riak_core_mochiglobal.erl
Compiled src/dvvset.erl
Compiled src/riak_core_vnode_manager.erl
Compiled src/riak_core_bucket.erl
Compiled src/vclock.erl
Compiled src/riak_core_bg_manager.erl
Compiled src/riak_core_dtrace.erl
Compiled src/riak_core_node_watcher.erl
Compiled src/riak_core_tracer.erl
Compiled src/riak_core_vnode_sup.erl
Compiled src/riak_core_test_util.erl
Compiled src/riak_core_sup.erl
Compiled src/riak_core_handoff_sup.erl
Compiled src/riak_core_nodeid.erl
Compiled src/riak_core_vnode_proxy_sup.erl
Compiled src/riak_core_stat.erl
Compiled src/hashtree.erl
Compiled src/riak_core_tcp_mon.erl
Compiled src/riak_core_cli_registry.erl
Compiled src/riak_core_app.erl
Compiled src/riak_core_handoff_listener.erl
Compiled src/riak_core_stat_calc_sup.erl
Compiled src/riak_core_util.erl
Compiled src/riak_core_ring_util.erl
Compiled src/riak_core_console_table.erl
Compiled src/riak_core_cinfo_core.erl
Compiled src/supervisor_pre_r14b04.erl
Compiled src/riak_core_cluster_cli.erl
Compiled src/riak_core_net_ticktime.erl
Compiled src/riak_core_coverage_plan.erl
Compiled src/riak_core_ring.erl
Compiled src/riak_core_send_msg.erl
Compiled src/riak_core_throttle.erl
Compiled src/riak_core_metadata.erl
Compiled src/hashtree_tree.erl
Compiled src/riak_core_stat_q.erl
Compiled src/riak_core_vnode_master.erl
Compiled src/riak_core_table_owner.erl
Compiled src/process_proxy.erl
Compiled src/riak_core_ring_handler.erl
Compiled src/riak_core_exo_monitor.erl
Compiled src/riak_core_claim_util.erl
Compiled src/riak_core_stat_calc_proc.erl
Compiled src/riak_core_eventhandler_sup.erl
Compiled src/riak_core_metadata_object.erl
Compiled src/riak_core_handoff_listener_sup.erl
Compiled src/riak_core_sysmon_minder.erl
Compiled src/riak_core_pw_auth.erl
Compiled src/app_helper.erl
Compiled src/riak_core_stat_sup.erl
Compiled src/riak_core_node_watcher_events.erl
Compiled src/riak_core_sysmon_handler.erl
Compiled src/riak_core_handoff_cli.erl
Compiled src/riak_core_metadata_manager.erl
Compiled src/riak_core_console.erl
Compiled src/riak_core_vnode_worker.erl
Compiled src/riak_core_bucket_props.erl
Compiled src/riak_core_info_service_sup.erl
Compiled src/riak_core_metadata_hashtree.erl
Compiled src/bloom.erl
Compiled src/riak_core_handoff_status.erl
Compiled src/riak_core_handoff_sender.erl
Compiled src/riak_core_ring_events.erl
Compiled src/riak_core_gossip.erl
Compiled src/riak_core_coverage_fsm.erl
Compiled src/riak_core_ssl_util.erl
Compiled src/riak_core_bucket_type.erl
Compiled src/riak_core_claimant.erl
Compiled src/riak_core_stats_sup.erl
Compiled src/riak_core_security.erl
Compiled src/riak_core_handoff_receiver_sup.erl
Compiled src/riak_core_handoff_receiver.erl
Compiled src/riak_core_info_service.erl
Compiled src/riak_core_claim.erl
Compiled src/riak_core_new_claim.erl
Compiled src/riak_core_stat_cache.erl
Compiled src/riak_core_handoff_manager.erl
Compiled src/riak_core.erl
Compiled src/riak_core_apl.erl
Compiled src/riak_core_vnode.erl
Compiled src/riak_core_priority_queue.erl
Compiled src/riak_core_eventhandler_guard.erl
Compiled src/riak_core_info_service_process.erl
Compiled src/riak_core_base64url.erl
Compiled src/riak_core_capability.erl





✅ MAKE_TEST

Started at: 2017-03-02 13:13
Duration: 612 seconds.
Result: OK
Message: OK
Exit Code: 0

📄


cd /tmp/thumbs/develop.f79eb14.dr-th_service-poc.0b54582; make test




  
  
... Snipped 1273 lines ...
r] CRASH REPORT Process <0.24316.0> with 0 neighbours exited with reason: core_breach in gen_fsm:terminate/7 line 622
13:21:52.250 [error] Supervisor riak_core_vnode_sup had child undefined started with {riak_core_vnode,start_link,undefined} at <0.24316.0> exit with reason core_breach in context child_terminated
13:21:52.318 [info] Application lager started on node nonode@nohost
  sync_command_test: sync_test_ (Assert non-blocking sync error)...ok
13:21:52.318 [error] CRASH REPORT Process <0.24352.0> with 0 neighbours exited with reason: {{already_started,<0.6504.0>},{exometer_core_app,start,[normal,[]]}} in application_master:init/4 line 133
13:21:52.318 [info] Application exometer_core exited with reason: {{already_started,<0.6504.0>},{exometer_core_app,start,[normal,[]]}}
13:21:52.322 [error] mock_vnode command failed {core_breach,[{mock_vnode,handle_command,3,[{file,"test/mock_vnode.erl"},{line,131}]},{riak_core_vnode,vnode_command,3,[{file,"src/riak_core_vnode.erl"},{line,346}]},{gen_fsm,handle_msg,7,[{file,"gen_fsm.erl"},{line,505}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,239}]}]}
13:21:52.323 [error] gen_fsm <0.24361.0> in state active terminated with reason: core_breach in mock_vnode:handle_command/3 line 131
13:21:52.323 [error] CRASH REPORT Process <0.24361.0> with 0 neighbours exited with reason: core_breach in mock_vnode:handle_command/3 line 131 in gen_fsm:terminate/7 line 622
13:21:52.323 [error] Supervisor riak_core_vnode_sup had child undefined started with {riak_core_vnode,start_link,undefined} at <0.24361.0> exit with reason core_breach in mock_vnode:handle_command/3 line 131 in context child_terminated
13:21:52.366 [info] Application lager started on node nonode@nohost
  sync_command_test: sync_test_ (Assert non-blocking sync exit)...13:21:52.366 [error] CRASH REPORT Process <0.24398.0> with 0 neighbours exited with reason: {{already_started,<0.6504.0>},{exometer_core_app,start,[normal,[]]}} in application_master:init/4 line 133
13:21:52.366 [info] Application exometer_core exited with reason: {{already_started,<0.6504.0>},{exometer_core_app,start,[normal,[]]}}
ok
13:21:52.371 [error] mock_vnode command failed core_breach
13:21:52.371 [error] gen_fsm <0.24407.0> in state active terminated with reason: core_breach
13:21:52.371 [error] CRASH REPORT Process <0.24407.0> with 0 neighbours exited with reason: core_breach in gen_fsm:terminate/7 line 622
13:21:52.371 [error] Supervisor riak_core_vnode_sup had child undefined started with {riak_core_vnode,start_link,undefined} at <0.24407.0> exit with reason core_breach in context child_terminated
  [done in 1.152 s]
module 'riak_core_ssl_util'
module 'riak_core_handoff_receiver'
module 'riak_core_ring_handler'
module 'test_guarded_event_handler'
  test_guarded_event_handler: guarded_handler_test_...[0.101 s] ok
  [done in 0.104 s]
module 'riak_core_vnode_worker'
module 'riak_core_handoff_manager'
  riak_core_handoff_manager:674: handoff_test_...ok
  riak_core_handoff_manager:675: handoff_test_...ok
  [done in 0.006 s]
module 'riak_core_dtrace'
  riak_core_dtrace: timeit_naive_test...timeit_naive                 average     1.562 usec/call over     500.0 calls
[0.014 s] ok
  riak_core_dtrace: timeit_mochiglobal_test...timeit_mochiglobal           average     2.524 usec/call over  225000.0 calls
Skipping timeit_best_on test: no DTrace/SystemTap is available
[0.581 s] ok
  riak_core_dtrace: timeit_best_off_test...ok
  riak_core_dtrace: timeit_best_onfalse_test...Skipping timeit_best_on test: no DTrace/SystemTap is available
ok
  riak_core_dtrace: timeit_best_ontrue_test...Skipping timeit_best_on test: no DTrace/SystemTap is available
NOTE: cover analysis will skew results.  Run without cover for true timings.
ok
  riak_core_dtrace: last_test...ok
  [done in 0.613 s]
riak_core_format: human_time_fmt_test (module 'riak_core_format')...ok
module 'riak_core_metadata_exchange_fsm'
module 'worker_pool_test'
  worker_pool_test: pool_test_...[1.201 s] ok
  worker_pool_test: pool_test_...[1.201 s] ok
  [done in 2.408 s]
module 'riak_core_vnode_master'
module 'riak_core_cluster_cli'
module 'riak_core_metadata_manager'
module 'claim_simulation'
module 'riak_core_claim'
  riak_core_claim: wants_claim_test...[0.004 s] ok
  riak_core_claim: find_biggest_hole_test...ok
  riak_core_claim: prop_claim_ensures_unique_nodes_v2_test_.......................................................................................................
OK, passed 100 tests
[2.048 s] ok
  riak_core_claim: prop_claim_ensures_unique_nodes_v3_test_........
OK, passed 5 tests
[6.556 s] ok
  riak_core_claim: wants_counts_test.......................................................................................................
OK, passed 100 tests
[0.009 s] ok
  riak_core_claim: wants_test.......................................................................................................
OK, passed 100 tests
[0.092 s] ok
  riak_core_claim: take_idxs_test.......................................................................................................
OK, passed 100 tests
[0.053 s] ok
  [done in 8.783 s]
module 'riak_core_info_service'
  riak_core_info_service: exception_test...
=ERROR REPORT==== 2-Mar-2017::13:22:04 ===
** Generic server <0.26131.0> terminating 
** Last message in was {invoke,[],'_waydownwego'}
** When Server state == {state,
                            {riak_core_info_service,register,
                                [<0.1559.0>,exception_test]},
                            {riak_core_ring,fresh,[64,a_node]},
                            {riak_core_info_service,crashme,[]},
                            {riak_core_info_service,shutdown,
                                [<0.1559.0>,exception_test]}}
** Reason for termination == 
** response_handler_failure
[0.051 s] ok
  riak_core_info_service: receive_ring_test...[0.051 s] ok
  [done in 0.108 s]
vclock_qc:21: eqc_test_ (module 'vclock_qc').......................................................................................................(x10)..............................................................(x1).....
Time limit reached: 20.0 seconds.

OK, passed 725 tests

46.32% 0
24.55% 1
13.42% 2
7.65% 3
4.91% 4
3.15% 5

11.108% {vclock_qc,fresh,0}
11.067% {vclock_qc,timestamp,0}
9.921% {vclock_qc,merge,1}
9.809% {vclock_qc,get_dot,2}
9.779% {vclock_qc,dominates,2}
9.767% {vclock_qc,descends,2}
9.718% {vclock_qc,increment,2}
9.632% {vclock_qc,get_timestamp,2}
9.626% {vclock_qc,get_counter,2}
9.573% {vclock_qc,descends_dot,3}

41.2% {num_vclocks_div_10,0}
22.2% {num_vclocks_div_10,1}
12.4% {num_vclocks_div_10,2}
7.6% {num_vclocks_div_10,3}
4.7% {num_vclocks_div_10,5}
3.7% {num_vclocks_div_10,4}
2.8% {num_vclocks_div_10,6}
1.9% {num_vclocks_div_10,7}
1.1% {num_vclocks_div_10,10}
0.8% {num_vclocks_div_10,8}
0.7% {num_vclocks_div_10,9}
0.6% {num_vclocks_div_10,11}
0.1% {num_vclocks_div_10,22}
0.1% {num_vclocks_div_10,21}
[20.320 s] ok
module 'riak_core_send_msg'
riak_core_bucket: simple_set_test (module 'riak_core_bucket')...[0.004 s] ok
module 'riak_core_handoff_sender_sup'
module 'riak_core_coverage_plan'
module 'riak_core_eventhandler_sup'
module 'riak_core_repair'
module 'bucket_eqc_utils'
module 'vclock'
  vclock: example_test...ok
  vclock: prune_small_test...ok
  vclock: prune_young_test...ok
  vclock: prune_big_test...ok
  vclock: prune_old_test...ok
  vclock: prune_order_test...ok
  vclock: accessor_test...ok
  vclock: merge_test...ok
  vclock: merge_less_left_test...ok
  vclock: merge_less_right_test...ok
  vclock: merge_same_id_test...ok
  vclock: get_entry_test...ok
  vclock: valid_entry_test...ok
  [done in 0.039 s]
module 'riak_core_ring_manager'
  riak_core_ring_manager: back_test...ok
  riak_core_ring_manager: prune_list_test...ok
  riak_core_ring_manager: set_ring_global_test...[0.007 s] ok
  riak_core_ring_manager: set_my_ring_test...[0.006 s] ok
  riak_core_ring_manager: refresh_my_ring_test...ok
  riak_core_ring_manager: do_write_ringfile_test...[0.157 s] ok
  riak_core_ring_manager: is_stable_ring_test...ok
  [done in 0.191 s]
module 'riak_core_handoff_sup'
module 'riak_core_capability'
  riak_core_capability_tests: basic_test (module 'riak_core_capability_tests')...ok
  [done in 0.003 s]
module 'riak_core_handoff_cli'
module 'riak_core_broadcast_handler'
module 'mock_vnode'
module 'bloom'
  bloom: fixed_case_test_...[1.080 s] ok
  bloom: bloom_test...[0.652 s] ok
  [done in 1.738 s]
module 'riak_core_vnode_sup'
module 'process_proxy'
module 'riak_core_dist_mon'
  [done in 0.001 s]
module 'riak_core_bucket_type'
module 'riak_core_gossip'
module 'app_helper'
  app_helper: app_helper_test_...ok
  app_helper: app_helper_test_...ok
  app_helper: app_helper_test_...ok
  app_helper: app_helper_test_...ok
  app_helper: app_helper_test_...ok
  app_helper: app_helper_test_...ok
  [done in 0.018 s]
module 'bg_manager_tests'
  bg_manager_tests: bg_mgr_test_ (set/get token rates + verify rates)...[0.001 s] ok
  bg_manager_tests: bg_mgr_test_ (crash token manager + verify rates persist)...[0.303 s] ok
  bg_manager_tests: bg_mgr_test_ (lock/token separation)...ok
  bg_manager_tests: bg_mgr_test_ (failing crash/revive EQC test case)...[0.303 s] ok
  bg_manager_tests: bg_mgr_test_ (bypass API)...ok
  [done in 0.622 s]
module 'riak_core_schema_tests'
  riak_core_schema_tests: basic_schema_test...[0.081 s] ok
  riak_core_schema_tests: invalid_states_test...[0.033 s] ok
  riak_core_schema_tests: default_bucket_properties_test...[0.035 s] ok
  riak_core_schema_tests: override_schema_test...[0.035 s] ok
  [done in 0.197 s]
=======================================================
  All 435 tests passed.
Cover analysis: /tmp/thumbs/develop.f79eb14.dr-th_service-poc.0b54582/.eunit/index.html

=INFO REPORT==== 2-Mar-2017::13:23:11 ===
    application: ssl
    exited: stopped
    type: temporary

=INFO REPORT==== 2-Mar-2017::13:23:11 ===
    application: inets
    exited: killed
    type: temporary





⛔ MAKE_XREF

Started at: 2017-03-02 13:23
Duration: 6 seconds.
Result: ERROR
Message: Step make_xref Failed!
Exit Code: 2

📄


cd /tmp/thumbs/develop.f79eb14.dr-th_service-poc.0b54582; make xref




  ./rebar get-deps
==> goldrush (get-deps)
==> lager (get-deps)
==> poolboy (get-deps)
==> basho_stats (get-deps)
==> getopt (get-deps)
==> neotoma (get-deps)
==> cuttlefish (get-deps)
==> riak_sysmon (get-deps)
==> eleveldb (get-deps)
==> riak_ensemble (get-deps)
==> pbkdf2 (get-deps)
==> edown (get-deps)
==> parse_trans (get-deps)
==> bear (get-deps)
==> meck (get-deps)
==> folsom (get-deps)
==> setup (get-deps)
==> src (get-deps)
==> exometer_core (get-deps)
==> clique (get-deps)
==> develop.f79eb14.dr-th_service-poc.0b54582 (get-deps)
./rebar compile
==> goldrush (compile)
==> lager (compile)
==> poolboy (compile)
==> basho_stats (compile)
==> getopt (compile)
==> neotoma (compile)
==> cuttlefish (compile)
==> getopt (escriptize)
==> goldrush (escriptize)
==> lager (escriptize)
==> neotoma (escriptize)
==> cuttlefish (escriptize)
==> riak_sysmon (compile)
==> eleveldb (compile)
make[1]: Entering directory `/tmp/thumbs/develop.f79eb14.dr-th_service-poc.0b54582/deps/eleveldb/c_src/leveldb'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/tmp/thumbs/develop.f79eb14.dr-th_service-poc.0b54582/deps/eleveldb/c_src/leveldb'
make[1]: Entering directory `/tmp/thumbs/develop.f79eb14.dr-th_service-poc.0b54582/deps/eleveldb/c_src/leveldb'
make[1]: Nothing to be done for `tools'.
make[1]: Leaving directory `/tmp/thumbs/develop.f79eb14.dr-th_service-poc.0b54582/deps/eleveldb/c_src/leveldb'
==> riak_ensemble (compile)
==> pbkdf2 (compile)
==> edown (compile)
==> parse_trans (compile)
==> bear (compile)
==> meck (compile)
==> folsom (compile)
==> setup (compile)
==> edown (escriptize)
==> setup (escriptize)
==> src (compile)
==> exometer_core (compile)
==> clique (compile)
==> develop.f79eb14.dr-th_service-poc.0b54582 (compile)
./rebar xref skip_deps=true
WARN:  Ignoring sub_dirs for /tmp/thumbs/develop.f79eb14.dr-th_service-poc.0b54582/deps/exometer_core
==> develop.f79eb14.dr-th_service-poc.0b54582 (xref)
Query (XC - UC) || (XU - X - B - "(cluster_info|dtrace)" : Mod)
 answer [{{riak_core_app,shutdown_eleveldb_info_service,1},
          {eleveldb,remove_metadata_pid,1}}]
 did not match []
ERROR: xref failed while processing /tmp/thumbs/develop.f79eb14.dr-th_service-poc.0b54582: rebar_abort
make: *** [xref] Error 1





⛔ MAKE_DIALYZER

Started at: 2017-03-02 13:23
Duration: 43 seconds.
Result: ERROR
Message: Step make_dialyzer Failed!
Exit Code: 2

📄


cd /tmp/thumbs/develop.f79eb14.dr-th_service-poc.0b54582; make dialyzer




  
  
... Snipped 185 lines ...
ifier/2
  erl_syntax:arity_qualifier_argument/1
  erl_syntax:arity_qualifier_body/1
  erl_syntax:atom/1
  erl_syntax:atom_value/1
  erl_syntax:attribute/2
  erl_syntax:attribute_arguments/1
  erl_syntax:attribute_name/1
  erl_syntax:case_expr/2
  erl_syntax:catch_expr/1
  erl_syntax:clause/2
  erl_syntax:clause/3
  erl_syntax:clause_patterns/1
  erl_syntax:fun_expr_clauses/1
  erl_syntax:function/2
  erl_syntax:function_clauses/1
  erl_syntax:generator/2
  erl_syntax:generator_body/1
  erl_syntax:generator_pattern/1
  erl_syntax:get_pos/1
  erl_syntax:implicit_fun/2
  erl_syntax:implicit_fun_name/1
  erl_syntax:integer/1
  erl_syntax:integer_value/1
  erl_syntax:list/1
  erl_syntax:list_comp/2
  erl_syntax:list_comp_body/1
  erl_syntax:list_comp_template/1
  erl_syntax:list_elements/1
  erl_syntax:match_expr/2
  erl_syntax:revert/1
  erl_syntax:revert_forms/1
  erl_syntax:string/1
  erl_syntax:string_value/1
  erl_syntax:subtrees/1
  erl_syntax:tuple/1
  erl_syntax:tuple_elements/1
  erl_syntax:type/1
  erl_syntax:underscore/0
  erl_syntax:update_tree/2
  erl_syntax:variable/1
  erl_syntax:variable_name/1
  erl_syntax_lib:analyze_application/1
  erl_syntax_lib:analyze_forms/1
  erl_syntax_lib:analyze_function/1
  erl_syntax_lib:map/2
  erl_syntax_lib:variables/1
  erlang:append_element/2
  erlang:atom_to_binary/2
  erlang:atom_to_list/1
  erlang:binary_to_atom/2
  erlang:binary_to_existing_atom/2
  erlang:binary_to_list/1
  erlang:binary_to_list/3
  erlang:binary_to_term/1
  erlang:bitstring_to_list/1
  erlang:bump_reductions/1
  erlang:cancel_timer/1
  erlang:crc32/1
  erlang:demonitor/1
  erlang:demonitor/2
  erlang:erase/1
  erlang:exit/2
  erlang:float_to_list/1
  erlang:float_to_list/2
  erlang:fun_info/2
  erlang:fun_to_list/1
  erlang:function_exported/3
  erlang:garbage_collect/0
  erlang:get/1
  erlang:get_module_info/1
  erlang:get_module_info/2
  erlang:get_stacktrace/0
  erlang:group_leader/0
  erlang:group_leader/2
  erlang:integer_to_list/1
  erlang:iolist_size/1
  erlang:iolist_to_binary/1
  erlang:is_alive/0
  erlang:is_builtin/3
  erlang:is_map/1
  erlang:is_process_alive/1
  erlang:link/1
  erlang:list_to_atom/1
  erlang:list_to_binary/1
  erlang:list_to_existing_atom/1
  erlang:list_to_float/1
  erlang:list_to_integer/1
  erlang:list_to_tuple/1
  erlang:load_nif/2
  erlang:localtime/0
  erlang:make_fun/3
  erlang:make_ref/0
  erlang:map_size/1
  erlang:max/2
  erlang:min/2
  erlang:monitor/2
  erlang:now/0
  erlang:phash2/1
  erlang:phash2/2
  erlang:pid_to_list/1
  erlang:port_info/1
  erlang:port_info/2
  erlang:port_to_list/1
  erlang:ports/0
  erlang:process_flag/2
  erlang:process_info/2
  erlang:processes/0
  erlang:put/2
  erlang:raise/3
  erlang:ref_to_list/1
  erlang:register/2
  erlang:registered/0
  erlang:send/2
  erlang:send/3
  erlang:send_after/3
  erlang:spawn_link/3
  erlang:spawn_monitor/1
  erlang:split_binary/2
  erlang:start_timer/3
  erlang:statistics/1
  erlang:system_monitor/0
  erlang:system_monitor/2
  erlang:term_to_binary/1
  erlang:trace_info/2
  erlang:trace_pattern/3
  erlang:universaltime/0
  erlang:unlink/1
  erlang:whereis/1
  error_logger:add_report_handler/1
  error_logger:delete_report_handler/1
  error_logger:error_msg/1
  error_logger:error_msg/2
  error_logger:format/2
  error_logger:info_msg/2
  error_logger:info_report/1
  error_logger:warning_msg/1
  escript:script_name/0
  ets:all/0
  ets:delete/1
  ets:delete/2
  ets:delete_all_objects/1
  ets:delete_object/2
  ets:first/1
  ets:foldl/3
  ets:give_away/3
  ets:info/1
  ets:info/2
  ets:insert/2
  ets:insert_new/2
  ets:last/1
  ets:lookup/2
  ets:lookup_element/3
  ets:match/2
  ets:match_spec_compile/1
  ets:match_spec_run/2
  ets:member/2
  ets:new/2
  ets:next/2
  ets:prev/2
  ets:select/1
  ets:select/2
  ets:select/3
  ets:select_count/2
  ets:select_delete/2
  ets:select_reverse/3
  ets:setopts/2
  ets:tab2list/1
  ets:update_counter/3
  ets:update_element/3
  eunit:test/1
  file:close/1
  file:consult/1
  file:datasync/1
  file:delete/1
  file:format_error/1
  file:get_cwd/0
  file:list_dir/1
  file:make_dir/1
  file:open/2
  file:read/2
  file:read_file/1
  file:read_file_info/1
  file:rename/2
  file:script/1
  file:script/2
  file:set_cwd/1
  file:sync/1
  file:write/2
  file:write_file/2
  filelib:ensure_dir/1
  filelib:is_dir/1
  filelib:is_file/1
  filelib:is_regular/1
  filelib:wildcard/1
  filelib:wildcard/2
  filename:absname/1
  filename:append/2
  filename:basename/1
  filename:basename/2
  filename:dirname/1
  filename:extension/1
  filename:join/1
  filename:join/2
  filename:split/1
  gb_trees:empty/0
  gb_trees:enter/3
  gb_trees:from_orddict/1
  gb_trees:get/2
  gb_trees:iterator/1
  gb_trees:lookup/2
  gb_trees:next/1
  gb_trees:size/1
  gen_event:add_sup_handler/3
  gen_event:call/3
  gen_event:call/4
  gen_event:delete_handler/3
  gen_event:notify/2
  gen_event:sync_notify/2
  gen_event:which_handlers/1
  gen_fsm:cancel_timer/1
  gen_fsm:reply/2
  gen_fsm:send_all_state_event/2
  gen_fsm:send_event/2
  gen_fsm:send_event_after/2
  gen_fsm:start/3
  gen_fsm:start_link/3
  gen_fsm:sync_send_all_state_event/2
  gen_fsm:sync_send_all_state_event/3
  gen_fsm:sync_send_event/2
  gen_fsm:sync_send_event/3
  gen_server:call/2
  gen_server:call/3
  gen_server:cast/2
  gen_server:reply/2
  gen_server:start/3
  gen_server:start/4
  gen_server:start_link/3
  gen_server:start_link/4
  hamcrest:assert_that/2
  hamcrest:is_matcher/1
  igor:parse_transform/2
  inet:getopts/2
  inet:getstat/1
  inet:parse_address/1
  inet:peername/1
  inet:sockname/1
  init:archive_extension/0
  init:get_argument/1
  init:script_id/0
  init:stop/1
  io:columns/0
  io:format/1
  io:format/2
  io:format/3
  io:fwrite/1
  io:fwrite/2
  io:fwrite/3
  io:put_chars/1
  io:put_chars/2
  io_lib:deep_char_list/1
  io_lib:format/2
  io_lib:fwrite/2
  io_lib:printable_list/1
  io_lib:write/1
  io_lib:write/2
  io_lib:write_atom/1
  io_lib_format:fwrite_g/1
  io_lib_pretty:print/6
  lager_default_tracer:info/1
  lib:format_exception/6
  lists:append/1
  lists:concat/1
  lists:duplicate/2
  lists:flatlength/1
  lists:keystore/4
  lists:keytake/3
  lists:prefix/2
  lists:seq/2
  lists:sublist/2
  lists:sublist/3
  lists:sum/1
  lists:ukeymerge/3
  lists:ukeysort/2
  maps:to_list/1
  math:cos/1
  math:exp/1
  math:log/1
  math:log10/1
  math:pi/0
  math:pow/2
  math:sqrt/1
  memsup:get_system_memory_data/0
  mochijson2:encode/1
  mustache:render/2
  net_adm:ping/1
  orddict:append/3
  orddict:append_list/3
  orddict:erase/2
  orddict:fetch_keys/1
  orddict:find/2
  orddict:fold/3
  orddict:merge/3
  orddict:new/0
  orddict:store/3
  orddict:update/4
  orddict:update_counter/3
  ordsets:add_element/2
  ordsets:del_element/2
  ordsets:from_list/1
  ordsets:intersection/2
  ordsets:is_element/2
  ordsets:new/0
  ordsets:subtract/2
  ordsets:union/2
  os:cmd/1
  os:getenv/1
  os:timestamp/0
  os:type/0
  prim_inet:getstatus/1
  prim_inet:gettype/1
  proc_lib:init_ack/2
  proc_lib:spawn/1
  proc_lib:start_link/3
  proplists:delete/2
  proplists:get_all_values/2
  proplists:get_bool/2
  proplists:get_keys/1
  proplists:get_value/2
  proplists:get_value/3
  proplists:is_defined/2
  proplists:lookup/2
  queue:filter/2
  queue:in/2
  queue:is_empty/1
  queue:len/1
  queue:member/2
  queue:new/0
  queue:out/1
  queue:to_list/1
  random:seed/0
  random:seed/1
  random:seed/3
  random:seed0/0
  random:uniform/0
  random:uniform/1
  random:uniform_s/2
  re:compile/1
  re:compile/2
  re:replace/4
  re:run/2
  re:run/3
  re:split/3
  rebar_config:get_local/3
  rebar_mustache:render/2
  rebar_rel_utils:get_target_dir/2
  rebar_rel_utils:is_rel_dir/0
  rebar_rel_utils:load_config/2
  release_handler:eval_appup_script/4
  rpc:call/4
  rpc:eval_everywhere/3
  rpc:multicall/3
  rpc:multicall/4
  rpc:multicall/5
  sets:add_element/2
  sets:del_element/2
  sets:from_list/1
  sets:is_element/2
  sets:new/0
  sets:size/1
  sets:to_list/1
  string:centre/2
  string:chr/2
  string:cspan/2
  string:join/2
  string:left/2
  string:left/3
  string:rchr/2
  string:right/2
  string:str/2
  string:strip/1
  string:strip/2
  string:sub_string/2
  string:sub_string/3
  string:substr/2
  string:substr/3
  string:to_lower/1
  string:tokens/2
  supervisor:delete_child/2
  supervisor:start_child/2
  supervisor:start_link/2
  supervisor:start_link/3
  supervisor:terminate_child/2
  supervisor:which_children/1
  sys:get_debug/3
  sys:handle_system_msg/6
  systools:make_script/2
  timer:apply_interval/4
  timer:cancel/1
  timer:now_diff/2
  timer:seconds/1
  timer:send_interval/2
  timer:sleep/1
  timer:tc/1
  timer:tc/2
  timer:tc/3
  unicode:characters_to_binary/1
  unicode:characters_to_binary/3
  unicode:characters_to_list/1
  unicode:characters_to_list/2
  xmerl:export_simple/2
  xmerl_html:'#element#'/5
  xmerl_lib:end_tag/1
  xmerl_lib:expand_element/1
  xmerl_lib:find_attribute/2
  xmerl_lib:mapxml/2
  xmerl_lib:start_tag/2
Unknown types:
  calendar:datetime/0
  erl_syntax:syntaxTree/0
  erlang:timestamp/0
  ets:comp_match_spec/0
  ets:match_spec/0
  ets:tab/0
  ets:tid/0
  file:date_time/0
  file:fd/0
  file:filename/0
  file:io_device/0
  file:name/0
  file:name_all/0
  file:posix/0
  hamcrest:matchspec/0
  meck_history:history_record/0
  orddict:orddict/0
  proplists:property/0
  proplists:proplist/0
  re:mp/0
  supervisor:child_spec/0
  timer:tref/0
  unicode:charlist/0
 done in 0m5.55s
done (passed successfully)
==> develop.f79eb14.dr-th_service-poc.0b54582 (dialyzer)
  Checking whether the PLT /home/ubuntu/.combo_dialyzer_plt is up-to-date... yes
  Checking whether the PLT .local_dialyzer_plt is up-to-date... yes
  Compiling some key modules to native code... done in 0m9.71s
  Proceeding with analysis...
riak_core_app.erl:162: Call to missing or unexported function eleveldb:remove_metadata_pid/1
Unknown functions:
  cluster_info:format/3
  cluster_info:register_app/1
 done in 0m5.77s
done (warnings were emitted)
make: *** [dialyzer-run] Error 2





⬜ 0 of 2 Code reviews from organization basho

@@ -152,8 +152,11 @@ register_capabilities() ->
%% TODO: This belongs in riak_kv - an issue will be created to move it, but time constraints.
start_eleveldb_info_service() ->
Registration = {eleveldb, set_metadata_pid, []},
Shutdown = {?MODULE, start_eleveldb_info_service, []},
Shutdown = {?MODULE, shutdown_eleveldb_info_service, []},
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changing this to {eleveldb, remove_metadata_pid, []} should shut xref and dialyzer up, with the added benefit of being consistent with registration and eliminating the separate shutdown_eleveldb_info_service/1 function altogether.

@macintux
Copy link
Contributor

macintux commented Mar 3, 2017 via email

@thumbot
Copy link

thumbot commented Mar 3, 2017

dr-th/service-poc 9eda941 ➡️ develop f79eb14 ✅ completed
Looks good! 👍
✅ MERGE

Started at: 2017-03-03 05:55
Duration: 1 seconds.
Result: OK
Message: Merge Success: dr-th/service-poc 9eda941 onto target branch: develop f79eb14
Exit Code: OK

📄







  Merge made by the 'recursive' strategy.
 src/riak_core_app.erl                  |  12 ++
 src/riak_core_info_service.erl         | 278 +++++++++++++++++++++++++++++++++
 src/riak_core_info_service_process.erl | 168 ++++++++++++++++++++
 src/riak_core_info_service_sup.erl     |  50 ++++++
 src/riak_core_sup.erl                  |   1 +
 src/riak_core_throttle.erl             |   2 +-
 6 files changed, 510 insertions(+), 1 deletion(-)
 create mode 100644 src/riak_core_info_service.erl
 create mode 100644 src/riak_core_info_service_process.erl
 create mode 100644 src/riak_core_info_service_sup.erl




✅ MAKE_CLEAN

Started at: 2017-03-03 05:55
Duration: 1 seconds.
Result: OK
Message: OK
Exit Code: 0

📄


cd /tmp/thumbs/develop.f79eb14.dr-th_service-poc.9eda941; make clean




  ./rebar clean
==> develop.f79eb14.dr-th_service-poc.9eda941 (clean)





✅ MAKE_DEPS

Started at: 2017-03-03 05:55
Duration: 12 seconds.
Result: OK
Message: OK
Exit Code: 0

📄


cd /tmp/thumbs/develop.f79eb14.dr-th_service-poc.9eda941; make deps




  ./rebar get-deps
==> develop.f79eb14.dr-th_service-poc.9eda941 (get-deps)
Pulling lager from {git,"git://github.com/basho/lager.git",{tag,"3.2.4"}}
Cloning into 'lager'...
Pulling poolboy from {git,"git://github.com/basho/poolboy.git",
                          {tag,"0.8.1p3"}}
Cloning into 'poolboy'...
Pulling basho_stats from {git,"git://github.com/basho/basho_stats.git",
                              {tag,"1.0.3"}}
Cloning into 'basho_stats'...
Pulling riak_sysmon from {git,"git://github.com/basho/riak_sysmon.git",
                              {tag,"2.1.4"}}
Cloning into 'riak_sysmon'...
Pulling eleveldb from {git,"git://github.com/basho/eleveldb.git",
                           {tag,"2.0.32"}}
Cloning into 'eleveldb'...
Pulling riak_ensemble from {git,"git://github.com/basho/riak_ensemble",
                                {tag,"2.1.6"}}
Cloning into 'riak_ensemble'...
Pulling pbkdf2 from {git,"git://github.com/basho/erlang-pbkdf2.git",
                         {tag,"2.0.0"}}
Cloning into 'pbkdf2'...
Pulling exometer_core from {git,"git://github.com/basho/exometer_core.git",
                                {tag,"1.0.0-basho9"}}
Cloning into 'exometer_core'...
Pulling clique from {git,"https://github.com/basho/clique.git",{tag,"0.3.8"}}
Cloning into 'clique'...
==> lager (get-deps)
Pulling goldrush from {git,"https://github.com/basho/goldrush.git",
                           {tag,"0.1.9"}}
Cloning into 'goldrush'...
==> goldrush (get-deps)
==> poolboy (get-deps)
==> basho_stats (get-deps)
==> riak_sysmon (get-deps)
Pulling cuttlefish from {git,"https://github.com/basho/cuttlefish.git",
                             {tag,"2.0.10"}}
Cloning into 'cuttlefish'...
==> cuttlefish (get-deps)
Pulling getopt from {git,"https://github.com/basho/getopt.git",{tag,"v0.8.2"}}
Cloning into 'getopt'...
Pulling neotoma from {git,"https://github.com/basho/neotoma.git",
                          {tag,"1.7.3"}}
Cloning into 'neotoma'...
==> getopt (get-deps)
==> neotoma (get-deps)
==> eleveldb (get-deps)
Cloning into 'leveldb'...
Note: checking out '2.0.31'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b new_branch_name

HEAD is now at e6a2939... add (int) cast to fix compile errors on 10 of 16 platforms ... argh.
==> riak_ensemble (get-deps)
==> pbkdf2 (get-deps)
==> src (get-deps)
==> exometer_core (get-deps)
Pulling parse_trans from {git,"git://github.com/basho/parse_trans.git",
                              {tag,"2.9.2p1"}}
Cloning into 'parse_trans'...
Pulling folsom from {git,"git://github.com/basho/folsom.git",{tag,"0.7.4p5"}}
Cloning into 'folsom'...
Pulling setup from {git,"git://github.com/basho/setup.git",{tag,"1.4"}}
Cloning into 'setup'...
==> parse_trans (get-deps)
Pulling edown from {git,"git://github.com/basho/edown.git",{tag,"0.8.1"}}
Cloning into 'edown'...
==> edown (get-deps)
==> folsom (get-deps)
Pulling bear from {git,"git://github.com/basho/bear.git",{tag,"0.1.3p1"}}
Cloning into 'bear'...
Pulling meck from {git,"git://github.com/basho/meck.git",{tag,"0.8.2"}}
Cloning into 'meck'...
==> bear (get-deps)
==> meck (get-deps)
==> setup (get-deps)
==> clique (get-deps)





✅ MAKE_COMPILE

Started at: 2017-03-03 05:55
Duration: 33 seconds.
Result: OK
Message: OK
Exit Code: 0

📄


cd /tmp/thumbs/develop.f79eb14.dr-th_service-poc.9eda941; make compile




  
  
... Snipped 636 lines ...
d -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY  -DLEVELDB_VSN="2.0.31" -O2 -g -DNDEBUG     -fPIC tools/perf_dump.cc -o perf_dump -L . -Wl,-non_shared -lleveldb -Wl,-call_shared -m64  -L/tmp/thumbs/develop.f79eb14.dr-th_service-poc.9eda941/deps/eleveldb/c_src/system/lib -pthread -lrt -Wl,-non_shared -lsnappy -Wl,-call_shared
c++ -m64  -Wall -O3 -fPIC -I /tmp/thumbs/develop.f79eb14.dr-th_service-poc.9eda941/deps/eleveldb/c_src/system/include -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY  -DLEVELDB_VSN="2.0.31" -O2 -g -DNDEBUG     -fPIC tools/sst_rewrite.cc -o sst_rewrite -L . -Wl,-non_shared -lleveldb -Wl,-call_shared -m64  -L/tmp/thumbs/develop.f79eb14.dr-th_service-poc.9eda941/deps/eleveldb/c_src/system/lib -pthread -lrt -Wl,-non_shared -lsnappy -Wl,-call_shared
c++ -m64  -Wall -O3 -fPIC -I /tmp/thumbs/develop.f79eb14.dr-th_service-poc.9eda941/deps/eleveldb/c_src/system/include -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY  -DLEVELDB_VSN="2.0.31" -O2 -g -DNDEBUG     -fPIC tools/sst_scan.cc -o sst_scan -L . -Wl,-non_shared -lleveldb -Wl,-call_shared -m64  -L/tmp/thumbs/develop.f79eb14.dr-th_service-poc.9eda941/deps/eleveldb/c_src/system/lib -pthread -lrt -Wl,-non_shared -lsnappy -Wl,-call_shared
make[1]: Leaving directory `/tmp/thumbs/develop.f79eb14.dr-th_service-poc.9eda941/deps/eleveldb/c_src/leveldb'
Compiled src/eleveldb_bump.erl
Compiled src/eleveldb.erl
Compiling c_src/eleveldb.cc
Compiling c_src/refobjects.cc
Compiling c_src/workitems.cc
==> riak_ensemble (compile)
Compiled src/riak_ensemble_backend.erl
Compiled src/riak_ensemble_sup.erl
Compiled src/synctree_orddict.erl
Compiled src/riak_ensemble_client.erl
Compiled src/riak_ensemble_router.erl
Compiled src/riak_ensemble_config.erl
Compiled src/riak_ensemble_router_sup.erl
Compiled src/synctree.erl
Compiled src/riak_ensemble_lease.erl
Compiled src/riak_ensemble_test.erl
Compiled src/synctree_leveldb.erl
Compiled src/riak_ensemble_exchange.erl
Compiled src/riak_ensemble_root.erl
Compiled src/riak_ensemble_manager.erl
Compiled src/riak_ensemble_save.erl
Compiled src/riak_ensemble_clock.erl
Compiled src/riak_ensemble_peer_worker.erl
Compiled src/riak_ensemble_basic_backend.erl
Compiled src/riak_ensemble_app.erl
Compiled src/riak_ensemble_state.erl
Compiled src/riak_ensemble_storage.erl
Compiled src/riak_ensemble_peer_tree.erl
Compiled src/riak_ensemble_peer_sup.erl
Compiled src/synctree_ets.erl
Compiled src/riak_ensemble_util.erl
Compiled src/riak_ensemble_msg.erl
Compiled src/riak_ensemble_peer.erl
Compiling c_src/riak_ensemble_clock.c
==> pbkdf2 (compile)
Compiled src/pbkdf2.erl
==> edown (compile)
Compiled src/edown_make.erl
Compiled src/edown_lib.erl
Compiled src/edown_xmerl.erl
Compiled src/edown_doclet.erl
Compiled src/edown_layout.erl
==> parse_trans (compile)
Compiled src/parse_trans.erl
Compiled src/parse_trans_pp.erl
Compiled src/parse_trans_codegen.erl
Compiled src/parse_trans_mod.erl
Compiled src/ct_expand.erl
Compiled src/exprecs.erl
==> bear (compile)
Compiled src/bear.erl
==> meck (compile)
Compiled src/meck_cover.erl
Compiled src/meck_expect.erl
Compiled src/meck_matcher.erl
Compiled src/meck_args_matcher.erl
Compiled src/meck_history.erl
Compiled src/meck.erl
Compiled src/meck_code_gen.erl
Compiled src/meck_util.erl
Compiled src/meck_code.erl
Compiled src/meck_ret_spec.erl
Compiled src/meck_proc.erl
==> folsom (compile)
Compiled src/folsom_sample_slide_sup.erl
Compiled src/folsom_sample_slide.erl
Compiled src/folsom_metrics_histogram.erl
Compiled src/folsom_ewma.erl
Compiled src/folsom_sample_none.erl
Compiled src/folsom_sample_exdec.erl
Compiled src/folsom_metrics_histogram_ets.erl
Compiled src/folsom_metrics_duration.erl
Compiled src/folsom.erl
Compiled src/folsom_sample.erl
Compiled src/folsom_metrics_meter_reader.erl
Compiled src/folsom_vm_metrics.erl
Compiled src/folsom_metrics.erl
Compiled src/folsom_sample_slide_uniform.erl
Compiled src/folsom_metrics_counter.erl
Compiled src/folsom_metrics_spiral.erl
Compiled src/folsom_meter_timer_server.erl
Compiled src/folsom_metrics_history.erl
Compiled src/folsom_sup.erl
Compiled src/folsom_ets.erl
Compiled src/folsom_sample_slide_server.erl
Compiled src/folsom_metrics_gauge.erl
Compiled src/folsom_utils.erl
Compiled src/folsom_metrics_meter.erl
Compiled src/folsom_sample_uniform.erl
==> setup (compile)
Compiled src/setup_lib.erl
Compiled src/setup_gen.erl
Compiled src/setup.erl
==> edown (escriptize)
==> setup (escriptize)
==> src (compile)
==> exometer_core (compile)
Compiled src/exometer_igor.erl
Compiled src/exometer_util.erl
Compiled src/exometer_entry.erl
Compiled src/exometer_probe.erl
Compiled src/exometer_report.erl
Compiled src/exometer_folsom_monitor.erl
Compiled src/exometer_folsom.erl
Compiled src/exometer_report_lager.erl
Compiled src/exometer_duration.erl
Compiled src/exometer_function.erl
Compiled src/exometer_core_sup.erl
Compiled src/exometer_slide.erl
Compiled src/exometer_slot_slide.erl
Compiled src/exometer_report_tty.erl
Compiled src/exometer_proc.erl
Compiled src/exo_montest.erl
Compiled src/exometer_cache.erl
Compiled src/exometer_spiral.erl
Compiled src/exometer_cpu.erl
Compiled src/exometer_alias.erl
Compiled src/exometer_shallowtree.erl
Compiled src/exometer_admin.erl
Compiled src/exometer_uniform.erl
Compiled src/exometer.erl
Compiled src/exometer_info.erl
Compiled src/exometer_core_app.erl
Compiled src/exometer_histogram.erl
==> clique (compile)
Compiled src/clique_writer.erl
Compiled src/clique_handler.erl
Compiled src/clique_test_group_leader.erl
Compiled src/clique_table.erl
Compiled src/clique_json_writer.erl
Compiled src/clique_config.erl
Compiled src/clique.erl
Compiled src/clique_typecast.erl
Compiled src/clique_human_writer.erl
Compiled src/clique_status.erl
Compiled src/clique_usage.erl
Compiled src/clique_manager.erl
Compiled src/clique_error.erl
Compiled src/clique_app.erl
Compiled src/clique_nodes.erl
Compiled src/clique_sup.erl
Compiled src/clique_csv_writer.erl
Compiled src/clique_command.erl
Compiled src/clique_parser.erl
Compiled src/clique_spec.erl
==> develop.f79eb14.dr-th_service-poc.9eda941 (compile)
Compiled src/gen_nb_server.erl
Compiled src/riak_core_gen_server.erl
Compiled src/riak_core_stat_xform.erl
Compiled src/riak_core_broadcast_handler.erl
Compiled src/riak_core_vnode_worker_pool.erl
Compiled src/chash.erl
Compiled src/riak_core_format.erl
Compiled src/riak_core_broadcast.erl
Compiled src/riak_core_ring_manager.erl
Compiled src/riak_core_dist_mon.erl
Compiled src/riak_core_handoff_sender_sup.erl
Compiled src/chashbin.erl
Compiled src/riak_core_vnode_proxy.erl
Compiled src/riak_core_status.erl
Compiled src/riak_core_repair.erl
Compiled src/riak_core_metadata_exchange_fsm.erl
Compiled src/riak_core_claim_sim.erl
Compiled src/riak_core_mochiglobal.erl
Compiled src/dvvset.erl
Compiled src/riak_core_vnode_manager.erl
Compiled src/riak_core_bucket.erl
Compiled src/vclock.erl
Compiled src/riak_core_bg_manager.erl
Compiled src/riak_core_node_watcher.erl
Compiled src/riak_core_dtrace.erl
Compiled src/riak_core_tracer.erl
Compiled src/riak_core_vnode_sup.erl
Compiled src/riak_core_test_util.erl
Compiled src/riak_core_sup.erl
Compiled src/riak_core_handoff_sup.erl
Compiled src/riak_core_nodeid.erl
Compiled src/riak_core_vnode_proxy_sup.erl
Compiled src/riak_core_stat.erl
Compiled src/riak_core_tcp_mon.erl
Compiled src/hashtree.erl
Compiled src/riak_core_handoff_listener.erl
Compiled src/riak_core_cli_registry.erl
Compiled src/riak_core_stat_calc_sup.erl
Compiled src/riak_core_app.erl
Compiled src/riak_core_util.erl
Compiled src/riak_core_ring_util.erl
Compiled src/riak_core_console_table.erl
Compiled src/riak_core_cinfo_core.erl
Compiled src/riak_core_cluster_cli.erl
Compiled src/supervisor_pre_r14b04.erl
Compiled src/riak_core_net_ticktime.erl
Compiled src/riak_core_coverage_plan.erl
Compiled src/riak_core_send_msg.erl
Compiled src/riak_core_ring.erl
Compiled src/riak_core_throttle.erl
Compiled src/hashtree_tree.erl
Compiled src/riak_core_metadata.erl
Compiled src/riak_core_stat_q.erl
Compiled src/riak_core_table_owner.erl
Compiled src/riak_core_vnode_master.erl
Compiled src/process_proxy.erl
Compiled src/riak_core_ring_handler.erl
Compiled src/riak_core_exo_monitor.erl
Compiled src/riak_core_claim_util.erl
Compiled src/riak_core_stat_calc_proc.erl
Compiled src/riak_core_eventhandler_sup.erl
Compiled src/riak_core_metadata_object.erl
Compiled src/riak_core_handoff_listener_sup.erl
Compiled src/riak_core_sysmon_minder.erl
Compiled src/riak_core_pw_auth.erl
Compiled src/app_helper.erl
Compiled src/riak_core_stat_sup.erl
Compiled src/riak_core_node_watcher_events.erl
Compiled src/riak_core_sysmon_handler.erl
Compiled src/riak_core_handoff_cli.erl
Compiled src/riak_core_console.erl
Compiled src/riak_core_metadata_manager.erl
Compiled src/riak_core_vnode_worker.erl
Compiled src/riak_core_bucket_props.erl
Compiled src/riak_core_info_service_sup.erl
Compiled src/bloom.erl
Compiled src/riak_core_metadata_hashtree.erl
Compiled src/riak_core_handoff_status.erl
Compiled src/riak_core_handoff_sender.erl
Compiled src/riak_core_ring_events.erl
Compiled src/riak_core_gossip.erl
Compiled src/riak_core_coverage_fsm.erl
Compiled src/riak_core_claimant.erl
Compiled src/riak_core_ssl_util.erl
Compiled src/riak_core_stats_sup.erl
Compiled src/riak_core_bucket_type.erl
Compiled src/riak_core_handoff_receiver.erl
Compiled src/riak_core_security.erl
Compiled src/riak_core_handoff_receiver_sup.erl
Compiled src/riak_core_info_service.erl
Compiled src/riak_core_claim.erl
Compiled src/riak_core_new_claim.erl
Compiled src/riak_core_stat_cache.erl
Compiled src/riak_core_handoff_manager.erl
Compiled src/riak_core.erl
Compiled src/riak_core_apl.erl
Compiled src/riak_core_priority_queue.erl
Compiled src/riak_core_vnode.erl
Compiled src/riak_core_eventhandler_guard.erl
Compiled src/riak_core_base64url.erl
Compiled src/riak_core_info_service_process.erl
Compiled src/riak_core_capability.erl





✅ MAKE_TEST

Started at: 2017-03-03 05:56
Duration: 572 seconds.
Result: OK
Message: OK
Exit Code: 0

📄


cd /tmp/thumbs/develop.f79eb14.dr-th_service-poc.9eda941; make test




  
  
... Snipped 1328 lines ...
in gen_fsm:terminate/7 line 622
06:04:19.667 [error] Supervisor riak_core_vnode_sup had child undefined started with {riak_core_vnode,start_link,undefined} at <0.24265.0> exit with reason core_breach in context child_terminated
06:04:19.720 [info] Application lager started on node nonode@nohost
  sync_command_test: sync_test_ (Assert non-blocking sync error)...06:04:19.720 [error] CRASH REPORT Process <0.24301.0> with 0 neighbours exited with reason: {{already_started,<0.6582.0>},{exometer_core_app,start,[normal,[]]}} in application_master:init/4 line 133
06:04:19.720 [info] Application exometer_core exited with reason: {{already_started,<0.6582.0>},{exometer_core_app,start,[normal,[]]}}
ok
06:04:19.724 [error] mock_vnode command failed {core_breach,[{mock_vnode,handle_command,3,[{file,"test/mock_vnode.erl"},{line,131}]},{riak_core_vnode,vnode_command,3,[{file,"src/riak_core_vnode.erl"},{line,346}]},{gen_fsm,handle_msg,7,[{file,"gen_fsm.erl"},{line,505}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,239}]}]}
06:04:19.725 [error] gen_fsm <0.24310.0> in state active terminated with reason: core_breach in mock_vnode:handle_command/3 line 131
06:04:19.725 [error] CRASH REPORT Process <0.24310.0> with 0 neighbours exited with reason: core_breach in mock_vnode:handle_command/3 line 131 in gen_fsm:terminate/7 line 622
06:04:19.725 [error] Supervisor riak_core_vnode_sup had child undefined started with {riak_core_vnode,start_link,undefined} at <0.24310.0> exit with reason core_breach in mock_vnode:handle_command/3 line 131 in context child_terminated
06:04:19.773 [info] Application lager started on node nonode@nohost
  sync_command_test: sync_test_ (Assert non-blocking sync exit)...ok
06:04:19.773 [error] CRASH REPORT Process <0.24347.0> with 0 neighbours exited with reason: {{already_started,<0.6582.0>},{exometer_core_app,start,[normal,[]]}} in application_master:init/4 line 133
06:04:19.773 [info] Application exometer_core exited with reason: {{already_started,<0.6582.0>},{exometer_core_app,start,[normal,[]]}}
06:04:19.777 [error] mock_vnode command failed core_breach
06:04:19.777 [error] gen_fsm <0.24356.0> in state active terminated with reason: core_breach
06:04:19.777 [error] CRASH REPORT Process <0.24356.0> with 0 neighbours exited with reason: core_breach in gen_fsm:terminate/7 line 622
06:04:19.777 [error] Supervisor riak_core_vnode_sup had child undefined started with {riak_core_vnode,start_link,undefined} at <0.24356.0> exit with reason core_breach in context child_terminated
  [done in 0.324 s]
module 'riak_core_ssl_util'
module 'riak_core_handoff_receiver'
module 'riak_core_ring_handler'
module 'test_guarded_event_handler'
  test_guarded_event_handler: guarded_handler_test_...[0.101 s] ok
  [done in 0.104 s]
module 'riak_core_vnode_worker'
module 'riak_core_handoff_manager'
  riak_core_handoff_manager:674: handoff_test_...ok
  riak_core_handoff_manager:675: handoff_test_...ok
  [done in 0.006 s]
module 'riak_core_dtrace'
  riak_core_dtrace: timeit_naive_test...timeit_naive                 average     1.372 usec/call over     500.0 calls
[0.013 s] ok
  riak_core_dtrace: timeit_mochiglobal_test...timeit_mochiglobal           average     2.302 usec/call over  225000.0 calls
[0.529 s] ok
Skipping timeit_best_on test: no DTrace/SystemTap is available
  riak_core_dtrace: timeit_best_off_test...ok
  riak_core_dtrace: timeit_best_onfalse_test...Skipping timeit_best_on test: no DTrace/SystemTap is available
ok
  riak_core_dtrace: timeit_best_ontrue_test...Skipping timeit_best_on test: no DTrace/SystemTap is available
NOTE: cover analysis will skew results.  Run without cover for true timings.
ok
  riak_core_dtrace: last_test...ok
  [done in 0.560 s]
riak_core_format: human_time_fmt_test (module 'riak_core_format')...ok
module 'riak_core_metadata_exchange_fsm'
module 'worker_pool_test'
  worker_pool_test: pool_test_...[1.201 s] ok
  worker_pool_test: pool_test_...[1.201 s] ok
  [done in 2.408 s]
module 'riak_core_vnode_master'
module 'riak_core_cluster_cli'
module 'riak_core_metadata_manager'
module 'claim_simulation'
module 'riak_core_claim'
  riak_core_claim: wants_claim_test...[0.004 s] ok
  riak_core_claim: find_biggest_hole_test...ok
  riak_core_claim: prop_claim_ensures_unique_nodes_v2_test_.......................................................................................................
OK, passed 100 tests
[2.506 s] ok
  riak_core_claim: prop_claim_ensures_unique_nodes_v3_test_........
OK, passed 5 tests
[11.764 s] ok
  riak_core_claim: wants_counts_test.......................................................................................................
OK, passed 100 tests
[0.008 s] ok
  riak_core_claim: wants_test.......................................................................................................
OK, passed 100 tests
[0.084 s] ok
  riak_core_claim: take_idxs_test.......................................................................................................
OK, passed 100 tests
[0.059 s] ok
  [done in 14.446 s]
module 'riak_core_info_service'
  riak_core_info_service: exception_test...
=ERROR REPORT==== 3-Mar-2017::06:04:37 ===
** Generic server <0.26079.0> terminating 
** Last message in was {invoke,[],'_waydownwego'}
** When Server state == {state,
                            {riak_core_info_service,register,
                                [<0.1559.0>,exception_test]},
                            {riak_core_ring,fresh,[64,a_node]},
                            {riak_core_info_service,crashme,[]},
                            {riak_core_info_service,shutdown,
                                [<0.1559.0>,exception_test]}}
** Reason for termination == 
** response_handler_failure
[0.051 s] ok
  riak_core_info_service: receive_ring_test...[0.051 s] ok
  [done in 0.108 s]
vclock_qc:21: eqc_test_ (module 'vclock_qc').......................................................................................................(x10)............................................................................(x1)........
Time limit reached: 20.0 seconds.

OK, passed 868 tests

46.62% 0
25.81% 1
13.26% 2
7.13% 3
4.44% 4
2.74% 5

11.281% {vclock_qc,timestamp,0}
11.092% {vclock_qc,fresh,0}
9.938% {vclock_qc,dominates,2}
9.786% {vclock_qc,descends_dot,3}
9.765% {vclock_qc,increment,2}
9.702% {vclock_qc,get_counter,2}
9.691% {vclock_qc,merge,1}
9.607% {vclock_qc,get_timestamp,2}
9.597% {vclock_qc,descends,2}
9.541% {vclock_qc,get_dot,2}

44.5% {num_vclocks_div_10,0}
21.4% {num_vclocks_div_10,1}
11.9% {num_vclocks_div_10,2}
7.7% {num_vclocks_div_10,3}
4.6% {num_vclocks_div_10,4}
2.4% {num_vclocks_div_10,5}
2.2% {num_vclocks_div_10,6}
1.7% {num_vclocks_div_10,7}
1.2% {num_vclocks_div_10,8}
0.6% {num_vclocks_div_10,9}
0.5% {num_vclocks_div_10,12}
0.5% {num_vclocks_div_10,10}
0.2% {num_vclocks_div_10,14}
0.2% {num_vclocks_div_10,13}
0.2% {num_vclocks_div_10,11}
0.1% {num_vclocks_div_10,17}
0.1% {num_vclocks_div_10,15}
[20.226 s] ok
module 'riak_core_send_msg'
riak_core_bucket: simple_set_test (module 'riak_core_bucket')...[0.004 s] ok
module 'riak_core_handoff_sender_sup'
module 'riak_core_coverage_plan'
module 'riak_core_eventhandler_sup'
module 'riak_core_repair'
module 'bucket_eqc_utils'
module 'vclock'
  vclock: example_test...ok
  vclock: prune_small_test...ok
  vclock: prune_young_test...ok
  vclock: prune_big_test...ok
  vclock: prune_old_test...ok
  vclock: prune_order_test...ok
  vclock: accessor_test...ok
  vclock: merge_test...ok
  vclock: merge_less_left_test...ok
  vclock: merge_less_right_test...ok
  vclock: merge_same_id_test...ok
  vclock: get_entry_test...ok
  vclock: valid_entry_test...ok
  [done in 0.039 s]
module 'riak_core_ring_manager'
  riak_core_ring_manager: back_test...ok
  riak_core_ring_manager: prune_list_test...ok
  riak_core_ring_manager: set_ring_global_test...[0.007 s] ok
  riak_core_ring_manager: set_my_ring_test...[0.006 s] ok
  riak_core_ring_manager: refresh_my_ring_test...ok
  riak_core_ring_manager: do_write_ringfile_test...[0.028 s] ok
  riak_core_ring_manager: is_stable_ring_test...ok
  [done in 0.062 s]
module 'riak_core_handoff_sup'
module 'riak_core_capability'
  riak_core_capability_tests: basic_test (module 'riak_core_capability_tests')...ok
  [done in 0.003 s]
module 'riak_core_handoff_cli'
module 'riak_core_broadcast_handler'
module 'mock_vnode'
module 'bloom'
  bloom: fixed_case_test_...[1.028 s] ok
  bloom: bloom_test...[0.636 s] ok
  [done in 1.670 s]
module 'riak_core_vnode_sup'
module 'process_proxy'
module 'riak_core_dist_mon'
module 'riak_core_bucket_type'
module 'riak_core_gossip'
module 'app_helper'
  app_helper: app_helper_test_...ok
  app_helper: app_helper_test_...ok
  app_helper: app_helper_test_...ok
  app_helper: app_helper_test_...ok
  app_helper: app_helper_test_...ok
  app_helper: app_helper_test_...ok
  [done in 0.018 s]
module 'bg_manager_tests'
  bg_manager_tests: bg_mgr_test_ (set/get token rates + verify rates)...[0.001 s] ok
  bg_manager_tests: bg_mgr_test_ (crash token manager + verify rates persist)...[0.303 s] ok
  bg_manager_tests: bg_mgr_test_ (lock/token separation)...ok
  bg_manager_tests: bg_mgr_test_ (failing crash/revive EQC test case)...[0.303 s] ok
  bg_manager_tests: bg_mgr_test_ (bypass API)...ok
  [done in 0.622 s]
module 'riak_core_schema_tests'
  riak_core_schema_tests: basic_schema_test...[0.072 s] ok
  riak_core_schema_tests: invalid_states_test...[0.033 s] ok
  riak_core_schema_tests: default_bucket_properties_test...[0.034 s] ok
  riak_core_schema_tests: override_schema_test...[0.035 s] ok
  [done in 0.186 s]
=======================================================
  All 435 tests passed.
Cover analysis: /tmp/thumbs/develop.f79eb14.dr-th_service-poc.9eda941/.eunit/index.html

=INFO REPORT==== 3-Mar-2017::06:05:43 ===
    application: ssl
    exited: stopped
    type: temporary

=INFO REPORT==== 3-Mar-2017::06:05:43 ===
    application: inets
    exited: killed
    type: temporary





✅ MAKE_XREF

Started at: 2017-03-03 06:05
Duration: 5 seconds.
Result: OK
Message: OK
Exit Code: 0

📄


cd /tmp/thumbs/develop.f79eb14.dr-th_service-poc.9eda941; make xref




  ./rebar get-deps
==> goldrush (get-deps)
==> lager (get-deps)
==> poolboy (get-deps)
==> basho_stats (get-deps)
==> getopt (get-deps)
==> neotoma (get-deps)
==> cuttlefish (get-deps)
==> riak_sysmon (get-deps)
==> eleveldb (get-deps)
==> riak_ensemble (get-deps)
==> pbkdf2 (get-deps)
==> edown (get-deps)
==> parse_trans (get-deps)
==> bear (get-deps)
==> meck (get-deps)
==> folsom (get-deps)
==> setup (get-deps)
==> src (get-deps)
==> exometer_core (get-deps)
==> clique (get-deps)
==> develop.f79eb14.dr-th_service-poc.9eda941 (get-deps)
./rebar compile
==> goldrush (compile)
==> lager (compile)
==> poolboy (compile)
==> basho_stats (compile)
==> getopt (compile)
==> neotoma (compile)
==> cuttlefish (compile)
==> getopt (escriptize)
==> goldrush (escriptize)
==> lager (escriptize)
==> neotoma (escriptize)
==> cuttlefish (escriptize)
==> riak_sysmon (compile)
==> eleveldb (compile)
make[1]: Entering directory `/tmp/thumbs/develop.f79eb14.dr-th_service-poc.9eda941/deps/eleveldb/c_src/leveldb'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/tmp/thumbs/develop.f79eb14.dr-th_service-poc.9eda941/deps/eleveldb/c_src/leveldb'
make[1]: Entering directory `/tmp/thumbs/develop.f79eb14.dr-th_service-poc.9eda941/deps/eleveldb/c_src/leveldb'
make[1]: Nothing to be done for `tools'.
make[1]: Leaving directory `/tmp/thumbs/develop.f79eb14.dr-th_service-poc.9eda941/deps/eleveldb/c_src/leveldb'
==> riak_ensemble (compile)
==> pbkdf2 (compile)
==> edown (compile)
==> parse_trans (compile)
==> bear (compile)
==> meck (compile)
==> folsom (compile)
==> setup (compile)
==> edown (escriptize)
==> setup (escriptize)
==> src (compile)
==> exometer_core (compile)
==> clique (compile)
==> develop.f79eb14.dr-th_service-poc.9eda941 (compile)
./rebar xref skip_deps=true
WARN:  Ignoring sub_dirs for /tmp/thumbs/develop.f79eb14.dr-th_service-poc.9eda941/deps/exometer_core
==> develop.f79eb14.dr-th_service-poc.9eda941 (xref)





✅ MAKE_DIALYZER

Started at: 2017-03-03 06:05
Duration: 42 seconds.
Result: OK
Message: OK
Exit Code: 0

📄


cd /tmp/thumbs/develop.f79eb14.dr-th_service-poc.9eda941; make dialyzer




  
  
... Snipped 181 lines ...
ax:abstract/1
  erl_syntax:application/2
  erl_syntax:application/3
  erl_syntax:application_arguments/1
  erl_syntax:arity_qualifier/2
  erl_syntax:arity_qualifier_argument/1
  erl_syntax:arity_qualifier_body/1
  erl_syntax:atom/1
  erl_syntax:atom_value/1
  erl_syntax:attribute/2
  erl_syntax:attribute_arguments/1
  erl_syntax:attribute_name/1
  erl_syntax:case_expr/2
  erl_syntax:catch_expr/1
  erl_syntax:clause/2
  erl_syntax:clause/3
  erl_syntax:clause_patterns/1
  erl_syntax:fun_expr_clauses/1
  erl_syntax:function/2
  erl_syntax:function_clauses/1
  erl_syntax:generator/2
  erl_syntax:generator_body/1
  erl_syntax:generator_pattern/1
  erl_syntax:get_pos/1
  erl_syntax:implicit_fun/2
  erl_syntax:implicit_fun_name/1
  erl_syntax:integer/1
  erl_syntax:integer_value/1
  erl_syntax:list/1
  erl_syntax:list_comp/2
  erl_syntax:list_comp_body/1
  erl_syntax:list_comp_template/1
  erl_syntax:list_elements/1
  erl_syntax:match_expr/2
  erl_syntax:revert/1
  erl_syntax:revert_forms/1
  erl_syntax:string/1
  erl_syntax:string_value/1
  erl_syntax:subtrees/1
  erl_syntax:tuple/1
  erl_syntax:tuple_elements/1
  erl_syntax:type/1
  erl_syntax:underscore/0
  erl_syntax:update_tree/2
  erl_syntax:variable/1
  erl_syntax:variable_name/1
  erl_syntax_lib:analyze_application/1
  erl_syntax_lib:analyze_forms/1
  erl_syntax_lib:analyze_function/1
  erl_syntax_lib:map/2
  erl_syntax_lib:variables/1
  erlang:append_element/2
  erlang:atom_to_binary/2
  erlang:atom_to_list/1
  erlang:binary_to_atom/2
  erlang:binary_to_existing_atom/2
  erlang:binary_to_list/1
  erlang:binary_to_list/3
  erlang:binary_to_term/1
  erlang:bitstring_to_list/1
  erlang:bump_reductions/1
  erlang:cancel_timer/1
  erlang:crc32/1
  erlang:demonitor/1
  erlang:demonitor/2
  erlang:erase/1
  erlang:exit/2
  erlang:float_to_list/1
  erlang:float_to_list/2
  erlang:fun_info/2
  erlang:fun_to_list/1
  erlang:function_exported/3
  erlang:garbage_collect/0
  erlang:get/1
  erlang:get_module_info/1
  erlang:get_module_info/2
  erlang:get_stacktrace/0
  erlang:group_leader/0
  erlang:group_leader/2
  erlang:integer_to_list/1
  erlang:iolist_size/1
  erlang:iolist_to_binary/1
  erlang:is_alive/0
  erlang:is_builtin/3
  erlang:is_map/1
  erlang:is_process_alive/1
  erlang:link/1
  erlang:list_to_atom/1
  erlang:list_to_binary/1
  erlang:list_to_existing_atom/1
  erlang:list_to_float/1
  erlang:list_to_integer/1
  erlang:list_to_tuple/1
  erlang:load_nif/2
  erlang:localtime/0
  erlang:make_fun/3
  erlang:make_ref/0
  erlang:map_size/1
  erlang:max/2
  erlang:min/2
  erlang:monitor/2
  erlang:now/0
  erlang:phash2/1
  erlang:phash2/2
  erlang:pid_to_list/1
  erlang:port_info/1
  erlang:port_info/2
  erlang:port_to_list/1
  erlang:ports/0
  erlang:process_flag/2
  erlang:process_info/2
  erlang:processes/0
  erlang:put/2
  erlang:raise/3
  erlang:ref_to_list/1
  erlang:register/2
  erlang:registered/0
  erlang:send/2
  erlang:send/3
  erlang:send_after/3
  erlang:spawn_link/3
  erlang:spawn_monitor/1
  erlang:split_binary/2
  erlang:start_timer/3
  erlang:statistics/1
  erlang:system_monitor/0
  erlang:system_monitor/2
  erlang:term_to_binary/1
  erlang:trace_info/2
  erlang:trace_pattern/3
  erlang:universaltime/0
  erlang:unlink/1
  erlang:whereis/1
  error_logger:add_report_handler/1
  error_logger:delete_report_handler/1
  error_logger:error_msg/1
  error_logger:error_msg/2
  error_logger:format/2
  error_logger:info_msg/2
  error_logger:info_report/1
  error_logger:warning_msg/1
  escript:script_name/0
  ets:all/0
  ets:delete/1
  ets:delete/2
  ets:delete_all_objects/1
  ets:delete_object/2
  ets:first/1
  ets:foldl/3
  ets:give_away/3
  ets:info/1
  ets:info/2
  ets:insert/2
  ets:insert_new/2
  ets:last/1
  ets:lookup/2
  ets:lookup_element/3
  ets:match/2
  ets:match_spec_compile/1
  ets:match_spec_run/2
  ets:member/2
  ets:new/2
  ets:next/2
  ets:prev/2
  ets:select/1
  ets:select/2
  ets:select/3
  ets:select_count/2
  ets:select_delete/2
  ets:select_reverse/3
  ets:setopts/2
  ets:tab2list/1
  ets:update_counter/3
  ets:update_element/3
  eunit:test/1
  file:close/1
  file:consult/1
  file:datasync/1
  file:delete/1
  file:format_error/1
  file:get_cwd/0
  file:list_dir/1
  file:make_dir/1
  file:open/2
  file:read/2
  file:read_file/1
  file:read_file_info/1
  file:rename/2
  file:script/1
  file:script/2
  file:set_cwd/1
  file:sync/1
  file:write/2
  file:write_file/2
  filelib:ensure_dir/1
  filelib:is_dir/1
  filelib:is_file/1
  filelib:is_regular/1
  filelib:wildcard/1
  filelib:wildcard/2
  filename:absname/1
  filename:append/2
  filename:basename/1
  filename:basename/2
  filename:dirname/1
  filename:extension/1
  filename:join/1
  filename:join/2
  filename:split/1
  gb_trees:empty/0
  gb_trees:enter/3
  gb_trees:from_orddict/1
  gb_trees:get/2
  gb_trees:iterator/1
  gb_trees:lookup/2
  gb_trees:next/1
  gb_trees:size/1
  gen_event:add_sup_handler/3
  gen_event:call/3
  gen_event:call/4
  gen_event:delete_handler/3
  gen_event:notify/2
  gen_event:sync_notify/2
  gen_event:which_handlers/1
  gen_fsm:cancel_timer/1
  gen_fsm:reply/2
  gen_fsm:send_all_state_event/2
  gen_fsm:send_event/2
  gen_fsm:send_event_after/2
  gen_fsm:start/3
  gen_fsm:start_link/3
  gen_fsm:sync_send_all_state_event/2
  gen_fsm:sync_send_all_state_event/3
  gen_fsm:sync_send_event/2
  gen_fsm:sync_send_event/3
  gen_server:call/2
  gen_server:call/3
  gen_server:cast/2
  gen_server:reply/2
  gen_server:start/3
  gen_server:start/4
  gen_server:start_link/3
  gen_server:start_link/4
  hamcrest:assert_that/2
  hamcrest:is_matcher/1
  igor:parse_transform/2
  inet:getopts/2
  inet:getstat/1
  inet:parse_address/1
  inet:peername/1
  inet:sockname/1
  init:archive_extension/0
  init:get_argument/1
  init:script_id/0
  init:stop/1
  io:columns/0
  io:format/1
  io:format/2
  io:format/3
  io:fwrite/1
  io:fwrite/2
  io:fwrite/3
  io:put_chars/1
  io:put_chars/2
  io_lib:deep_char_list/1
  io_lib:format/2
  io_lib:fwrite/2
  io_lib:printable_list/1
  io_lib:write/1
  io_lib:write/2
  io_lib:write_atom/1
  io_lib_format:fwrite_g/1
  io_lib_pretty:print/6
  lager_default_tracer:info/1
  lib:format_exception/6
  lists:append/1
  lists:concat/1
  lists:duplicate/2
  lists:flatlength/1
  lists:keystore/4
  lists:keytake/3
  lists:prefix/2
  lists:seq/2
  lists:sublist/2
  lists:sublist/3
  lists:sum/1
  lists:ukeymerge/3
  lists:ukeysort/2
  maps:to_list/1
  math:cos/1
  math:exp/1
  math:log/1
  math:log10/1
  math:pi/0
  math:pow/2
  math:sqrt/1
  memsup:get_system_memory_data/0
  mochijson2:encode/1
  mustache:render/2
  net_adm:ping/1
  orddict:append/3
  orddict:append_list/3
  orddict:erase/2
  orddict:fetch_keys/1
  orddict:find/2
  orddict:fold/3
  orddict:merge/3
  orddict:new/0
  orddict:store/3
  orddict:update/4
  orddict:update_counter/3
  ordsets:add_element/2
  ordsets:del_element/2
  ordsets:from_list/1
  ordsets:intersection/2
  ordsets:is_element/2
  ordsets:new/0
  ordsets:subtract/2
  ordsets:union/2
  os:cmd/1
  os:getenv/1
  os:timestamp/0
  os:type/0
  prim_inet:getstatus/1
  prim_inet:gettype/1
  proc_lib:init_ack/2
  proc_lib:spawn/1
  proc_lib:start_link/3
  proplists:delete/2
  proplists:get_all_values/2
  proplists:get_bool/2
  proplists:get_keys/1
  proplists:get_value/2
  proplists:get_value/3
  proplists:is_defined/2
  proplists:lookup/2
  queue:filter/2
  queue:in/2
  queue:is_empty/1
  queue:len/1
  queue:member/2
  queue:new/0
  queue:out/1
  queue:to_list/1
  random:seed/0
  random:seed/1
  random:seed/3
  random:seed0/0
  random:uniform/0
  random:uniform/1
  random:uniform_s/2
  re:compile/1
  re:compile/2
  re:replace/4
  re:run/2
  re:run/3
  re:split/3
  rebar_config:get_local/3
  rebar_mustache:render/2
  rebar_rel_utils:get_target_dir/2
  rebar_rel_utils:is_rel_dir/0
  rebar_rel_utils:load_config/2
  release_handler:eval_appup_script/4
  rpc:call/4
  rpc:eval_everywhere/3
  rpc:multicall/3
  rpc:multicall/4
  rpc:multicall/5
  sets:add_element/2
  sets:del_element/2
  sets:from_list/1
  sets:is_element/2
  sets:new/0
  sets:size/1
  sets:to_list/1
  string:centre/2
  string:chr/2
  string:cspan/2
  string:join/2
  string:left/2
  string:left/3
  string:rchr/2
  string:right/2
  string:str/2
  string:strip/1
  string:strip/2
  string:sub_string/2
  string:sub_string/3
  string:substr/2
  string:substr/3
  string:to_lower/1
  string:tokens/2
  supervisor:delete_child/2
  supervisor:start_child/2
  supervisor:start_link/2
  supervisor:start_link/3
  supervisor:terminate_child/2
  supervisor:which_children/1
  sys:get_debug/3
  sys:handle_system_msg/6
  systools:make_script/2
  timer:apply_interval/4
  timer:cancel/1
  timer:now_diff/2
  timer:seconds/1
  timer:send_interval/2
  timer:sleep/1
  timer:tc/1
  timer:tc/2
  timer:tc/3
  unicode:characters_to_binary/1
  unicode:characters_to_binary/3
  unicode:characters_to_list/1
  unicode:characters_to_list/2
  xmerl:export_simple/2
  xmerl_html:'#element#'/5
  xmerl_lib:end_tag/1
  xmerl_lib:expand_element/1
  xmerl_lib:find_attribute/2
  xmerl_lib:mapxml/2
  xmerl_lib:start_tag/2
Unknown types:
  calendar:datetime/0
  erl_syntax:syntaxTree/0
  erlang:timestamp/0
  ets:comp_match_spec/0
  ets:match_spec/0
  ets:tab/0
  ets:tid/0
  file:date_time/0
  file:fd/0
  file:filename/0
  file:io_device/0
  file:name/0
  file:name_all/0
  file:posix/0
  hamcrest:matchspec/0
  meck_history:history_record/0
  orddict:orddict/0
  proplists:property/0
  proplists:proplist/0
  re:mp/0
  supervisor:child_spec/0
  timer:tref/0
  unicode:charlist/0
 done in 0m5.95s
done (passed successfully)
==> develop.f79eb14.dr-th_service-poc.9eda941 (dialyzer)
  Checking whether the PLT /home/ubuntu/.combo_dialyzer_plt is up-to-date... yes
  Checking whether the PLT .local_dialyzer_plt is up-to-date... yes
  Compiling some key modules to native code... done in 0m9.01s
  Proceeding with analysis...
Unknown functions:
  cluster_info:format/3
  cluster_info:register_app/1
 done in 0m5.65s
done (passed successfully)





⬜ 0 of 2 Code reviews from organization basho

@tburghart
Copy link
Contributor

+1 9eda941

Copy link

@raghavkarol raghavkarol left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - I suggest using common test instead of eunit for tests that need fixture setup. Each common test case is a separate process, so flushing messages is not required. Also, as of now, rebar3 doesn't have an options to run a single eunit test case (rebar does), while it is possible to do this for ct

@raghavkarol
Copy link

+1

@thumbot
Copy link

thumbot commented Mar 3, 2017

✅ 2 of 2 Code reviews from organization basho

@thumbot
Copy link

thumbot commented Mar 3, 2017

Merging and closing this pr

@thumbot thumbot merged commit 3691ac4 into develop Mar 3, 2017
@thumbot
Copy link

thumbot commented Mar 3, 2017

Successfully merged basho/riak_core/pulls/898 (9eda941 on to develop)

---
:sha: 3691ac4c31fbd89b2742c8d1624ca64a2715f472
:merged: true
:message: Pull Request successfully merged

@hazen hazen deleted the dr-th/service-poc branch March 3, 2017 16:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants