Skip Menu |
 

This queue is for tickets about the DBIx-Class CPAN distribution.

Report information
The Basics
Id: 85985
Status: rejected
Priority: 0/
Queue: DBIx-Class

People
Owner: Nobody in particular
Requestors: jan [...] delinquent.de
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: (no value)
Fixed in: (no value)



Subject: Tests Failing
Download (untitled) / with headers
text/plain 405b
I get lots of warnings about Use of uninitialized value in unshift at /home/jan/.cpanm/work/1370706533.30742/DBIx-Class-0.03002/blib/lib/DBIx/Class/Componentised.pm line 7. which I have removed from the build.log for better readability, and a few failing tests, please see the attached build.log from cpanminus. I installed DBIC with --force and it seems to work fine, but I still wanted to report it.
Subject: build.log
Download build.log
text/x-log 10.1k
cpanm (App::cpanminus) 1.5007 on perl 5.014002 built for x86_64-linux-gnu-thread-multi Work directory is /home/jan/.cpanm/work/1370706533.30742 You have make /usr/bin/make You have LWP 6.03 You have /bin/tar: tar (GNU tar) 1.26 Copyright (C) 2011 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 DBIx::Class::ObjectCache on cpanmetadb ... --> Working on DBIx::Class::ObjectCache Fetching http://search.cpan.org/CPAN/authors/id/M/MR/MRAMBERG/DBIx-Class-0.03002.tar.gz -> OK Unpacking DBIx-Class-0.03002.tar.gz Entering DBIx-Class-0.03002 Checking configure dependencies from META.yml Configuring DBIx-Class-0.03002 Running Build.PL Created MYMETA.yml and MYMETA.json Creating new 'Build' script for 'DBIx-Class' version '0.03002' -> OK Checking dependencies from MYMETA.json ... Checking if you have Scalar::Util 0 ... Yes (1.23) Checking if you have SQL::Abstract::Limit 0.101 ... Yes (0.141) Checking if you have SQL::Abstract 1.2 ... Yes (1.73) Checking if you have Tie::IxHash 0 ... Yes (1.23) Checking if you have DBD::SQLite 1.08 ... Yes (1.37) Checking if you have Storable 0 ... Yes (2.27) Checking if you have NEXT 0 ... Yes (0.65) Checking if you have Data::Page 0 ... Yes (2.02) Checking if you have Module::Find 0 ... Yes (0.11) Checking if you have UNIVERSAL::require 0 ... Yes (0.13) Checking if you have DBI 0 ... Yes (1.616) Building and testing DBIx-Class-0.03002 Building DBIx-Class t/02pod.t .......................... skipped: set TEST_POD to enable this test t/03podcoverage.t .................. skipped: set TEST_POD to enable this test t/19quotes.t ....................... ok t/basicrels/01core.t ............... ok t/basicrels/04db.t ................. ok t/basicrels/05multipk.t ............ ok t/basicrels/06relationship.t ....... ok t/basicrels/07pager.t .............. ok t/basicrels/08inflate.t ............ ok t/basicrels/08inflate_has_a.t ...... ok t/basicrels/09update.t ............. ok t/basicrels/10auto.t ............... ok t/basicrels/11mysql.t .............. skipped: Set $ENV{DBICTEST_MYSQL_DSN}, _USER and _PASS to run this test t/basicrels/12pg.t ................. skipped: Set $ENV{DBICTEST_PG_DSN}, _USER and _PASS to run this test t/basicrels/13oracle.t ............. skipped: Set $ENV{DBICTEST_ORA_DSN}, _USER and _PASS to run this test. Warning: This test drops and creates a table called 'artist' t/basicrels/14mssql.t .............. skipped: Set $ENV{DBICTEST_MSSQL_DSN}, _USER and _PASS to run this test t/basicrels/15limit.t .............. ok # Failed test 'join 1 ok' # at t/run/16joins.tl line 24. # got: 'person child JOIN person father ON father.person_id = child.father_id JOIN person mother ON mother.person_id = child.mother_id' # expected: 'person child JOIN person father ON ( father.person_id = child.father_id ) JOIN person mother ON ( mother.person_id = child.mother_id )' # Failed test 'join 2 ok' # at t/run/16joins.tl line 40. # got: 'person mother JOIN (person child JOIN person father ON father.person_id = child.father_id) ON mother.person_id = child.mother_id' # expected: 'person mother JOIN (person child JOIN person father ON ( father.person_id = child.father_id )) ON ( mother.person_id = child.mother_id )' # Failed test 'join 3 (inner join) ok' # at t/run/16joins.tl line 52. # got: 'person child INNER JOIN person father ON father.person_id = child.father_id INNER JOIN person mother ON mother.person_id = child.mother_id' # expected: 'person child INNER JOIN person father ON ( father.person_id = child.father_id ) INNER JOIN person mother ON ( mother.person_id = child.mother_id )' # Looks like you failed 3 tests of 22. t/basicrels/16joins.t .............. Dubious, test returned 3 (wstat 768, 0x300) Failed 3/22 subtests t/basicrels/17join_count.t ......... ok t/basicrels/18self_referencial.t ... ok t/cdbi-sweet-t/08pager.t ........... ok t/cdbi-t/01-columns.t .............. ok t/cdbi-t/02-Film.t ................. ok t/cdbi-t/03-subclassing.t .......... ok DBD::SQLite::db prepare failed: table Lazy has no column named theother at /home/jan/.cpanm/work/1370706533.30742/DBIx-Class-0.03002/blib/lib/DBIx/Class/Storage/DBI.pm line 226. DBD::SQLite::db prepare failed: table Lazy has no column named andanother at /home/jan/.cpanm/work/1370706533.30742/DBIx-Class-0.03002/blib/lib/DBIx/Class/Storage/DBI.pm line 226. t/cdbi-t/04-lazy.t ................. ok # Failed test 'Director_accessor' # at t/cdbi-t/06-hasa.t line 100. # An error occurred while using eq: # ------------------------------------ # Operation "eq": no method found, # left argument in overloaded package Director, # right argument has no overloaded magic at (eval in cmp_ok) t/cdbi-t/06-hasa.t line 100. # # ------------------------------------ # got: 'Skippy Jackson' # expected: 'Skippy Jackson' # Failed test 'CoDirector_accessor' # at t/cdbi-t/06-hasa.t line 103. # An error occurred while using eq: # ------------------------------------ # Operation "eq": no method found, # left argument in overloaded package Director, # right argument has no overloaded magic at (eval in cmp_ok) t/cdbi-t/06-hasa.t line 103. # # ------------------------------------ # got: 'Peter Jackson' # expected: 'Peter Jackson' # Looks like you failed 2 tests of 24. t/cdbi-t/06-hasa.t ................. Dubious, test returned 2 (wstat 512, 0x200) Failed 2/24 subtests t/cdbi-t/08-inheritcols.t .......... ok t/cdbi-t/09-has_many.t ............. ok mutiple trigger registration in one add_trigger() call is deprecated. at t/cdbi-t/11-triggers.t line 23. # Looks like your test exited with 255 before it could output anything. t/cdbi-t/11-triggers.t ............. Dubious, test returned 255 (wstat 65280, 0xff00) Failed 13/13 subtests Use of uninitialized value $f_key in lc at /home/jan/.cpanm/work/1370706533.30742/DBIx-Class-0.03002/blib/lib/DBIx/Class/CDBICompat/ColumnCase.pm line 26. Use of uninitialized value $f_key in lc at /home/jan/.cpanm/work/1370706533.30742/DBIx-Class-0.03002/blib/lib/DBIx/Class/CDBICompat/ColumnCase.pm line 26. t/cdbi-t/12-filter.t ............... ok t/cdbi-t/13-constraint.t ........... ok t/cdbi-t/14-might_have.t ........... ok DBD::SQLite::db prepare failed: no such column: sheep at /home/jan/.cpanm/work/1370706533.30742/DBIx-Class-0.03002/blib/lib/DBIx/Class/Storage/DBI.pm line 226. t/cdbi-t/15-accessor.t ............. ok Use of uninitialized value $f_key in lc at /home/jan/.cpanm/work/1370706533.30742/DBIx-Class-0.03002/blib/lib/DBIx/Class/CDBICompat/ColumnCase.pm line 26. t/cdbi-t/16-reserved.t ............. ok Name "Ima::DBI::st::execute" used only once: possible typo at t/cdbi-t/18-has_a.t line 37. t/cdbi-t/18-has_a.t ................ ok t/cdbi-t/19-set_sql.t .............. ok t/cdbi-t/21-iterator.t ............. ok Use of uninitialized value $f_key in lc at /home/jan/.cpanm/work/1370706533.30742/DBIx-Class-0.03002/blib/lib/DBIx/Class/CDBICompat/ColumnCase.pm line 26. t/cdbi-t/22-self_referential.t ..... ok t/cdbi-t/30-pager.t ................ ok t/cdbi-t/98-failure.t .............. ok t/helperrels/01core.t .............. ok t/helperrels/04db.t ................ ok t/helperrels/05multipk.t ........... ok t/helperrels/06relationship.t ...... ok t/helperrels/07pager.t ............. ok t/helperrels/08inflate.t ........... ok t/helperrels/08inflate_has_a.t ..... ok t/helperrels/09update.t ............ ok t/helperrels/10auto.t .............. ok t/helperrels/11mysql.t ............. skipped: Set $ENV{DBICTEST_MYSQL_DSN}, _USER and _PASS to run this test t/helperrels/12pg.t ................ skipped: Set $ENV{DBICTEST_PG_DSN}, _USER and _PASS to run this test t/helperrels/13oracle.t ............ skipped: Set $ENV{DBICTEST_ORA_DSN}, _USER and _PASS to run this test. Warning: This test drops and creates a table called 'artist' t/helperrels/14mssql.t ............. skipped: Set $ENV{DBICTEST_MSSQL_DSN}, _USER and _PASS to run this test t/helperrels/15limit.t ............. ok # Failed test 'join 1 ok' # at t/run/16joins.tl line 24. # got: 'person child JOIN person father ON father.person_id = child.father_id JOIN person mother ON mother.person_id = child.mother_id' # expected: 'person child JOIN person father ON ( father.person_id = child.father_id ) JOIN person mother ON ( mother.person_id = child.mother_id )' # Failed test 'join 2 ok' # at t/run/16joins.tl line 40. # got: 'person mother JOIN (person child JOIN person father ON father.person_id = child.father_id) ON mother.person_id = child.mother_id' # expected: 'person mother JOIN (person child JOIN person father ON ( father.person_id = child.father_id )) ON ( mother.person_id = child.mother_id )' # Failed test 'join 3 (inner join) ok' # at t/run/16joins.tl line 52. # got: 'person child INNER JOIN person father ON father.person_id = child.father_id INNER JOIN person mother ON mother.person_id = child.mother_id' # expected: 'person child INNER JOIN person father ON ( father.person_id = child.father_id ) INNER JOIN person mother ON ( mother.person_id = child.mother_id )' # Looks like you failed 3 tests of 22. t/helperrels/16joins.t ............. Dubious, test returned 3 (wstat 768, 0x300) Failed 3/22 subtests t/helperrels/17join_count.t ........ ok t/helperrels/18self_referencial.t .. ok t/helperrels/19uuid.t .............. ok Test Summary Report ------------------- t/basicrels/16joins.t (Wstat: 768 Tests: 22 Failed: 3) Failed tests: 1-3 Non-zero exit status: 3 t/cdbi-t/06-hasa.t (Wstat: 512 Tests: 24 Failed: 2) Failed tests: 18, 21 Non-zero exit status: 2 t/cdbi-t/11-triggers.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: Bad plan. You planned 13 tests but ran 0. t/helperrels/16joins.t (Wstat: 768 Tests: 22 Failed: 3) Failed tests: 1-3 Non-zero exit status: 3 Files=58, Tests=698, 65 wallclock secs ( 0.23 usr 0.11 sys + 6.08 cusr 1.35 csys = 7.77 CPU) Result: FAIL Failed 4/58 test programs. 8/698 subtests failed. -> FAIL Installing DBIx::Class::ObjectCache failed. See /home/jan/.cpanm/build.log for details.
Subject: Re: [rt.cpan.org #85985] Tests Failing
Date: Sun, 9 Jun 2013 02:43:55 +1000
To: J Harders via RT <bug-DBIx-Class [...] rt.cpan.org>
From: Peter Rabbitson <ribasushi [...] cpan.org>
Download (untitled) / with headers
text/plain 555b
On Sat, Jun 08, 2013 at 12:06:15PM -0400, J Harders via RT wrote: Show quoted text
> Unpacking DBIx-Class-0.03002.tar.gz > Entering DBIx-Class-0.03002 > Checking configure dependencies from META.yml > Configuring DBIx-Class-0.03002
https://metacpan.org/release/MRAMBERG/DBIx-Class-0.03002/ ^^^ Released Oct 20, 2005 Could you please explain why would you possibly want to install a version of a module which is *8* years old. Especially if the current version (0.08250 released a month ago) is *very* compatible with user code written for previous versions. Cheers
Subject: Re: [rt.cpan.org #85985] Tests Failing
Date: Sat, 08 Jun 2013 19:12:09 +0200
To: bug-DBIx-Class [...] rt.cpan.org
From: Jan Harders <jan [...] delinquent.de>
Download (untitled) / with headers
text/plain 989b
Am 06/08/2013 06:44 PM, schrieb Peter Rabbitson via RT: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=85985 > > > On Sat, Jun 08, 2013 at 12:06:15PM -0400, J Harders via RT wrote:
>> Unpacking DBIx-Class-0.03002.tar.gz >> Entering DBIx-Class-0.03002 >> Checking configure dependencies from META.yml >> Configuring DBIx-Class-0.03002
> > > https://metacpan.org/release/MRAMBERG/DBIx-Class-0.03002/ > ^^^ > Released Oct 20, 2005 > > Could you please explain why would you possibly want to install a > version of a module which is *8* years old. Especially if the current > version (0.08250 released a month ago) is *very* compatible with user > code written for previous versions.
Yeah, I just figured that out myself. I was looking for Caching an stumbled upon DBIx::Class::ObjectCache which seems to have been dropped but was included in DBIx::Class, thus cpanminus figured I wanted to downgrade to that version. This can safely be rejected, I think. Thanks! Jan Harders
Ancient version - failures are expected and of no consequence.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.