PATH=/usr/bin:/bin:/data/fly2400/cpanfly-5.24/var/megalib/bin Start 2017-01-13T10:04:12 ActivePerl-2400 CPAN-2.10 Reading '/data/fly2400/cpanfly-5.24/var/cpan/Metadata' Database was generated on Fri, 13 Jan 2017 06:41:02 GMT Fetching with LWP: http://ppm.activestate.com/CPAN/authors/id/P/PR/PREACTION/Mercury-0.012.tar.gz Fetching with LWP: http://ppm.activestate.com/CPAN/authors/id/P/PR/PREACTION/CHECKSUMS Checksum for /data/fly2400/cpanfly-5.24/var/cpan/sources/authors/id/P/PR/PREACTION/Mercury-0.012.tar.gz ok Mercury-0.012 Mercury-0.012/README Mercury-0.012/LICENSE Mercury-0.012/CHANGES Mercury-0.012/Rexfile Mercury-0.012/t Mercury-0.012/t/bus.t Mercury-0.012/META.yml Mercury-0.012/MANIFEST Mercury-0.012/cpanfile Mercury-0.012/site.yml Mercury-0.012/META.json Mercury-0.012/t/pubsub.t Mercury-0.012/Makefile.PL Mercury-0.012/bin Mercury-0.012/bin/mercury Mercury-0.012/eg Mercury-0.012/eg/chat.html Mercury-0.012/eg/daemon.pl Mercury-0.012/t/pushpull.t Mercury-0.012/t/00-compile.t Mercury-0.012/lib Mercury-0.012/lib/Mercury.pm Mercury-0.012/CONTRIBUTING.md Mercury-0.012/t/allow_origin.t Mercury-0.012/site Mercury-0.012/site/index.markdown Mercury-0.012/site/release-blog.pl Mercury-0.012/t/00-report-prereqs.t Mercury-0.012/t/controller Mercury-0.012/t/controller/pubsub.t Mercury-0.012/t/00-report-prereqs.dd Mercury-0.012/t/share Mercury-0.012/t/share/allow_origin.conf Mercury-0.012/lib/Mercury/Pattern Mercury-0.012/lib/Mercury/Pattern/Bus.pm Mercury-0.012/site/theme/site Mercury-0.012/site/theme/site/style.html Mercury-0.012/site/theme/css Mercury-0.012/site/theme/css/skeleton.css Mercury-0.012/site/theme/blog Mercury-0.012/site/theme/blog/index.rss.ep Mercury-0.012/site/theme/blog/post.html.ep Mercury-0.012/site/theme/css/normalize.css Mercury-0.012/lib/Mercury/Controller Mercury-0.012/lib/Mercury/Controller/Bus.pm Mercury-0.012/lib/Mercury/Pattern/PubSub.pm Mercury-0.012/lib/Mercury/public Mercury-0.012/lib/Mercury/public/example.js Mercury-0.012/site/theme/blog/index.atom.ep Mercury-0.012/site/theme/blog/index.html.ep Mercury-0.012/site/theme/site/robots.txt.ep Mercury-0.012/lib/Mercury/Command Mercury-0.012/lib/Mercury/Command/mercury.pm Mercury-0.012/site/theme/perldoc Mercury-0.012/site/theme/perldoc/pod.html.ep Mercury-0.012/site/theme/site/footer.html.ep Mercury-0.012/site/theme/site/layout.html.ep Mercury-0.012/site/theme/site/sitemap.xml.ep Mercury-0.012/lib/Mercury/Pattern/PushPull.pm Mercury-0.012/lib/Mercury/Controller/PubSub.pm Mercury-0.012/lib/Mercury/templates Mercury-0.012/lib/Mercury/templates/bus.html.ep Mercury-0.012/lib/Mojolicious/Plugin Mercury-0.012/lib/Mojolicious/Plugin/Mercury.pm Mercury-0.012/site/theme/perldoc/source.html.ep Mercury-0.012/lib/Mercury/Controller/PushPull.pm Mercury-0.012/site/theme/site/head_after.html.ep Mercury-0.012/lib/Mercury/templates/index.html.ep Mercury-0.012/lib/Mercury/templates/pubsub.html.ep Mercury-0.012/site/theme/css/statocles-default.css Mercury-0.012/site/theme/site/header_after.html.ep Mercury-0.012/site/theme/site/navbar_extra.html.ep Mercury-0.012/lib/Mercury/Command/mercury Mercury-0.012/lib/Mercury/Command/mercury/broker.pm Mercury-0.012/lib/Mercury/templates/pushpull.html.ep Mercury-0.012/site/theme/site/sidebar_before.html.ep Mercury-0.012/lib/Mercury/Controller/PubSub Mercury-0.012/lib/Mercury/Controller/PubSub/Cascade.pm Mercury-0.012/lib/Mercury/templates/layouts Mercury-0.012/lib/Mercury/templates/layouts/standard.html.ep Mercury-0.012/site/blog/2015/12/13/release-v0-007 Mercury-0.012/site/blog/2015/12/13/release-v0-007/index.markdown Mercury-0.012/site/blog/2015/12/29/release-v0-008 Mercury-0.012/site/blog/2015/12/29/release-v0-008/index.markdown Mercury-0.012/site/blog/2016/09/01/release-v0-009 Mercury-0.012/site/blog/2016/09/01/release-v0-009/index.markdown Configuring P/PR/PREACTION/Mercury-0.012.tar.gz with Makefile.PL >>> /data/fly2400/ap2400-300558/bin/perl-static Makefile.PL Checking if your kit is complete... Looks good Have /data/fly2400/cpanfly-5.24/var/megalib Want /home/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: [x86_64-linux-thread-multi] 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.012.tar.gz /data/fly2400/ap2400-300558/bin/perl-static Makefile.PL -- OK Running make for P/PR/PREACTION/Mercury-0.012.tar.gz >>> make cp lib/Mercury/Controller/PubSub/Cascade.pm blib/lib/Mercury/Controller/PubSub/Cascade.pm cp lib/Mercury/Controller/PubSub.pm blib/lib/Mercury/Controller/PubSub.pm 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/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/Command/mercury.pm blib/lib/Mercury/Command/mercury.pm cp lib/Mercury/templates/layouts/standard.html.ep blib/lib/Mercury/templates/layouts/standard.html.ep cp lib/Mercury/Command/mercury/broker.pm blib/lib/Mercury/Command/mercury/broker.pm cp lib/Mercury/templates/index.html.ep blib/lib/Mercury/templates/index.html.ep cp lib/Mercury.pm blib/lib/Mercury.pm cp lib/Mercury/Controller/Bus.pm blib/lib/Mercury/Controller/Bus.pm cp lib/Mojolicious/Plugin/Mercury.pm blib/lib/Mojolicious/Plugin/Mercury.pm cp lib/Mercury/public/example.js blib/lib/Mercury/public/example.js 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/Pattern/PubSub.pm blib/lib/Mercury/Pattern/PubSub.pm cp bin/mercury blib/script/mercury "/data/fly2400/ap2400-300558/bin/perl-static" -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/mercury Manifying 1 pod document Manifying 11 pod documents PREACTION/Mercury-0.012.tar.gz make -- OK Running make test >>> make test TEST_VERBOSE=1 PERL_DL_NONLAZY=1 "/data/fly2400/ap2400-300558/bin/perl-static" "-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.150005 # # === Runtime Requires === # # Module Want Have # --------------------- ---- ---- # File::Basename any 2.85 # File::Spec::Functions any 3.62 # Mojolicious 6.00 7.18 # Scalar::Util any 1.47 # t/00-report-prereqs.t .. 1..1 ok 1 ok [Fri Jan 13 10:04:22 2017] [debug] GET "/bus/fry" [Fri Jan 13 10:04:22 2017] [debug] Routing to a callback [Fri Jan 13 10:04:22 2017] [debug] Routing to controller "Mercury::Controller::Bus" and action "connect" [Fri Jan 13 10:04:22 2017] [debug] 101 Switching Protocols (0.003132s, 319.285/s) [Fri Jan 13 10:04:22 2017] [debug] GET "/bus/leela" [Fri Jan 13 10:04:22 2017] [debug] Routing to a callback [Fri Jan 13 10:04:22 2017] [debug] 401 Unauthorized (0.001512s, 661.376/s) [Fri Jan 13 10:04:22 2017] [debug] GET "/bus/bender" [Fri Jan 13 10:04:22 2017] [debug] Routing to a callback [Fri Jan 13 10:04:22 2017] [debug] 401 Unauthorized (0.00051s, 1960.784/s) [Fri Jan 13 10:04:22 2017] [debug] GET "/sub/fry" [Fri Jan 13 10:04:22 2017] [debug] Routing to a callback [Fri Jan 13 10:04:22 2017] [debug] Routing to controller "Mercury::Controller::PubSub::Cascade" and action "subscribe" [Fri Jan 13 10:04:22 2017] [debug] 101 Switching Protocols (0.002616s, 382.263/s) [Fri Jan 13 10:04:22 2017] [debug] GET "/sub/leela" [Fri Jan 13 10:04:22 2017] [debug] Routing to a callback [Fri Jan 13 10:04:22 2017] [debug] 401 Unauthorized (0.000509s, 1964.637/s) [Fri Jan 13 10:04:22 2017] [debug] GET "/sub/bender" [Fri Jan 13 10:04:22 2017] [debug] Routing to a callback [Fri Jan 13 10:04:22 2017] [debug] 401 Unauthorized (0.000507s, 1972.387/s) [Fri Jan 13 10:04:22 2017] [debug] GET "/pub/fry" [Fri Jan 13 10:04:22 2017] [debug] Routing to a callback [Fri Jan 13 10:04:22 2017] [debug] Routing to controller "Mercury::Controller::PubSub::Cascade" and action "publish" [Fri Jan 13 10:04:22 2017] [debug] 101 Switching Protocols (0.000592s, 1689.189/s) [Fri Jan 13 10:04:22 2017] [debug] GET "/pub/leela" [Fri Jan 13 10:04:22 2017] [debug] Routing to a callback [Fri Jan 13 10:04:22 2017] [debug] 401 Unauthorized (0.000474s, 2109.705/s) [Fri Jan 13 10:04:22 2017] [debug] GET "/pub/bender" [Fri Jan 13 10:04:22 2017] [debug] Routing to a callback [Fri Jan 13 10:04:22 2017] [debug] 401 Unauthorized (0.000498s, 2008.032/s) [Fri Jan 13 10:04:22 2017] [debug] GET "/push/fry" [Fri Jan 13 10:04:22 2017] [debug] Routing to a callback [Fri Jan 13 10:04:22 2017] [debug] Routing to controller "Mercury::Controller::PushPull" and action "push" [Fri Jan 13 10:04:22 2017] [debug] 101 Switching Protocols (0.003757s, 266.170/s) [Fri Jan 13 10:04:22 2017] [debug] GET "/push/leela" [Fri Jan 13 10:04:22 2017] [debug] Routing to a callback [Fri Jan 13 10:04:22 2017] [debug] 401 Unauthorized (0.000435s, 2298.851/s) [Fri Jan 13 10:04:22 2017] [debug] GET "/push/bender" [Fri Jan 13 10:04:22 2017] [debug] Routing to a callback [Fri Jan 13 10:04:22 2017] [debug] 401 Unauthorized (0.000559s, 1788.909/s) [Fri Jan 13 10:04:22 2017] [debug] GET "/pull/fry" [Fri Jan 13 10:04:22 2017] [debug] Routing to a callback [Fri Jan 13 10:04:22 2017] [debug] Routing to controller "Mercury::Controller::PushPull" and action "pull" [Fri Jan 13 10:04:22 2017] [debug] 101 Switching Protocols (0.000598s, 1672.241/s) [Fri Jan 13 10:04:22 2017] [debug] GET "/pull/leela" [Fri Jan 13 10:04:22 2017] [debug] Routing to a callback [Fri Jan 13 10:04:22 2017] [debug] 401 Unauthorized (0.000468s, 2136.752/s) [Fri Jan 13 10:04:22 2017] [debug] GET "/pull/bender" [Fri Jan 13 10:04:22 2017] [debug] Routing to a callback [Fri Jan 13 10:04:22 2017] [debug] 401 Unauthorized (0.000467s, 2141.328/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 [Fri Jan 13 10:04:23 2017] [debug] GET "/bus/foo" [Fri Jan 13 10:04:23 2017] [debug] Routing to controller "Mercury::Controller::Bus" and action "connect" [Fri Jan 13 10:04:23 2017] [debug] 101 Switching Protocols (0.002942s, 339.905/s) [Fri Jan 13 10:04:23 2017] [debug] GET "/bus/foo" [Fri Jan 13 10:04:23 2017] [debug] Routing to controller "Mercury::Controller::Bus" and action "connect" [Fri Jan 13 10:04:23 2017] [debug] 101 Switching Protocols (0.000448s, 2232.143/s) [Fri Jan 13 10:04:23 2017] [debug] GET "/bus/foo" [Fri Jan 13 10:04:23 2017] [debug] Routing to controller "Mercury::Controller::Bus" and action "connect" [Fri Jan 13 10:04:23 2017] [debug] 101 Switching Protocols (0.000456s, 2192.982/s) [Fri Jan 13 10:04:23 2017] [debug] GET "/bus/foo" [Fri Jan 13 10:04:23 2017] [debug] Routing to controller "Mercury::Controller::Bus" and action "connect" [Fri Jan 13 10:04:23 2017] [debug] 101 Switching Protocols (0.000553s, 1808.318/s) [Fri Jan 13 10:04:23 2017] [debug] GET "/bus/bar" [Fri Jan 13 10:04:23 2017] [debug] Routing to controller "Mercury::Controller::Bus" and action "connect" [Fri Jan 13 10:04:23 2017] [debug] 101 Switching Protocols (0.00064s, 1562.500/s) [Fri Jan 13 10:04:23 2017] [debug] POST "/bus/foo" [Fri Jan 13 10:04:23 2017] [debug] Routing to controller "Mercury::Controller::Bus" and action "post" [Fri Jan 13 10:04:23 2017] [debug] 200 OK (0.00106s, 943.396/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 [Fri Jan 13 10:04:23 2017] [debug] GET "/pub/foo" [Fri Jan 13 10:04:23 2017] [debug] Routing to controller "Mercury::Controller::PubSub" and action "publish" [Fri Jan 13 10:04:23 2017] [debug] 101 Switching Protocols (0.002201s, 454.339/s) [Fri Jan 13 10:04:23 2017] [debug] GET "/sub/foo" [Fri Jan 13 10:04:23 2017] [debug] Routing to controller "Mercury::Controller::PubSub" and action "subscribe" [Fri Jan 13 10:04:23 2017] [debug] 101 Switching Protocols (0.001566s, 638.570/s) [Fri Jan 13 10:04:23 2017] [debug] GET "/sub/foo" [Fri Jan 13 10:04:23 2017] [debug] Routing to controller "Mercury::Controller::PubSub" and action "subscribe" [Fri Jan 13 10:04:23 2017] [debug] 101 Switching Protocols (0.001397s, 715.820/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 [Fri Jan 13 10:04:24 2017] [debug] GET "/pub/foo" [Fri Jan 13 10:04:24 2017] [debug] Routing to controller "Mercury::Controller::PubSub::Cascade" and action "publish" [Fri Jan 13 10:04:24 2017] [debug] 101 Switching Protocols (0.003126s, 319.898/s) [Fri Jan 13 10:04:24 2017] [debug] GET "/sub/foo" [Fri Jan 13 10:04:24 2017] [debug] Routing to controller "Mercury::Controller::PubSub::Cascade" and action "subscribe" [Fri Jan 13 10:04:24 2017] [debug] 101 Switching Protocols (0.000614s, 1628.664/s) [Fri Jan 13 10:04:24 2017] [debug] GET "/sub/foo" [Fri Jan 13 10:04:24 2017] [debug] Routing to controller "Mercury::Controller::PubSub::Cascade" and action "subscribe" [Fri Jan 13 10:04:24 2017] [debug] 101 Switching Protocols (0.000338s, 2958.580/s) [Fri Jan 13 10:04:24 2017] [debug] GET "/sub/foo" [Fri Jan 13 10:04:24 2017] [debug] Routing to controller "Mercury::Controller::PubSub::Cascade" and action "subscribe" [Fri Jan 13 10:04:24 2017] [debug] 101 Switching Protocols (0.000332s, 3012.048/s) [Fri Jan 13 10:04:24 2017] [debug] GET "/sub/foo/bar" [Fri Jan 13 10:04:24 2017] [debug] Routing to controller "Mercury::Controller::PubSub::Cascade" and action "subscribe" [Fri Jan 13 10:04:24 2017] [debug] 101 Switching Protocols (0.000533s, 1876.173/s) [Fri Jan 13 10:04:24 2017] [debug] GET "/pub/foo/bar" [Fri Jan 13 10:04:24 2017] [debug] Routing to controller "Mercury::Controller::PubSub::Cascade" and action "publish" [Fri Jan 13 10:04:24 2017] [debug] 101 Switching Protocols (0.000501s, 1996.008/s) [Fri Jan 13 10:04:24 2017] [debug] POST "/pub/foo/bar" [Fri Jan 13 10:04:24 2017] [debug] Routing to controller "Mercury::Controller::PubSub::Cascade" and action "post" [Fri Jan 13 10:04:24 2017] [debug] 200 OK (0.001719s, 581.734/s) [Fri Jan 13 10:04:24 2017] [debug] GET "/pub/foo" [Fri Jan 13 10:04:24 2017] [debug] Routing to controller "Mercury::Controller::PubSub::Cascade" and action "publish" [Fri Jan 13 10:04:24 2017] [debug] 101 Switching Protocols (0.000331s, 3021.148/s) [Fri Jan 13 10:04:24 2017] [debug] POST "/pub/foo" [Fri Jan 13 10:04:24 2017] [debug] Routing to controller "Mercury::Controller::PubSub::Cascade" and action "post" [Fri Jan 13 10:04:24 2017] [debug] 200 OK (0.000685s, 1459.854/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 [Fri Jan 13 10:04:25 2017] [debug] GET "/pull/foo" [Fri Jan 13 10:04:25 2017] [debug] Routing to controller "Mercury::Controller::PushPull" and action "pull" [Fri Jan 13 10:04:25 2017] [debug] 101 Switching Protocols (0.004024s, 248.509/s) [Fri Jan 13 10:04:25 2017] [debug] GET "/pull/foo" [Fri Jan 13 10:04:25 2017] [debug] Routing to controller "Mercury::Controller::PushPull" and action "pull" [Fri Jan 13 10:04:25 2017] [debug] 101 Switching Protocols (0.00032s, 3125.000/s) [Fri Jan 13 10:04:25 2017] [debug] GET "/pull/bar" [Fri Jan 13 10:04:25 2017] [debug] Routing to controller "Mercury::Controller::PushPull" and action "pull" [Fri Jan 13 10:04:25 2017] [debug] 101 Switching Protocols (0.000475s, 2105.263/s) [Fri Jan 13 10:04:25 2017] [debug] GET "/push/foo" [Fri Jan 13 10:04:25 2017] [debug] Routing to controller "Mercury::Controller::PushPull" and action "push" [Fri Jan 13 10:04:25 2017] [debug] 101 Switching Protocols (0.000426s, 2347.418/s) [Fri Jan 13 10:04:25 2017] [debug] GET "/pull/foo" [Fri Jan 13 10:04:25 2017] [debug] Routing to controller "Mercury::Controller::PushPull" and action "pull" [Fri Jan 13 10:04:25 2017] [debug] 101 Switching Protocols (0.000321s, 3115.265/s) [Fri Jan 13 10:04:25 2017] [debug] GET "/pull/foo" [Fri Jan 13 10:04:25 2017] [debug] Routing to controller "Mercury::Controller::PushPull" and action "pull" [Fri Jan 13 10:04:25 2017] [debug] 101 Switching Protocols (0.000308s, 3246.753/s) [Fri Jan 13 10:04:25 2017] [debug] POST "/push/foo" [Fri Jan 13 10:04:25 2017] [debug] Routing to controller "Mercury::Controller::PushPull" and action "post" [Fri Jan 13 10:04:25 2017] [debug] 200 OK (0.000916s, 1091.703/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, 7 wallclock secs ( 0.06 usr 0.01 sys + 5.44 cusr 1.00 csys = 6.51 CPU) Result: PASS PREACTION/Mercury-0.012.tar.gz make test TEST_VERBOSE=1 -- OK Doug Bell <preaction@cpan.org> A message broker for WebSockets >>> (cd /data/fly2400/cpanfly-5.24/var/tmp/cpan_build/Mercury-0.012-zOFygn && tar cvf - Mercury-0.012.ppd blib) | gzip -c >/data/fly2400/cpanfly-5.24/var/REPO/P/PR/PREACTION/Mercury-0.012.tar.gz Mercury-0.012.ppd blib/ blib/man3/ blib/man3/Mercury::Command::mercury.3 blib/man3/Mercury::Controller::Bus.3 blib/man3/Mercury::Pattern::PubSub.3 blib/man3/Mercury.3 blib/man3/Mercury::Controller::PushPull.3 blib/man3/Mojolicious::Plugin::Mercury.3 blib/man3/Mercury::Pattern::PushPull.3 blib/man3/Mercury::Command::mercury::broker.3 blib/man3/Mercury::Controller::PubSub.3 blib/man3/Mercury::Controller::PubSub::Cascade.3 blib/man3/Mercury::Pattern::Bus.3 blib/script/ blib/script/mercury blib/man1/ blib/man1/mercury.1 blib/lib/ blib/lib/Mercury.pm blib/lib/Mojolicious/ blib/lib/Mojolicious/Plugin/ blib/lib/Mojolicious/Plugin/Mercury.pm blib/lib/Mercury/ blib/lib/Mercury/templates/ blib/lib/Mercury/templates/index.html.ep blib/lib/Mercury/templates/pubsub.html.ep blib/lib/Mercury/templates/pushpull.html.ep blib/lib/Mercury/templates/layouts/ blib/lib/Mercury/templates/layouts/standard.html.ep blib/lib/Mercury/templates/bus.html.ep blib/lib/Mercury/public/ blib/lib/Mercury/public/example.js blib/lib/Mercury/Command/ blib/lib/Mercury/Command/mercury.pm blib/lib/Mercury/Command/mercury/ blib/lib/Mercury/Command/mercury/broker.pm blib/lib/Mercury/Controller/ blib/lib/Mercury/Controller/PushPull.pm 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/Pattern/ blib/lib/Mercury/Pattern/PushPull.pm blib/lib/Mercury/Pattern/Bus.pm blib/lib/Mercury/Pattern/PubSub.pm VmSize: 344304 kB Finished 2017-01-13T10:04:25