Skip Menu |

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

Report information
The Basics
Id: 12758
Status: rejected
Priority: 0/
Queue: CGI-Application-Plugin-Session

People
Owner: Nobody in particular
Requestors: william [...] knowmad.com
Cc:
AdminCc:

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



Subject: Test 04 blocks when installing from CPAN
When installing this module via CPAN, I have found that it blocks on test 4 while waiting for user input. FreeBSD 5.3, Perl 5.8.6. William
On Wed May 11 12:29:45 2005, guest wrote: Show quoted text
> When installing this module via CPAN, I have found that it blocks on > test 4 while waiting for user input. FreeBSD 5.3, Perl 5.8.6. > > > William
I don't have a FreeBSD box to be able to test this, however, the CPAN Testers have tested this module successfully on FreeBSD: http://www.nntp.perl.org/group/perl.cpan.testers/222110 If you can recreate this problem, can you please send me a verbose report of the test results: ./Build test verbose=1 Or of you are sure there is only a problem with 04_cgisimple.t ./Build test verbose=1 --test_files t/04_cgisimple.t For now I am marking this as 'stalled' since I can go no further unless I get more details... Cheers, Cees
From: dan.horne [...] redbone.co.nz
Show quoted text
> If you can recreate this problem, can you please send me a verbose > report of the test results: > > ./Build test verbose=1 >
This is what I'm getting: ./Build test t/01_basic............ok t/02_cookie...........ok t/03_nocookie.........ok t/04_cgisimple........skipped all skipped: CGI::Simple required for this test t/05_sid..............ok t/06_expiry...........NOK 4/16 # Failed test 'session cookie expiry set' # at t/06_expiry.t line 21. # 'Set-Cookie: CGISESSID=a7104754ef9fac38ae6217fec485b51a; path=/; expires=+3600s # Date: Tue, 05 Dec 2006 11:24:27 GMT # Content-Type: text/html; charset=ISO-8859-1 # # session expiry: (3600) # ' # doesn't match '(?-xism:expires=\w{3}, )' t/06_expiry...........NOK 8/16 # Failed test 'session cookie expiry set' # at t/06_expiry.t line 40. # 'Set-Cookie: CGISESSID=a7104754ef9fac38ae6217fec485b51a; path=/; expires=+3600s # Date: Tue, 05 Dec 2006 11:24:27 GMT # Content-Type: text/html; charset=ISO-8859-1 # # session expiry: (3600) # ' # doesn't match '(?-xism:expires=\w{3}, )' t/06_expiry...........NOK 14/16 # Failed test 'session cookie expiry set' # at t/06_expiry.t line 64. # 'Set-Cookie: CGISESSID=132671891306d31ba0aafff9bad59002; path=/; expires=-31536000s # Date: Tue, 05 Dec 2006 11:24:27 GMT # Content-Type: text/html; charset=ISO-8859-1 # # session expiry: (-31536000) # ' # doesn't match '(?-xism:expires=\w{3}, )' Use of uninitialized value in subtraction (-) at t/06_expiry.t line 69. t/06_expiry...........NOK 15/16 # Failed test 'Expiry should not change' # at t/06_expiry.t line 69. # got: undef # expected: '-1' t/06_expiry...........ok 16/16# Looks like you failed 4 tests of 16. t/06_expiry...........dubious Test returned status 4 (wstat 1024, 0x400) DIED. FAILED tests 4, 8, 14-15 Failed 4/16 tests, 75.00% okay t/07_defaults.........ok t/08_notcgipm.........ok t/09_options..........ok t/10_sessioncookie....ok t/11_sessiondelete....ok 2/20 skipped: various reasons t/12_badconfig........ok t/98_pod..............skipped all skipped: Test::Pod 1.00 required for testing POD t/99_pod_coverage.....skipped all skipped: Test::Pod::Coverage 1.04 required for testing POD coverage Failed Test Stat Wstat Total Fail List of Failed ------------------------------------------------------------------------------- t/06_expiry.t 4 1024 16 4 4 8 14-15 3 tests and 2 subtests skipped. Failed 1/14 test scripts. 4/105 subtests failed. Files=14, Tests=105, 4 wallclock secs ( 0.81 cusr + 0.82 csys = 1.63 CPU) Failed 1/14 test programs. 4/105 subtests failed. This is on CentOS v4: uname -a Linux rdblin03 2.6.9-42.0.3.EL #1 Fri Oct 6 05:59:54 CDT 2006 i686 i686 i386 GNU/Linux The weird thing is I installed on another server today with exactly the same version of CentOS and it worked. The only difference I can determine is the version of Perl (both compiled from source). The successful server is 5.8.7, the unsuccessful is 5.8.8
From: dan.horne [...] redbone.co.nz
Sorry - this should have been logged as a new issue. Please see Bug #23801. Apologies, Dan
On Sun Feb 05 19:25:25 2006, CEESHEK wrote: Show quoted text
> ./Build test verbose=1 --test_files t/04_cgisimple.t > > For now I am marking this as 'stalled' since I can go no further unless > I get more details...
Hi Cees, Here's what I get from running the test in verbose mode: #./Build test verbose=1 --test_files t/04_cgisimple.t lib/CGI/Application/Plugin/Session.pm -> blib/lib/CGI/Application/Plugin/Session.pm t/04_cgisimple....1..12 (offline mode: enter name=value pairs on standard input) Here's my perl -v info: This is perl, v5.8.6 built for i386-freebsd-64int Thanks, William -- Knowmad Technologies http://www.knowmad.com
On Thu Aug 16 21:22:27 2007, WMCKEE wrote: Show quoted text
> On Sun Feb 05 19:25:25 2006, CEESHEK wrote:
> > ./Build test verbose=1 --test_files t/04_cgisimple.t > > > > For now I am marking this as 'stalled' since I can go no further unless > > I get more details...
> > Hi Cees, > > Here's what I get from running the test in verbose mode: > > #./Build test verbose=1 --test_files t/04_cgisimple.t > lib/CGI/Application/Plugin/Session.pm -> > blib/lib/CGI/Application/Plugin/Session.pm > t/04_cgisimple....1..12 > (offline mode: enter name=value pairs on standard input) > > Here's my perl -v info: > > This is perl, v5.8.6 built for i386-freebsd-64int
Hi William, Can you tell me what version of CGI::Simple you are using? I tested it with the latest version 1.103, as well as an older version I had installed (0.077). Neither of these blocked on the CGI::Simple test. The only way I could recreate your problem is to set $CGI::Simple::DEBUG to 2 which triggers the 'offline mode' prompt. Can you do a couple of extra tests to see if that DEBUG value is set, or if you are using some different version of CGI::Simple? Cheers, Cees
6 years go by, probably not a real issue.