Subject: | PoCo::Client::HTTP tests fail under Win32 |
I was going to test another bugfix but I couldn't even install the new CPAN version, since the majority of the tests failed (one test in PoCo::Client::Keepalive also failed, which is a dependency).
Some tests were eating up 100% CPU for more than ten minutes when I decided to kill them manually. These tests were t\03_head_filter and t\04_chunk_filter.
The "make test" error log follows:
Running make test
Microsoft (R) Program Maintenance Utility Version 7.10.3077
Copyright (C) Microsoft Corporation. All rights reserved.
K:\Perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'bl
ib\lib', 'blib\arch')" t\01_request.t t\02_keepalive.t t\03_head_filter.t t\04_c
hunk_filter.t t\05_request.t t\06_factory.t
t\01_request.........ok 1/13Unable to set blocking mode on socket: at K:/Perl/s
ite/lib/POE/Component/SSLify.pm line 69.
# Looks like you planned 13 tests but only ran 1.
# Looks like your test died just after 1.
Please mail the following information to bug-POE@rt.cpan.org:
<dt> Cannot resolve ``POE::Component::Client::Keepalive=ARRAY(0x2306990)'' into
a session reference at K:/Perl/site/lib/POE/Component/Client/Keepalive.pm line 6
21
POE::Component::Client::Keepalive::shutdown('POE::Component::Client::Kee
palive=ARRAY(0x2306990)') called at t\01_request.t line 123
main::client_stop('undef', 'POE::Session=ARRAY(0x230eaec)', 'POE::Kernel
=ARRAY(0x1b078c0)', 'HASH(0x230ea74)', '_stop', 'POE::Session=ARRAY(0x23070ec)',
'undef', 'K:/Perl/site/lib/POE/Resource/Sessions.pm', 483, ...) called at K:/Pe
rl/site/lib/POE/Session.pm line 623
POE::Session::_invoke_state('POE::Session=ARRAY(0x230eaec)', 'POE::Sessi
on=ARRAY(0x23070ec)', '_stop', 'ARRAY(0x230ea14)', 'K:/Perl/site/lib/POE/Resourc
e/Sessions.pm', 483, 1120879253.23922) called at K:/Perl/site/lib/POE/Kernel.pm
line 939
POE::Kernel::_dispatch_event('POE::Kernel=ARRAY(0x1b078c0)', 'POE::Sessi
on=ARRAY(0x230eaec)', 'POE::Session=ARRAY(0x23070ec)', '_stop', 8, 'ARRAY(0x230e
a14)', 'K:/Perl/site/lib/POE/Resource/Sessions.pm', 483, 1120879253.23922, ...)
called at K:/Perl/site/lib/POE/Resource/Sessions.pm line 480
POE::Kernel::_data_ses_stop('POE::Kernel=ARRAY(0x1b078c0)', 'POE::Sessio
n=ARRAY(0x230eaec)') called at K:/Perl/site/lib/POE/Resource/Sessions.pm line 43
2
POE::Kernel::_data_ses_collect_garbage('POE::Kernel=ARRAY(0x1b078c0)', '
POE::Session=ARRAY(0x230eaec)') called at K:/Perl/site/lib/POE/Kernel.pm line 21
96
POE::Kernel::refcount_decrement('POE::Kernel=ARRAY(0x1b078c0)', 7, 'anon
_event') called at K:/Perl/site/lib/POE/Session.pm line 840
POE::Session::AnonEvent::DESTROY('POE::Session::AnonEvent=CODE(0x230ed20
)') called at t\01_request.t line 0
eval {...} called at t\01_request.t line 0
t\01_request.........dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 2-13
Failed 12/13 tests, 7.69% okay
t\02_keepalive.......ok
t\03_head_filter.....dubious
Test returned status 1 (wstat 256, 0x100)
DIED. FAILED tests 2-8
Failed 7/8 tests, 12.50% okay
t\04_chunk_filter....dubious
Test returned status 1 (wstat 256, 0x100)
DIED. FAILED tests 2-8
Failed 7/8 tests, 12.50% okay
t\05_request.........ok
t\06_factory.........ok
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t\01_request.t 255 65280 13 24 184.62% 2-13
t\03_head_filter.t 1 256 8 14 175.00% 2-8
t\04_chunk_filter.t 1 256 8 14 175.00% 2-8
Failed 3/6 test scripts, 50.00% okay. 26/57 subtests failed, 54.39% okay.
---
Perl version:
This is perl, v5.8.7 built for MSWin32-x86-multi-thread
(with 7 registered patches, see perl -V for more detail)
Copyright 1987-2005, Larry Wall
Binary build 813 [148120] provided by ActiveState http://www.ActiveState.com
ActiveState is a division of Sophos.
Built Jun 6 2005 13:36:37