PATH=/Users/fly2200/cpanfly-5.22/bin:/Users/fly2200/ap2200-299195/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin:/Users/fly2200/cpanfly-5.22/var/megalib/bin Start 2017-01-05T03:46:33 ActivePerl-2200 CPAN-2.10 Reading '/Users/fly2200/cpanfly-5.22/var/cpan/Metadata' Database was generated on Wed, 04 Jan 2017 06:41:03 GMT Checksum for /Users/fly2200/cpanfly-5.22/var/cpan/sources/authors/id/P/PR/PREACTION/Mercury-0.011.tar.gz ok Mercury-0.011 Mercury-0.011/README Mercury-0.011/LICENSE Mercury-0.011/CHANGES Mercury-0.011/Rexfile Mercury-0.011/t Mercury-0.011/t/bus.t Mercury-0.011/META.yml Mercury-0.011/MANIFEST Mercury-0.011/cpanfile Mercury-0.011/site.yml Mercury-0.011/META.json Mercury-0.011/t/pubsub.t Mercury-0.011/Makefile.PL Mercury-0.011/bin Mercury-0.011/bin/mercury Mercury-0.011/eg Mercury-0.011/eg/chat.html Mercury-0.011/eg/daemon.pl Mercury-0.011/t/pushpull.t Mercury-0.011/t/00-compile.t Mercury-0.011/lib Mercury-0.011/lib/Mercury.pm Mercury-0.011/CONTRIBUTING.md Mercury-0.011/t/allow_origin.t Mercury-0.011/site Mercury-0.011/site/index.markdown Mercury-0.011/site/release-blog.pl Mercury-0.011/t/00-report-prereqs.t Mercury-0.011/t/controller Mercury-0.011/t/controller/pubsub.t Mercury-0.011/t/00-report-prereqs.dd Mercury-0.011/t/share Mercury-0.011/t/share/allow_origin.conf Mercury-0.011/lib/Mercury/Pattern Mercury-0.011/lib/Mercury/Pattern/Bus.pm Mercury-0.011/site/theme/site Mercury-0.011/site/theme/site/style.html Mercury-0.011/site/theme/css Mercury-0.011/site/theme/css/skeleton.css Mercury-0.011/site/theme/blog Mercury-0.011/site/theme/blog/index.rss.ep Mercury-0.011/site/theme/blog/post.html.ep Mercury-0.011/site/theme/css/normalize.css Mercury-0.011/lib/Mercury/Controller Mercury-0.011/lib/Mercury/Controller/Bus.pm Mercury-0.011/lib/Mercury/Pattern/PubSub.pm Mercury-0.011/lib/Mercury/public Mercury-0.011/lib/Mercury/public/example.js Mercury-0.011/site/theme/blog/index.atom.ep Mercury-0.011/site/theme/blog/index.html.ep Mercury-0.011/site/theme/site/robots.txt.ep Mercury-0.011/lib/Mercury/Command Mercury-0.011/lib/Mercury/Command/mercury.pm Mercury-0.011/site/theme/perldoc Mercury-0.011/site/theme/perldoc/pod.html.ep Mercury-0.011/site/theme/site/footer.html.ep Mercury-0.011/site/theme/site/layout.html.ep Mercury-0.011/site/theme/site/sitemap.xml.ep Mercury-0.011/lib/Mercury/Pattern/PushPull.pm Mercury-0.011/lib/Mercury/Controller/PubSub.pm Mercury-0.011/lib/Mercury/templates Mercury-0.011/lib/Mercury/templates/bus.html.ep Mercury-0.011/lib/Mojolicious/Plugin Mercury-0.011/lib/Mojolicious/Plugin/Mercury.pm Mercury-0.011/site/theme/perldoc/source.html.ep Mercury-0.011/lib/Mercury/Controller/PushPull.pm Mercury-0.011/site/theme/site/head_after.html.ep Mercury-0.011/lib/Mercury/templates/index.html.ep Mercury-0.011/lib/Mercury/templates/pubsub.html.ep Mercury-0.011/site/theme/css/statocles-default.css Mercury-0.011/site/theme/site/header_after.html.ep Mercury-0.011/site/theme/site/navbar_extra.html.ep Mercury-0.011/lib/Mercury/Command/mercury Mercury-0.011/lib/Mercury/Command/mercury/broker.pm Mercury-0.011/lib/Mercury/templates/pushpull.html.ep Mercury-0.011/site/theme/site/sidebar_before.html.ep Mercury-0.011/lib/Mercury/Controller/PubSub Mercury-0.011/lib/Mercury/Controller/PubSub/Cascade.pm Mercury-0.011/lib/Mercury/templates/layouts Mercury-0.011/lib/Mercury/templates/layouts/standard.html.ep Mercury-0.011/site/blog/2015/12/13/release-v0-007 Mercury-0.011/site/blog/2015/12/13/release-v0-007/index.markdown Mercury-0.011/site/blog/2015/12/29/release-v0-008 Mercury-0.011/site/blog/2015/12/29/release-v0-008/index.markdown Mercury-0.011/site/blog/2016/09/01/release-v0-009 Mercury-0.011/site/blog/2016/09/01/release-v0-009/index.markdown Configuring P/PR/PREACTION/Mercury-0.011.tar.gz with Makefile.PL >>> /Users/fly2200/ap2200-299195/bin/perl-dynamic Makefile.PL Checking if your kit is complete... Looks good Have /Users/fly2200/cpanfly-5.22/var/megalib Want /Users/fly2200/ap2200-299195/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.011.tar.gz /Users/fly2200/ap2200-299195/bin/perl-dynamic Makefile.PL -- OK Running make for P/PR/PREACTION/Mercury-0.011.tar.gz >>> make cp lib/Mercury/Controller/PubSub.pm blib/lib/Mercury/Controller/PubSub.pm cp lib/Mercury.pm blib/lib/Mercury.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/Controller/PushPull.pm blib/lib/Mercury/Controller/PushPull.pm cp lib/Mercury/Controller/PubSub/Cascade.pm blib/lib/Mercury/Controller/PubSub/Cascade.pm cp lib/Mercury/templates/index.html.ep blib/lib/Mercury/templates/index.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 lib/Mercury/Pattern/PubSub.pm blib/lib/Mercury/Pattern/PubSub.pm cp lib/Mercury/public/example.js blib/lib/Mercury/public/example.js cp lib/Mercury/templates/layouts/standard.html.ep blib/lib/Mercury/templates/layouts/standard.html.ep cp lib/Mercury/templates/pubsub.html.ep blib/lib/Mercury/templates/pubsub.html.ep cp lib/Mercury/templates/pushpull.html.ep blib/lib/Mercury/templates/pushpull.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 bin/mercury blib/script/mercury "/Users/fly2200/ap2200-299195/bin/perl-dynamic" -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/mercury Manifying 1 pod document Manifying 11 pod documents PREACTION/Mercury-0.011.tar.gz make -- OK Running make test >>> make test TEST_VERBOSE=1 PERL_DL_NONLAZY=1 "/Users/fly2200/ap2200-299195/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.04 # # === Build Requires === # # Module Want Have # ------------------- ---- ---- # ExtUtils::MakeMaker any 7.04 # # === Test Requires === # # Module Want Have # ------------------- -------- -------- # ExtUtils::MakeMaker any 7.04 # File::Spec any 3.62 # IO::Handle any 1.35 # IPC::Open3 any 1.18 # Test::More 1.001005 1.001014 # # === Test Recommends === # # Module Want Have # ---------- -------- -------- # CPAN::Meta 2.120900 2.150005 # # === Runtime Requires === # # Module Want Have # --------------------- ---- ---- # File::Basename any 2.85 # File::Spec::Functions any 3.62 # Mojolicious 6.00 7.13 # Scalar::Util any 1.47 # t/00-report-prereqs.t .. 1..1 ok 1 ok [Thu Jan 5 03:46:38 2017] [debug] GET "/bus/fry" [Thu Jan 5 03:46:38 2017] [debug] Routing to a callback [Thu Jan 5 03:46:38 2017] [debug] Routing to controller "Mercury::Controller::Bus" and action "connect" [Thu Jan 5 03:46:38 2017] [debug] 101 Switching Protocols (0.001953s, 512.033/s) [Thu Jan 5 03:46:38 2017] [debug] GET "/bus/leela" [Thu Jan 5 03:46:38 2017] [debug] Routing to a callback [Thu Jan 5 03:46:38 2017] [debug] 401 Unauthorized (0.000848s, 1179.245/s) [Thu Jan 5 03:46:38 2017] [debug] GET "/bus/bender" [Thu Jan 5 03:46:38 2017] [debug] Routing to a callback [Thu Jan 5 03:46:38 2017] [debug] 401 Unauthorized (0.000423s, 2364.066/s) [Thu Jan 5 03:46:38 2017] [debug] GET "/sub/fry" [Thu Jan 5 03:46:38 2017] [debug] Routing to a callback [Thu Jan 5 03:46:38 2017] [debug] Routing to controller "Mercury::Controller::PubSub::Cascade" and action "subscribe" [Thu Jan 5 03:46:38 2017] [debug] 101 Switching Protocols (0.001636s, 611.247/s) [Thu Jan 5 03:46:38 2017] [debug] GET "/sub/leela" [Thu Jan 5 03:46:38 2017] [debug] Routing to a callback [Thu Jan 5 03:46:38 2017] [debug] 401 Unauthorized (0.000396s, 2525.253/s) [Thu Jan 5 03:46:38 2017] [debug] GET "/sub/bender" [Thu Jan 5 03:46:38 2017] [debug] Routing to a callback [Thu Jan 5 03:46:38 2017] [debug] 401 Unauthorized (0.000334s, 2994.012/s) [Thu Jan 5 03:46:38 2017] [debug] GET "/pub/fry" [Thu Jan 5 03:46:38 2017] [debug] Routing to a callback [Thu Jan 5 03:46:38 2017] [debug] Routing to controller "Mercury::Controller::PubSub::Cascade" and action "publish" [Thu Jan 5 03:46:38 2017] [debug] 101 Switching Protocols (0.000435s, 2298.851/s) [Thu Jan 5 03:46:38 2017] [debug] GET "/pub/leela" [Thu Jan 5 03:46:38 2017] [debug] Routing to a callback [Thu Jan 5 03:46:38 2017] [debug] 401 Unauthorized (0.000369s, 2710.027/s) [Thu Jan 5 03:46:38 2017] [debug] GET "/pub/bender" [Thu Jan 5 03:46:38 2017] [debug] Routing to a callback [Thu Jan 5 03:46:38 2017] [debug] 401 Unauthorized (0.000303s, 3300.330/s) [Thu Jan 5 03:46:38 2017] [debug] GET "/push/fry" [Thu Jan 5 03:46:38 2017] [debug] Routing to a callback [Thu Jan 5 03:46:38 2017] [debug] Routing to controller "Mercury::Controller::PushPull" and action "push" [Thu Jan 5 03:46:38 2017] [debug] 101 Switching Protocols (0.001904s, 525.210/s) [Thu Jan 5 03:46:38 2017] [debug] GET "/push/leela" [Thu Jan 5 03:46:38 2017] [debug] Routing to a callback [Thu Jan 5 03:46:38 2017] [debug] 401 Unauthorized (0.000534s, 1872.659/s) [Thu Jan 5 03:46:38 2017] [debug] GET "/push/bender" [Thu Jan 5 03:46:38 2017] [debug] Routing to a callback [Thu Jan 5 03:46:38 2017] [debug] 401 Unauthorized (0.000425s, 2352.941/s) [Thu Jan 5 03:46:38 2017] [debug] GET "/pull/fry" [Thu Jan 5 03:46:38 2017] [debug] Routing to a callback [Thu Jan 5 03:46:38 2017] [debug] Routing to controller "Mercury::Controller::PushPull" and action "pull" [Thu Jan 5 03:46:38 2017] [debug] 101 Switching Protocols (0.000515s, 1941.748/s) [Thu Jan 5 03:46:38 2017] [debug] GET "/pull/leela" [Thu Jan 5 03:46:38 2017] [debug] Routing to a callback [Thu Jan 5 03:46:38 2017] [debug] 401 Unauthorized (0.000395s, 2531.646/s) [Thu Jan 5 03:46:38 2017] [debug] GET "/pull/bender" [Thu Jan 5 03:46:38 2017] [debug] Routing to a callback [Thu Jan 5 03:46:38 2017] [debug] 401 Unauthorized (0.000317s, 3154.574/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 [Thu Jan 5 03:46:38 2017] [debug] GET "/bus/foo" [Thu Jan 5 03:46:38 2017] [debug] Routing to controller "Mercury::Controller::Bus" and action "connect" [Thu Jan 5 03:46:38 2017] [debug] 101 Switching Protocols (0.002373s, 421.408/s) [Thu Jan 5 03:46:38 2017] [debug] GET "/bus/foo" [Thu Jan 5 03:46:38 2017] [debug] Routing to controller "Mercury::Controller::Bus" and action "connect" [Thu Jan 5 03:46:38 2017] [debug] 101 Switching Protocols (0.001274s, 784.929/s) [Thu Jan 5 03:46:38 2017] [debug] GET "/bus/foo" [Thu Jan 5 03:46:38 2017] [debug] Routing to controller "Mercury::Controller::Bus" and action "connect" [Thu Jan 5 03:46:38 2017] [debug] 101 Switching Protocols (0.000425s, 2352.941/s) [Thu Jan 5 03:46:39 2017] [debug] GET "/bus/foo" [Thu Jan 5 03:46:39 2017] [debug] Routing to controller "Mercury::Controller::Bus" and action "connect" [Thu Jan 5 03:46:39 2017] [debug] 101 Switching Protocols (0.000425s, 2352.941/s) [Thu Jan 5 03:46:39 2017] [debug] GET "/bus/bar" [Thu Jan 5 03:46:39 2017] [debug] Routing to controller "Mercury::Controller::Bus" and action "connect" [Thu Jan 5 03:46:39 2017] [debug] 101 Switching Protocols (0.000557s, 1795.332/s) [Thu Jan 5 03:46:39 2017] [debug] POST "/bus/foo" [Thu Jan 5 03:46:39 2017] [debug] Routing to controller "Mercury::Controller::Bus" and action "post" [Thu Jan 5 03:46:39 2017] [debug] 200 OK (0.00081s, 1234.568/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 [Thu Jan 5 03:46:39 2017] [debug] GET "/pub/foo" [Thu Jan 5 03:46:39 2017] [debug] Routing to controller "Mercury::Controller::PubSub" and action "publish" [Thu Jan 5 03:46:39 2017] [debug] 101 Switching Protocols (0.001493s, 669.792/s) [Thu Jan 5 03:46:39 2017] [debug] GET "/sub/foo" [Thu Jan 5 03:46:39 2017] [debug] Routing to controller "Mercury::Controller::PubSub" and action "subscribe" [Thu Jan 5 03:46:39 2017] [debug] 101 Switching Protocols (0.001161s, 861.326/s) [Thu Jan 5 03:46:39 2017] [debug] GET "/sub/foo" [Thu Jan 5 03:46:39 2017] [debug] Routing to controller "Mercury::Controller::PubSub" and action "subscribe" [Thu Jan 5 03:46:39 2017] [debug] 101 Switching Protocols (0.000986s, 1014.199/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 [Thu Jan 5 03:46:39 2017] [debug] GET "/pub/foo" [Thu Jan 5 03:46:39 2017] [debug] Routing to controller "Mercury::Controller::PubSub::Cascade" and action "publish" [Thu Jan 5 03:46:39 2017] [debug] 101 Switching Protocols (0.003615s, 276.625/s) [Thu Jan 5 03:46:39 2017] [debug] GET "/sub/foo" [Thu Jan 5 03:46:39 2017] [debug] Routing to controller "Mercury::Controller::PubSub::Cascade" and action "subscribe" [Thu Jan 5 03:46:39 2017] [debug] 101 Switching Protocols (0.000536s, 1865.672/s) [Thu Jan 5 03:46:39 2017] [debug] GET "/sub/foo" [Thu Jan 5 03:46:39 2017] [debug] Routing to controller "Mercury::Controller::PubSub::Cascade" and action "subscribe" [Thu Jan 5 03:46:39 2017] [debug] 101 Switching Protocols (0.0003s, 3333.333/s) [Thu Jan 5 03:46:39 2017] [debug] GET "/sub/foo" [Thu Jan 5 03:46:39 2017] [debug] Routing to controller "Mercury::Controller::PubSub::Cascade" and action "subscribe" [Thu Jan 5 03:46:39 2017] [debug] 101 Switching Protocols (0.000332s, 3012.048/s) [Thu Jan 5 03:46:39 2017] [debug] GET "/sub/foo/bar" [Thu Jan 5 03:46:39 2017] [debug] Routing to controller "Mercury::Controller::PubSub::Cascade" and action "subscribe" [Thu Jan 5 03:46:39 2017] [debug] 101 Switching Protocols (0.000542s, 1845.018/s) [Thu Jan 5 03:46:39 2017] [debug] GET "/pub/foo/bar" [Thu Jan 5 03:46:39 2017] [debug] Routing to controller "Mercury::Controller::PubSub::Cascade" and action "publish" [Thu Jan 5 03:46:39 2017] [debug] 101 Switching Protocols (0.000462s, 2164.502/s) [Thu Jan 5 03:46:39 2017] [debug] POST "/pub/foo/bar" [Thu Jan 5 03:46:39 2017] [debug] Routing to controller "Mercury::Controller::PubSub::Cascade" and action "post" [Thu Jan 5 03:46:39 2017] [debug] 200 OK (0.00074s, 1351.351/s) [Thu Jan 5 03:46:39 2017] [debug] GET "/pub/foo" [Thu Jan 5 03:46:39 2017] [debug] Routing to controller "Mercury::Controller::PubSub::Cascade" and action "publish" [Thu Jan 5 03:46:39 2017] [debug] 101 Switching Protocols (0.00025s, 4000.000/s) [Thu Jan 5 03:46:39 2017] [debug] POST "/pub/foo" [Thu Jan 5 03:46:39 2017] [debug] Routing to controller "Mercury::Controller::PubSub::Cascade" and action "post" [Thu Jan 5 03:46:39 2017] [debug] 200 OK (0.000551s, 1814.882/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/bar received message ok 5 - exact match for message ok 6 - sub /sub/foo 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 [Thu Jan 5 03:46:39 2017] [debug] GET "/pull/foo" [Thu Jan 5 03:46:39 2017] [debug] Routing to controller "Mercury::Controller::PushPull" and action "pull" [Thu Jan 5 03:46:39 2017] [debug] 101 Switching Protocols (0.001775s, 563.380/s) [Thu Jan 5 03:46:39 2017] [debug] GET "/pull/foo" [Thu Jan 5 03:46:39 2017] [debug] Routing to controller "Mercury::Controller::PushPull" and action "pull" [Thu Jan 5 03:46:39 2017] [debug] 101 Switching Protocols (0.000305s, 3278.689/s) [Thu Jan 5 03:46:39 2017] [debug] GET "/pull/bar" [Thu Jan 5 03:46:39 2017] [debug] Routing to controller "Mercury::Controller::PushPull" and action "pull" [Thu Jan 5 03:46:39 2017] [debug] 101 Switching Protocols (0.000409s, 2444.988/s) [Thu Jan 5 03:46:39 2017] [debug] GET "/push/foo" [Thu Jan 5 03:46:39 2017] [debug] Routing to controller "Mercury::Controller::PushPull" and action "push" [Thu Jan 5 03:46:39 2017] [debug] 101 Switching Protocols (0.000638s, 1567.398/s) [Thu Jan 5 03:46:39 2017] [debug] GET "/pull/foo" [Thu Jan 5 03:46:40 2017] [debug] Routing to controller "Mercury::Controller::PushPull" and action "pull" [Thu Jan 5 03:46:40 2017] [debug] 101 Switching Protocols (0.000793999999999961s, 1259.446/s) [Thu Jan 5 03:46:40 2017] [debug] GET "/pull/foo" [Thu Jan 5 03:46:40 2017] [debug] Routing to controller "Mercury::Controller::PushPull" and action "pull" [Thu Jan 5 03:46:40 2017] [debug] 101 Switching Protocols (0.000837s, 1194.743/s) [Thu Jan 5 03:46:40 2017] [debug] POST "/push/foo" [Thu Jan 5 03:46:40 2017] [debug] Routing to controller "Mercury::Controller::PushPull" and action "post" [Thu Jan 5 03:46:40 2017] [debug] 200 OK (0.000643s, 1555.210/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, 5 wallclock secs ( 0.05 usr 0.02 sys + 3.34 cusr 0.48 csys = 3.89 CPU) Result: PASS PREACTION/Mercury-0.011.tar.gz make test TEST_VERBOSE=1 -- OK Doug Bell <preaction@cpan.org> A message broker for WebSockets >>> (cd /Users/fly2200/cpanfly-5.22/var/tmp/cpan_build/Mercury-0.011-ztGZc7 && tar cvf - Mercury-0.011.ppd blib) | gzip -c >/Users/fly2200/cpanfly-5.22/var/REPO/P/PR/PREACTION/Mercury-0.011.tar.gz Mercury-0.011.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-01-05T03:46:40