Skip Menu |
Report information
Id: 131315
Status: open
Priority: 0/
Queue: perl5

Owner: Nobody
Requestors: chorny <alexchorny [at] gmail.com>
Cc:
AdminCc:

Operating System: (no value)
PatchStatus: (no value)
Severity: medium
Type: library
Perl Version: 5.26.0
Fixed In: (no value)



From: Alexandr Ciornii <alexchorny [...] gmail.com>
To: perlbug [...] perl.org
Date: Mon, 15 May 2017 02:00:09 +0300
Subject: Net::Ping in bleadperl broken on Windows XP
Download (untitled) / with headers
text/plain 6.1k
This is a bug report for perl from alexchorny@gmail.com, generated with the help of perlbug 1.40 running under perl 5.26.0. ----------------------------------------------------------------- [Please describe your issue here] Breaks following CPAN modules: VOLKENING/Bio-CIPRES-0.003003.tar.gz COSIMO/Net-Prober-0.16.tar.gz IMAGO/Regru-API-0.046.tar.gz WOODRUFFW/NIST-Beacon-1.002.tar.gz BOLILA/Plack-Middleware-Auth-BrowserID-0.0.7.tar.gz When building perl some tests for Net::Ping are disabled, so problem is not evident. Error manifests only on Windows XP, on Windows 7 (connected to same router) tests pass. Does not depend on language, tested English and Russian Windows. Does not depend on using/not using VM. Problem is not resolved in latest version of Net::Ping (2.59). Also reported here https://rt.cpan.org/Ticket/Display.html?id=118526 Failing tests of Net::Ping 2.55 (same version as in bleadperl): # Failed test 'Missing Net::Ping::External handled correctly' # at t/020_external.t line 29. # 'getnameinfo() failed - The requested name is valid and was found in the database, but it does not have the correct associated data being resolved for. at t/020_external.t line 26. # doesn't match '(?^:Protocol "external" not supported on your system: Net::Ping::External not found)' # Looks like you failed 1 test of 5. t/020_external.t ...... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/5 subtests (less 2 skipped subtests: 2 okay) getnameinfo() failed - The requested name is valid and was found in the database, but it does not have the correct associated data being resolved for. at t/200_ping_tcp.t line 38. # Looks like you planned 13 tests but ran 2. # Looks like your test exited with 255 just after 2. t/200_ping_tcp.t ...... Dubious, test returned 255 (wstat 65280, 0xff00) Failed 11/13 subtests getnameinfo() failed - The requested name is valid and was found in the database, but it does not have the correct associated data being resolved for. at t/250_ping_hires.t line 45. # Looks like you planned 8 tests but ran 6. # Looks like your test exited with 255 just after 6. t/250_ping_hires.t .... Dubious, test returned 255 (wstat 65280, 0xff00) Failed 2/8 subtests t/300_ping_stream.t ... skipped: loopback tcp echo service is off (No connection could be made because the target machine actively refused it.) getnameinfo() failed - The requested name is valid and was found in the database, but it does not have the correct associated data being resolved for. at t/400_ping_syn.t line 80. # Looks like you planned 17 tests but ran 3. # Looks like your test exited with 255 just after 3. t/400_ping_syn.t ...... Dubious, test returned 255 (wstat 65280, 0xff00) Failed 14/17 subtests getnameinfo() failed - The requested name is valid and was found in the database, but it does not have the correct associated data being resolved for. at t/410_syn_host.t line 82. # Looks like you planned 19 tests but ran 3. # Looks like your test exited with 255 just after 3. t/410_syn_host.t ...... Dubious, test returned 255 (wstat 65280, 0xff00) Failed 16/19 subtests I was unable to copy getnameinfo argument to clipboard, so removed it here. [Please do not change anything below this line] ----------------------------------------------------------------- --- Flags: category=library severity=medium module=Net::Ping --- Site configuration information for perl 5.26.0: Configured by strawberry-perl at Sun May 14 16:35:31 2017. Summary of my perl5 (revision 5 version 26 subversion 0) configuration: Platform: osname=MSWin32 osvers=4.0 archname=MSWin32-x86-multi-thread-64int uname='Win32 strawberry-perl 5.26.0.1-beta1 #1 Sun May 14 16:33:34 2017 i386' config_args='undef' hint=recommended useposix=true d_sigaction=undef useithreads=define usemultiplicity=define use64bitint=define use64bitall=undef uselongdouble=undef usemymalloc=n default_inc_excludes_dot=undef bincompat5005=undef Compiler: cc='gcc' ccflags =' -s -O2 -DWIN32 -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -fwrapv -fno-strict-aliasing -mms-bitfields' optimize='-s -O2' cppflags='-DWIN32' ccversion='' gccversion='4.9.2' gccosandvers='' intsize=4 longsize=4 ptrsize=4 doublesize=8 byteorder=12345678 doublekind=3 d_longlong=define longlongsize=8 d_longdbl=define longdblsize=12 longdblkind=3 ivtype='long long' ivsize=8 nvtype='double' nvsize=8 Off_t='long long' lseeksize=8 alignbytes=8 prototype=define Linker and Libraries: ld='g++.exe' ldflags ='-s -L"E:\portable\260RC1\perl\lib\CORE" -L"E:\portable\260RC1\c\lib"' libpth=E:\portable\260RC1\c\lib E:\portable\260RC1\c\i686-w64-mingw32\lib E:\portable\260RC1\c\lib\gcc\i686-w64-mingw32\4.9.2 libs=-lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 -lcomctl32 perllibs=-lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 -lcomctl32 libc= so=dll useshrplib=true libperl=libperl526.a gnulibc_version='' Dynamic Linking: dlsrc=dl_win32.xs dlext=xs.dll d_dlsymun=undef ccdlflags=' ' cccdlflags=' ' lddlflags='-mdll -s -L"E:\portable\260RC1\perl\lib\CORE" -L"E:\portable\260RC1\c\lib"' Locally applied patches: RC1 --- @INC for perl 5.26.0: E:/portable/260RC1/perl/site/lib E:/portable/260RC1/perl/vendor/lib E:/portable/260RC1/perl/lib --- Environment for perl 5.26.0: HOME (unset) LANG (unset) LANGUAGE (unset) LD_LIBRARY_PATH (unset) LOGDIR (unset) PATH=E:\portable\260RC1\perl\site\bin;E:\portable\260RC1\perl\bin;E:\portable\260RC1\c\bin;C:\Program Files\Far Manager\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Git\cmd;C:\Strawberry2510\c\bin;C:\Strawberry2510\perl\site\bin;C:\Strawberry2510\perl\bin PERL_BADLANG (unset) SHELL (unset) -- Alexandr Ciornii, http://chorny.net
Subject: Re: [perl #131315] Net::Ping in bleadperl broken on Windows XP
Date: Mon, 15 May 2017 09:17:46 +0100
From: Dave Mitchell <davem [...] iabyn.com>
To: perl5-porters [...] perl.org
Download (untitled) / with headers
text/plain 966b
On Sun, May 14, 2017 at 04:00:38PM -0700, Alexandr Ciornii wrote: Show quoted text
> Breaks following CPAN modules: > VOLKENING/Bio-CIPRES-0.003003.tar.gz > COSIMO/Net-Prober-0.16.tar.gz > IMAGO/Regru-API-0.046.tar.gz > WOODRUFFW/NIST-Beacon-1.002.tar.gz > BOLILA/Plack-Middleware-Auth-BrowserID-0.0.7.tar.gz > > When building perl some tests for Net::Ping are disabled, so problem > is not evident. Error manifests only on Windows XP, on Windows 7 > (connected to same router) tests pass. Does not depend on language, > tested English and Russian Windows. Does not depend on using/not using > VM. Problem is not resolved in latest version of Net::Ping (2.59).
Is this a regression? If so, do you know which is the most recent version of perl or Net::Ping which still works? -- Wesley Crusher gets beaten up by his classmates for being a smarmy git, and consequently has a go at making some friends of his own age for a change. -- Things That Never Happen in "Star Trek" #18
RT-Send-CC: davem [...] iabyn.com, perl5-porters [...] perl.org
Download (untitled) / with headers
text/plain 407b
On Mon, 15 May 2017 01:18:57 -0700, davem wrote: Show quoted text
> On Sun, May 14, 2017 at 04:00:38PM -0700, Alexandr Ciornii wrote:
Show quoted text
> Is this a regression?
yes Show quoted text
> If so, do you know which is the most recent version > of perl or Net::Ping which still works?
2.41 on CPAN and 2.43 in perl 5.24.0 do not have this problem. In Net::Ping 2.49_01 (next version on CPAN) tests failed. -- Alexandr Ciornii, http://chorny.net


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

For issues related to this RT instance (aka "perlbug"), please contact perlbug-admin at perl.org