Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tests failed on Mac OS X Lion #5

Open
olivierguerriat opened this issue Sep 17, 2011 · 6 comments
Open

Tests failed on Mac OS X Lion #5

olivierguerriat opened this issue Sep 17, 2011 · 6 comments
Assignees

Comments

@olivierguerriat
Copy link

Hello,

I tried to install xpl-perl on my iMac (clean install of Lion) but didn't succeed. Many tests don't pass and I don't know what to do. DCM (xpl4java) doesn't connect to the hub.

Here's the result of perl Makefile.PL :

Silicium:xpl-perl olivier$ perl Makefile.PL 
Checking if your kit is complete...
Looks good
Writing Makefile for xPL-Perl

And result of make test (after a make, of course) :

Silicium:xpl-perl olivier$ make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00-helpers.t .................. ok   
t/01-pod.t ...................... ok       
t/01-use.t ...................... 1/67 
#   Failed test 'require xPL::Dock::Notifo;'
#   at t/01-use.t line 59.
#     Tried to require 'xPL::Dock::Notifo'.
#     Error:  Can't locate AnyEvent/WebService/Notifo.pm in @INC (@INC contains: /Users/olivier/Programmation/xpl/xpl-perl/blib/lib /Users/olivier/Programmation/xpl/xpl-perl/blib/arch /Library/Perl/5.12/darwin-thread-multi-2level /Library/Perl/5.12 /Network/Library/Perl/5.12/darwin-thread-multi-2level /Network/Library/Perl/5.12 /Library/Perl/Updates/5.12.3/darwin-thread-multi-2level /Library/Perl/Updates/5.12.3 /System/Library/Perl/5.12/darwin-thread-multi-2level /System/Library/Perl/5.12 /System/Library/Perl/Extras/5.12/darwin-thread-multi-2level /System/Library/Perl/Extras/5.12 .) at /Users/olivier/Programmation/xpl/xpl-perl/blib/lib/xPL/Dock/Notifo.pm line 29.
# BEGIN failed--compilation aborted at /Users/olivier/Programmation/xpl/xpl-perl/blib/lib/xPL/Dock/Notifo.pm line 29.
# Compilation failed in require at (eval 39) line 2.
# Looks like you failed 1 test of 67.
t/01-use.t ...................... Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/67 subtests 
    (less 14 skipped subtests: 52 okay)
t/01-xpl-base.t ................. ok     
t/01-xpl-interfaces.t ........... ok     
t/01-xpl-message.t .............. ok     
t/01-xpl-slowmessage.t .......... 1/15 Providing "body" hash reference is deprecated. Use an array reference so that order is preserved. For example: [ device => "device", command => "on" ] at t/01-xpl-slowmessage.t line 16
Providing "body" hash reference is deprecated. Use an array reference so that order is preserved. For example: [ device => "device", command => "on" ] at t/01-xpl-slowmessage.t line 56
t/01-xpl-slowmessage.t .......... ok     
t/01-xpl-utils.t ................ ok   
t/01-xpl-validation.t ........... ok       
t/02-message-v.t ................ ok       
t/02-message.t .................. ok       
t/02-schema-yaml.t .............. skipped: YAML not available
t/02-timer.t .................... ok     
t/03-message-errors-v.t ......... ok     
t/03-message-errors.t ........... ok     
t/03-message-from-payload.t ..... ok     
t/03-message-method-maker.t ..... ok   
t/04-clock.t .................... ok   
t/04-collection-api.t ........... ok     
t/04-config.t ................... ok     
t/04-hbeat-errors.t ............. ok   
t/04-osd-errors.t ............... ok   
t/04-queue.t .................... ok       
t/05-listener-anyevent.t ........ 1/163 Can't locate object method "one_event" via package "AnyEvent" at /Users/olivier/Programmation/xpl/xpl-perl/blib/lib/xPL/Listener.pm line 724.
# Looks like you planned 163 tests but ran 18.
# Looks like your test exited with 255 just after 18.
t/05-listener-anyevent.t ........ Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 145/163 subtests 
t/05-listener-send-methods.t .... ok     
t/05-listener.t ................. 1/163 Can't locate object method "one_event" via package "AnyEvent" at /Users/olivier/Programmation/xpl/xpl-perl/blib/lib/xPL/Listener.pm line 724.
# Looks like you planned 163 tests but ran 18.
# Looks like your test exited with 255 just after 18.
t/05-listener.t ................. Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 145/163 subtests 
t/06-hub.t ...................... 1/70 Can't locate object method "one_event" via package "AnyEvent" at /Users/olivier/Programmation/xpl/xpl-perl/blib/lib/xPL/Listener.pm line 724.
# Looks like you planned 70 tests but ran 26.
# Looks like your test exited with 2 just after 26.
t/06-hub.t ...................... Dubious, test returned 2 (wstat 512, 0x200)
Failed 44/70 subtests 
t/07-client-config.t ............ ok     
t/07-client-gtk.t ............... skipped: No Gtk2 perl module installed
t/07-client-hubless.t ........... 1/19 bind failed ... switching off hubless mode.

#   Failed test 'hbeat mode is standard'
#   at t/07-client-hubless.t line 23.
#          got: 'fast'
#     expected: 'standard'

#   Failed test 'listen socket is send socket'
#   at t/07-client-hubless.t line 24.
#          got: 'GLOB(0x7f98e41e4388)'
#     expected: 'GLOB(0x7f98e417dd58)'

#   Failed test 'listen socket has SO_REUSEADDR set'
#   at t/07-client-hubless.t line 25.
#          got: '4'
#     expected: '1'
Can't locate object method "one_event" via package "AnyEvent" at /Users/olivier/Programmation/xpl/xpl-perl/blib/lib/xPL/Listener.pm line 724.
# Looks like you planned 19 tests but ran 5.
# Looks like you failed 3 tests of 5 run.
# Looks like your test exited with 255 just after 5.
t/07-client-hubless.t ........... Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 17/19 subtests 
t/07-client-ping.t .............. 1/10 Can't locate object method "one_event" via package "AnyEvent" at /Users/olivier/Programmation/xpl/xpl-perl/blib/lib/xPL/Listener.pm line 724.
# Looks like you planned 10 tests but ran 5.
# Looks like your test exited with 255 just after 5.
t/07-client-ping.t .............. Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 5/10 subtests 
t/07-client-stealth.t ........... 1/14 bind failed ... switching off hubless mode.

#   Failed test 'listen socket is send socket'
#   at t/07-client-stealth.t line 24.
#          got: 'GLOB(0x7f93e29e3de8)'
#     expected: 'GLOB(0x7f93e297d770)'

#   Failed test 'listen socket has SO_REUSEADDR set'
#   at t/07-client-stealth.t line 25.
#          got: '4'
#     expected: '1'
Can't locate object method "one_event" via package "AnyEvent" at /Users/olivier/Programmation/xpl/xpl-perl/blib/lib/xPL/Listener.pm line 724.
# Looks like you planned 14 tests but ran 5.
# Looks like you failed 2 tests of 5 run.
# Looks like your test exited with 255 just after 5.
t/07-client-stealth.t ........... Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 11/14 subtests 
t/07-client.t ................... 1/51 Can't locate object method "one_event" via package "AnyEvent" at /Users/olivier/Programmation/xpl/xpl-perl/blib/lib/xPL/Listener.pm line 724.
# Looks like you planned 51 tests but ran 10.
# Looks like your test exited with 255 just after 10.
t/07-client.t ................... Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 41/51 subtests 
t/08-bridge-client.t ............ 1/12 Can't locate object method "one_event" via package "AnyEvent" at /Users/olivier/Programmation/xpl/xpl-perl/blib/lib/xPL/Listener.pm line 724.
# Looks like you planned 12 tests but ran 9.
# Looks like your test exited with 255 just after 9.
t/08-bridge-client.t ............ Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 3/12 subtests 
t/08-bridge.t ................... 1/47 Can't locate object method "one_event" via package "AnyEvent" at /Users/olivier/Programmation/xpl/xpl-perl/blib/lib/xPL/Listener.pm line 724.
# Looks like you planned 47 tests but ran 7.
# Looks like your test exited with 29 just after 7.
t/08-bridge.t ................... Dubious, test returned 29 (wstat 7424, 0x1d00)
Failed 40/47 subtests 
t/09-hub-ignore-remote-hbeat.t .. ok   
t/09-targetting.t ............... skipped: AnyEvent's singleton main_loop confuses this test
t/10-mainloop.t ................. ok   
t/12-dock.t ..................... ok     
t/13-dock-plug.t ................ ok     
t/13-iohandler.t ................ 1/34 sysread() on unopened filehandle GEN5 at /System/Library/Perl/5.12/darwin-thread-multi-2level/IO/Handle.pm line 450.
stty: illegal option -- -F
usage: stty [-a|-e|-g] [-f file] [options]
stty: illegal option -- -F
usage: stty [-a|-e|-g] [-f file] [options]
t/13-iohandler.t ................ ok     
t/13-iorecords.t ................ ok     
t/14-dock-apcups.t .............. 6/28 Can't locate object method "one_event" via package "AnyEvent" at /Users/olivier/Programmation/xpl/xpl-perl/blib/lib/xPL/Listener.pm line 724.
# Looks like you planned 28 tests but ran 6.
# Looks like your test exited with 2 just after 6.
t/14-dock-apcups.t .............. Dubious, test returned 2 (wstat 512, 0x200)
Failed 22/28 subtests 
t/14-dock-bluetooth.t ........... skipped: No Net::Bluetooth perl module
t/14-dock-currentcost.t ......... skipped: No AnyEvent::CurrentCost module: Can't locate AnyEvent/CurrentCost.pm in @INC (@INC contains: /Users/olivier/Programmation/xpl/xpl-perl/blib/lib /Users/olivier/Programmation/xpl/xpl-perl/blib/arch /Library/Perl/5.12/darwin-thread-multi-2level /Library/Perl/5.12 /Network/Library/Perl/5.12/darwin-thread-multi-2level /Network/Library/Perl/5.12 /Library/Perl/Updates/5.12.3/darwin-thread-multi-2level /Library/Perl/Updates/5.12.3 /System/Library/Perl/5.12/darwin-thread-multi-2level /System/Library/Perl/5.12 /System/Library/Perl/Extras/5.12/darwin-thread-multi-2level /System/Library/Perl/Extras/5.12 .) at t/14-dock-currentcost.t line 16.
t/14-dock-datetime.t ............ 1/11 Can't locate object method "one_event" via package "AnyEvent" at /Users/olivier/Programmation/xpl/xpl-perl/blib/lib/xPL/Listener.pm line 724.
# Looks like you planned 11 tests but ran 5.
# Looks like your test exited with 2 just after 5.
t/14-dock-datetime.t ............ Dubious, test returned 2 (wstat 512, 0x200)
Failed 6/11 subtests 
t/14-dock-dawndusk.t ............ skipped: No DateTime::Event::Sunrise perl module
t/14-dock-dmx.t ................. 1/72 Can't locate object method "one_event" via package "AnyEvent" at /Users/olivier/Programmation/xpl/xpl-perl/blib/lib/xPL/Listener.pm line 724.
# Looks like you planned 72 tests but ran 11.
# Looks like your test exited with 25 just after 11.
t/14-dock-dmx.t ................. Dubious, test returned 25 (wstat 6400, 0x1900)
Failed 61/72 subtests 
t/14-dock-easydaq.t ............. 1/29 Can't locate object method "one_event" via package "AnyEvent" at /Users/olivier/Programmation/xpl/xpl-perl/blib/lib/xPL/Listener.pm line 724.
# Looks like you planned 29 tests but ran 10.
# Looks like your test exited with 255 just after 10.
t/14-dock-easydaq.t ............. Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 19/29 subtests 
t/14-dock-fdnotify.t ............ ok     
t/14-dock-hddtemp.t ............. 1/19 Can't locate object method "one_event" via package "AnyEvent" at /Users/olivier/Programmation/xpl/xpl-perl/blib/lib/xPL/Listener.pm line 724.
# Looks like you planned 19 tests but ran 6.
# Looks like your test exited with 2 just after 6.
t/14-dock-hddtemp.t ............. Dubious, test returned 2 (wstat 512, 0x200)
Failed 13/19 subtests 
t/14-dock-heyu.t ................ 1/27 # Looks like you planned 27 tests but ran 4.
# Looks like your test exited with 25 just after 4.
t/14-dock-heyu.t ................ Dubious, test returned 25 (wstat 6400, 0x1900)
Failed 23/27 subtests 
t/14-dock-lcdproc.t ............. 1/113 Can't locate object method "one_event" via package "AnyEvent" at /Users/olivier/Programmation/xpl/xpl-perl/blib/lib/xPL/Listener.pm line 724.
# Looks like you planned 113 tests but ran 7.
# Looks like your test exited with 29 just after 7.
t/14-dock-lcdproc.t ............. Dubious, test returned 29 (wstat 7424, 0x1d00)
Failed 106/113 subtests 
t/14-dock-linux.t ............... 1/11 Failed to open temporary file t/linux/1/sys/class/power_supply/BAT4/charge_full: Permission denied
# Looks like you planned 11 tests but ran 3.
# Looks like your test exited with 13 just after 3.
t/14-dock-linux.t ............... Dubious, test returned 13 (wstat 3328, 0xd00)
Failed 8/11 subtests 
t/14-dock-lirc.t ................ 1/15 Can't locate object method "one_event" via package "AnyEvent" at /Users/olivier/Programmation/xpl/xpl-perl/blib/lib/xPL/Listener.pm line 724.
# Looks like you planned 15 tests but ran 7.
# Looks like your test exited with 29 just after 7.
t/14-dock-lirc.t ................ Dubious, test returned 29 (wstat 7424, 0x1d00)
Failed 8/15 subtests 
t/14-dock-mythtv.t .............. 1/21 Can't locate object method "one_event" via package "AnyEvent" at /Users/olivier/Programmation/xpl/xpl-perl/blib/lib/xPL/Listener.pm line 724.
# Looks like you planned 21 tests but ran 6.
# Looks like your test exited with 2 just after 6.
t/14-dock-mythtv.t .............. Dubious, test returned 2 (wstat 512, 0x200)
Failed 15/21 subtests 
t/14-dock-owfs.t ................ 1/28 Can't locate object method "one_event" via package "AnyEvent" at /Users/olivier/Programmation/xpl/xpl-perl/blib/lib/xPL/Listener.pm line 724.
# Looks like you planned 28 tests but ran 4.
# Looks like your test exited with 25 just after 4.
t/14-dock-owfs.t ................ Dubious, test returned 25 (wstat 6400, 0x1900)
Failed 24/28 subtests 
t/14-dock-ownet.t ............... skipped: No AnyEvent::OWNet module: Can't locate AnyEvent/OWNet.pm in @INC (@INC contains: /Users/olivier/Programmation/xpl/xpl-perl/blib/lib /Users/olivier/Programmation/xpl/xpl-perl/blib/arch /Library/Perl/5.12/darwin-thread-multi-2level /Library/Perl/5.12 /Network/Library/Perl/5.12/darwin-thread-multi-2level /Network/Library/Perl/5.12 /Library/Perl/Updates/5.12.3/darwin-thread-multi-2level /Library/Perl/Updates/5.12.3 /System/Library/Perl/5.12/darwin-thread-multi-2level /System/Library/Perl/5.12 /System/Library/Perl/Extras/5.12/darwin-thread-multi-2level /System/Library/Perl/Extras/5.12 .) at t/14-dock-ownet.t line 12.
t/14-dock-rfxcom-rx.t ........... skipped: No AnyEvent::RFXCOM::RX module: Can't locate AnyEvent/RFXCOM/RX.pm in @INC (@INC contains: /Users/olivier/Programmation/xpl/xpl-perl/blib/lib /Users/olivier/Programmation/xpl/xpl-perl/blib/arch /Library/Perl/5.12/darwin-thread-multi-2level /Library/Perl/5.12 /Network/Library/Perl/5.12/darwin-thread-multi-2level /Network/Library/Perl/5.12 /Library/Perl/Updates/5.12.3/darwin-thread-multi-2level /Library/Perl/Updates/5.12.3 /System/Library/Perl/5.12/darwin-thread-multi-2level /System/Library/Perl/5.12 /System/Library/Perl/Extras/5.12/darwin-thread-multi-2level /System/Library/Perl/Extras/5.12 .) at t/14-dock-rfxcom-rx.t line 15.
t/14-dock-rfxcom-tx.t ........... skipped: No AnyEvent::RFXCOM::TX module: Can't locate AnyEvent/RFXCOM/TX.pm in @INC (@INC contains: t/lib /Users/olivier/Programmation/xpl/xpl-perl/blib/lib /Users/olivier/Programmation/xpl/xpl-perl/blib/arch /Library/Perl/5.12/darwin-thread-multi-2level /Library/Perl/5.12 /Network/Library/Perl/5.12/darwin-thread-multi-2level /Network/Library/Perl/5.12 /Library/Perl/Updates/5.12.3/darwin-thread-multi-2level /Library/Perl/Updates/5.12.3 /System/Library/Perl/5.12/darwin-thread-multi-2level /System/Library/Perl/5.12 /System/Library/Perl/Extras/5.12/darwin-thread-multi-2level /System/Library/Perl/Extras/5.12 .) at t/14-dock-rfxcom-tx.t line 16.
t/14-dock-udin.t ................ 1/33 Can't locate object method "one_event" via package "AnyEvent" at /Users/olivier/Programmation/xpl/xpl-perl/blib/lib/xPL/Listener.pm line 724.
# Looks like you planned 33 tests but ran 10.
# Looks like your test exited with 255 just after 10.
t/14-dock-udin.t ................ Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 23/33 subtests 
t/14-dock-viom.t ................ 1/63 Can't locate object method "one_event" via package "AnyEvent" at /Users/olivier/Programmation/xpl/xpl-perl/blib/lib/xPL/Listener.pm line 724.
# Looks like you planned 63 tests but ran 10.
# Looks like your test exited with 25 just after 10.
t/14-dock-viom.t ................ Dubious, test returned 25 (wstat 6400, 0x1900)
Failed 53/63 subtests 
t/14-dock-w800.t ................ skipped: No AnyEvent::W800 module: Can't locate AnyEvent/W800.pm in @INC (@INC contains: /Users/olivier/Programmation/xpl/xpl-perl/blib/lib /Users/olivier/Programmation/xpl/xpl-perl/blib/arch /Library/Perl/5.12/darwin-thread-multi-2level /Library/Perl/5.12 /Network/Library/Perl/5.12/darwin-thread-multi-2level /Network/Library/Perl/5.12 /Library/Perl/Updates/5.12.3/darwin-thread-multi-2level /Library/Perl/Updates/5.12.3 /System/Library/Perl/5.12/darwin-thread-multi-2level /System/Library/Perl/5.12 /System/Library/Perl/Extras/5.12/darwin-thread-multi-2level /System/Library/Perl/Extras/5.12 .) at t/14-dock-w800.t line 15.
t/14-dock-wol.t ................. ok   
t/14-dock-xosd.t ................ ok     
t/14-dock-xvkbd.t ............... ok   
t/author-critic.t ............... skipped: these tests are for testing by the author
t/release-eol.t ................. skipped: these tests are for release candidate testing
t/release-kwalitee.t ............ skipped: these tests are for release candidate testing
t/release-no-tabs.t ............. skipped: these tests are for release candidate testing
t/release-pod-coverage.t ........ skipped: these tests are for release candidate testing
t/release-pod-syntax.t .......... skipped: these tests are for release candidate testing

Test Summary Report
-------------------
t/01-use.t                    (Wstat: 256 Tests: 67 Failed: 1)
  Failed test:  22
  Non-zero exit status: 1
t/05-listener-anyevent.t      (Wstat: 65280 Tests: 18 Failed: 0)
  Non-zero exit status: 255
  Parse errors: Bad plan.  You planned 163 tests but ran 18.
t/05-listener.t               (Wstat: 65280 Tests: 18 Failed: 0)
  Non-zero exit status: 255
  Parse errors: Bad plan.  You planned 163 tests but ran 18.
t/06-hub.t                    (Wstat: 512 Tests: 26 Failed: 0)
  Non-zero exit status: 2
  Parse errors: Bad plan.  You planned 70 tests but ran 26.
t/07-client-hubless.t         (Wstat: 65280 Tests: 5 Failed: 3)
  Failed tests:  3-5
  Non-zero exit status: 255
  Parse errors: Bad plan.  You planned 19 tests but ran 5.
t/07-client-ping.t            (Wstat: 65280 Tests: 5 Failed: 0)
  Non-zero exit status: 255
  Parse errors: Bad plan.  You planned 10 tests but ran 5.
t/07-client-stealth.t         (Wstat: 65280 Tests: 5 Failed: 2)
  Failed tests:  4-5
  Non-zero exit status: 255
  Parse errors: Bad plan.  You planned 14 tests but ran 5.
t/07-client.t                 (Wstat: 65280 Tests: 10 Failed: 0)
  Non-zero exit status: 255
  Parse errors: Bad plan.  You planned 51 tests but ran 10.
t/08-bridge-client.t          (Wstat: 65280 Tests: 9 Failed: 0)
  Non-zero exit status: 255
  Parse errors: Bad plan.  You planned 12 tests but ran 9.
t/08-bridge.t                 (Wstat: 7424 Tests: 7 Failed: 0)
  Non-zero exit status: 29
  Parse errors: Bad plan.  You planned 47 tests but ran 7.
t/14-dock-apcups.t            (Wstat: 512 Tests: 6 Failed: 0)
  Non-zero exit status: 2
  Parse errors: Bad plan.  You planned 28 tests but ran 6.
t/14-dock-datetime.t          (Wstat: 512 Tests: 5 Failed: 0)
  Non-zero exit status: 2
  Parse errors: Bad plan.  You planned 11 tests but ran 5.
t/14-dock-dmx.t               (Wstat: 6400 Tests: 11 Failed: 0)
  Non-zero exit status: 25
  Parse errors: Bad plan.  You planned 72 tests but ran 11.
t/14-dock-easydaq.t           (Wstat: 65280 Tests: 10 Failed: 0)
  Non-zero exit status: 255
  Parse errors: Bad plan.  You planned 29 tests but ran 10.
t/14-dock-hddtemp.t           (Wstat: 512 Tests: 6 Failed: 0)
  Non-zero exit status: 2
  Parse errors: Bad plan.  You planned 19 tests but ran 6.
t/14-dock-heyu.t              (Wstat: 6400 Tests: 4 Failed: 0)
  Non-zero exit status: 25
  Parse errors: Bad plan.  You planned 27 tests but ran 4.
t/14-dock-lcdproc.t           (Wstat: 7424 Tests: 7 Failed: 0)
  Non-zero exit status: 29
  Parse errors: Bad plan.  You planned 113 tests but ran 7.
t/14-dock-linux.t             (Wstat: 3328 Tests: 3 Failed: 0)
  Non-zero exit status: 13
  Parse errors: Bad plan.  You planned 11 tests but ran 3.
t/14-dock-lirc.t              (Wstat: 7424 Tests: 7 Failed: 0)
  Non-zero exit status: 29
  Parse errors: Bad plan.  You planned 15 tests but ran 7.
t/14-dock-mythtv.t            (Wstat: 512 Tests: 6 Failed: 0)
  Non-zero exit status: 2
  Parse errors: Bad plan.  You planned 21 tests but ran 6.
t/14-dock-owfs.t              (Wstat: 6400 Tests: 4 Failed: 0)
  Non-zero exit status: 25
  Parse errors: Bad plan.  You planned 28 tests but ran 4.
t/14-dock-udin.t              (Wstat: 65280 Tests: 10 Failed: 0)
  Non-zero exit status: 255
  Parse errors: Bad plan.  You planned 33 tests but ran 10.
t/14-dock-viom.t              (Wstat: 6400 Tests: 10 Failed: 0)
  Non-zero exit status: 25
  Parse errors: Bad plan.  You planned 63 tests but ran 10.
Files=72, Tests=2739, 15 wallclock secs ( 0.61 usr  0.27 sys + 10.81 cusr  1.66 csys = 13.35 CPU)
Result: FAIL
Failed 23/72 test programs. 6/2739 subtests failed.
make: *** [test_dynamic] Error 255

I first tried with version 0.11 then with latest source. Results are very similar.

I hope you can give me some advice.

Thank you !

@ghost ghost assigned beanz Sep 18, 2011
@beanz
Copy link
Owner

beanz commented Sep 18, 2011

I've made two fixes - workaround the AnyEvent one_event method disappearance and the Notifo module failure. I'd be interested to know what errors are still there after those fixes but I don't think they are necessarily related to the problem you really want to solve.

With regard to DCM, this is probably just a difference in the choice of default interfaces for broadcasting/listening. Try using "tcpdump -n -i eth0 udp port 3865" where eth0 is an appropriate interface to see what packets are being sent.

Also look at the output of xpl-hub with --verbose and xpl-logger with --verbose to figure out what interfaces xpl-perl is using.

Regards,
Mark.

@hollie
Copy link

hollie commented Sep 26, 2011

Hi Olivier,

I am running the xpl perl framework successfully on Mac OS X. I followed this flow:

  • install XCode from the appstore for compiler and git support
  • install the following perl modules from CPAN (using 'sudo perl -MCPAN -e shell):
    • AnyEvent
    • Device::SerialPort if you need access to devices trough such an interface. I have slightly modified the IOHandler.pm to use this module instead of the 'stty' calls that Mark uses (see my xpl-perl fork, I still need to lineup with Mark on this...).

If you need RRD support, you can install it by using the StaticRRDtoolOSX build by jwilson511 on github.

Then I added a .plist to /Library/LaunchDaemons to start the xpl-hub.

DCM connects fine, although maybe you need to specify the interface where the hub needs to connect to (I'm using a wired network connection and the airport is not activated)

@olivierguerriat
Copy link
Author

Thanks a lot for your answers ! I'm sorry to answer you so late, but I didn't get the chance to try out until today.

Building xpl-perl from the latest source solves some previously failed tests but a bunch of errors still show up :

PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00-helpers.t .................. ok   
t/01-pod.t ...................... ok       
t/01-use.t ...................... ok     
t/01-xpl-base.t ................. ok     
t/01-xpl-interfaces.t ........... ok     
t/01-xpl-message.t .............. ok     
t/01-xpl-slowmessage.t .......... ok     
t/01-xpl-utils.t ................ ok   
t/01-xpl-validation.t ........... ok       
t/02-message-v.t ................ ok       
t/02-message.t .................. ok       
t/02-schema-yaml.t .............. skipped: YAML not available
t/02-timer.t .................... ok     
t/03-message-errors-v.t ......... ok     
t/03-message-errors.t ........... ok     
t/03-message-from-payload.t ..... ok     
t/03-message-method-maker.t ..... ok   
t/04-clock.t .................... ok   
t/04-collection-api.t ........... ok     
t/04-config.t ................... ok     
t/04-hbeat-errors.t ............. ok   
t/04-osd-errors.t ............... ok   
t/04-queue.t .................... ok       
t/05-listener-anyevent.t ........ 1/163 main_loop with count is deprecated. at t/05-listener.t line 79
main_loop with count is deprecated. at t/05-listener.t line 79
t/05-listener-anyevent.t ........ 19/163 main_loop with count is deprecated. at t/05-listener.t line 114
main_loop with count is deprecated. at t/05-listener.t line 132
main_loop with count is deprecated. at t/05-listener.t line 132
main_loop with count is deprecated. at t/05-listener.t line 132
main_loop with count is deprecated. at t/05-listener.t line 132
t/05-listener-anyevent.t ........ 46/163 main_loop with count is deprecated. at t/05-listener.t line 132
main_loop with count is deprecated. at t/05-listener.t line 132
t/05-listener-anyevent.t ........ 52/163 
#   Failed test 'timer removed when count reaches zero'
#   at t/05-listener.t line 142.
#          got: 'main_loop with count is deprecated. at t/05-listener.t line 141
# main_loop with count is deprecated. at t/05-listener.t line 141
# MY::Listener->item_attrib: timer item 'null' not registered'
#     expected: 'MY::Listener->item_attrib: timer item 'null' not registered'
main_loop with count is deprecated. at t/05-listener.t line 149
main_loop with count is deprecated. at t/05-listener.t line 156
main_loop with count is deprecated. at t/05-listener.t line 160
main_loop with count is deprecated. at t/05-listener.t line 243
main_loop with count is deprecated. at t/05-listener.t line 300
main_loop with count is deprecated. at t/05-listener.t line 310
main_loop with count is deprecated. at t/05-listener.t line 329
main_loop with count is deprecated. at t/05-listener.t line 353
main_loop with count is deprecated. at t/05-listener.t line 389
# Looks like you failed 1 test of 163.
t/05-listener-anyevent.t ........ Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/163 subtests 
    (less 6 skipped subtests: 156 okay)
t/05-listener-send-methods.t .... ok     
t/05-listener.t ................. 1/163 main_loop with count is deprecated. at t/05-listener.t line 79
main_loop with count is deprecated. at t/05-listener.t line 79
main_loop with count is deprecated. at t/05-listener.t line 114
main_loop with count is deprecated. at t/05-listener.t line 132
main_loop with count is deprecated. at t/05-listener.t line 132
t/05-listener.t ................. 43/163 main_loop with count is deprecated. at t/05-listener.t line 132
main_loop with count is deprecated. at t/05-listener.t line 132
main_loop with count is deprecated. at t/05-listener.t line 132
main_loop with count is deprecated. at t/05-listener.t line 132
t/05-listener.t ................. 49/163 
#   Failed test 'timer removed when count reaches zero'
#   at t/05-listener.t line 142.
#          got: 'main_loop with count is deprecated. at t/05-listener.t line 141
# main_loop with count is deprecated. at t/05-listener.t line 141
# MY::Listener->item_attrib: timer item 'null' not registered'
#     expected: 'MY::Listener->item_attrib: timer item 'null' not registered'
main_loop with count is deprecated. at t/05-listener.t line 149
main_loop with count is deprecated. at t/05-listener.t line 156
main_loop with count is deprecated. at t/05-listener.t line 160
main_loop with count is deprecated. at t/05-listener.t line 243
main_loop with count is deprecated. at t/05-listener.t line 300
main_loop with count is deprecated. at t/05-listener.t line 310
main_loop with count is deprecated. at t/05-listener.t line 329
main_loop with count is deprecated. at t/05-listener.t line 353
main_loop with count is deprecated. at t/05-listener.t line 389
# Looks like you failed 1 test of 163.
t/05-listener.t ................. Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/163 subtests 
    (less 6 skipped subtests: 156 okay)
t/06-hub.t ...................... 1/70 main_loop with count is deprecated. at t/06-hub.t line 82
main_loop with count is deprecated. at t/06-hub.t line 83
main_loop with count is deprecated. at t/06-hub.t line 99
t/06-hub.t ...................... 35/70 main_loop with count is deprecated. at t/06-hub.t line 105
main_loop with count is deprecated. at t/06-hub.t line 117
main_loop with count is deprecated. at t/06-hub.t line 122
main_loop with count is deprecated. at t/06-hub.t line 149
main_loop with count is deprecated. at t/06-hub.t line 161
main_loop with count is deprecated. at t/06-hub.t line 167

#   Failed test 'hub handles duff message'
#   at t/06-hub.t line 176.
#          got: 'main_loop with count is deprecated. at t/06-hub.t line 174
# Invalid message from 127.0.0.1:62816: xPL::Message->new_from_payload: Message badly formed: failed to split head and body'
#     expected: 'Invalid message from 127.0.0.1:62816: xPL::Message->new_from_payload: Message badly formed: failed to split head and body'

#   Failed test 'identity is from uname'
#   at t/06-hub.t line 391.
#          got: 'silicium'
#     expected: 'Silicium'
# Looks like you failed 2 tests of 70.
t/06-hub.t ...................... Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/70 subtests 
t/07-client-config.t ............ ok     
t/07-client-gtk.t ............... skipped: No Gtk2 perl module installed
t/07-client-hubless.t ........... 1/19 bind failed ... switching off hubless mode.

#   Failed test 'hbeat mode is standard'
#   at t/07-client-hubless.t line 23.
#          got: 'fast'
#     expected: 'standard'

#   Failed test 'listen socket is send socket'
#   at t/07-client-hubless.t line 24.
#          got: 'GLOB(0x7f92c9aacbc0)'
#     expected: 'GLOB(0x7f92c997dd58)'

#   Failed test 'listen socket has SO_REUSEADDR set'
#   at t/07-client-hubless.t line 25.
#          got: '4'
#     expected: '1'
main_loop with count is deprecated. at t/07-client-hubless.t line 38
main_loop with count is deprecated. at t/07-client-hubless.t line 40
t/07-client-hubless.t ........... 7/19 
#   Failed test 'message arrived'
#   at t/07-client-hubless.t line 41.
Can't call method "schema" on an undefined value at t/07-client-hubless.t line 42.
# Looks like you planned 19 tests but ran 7.
# Looks like you failed 4 tests of 7 run.
# Looks like your test exited with 255 just after 7.
t/07-client-hubless.t ........... Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 16/19 subtests 
t/07-client-ping.t .............. ok     
t/07-client-stealth.t ........... 1/14 bind failed ... switching off hubless mode.

#   Failed test 'listen socket is send socket'
#   at t/07-client-stealth.t line 24.
#          got: 'GLOB(0x7f93ba2ad810)'
#     expected: 'GLOB(0x7f93ba17d770)'

#   Failed test 'listen socket has SO_REUSEADDR set'
#   at t/07-client-stealth.t line 25.
#          got: '4'
#     expected: '1'
main_loop with count is deprecated. at t/Helpers.pm line 122
main_loop with count is deprecated. at t/Helpers.pm line 122
main_loop with count is deprecated. at t/Helpers.pm line 122
main_loop with count is deprecated. at t/Helpers.pm line 122
main_loop with count is deprecated. at t/Helpers.pm line 122
main_loop with count is deprecated. at t/Helpers.pm line 122
# Looks like you failed 2 tests of 14.
t/07-client-stealth.t ........... Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/14 subtests 
t/07-client.t ................... ok     
t/08-bridge-client.t ............ ok     
t/08-bridge.t ................... 1/47 
#   Failed test 'dropping message warning - remote'
#   at t/08-bridge.t line 124.
#          got: 'main_loop with count is deprecated. at t/08-bridge.t line 122
# Dropping msg from 127.0.0.1:51292: xpl-stat
# {
# hop=10
# source=acme-clock.clepsydra
# target=*
# }
# hbeat.basic
# {
# }
# '
#     expected: 'Dropping msg from 127.0.0.1:51292: xpl-stat
# {
# hop=10
# source=acme-clock.clepsydra
# target=*
# }
# hbeat.basic
# {
# }
# '

#   Failed test 'invalid message warning'
#   at t/08-bridge.t line 141.
#          got: 'main_loop with count is deprecated. at t/08-bridge.t line 139
# My::Bridge->sock_read: Invalid message from 127.0.0.1:51292: xPL::Message->new_from_payload: Message badly formed: failed to split head and body'
#     expected: 'My::Bridge->sock_read: Invalid message from 127.0.0.1:51292: xPL::Message->new_from_payload: Message badly formed: failed to split head and body'

#   Failed test 'dropping message warning - local'
#   at t/08-bridge.t line 151.
#          got: 'main_loop with count is deprecated. at t/08-bridge.t line 151
# Dropping local msg: xpl-stat/hbeat.basic: acme-clock.cuckoo -> * 
# '
#     expected: 'Dropping local msg: xpl-stat/hbeat.basic: acme-clock.cuckoo -> * 
# '
# Looks like you failed 3 tests of 47.
t/08-bridge.t ................... Dubious, test returned 3 (wstat 768, 0x300)
Failed 3/47 subtests 
t/09-hub-ignore-remote-hbeat.t .. ok   
t/09-targetting.t ............... skipped: AnyEvent's singleton main_loop confuses this test
t/10-mainloop.t ................. ok   
t/12-dock.t ..................... ok     
t/13-dock-plug.t ................ ok     
t/13-iohandler.t ................ 1/34 sysread() on unopened filehandle GEN5 at /System/Library/Perl/5.12/darwin-thread-multi-2level/IO/Handle.pm line 450.
stty: illegal option -- -F
usage: stty [-a|-e|-g] [-f file] [options]
stty: illegal option -- -F
usage: stty [-a|-e|-g] [-f file] [options]
t/13-iohandler.t ................ ok     
t/13-iorecords.t ................ ok     
t/14-dock-apcups.t .............. 1/28 main_loop with count is deprecated. at t/14-dock-apcups.t line 62
main_loop with count is deprecated. at t/14-dock-apcups.t line 78
main_loop with count is deprecated. at t/14-dock-apcups.t line 111
main_loop with count is deprecated. at t/14-dock-apcups.t line 142
main_loop with count is deprecated. at t/14-dock-apcups.t line 183
main_loop with count is deprecated. at t/14-dock-apcups.t line 187
main_loop with count is deprecated. at t/14-dock-apcups.t line 191

#   Failed test 'invalid string'
#   at t/14-dock-apcups.t line 207.
#          got: 'main_loop with count is deprecated. at t/14-dock-apcups.t line 207
# Invalid string? 010474657374
# '
#     expected: 'Invalid string? 010474657374
# '

#   Failed test 'connection closes silently'
#   at t/14-dock-apcups.t line 212.
#          got: 'main_loop with count is deprecated.'
#     expected: undef
# Looks like you failed 2 tests of 28.
t/14-dock-apcups.t .............. Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/28 subtests 
t/14-dock-bluetooth.t ........... skipped: No Net::Bluetooth perl module
t/14-dock-currentcost.t ......... skipped: No AnyEvent::CurrentCost module: Can't locate AnyEvent/CurrentCost.pm in @INC (@INC contains: /Users/olivier/Programmation/xpl/xpl-perl/blib/lib /Users/olivier/Programmation/xpl/xpl-perl/blib/arch /Library/Perl/5.12/darwin-thread-multi-2level /Library/Perl/5.12 /Network/Library/Perl/5.12/darwin-thread-multi-2level /Network/Library/Perl/5.12 /Library/Perl/Updates/5.12.3/darwin-thread-multi-2level /Library/Perl/Updates/5.12.3 /System/Library/Perl/5.12/darwin-thread-multi-2level /System/Library/Perl/5.12 /System/Library/Perl/Extras/5.12/darwin-thread-multi-2level /System/Library/Perl/Extras/5.12 .) at t/14-dock-currentcost.t line 16.
t/14-dock-datetime.t ............ 1/11 main_loop with count is deprecated. at t/14-dock-datetime.t line 45
bind failed ... switching off hubless mode.
t/14-dock-datetime.t ............ ok     
t/14-dock-dawndusk.t ............ skipped: No DateTime::Event::Sunrise perl module
t/14-dock-dmx.t ................. 1/72 main_loop with count is deprecated. at t/Helpers.pm line 122
main_loop with count is deprecated. at t/Helpers.pm line 122
main_loop with count is deprecated. at t/Helpers.pm line 122
main_loop with count is deprecated. at t/Helpers.pm line 122
main_loop with count is deprecated. at t/14-dock-dmx.t line 104
t/14-dock-dmx.t ................. 30/72 main_loop with count is deprecated. at t/14-dock-dmx.t line 165
main_loop with count is deprecated. at t/14-dock-dmx.t line 247
main_loop with count is deprecated. at t/14-dock-dmx.t line 247
main_loop with count is deprecated. at t/14-dock-dmx.t line 247
main_loop with count is deprecated. at t/14-dock-dmx.t line 239
main_loop with count is deprecated. at t/14-dock-dmx.t line 247
main_loop with count is deprecated. at t/14-dock-dmx.t line 239
main_loop with count is deprecated. at t/14-dock-dmx.t line 247
main_loop with count is deprecated. at t/14-dock-dmx.t line 247
main_loop with count is deprecated. at t/14-dock-dmx.t line 247
main_loop with count is deprecated. at t/14-dock-dmx.t line 239
main_loop with count is deprecated. at t/14-dock-dmx.t line 247
main_loop with count is deprecated. at t/14-dock-dmx.t line 239
main_loop with count is deprecated. at t/14-dock-dmx.t line 247
main_loop with count is deprecated. at t/14-dock-dmx.t line 247
main_loop with count is deprecated. at t/14-dock-dmx.t line 247
main_loop with count is deprecated. at t/14-dock-dmx.t line 239
main_loop with count is deprecated. at t/14-dock-dmx.t line 247
main_loop with count is deprecated. at t/14-dock-dmx.t line 247
main_loop with count is deprecated. at t/14-dock-dmx.t line 239
main_loop with count is deprecated. at t/14-dock-dmx.t line 247
main_loop with count is deprecated. at t/14-dock-dmx.t line 247
main_loop with count is deprecated. at t/14-dock-dmx.t line 247
main_loop with count is deprecated. at t/14-dock-dmx.t line 239
main_loop with count is deprecated. at t/14-dock-dmx.t line 247
main_loop with count is deprecated. at t/14-dock-dmx.t line 239
main_loop with count is deprecated. at t/14-dock-dmx.t line 247
main_loop with count is deprecated. at t/14-dock-dmx.t line 247
main_loop with count is deprecated. at t/14-dock-dmx.t line 247
main_loop with count is deprecated. at t/14-dock-dmx.t line 239
main_loop with count is deprecated. at t/14-dock-dmx.t line 247
main_loop with count is deprecated. at t/14-dock-dmx.t line 247
main_loop with count is deprecated. at t/14-dock-dmx.t line 247
main_loop with count is deprecated. at t/14-dock-dmx.t line 239
bind failed ... switching off hubless mode.

#   Failed test 'missing parameter'
#   at t/14-dock-dmx.t line 261.
#          got: 'Listening on 127.0.0.1:49159
# Sending on 127.0.0.1
# The --dmx-tty parameter is required
# or the value can be given as a command line argument
# '
#     expected: 'Listening on 127.0.0.1:3865
# Sending on 127.0.0.1
# The --dmx-tty parameter is required
# or the value can be given as a command line argument
# '
bind failed ... switching off hubless mode.
# Looks like you failed 1 test of 72.
t/14-dock-dmx.t ................. Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/72 subtests 
t/14-dock-easydaq.t ............. 1/29 main_loop with count is deprecated. at t/14-dock-easydaq.t line 202
main_loop with count is deprecated. at t/14-dock-easydaq.t line 202
main_loop with count is deprecated. at t/14-dock-easydaq.t line 202
main_loop with count is deprecated. at t/14-dock-easydaq.t line 202
main_loop with count is deprecated. at t/14-dock-easydaq.t line 202
main_loop with count is deprecated. at t/14-dock-easydaq.t line 202
main_loop with count is deprecated. at t/14-dock-easydaq.t line 202
main_loop with count is deprecated. at t/14-dock-easydaq.t line 202
main_loop with count is deprecated. at t/14-dock-easydaq.t line 202
main_loop with count is deprecated. at t/14-dock-easydaq.t line 202
main_loop with count is deprecated. at t/14-dock-easydaq.t line 202
t/14-dock-easydaq.t ............. 24/29 main_loop with count is deprecated. at t/Helpers.pm line 122
main_loop with count is deprecated. at t/Helpers.pm line 122
bind failed ... switching off hubless mode.

#   Failed test 'missing parameter'
#   at t/14-dock-easydaq.t line 176.
#          got: 'Listening on 127.0.0.1:56183
# Sending on 127.0.0.1
# The --easydaq-tty parameter is required
# or the value can be given as a command line argument
# '
#     expected: 'Listening on 127.0.0.1:3865
# Sending on 127.0.0.1
# The --easydaq-tty parameter is required
# or the value can be given as a command line argument
# '
# Looks like you failed 1 test of 29.
t/14-dock-easydaq.t ............. Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/29 subtests 
t/14-dock-fdnotify.t ............ ok     
t/14-dock-hddtemp.t ............. 1/19 main_loop with count is deprecated. at t/14-dock-hddtemp.t line 63
main_loop with count is deprecated. at t/Helpers.pm line 131
main_loop with count is deprecated. at t/Helpers.pm line 131
main_loop with count is deprecated. at t/Helpers.pm line 131
main_loop with count is deprecated. at t/Helpers.pm line 131
t/14-dock-hddtemp.t ............. ok     
t/14-dock-heyu.t ................ 1/27 
#   Failed test 'unsupported line output'
#   at t/14-dock-heyu.t line 50.
#          got: 'main_loop with count is deprecated. at t/14-dock-heyu.t line 43
# main_loop with count is deprecated. at t/14-dock-heyu.t line 43
# Sending x10.basic a0 on
# Sending x10.basic a2 bright 8
# Sending x10.confirm a3,10 on
# Sending x10.basic l6 xfunc data1=49 data2=63
# Sending x10.basic a4,5,6,10 on
# Sending x10.basic l6 xfunc data1=49 data2=63
# monitor reported unsupported line:
#   testing unsupported line
# '
#     expected: 'Sending x10.basic a0 on
# Sending x10.basic a2 bright 8
# Sending x10.confirm a3,10 on
# Sending x10.basic l6 xfunc data1=49 data2=63
# Sending x10.basic a4,5,6,10 on
# Sending x10.basic l6 xfunc data1=49 data2=63
# monitor reported unsupported line:
#   testing unsupported line
# '

#   Failed test 'helper ack 0'
#   at t/14-dock-heyu.t line 85.
#          got: 'main_loop with count is deprecated. at t/14-dock-heyu.t line 82
# Acknowledged 00000000 on a3
# '
#     expected: 'Acknowledged 00000000 on a3
# '

#   Failed test 'helper ack 1'
#   at t/14-dock-heyu.t line 170.
#          got: 'main_loop with count is deprecated. at t/14-dock-heyu.t line 167
# Acknowledged 00000001 dim a1 2
# '
#     expected: 'Acknowledged 00000001 dim a1 2
# '

#   Failed test 'helper output'
#   at t/14-dock-heyu.t line 197.
#          got: 'main_loop with count is deprecated. at t/14-dock-heyu.t line 194
# Helper wrote: Testing error case
# '
#     expected: 'Helper wrote: Testing error case
# '

#   Failed test 'helper error'
#   at t/14-dock-heyu.t line 206.
#          got: 'main_loop with count is deprecated. at t/14-dock-heyu.t line 203
# Received 00000002: 65280 65280
# '
#     expected: 'Received 00000002: 65280 65280
# '
bind failed ... switching off hubless mode.
# Looks like you failed 5 tests of 27.
t/14-dock-heyu.t ................ Dubious, test returned 5 (wstat 1280, 0x500)
Failed 5/27 subtests 
t/14-dock-lcdproc.t ............. 1/113 main_loop with count is deprecated. at t/14-dock-lcdproc.t line 49
main_loop with count is deprecated. at t/14-dock-lcdproc.t line 56
main_loop with count is deprecated. at t/14-dock-lcdproc.t line 67
main_loop with count is deprecated. at t/14-dock-lcdproc.t line 72

#   Failed test 'failure warning'
#   at t/14-dock-lcdproc.t line 77.
#          got: 'main_loop with count is deprecated. at t/14-dock-lcdproc.t line 77
# Failed. Sent: screen_set xplosd -priority hidden
# got: huh? just testing failure warning
# '
#     expected: 'Failed. Sent: screen_set xplosd -priority hidden
# got: huh? just testing failure warning
# '

#   Failed test 'failure warning - not waiting'
#   at t/14-dock-lcdproc.t line 82.
#          got: 'main_loop with count is deprecated. at t/14-dock-lcdproc.t line 82
# Failed. Sent: *nothing*
# got: just testing failure warning
# '
#     expected: 'Failed. Sent: *nothing*
# got: just testing failure warning
# '
main_loop with count is deprecated. at t/14-dock-lcdproc.t line 109
main_loop with count is deprecated. at t/14-dock-lcdproc.t line 109
main_loop with count is deprecated. at t/14-dock-lcdproc.t line 109
main_loop with count is deprecated. at t/14-dock-lcdproc.t line 146
main_loop with count is deprecated. at t/14-dock-lcdproc.t line 146
main_loop with count is deprecated. at t/14-dock-lcdproc.t line 146
main_loop with count is deprecated. at t/14-dock-lcdproc.t line 146
main_loop with count is deprecated. at t/14-dock-lcdproc.t line 146
main_loop with count is deprecated. at t/14-dock-lcdproc.t line 178
main_loop with count is deprecated. at t/14-dock-lcdproc.t line 178
main_loop with count is deprecated. at t/14-dock-lcdproc.t line 178
main_loop with count is deprecated. at t/14-dock-lcdproc.t line 200
main_loop with count is deprecated. at t/14-dock-lcdproc.t line 204
main_loop with count is deprecated. at t/14-dock-lcdproc.t line 204
main_loop with count is deprecated. at t/14-dock-lcdproc.t line 210
main_loop with count is deprecated. at t/14-dock-lcdproc.t line 227

#   Failed test 'protocol warning'
#   at t/14-dock-lcdproc.t line 232.
#          got: 'main_loop with count is deprecated. at t/14-dock-lcdproc.t line 232
# LCDproc daemon protocol 0.2 not 0.3 as expected.
# '
#     expected: 'LCDproc daemon protocol 0.2 not 0.3 as expected.
# '
bind failed ... switching off hubless mode.
main_loop with count is deprecated. at t/14-dock-lcdproc.t line 257
main_loop with count is deprecated. at t/14-dock-lcdproc.t line 264
bind failed ... switching off hubless mode.
# Looks like you failed 3 tests of 113.
t/14-dock-lcdproc.t ............. Dubious, test returned 3 (wstat 768, 0x300)
Failed 3/113 subtests 
t/14-dock-linux.t ............... 1/11 main_loop with count is deprecated. at t/14-dock-linux.t line 68
t/14-dock-linux.t ............... ok     
t/14-dock-lirc.t ................ 1/15 main_loop with count is deprecated. at t/Helpers.pm line 122
main_loop with count is deprecated. at t/Helpers.pm line 122
main_loop with count is deprecated. at t/14-dock-lirc.t line 66
main_loop with count is deprecated. at t/14-dock-lirc.t line 70
bind failed ... switching off hubless mode.
bind failed ... switching off hubless mode.
t/14-dock-lirc.t ................ ok     
t/14-dock-mythtv.t .............. 1/21 main_loop with count is deprecated. at t/14-dock-mythtv.t line 63
main_loop with count is deprecated. at t/Helpers.pm line 131
main_loop with count is deprecated. at t/Helpers.pm line 131
main_loop with count is deprecated. at t/Helpers.pm line 131
main_loop with count is deprecated. at t/14-dock-mythtv.t line 140
t/14-dock-mythtv.t .............. ok     
t/14-dock-owfs.t ................ 1/28 main_loop with count is deprecated. at t/14-dock-owfs.t line 53
bind failed ... switching off hubless mode.
main_loop with count is deprecated. at t/14-dock-owfs.t line 132
Failed to read ow file, t/ow/2/statistics/errors/CRC8_errors: No such file or directory
Failed to read ow file, t/ow/2/statistics/errors/CRC8_tries: No such file or directory
Failed to read ow file, t/ow/2/statistics/errors/CRC16_errors: No such file or directory
Failed to read ow file, t/ow/2/statistics/errors/CRC16_tries: No such file or directory
Writing 0 to 05.CFCFCF000000/PIO
Writing 1 to 05.CFCFCF000000/PIO
t/14-dock-owfs.t ................ 19/28 bind failed ... switching off hubless mode.

#   Failed test 'invalid mount'
#   at t/14-dock-owfs.t line 265.
#          got: 'main_loop with count is deprecated. at t/14-dock-owfs.t line 265
# Failed to open ow dir, t/ow/3: No such file or directory
# No devices found?
# '
#     expected: 'Failed to open ow dir, t/ow/3: No such file or directory
# No devices found?
# '
# Looks like you failed 1 test of 28.
t/14-dock-owfs.t ................ Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/28 subtests 
t/14-dock-ownet.t ............... skipped: No AnyEvent::OWNet module: Can't locate AnyEvent/OWNet.pm in @INC (@INC contains: /Users/olivier/Programmation/xpl/xpl-perl/blib/lib /Users/olivier/Programmation/xpl/xpl-perl/blib/arch /Library/Perl/5.12/darwin-thread-multi-2level /Library/Perl/5.12 /Network/Library/Perl/5.12/darwin-thread-multi-2level /Network/Library/Perl/5.12 /Library/Perl/Updates/5.12.3/darwin-thread-multi-2level /Library/Perl/Updates/5.12.3 /System/Library/Perl/5.12/darwin-thread-multi-2level /System/Library/Perl/5.12 /System/Library/Perl/Extras/5.12/darwin-thread-multi-2level /System/Library/Perl/Extras/5.12 .) at t/14-dock-ownet.t line 12.
t/14-dock-rfxcom-rx.t ........... skipped: No AnyEvent::RFXCOM::RX module: Can't locate AnyEvent/RFXCOM/RX.pm in @INC (@INC contains: /Users/olivier/Programmation/xpl/xpl-perl/blib/lib /Users/olivier/Programmation/xpl/xpl-perl/blib/arch /Library/Perl/5.12/darwin-thread-multi-2level /Library/Perl/5.12 /Network/Library/Perl/5.12/darwin-thread-multi-2level /Network/Library/Perl/5.12 /Library/Perl/Updates/5.12.3/darwin-thread-multi-2level /Library/Perl/Updates/5.12.3 /System/Library/Perl/5.12/darwin-thread-multi-2level /System/Library/Perl/5.12 /System/Library/Perl/Extras/5.12/darwin-thread-multi-2level /System/Library/Perl/Extras/5.12 .) at t/14-dock-rfxcom-rx.t line 15.
t/14-dock-rfxcom-tx.t ........... skipped: No AnyEvent::RFXCOM::TX module: Can't locate AnyEvent/RFXCOM/TX.pm in @INC (@INC contains: t/lib /Users/olivier/Programmation/xpl/xpl-perl/blib/lib /Users/olivier/Programmation/xpl/xpl-perl/blib/arch /Library/Perl/5.12/darwin-thread-multi-2level /Library/Perl/5.12 /Network/Library/Perl/5.12/darwin-thread-multi-2level /Network/Library/Perl/5.12 /Library/Perl/Updates/5.12.3/darwin-thread-multi-2level /Library/Perl/Updates/5.12.3 /System/Library/Perl/5.12/darwin-thread-multi-2level /System/Library/Perl/5.12 /System/Library/Perl/Extras/5.12/darwin-thread-multi-2level /System/Library/Perl/Extras/5.12 .) at t/14-dock-rfxcom-tx.t line 16.
t/14-dock-udin.t ................ 1/33 main_loop with count is deprecated. at t/14-dock-udin.t line 200
main_loop with count is deprecated. at t/14-dock-udin.t line 200
main_loop with count is deprecated. at t/14-dock-udin.t line 200
main_loop with count is deprecated. at t/14-dock-udin.t line 200
main_loop with count is deprecated. at t/14-dock-udin.t line 200
main_loop with count is deprecated. at t/14-dock-udin.t line 200
main_loop with count is deprecated. at t/14-dock-udin.t line 200
main_loop with count is deprecated. at t/14-dock-udin.t line 200
main_loop with count is deprecated. at t/14-dock-udin.t line 200
main_loop with count is deprecated. at t/14-dock-udin.t line 200
main_loop with count is deprecated. at t/14-dock-udin.t line 200
t/14-dock-udin.t ................ 23/33 main_loop with count is deprecated. at t/14-dock-udin.t line 200
main_loop with count is deprecated. at t/14-dock-udin.t line 200
main_loop with count is deprecated. at t/Helpers.pm line 122
main_loop with count is deprecated. at t/Helpers.pm line 122
main_loop with count is deprecated. at t/Helpers.pm line 122
bind failed ... switching off hubless mode.

#   Failed test 'missing parameter'
#   at t/14-dock-udin.t line 189.
#          got: 'Listening on 127.0.0.1:55929
# Sending on 127.0.0.1
# The --udin-tty parameter is required
# or the value can be given as a command line argument
# '
#     expected: 'Listening on 127.0.0.1:3865
# Sending on 127.0.0.1
# The --udin-tty parameter is required
# or the value can be given as a command line argument
# '
# Looks like you failed 1 test of 33.
t/14-dock-udin.t ................ Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/33 subtests 
t/14-dock-viom.t ................ 1/63 main_loop with count is deprecated. at t/Helpers.pm line 122
main_loop with count is deprecated. at t/Helpers.pm line 122
main_loop with count is deprecated. at t/Helpers.pm line 122
main_loop with count is deprecated. at t/Helpers.pm line 122
main_loop with count is deprecated. at t/Helpers.pm line 122
main_loop with count is deprecated. at t/Helpers.pm line 122
main_loop with count is deprecated. at t/Helpers.pm line 122
main_loop with count is deprecated. at t/Helpers.pm line 122
main_loop with count is deprecated. at t/Helpers.pm line 122
main_loop with count is deprecated. at t/Helpers.pm line 122
main_loop with count is deprecated. at t/Helpers.pm line 122
main_loop with count is deprecated. at t/Helpers.pm line 122
main_loop with count is deprecated. at t/Helpers.pm line 122
main_loop with count is deprecated. at t/Helpers.pm line 122
main_loop with count is deprecated. at t/Helpers.pm line 122
main_loop with count is deprecated. at t/Helpers.pm line 122
main_loop with count is deprecated. at t/Helpers.pm line 122
t/14-dock-viom.t ................ 60/63 bind failed ... switching off hubless mode.

#   Failed test 'missing parameter'
#   at t/14-dock-viom.t line 314.
#          got: 'Listening on 127.0.0.1:55862
# Sending on 127.0.0.1
# The --viom-tty parameter is required
# or the value can be given as a command line argument
# '
#     expected: 'Listening on 127.0.0.1:3865
# Sending on 127.0.0.1
# The --viom-tty parameter is required
# or the value can be given as a command line argument
# '
# Looks like you failed 1 test of 63.
t/14-dock-viom.t ................ Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/63 subtests 
t/14-dock-w800.t ................ skipped: No AnyEvent::W800 module: Can't locate AnyEvent/W800.pm in @INC (@INC contains: /Users/olivier/Programmation/xpl/xpl-perl/blib/lib /Users/olivier/Programmation/xpl/xpl-perl/blib/arch /Library/Perl/5.12/darwin-thread-multi-2level /Library/Perl/5.12 /Network/Library/Perl/5.12/darwin-thread-multi-2level /Network/Library/Perl/5.12 /Library/Perl/Updates/5.12.3/darwin-thread-multi-2level /Library/Perl/Updates/5.12.3 /System/Library/Perl/5.12/darwin-thread-multi-2level /System/Library/Perl/5.12 /System/Library/Perl/Extras/5.12/darwin-thread-multi-2level /System/Library/Perl/Extras/5.12 .) at t/14-dock-w800.t line 15.
t/14-dock-wol.t ................. ok   
t/14-dock-xosd.t ................ ok     
t/14-dock-xvkbd.t ............... ok   
t/author-critic.t ............... skipped: these tests are for testing by the author
t/release-eol.t ................. skipped: these tests are for release candidate testing
t/release-kwalitee.t ............ skipped: these tests are for release candidate testing
t/release-no-tabs.t ............. skipped: these tests are for release candidate testing
t/release-pod-coverage.t ........ skipped: these tests are for release candidate testing
t/release-pod-syntax.t .......... skipped: these tests are for release candidate testing

Test Summary Report
-------------------
t/05-listener-anyevent.t      (Wstat: 256 Tests: 163 Failed: 1)
  Failed test:  52
  Non-zero exit status: 1
t/05-listener.t               (Wstat: 256 Tests: 163 Failed: 1)
  Failed test:  52
  Non-zero exit status: 1
t/06-hub.t                    (Wstat: 512 Tests: 70 Failed: 2)
  Failed tests:  47, 69
  Non-zero exit status: 2
t/07-client-hubless.t         (Wstat: 65280 Tests: 7 Failed: 4)
  Failed tests:  3-5, 7
  Non-zero exit status: 255
  Parse errors: Bad plan.  You planned 19 tests but ran 7.
t/07-client-stealth.t         (Wstat: 512 Tests: 14 Failed: 2)
  Failed tests:  4-5
  Non-zero exit status: 2
t/08-bridge.t                 (Wstat: 768 Tests: 47 Failed: 3)
  Failed tests:  25, 27-28
  Non-zero exit status: 3
t/14-dock-apcups.t            (Wstat: 512 Tests: 28 Failed: 2)
  Failed tests:  26-27
  Non-zero exit status: 2
t/14-dock-dmx.t               (Wstat: 256 Tests: 72 Failed: 1)
  Failed test:  68
  Non-zero exit status: 1
t/14-dock-easydaq.t           (Wstat: 256 Tests: 29 Failed: 1)
  Failed test:  29
  Non-zero exit status: 1
t/14-dock-heyu.t              (Wstat: 1280 Tests: 27 Failed: 5)
  Failed tests:  6, 8, 16, 18-19
  Non-zero exit status: 5
t/14-dock-lcdproc.t           (Wstat: 768 Tests: 113 Failed: 3)
  Failed tests:  27-28, 100
  Non-zero exit status: 3
t/14-dock-owfs.t              (Wstat: 256 Tests: 28 Failed: 1)
  Failed test:  27
  Non-zero exit status: 1
t/14-dock-udin.t              (Wstat: 256 Tests: 33 Failed: 1)
  Failed test:  33
  Non-zero exit status: 1
t/14-dock-viom.t              (Wstat: 256 Tests: 63 Failed: 1)
  Failed test:  63
  Non-zero exit status: 1
Files=72, Tests=3554, 31 wallclock secs ( 0.71 usr  0.30 sys + 11.39 cusr  1.80 csys = 14.20 CPU)
Result: FAIL
Failed 14/72 test programs. 28/3554 subtests failed.
make: *** [test_dynamic] Error 255

I installed AnyEvent but not Device:SerialPort as I don't need it at the moment.

On my Mac, DCM still doesn't "see" anything (even when specifying network interface to xpl-hub) but it's probably not xpl-perl fault as I can see xpl messages on another machine (Ubuntu) with xpl-logger (and xpl-hub, of course). More, DCM works great on that Ubuntu machine (and "see" devices from my Mac as well). I also see messages using tcpdump.

Thank you for your help !

olivier

(if interesting : I only use a wired ethernet connection, Airport is disabled and xpl-hub picks the right interface by default)

@hollie
Copy link

hollie commented Sep 27, 2011

Olivier, for your reference, I tried make test today on my Lion machine.

Indeed, some of the tests fail:

nessie:xpl-perl-beanz lieven$ make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00-helpers.t .................. ok   
t/01-pod.t ...................... ok       
t/01-use.t ...................... ok     
t/01-xpl-base.t ................. ok     
t/01-xpl-interfaces.t ........... ok     
t/01-xpl-message.t .............. ok     
t/01-xpl-slowmessage.t .......... ok     
t/01-xpl-utils.t ................ ok   
t/01-xpl-validation.t ........... ok       
t/02-message-v.t ................ ok       
t/02-message.t .................. ok       
t/02-schema-yaml.t .............. skipped: YAML not available
t/02-timer.t .................... ok     
t/03-message-errors-v.t ......... ok     
t/03-message-errors.t ........... ok     
t/03-message-from-payload.t ..... ok     
t/03-message-method-maker.t ..... ok   
t/04-clock.t .................... ok   
t/04-collection-api.t ........... ok     
t/04-config.t ................... ok     
t/04-hbeat-errors.t ............. ok   
t/04-osd-errors.t ............... ok   
t/04-queue.t .................... ok       
t/05-listener-anyevent.t ........ ok       
t/05-listener-send-methods.t .... ok     
t/05-listener.t ................. ok       
t/06-hub.t ...................... ok     
t/07-client-config.t ............ ok     
t/07-client-gtk.t ............... skipped: No X11 DISPLAY defined
t/07-client-hubless.t ........... 1/19 bind failed ... switching off hubless mode.

#   Failed test 'hbeat mode is standard'
#   at t/07-client-hubless.t line 24.
#          got: 'fast'
#     expected: 'standard'

#   Failed test 'listen socket is send socket'
#   at t/07-client-hubless.t line 25.
#          got: 'GLOB(0x7fe8fa9e3c18)'
#     expected: 'GLOB(0x7fe8fa97db88)'

#   Failed test 'listen socket has SO_REUSEADDR set'
#   at t/07-client-hubless.t line 26.
#          got: '4'
#     expected: '1'
t/07-client-hubless.t ........... 7/19 
#   Failed test 'message arrived'
#   at t/07-client-hubless.t line 42.
Can't call method "schema" on an undefined value at t/07-client-hubless.t line 43.
# Looks like you planned 19 tests but ran 7.
# Looks like you failed 4 tests of 7 run.
# Looks like your test exited with 255 just after 7.
t/07-client-hubless.t ........... Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 16/19 subtests 
t/07-client-ping.t .............. ok     
t/07-client-stealth.t ........... 1/14 bind failed ... switching off hubless mode.

#   Failed test 'listen socket is send socket'
#   at t/07-client-stealth.t line 24.
#          got: 'GLOB(0x7f8bbb2ace40)'
#     expected: 'GLOB(0x7f8bbb17d7a0)'

#   Failed test 'listen socket has SO_REUSEADDR set'
#   at t/07-client-stealth.t line 25.
#          got: '4'
#     expected: '1'
# Looks like you failed 2 tests of 14.
t/07-client-stealth.t ........... Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/14 subtests 
t/07-client.t ................... ok     
t/08-bridge-client.t ............ ok     
t/08-bridge.t ................... ok     
t/09-hub-ignore-remote-hbeat.t .. ok   
t/09-targetting.t ............... skipped: AnyEvent's singleton main_loop confuses this test
t/10-mainloop.t ................. ok   
t/12-dock.t ..................... 1/19 Can't exec "/usr/bin/perldoc": Permission denied at /System/Library/Perl/5.12/Pod/Usage.pm line 572.
Can't exec "/usr/bin/less -R": No such file or directory at /System/Library/Perl/5.12/Pod/Usage.pm line 575.
t/12-dock.t ..................... ok     
t/13-dock-plug.t ................ ok     
t/13-iohandler.t ................ 1/34 sysread() on unopened filehandle GEN5 at /System/Library/Perl/5.12/darwin-thread-multi-2level/IO/Handle.pm line 450.
stty: illegal option -- -F
usage: stty [-a|-e|-g] [-f file] [options]
stty: illegal option -- -F
usage: stty [-a|-e|-g] [-f file] [options]
t/13-iohandler.t ................ ok     
t/13-iorecords.t ................ ok     
t/14-dock-apcups.t .............. ok     
t/14-dock-bluetooth.t ........... skipped: No Net::Bluetooth perl module
t/14-dock-currentcost.t ......... skipped: No AnyEvent::CurrentCost module: Can't locate AnyEvent/CurrentCost.pm in @INC (@INC contains: /Users/lieven/projects/xpl-perl-beanz/blib/lib /Users/lieven/projects/xpl-perl-beanz/blib/arch /Library/Perl/5.12/darwin-thread-multi-2level /Library/Perl/5.12 /Network/Library/Perl/5.12/darwin-thread-multi-2level /Network/Library/Perl/5.12 /Library/Perl/Updates/5.12.3/darwin-thread-multi-2level /Library/Perl/Updates/5.12.3 /System/Library/Perl/5.12/darwin-thread-multi-2level /System/Library/Perl/5.12 /System/Library/Perl/Extras/5.12/darwin-thread-multi-2level /System/Library/Perl/Extras/5.12 .) at t/14-dock-currentcost.t line 16.
t/14-dock-datetime.t ............ 1/11 bind failed ... switching off hubless mode.
t/14-dock-datetime.t ............ ok     
t/14-dock-dawndusk.t ............ skipped: No DateTime::Event::Sunrise perl module
t/14-dock-dmx.t ................. 1/72 
#   Failed test 'read response - 0180'
#   at t/14-dock-dmx.t line 240.
#          got: ''
#     expected: 'received: 0080
# '
bind failed ... switching off hubless mode.

#   Failed test 'missing parameter'
#   at t/14-dock-dmx.t line 262.
#          got: 'Listening on 127.0.0.1:57774
# Sending on 127.0.0.1
# The --dmx-tty parameter is required
# or the value can be given as a command line argument
# '
#     expected: 'Listening on 127.0.0.1:3865
# Sending on 127.0.0.1
# The --dmx-tty parameter is required
# or the value can be given as a command line argument
# '
bind failed ... switching off hubless mode.
# Looks like you failed 2 tests of 72.
t/14-dock-dmx.t ................. Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/72 subtests 
t/14-dock-easydaq.t ............. 1/29 bind failed ... switching off hubless mode.

#   Failed test 'missing parameter'
#   at t/14-dock-easydaq.t line 177.
#          got: 'Listening on 127.0.0.1:57110
# Sending on 127.0.0.1
# The --easydaq-tty parameter is required
# or the value can be given as a command line argument
# '
#     expected: 'Listening on 127.0.0.1:3865
# Sending on 127.0.0.1
# The --easydaq-tty parameter is required
# or the value can be given as a command line argument
# '
# Looks like you failed 1 test of 29.
t/14-dock-easydaq.t ............. Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/29 subtests 
t/14-dock-fdnotify.t ............ ok     
t/14-dock-hddtemp.t ............. ok     
t/14-dock-heyu.t ................ 1/27 bind failed ... switching off hubless mode.
t/14-dock-heyu.t ................ ok     
t/14-dock-lcdproc.t ............. 1/113 bind failed ... switching off hubless mode.
bind failed ... switching off hubless mode.
t/14-dock-lcdproc.t ............. ok       
t/14-dock-linux.t ............... ok     
t/14-dock-lirc.t ................ 1/15 bind failed ... switching off hubless mode.
bind failed ... switching off hubless mode.
t/14-dock-lirc.t ................ ok     
t/14-dock-mythtv.t .............. ok     
t/14-dock-owfs.t ................ 1/28 bind failed ... switching off hubless mode.
Failed to read ow file, t/ow/2/statistics/errors/CRC8_errors: No such file or directory
Failed to read ow file, t/ow/2/statistics/errors/CRC8_tries: No such file or directory
Failed to read ow file, t/ow/2/statistics/errors/CRC16_errors: No such file or directory
Failed to read ow file, t/ow/2/statistics/errors/CRC16_tries: No such file or directory
Writing 0 to 05.CFCFCF000000/PIO
Writing 1 to 05.CFCFCF000000/PIO
t/14-dock-owfs.t ................ 19/28 bind failed ... switching off hubless mode.
t/14-dock-owfs.t ................ ok     
t/14-dock-ownet.t ............... skipped: No AnyEvent::OWNet module: Can't locate AnyEvent/OWNet.pm in @INC (@INC contains: /Users/lieven/projects/xpl-perl-beanz/blib/lib /Users/lieven/projects/xpl-perl-beanz/blib/arch /Library/Perl/5.12/darwin-thread-multi-2level /Library/Perl/5.12 /Network/Library/Perl/5.12/darwin-thread-multi-2level /Network/Library/Perl/5.12 /Library/Perl/Updates/5.12.3/darwin-thread-multi-2level /Library/Perl/Updates/5.12.3 /System/Library/Perl/5.12/darwin-thread-multi-2level /System/Library/Perl/5.12 /System/Library/Perl/Extras/5.12/darwin-thread-multi-2level /System/Library/Perl/Extras/5.12 .) at t/14-dock-ownet.t line 12.
t/14-dock-rfxcom-rx.t ........... skipped: No AnyEvent::RFXCOM::RX module: Can't locate AnyEvent/RFXCOM/RX.pm in @INC (@INC contains: /Users/lieven/projects/xpl-perl-beanz/blib/lib /Users/lieven/projects/xpl-perl-beanz/blib/arch /Library/Perl/5.12/darwin-thread-multi-2level /Library/Perl/5.12 /Network/Library/Perl/5.12/darwin-thread-multi-2level /Network/Library/Perl/5.12 /Library/Perl/Updates/5.12.3/darwin-thread-multi-2level /Library/Perl/Updates/5.12.3 /System/Library/Perl/5.12/darwin-thread-multi-2level /System/Library/Perl/5.12 /System/Library/Perl/Extras/5.12/darwin-thread-multi-2level /System/Library/Perl/Extras/5.12 .) at t/14-dock-rfxcom-rx.t line 15.
t/14-dock-rfxcom-tx.t ........... skipped: No AnyEvent::RFXCOM::TX module: Can't locate AnyEvent/RFXCOM/TX.pm in @INC (@INC contains: t/lib /Users/lieven/projects/xpl-perl-beanz/blib/lib /Users/lieven/projects/xpl-perl-beanz/blib/arch /Library/Perl/5.12/darwin-thread-multi-2level /Library/Perl/5.12 /Network/Library/Perl/5.12/darwin-thread-multi-2level /Network/Library/Perl/5.12 /Library/Perl/Updates/5.12.3/darwin-thread-multi-2level /Library/Perl/Updates/5.12.3 /System/Library/Perl/5.12/darwin-thread-multi-2level /System/Library/Perl/5.12 /System/Library/Perl/Extras/5.12/darwin-thread-multi-2level /System/Library/Perl/Extras/5.12 .) at t/14-dock-rfxcom-tx.t line 16.
t/14-dock-udin.t ................ 17/33 bind failed ... switching off hubless mode.

#   Failed test 'missing parameter'
#   at t/14-dock-udin.t line 190.
#          got: 'Listening on 127.0.0.1:59543
# Sending on 127.0.0.1
# The --udin-tty parameter is required
# or the value can be given as a command line argument
# '
#     expected: 'Listening on 127.0.0.1:3865
# Sending on 127.0.0.1
# The --udin-tty parameter is required
# or the value can be given as a command line argument
# '
# Looks like you failed 1 test of 33.
t/14-dock-udin.t ................ Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/33 subtests 
t/14-dock-viom.t ................ 60/63 bind failed ... switching off hubless mode.

#   Failed test 'missing parameter'
#   at t/14-dock-viom.t line 314.
#          got: 'Listening on 127.0.0.1:62959
# Sending on 127.0.0.1
# The --viom-tty parameter is required
# or the value can be given as a command line argument
# '
#     expected: 'Listening on 127.0.0.1:3865
# Sending on 127.0.0.1
# The --viom-tty parameter is required
# or the value can be given as a command line argument
# '
# Looks like you failed 1 test of 63.
t/14-dock-viom.t ................ Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/63 subtests 
t/14-dock-w800.t ................ skipped: No AnyEvent::W800 module: Can't locate AnyEvent/W800.pm in @INC (@INC contains: /Users/lieven/projects/xpl-perl-beanz/blib/lib /Users/lieven/projects/xpl-perl-beanz/blib/arch /Library/Perl/5.12/darwin-thread-multi-2level /Library/Perl/5.12 /Network/Library/Perl/5.12/darwin-thread-multi-2level /Network/Library/Perl/5.12 /Library/Perl/Updates/5.12.3/darwin-thread-multi-2level /Library/Perl/Updates/5.12.3 /System/Library/Perl/5.12/darwin-thread-multi-2level /System/Library/Perl/5.12 /System/Library/Perl/Extras/5.12/darwin-thread-multi-2level /System/Library/Perl/Extras/5.12 .) at t/14-dock-w800.t line 15.
t/14-dock-wol.t ................. ok   
t/14-dock-xosd.t ................ ok     
t/14-dock-xvkbd.t ............... ok   
t/author-critic.t ............... skipped: these tests are for testing by the author
t/release-eol.t ................. skipped: these tests are for release candidate testing
t/release-kwalitee.t ............ skipped: these tests are for release candidate testing
t/release-no-tabs.t ............. skipped: these tests are for release candidate testing
t/release-pod-coverage.t ........ skipped: these tests are for release candidate testing
t/release-pod-syntax.t .......... skipped: these tests are for release candidate testing

Test Summary Report
-------------------
t/07-client-hubless.t         (Wstat: 65280 Tests: 7 Failed: 4)
  Failed tests:  3-5, 7
  Non-zero exit status: 255
  Parse errors: Bad plan.  You planned 19 tests but ran 7.
t/07-client-stealth.t         (Wstat: 512 Tests: 14 Failed: 2)
  Failed tests:  4-5
  Non-zero exit status: 2
t/14-dock-dmx.t               (Wstat: 512 Tests: 72 Failed: 2)
  Failed tests:  46, 68
  Non-zero exit status: 2
t/14-dock-easydaq.t           (Wstat: 256 Tests: 29 Failed: 1)
  Failed test:  29
  Non-zero exit status: 1
t/14-dock-udin.t              (Wstat: 256 Tests: 33 Failed: 1)
  Failed test:  33
  Non-zero exit status: 1
t/14-dock-viom.t              (Wstat: 256 Tests: 63 Failed: 1)
  Failed test:  63
  Non-zero exit status: 1
Files=72, Tests=3554, 29 wallclock secs ( 0.70 usr  0.21 sys +  9.69 cusr  1.21 csys = 11.81 CPU)
Result: FAIL
Failed 6/72 test programs. 11/3554 subtests failed.
make: *** [test_dynamic] Error 255

I do however have the hub and some plugins (xpl-rrd, xpl-plugwise) running fine on the machine...

@beanz
Copy link
Owner

beanz commented Sep 27, 2011

Just a quick comment that one reason hollie saw fewer failures was because he must have pulled commit 1397ef5 which I was a bit slow pushing to github before running the tests and this gets rid of most of the errors caused by the deprecation warnings. I'll have a look at the remaining errors when I have a bit more time.

@hollie
Copy link

hollie commented Sep 27, 2011

I can confirm this Mark. I did a fresh checkout as I'm running my own fork normally and my changes to IOHandler.pm seem to have broken more tests...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants