PATH=/usr/bin:/bin:/Users/fly2000/cpanfly-5.20/var/megalib/bin Start 2016-12-18T10:02:55 ActivePerl-2000 CPAN-2.10 Reading '/Users/fly2000/cpanfly-5.20/var/cpan/Metadata' Database was generated on Sun, 18 Dec 2016 06:53:32 GMT Fetching with LWP: http://ppm.activestate.com/CPAN/authors/id/P/PR/PREACTION/Mercury-0.011.tar.gz Fetching with LWP: http://ppm.activestate.com/CPAN/authors/id/P/PR/PREACTION/CHECKSUMS Checksum for /Users/fly2000/cpanfly-5.20/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/fly2000/ap2000-298465/bin/perl-dynamic Makefile.PL Checking if your kit is complete... Looks good Have /Users/fly2000/cpanfly-5.20/var/megalib Want /Users/fly2000/ap2000-298465/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/fly2000/ap2000-298465/bin/perl-dynamic Makefile.PL -- OK Running make for P/PR/PREACTION/Mercury-0.011.tar.gz >>> make cp lib/Mercury/public/example.js blib/lib/Mercury/public/example.js cp lib/Mercury/Command/mercury/broker.pm blib/lib/Mercury/Command/mercury/broker.pm cp lib/Mojolicious/Plugin/Mercury.pm blib/lib/Mojolicious/Plugin/Mercury.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/Command/mercury.pm blib/lib/Mercury/Command/mercury.pm cp lib/Mercury/Controller/PubSub/Cascade.pm blib/lib/Mercury/Controller/PubSub/Cascade.pm cp lib/Mercury/templates/layouts/standard.html.ep blib/lib/Mercury/templates/layouts/standard.html.ep cp lib/Mercury/Controller/PushPull.pm blib/lib/Mercury/Controller/PushPull.pm cp lib/Mercury/templates/bus.html.ep blib/lib/Mercury/templates/bus.html.ep cp lib/Mercury/templates/pubsub.html.ep blib/lib/Mercury/templates/pubsub.html.ep cp lib/Mercury.pm blib/lib/Mercury.pm cp lib/Mercury/Controller/Bus.pm blib/lib/Mercury/Controller/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/templates/pushpull.html.ep blib/lib/Mercury/templates/pushpull.html.ep cp lib/Mercury/Controller/PubSub.pm blib/lib/Mercury/Controller/PubSub.pm cp bin/mercury blib/script/mercury "/Users/fly2000/ap2000-298465/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/fly2000/ap2000-298465/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.16 # Test::More 1.001005 1.001009 # # === 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.11 # Scalar::Util any 1.46 # t/00-report-prereqs.t .. 1..1 ok 1 ok [Sun Dec 18 10:03:07 2016] [debug] GET "/bus/fry" [Sun Dec 18 10:03:07 2016] [debug] Routing to a callback [Sun Dec 18 10:03:07 2016] [debug] Routing to controller "Mercury::Controller::Bus" and action "connect" [Sun Dec 18 10:03:07 2016] [debug] 101 Switching Protocols (0.003567s, 280.348/s) [Sun Dec 18 10:03:07 2016] [debug] GET "/bus/leela" [Sun Dec 18 10:03:07 2016] [debug] Routing to a callback [Sun Dec 18 10:03:07 2016] [debug] 401 Unauthorized (0.000784s, 1275.510/s) [Sun Dec 18 10:03:07 2016] [debug] GET "/bus/bender" [Sun Dec 18 10:03:07 2016] [debug] Routing to a callback [Sun Dec 18 10:03:07 2016] [debug] 401 Unauthorized (0.000652s, 1533.742/s) [Sun Dec 18 10:03:07 2016] [debug] GET "/sub/fry" [Sun Dec 18 10:03:07 2016] [debug] Routing to a callback [Sun Dec 18 10:03:07 2016] [debug] Routing to controller "Mercury::Controller::PubSub::Cascade" and action "subscribe" [Sun Dec 18 10:03:07 2016] [debug] 101 Switching Protocols (0.00308s, 324.675/s) [Sun Dec 18 10:03:07 2016] [debug] GET "/sub/leela" [Sun Dec 18 10:03:07 2016] [debug] Routing to a callback [Sun Dec 18 10:03:07 2016] [debug] 401 Unauthorized (0.000645s, 1550.388/s) [Sun Dec 18 10:03:07 2016] [debug] GET "/sub/bender" [Sun Dec 18 10:03:07 2016] [debug] Routing to a callback [Sun Dec 18 10:03:07 2016] [debug] 401 Unauthorized (0.000605s, 1652.893/s) [Sun Dec 18 10:03:07 2016] [debug] GET "/pub/fry" [Sun Dec 18 10:03:07 2016] [debug] Routing to a callback [Sun Dec 18 10:03:07 2016] [debug] Routing to controller "Mercury::Controller::PubSub::Cascade" and action "publish" [Sun Dec 18 10:03:07 2016] [debug] 101 Switching Protocols (0.000748s, 1336.898/s) [Sun Dec 18 10:03:07 2016] [debug] GET "/pub/leela" [Sun Dec 18 10:03:07 2016] [debug] Routing to a callback [Sun Dec 18 10:03:07 2016] [debug] 401 Unauthorized (0.000628s, 1592.357/s) [Sun Dec 18 10:03:07 2016] [debug] GET "/pub/bender" [Sun Dec 18 10:03:07 2016] [debug] Routing to a callback [Sun Dec 18 10:03:07 2016] [debug] 401 Unauthorized (0.000588s, 1700.680/s) [Sun Dec 18 10:03:07 2016] [debug] GET "/push/fry" [Sun Dec 18 10:03:07 2016] [debug] Routing to a callback [Sun Dec 18 10:03:07 2016] [debug] Routing to controller "Mercury::Controller::PushPull" and action "push" [Sun Dec 18 10:03:07 2016] [debug] 101 Switching Protocols (0.002684s, 372.578/s) [Sun Dec 18 10:03:07 2016] [debug] GET "/push/leela" [Sun Dec 18 10:03:07 2016] [debug] Routing to a callback [Sun Dec 18 10:03:07 2016] [debug] 401 Unauthorized (0.000578s, 1730.104/s) [Sun Dec 18 10:03:07 2016] [debug] GET "/push/bender" [Sun Dec 18 10:03:07 2016] [debug] Routing to a callback [Sun Dec 18 10:03:07 2016] [debug] 401 Unauthorized (0.000541s, 1848.429/s) [Sun Dec 18 10:03:07 2016] [debug] GET "/pull/fry" [Sun Dec 18 10:03:07 2016] [debug] Routing to a callback [Sun Dec 18 10:03:07 2016] [debug] Routing to controller "Mercury::Controller::PushPull" and action "pull" [Sun Dec 18 10:03:07 2016] [debug] 101 Switching Protocols (0.00072s, 1388.889/s) [Sun Dec 18 10:03:07 2016] [debug] GET "/pull/leela" [Sun Dec 18 10:03:07 2016] [debug] Routing to a callback [Sun Dec 18 10:03:07 2016] [debug] 401 Unauthorized (0.000722s, 1385.042/s) [Sun Dec 18 10:03:07 2016] [debug] GET "/pull/bender" [Sun Dec 18 10:03:07 2016] [debug] Routing to a callback [Sun Dec 18 10:03:07 2016] [debug] 401 Unauthorized (0.000577s, 1733.102/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 [Sun Dec 18 10:03:07 2016] [debug] GET "/bus/foo" [Sun Dec 18 10:03:07 2016] [debug] Routing to controller "Mercury::Controller::Bus" and action "connect" [Sun Dec 18 10:03:07 2016] [debug] 101 Switching Protocols (0.003539s, 282.566/s) [Sun Dec 18 10:03:07 2016] [debug] GET "/bus/foo" [Sun Dec 18 10:03:07 2016] [debug] Routing to controller "Mercury::Controller::Bus" and action "connect" [Sun Dec 18 10:03:07 2016] [debug] 101 Switching Protocols (0.000569s, 1757.469/s) [Sun Dec 18 10:03:07 2016] [debug] GET "/bus/foo" [Sun Dec 18 10:03:07 2016] [debug] Routing to controller "Mercury::Controller::Bus" and action "connect" [Sun Dec 18 10:03:07 2016] [debug] 101 Switching Protocols (0.000579s, 1727.116/s) [Sun Dec 18 10:03:07 2016] [debug] GET "/bus/foo" [Sun Dec 18 10:03:07 2016] [debug] Routing to controller "Mercury::Controller::Bus" and action "connect" [Sun Dec 18 10:03:07 2016] [debug] 101 Switching Protocols (0.000649s, 1540.832/s) [Sun Dec 18 10:03:07 2016] [debug] GET "/bus/bar" [Sun Dec 18 10:03:07 2016] [debug] Routing to controller "Mercury::Controller::Bus" and action "connect" [Sun Dec 18 10:03:07 2016] [debug] 101 Switching Protocols (0.000838s, 1193.317/s) [Sun Dec 18 10:03:07 2016] [debug] POST "/bus/foo" [Sun Dec 18 10:03:07 2016] [debug] Routing to controller "Mercury::Controller::Bus" and action "post" [Sun Dec 18 10:03:07 2016] [debug] 200 OK (0.001216s, 822.368/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 [Sun Dec 18 10:03:08 2016] [debug] GET "/pub/foo" [Sun Dec 18 10:03:08 2016] [debug] Routing to controller "Mercury::Controller::PubSub" and action "publish" [Sun Dec 18 10:03:08 2016] [debug] 101 Switching Protocols (0.002504s, 399.361/s) [Sun Dec 18 10:03:08 2016] [debug] GET "/sub/foo" [Sun Dec 18 10:03:08 2016] [debug] Routing to controller "Mercury::Controller::PubSub" and action "subscribe" [Sun Dec 18 10:03:08 2016] [debug] 101 Switching Protocols (0.002021s, 494.805/s) [Sun Dec 18 10:03:08 2016] [debug] GET "/sub/foo" [Sun Dec 18 10:03:08 2016] [debug] Routing to controller "Mercury::Controller::PubSub" and action "subscribe" [Sun Dec 18 10:03:08 2016] [debug] 101 Switching Protocols (0.001821s, 549.149/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 [Sun Dec 18 10:03:09 2016] [debug] GET "/pub/foo" [Sun Dec 18 10:03:09 2016] [debug] Routing to controller "Mercury::Controller::PubSub::Cascade" and action "publish" [Sun Dec 18 10:03:09 2016] [debug] 101 Switching Protocols (0.003446s, 290.192/s) [Sun Dec 18 10:03:09 2016] [debug] GET "/sub/foo" [Sun Dec 18 10:03:09 2016] [debug] Routing to controller "Mercury::Controller::PubSub::Cascade" and action "subscribe" [Sun Dec 18 10:03:09 2016] [debug] 101 Switching Protocols (0.000745s, 1342.282/s) [Sun Dec 18 10:03:09 2016] [debug] GET "/sub/foo" [Sun Dec 18 10:03:09 2016] [debug] Routing to controller "Mercury::Controller::PubSub::Cascade" and action "subscribe" [Sun Dec 18 10:03:09 2016] [debug] 101 Switching Protocols (0.000454s, 2202.643/s) [Sun Dec 18 10:03:09 2016] [debug] GET "/sub/foo" [Sun Dec 18 10:03:09 2016] [debug] Routing to controller "Mercury::Controller::PubSub::Cascade" and action "subscribe" [Sun Dec 18 10:03:09 2016] [debug] 101 Switching Protocols (0.00039s, 2564.103/s) [Sun Dec 18 10:03:09 2016] [debug] GET "/sub/foo/bar" [Sun Dec 18 10:03:09 2016] [debug] Routing to controller "Mercury::Controller::PubSub::Cascade" and action "subscribe" [Sun Dec 18 10:03:09 2016] [debug] 101 Switching Protocols (0.000666s, 1501.502/s) [Sun Dec 18 10:03:09 2016] [debug] GET "/pub/foo/bar" [Sun Dec 18 10:03:09 2016] [debug] Routing to controller "Mercury::Controller::PubSub::Cascade" and action "publish" [Sun Dec 18 10:03:09 2016] [debug] 101 Switching Protocols (0.000625s, 1600.000/s) [Sun Dec 18 10:03:09 2016] [debug] POST "/pub/foo/bar" [Sun Dec 18 10:03:09 2016] [debug] Routing to controller "Mercury::Controller::PubSub::Cascade" and action "post" [Sun Dec 18 10:03:09 2016] [debug] 200 OK (0.001135s, 881.057/s) [Sun Dec 18 10:03:09 2016] [debug] GET "/pub/foo" [Sun Dec 18 10:03:09 2016] [debug] Routing to controller "Mercury::Controller::PubSub::Cascade" and action "publish" [Sun Dec 18 10:03:09 2016] [debug] 101 Switching Protocols (0.000407s, 2457.002/s) [Sun Dec 18 10:03:09 2016] [debug] POST "/pub/foo" [Sun Dec 18 10:03:09 2016] [debug] Routing to controller "Mercury::Controller::PubSub::Cascade" and action "post" [Sun Dec 18 10:03:09 2016] [debug] 200 OK (0.000949s, 1053.741/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 [Sun Dec 18 10:03:09 2016] [debug] GET "/pull/foo" [Sun Dec 18 10:03:09 2016] [debug] Routing to controller "Mercury::Controller::PushPull" and action "pull" [Sun Dec 18 10:03:09 2016] [debug] 101 Switching Protocols (0.003082s, 324.465/s) [Sun Dec 18 10:03:09 2016] [debug] GET "/pull/foo" [Sun Dec 18 10:03:09 2016] [debug] Routing to controller "Mercury::Controller::PushPull" and action "pull" [Sun Dec 18 10:03:09 2016] [debug] 101 Switching Protocols (0.000391s, 2557.545/s) [Sun Dec 18 10:03:09 2016] [debug] GET "/pull/bar" [Sun Dec 18 10:03:09 2016] [debug] Routing to controller "Mercury::Controller::PushPull" and action "pull" [Sun Dec 18 10:03:09 2016] [debug] 101 Switching Protocols (0.000626s, 1597.444/s) [Sun Dec 18 10:03:09 2016] [debug] GET "/push/foo" [Sun Dec 18 10:03:09 2016] [debug] Routing to controller "Mercury::Controller::PushPull" and action "push" [Sun Dec 18 10:03:09 2016] [debug] 101 Switching Protocols (0.000557s, 1795.332/s) [Sun Dec 18 10:03:09 2016] [debug] GET "/pull/foo" [Sun Dec 18 10:03:09 2016] [debug] Routing to controller "Mercury::Controller::PushPull" and action "pull" [Sun Dec 18 10:03:09 2016] [debug] 101 Switching Protocols (0.000383s, 2610.966/s) [Sun Dec 18 10:03:09 2016] [debug] GET "/pull/foo" [Sun Dec 18 10:03:09 2016] [debug] Routing to controller "Mercury::Controller::PushPull" and action "pull" [Sun Dec 18 10:03:09 2016] [debug] 101 Switching Protocols (0.000383s, 2610.966/s) [Sun Dec 18 10:03:09 2016] [debug] POST "/push/foo" [Sun Dec 18 10:03:09 2016] [debug] Routing to controller "Mercury::Controller::PushPull" and action "post" [Sun Dec 18 10:03:09 2016] [debug] 200 OK (0.000907s, 1102.536/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, 9 wallclock secs ( 0.08 usr 0.02 sys + 6.04 cusr 0.75 csys = 6.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/fly2000/cpanfly-5.20/var/tmp/cpan_build/Mercury-0.011-hllTsh && tar cvf - Mercury-0.011.ppd blib) | gzip -c >/Users/fly2000/cpanfly-5.20/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 2016-12-18T10:03:10