2.10 from SVN fails tests during make test

12 views
Skip to first unread message

clwaters

unread,
Oct 8, 2008, 12:46:49 PM10/8/08
to perl-net-jabber-bot
I don't know where you would prefer issues posted to but here's what I
get trying to build the "Moose" version.

Centos 5.2 -- Linux centos-xen-host 2.6.18-92.1.10.el5xen #1 SMP Tue
Aug 5 08:46:32 EDT 2008 i686 i686 i386 GNU/Linux

Perl 5.8.8

[root@centos-xen-host perl-net-jabber-bot-read-only]# perl Makefile.PL
Checking if your kit is complete...
Looks good
Writing Makefile for Net::Jabber::Bot
[root@centos-xen-host perl-net-jabber-bot-read-only]# make
cp lib/Net/Jabber/Bot.pm blib/lib/Net/Jabber/Bot.pm
Manifying blib/man3/Net::Jabber::Bot.3pm
[root@centos-xen-host perl-net-jabber-bot-read-only]# make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00-load.................1/1 # Testing Net::Jabber::Bot 2.1.0, Perl
5.008008, /usr/bin/perl
t/00-load.................ok
t/03-test_connectivity....ok
t/05-helper_functions.....45/120 Use of uninitialized value in
subtraction (-) at t/05-helper_functions.t line 189.

# Failed test 'Verify that 0 were seen (Didn't see the messages I
sent to the group)'
# at t/05-helper_functions.t line 202.
# got: 40
# expected: 0
t/05-helper_functions.....88/120
# Failed test 'Verify that 0 were seen (Didn't see the messages I
sent to myself...)'
# at t/05-helper_functions.t line 202.
# got: 40
# expected: 0
t/05-helper_functions.....107/120 Can't locate object method
"max_message_size" via package "self" (perhaps you forgot to load
"self"?) at /root/jabberbot/perl/pnjbmoose/perl-net-jabber-bot-read-
only/blib/lib/Net/Jabber/Bot.pm line 1017.
# Looks like you planned 120 tests but only ran 109.
# Looks like you failed 2 tests of 109 run.
# Looks like your test died just after 109.
t/05-helper_functions..... Dubious, test returned 255 (wstat 65280,
0xff00)
Failed 13/120 subtests
t/06-test_safeties........48/119 Use of uninitialized value in
subtraction (-) at t/06-test_safeties.t line 184.
t/06-test_safeties........100/119
# Failed test 'Verify that 1 were seen (Got it!)'
# at t/06-test_safeties.t line 197.
# got: 0
# expected: 1
t/06-test_safeties........107/119
# Failed test 'Saw 6 messages so we know it was chunked into
messages smaller than 800'
# at t/06-test_safeties.t line 149.
# '0'
# >=
# '6'
Can't locate object method "max_message_size" via package
"self" (perhaps you forgot to load "self"?) at /root/jabberbot/perl/
pnjbmoose/perl-net-jabber-bot-read-only/blib/lib/Net/Jabber/Bot.pm
line 1017.
# Looks like you planned 119 tests but only ran 108.
# Looks like you failed 2 tests of 108 run.
# Looks like your test died just after 108.
t/06-test_safeties........ Dubious, test returned 255 (wstat 65280,
0xff00)
Failed 13/119 subtests
t/99-pod-coverage.........skipped: Test::Pod::Coverage 1.04 required
for testing POD coverage
t/99-pod..................skipped: Test::Pod 1.14 required for testing
POD

Test Summary Report
-------------------
t/05-helper_functions (Wstat: 65280 Tests: 109 Failed: 2)
Failed tests: 50, 95
Non-zero exit status: 255
Parse errors: Bad plan. You planned 120 tests but ran 109.
t/06-test_safeties (Wstat: 65280 Tests: 108 Failed: 2)
Failed tests: 102, 108
Non-zero exit status: 255
Parse errors: Bad plan. You planned 119 tests but ran 108.
Files=6, Tests=225, 126 wallclock secs ( 0.06 usr 0.02 sys + 5.26
cusr 0.38 csys = 5.72 CPU)
Result: FAIL
Failed 2/6 test programs. 4/225 subtests failed.
make: *** [test_dynamic] Error 255

clwaters

unread,
Oct 8, 2008, 12:52:06 PM10/8/08
to perl-net-jabber-bot
After installing anyway, get this:

[root@centos-xen-host examples]# perl cwbot.pl -server
chatter.domain.jw.local -conference_server
conference.chatter.domain.jw.local -user dummyuser -pass 12345678 -
port 5222 -debug DEBUG
2008/10/08 09:50:56 DEBUG (332): new client object.
2008/10/08 09:50:56 DEBUG (338): Set the call backs.
2008/10/08 09:50:56 DEBUG (347): Connect. hostname =>
Net::Jabber::Bot=HASH(0x94fb5f0)->server() , port =>
Net::Jabber::Bot=HASH(0x94fb5f0)->port()
2008/10/08 09:50:56 DEBUG (362): Logging in... as user
Net::Jabber::Bot=HASH(0x94fb5f0)->username /
Net::Jabber::Bot=HASH(0x94fb5f0)->alias
Can't use an undefined value as a HASH reference at /usr/lib/perl5/
site_perl/5.8.8/XML/Stream.pm line 1165.
Reply all
Reply to author
Forward
0 new messages