Skip Menu |
 

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

Report information
The Basics
Id: 27557
Status: resolved
Priority: 0/
Queue: DBIx-SearchBuilder

People
Owner: RUZ [...] cpan.org
Requestors: ANDK [...] cpan.org
Cc:
AdminCc:

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



Subject: Random test results
Download (untitled) / with headers
text/plain 1.6k
On http://cpantesters.perl.org/show/DBIx-SearchBuilder.html I notice that I have reported all of PASS, FAIL and NA. Looking at the history of my smokes I see randomly distributed results. Much more green than red but still too much red. Here is recent test output of a failing test. Looks like a reused filename from an older test or some such. t/02records_cachable....Name "DBD::SQLite::sqlite_version" used only once: possible typo at /home/src/perl/repoperls/installed-perls/perl/piGCGlx/perl-5.8.0@31365/lib/5.9.5/i686-linux-64int/DynaLoader.pm line 226. DBD::SQLite::db prepare failed: table Address already exists(1) at dbdimp.c line 271 at /home/sand/.cpan/build/DBIx-SearchBuilder-1.48-pQPM50/blib/lib/DBIx/SearchBuilder/Handle.pm line 465. DBIx::SearchBuilder::Handle::SQLite=HASH(0x86135bc) couldn't prepare the query 'CREATE TABLE Address ( id integer primary key, Name varchar(36), Phone varchar(18), EmployeeId int(8)) 'table Address already exists(1) at dbdimp.c line 271 # Failed test 'Inserted the schema. got a statement handle back isa DBI::st' # at t/02records_cachable.t line 30. # Inserted the schema. got a statement handle back isn't a 'DBI::st' it's a 'Class::ReturnValue' # Failed test 'The record has its id' # at t/02records_cachable.t line 51. # got: '1' # expected: '2' # Failed test 'we fetched record from cache' # at t/02records_cachable.t line 58. # got: 'Found Object' # expected: 'Fetched from cache' # Looks like you failed 3 tests of 32. dubious ^ITest returned status 3 (wstat 768, 0x300) DIED. FAILED tests 18, 28, 32 ^IFailed 3/32 tests, 90.62% okay (less 16 skipped tests: 13 okay, 40.62%) Hope this helps,
Subject: Re: [rt.cpan.org #27557] Random test results
Date: Thu, 14 Jun 2007 14:12:52 -0400
To: bug-DBIx-SearchBuilder [...] rt.cpan.org
From: Jesse Vincent <jesse [...] fsck.com>
Download (untitled) / with headers
text/plain 1.9k
Ruslan suggests that this is likely due to our crazy tempfile creation. It _should_ be sorted out for 1.49 now. Thanks! Show quoted text
> On http://cpantesters.perl.org/show/DBIx-SearchBuilder.html I notice > that I have reported all of PASS, FAIL and NA. Looking at the > history of > my smokes I see randomly distributed results. Much more green than red > but still too much red. > > Here is recent test output of a failing test. Looks like a reused > filename from an older test or some such. > > t/02records_cachable....Name "DBD::SQLite::sqlite_version" used only > once: possible typo at > /home/src/perl/repoperls/installed-perls/perl/piGCGlx/ > perl-5.8.0@31365/lib/5.9.5/i686-linux-64int/DynaLoader.pm > line 226. > DBD::SQLite::db prepare failed: table Address already exists(1) at > dbdimp.c line 271 at > /home/sand/.cpan/build/DBIx-SearchBuilder-1.48-pQPM50/blib/lib/DBIx/ > SearchBuilder/Handle.pm > line 465. > DBIx::SearchBuilder::Handle::SQLite=HASH(0x86135bc) couldn't > prepare the > query 'CREATE TABLE Address ( > id integer primary key, > Name varchar(36), > Phone varchar(18), > EmployeeId int(8)) > 'table Address already exists(1) at dbdimp.c line 271 > > # Failed test 'Inserted the schema. got a statement handle back isa > DBI::st' > # at t/02records_cachable.t line 30. > # Inserted the schema. got a statement handle back isn't a > 'DBI::st' > it's a 'Class::ReturnValue' > > # Failed test 'The record has its id' > # at t/02records_cachable.t line 51. > # got: '1' > # expected: '2' > > # Failed test 'we fetched record from cache' > # at t/02records_cachable.t line 58. > # got: 'Found Object' > # expected: 'Fetched from cache' > # Looks like you failed 3 tests of 32. > dubious > ^ITest returned status 3 (wstat 768, 0x300) > DIED. FAILED tests 18, 28, 32 > ^IFailed 3/32 tests, 90.62% okay (less 16 skipped tests: 13 okay, > 40.62%) > > > > Hope this helps, > > >
Download PGP.sig
application/pgp-signature 186b

Message body not shown because it is not plain text.



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.