Corion / Test-HTTP-LocalServer

spawn a local HTTP server for testing
Artistic License 2.0
1 stars 2 forks source link

Test-HTTP-LocalServer-0.76: Sometimes t/01-start.t seems to hang under 32 bit Strawberry Perl 5.26.0 #8

Open twata1 opened 8 months ago

twata1 commented 8 months ago

Hello,

It seems to me that sometimes t/01-start.t hangs under 32 bit Strawberry Perl 5.26.0 (and also 5.26.1) on Windows 7 32 bit as follows. (I know Windows 7 is an older OS but thought it might be worth reporting.)

Strawberry Perl 5.26.0 32 bit:

C:\home\bath>cpan CORION/Test-HTTP-LocalServer-0.76.tar.gz

(snip)

  CORION/Test-HTTP-LocalServer-0.76.tar.gz
  C:\Strawberry\c\bin\gmake.exe -- OK
Running make test for CORION/Test-HTTP-LocalServer-0.76.tar.gz
"C:\Strawberry\perl\bin\perl.exe" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib\lib', 'blib\arch')" t/00-load.t t/01-start.t t/02-start-stop.t t/03-sticky-fields.t t/04-server-name.t t/05-basic-auth.t t/05-simplest.t t/06-exitcode.t
# Testing Test::HTTP::LocalServer 0.76, Perl 5.026000
# AutoLoader 5.74
# Carp 1.50
# Carp::Heavy 1.50
# Clone 0.46
# Config 5.026000
# Cwd 3.75
# DynaLoader 1.42
# Errno 1.28
# Exporter 5.78
# Exporter::Heavy 5.78
# Fcntl 1.13
# File::Basename 2.85
# File::Path 2.16
# File::Spec 3.75
# File::Spec::Unix 3.75
# File::Spec::Win32 3.75
# File::Temp 0.2309
# FindBin 1.54
# HTTP::Daemon 6.16
# HTTP::Date 6.02
# HTTP::Headers 6.45
# HTTP::Message 6.45
# HTTP::Request 6.45
# HTTP::Response 6.45
# HTTP::Status 6.45
# HTTP::Tiny 0.082
# IO 1.55
# IO::Handle 1.55
# IO::Seekable 1.55
# IO::Socket 1.55
# IO::Socket::INET 1.55
# IO::Socket::IP 0.39
# IO::Socket::UNIX 1.55
# LWP::MediaTypes 6.02
# List::Util 1.63
# POSIX 1.76
# PerlIO 1.10
# Scalar::Util 1.63
# SelectSaver 1.02
# Socket 2.036
# Symbol 1.08
# Test::Builder 1.302198
# Test::Builder::Formatter 1.302198
# Test::Builder::Module 1.302198
# Test::Builder::TodoDiag 1.302198
# Test::HTTP::LocalServer 0.76
# Test::More 1.302198
# Test2::API 1.302198
# Test2::API::Context 1.302198
# Test2::API::Instance 1.302198
# Test2::API::Stack 1.302198
# Test2::Event 1.302198
# Test2::Event::Bail 1.302198
# Test2::Event::Diag 1.302198
# Test2::Event::Exception 1.302198
# Test2::Event::Fail 1.302198
# Test2::Event::Note 1.302198
# Test2::Event::Ok 1.302198
# Test2::Event::Pass 1.302198
# Test2::Event::Plan 1.302198
# Test2::Event::Skip 1.302198
# Test2::Event::Subtest 1.302198
# Test2::Event::V2 1.302198
# Test2::Event::Waiting 1.302198
# Test2::EventFacet 1.302198
# Test2::EventFacet::About 1.302198
# Test2::EventFacet::Amnesty 1.302198
# Test2::EventFacet::Assert 1.302198
# Test2::EventFacet::Control 1.302198
# Test2::EventFacet::Error 1.302198
# Test2::EventFacet::Hub 1.302198
# Test2::EventFacet::Info 1.302198
# Test2::EventFacet::Meta 1.302198
# Test2::EventFacet::Parent 1.302198
# Test2::EventFacet::Plan 1.302198
# Test2::EventFacet::Trace 1.302198
# Test2::Formatter 1.302198
# Test2::Formatter::TAP 1.302198
# Test2::Hub 1.302198
# Test2::Hub::Interceptor 1.302198
# Test2::Hub::Interceptor::Terminator 1.302198
# Test2::Hub::Subtest 1.302198
# Test2::Util 1.302198
# Test2::Util::ExternalMeta 1.302198
# Test2::Util::Facets2Legacy 1.302198
# Test2::Util::HashBase 1.302198
# Test2::Util::Trace 1.302198
# Tie::Hash 1.05
# Time::HiRes 1.976002
# Time::Local 1.33
# URI 5.27
# URI::Escape 5.27
# URI::URL 5.27
# URI::WithBase 5.27
# Win32 0.59
# XSLoader 0.27
# base 2.25
# bytes 1.05
# constant 1.33
# mro 1.20
# overload 1.28
# overloading 0.02
# parent 0.241
# re 0.34
# strict 1.11
# vars 1.03
# warnings 1.37
# warnings::register 1.04
t/00-load.t ........... ok
Couldn't read back URL from 'C:\Users\user\AppData\Local\Temp\LUKvzclx6z': Inappropriate I/O control operation at C:\Strawberry\cpan\build\Test-HTTP-LocalServer-0.76-0\blib\lib/Test/HTTP/LocalServer.pm line 212.
# Looks like your test exited with 25 before it could output anything.
(hangs)

Thank you,