Skip Menu |

This queue is for tickets about the CGI-Application-Plugin-Authentication CPAN distribution.

Report information
The Basics
Id: 102879
Status: new
Priority: 0/
Queue: CGI-Application-Plugin-Authentication

People
Owner: Nobody in particular
Requestors: KENTNL [...] cpan.org
Cc:
AdminCc:

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



Subject: Fails tests under parallel testing
With HARNESS_OPTIONS=j10 in ENV, Tests routinely fail in DBI tests.

Disabling parallel harnesses avoids this issue, so I'd imagine some of those tests are sharing a file and having database race conditions.
---

t/52_driver_generic.t ............... ok                                
Show quoted text
===(     302;3   5/13   1/90  0/?  0/? )================================Use of uninitialized value in lc at /tmp/portage/dev-perl-CGI-Application-Plugin-Authentication-0.200.0-r2/work/CGI-Applicati
on-Plugin-Authentication-0.20/blib/lib/CGI/Application/Plugin/Authentication/Driver/Filter/crypt.pm line 18.
Use of uninitialized value in lc at /tmp/portage/dev-perl-CGI-Application-Plugin-Authentication-0.200.0-r2/work/CGI-Application-Plugin-Authentication-0.20/blib/lib/CGI/Application/Plugin/Authentica
tion/Driver/Filter/crypt.pm line 18.
Use of uninitialized value in lc at /tmp/portage/dev-perl-CGI-Application-Plugin-Authentication-0.200.0-r2/work/CGI-Application-Plugin-Authentication-0.20/blib/lib/CGI/Application/Plugin/Authentica
tion/Driver/Filter/md5.pm line 28.
Use of uninitialized value in lc at /tmp/portage/dev-perl-CGI-Application-Plugin-Authentication-0.200.0-r2/work/CGI-Application-Plugin-Authentication-0.20/blib/lib/CGI/Application/Plugin/Authentica
tion/Driver/Filter/crypt.pm line 18.
Use of uninitialized value in lc at /tmp/portage/dev-perl-CGI-Application-Plugin-Authentication-0.200.0-r2/work/CGI-Application-Plugin-Authentication-0.20/blib/lib/CGI/Application/Plugin/Authentica
tion/Driver/Filter/md5.pm line 28.
Use of uninitialized value in lc at /tmp/portage/dev-perl-CGI-Application-Plugin-Authentication-0.200.0-r2/work/CGI-Application-Plugin-Authentication-0.20/blib/lib/CGI/Application/Plugin/Authentica
tion/Driver/Filter/md5.pm line 28.
t/53_driver_dbi.t ................... Dubious, test returned 2 (wstat 512, 0x200)
Failed 18/90 subtests
t/53_driver_dbi_bad.t ............... ok                                
Show quoted text
===(     386;3   9/13  0/?  0/? )=======================================DBD::SQLite::db do failed: attempt to write a readonly database at t/53_driver_dbi.t line 323.
DBD::SQLite::db do failed: table user already exists at t/53_driver_dbi.t line 331.
DBD::SQLite::db do failed: attempt to write a readonly database at t/53_driver_dbi.t line 338.
DBD::SQLite::db do failed: table user has 4 columns but 3 values were supplied at t/53_driver_dbi.t line 346.
DBD::SQLite::db do failed: table user has 4 columns but 3 values were supplied at t/53_driver_dbi.t line 349.
DBD::SQLite::db do failed: no such table: dailycode at t/53_driver_dbi.t line 352.
DBD::SQLite::db do failed: no such table: dailycode at t/53_driver_dbi.t line 355.
DBD::SQLite::db prepare_cached failed: no such table: dailycode at /tmp/portage/dev-perl-CGI-Application-Plugin-Authentication-0.200.0-r2/work/CGI-Application-Plugin-Authentication-0.20/blib/lib/CG
I/Application/Plugin/Authentication/Driver/DBI.pm line 348.
Error executing class callback in prerun stage: Failed to prepare SQL statement:  no such table: dailycode at /tmp/portage/dev-perl-CGI-Application-Plugin-Authentication-0.200.0-r2/work/CGI-Applica
tion-Plugin-Authentication-0.20/blib/lib/CGI/Application/Plugin/Authentication/Driver/DBI.pm line 348.
Show quoted text
# Looks like you planned 90 tests but ran 72.
# Looks like your test exited with 2 just after 72.
t/53_driver_dbi_die.t ............... ok                 

...

Test Summary Report
-------------------
t/03_login_box.t                  (Wstat: 512 Tests: 7 Failed: 2)
  Failed tests:  2-3
  Non-zero exit status: 2
t/53_driver_dbi.t                 (Wstat: 512 Tests: 72 Failed: 0)
  Non-zero exit status: 2
  Parse errors: Bad plan.  You planned 90 tests but ran 72.
Files=42, Tests=511,  5 wallclock secs ( 0.41 usr  0.09 sys +  8.11 cusr  0.82 csys =  9.43 CPU)
Result: FAIL
Failed 2/42 test programs. 2/511 subtests failed.


---