Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Dancer-Session-Cookie CPAN distribution.

Report information
The Basics
Id: 90590
Status: open
Priority: 0/
Queue: Dancer-Session-Cookie

People
Owner: Nobody in particular
Requestors: zefram [...] fysh.org
Cc:
AdminCc:

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



Subject: test fail with EADDRINUSE
Date: Thu, 21 Nov 2013 13:12:22 +0000
To: bug-Dancer-Session-Cookie [...] rt.cpan.org
From: Zefram <zefram [...] fysh.org>
Got an intermittent test failure with Dancer-Session-Cookie-0.22: t/00-compile.t ............... ok # Prerequisite Report: # Version Module # ------- ------------------------- # 2.33 Crypt::CBC # 1.11 Crypt::Rijndael # 1.3119 Dancer # undef Dancer::Cookie # undef Dancer::Cookies # undef Dancer::ModuleLoader # undef Dancer::Session::Abstract # 6.66 ExtUtils::MakeMaker # 1.23 File::Find # 3.40 File::Spec # 3.40 File::Spec::Functions # 0.2304 File::Temp # 1.51 FindBin # 6.01 HTTP::Cookies # 6.02 HTTP::Date # 6.05 LWP # 6.05 LWP::UserAgent # 1.27 List::Util # 3.13 MIME::Base64 # 0.007 Session::Storage::Secure # 2.41 Storable # 1.4 String::CRC32 # 0.32 Test::Exception # 0.98 Test::More # 1.04 Test::NoWarnings # 2.02 Test::TCP # 0.06 Time::Duration::Parse # 2.18 base # 1.07 strict # 1.18 warnings t/00-report-prereqs.t ........ ok t/01-session.t ............... ok t/02-configfile.t ............ ok t/03-path.t .................. ok t/04-session_name.t .......... ok t/05-session_secure.t ........ ok Show quoted text
>> Dancer 1.3119 server 11847 listening on http://0.0.0.0:50190
t/06-redirect.t .............. ok Show quoted text
>> Dancer 1.3119 server 11849 listening on http://0.0.0.0:50793
t/redirect-session-dancer.t .. ok Show quoted text
>> Dancer 1.3119 server 11851 listening on http://0.0.0.0:50997 >> Dancer 1.3119 server 11852 listening on http://0.0.0.0:50725 >> Dancer 1.3119 server 11853 listening on http://0.0.0.0:50931 >> Dancer 1.3119 server 11854 listening on http://0.0.0.0:50621
bind to 0.0.0.0:50621: Address already in use at /opt/perl-5.18.1/lib/site_perl/5.18.1/Dancer.pm line 484. cannot open port: 50621 at /opt/perl-5.18.1/lib/site_perl/5.18.1/Test/TCP.pm line 51. # Tests were run but no plan was declared and done_testing() was not seen. t/server.t ................... Dubious, test returned 111 (wstat 28416, 0x6f00) All 3 subtests passed Show quoted text
>> Dancer 1.3119 server 11856 listening on http://0.0.0.0:50758
t/session-stealing.t ......... ok Test Summary Report ------------------- t/server.t (Wstat: 28416 Tests: 3 Failed: 0) Non-zero exit status: 111 Parse errors: No plan found in TAP output Files=11, Tests=33, 21 wallclock secs ( 0.05 usr 0.07 sys + 3.25 cusr 0.96 cs ys = 4.33 CPU) Result: FAIL Failed 1/11 test programs. 0/33 subtests failed. make: *** [test_dynamic] Error 255 I suspect that there should be multiple attempts to find a suitable port for the test, to allow for clashes with other processes that are subject to race condition. -zefram
Subject: Re: [rt.cpan.org #90590] test fail with EADDRINUSE
Date: Thu, 21 Nov 2013 21:05:00 -0500
To: bug-Dancer-Session-Cookie [...] rt.cpan.org
From: David Golden <dagolden [...] cpan.org>
I think this is a Test::TCP issue.