Bug#566585: FTBFS: tests fail

Salvatore Bonaccorso salvatore.bonaccorso at gmail.com
Sat Jan 23 23:38:13 UTC 2010


Package: libtest-www-mechanize-perl
Version: 1.24-1
Severity: serious
Justification: FTBFS

Hi

libtest-www/mechanize-perl 1.24-1 FTBFS here with:
>    dh_auto_test
> make[1]: Entering directory `/tmp/buildd/libtest-www-mechanize-perl-1.24'
> PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
> # Testing Test::WWW::Mechanize 1.24, with WWW::Mechanize 1.58, LWP 5.834, Perl 5.010001, /usr/bin/perl
> t/00load.t .............. ok
> t/autolint.t ............ ok
> t/back_ok.t ............. ok
> t/click_ok.t ............ ok
> 
> #   Failed test 'Handles not finding it'
> #   at t/content_contains.t line 39.
> # STDERR is:
> # #   Failed test 'Where is Mungo?'
> # #   at t/content_contains.t line 38.
> # #     searched: "<html>\x{0a}  <head>\x{0a}    <title>Test Page</title>\x{0a}  </h"...
> # #   can't find: "Mungo"
> # #         LCSS: "go"
> # # LCSS context: "ead>\x{0a}  <body>\x{0a}  <h1>Test Page</h1>\x{0a}    <a href='go"
> # 
> # not:
> # /#\s+Failed\ test.*?\n?.*?at\ t\/content_contains\.t line 38.*\n?/
> # 
> # #     searched: "<html>\x{0a}  <head>\x{0a}    <title>Test Page</title>\x{0a}  </h"...
> # 
> # #   can't find: "Mungo"
> # 
> # as expected
> t/content_contains.t .... 
> Failed 1/5 subtests 
> t/content_lacks.t ....... ok
> t/follow_link_ok.t ...... ok
> t/followable_links.t .... ok
> t/get_ok-parms.t ........ ok
> t/get_ok.t .............. ok
> t/has_tag.t ............. ok
> t/head_ok-parms.t ....... ok
> t/head_ok.t ............. ok
> t/html_lint_ok.t ........ ok
> t/link_content.t ........ ok
> t/link_status.t ......... ok
> t/links_ok.t ............ ok
> t/new.t ................. ok
> t/page_links_content.t .. ok
> t/page_links_ok.t ....... ok
> t/pod-coverage.t ........ ok
> t/pod.t ................. ok
> Use of uninitialized value $v in substitution (s///) at /usr/share/perl5/LWP/Protocol/http.pm line 165.
> Use of uninitialized value $v in concatenation (.) or string at /usr/share/perl5/Net/HTTP/Methods.pm line 154.
> Use of uninitialized value $v in substitution (s///) at /usr/share/perl5/LWP/Protocol/http.pm line 165.
> Use of uninitialized value $v in concatenation (.) or string at /usr/share/perl5/Net/HTTP/Methods.pm line 154.
> t/put_ok.t .............. ok
> t/stuff_inputs.t ........ ok
> t/submit_form_ok.t ...... ok
> 
> Test Summary Report
> -------------------
> t/content_contains.t  (Wstat: 0 Tests: 5 Failed: 1)
>   Failed test:  5
> Files=25, Tests=212, 24 wallclock secs ( 0.09 usr  0.05 sys +  4.16 cusr  0.34 csys =  4.64 CPU)
> Result: FAIL
> Failed 1/25 test programs. 1/212 subtests failed.
> make[1]: *** [test_dynamic] Error 255
> make[1]: Leaving directory `/tmp/buildd/libtest-www-mechanize-perl-1.24'
> dh_auto_test: make -j1 test returned exit code 2
> make: *** [build-stamp] Error 9
> dpkg-buildpackage: error: debian/rules build gave error exit status 2
> E: Failed autobuilding of package
> I: unmounting dev/pts filesystem
> I: unmounting proc filesystem
>  -> Cleaning COW directory
>   forking: rm -rf /home/pbuilder/build//cow.11961 

Bests
Salvatore

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
-------------- next part --------------
 -> Copying COW directory
  forking: rm -rf /home/pbuilder/build//cow.11961 
  forking: cp -al /home/pbuilder/sid-amd64.base.cow /home/pbuilder/build//cow.11961 
I: removed stale ilistfile /home/pbuilder/build//cow.11961/.ilist
  forking: chroot /home/pbuilder/build//cow.11961 cowdancer-ilistcreate /.ilist find . -xdev -path ./home -prune -o \( \( -type l -o -type f \) -a -links +1 -print0 \) | xargs -0 stat --format '%d %i ' 
 -> Invoking pbuilder
  forking: pbuilder build --buildplace /home/pbuilder/build//cow.11961 --buildresult /home/pbuilder/sid-amd64/result/ --debbuildopts  --no-targz --internal-chrootexec chroot /home/pbuilder/build//cow.11961 cow-shell /tmp/tmp.Ly19ecxv7O/libtest-www-mechanize-perl_1.24-1.dsc 
I: Running in no-targz mode
I: using fakeroot in build.
I: Current time: Sat Jan 23 20:58:35 CET 2010
I: pbuilder-time-stamp: 1264276715
I: copying local configuration
I: mounting /proc filesystem
I: mounting /dev/pts filesystem
I: policy-rc.d already exists
I: Obtaining the cached apt archive contents
I: Installing the build-deps
 -> Attempting to satisfy build-dependencies
 -> Creating pbuilder-satisfydepends-dummy package
Package: pbuilder-satisfydepends-dummy
Version: 0.invalid.0
Architecture: amd64
Maintainer: Debian Pbuilder Team <pbuilder-maint at lists.alioth.debian.org>
Description: Dummy package to satisfy dependencies with aptitude - created by pbuilder
 This package was created automatically by pbuilder and should
Depends: debhelper (>= 7), perl (>= 5.8.0-7), libtest-longstring-perl, libhttp-server-simple-perl, libcarp-assert-more-perl, liburi-perl, libwww-mechanize-perl (>= 1.24), netbase, libtest-pod-perl, libtest-pod-coverage-perl, libhtml-lint-perl
dpkg-deb: building package `pbuilder-satisfydepends-dummy' in `/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'.
Reading package lists...
Building dependency tree...
Reading state information...
aptitude is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Selecting previously deselected package pbuilder-satisfydepends-dummy.
(Reading database ... 11222 files and directories currently installed.)
Unpacking pbuilder-satisfydepends-dummy (from .../pbuilder-satisfydepends-dummy.deb) ...
dpkg: dependency problems prevent configuration of pbuilder-satisfydepends-dummy:
 pbuilder-satisfydepends-dummy depends on debhelper (>= 7); however:
  Package debhelper is not installed.
 pbuilder-satisfydepends-dummy depends on libtest-longstring-perl; however:
  Package libtest-longstring-perl is not installed.
 pbuilder-satisfydepends-dummy depends on libhttp-server-simple-perl; however:
  Package libhttp-server-simple-perl is not installed.
 pbuilder-satisfydepends-dummy depends on libcarp-assert-more-perl; however:
  Package libcarp-assert-more-perl is not installed.
 pbuilder-satisfydepends-dummy depends on liburi-perl; however:
  Package liburi-perl is not installed.
 pbuilder-satisfydepends-dummy depends on libwww-mechanize-perl (>= 1.24); however:
  Package libwww-mechanize-perl is not installed.
 pbuilder-satisfydepends-dummy depends on netbase; however:
  Package netbase is not installed.
 pbuilder-satisfydepends-dummy depends on libtest-pod-perl; however:
  Package libtest-pod-perl is not installed.
 pbuilder-satisfydepends-dummy depends on libtest-pod-coverage-perl; however:
  Package libtest-pod-coverage-perl is not installed.
 pbuilder-satisfydepends-dummy depends on libhtml-lint-perl; however:
  Package libhtml-lint-perl is not installed.
dpkg: error processing pbuilder-satisfydepends-dummy (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 pbuilder-satisfydepends-dummy
Reading package lists...
Building dependency tree...
Reading state information...
Initializing package states...
Writing extended state information...
The following NEW packages will be installed:
  bsdmainutils{a} debhelper{a} file{a} gettext{a} gettext-base{a} 
  groff-base{a} html2text{a} intltool-debian{a} libcarp-assert-more-perl{a} 
  libcarp-assert-perl{a} libcroco3{a} libdevel-symdump-perl{a} 
  libglib2.0-0{a} libhtml-lint-perl{a} libhtml-parser-perl{a} 
  libhtml-tagset-perl{a} libhtml-tree-perl{a} libhttp-server-simple-perl{a} 
  libio-stringy-perl{a} libmagic1{a} libpcre3{a} libpod-coverage-perl{a} 
  libtest-longstring-perl{a} libtest-pod-coverage-perl{a} 
  libtest-pod-perl{a} liburi-perl{a} libwww-mechanize-perl{a} 
  libwww-perl{a} libxml2{a} man-db{a} netbase{a} po-debconf{a} 
The following partially installed packages will be configured:
  pbuilder-satisfydepends-dummy 
0 packages upgraded, 32 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/10.2MB of archives. After unpacking 30.1MB will be used.
Writing extended state information...
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously deselected package libmagic1.
(Reading database ... 11222 files and directories currently installed.)
Unpacking libmagic1 (from .../libmagic1_5.03-5_amd64.deb) ...
Selecting previously deselected package file.
Unpacking file (from .../archives/file_5.03-5_amd64.deb) ...
Selecting previously deselected package html2text.
Unpacking html2text (from .../html2text_1.3.2a-14_amd64.deb) ...
Selecting previously deselected package libpcre3.
Unpacking libpcre3 (from .../libpcre3_7.8-3_amd64.deb) ...
Selecting previously deselected package libglib2.0-0.
Unpacking libglib2.0-0 (from .../libglib2.0-0_2.22.4-1_amd64.deb) ...
Selecting previously deselected package libxml2.
Unpacking libxml2 (from .../libxml2_2.7.6.dfsg-2_amd64.deb) ...
Selecting previously deselected package libcroco3.
Unpacking libcroco3 (from .../libcroco3_0.6.2-1_amd64.deb) ...
Selecting previously deselected package gettext-base.
Unpacking gettext-base (from .../gettext-base_0.17-8_amd64.deb) ...
Selecting previously deselected package gettext.
Unpacking gettext (from .../gettext_0.17-8_amd64.deb) ...
Selecting previously deselected package intltool-debian.
Unpacking intltool-debian (from .../intltool-debian_0.35.0+20060710.1_all.deb) ...
Selecting previously deselected package po-debconf.
Unpacking po-debconf (from .../po-debconf_1.0.16_all.deb) ...
Selecting previously deselected package groff-base.
Unpacking groff-base (from .../groff-base_1.20.1-6_amd64.deb) ...
Selecting previously deselected package bsdmainutils.
Unpacking bsdmainutils (from .../bsdmainutils_8.0.6_amd64.deb) ...
Selecting previously deselected package man-db.
Unpacking man-db (from .../man-db_2.5.6-5_amd64.deb) ...
Selecting previously deselected package debhelper.
Unpacking debhelper (from .../debhelper_7.4.11_all.deb) ...
Selecting previously deselected package libtest-longstring-perl.
Unpacking libtest-longstring-perl (from .../libtest-longstring-perl_0.12-1_all.deb) ...
Selecting previously deselected package liburi-perl.
Unpacking liburi-perl (from .../liburi-perl_1.52-1_all.deb) ...
Selecting previously deselected package libhttp-server-simple-perl.
Unpacking libhttp-server-simple-perl (from .../libhttp-server-simple-perl_0.41-1_all.deb) ...
Selecting previously deselected package libcarp-assert-perl.
Unpacking libcarp-assert-perl (from .../libcarp-assert-perl_0.20-2_all.deb) ...
Selecting previously deselected package libcarp-assert-more-perl.
Unpacking libcarp-assert-more-perl (from .../libcarp-assert-more-perl_1.12-2_all.deb) ...
Selecting previously deselected package libhtml-tagset-perl.
Unpacking libhtml-tagset-perl (from .../libhtml-tagset-perl_3.20-2_all.deb) ...
Selecting previously deselected package libhtml-parser-perl.
Unpacking libhtml-parser-perl (from .../libhtml-parser-perl_3.64-1_amd64.deb) ...
Selecting previously deselected package libhtml-tree-perl.
Unpacking libhtml-tree-perl (from .../libhtml-tree-perl_3.23-1_all.deb) ...
Selecting previously deselected package netbase.
Unpacking netbase (from .../archives/netbase_4.40_all.deb) ...
Selecting previously deselected package libwww-perl.
Unpacking libwww-perl (from .../libwww-perl_5.834-1_all.deb) ...
Selecting previously deselected package libwww-mechanize-perl.
Unpacking libwww-mechanize-perl (from .../libwww-mechanize-perl_1.58-1_all.deb) ...
Selecting previously deselected package libio-stringy-perl.
Unpacking libio-stringy-perl (from .../libio-stringy-perl_2.110-4_all.deb) ...
Selecting previously deselected package libtest-pod-perl.
Unpacking libtest-pod-perl (from .../libtest-pod-perl_1.41-1_all.deb) ...
Selecting previously deselected package libdevel-symdump-perl.
Unpacking libdevel-symdump-perl (from .../libdevel-symdump-perl_2.08-2_all.deb) ...
Selecting previously deselected package libpod-coverage-perl.
Unpacking libpod-coverage-perl (from .../libpod-coverage-perl_0.20-1_all.deb) ...
Selecting previously deselected package libtest-pod-coverage-perl.
Unpacking libtest-pod-coverage-perl (from .../libtest-pod-coverage-perl_1.08-3_all.deb) ...
Selecting previously deselected package libhtml-lint-perl.
Unpacking libhtml-lint-perl (from .../libhtml-lint-perl_2.06+dfsg-1_all.deb) ...
Setting up libmagic1 (5.03-5) ...
Setting up file (5.03-5) ...
Setting up html2text (1.3.2a-14) ...
Setting up libpcre3 (7.8-3) ...
Setting up libglib2.0-0 (2.22.4-1) ...
Setting up libxml2 (2.7.6.dfsg-2) ...
Setting up libcroco3 (0.6.2-1) ...
Setting up gettext-base (0.17-8) ...
Setting up gettext (0.17-8) ...
Setting up intltool-debian (0.35.0+20060710.1) ...
Setting up po-debconf (1.0.16) ...
Setting up groff-base (1.20.1-6) ...
Setting up bsdmainutils (8.0.6) ...
update-alternatives: using /usr/bin/bsd-write to provide /usr/bin/write (write) in auto mode.
update-alternatives: using /usr/bin/bsd-from to provide /usr/bin/from (from) in auto mode.
Setting up man-db (2.5.6-5) ...
Building database of manual pages ...
Setting up debhelper (7.4.11) ...
Setting up libtest-longstring-perl (0.12-1) ...
Setting up liburi-perl (1.52-1) ...
Setting up libhttp-server-simple-perl (0.41-1) ...
Setting up libcarp-assert-perl (0.20-2) ...
Setting up libcarp-assert-more-perl (1.12-2) ...
Setting up libhtml-tagset-perl (3.20-2) ...
Setting up libhtml-parser-perl (3.64-1) ...
Setting up libhtml-tree-perl (3.23-1) ...
Setting up netbase (4.40) ...
Setting up libwww-perl (5.834-1) ...
Setting up libwww-mechanize-perl (1.58-1) ...
Setting up libio-stringy-perl (2.110-4) ...
Setting up libtest-pod-perl (1.41-1) ...
Setting up libdevel-symdump-perl (2.08-2) ...
Setting up libpod-coverage-perl (0.20-1) ...
Setting up libtest-pod-coverage-perl (1.08-3) ...
Setting up libhtml-lint-perl (2.06+dfsg-1) ...
Setting up pbuilder-satisfydepends-dummy (0.invalid.0) ...
Reading package lists...
Building dependency tree...
Reading state information...
Reading extended state information...
Initializing package states...
Writing extended state information...
 -> Finished parsing the build-deps
Reading package lists...
Building dependency tree...
Reading state information...
aptitude is already the newest version.
The following NEW packages will be installed:
  fakeroot
debconf: delaying package configuration, since apt-utils is not installed
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/100kB of archives.
After this operation, 385kB of additional disk space will be used.
Selecting previously deselected package fakeroot.
(Reading database ... 12871 files and directories currently installed.)
Unpacking fakeroot (from .../fakeroot_1.14.4-1_amd64.deb) ...
Processing triggers for man-db ...
Setting up fakeroot (1.14.4-1) ...
update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode.
I: Copying back the cached apt archive contents
I: Copying source file
I: copying [/tmp/tmp.Ly19ecxv7O/libtest-www-mechanize-perl_1.24-1.dsc]
I: copying [/tmp/tmp.Ly19ecxv7O/libtest-www-mechanize-perl_1.24.orig.tar.gz]
I: copying [/tmp/tmp.Ly19ecxv7O/libtest-www-mechanize-perl_1.24-1.diff.gz]
I: Extracting source
gpgv: keyblock resource `/tmp/buildd/.gnupg/trustedkeys.gpg': file open error
gpgv: Signature made Tue Jan 20 23:01:44 2009 UTC using DSA key ID A209C305
gpgv: Can't check signature: public key not found
dpkg-source: warning: failed to verify signature on ./libtest-www-mechanize-perl_1.24-1.dsc
dpkg-source: info: extracting libtest-www-mechanize-perl in libtest-www-mechanize-perl-1.24
dpkg-source: info: unpacking libtest-www-mechanize-perl_1.24.orig.tar.gz
dpkg-source: info: applying libtest-www-mechanize-perl_1.24-1.diff.gz
I: Building the package
I: Running cd tmp/buildd/*/ && dpkg-buildpackage -us -uc  -rfakeroot
dpkg-buildpackage: set CFLAGS to default value: -g -O2
dpkg-buildpackage: set CPPFLAGS to default value: 
dpkg-buildpackage: set LDFLAGS to default value: 
dpkg-buildpackage: set FFLAGS to default value: -g -O2
dpkg-buildpackage: set CXXFLAGS to default value: -g -O2
dpkg-buildpackage: source package libtest-www-mechanize-perl
dpkg-buildpackage: source version 1.24-1
dpkg-buildpackage: source changed by Rene Mayorga <rmayorga at debian.org>
dpkg-buildpackage: host architecture amd64
 fakeroot debian/rules clean
dh clean
   dh_testdir
   dh_auto_clean
   dh_clean
 dpkg-source -b libtest-www-mechanize-perl-1.24
dpkg-source: info: using source format `1.0'
dpkg-source: info: building libtest-www-mechanize-perl using existing libtest-www-mechanize-perl_1.24.orig.tar.gz
dpkg-source: info: building libtest-www-mechanize-perl in libtest-www-mechanize-perl_1.24-1.diff.gz
dpkg-source: info: building libtest-www-mechanize-perl in libtest-www-mechanize-perl_1.24-1.dsc
 debian/rules build
dh build
   dh_testdir
   dh_auto_configure
Checking if your kit is complete...
Looks good
'CREATE_PACKLIST' is not a known MakeMaker parameter name.
Writing Makefile for Test::WWW::Mechanize
   dh_auto_build
make[1]: Entering directory `/tmp/buildd/libtest-www-mechanize-perl-1.24'
cp Mechanize.pm blib/lib/Test/WWW/Mechanize.pm
Manifying blib/man3/Test::WWW::Mechanize.3pm
make[1]: Leaving directory `/tmp/buildd/libtest-www-mechanize-perl-1.24'
   dh_auto_test
make[1]: Entering directory `/tmp/buildd/libtest-www-mechanize-perl-1.24'
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
# Testing Test::WWW::Mechanize 1.24, with WWW::Mechanize 1.58, LWP 5.834, Perl 5.010001, /usr/bin/perl
t/00load.t .............. ok
t/autolint.t ............ ok
t/back_ok.t ............. ok
t/click_ok.t ............ ok

#   Failed test 'Handles not finding it'
#   at t/content_contains.t line 39.
# STDERR is:
# #   Failed test 'Where is Mungo?'
# #   at t/content_contains.t line 38.
# #     searched: "<html>\x{0a}  <head>\x{0a}    <title>Test Page</title>\x{0a}  </h"...
# #   can't find: "Mungo"
# #         LCSS: "go"
# # LCSS context: "ead>\x{0a}  <body>\x{0a}  <h1>Test Page</h1>\x{0a}    <a href='go"
# 
# not:
# /#\s+Failed\ test.*?\n?.*?at\ t\/content_contains\.t line 38.*\n?/
# 
# #     searched: "<html>\x{0a}  <head>\x{0a}    <title>Test Page</title>\x{0a}  </h"...
# 
# #   can't find: "Mungo"
# 
# as expected
t/content_contains.t .... 
Failed 1/5 subtests 
t/content_lacks.t ....... ok
t/follow_link_ok.t ...... ok
t/followable_links.t .... ok
t/get_ok-parms.t ........ ok
t/get_ok.t .............. ok
t/has_tag.t ............. ok
t/head_ok-parms.t ....... ok
t/head_ok.t ............. ok
t/html_lint_ok.t ........ ok
t/link_content.t ........ ok
t/link_status.t ......... ok
t/links_ok.t ............ ok
t/new.t ................. ok
t/page_links_content.t .. ok
t/page_links_ok.t ....... ok
t/pod-coverage.t ........ ok
t/pod.t ................. ok
Use of uninitialized value $v in substitution (s///) at /usr/share/perl5/LWP/Protocol/http.pm line 165.
Use of uninitialized value $v in concatenation (.) or string at /usr/share/perl5/Net/HTTP/Methods.pm line 154.
Use of uninitialized value $v in substitution (s///) at /usr/share/perl5/LWP/Protocol/http.pm line 165.
Use of uninitialized value $v in concatenation (.) or string at /usr/share/perl5/Net/HTTP/Methods.pm line 154.
t/put_ok.t .............. ok
t/stuff_inputs.t ........ ok
t/submit_form_ok.t ...... ok

Test Summary Report
-------------------
t/content_contains.t  (Wstat: 0 Tests: 5 Failed: 1)
  Failed test:  5
Files=25, Tests=212, 24 wallclock secs ( 0.09 usr  0.05 sys +  4.16 cusr  0.34 csys =  4.64 CPU)
Result: FAIL
Failed 1/25 test programs. 1/212 subtests failed.
make[1]: *** [test_dynamic] Error 255
make[1]: Leaving directory `/tmp/buildd/libtest-www-mechanize-perl-1.24'
dh_auto_test: make -j1 test returned exit code 2
make: *** [build-stamp] Error 9
dpkg-buildpackage: error: debian/rules build gave error exit status 2
E: Failed autobuilding of package
I: unmounting dev/pts filesystem
I: unmounting proc filesystem
 -> Cleaning COW directory
  forking: rm -rf /home/pbuilder/build//cow.11961 


More information about the pkg-perl-maintainers mailing list