Skip Menu |

This queue is for tickets about the IO-Socket-IP CPAN distribution.

Report information
The Basics
Id: 78983
Status: resolved
Priority: 0/
Queue: IO-Socket-IP

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

Bug Information
Severity: Critical
Broken in: 0.16
Fixed in: 0.17



Subject: version 0.16 fails to install on win32
Show quoted text
cpan> install IO::Socket::IP
Running install for module 'IO::Socket::IP' Running make for P/PE/PEVANS/IO-Socket-IP-0.16.tar.gz Fetching with LWP: http://172.17.2.25:2963/authors/id/P/PE/PEVANS/IO-Socket-IP-0.16.tar.gz Fetching with LWP: http://172.17.2.25:2963/authors/id/P/PE/PEVANS/CHECKSUMS Checksum for D:\Dwimperl\cpan\sources\authors\id\P\PE\PEVANS\IO-Socket-IP-0.16.tar.gz ok Scanning cache D:\Dwimperl\cpan\build for sizes ............................................................................DONE CPAN.pm: Building P/PE/PEVANS/IO-Socket-IP-0.16.tar.gz Created MYMETA.yml and MYMETA.json Creating new 'Build' script for 'IO-Socket-IP' version '0.16' Building IO-Socket-IP PEVANS/IO-Socket-IP-0.16.tar.gz D:\Dwimperl\perl\bin\perl.exe ./Build -- OK Running Build test t\00use.t ........................... ok t\01local-client-v4.t ............... ok t\02local-server-v4.t ............... ok t\03local-cross-v4.t ................ ok t\04local-client-v6.t ............... skipped: Unable to bind to ::1 t\05local-server-v6.t ............... skipped: Unable to bind to ::1 t\06local-cross-v6.t ................ skipped: Unable to bind to ::1 t\10args.t .......................... ok t\11sockopts.t ...................... ok t\12port-fallback.t ................. ok t\13addrinfo.t ...................... ok t\14fileno.t ........................ ok t\15io-socket.t ..................... ok t\16v6only.t ........................ skipped: Unable to bind to ::1 t\17gai-flags.t ..................... ok t\20nonblocking-connect.t ........... ok t\21nonblocking-connect-internet.t .. t\21nonblocking-connect-internet.t .. 1/11 # Failed test '->connect had to select() at least once' # at t\21nonblocking-connect-internet.t line 52. t\21nonblocking-connect-internet.t .. 7/11 # Looks like you failed 1 test of 11. t\21nonblocking-connect-internet.t .. Dubious, test returned 1 (wstat 256, 0x100) Failed 1/11 subtests t\99pod.t ........................... ok Test Summary Report ------------------- t\21nonblocking-connect-internet.t (Wstat: 256 Tests: 11 Failed: 1) Failed test: 5 Non-zero exit status: 1 Files=18, Tests=116, 26 wallclock secs ( 0.67 usr + 0.11 sys = 0.78 CPU) Result: FAIL Failed 1/18 test programs. 1/116 subtests failed. PEVANS/IO-Socket-IP-0.16.tar.gz D:\Dwimperl\perl\bin\perl.exe ./Build test -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports PEVANS/IO-Socket-IP-0.16.tar.gz Running Build install make test had returned bad status, won't install without force Failed during this command: PEVANS/IO-Socket-IP-0.16.tar.gz : make_test NO Show quoted text
cpan>
Subject: Re: [rt.cpan.org #78983] AutoReply: version 0.16 fails to install on win32
Date: Wed, 15 Aug 2012 16:48:31 +0100
To: bug-IO-Socket-IP [...] rt.cpan.org
From: kevin dawson <kevin [...] dawson10.plus.com>
On 15/08/12 16:42, Bugs in IO-Socket-IP via RT wrote: Show quoted text
> Greetings, > > This message has been automatically generated in response to the > creation of a trouble ticket regarding: > "version 0.16 fails to install on win32", > a summary of which appears below. > > There is no need to reply to this message right now. Your ticket has been > assigned an ID of [rt.cpan.org #78983]. Your ticket is accessible > on the web at: > > https://rt.cpan.org/Ticket/Display.html?id=78983 > > Please include the string: > > [rt.cpan.org #78983] > > in the subject line of all future correspondence about this issue. To do so, > you may reply to this message. > > Thank you, > bug-IO-Socket-IP@rt.cpan.org > > -------------------------------------------------------------------------
> cpan> install IO::Socket::IP
> Running install for module 'IO::Socket::IP' > Running make for P/PE/PEVANS/IO-Socket-IP-0.16.tar.gz > Fetching with LWP: > http://172.17.2.25:2963/authors/id/P/PE/PEVANS/IO-Socket-IP-0.16.tar.gz > Fetching with LWP: > http://172.17.2.25:2963/authors/id/P/PE/PEVANS/CHECKSUMS > Checksum for > D:\Dwimperl\cpan\sources\authors\id\P\PE\PEVANS\IO-Socket-IP-0.16.tar.gz ok > Scanning cache D:\Dwimperl\cpan\build for sizes > ............................................................................DONE > > CPAN.pm: Building P/PE/PEVANS/IO-Socket-IP-0.16.tar.gz > > Created MYMETA.yml and MYMETA.json > Creating new 'Build' script for 'IO-Socket-IP' version '0.16' > Building IO-Socket-IP > PEVANS/IO-Socket-IP-0.16.tar.gz > D:\Dwimperl\perl\bin\perl.exe ./Build -- OK > Running Build test > t\00use.t ........................... ok > t\01local-client-v4.t ............... ok > t\02local-server-v4.t ............... ok > t\03local-cross-v4.t ................ ok > t\04local-client-v6.t ............... skipped: Unable to bind to ::1 > t\05local-server-v6.t ............... skipped: Unable to bind to ::1 > t\06local-cross-v6.t ................ skipped: Unable to bind to ::1 > t\10args.t .......................... ok > t\11sockopts.t ...................... ok > t\12port-fallback.t ................. ok > t\13addrinfo.t ...................... ok > t\14fileno.t ........................ ok > t\15io-socket.t ..................... ok > t\16v6only.t ........................ skipped: Unable to bind to ::1 > t\17gai-flags.t ..................... ok > t\20nonblocking-connect.t ........... ok > t\21nonblocking-connect-internet.t .. > t\21nonblocking-connect-internet.t .. 1/11 # Failed test '->connect > had to select() at least once' > # at t\21nonblocking-connect-internet.t line 52. > t\21nonblocking-connect-internet.t .. 7/11 # Looks like you failed 1 > test of 11. > t\21nonblocking-connect-internet.t .. Dubious, test returned 1 (wstat > 256, 0x100) > Failed 1/11 subtests > t\99pod.t ........................... ok > > Test Summary Report > ------------------- > t\21nonblocking-connect-internet.t (Wstat: 256 Tests: 11 Failed: 1) > Failed test: 5 > Non-zero exit status: 1 > Files=18, Tests=116, 26 wallclock secs ( 0.67 usr + 0.11 sys = 0.78 CPU) > Result: FAIL > Failed 1/18 test programs. 1/116 subtests failed. > PEVANS/IO-Socket-IP-0.16.tar.gz > D:\Dwimperl\perl\bin\perl.exe ./Build test -- NOT OK > //hint// to see the cpan-testers results for installing this module, try: > reports PEVANS/IO-Socket-IP-0.16.tar.gz > Running Build install > make test had returned bad status, won't install without force > Failed during this command: > PEVANS/IO-Socket-IP-0.16.tar.gz : make_test NO >
> cpan>
>
Also see cpan[1]> install IO::Socket::IP Database was generated on Wed, 15 Aug 2012 15:44:28 GMT Running install for module 'IO::Socket::IP' Running make for P/PE/PEVANS/IO-Socket-IP-0.16.tar.gz Checksum for /home/kevin/.cpan/sources/authors/id/P/PE/PEVANS/IO-Socket-IP-0.16.tar.gz ok Scanning cache /home/kevin/.cpan/build for sizes ............................................................................DONE CPAN.pm: Building P/PE/PEVANS/IO-Socket-IP-0.16.tar.gz Created MYMETA.yml and MYMETA.json Creating new 'Build' script for 'IO-Socket-IP' version '0.16' (/home/kevin/perl5/perlbrew/perls/perl-5.17.2/bin/perl5.17.2 Build.PL exited with 0) CPAN::Reporter: Build.PL result is 'pass', No errors. Building IO-Socket-IP (./Build exited with 0) CPAN::Reporter: Build result is 'pass', No errors. PEVANS/IO-Socket-IP-0.16.tar.gz ./Build -- OK Running Build test t/00use.t ........................... ok t/01local-client-v4.t ............... ok t/02local-server-v4.t ............... ok t/03local-cross-v4.t ................ ok t/04local-client-v6.t ............... skipped: Unable to bind to ::1 t/05local-server-v6.t ............... skipped: Unable to bind to ::1 t/06local-cross-v6.t ................ skipped: Unable to bind to ::1 t/10args.t .......................... ok t/11sockopts.t ...................... ok t/12port-fallback.t ................. ok t/13addrinfo.t ...................... ok t/14fileno.t ........................ ok t/15io-socket.t ..................... ok t/16v6only.t ........................ skipped: Unable to bind to ::1 t/17gai-flags.t ..................... ok t/20nonblocking-connect.t ........... ok # Failed test '->connect had to select() at least once' # at t/21nonblocking-connect-internet.t line 52. # Looks like you failed 1 test of 11. t/21nonblocking-connect-internet.t .. Dubious, test returned 1 (wstat 256, 0x100) Failed 1/11 subtests t/99pod.t ........................... ok Test Summary Report ------------------- t/21nonblocking-connect-internet.t (Wstat: 256 Tests: 11 Failed: 1) Failed test: 5 Non-zero exit status: 1 Files=18, Tests=116, 2 wallclock secs ( 0.09 usr 0.03 sys + 1.46 cusr 0.18 csys = 1.76 CPU) Result: FAIL Failed 1/18 test programs. 1/116 subtests failed. (./Build test exited with 65280) CPAN::Reporter: Test result is 'fail', One or more tests failed. CPAN::Reporter: preparing a CPAN Testers report for IO-Socket-IP-0.16 Do you want to review or edit the test report? (yes/no) [no] CPAN::Reporter: test report will not be sent PEVANS/IO-Socket-IP-0.16.tar.gz ./Build test -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports PEVANS/IO-Socket-IP-0.16.tar.gz Running Build install make test had returned bad status, won't install without force Failed during this command: PEVANS/IO-Socket-IP-0.16.tar.gz : make_test NO
On Wed Aug 15 11:42:41 2012, bowtie wrote: Show quoted text
> t\21nonblocking-connect-internet.t .. > t\21nonblocking-connect-internet.t .. 1/11 # Failed test '->connect > had to select() at least once' > # at t\21nonblocking-connect-internet.t line 52. > t\21nonblocking-connect-internet.t .. 7/11 # Looks like you failed 1 > test of 11. > t\21nonblocking-connect-internet.t .. Dubious, test returned 1 (wstat > 256, 0x100) > Failed 1/11 subtests
Yeah, that test is getting far too unreliable lately. I think it's actually just a race condition between the userland in perl, and the IP stack in the kernel. The constructor definitely didn't block, but then the kernel managed to complete the connection before the first time the object queried the connection state, so it ended up not having to block in select() at all. I've now just removed the two tests that count select() calls, as the rest of the tests still check for deferred construction + completion. Will be fixed in next release. -- Paul Evans
Subject: Re: [rt.cpan.org #78983] version 0.16 fails to install on win32
Date: Thu, 16 Aug 2012 21:14:25 +0100
To: bug-IO-Socket-IP [...] rt.cpan.org
From: kevin dawson <kevin [...] dawson10.plus.com>
On 16/08/12 20:34, Paul Evans via RT wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=78983 > > > On Wed Aug 15 11:42:41 2012, bowtie wrote:
>> t\21nonblocking-connect-internet.t .. >> t\21nonblocking-connect-internet.t .. 1/11 # Failed test '->connect >> had to select() at least once' >> # at t\21nonblocking-connect-internet.t line 52. >> t\21nonblocking-connect-internet.t .. 7/11 # Looks like you failed 1 >> test of 11. >> t\21nonblocking-connect-internet.t .. Dubious, test returned 1 (wstat >> 256, 0x100) >> Failed 1/11 subtests
> Yeah, that test is getting far too unreliable lately. I think it's > actually just a race condition between the userland in perl, and the IP > stack in the kernel. The constructor definitely didn't block, but then > the kernel managed to complete the connection before the first time the > object queried the connection state, so it ended up not having to block > in select() at all. > > I've now just removed the two tests that count select() calls, as the > rest of the tests still check for deferred construction + completion. > > Will be fixed in next release. >
Paul that's great news, any idea of when next release is due please close this ticket, upon next release thanks kevin
Released as 0.17 -- Paul Evans