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

Report information
The Basics
Id:
133018
Status:
open
Priority:
Low/Low
Queue:

People
Owner:
Nobody in particular
Requestors:
rfulbrig [...] hotmail.com
Cc:
AdminCc:

BugTracker
Severity:
(no value)
Broken in:
(no value)
Fixed in:
(no value)



Subject: Install Fails on Windows 10 Strawberry Perl 5.24.1
Date: Sat, 18 Jul 2020 01:11:11 +0000
To: "bug-IO-Async@rt.cpan.org" <bug-IO-Async@rt.cpan.org>
From: Roy Fulbright <rfulbrig@hotmail.com>
Install of IO::Async fails on Windows 10 Strawberry Perl 5.24.1 with the following error message:
t\51loop-connect.t ........... 17/? Use of uninitialized value $_[1] in string eq at C:\strawberry\cpan\build\IO-Async-0.77-3\blib\lib/IO/Async/Loop.pm line 1736.

On Fri Jul 17 21:11:18 2020, rfulbrig@hotmail.com wrote:
Show quoted text
> Install of IO::Async fails on Windows 10 Strawberry Perl 5.24.1 with > the following error message: > t\51loop-connect.t ........... 17/? Use of uninitialized value $_[1] > in string eq at C:\strawberry\cpan\build\IO-Async-0.77- > 3\blib\lib/IO/Async/Loop.pm line 1736.
That message in itself is only a warning, and wouldn't cause the entire install to fail tests. Can you provide more of the output log? -- Paul Evans
Date: Wed, 28 Apr 2021 13:21:17 -0500
Subject: [rt.cpan.org #133018] Test failure on Windows 10
To: bug-IO-Async@rt.cpan.org
From: "Wes Malone" <wes@mitsi.com>
I wonder if this is related to the original report. I currently see a test failure on 0.78 on Strawberry Perl 5.26.1. I added Carp::Always to see the trace. Thanks for your work on IO::Async; I hope this is helpful.
Show quoted text
> C:\Users\wes\.cpanm\work\1619632180.21832\IO-Async-0.78>prove -lv t\51loop-connect.t > t\51loop-connect.t .. > ok 1 - '$future' isa 'Future' > ok 2 - IO::Socket::IP->can(...) > ok 3 - by addr: $sock->getpeername is $addr from future > ok 4 - '$future for ->connect( handle )' isa 'Future' > ok 5 - $future->get returns given Stream > ok 6 - $stream has a read handle > ok 7 - Returned $stream->read_handle->getpeername is $addr > ok 8 - IO::Socket::IP->can(...) > ok 9 - by addr: $sock->getpeername is $addr > ok 10 - '$future' isa 'Future' > ok 11 - IO::Socket::IP->can(...) > ok 12 - by host/service: $sock->getpeername is $addr from future > ok 13 - $sock->sockhost is INADDR_LOOPBACK_HOST from future > ok 14 - IO::Socket::IP->can(...) > ok 15 - by host/service: $sock->getpeername is $addr > ok 16 - $sock->sockhost is INADDR_LOOPBACK_HOST > ok 17 - $sock->sockhost is 127.0.0.2 > ok 18 - 'on_stream $stream isa IO::Async::Stream' isa 'IO::Async::Stream' > ok 19 - on_stream $sock->getpeername is $addr > ok 20 - '$future for ->connect( handle socket )' isa 'Future' > ok 21 - $future->get returns given Socket > ok 22 - Returned $socket->read_handle->getpeername is $addr > ok 23 - 'on_socket $sock isa IO::Async::Socket' isa 'IO::Async::Socket' > ok 24 - on_socket $sock->read_handle->getpeername is $addr > Socket::pack_sockaddr_un not implemented on this architecture at C:\Users\wes\.cpanm\work\1619632180.21832\IO-Async-0.78\lib/IO/Async/OS.pm line 521. > IO::Async::OS::_Base::_extract_addrinfo_unix("IO::Async::OS", HASH(0x33d7e84)) called at C:\Users\wes\.cpanm\work\1619632180.21832\IO-Async-0.78\lib/IO/Async/OS.pm line 440 > IO::Async::OS::_Base::extract_addrinfo("IO::Async::OS", HASH(0x33b35e4)) called at C:\Users\wes\.cpanm\work\1619632180.21832\IO-Async-0.78\lib/IO/Async/Internals/Connector.pm line 196 > IO::Async::Internals::Connector::connect(IO::Async::Internals::Connector=HASH(0x3247e64), "on_fail", CODE(0x35c358c), "on_connect_error", CODE(0x35c376c), "addr", HASH(0x33b35e4)) called at C:\Users\wes\.cpanm\work\1619632180.21832\IO-Async-0.78\lib/IO/Async/Loop.pm line 1754 > IO::Async::Loop::connect(IO::Async::Loop::Select=HASH(0x33ac78c), "addr", HASH(0x33b35e4), "on_connected", CODE(0x33ac144), "on_fail", CODE(0x35c358c), "on_connect_error", ...) called at t\51loop-connect.t line 260 > # Tests were run but no plan was declared and done_testing() was not seen. > # Looks like your test exited with 25 just after 24. > Dubious, test returned 25 (wstat 6400, 0x1900) > All 24 subtests passed > > Test Summary Report > ------------------- > t\51loop-connect.t (Wstat: 6400 Tests: 24 Failed: 0) > Non-zero exit status: 25 > Parse errors: No plan found in TAP output > Files=1, Tests=24, 1 wallclock secs ( 0.06 usr + 0.03 sys = 0.09 CPU) > Result: FAIL
Show quoted text
> C:\Users\wes\.cpanm\work\1619632180.21832\IO-Async-0.78>perl -v > > This is perl 5, version 26, subversion 1 (v5.26.1) built for MSWin32-x86-multi-thread-64int
Show quoted text
> OS Name: Microsoft Windows Server 2019 Datacenter > OS Version: 10.0.17763 N/A Build 17763


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.