Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Net::Ping in bleadperl broken on Windows XP #15980

Open
p5pRT opened this issue May 14, 2017 · 4 comments
Open

Net::Ping in bleadperl broken on Windows XP #15980

p5pRT opened this issue May 14, 2017 · 4 comments

Comments

@p5pRT
Copy link

p5pRT commented May 14, 2017

Migrated from rt.perl.org#131315 (status was 'open')

Searchable as RT131315$

@p5pRT
Copy link
Author

p5pRT commented May 14, 2017

From @chorny

Created by @chorny

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.

Perl Info

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

@p5pRT
Copy link
Author

p5pRT commented May 15, 2017

From @iabyn

On Sun, May 14, 2017 at 04​:00​:38PM -0700, Alexandr Ciornii wrote​:

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

@p5pRT
Copy link
Author

p5pRT commented May 15, 2017

The RT System itself - Status changed from 'new' to 'open'

@p5pRT
Copy link
Author

p5pRT commented May 15, 2017

From @chorny

On Mon, 15 May 2017 01​:18​:57 -0700, davem wrote​:

On Sun, May 14, 2017 at 04​:00​:38PM -0700, Alexandr Ciornii wrote​:

Is this a regression?

yes

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants