[Dbix-class] install test failures

Dave Howorth dhoworth at mrc-lmb.cam.ac.uk
Fri Oct 3 16:51:09 BST 2008


Ash Berlin wrote:
> On 2 Oct 2008, at 11:37, Dave Howorth wrote:
>> Zbigniew Lukasiak wrote:
>>> better load the latest svn version from:
>>> http://dev.catalyst.perl.org/repos/bast/DBIx-Class/0.08/trunk
>>
>> I tried that but am seeing a problem - I'm not very familiar with
>> building Perl distributions except from CPAN. It seems to have
>> downloaded correctly but when I try to build it I see this:
>>
>> .../trunk$ perl Makefile.PL
>> Can't locate inc/Module/Install.pm in @INC (@INC contains:
...
> When you are installing/building the SVN version, it wont have
> Module::Install embedded into it yet, so you need to install
> Module::Install from CPAN first:
...
> Then try running the Makefile.PL from trunk again.

OK, I finally appear to have Module::Install mostly running. I still see
the same test failures though:

t/61findnot........................................ok 1/20
#   Failed test 'Non-unique find generated a cursor inexhaustion warning'
#   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
t/61findnot........................................NOK 19/20# 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 1/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~/trunk/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

Cheers, Dave



More information about the DBIx-Class mailing list