Tests in 03-get_text.t failed under Ubuntu Lucid Lynx

5 views
Skip to first unread message

Misha Gale

unread,
Oct 27, 2012, 6:55:42 PM10/27/12
to perlw...@googlegroups.com
Dear All,

When trying to install MediaWiki::Bot on my Ubuntu server, I fail a
couple of tests, log appended. My system info:

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 10.04.3 LTS
Release: 10.04
Codename: lucid
$ perl -v

This is perl, v5.10.1 (*) built for i486-linux-gnu-thread-multi
$ perl -V
Summary of my perl5 (revision 5 version 10 subversion 1) configuration:

Platform:
osname=linux, osvers=2.6.24-28-server,
archname=i486-linux-gnu-thread-multi
uname='linux roseapple 2.6.24-28-server #1 smp wed aug 18 21:17:51
utc 2010 i686 gnulinux '
config_args='-Dusethreads -Duselargefiles -Dccflags=-DDEBIAN
-Dcccdlflags=-fPIC -Darchname=i486-linux-gnu -Dprefix=/usr
-Dprivlib=/usr/share/perl/5.10 -Darchlib=/usr/lib/perl/5.10
-Dvendorprefix=/usr -Dvendorlib=/usr/share/perl5
-Dvendorarch=/usr/lib/perl5 -Dsiteprefix=/usr/local
-Dsitelib=/usr/local/share/perl/5.10.1
-Dsitearch=/usr/local/lib/perl/5.10.1 -Dman1dir=/usr/share/man/man1
-Dman3dir=/usr/share/man/man3 -Dsiteman1dir=/usr/local/man/man1
-Dsiteman3dir=/usr/local/man/man3 -Dman1ext=1 -Dman3ext=3perl
-Dpager=/usr/bin/sensible-pager -Uafs -Ud_csh -Ud_ualarm -Uusesfio
-Uusenm -DDEBUGGING=-g -Doptimize=-O2 -Duseshrplib
-Dlibperl=libperl.so.5.10.1 -Dd_dosuid -des'
hint=recommended, useposix=true, d_sigaction=define
useithreads=define, usemultiplicity=define
useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
use64bitint=undef, use64bitall=undef, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -DDEBIAN
-fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-O2 -g',
cppflags='-D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing
-pipe -fstack-protector -I/usr/local/include'
ccversion='', gccversion='4.4.3', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
alignbytes=4, prototype=define
Linker and Libraries:
ld='cc', ldflags =' -fstack-protector -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib /usr/lib64
libs=-lgdbm -lgdbm_compat -ldb -ldl -lm -lpthread -lc -lcrypt
perllibs=-ldl -lm -lpthread -lc -lcrypt
libc=/lib/libc-2.11.1.so, so=so, useshrplib=true,
libperl=libperl.so.5.10.1
gnulibc_version='2.11.1'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
cccdlflags='-fPIC', lddlflags='-shared -O2 -g -L/usr/local/lib
-fstack-protector'


Characteristics of this binary (from libperl):
Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV
PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP USE_ITHREADS
USE_LARGE_FILES USE_PERLIO USE_REENTRANT_API
Built under linux
Compiled at Apr 22 2011 18:17:20
@INC:
/etc/perl
/usr/local/lib/perl/5.10.1
/usr/local/share/perl/5.10.1
/usr/lib/perl5
/usr/share/perl5
/usr/lib/perl/5.10
/usr/share/perl/5.10
/usr/local/lib/site_perl
.
$ cat ~/.cpanm/build.log
cpanm (App::cpanminus) 1.5018 on perl 5.010001 built for
i486-linux-gnu-thread-multi
Work directory is ~/.cpanm/work/1351377597.17144
You have make /usr/bin/make
You have LWP 6.04
You have /bin/tar: tar (GNU tar) 1.22
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by John Gilmore and Jay Fenlason.
You have /usr/bin/unzip
Searching MediaWiki::Bot on cpanmetadb ...
--> Working on MediaWiki::Bot
Fetching
http://www.cpan.org/authors/id/L/LI/LIFEGUARD/MediaWiki-Bot-5.005003.tar.gz
-> OK
Unpacking MediaWiki-Bot-5.005003.tar.gz
Entering MediaWiki-Bot-5.005003
Checking configure dependencies from META.yml
Checking if you have Module::Build 0.3601 ... Yes (0.4002)
Configuring MediaWiki-Bot-5.005003
Running Build.PL
Created MYMETA.yml and MYMETA.json
Creating new 'Build' script for 'MediaWiki-Bot' version '5.005003'
-> OK
Checking dependencies from MYMETA.json ...
Checking if you have Test::More 0.96 ... Yes (0.98)
Checking if you have Test::Warn 0 ... Yes (0.24)
Checking if you have File::Find 0 ... Yes (1.14)
Checking if you have File::Temp 0 ... Yes (0.22)
Checking if you have File::Spec 0 ... Yes (3.30)
Checking if you have Module::Build 0.3601 ... Yes (0.4002)
Checking if you have Test::NoWarnings 0 ... Yes (1.04)
Checking if you have utf8 0 ... Yes (1.07)
Checking if you have warnings 0 ... Yes (1.06)
Checking if you have Module::Pluggable 0 ... Yes (3.9)
Checking if you have MediaWiki::API 0.36 ... Yes (0.39)
Checking if you have Encode 0 ... Yes (2.35)
Checking if you have Carp 0 ... Yes (1.26)
Checking if you have strict 0 ... Yes (1.04)
Checking if you have Digest::MD5 2.39 ... Yes (2.39)
Checking if you have HTML::Entities 3.28 ... Yes (3.69)
Checking if you have LWP::Protocol::https 0.57 ... Yes (6.03)
Checking if you have File::Basename 0 ... Yes (2.77)
Building and testing MediaWiki-Bot-5.005003
Building MediaWiki-Bot
t/00-compile.t ................. ok
#
# Thanks for using MediaWiki::Bot. If any of these
# tests fail, or you need any other assistance with
# the module, please email our support mailing list
# at perlw...@googlegroups.com, or submit a bug
# to our tracker on github: http://goo.gl/5Ns48
#
# If you want, you can log in for editing tests.
# To log in for those tests, stop the test suite now,
# set the environment variables PWPUsername and
# PWPPassword, and run the test suite.
t/00-init.t .................... ok
t/01-api_error.t ............... ok
t/02-login.t ................... skipped: I can't log in without credentials

# Failed test 'Section load pass/fail'
# at t/03-get_text.t line 26.
# got: undef
# expected: anything else

# Failed test 'Section loaded content correctly'
# at t/03-get_text.t line 27.
# got: undef
# expected: anything else
Use of uninitialized value $section_wikitext in quotemeta at
t/03-get_text.t line 28.
Use of uninitialized value $this in pattern match (m//) at
t/03-get_text.t line 28.
# Looks like you failed 2 tests of 6.
t/03-get_text.t ................
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/6 subtests
t/04-edit.t .................... ok
t/05-revert.t .................. ok
t/06-get_history.t ............. ok
t/07-unicode.t ................. ok
t/08-get_last.t ................ ok
t/09-update_rc.t ............... ok
t/10-what_links_here.t ......... ok
t/11-get_pages_in_category.t ... ok
t/12-linksearch.t .............. ok
t/13-get_namespace_names.t ..... ok

# Failed test 'Got more than 500 pages'
# at t/14-get_pages_in_namespace.t line 34.
# '81'
# >
# '500'
# Looks like you failed 1 test of 5.
t/14-get_pages_in_namespace.t ..
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/5 subtests
t/15-count_contributions.t ..... ok
t/16-last_active.t ............. ok
t/17-was_blocked.t ............. ok
t/18-is_blocked.t .............. ok
t/19-get_pages.t ............... ok
t/20-assertion.t ............... ok
t/21-get_allusers.t ............ ok
t/22-get_id.t .................. ok
t/23-list_transclusions.t ...... ok
t/24-purge_page.t .............. ok
t/25-sitematrix.t .............. ok
t/26-diff.t .................... ok
t/27-prefixindex.t ............. ok
t/28-search.t .................. ok
t/29-get_log.t ................. ok
t/30-was_g_blocked.t ........... ok
t/31-is_g_blocked.t ............ ok
t/32-was_locked.t .............. ok
t/33-is_locked.t ............... ok
t/34-secure.t .................. ok
t/35-get_protection.t .......... ok
t/36-email.t ................... skipped: I can't log in without credentials
t/37-move.t .................... ok
t/38-test_image_exists.t ....... ok
t/39-image_usage.t ............. ok
t/40-upload.t .................. skipped: upload test requires login
with upload permission
t/41-get_users.t ............... ok
t/42-expandtemplates.t ......... ok
t/43-recentchanges.t ........... ok
t/44-patrol.t .................. skipped: Login with patrol rights required

# Failed test 'array of hashes isa HASH'
# at t/45-contributions.t line 28.
# array of hashes isn't defined
# Looks like you failed 1 test of 2.

# Failed test 'contribs'
# at t/45-contributions.t line 29.
# Looks like you failed 1 test of 2.
t/45-contributions.t ...........
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/2 subtests
t/46-usergroups.t .............. ok
t/47-global_image_usage.t ...... ok
t/48-get_image.t ............... skipped: Imager required

Test Summary Report
-------------------
t/03-get_text.t (Wstat: 512 Tests: 6 Failed: 2)
Failed tests: 3-4
Non-zero exit status: 2
t/14-get_pages_in_namespace.t (Wstat: 256 Tests: 5 Failed: 1)
Failed test: 5
Non-zero exit status: 1
t/45-contributions.t (Wstat: 256 Tests: 2 Failed: 1)
Failed test: 2
Non-zero exit status: 1
Files=50, Tests=268, 87 wallclock secs ( 0.60 usr 0.62 sys + 28.88
cusr 4.44 csys = 34.54 CPU)
Result: FAIL
Failed 3/50 test programs. 4/268 subtests failed.
-> FAIL Installing MediaWiki::Bot failed. See ~/.cpanm/build.log for
details.

Mike.lifeguard

unread,
Oct 27, 2012, 9:30:03 PM10/27/12
to perlw...@googlegroups.com
On 12-10-27 06:55 PM, Misha Gale wrote:
> Dear All,
>
> When trying to install MediaWiki::Bot on my Ubuntu server, I fail a
> couple of tests, log appended.

Hi Misha,

I think the release I sent to CPAN tonight should resolve these issues.
Please try again and email again if you have problems.

-Mike


Reply all
Reply to author
Forward
0 new messages