[Dbix-class] install test failures

Dave Howorth dhoworth at mrc-lmb.cam.ac.uk
Wed Oct 1 15:33:25 BST 2008


I just tried to install DBIx-Class-0.08099_04 and have three failing
tests, listed below. I'll poke about to see if I can find out more but
thought I'd post them straight away in case anybody recognizes them. I
didn't find anything in the mail archives and the RT bug for t/33 seems
different.

Thanks, Dave


t/61findnot........................................ok 1/20
#   Failed test 'Non-unique find generated a cursor inexhaustion warning'
t/61findnot........................................NOK 19/20#   at
t/61findnot.t line 57.
# found warning: Test::Warn::warnings_are(): Query returned more than
one row. SQL that returns multiple rows is DEPRECATED for ->find and
->single at t/61findnot.t line 57
# expected to find warning: DBIx::Class::ResultSet::find(): Query
returned more than one row.  SQL that returns multiple rows is
DEPRECATED for ->find and ->single

#   Failed test 'Non-unique find generated a cursor inexhaustion warning'
#   at t/61findnot.t line 63.
# found warning: Test::Warn::warnings_are(): Query returned more than
one row at t/61findnot.t line 63
# expected to find warning: DBIx::Class::ResultSet::find(): Query
returned more than one row
t/61findnot........................................NOK 20/20# Looks like
you failed 2 tests of 20.
t/61findnot........................................dubious
        Test returned status 2 (wstat 512, 0x200)
DIED. FAILED tests 19-20
        Failed 2/20 tests, 90.00% okay



t/81transactions...................................ok 55/63
#   Failed test 'Error propogated okay'
#   at t/81transactions.t line 259.
# expecting: Regexp ((?-xism:No such column made_up_column .*? at
.*?81transactions.t line \d+))
t/81transactions...................................NOK 56/63# found:
DBIx::Class::Exception (Test::Exception::_try_as_caller(): No such
column made_up_column on DBICTest::Artist at
/usr/lib/perl5/site_perl/5.8.6/Test/Exception.pm line 226
# )
A DBIx::Class::Storage::TxnScopeGuard went out of scope without explicit
commit or an error - bad at
~burble~/DBIx-Class-0.08099_04/blib/lib/DBIx/Class/Storage/TxnScopeGuard.pm
line 27
        DBIx::Class::Storage::TxnScopeGuard::DESTROY() called at
t/81transactions.t line 289
        eval {...} called at t/81transactions.t line 289
        main::inner() called at t/81transactions.t line 289
        main::outer() called at t/81transactions.t line 275
        eval {...} called at t/81transactions.t line 272
# Looks like you failed 1 test of 63.
t/81transactions...................................dubious
        Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 56
        Failed 1/63 tests, 98.41% okay



DBD::SQLite 1.14 / SQLite 3.4.2


$ perl -V
Summary of my perl5 (revision 5 version 8 subversion 6) configuration:
  Platform:
    osname=linux, osvers=2.6.9, archname=i586-linux-thread-multi
    uname='linux g226 2.6.9 #1 smp tue jun 28 14:58:56 utc 2005 i686
i686 i386 gnulinux '
    config_args='-ds -e -Dprefix=/usr -Dvendorprefix=/usr
-Dinstallusrbinperl -Dusethreads -Di_db -Di_dbm -Di_ndbm -Di_gdbm
-Duseshrplib=true -Doptimize=-O2 -march=i586 -mcpu=i686
-fmessage-length=0 -Wall -g -Wall -pipe'
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=define use5005threads=undef 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 -DTHREADS_HAVE_PIDS
-DDEBUGGING -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64',
    optimize='-O2 -march=i586 -mcpu=i686 -fmessage-length=0 -Wall -g
-Wall -pipe',
    cppflags='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING
-fno-strict-aliasing -pipe'
    ccversion='', gccversion='3.3.5 20050117 (prerelease) (SUSE Linux)',
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 =''
    libpth=/lib /usr/lib /usr/local/lib
    libs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
    perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
    libc=, so=so, useshrplib=true, libperl=libperl.so
    gnulibc_version='2.3.4'
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E
-Wl,-rpath,/usr/lib/perl5/5.8.6/i586-linux-thread-multi/CORE'
    cccdlflags='-fPIC', lddlflags='-shared'


Characteristics of this binary (from libperl):
  Compile-time options: DEBUGGING MULTIPLICITY USE_ITHREADS
USE_LARGE_FILES PERL_IMPLICIT_CONTEXT
  Locally applied patches:
        SPRINTF0 - fixes for sprintf formatting issues - CVE-2005-3962
  Built under linux
  Compiled at Dec 17 2005 03:23:29
  %ENV:
    PERL5LIB="/home/dhoworth/progs/modules"
    PERLDOC_PAGER="vi"
  @INC:
    /home/dhoworth/progs/modules
    /usr/lib/perl5/5.8.6/i586-linux-thread-multi
    /usr/lib/perl5/5.8.6
    /usr/lib/perl5/site_perl/5.8.6/i586-linux-thread-multi
    /usr/lib/perl5/site_perl/5.8.6
    /usr/lib/perl5/site_perl
    /usr/lib/perl5/vendor_perl/5.8.6/i586-linux-thread-multi
    /usr/lib/perl5/vendor_perl/5.8.6
    /usr/lib/perl5/vendor_perl
    .



More information about the DBIx-Class mailing list