PATH=/usr/bin:/bin:/Users/fly2400/cpanfly-5.24/var/megalib/bin Start 2017-08-23T08:00:39 ActivePerl-2400 CPAN-2.10 Reading '/Users/fly2400/cpanfly-5.24/var/cpan/Metadata' Database was generated on Wed, 23 Aug 2017 05:53:51 GMT Fetching with LWP: http://ppm.activestate.com/CPAN/authors/id/P/PR/PREACTION/Mercury-0.015.tar.gz Checksum for /Users/fly2400/cpanfly-5.24/var/cpan/sources/authors/id/P/PR/PREACTION/Mercury-0.015.tar.gz ok Mercury-0.015/ Mercury-0.015/bin/ Mercury-0.015/CHANGES Mercury-0.015/CONTRIBUTING.md Mercury-0.015/cpanfile Mercury-0.015/eg/ Mercury-0.015/lib/ Mercury-0.015/LICENSE Mercury-0.015/Makefile.PL Mercury-0.015/MANIFEST Mercury-0.015/META.json Mercury-0.015/META.yml Mercury-0.015/README Mercury-0.015/Rexfile Mercury-0.015/site/ Mercury-0.015/site.yml Mercury-0.015/t/ Mercury-0.015/t/00-compile.t Mercury-0.015/t/00-report-prereqs.dd Mercury-0.015/t/00-report-prereqs.t Mercury-0.015/t/allow_origin.t Mercury-0.015/t/bus.t Mercury-0.015/t/controller/ Mercury-0.015/t/pubsub.t Mercury-0.015/t/pushpull.t Mercury-0.015/t/share/ Mercury-0.015/t/share/allow_origin.conf Mercury-0.015/t/controller/pubsub.t Mercury-0.015/site/blog/ Mercury-0.015/site/index.markdown Mercury-0.015/site/release-blog.pl Mercury-0.015/site/theme/ Mercury-0.015/site/theme/blog/ Mercury-0.015/site/theme/css/ Mercury-0.015/site/theme/perldoc/ Mercury-0.015/site/theme/site/ Mercury-0.015/site/theme/site/footer.html.ep Mercury-0.015/site/theme/site/head_after.html.ep Mercury-0.015/site/theme/site/header_after.html.ep Mercury-0.015/site/theme/site/layout.html.ep Mercury-0.015/site/theme/site/navbar_extra.html.ep Mercury-0.015/site/theme/site/robots.txt.ep Mercury-0.015/site/theme/site/sidebar_before.html.ep Mercury-0.015/site/theme/site/sitemap.xml.ep Mercury-0.015/site/theme/site/style.html Mercury-0.015/site/theme/perldoc/pod.html.ep Mercury-0.015/site/theme/perldoc/source.html.ep Mercury-0.015/site/theme/css/normalize.css Mercury-0.015/site/theme/css/skeleton.css Mercury-0.015/site/theme/css/statocles-default.css Mercury-0.015/site/theme/blog/index.atom.ep Mercury-0.015/site/theme/blog/index.html.ep Mercury-0.015/site/theme/blog/index.rss.ep Mercury-0.015/site/theme/blog/post.html.ep Mercury-0.015/site/blog/2015/ Mercury-0.015/site/blog/2016/ Mercury-0.015/site/blog/2016/09/ Mercury-0.015/site/blog/2016/09/01/ Mercury-0.015/site/blog/2016/09/01/release-v0-009/ Mercury-0.015/site/blog/2016/09/01/release-v0-009/index.markdown Mercury-0.015/site/blog/2015/12/ Mercury-0.015/site/blog/2015/12/13/ Mercury-0.015/site/blog/2015/12/29/ Mercury-0.015/site/blog/2015/12/29/release-v0-008/ Mercury-0.015/site/blog/2015/12/29/release-v0-008/index.markdown Mercury-0.015/site/blog/2015/12/13/release-v0-007/ Mercury-0.015/site/blog/2015/12/13/release-v0-007/index.markdown Mercury-0.015/lib/Mercury/ Mercury-0.015/lib/Mercury.pm Mercury-0.015/lib/Mojolicious/ Mercury-0.015/lib/Mojolicious/Plugin/ Mercury-0.015/lib/Mojolicious/Plugin/Mercury.pm Mercury-0.015/lib/Mercury/Command/ Mercury-0.015/lib/Mercury/Controller/ Mercury-0.015/lib/Mercury/Pattern/ Mercury-0.015/lib/Mercury/public/ Mercury-0.015/lib/Mercury/templates/ Mercury-0.015/lib/Mercury/templates/bus.html.ep Mercury-0.015/lib/Mercury/templates/index.html.ep Mercury-0.015/lib/Mercury/templates/layouts/ Mercury-0.015/lib/Mercury/templates/pubsub.html.ep Mercury-0.015/lib/Mercury/templates/pushpull.html.ep Mercury-0.015/lib/Mercury/templates/layouts/standard.html.ep Mercury-0.015/lib/Mercury/public/example.js Mercury-0.015/lib/Mercury/Pattern/Bus.pm Mercury-0.015/lib/Mercury/Pattern/PubSub.pm Mercury-0.015/lib/Mercury/Pattern/PushPull.pm Mercury-0.015/lib/Mercury/Controller/Bus.pm Mercury-0.015/lib/Mercury/Controller/PubSub/ Mercury-0.015/lib/Mercury/Controller/PubSub.pm Mercury-0.015/lib/Mercury/Controller/PushPull.pm Mercury-0.015/lib/Mercury/Controller/PubSub/Cascade.pm Mercury-0.015/lib/Mercury/Command/mercury/ Mercury-0.015/lib/Mercury/Command/mercury.pm Mercury-0.015/lib/Mercury/Command/mercury/broker.pm Mercury-0.015/eg/chat.html Mercury-0.015/eg/daemon.pl Mercury-0.015/bin/mercury Configuring P/PR/PREACTION/Mercury-0.015.tar.gz with Makefile.PL >>> /Users/fly2400/ap2400-300558/bin/perl-dynamic Makefile.PL Checking if your kit is complete... Looks good Have /Users/fly2400/cpanfly-5.24/var/megalib Want /Users/fly2400/ap2400-300558/lib Your perl and your Config.pm seem to have different ideas about the architecture they are running on. Perl thinks: [megalib] Config says: [darwin-thread-multi-2level] This may or may not cause problems. Please check your installation of perl if you have problems building this extension. Generating a Unix-style Makefile Writing Makefile for Mercury Writing MYMETA.yml and MYMETA.json PREACTION/Mercury-0.015.tar.gz /Users/fly2400/ap2400-300558/bin/perl-dynamic Makefile.PL -- OK Running make for P/PR/PREACTION/Mercury-0.015.tar.gz >>> make cp lib/Mercury.pm blib/lib/Mercury.pm cp lib/Mercury/Pattern/PubSub.pm blib/lib/Mercury/Pattern/PubSub.pm cp lib/Mercury/Command/mercury/broker.pm blib/lib/Mercury/Command/mercury/broker.pm cp lib/Mercury/Controller/Bus.pm blib/lib/Mercury/Controller/Bus.pm cp lib/Mercury/templates/pubsub.html.ep blib/lib/Mercury/templates/pubsub.html.ep cp lib/Mercury/templates/layouts/standard.html.ep blib/lib/Mercury/templates/layouts/standard.html.ep cp lib/Mercury/templates/bus.html.ep blib/lib/Mercury/templates/bus.html.ep cp lib/Mercury/Command/mercury.pm blib/lib/Mercury/Command/mercury.pm cp lib/Mojolicious/Plugin/Mercury.pm blib/lib/Mojolicious/Plugin/Mercury.pm cp lib/Mercury/Controller/PubSub/Cascade.pm blib/lib/Mercury/Controller/PubSub/Cascade.pm cp lib/Mercury/Controller/PushPull.pm blib/lib/Mercury/Controller/PushPull.pm cp lib/Mercury/public/example.js blib/lib/Mercury/public/example.js cp lib/Mercury/Controller/PubSub.pm blib/lib/Mercury/Controller/PubSub.pm cp lib/Mercury/templates/index.html.ep blib/lib/Mercury/templates/index.html.ep cp lib/Mercury/templates/pushpull.html.ep blib/lib/Mercury/templates/pushpull.html.ep cp lib/Mercury/Pattern/Bus.pm blib/lib/Mercury/Pattern/Bus.pm cp lib/Mercury/Pattern/PushPull.pm blib/lib/Mercury/Pattern/PushPull.pm cp bin/mercury blib/script/mercury "/Users/fly2400/ap2400-300558/bin/perl-dynamic" -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/mercury Manifying 1 pod document Manifying 11 pod documents PREACTION/Mercury-0.015.tar.gz make -- OK Running make test >>> make test TEST_VERBOSE=1 PERL_DL_NONLAZY=1 "/Users/fly2400/ap2400-300558/bin/perl-dynamic" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(1, 'blib/lib', 'blib/arch')" t/*.t t/controller/*.t t/00-compile.t ......... 1..12 ok 1 - Mercury.pm loaded ok ok 2 - Mercury/Command/mercury.pm loaded ok ok 3 - Mercury/Command/mercury/broker.pm loaded ok ok 4 - Mercury/Controller/Bus.pm loaded ok ok 5 - Mercury/Controller/PubSub.pm loaded ok ok 6 - Mercury/Controller/PubSub/Cascade.pm loaded ok ok 7 - Mercury/Controller/PushPull.pm loaded ok ok 8 - Mercury/Pattern/Bus.pm loaded ok ok 9 - Mercury/Pattern/PubSub.pm loaded ok ok 10 - Mercury/Pattern/PushPull.pm loaded ok ok 11 - Mojolicious/Plugin/Mercury.pm loaded ok ok 12 # skip bin/mercury isn't perl ok # # Versions for all modules listed in MYMETA.json (including optional ones): # # === Configure Requires === # # Module Want Have # ------------------- ---- ---- # ExtUtils::MakeMaker any 7.16 # # === Build Requires === # # Module Want Have # ------------------- ---- ---- # ExtUtils::MakeMaker any 7.16 # # === Test Requires === # # Module Want Have # ------------------- -------- -------- # ExtUtils::MakeMaker any 7.16 # File::Spec any 3.62 # IO::Handle any 1.36 # IPC::Open3 any 1.20 # Test::More 1.001005 1.302067 # # === Test Recommends === # # Module Want Have # ---------- -------- -------- # CPAN::Meta 2.120900 2.150010 # # === Runtime Requires === # # Module Want Have # --------------------- ---- ---- # File::Basename any 2.85 # File::Spec::Functions any 3.62 # Mojolicious 6.00 7.43 # Scalar::Util any 1.48 # t/00-report-prereqs.t .. 1..1 ok 1 ok [Wed Aug 23 08:00:45 2017] [debug] GET "/bus/fry" [Wed Aug 23 08:00:45 2017] [debug] Routing to a callback [Wed Aug 23 08:00:45 2017] [debug] Routing to controller "Mercury::Controller::Bus" and action "connect" [Wed Aug 23 08:00:45 2017] [debug] 101 Switching Protocols (0.001951s, 512.558/s) [Wed Aug 23 08:00:45 2017] [debug] GET "/bus/leela" [Wed Aug 23 08:00:45 2017] [debug] Routing to a callback [Wed Aug 23 08:00:45 2017] [debug] 401 Unauthorized (0.000509s, 1964.637/s) [Wed Aug 23 08:00:45 2017] [debug] GET "/bus/bender" [Wed Aug 23 08:00:45 2017] [debug] Routing to a callback [Wed Aug 23 08:00:45 2017] [debug] 401 Unauthorized (0.000377s, 2652.520/s) [Wed Aug 23 08:00:45 2017] [debug] GET "/sub/fry" [Wed Aug 23 08:00:45 2017] [debug] Routing to a callback [Wed Aug 23 08:00:45 2017] [debug] Routing to controller "Mercury::Controller::PubSub::Cascade" and action "subscribe" [Wed Aug 23 08:00:45 2017] [debug] 101 Switching Protocols (0.001658s, 603.136/s) [Wed Aug 23 08:00:45 2017] [debug] GET "/sub/leela" [Wed Aug 23 08:00:45 2017] [debug] Routing to a callback [Wed Aug 23 08:00:45 2017] [debug] 401 Unauthorized (0.000508s, 1968.504/s) [Wed Aug 23 08:00:45 2017] [debug] GET "/sub/bender" [Wed Aug 23 08:00:45 2017] [debug] Routing to a callback [Wed Aug 23 08:00:45 2017] [debug] 401 Unauthorized (0.000501s, 1996.008/s) [Wed Aug 23 08:00:45 2017] [debug] GET "/pub/fry" [Wed Aug 23 08:00:45 2017] [debug] Routing to a callback [Wed Aug 23 08:00:45 2017] [debug] Routing to controller "Mercury::Controller::PubSub::Cascade" and action "publish" [Wed Aug 23 08:00:45 2017] [debug] 101 Switching Protocols (0.000581s, 1721.170/s) [Wed Aug 23 08:00:45 2017] [debug] GET "/pub/leela" [Wed Aug 23 08:00:45 2017] [debug] Routing to a callback [Wed Aug 23 08:00:45 2017] [debug] 401 Unauthorized (0.00042s, 2380.952/s) [Wed Aug 23 08:00:45 2017] [debug] GET "/pub/bender" [Wed Aug 23 08:00:45 2017] [debug] Routing to a callback [Wed Aug 23 08:00:45 2017] [debug] 401 Unauthorized (0.000413s, 2421.308/s) [Wed Aug 23 08:00:45 2017] [debug] GET "/push/fry" [Wed Aug 23 08:00:45 2017] [debug] Routing to a callback [Wed Aug 23 08:00:45 2017] [debug] Routing to controller "Mercury::Controller::PushPull" and action "push" [Wed Aug 23 08:00:45 2017] [debug] 101 Switching Protocols (0.001515s, 660.066/s) [Wed Aug 23 08:00:45 2017] [debug] GET "/push/leela" [Wed Aug 23 08:00:45 2017] [debug] Routing to a callback [Wed Aug 23 08:00:45 2017] [debug] 401 Unauthorized (0.000418s, 2392.344/s) [Wed Aug 23 08:00:45 2017] [debug] GET "/push/bender" [Wed Aug 23 08:00:45 2017] [debug] Routing to a callback [Wed Aug 23 08:00:45 2017] [debug] 401 Unauthorized (0.000337s, 2967.359/s) [Wed Aug 23 08:00:45 2017] [debug] GET "/pull/fry" [Wed Aug 23 08:00:45 2017] [debug] Routing to a callback [Wed Aug 23 08:00:45 2017] [debug] Routing to controller "Mercury::Controller::PushPull" and action "pull" [Wed Aug 23 08:00:45 2017] [debug] 101 Switching Protocols (0.000528s, 1893.939/s) [Wed Aug 23 08:00:45 2017] [debug] GET "/pull/leela" [Wed Aug 23 08:00:45 2017] [debug] Routing to a callback [Wed Aug 23 08:00:45 2017] [debug] 401 Unauthorized (0.000405s, 2469.136/s) [Wed Aug 23 08:00:45 2017] [debug] GET "/pull/bender" [Wed Aug 23 08:00:45 2017] [debug] Routing to a callback [Wed Aug 23 08:00:45 2017] [debug] 401 Unauthorized (0.000364s, 2747.253/s) t/allow_origin.t ....... # Subtest: /bus # Subtest: example.com - host only # Subtest: correct origin ok 1 - WebSocket handshake with /bus/fry ok 2 - 101 Switching Protocols ok 3 - closed WebSocket 1..3 ok 1 - correct origin # Subtest: bad origin ok 1 - did not succeed ok 2 - unauthorized 1..2 ok 2 - bad origin # Subtest: no origin ok 1 - did not succeed ok 2 - unauthorized 1..2 ok 3 - no origin 1..3 ok 1 - example.com - host only 1..1 ok 1 - /bus # Subtest: /sub # Subtest: example.com - host only # Subtest: correct origin ok 1 - WebSocket handshake with /sub/fry ok 2 - 101 Switching Protocols ok 3 - closed WebSocket 1..3 ok 1 - correct origin # Subtest: bad origin ok 1 - did not succeed ok 2 - unauthorized 1..2 ok 2 - bad origin # Subtest: no origin ok 1 - did not succeed ok 2 - unauthorized 1..2 ok 3 - no origin 1..3 ok 1 - example.com - host only 1..1 ok 2 - /sub # Subtest: /pub # Subtest: example.com - host only # Subtest: correct origin ok 1 - WebSocket handshake with /pub/fry ok 2 - 101 Switching Protocols ok 3 - closed WebSocket 1..3 ok 1 - correct origin # Subtest: bad origin ok 1 - did not succeed ok 2 - unauthorized 1..2 ok 2 - bad origin # Subtest: no origin ok 1 - did not succeed ok 2 - unauthorized 1..2 ok 3 - no origin 1..3 ok 1 - example.com - host only 1..1 ok 3 - /pub # Subtest: /push # Subtest: example.com - host only # Subtest: correct origin ok 1 - WebSocket handshake with /push/fry ok 2 - 101 Switching Protocols ok 3 - closed WebSocket 1..3 ok 1 - correct origin # Subtest: bad origin ok 1 - did not succeed ok 2 - unauthorized 1..2 ok 2 - bad origin # Subtest: no origin ok 1 - did not succeed ok 2 - unauthorized 1..2 ok 3 - no origin 1..3 ok 1 - example.com - host only 1..1 ok 4 - /push # Subtest: /pull # Subtest: example.com - host only # Subtest: correct origin ok 1 - WebSocket handshake with /pull/fry ok 2 - 101 Switching Protocols ok 3 - closed WebSocket 1..3 ok 1 - correct origin # Subtest: bad origin ok 1 - did not succeed ok 2 - unauthorized 1..2 ok 2 - bad origin # Subtest: no origin ok 1 - did not succeed ok 2 - unauthorized 1..2 ok 3 - no origin 1..3 ok 1 - example.com - host only 1..1 ok 5 - /pull 1..5 ok [Wed Aug 23 08:00:45 2017] [debug] GET "/bus/foo" [Wed Aug 23 08:00:45 2017] [debug] Routing to controller "Mercury::Controller::Bus" and action "connect" [Wed Aug 23 08:00:45 2017] [debug] 101 Switching Protocols (0.001703s, 587.199/s) [Wed Aug 23 08:00:45 2017] [debug] GET "/bus/foo" [Wed Aug 23 08:00:45 2017] [debug] Routing to controller "Mercury::Controller::Bus" and action "connect" [Wed Aug 23 08:00:45 2017] [debug] 101 Switching Protocols (0.000357s, 2801.120/s) [Wed Aug 23 08:00:45 2017] [debug] GET "/bus/foo" [Wed Aug 23 08:00:45 2017] [debug] Routing to controller "Mercury::Controller::Bus" and action "connect" [Wed Aug 23 08:00:45 2017] [debug] 101 Switching Protocols (0.000331s, 3021.148/s) [Wed Aug 23 08:00:45 2017] [debug] GET "/bus/foo" [Wed Aug 23 08:00:45 2017] [debug] Routing to controller "Mercury::Controller::Bus" and action "connect" [Wed Aug 23 08:00:45 2017] [debug] 101 Switching Protocols (0.000391s, 2557.545/s) [Wed Aug 23 08:00:45 2017] [debug] GET "/bus/bar" [Wed Aug 23 08:00:45 2017] [debug] Routing to controller "Mercury::Controller::Bus" and action "connect" [Wed Aug 23 08:00:45 2017] [debug] 101 Switching Protocols (0.000507s, 1972.387/s) [Wed Aug 23 08:00:45 2017] [debug] POST "/bus/foo" [Wed Aug 23 08:00:45 2017] [debug] Routing to controller "Mercury::Controller::Bus" and action "post" [Wed Aug 23 08:00:45 2017] [debug] 200 OK (0.000746s, 1340.483/s) t/bus.t ................ ok 1 - WebSocket handshake with /bus/foo ok 2 - WebSocket handshake with /bus/foo ok 3 - WebSocket handshake with /bus/foo ok 4 - WebSocket handshake with /bus/foo?echo=1 ok 5 - WebSocket handshake with /bus/bar # Subtest: peer 0 ok 1 - peer 0 sends message ok 2 - peer 1 received message ok 3 - exact match for message ok 4 - peer 2 received message ok 5 - exact match for message ok 6 - peer 3 received message ok 7 - exact match for message 1..7 ok 6 - peer 0 # Subtest: peer 2 ok 1 - peer 2 sends message ok 2 - peer 0 received message ok 3 - exact match for message ok 4 - peer 1 received message ok 5 - exact match for message ok 6 - peer 3 received message ok 7 - exact match for message 1..7 ok 7 - peer 2 # Subtest: peer 3 ok 1 - peer 3 sends message ok 2 - peer 0 received message ok 3 - exact match for message ok 4 - peer 1 received message ok 5 - exact match for message ok 6 - peer 2 received message ok 7 - exact match for message ok 8 - peer 3 received message ok 9 - exact match for message 1..9 ok 8 - peer 3 # Subtest: post to bus ok 1 - POST /bus/foo ok 2 - 200 OK ok 3 - exact match for content ok 4 - peer 0 received message ok 5 - exact match for message ok 6 - peer 1 received message ok 7 - exact match for message ok 8 - peer 2 received message ok 9 - exact match for message ok 10 - peer 3 received message ok 11 - exact match for message 1..11 ok 9 - post to bus ok 10 - closed WebSocket ok 11 - closed WebSocket ok 12 - closed WebSocket ok 13 - closed WebSocket ok 14 - closed WebSocket 1..14 ok [Wed Aug 23 08:00:45 2017] [debug] GET "/pub/foo" [Wed Aug 23 08:00:45 2017] [debug] Routing to controller "Mercury::Controller::PubSub" and action "publish" [Wed Aug 23 08:00:45 2017] [debug] 101 Switching Protocols (0.00142s, 704.225/s) [Wed Aug 23 08:00:45 2017] [debug] GET "/sub/foo" [Wed Aug 23 08:00:45 2017] [debug] Routing to controller "Mercury::Controller::PubSub" and action "subscribe" [Wed Aug 23 08:00:45 2017] [debug] 101 Switching Protocols (0.001127s, 887.311/s) [Wed Aug 23 08:00:45 2017] [debug] GET "/sub/foo" [Wed Aug 23 08:00:45 2017] [debug] Routing to controller "Mercury::Controller::PubSub" and action "subscribe" [Wed Aug 23 08:00:45 2017] [debug] 101 Switching Protocols (0.001029s, 971.817/s) t/controller/pubsub.t .. # Subtest: exact topic ok 1 - WebSocket handshake with /pub/foo ok 2 - WebSocket handshake with /sub/foo ok 3 - WebSocket handshake with /sub/foo ok 4 - send message ok 5 - sub received message ok 6 - exact match for message ok 7 - sub received message ok 8 - exact match for message ok 9 - closed WebSocket ok 10 - closed WebSocket ok 11 - closed WebSocket 1..11 ok 1 - exact topic 1..1 ok [Wed Aug 23 08:00:46 2017] [debug] GET "/pub/foo" [Wed Aug 23 08:00:46 2017] [debug] Routing to controller "Mercury::Controller::PubSub::Cascade" and action "publish" [Wed Aug 23 08:00:46 2017] [debug] 101 Switching Protocols (0.001806s, 553.710/s) [Wed Aug 23 08:00:46 2017] [debug] GET "/sub/foo" [Wed Aug 23 08:00:46 2017] [debug] Routing to controller "Mercury::Controller::PubSub::Cascade" and action "subscribe" [Wed Aug 23 08:00:46 2017] [debug] 101 Switching Protocols (0.00051s, 1960.784/s) [Wed Aug 23 08:00:46 2017] [debug] GET "/sub/foo" [Wed Aug 23 08:00:46 2017] [debug] Routing to controller "Mercury::Controller::PubSub::Cascade" and action "subscribe" [Wed Aug 23 08:00:46 2017] [debug] 101 Switching Protocols (0.000285s, 3508.772/s) [Wed Aug 23 08:00:46 2017] [debug] GET "/sub/foo" [Wed Aug 23 08:00:46 2017] [debug] Routing to controller "Mercury::Controller::PubSub::Cascade" and action "subscribe" [Wed Aug 23 08:00:46 2017] [debug] 101 Switching Protocols (0.000297s, 3367.003/s) [Wed Aug 23 08:00:46 2017] [debug] GET "/sub/foo/bar" [Wed Aug 23 08:00:46 2017] [debug] Routing to controller "Mercury::Controller::PubSub::Cascade" and action "subscribe" [Wed Aug 23 08:00:46 2017] [debug] 101 Switching Protocols (0.000426s, 2347.418/s) [Wed Aug 23 08:00:46 2017] [debug] GET "/pub/foo/bar" [Wed Aug 23 08:00:46 2017] [debug] Routing to controller "Mercury::Controller::PubSub::Cascade" and action "publish" [Wed Aug 23 08:00:46 2017] [debug] 101 Switching Protocols (0.000411s, 2433.090/s) [Wed Aug 23 08:00:46 2017] [debug] POST "/pub/foo/bar" [Wed Aug 23 08:00:46 2017] [debug] Routing to controller "Mercury::Controller::PubSub::Cascade" and action "post" [Wed Aug 23 08:00:46 2017] [debug] 200 OK (0.000673s, 1485.884/s) [Wed Aug 23 08:00:46 2017] [debug] GET "/pub/foo" [Wed Aug 23 08:00:46 2017] [debug] Routing to controller "Mercury::Controller::PubSub::Cascade" and action "publish" [Wed Aug 23 08:00:46 2017] [debug] 101 Switching Protocols (0.000299s, 3344.482/s) [Wed Aug 23 08:00:46 2017] [debug] POST "/pub/foo" [Wed Aug 23 08:00:46 2017] [debug] Routing to controller "Mercury::Controller::PubSub::Cascade" and action "post" [Wed Aug 23 08:00:46 2017] [debug] 200 OK (0.000594s, 1683.502/s) t/pubsub.t ............. # Subtest: exact topic ok 1 - WebSocket handshake with /pub/foo ok 2 - WebSocket handshake with /sub/foo ok 3 - WebSocket handshake with /sub/foo ok 4 - send message ok 5 - sub received message ok 6 - exact match for message ok 7 - sub received message ok 8 - exact match for message ok 9 - closed WebSocket ok 10 - closed WebSocket ok 11 - closed WebSocket 1..11 ok 1 - exact topic # Subtest: topic hierarchy ok 1 - WebSocket handshake with /sub/foo ok 2 - WebSocket handshake with /sub/foo/bar # Subtest: publish on child topic ok 1 - WebSocket handshake with /pub/foo/bar ok 2 - send message ok 3 - sub received message ok 4 - exact match for message ok 5 - sub received message ok 6 - exact match for message ok 7 - closed WebSocket 1..7 ok 3 - publish on child topic # Subtest: post on child topic ok 1 - POST /pub/foo/bar ok 2 - 200 OK ok 3 - exact match for content ok 4 - sub /sub/foo received message ok 5 - exact match for message ok 6 - sub /sub/foo/bar received message ok 7 - exact match for message 1..7 ok 4 - post on child topic # Subtest: publish on parent topic ok 1 - WebSocket handshake with /pub/foo ok 2 - send message ok 3 - sub received message ok 4 - exact match for message ok 5 - closed WebSocket 1..5 ok 5 - publish on parent topic # Subtest: post on parent topic ok 1 - POST /pub/foo ok 2 - sub received message ok 3 - exact match for message 1..3 ok 6 - post on parent topic ok 7 - closed WebSocket ok 8 - closed WebSocket 1..8 ok 2 - topic hierarchy 1..2 ok [Wed Aug 23 08:00:46 2017] [debug] GET "/pull/foo" [Wed Aug 23 08:00:46 2017] [debug] Routing to controller "Mercury::Controller::PushPull" and action "pull" [Wed Aug 23 08:00:46 2017] [debug] 101 Switching Protocols (0.001659s, 602.773/s) [Wed Aug 23 08:00:46 2017] [debug] GET "/pull/foo" [Wed Aug 23 08:00:46 2017] [debug] Routing to controller "Mercury::Controller::PushPull" and action "pull" [Wed Aug 23 08:00:46 2017] [debug] 101 Switching Protocols (0.000286s, 3496.503/s) [Wed Aug 23 08:00:46 2017] [debug] GET "/pull/bar" [Wed Aug 23 08:00:46 2017] [debug] Routing to controller "Mercury::Controller::PushPull" and action "pull" [Wed Aug 23 08:00:46 2017] [debug] 101 Switching Protocols (0.0004s, 2500.000/s) [Wed Aug 23 08:00:46 2017] [debug] GET "/push/foo" [Wed Aug 23 08:00:46 2017] [debug] Routing to controller "Mercury::Controller::PushPull" and action "push" [Wed Aug 23 08:00:46 2017] [debug] 101 Switching Protocols (0.000395s, 2531.646/s) [Wed Aug 23 08:00:46 2017] [debug] GET "/pull/foo" [Wed Aug 23 08:00:46 2017] [debug] Routing to controller "Mercury::Controller::PushPull" and action "pull" [Wed Aug 23 08:00:46 2017] [debug] 101 Switching Protocols (0.000293s, 3412.969/s) [Wed Aug 23 08:00:46 2017] [debug] GET "/pull/foo" [Wed Aug 23 08:00:46 2017] [debug] Routing to controller "Mercury::Controller::PushPull" and action "pull" [Wed Aug 23 08:00:46 2017] [debug] 101 Switching Protocols (0.000289s, 3460.208/s) [Wed Aug 23 08:00:46 2017] [debug] POST "/push/foo" [Wed Aug 23 08:00:46 2017] [debug] Routing to controller "Mercury::Controller::PushPull" and action "post" [Wed Aug 23 08:00:46 2017] [debug] 200 OK (0.000604s, 1655.629/s) t/pushpull.t ........... ok 1 - WebSocket handshake with /pull/foo ok 2 - WebSocket handshake with /pull/foo ok 3 - WebSocket handshake with /pull/bar ok 4 - WebSocket handshake with /push/foo # Subtest: first message ok 1 - send message ok 2 - first puller got first message ok 3 - exact match for message ok 4 - other pullers got no message 1..4 ok 5 - first message # Subtest: second message ok 1 - send message ok 2 - second puller got second message ok 3 - exact match for message ok 4 - other pullers got no message 1..4 ok 6 - second message # Subtest: third message ok 1 - send message ok 2 - first puller got third message ok 3 - exact match for message 1..3 ok 7 - third message # Subtest: remove a puller ok 1 - closed WebSocket 1..1 ok 8 - remove a puller # Subtest: fourth message ok 1 - send message ok 2 - first puller got third message ok 3 - exact match for message 1..3 ok 9 - fourth message # Subtest: add a puller ok 1 - WebSocket handshake with /pull/foo 1..1 ok 10 - add a puller # Subtest: fourth message ok 1 - send message ok 2 - first puller got fourth message ok 3 - exact match for message ok 4 - other pullers got no message 1..4 ok 11 - fourth message # Subtest: fifth message ok 1 - send message ok 2 - third puller got fifth message ok 3 - exact match for message ok 4 - other pullers got no message 1..4 ok 12 - fifth message # Subtest: remove all pullers ok 1 - closed WebSocket ok 2 - closed WebSocket 1..2 ok 13 - remove all pullers # Subtest: start again ok 1 - WebSocket handshake with /pull/foo 1..1 ok 14 - start again # Subtest: sixth message ok 1 - send message ok 2 - fourth puller got sixth message ok 3 - exact match for message 1..3 ok 15 - sixth message # Subtest: post to push ok 1 - POST /push/foo ok 2 - 200 OK ok 3 - exact match for content ok 4 - only puller received post (seventh) message ok 5 - exact match for message 1..5 ok 16 - post to push ok 17 - closed WebSocket ok 18 - closed WebSocket 1..18 ok All tests successful. Files=7, Tests=53, 4 wallclock secs ( 0.05 usr 0.02 sys + 3.47 cusr 0.56 csys = 4.10 CPU) Result: PASS PREACTION/Mercury-0.015.tar.gz make test TEST_VERBOSE=1 -- OK Doug Bell <preaction@cpan.org> A message broker for WebSockets >>> (cd /Users/fly2400/cpanfly-5.24/var/tmp/cpan_build/Mercury-0.015-qxbhIB && tar cvf - Mercury-0.015.ppd blib) | gzip -c >/Users/fly2400/cpanfly-5.24/var/REPO/P/PR/PREACTION/Mercury-0.015.tar.gz Mercury-0.015.ppd blib/ blib/lib/ blib/lib/Mercury/ blib/lib/Mercury/Command/ blib/lib/Mercury/Command/mercury/ blib/lib/Mercury/Command/mercury/broker.pm blib/lib/Mercury/Command/mercury.pm blib/lib/Mercury/Controller/ blib/lib/Mercury/Controller/Bus.pm blib/lib/Mercury/Controller/PubSub/ blib/lib/Mercury/Controller/PubSub/Cascade.pm blib/lib/Mercury/Controller/PubSub.pm blib/lib/Mercury/Controller/PushPull.pm blib/lib/Mercury/Pattern/ blib/lib/Mercury/Pattern/Bus.pm blib/lib/Mercury/Pattern/PubSub.pm blib/lib/Mercury/Pattern/PushPull.pm blib/lib/Mercury/public/ blib/lib/Mercury/public/example.js blib/lib/Mercury/templates/ blib/lib/Mercury/templates/bus.html.ep blib/lib/Mercury/templates/index.html.ep blib/lib/Mercury/templates/layouts/ blib/lib/Mercury/templates/layouts/standard.html.ep blib/lib/Mercury/templates/pubsub.html.ep blib/lib/Mercury/templates/pushpull.html.ep blib/lib/Mercury.pm blib/lib/Mojolicious/ blib/lib/Mojolicious/Plugin/ blib/lib/Mojolicious/Plugin/Mercury.pm blib/man1/ blib/man1/mercury.1 blib/man3/ blib/man3/Mercury.3 blib/man3/Mercury::Command::mercury.3 blib/man3/Mercury::Command::mercury::broker.3 blib/man3/Mercury::Controller::Bus.3 blib/man3/Mercury::Controller::PubSub.3 blib/man3/Mercury::Controller::PubSub::Cascade.3 blib/man3/Mercury::Controller::PushPull.3 blib/man3/Mercury::Pattern::Bus.3 blib/man3/Mercury::Pattern::PubSub.3 blib/man3/Mercury::Pattern::PushPull.3 blib/man3/Mojolicious::Plugin::Mercury.3 blib/script/ blib/script/mercury Finished 2017-08-23T08:00:46