machi/test
Scott Lystig Fritchie dbbb6e8b14 Try to pinpoint a hang with even more verbosity (more)
Run via:

    env PULSE_NOSHRINK=yes PULSE_SKIP_NEW=yes PULSE_TIME=900 make pulse

So, this one hangs here:

    tick-<0.991.0>,dump_state(){prop,machi_chain_manager1_pulse,358,<0.891.0>}

At machi_chain_manager1_pulse.erl line 358, that's after the return
of run_commands().  The next verbose message should come from line
362, after the return of pulse:run(), but that message never appears.
My laptop CPU is really busy (fans running, case is hot), but both
console & disterl aren't available now, so no idea why, alas.

Ah, when I run with a console available and then run Redbug, there is
zero activity calling both machi_chain_manager1_pulse:'_' and
machi_chain_manager1:'_'

This may be related to a bad/ugly shutdown?  In both hang cases,
I see at least one SASL error message such as the one below ...
BUT!  There should be erlang:display() messages from the shutdown_hard()
function, which does some exit(Pid, kill) calls, but there is no output
from them!  So, the killing is coming from some kind of PULSE-initiated
process shutdown/cleanup/??

    =SUPERVISOR REPORT==== 16-Jul-2015::20:24:31 ===
         Supervisor: {local,machi_sup}
         Context:    shutdown_error
         Reason:     killed
         Offender:   [{pid,<0.200.0>},
                      {name,machi_flu_sup},
                      {mfargs,{machi_flu_sup,start_link,[]}},
                      {restart_type,permanent},
                      {shutdown,5000},
                      {child_type,supervisor}]
2015-07-16 20:40:51 +09:00
..
legacy WIP: it's clear that the legacy state transition check is broken, II 2015-07-03 23:37:36 +09:00
pulse_util WIP: client side projection store, 1st API op (write), part II 2015-04-03 17:10:52 +09:00
machi_admin_util_test.erl Clarify verify_file_checksums_test_ 2015-07-01 14:16:31 +09:00
machi_chain_manager1_converge_demo.erl Robust'ify the testing of projection stability 2015-07-10 21:04:34 +09:00
machi_chain_manager1_pulse.erl Try to pinpoint a hang with even more verbosity (more) 2015-07-16 20:40:51 +09:00
machi_chain_manager1_test.erl Keep good refactorings from commit a8390ee2 2015-07-10 15:04:50 +09:00
machi_cr_client_test.erl Fix eunit test broken by 3f8982cb 2015-07-07 15:01:50 +09:00
machi_flu1_test.erl WIP: all eunit tests are passing again, yay 2015-06-30 16:12:23 +09:00
machi_flu_psup_test.erl Fix epoch checking in eunit tests and enforcement by FLU (always permit list_files()) 2015-07-01 18:12:22 +09:00
machi_partition_simulator.erl Hrm, fewer deadlocks, but lots of !@#$! mystery hangs @ startup & teardown 2015-07-16 20:13:48 +09:00
machi_pb_high_client_test.erl WIP: all eunit tests are passing again, yay 2015-06-30 16:12:23 +09:00
machi_pb_test.erl WIP: giant hairball 11 2015-06-29 16:24:57 +09:00
machi_projection_test.erl Bugfix: machi_projection:new/6 derp: argument order mistake 2015-07-10 16:41:28 +09:00
machi_proxy_flu1_client_test.erl WIP: all eunit tests are passing again, yay 2015-06-30 16:12:23 +09:00