Skip Menu |

This queue is for tickets about the CPANPLUS CPAN distribution.

Report information
The Basics
Id: 18702
Status: resolved
Priority: 0/
Queue: CPANPLUS

People
Owner: Nobody in particular
Requestors: chorny [...] mail.ru
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 0.061
Fixed in: (no value)



Subject: make test fail under Win32
perl v5.8.7 built for MSWin32-x86-multi-thread, WinXP SP2 C:\2\CPANPLUS-0.061>nmake test Microsoft (R) Program Maintenance Utility Version 1.50 Copyright (c) Microsoft Corp 1988-94. All rights reserved. C:\Perl\bin\perl.exe -Iinc -MExtUtils::Command -e cp bin/cpanp-boxed blib\script\cpanp-boxed pl2bat.bat blib\script\cpanp-boxed C:\Perl\bin\perl.exe -Iinc -MExtUtils::Command -e cp bin/cpan2dist blib\script\cpan2dist pl2bat.bat blib\script\cpan2dist C:\Perl\bin\perl.exe -Iinc -MExtUtils::Command -e cp bin/cpanp blib\script\cpanp pl2bat.bat blib\script\cpanp C:\Perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'in c', 'blib\lib', 'blib\arch')" t\00_CPANPLUS-Inc.t t\00_CPANPLUS-Internals-Utils.t t\01_CPANPLUS-Configure.t t\02_CPANPLUS-Internals.t t\03_CPANPLUS-Internals-Source.t t\04_CPANPLUS-Module.t t\05_CPANPLUS-Internals-Fetch.t t\06_CPANPLUS-Internals-Constants.t t\07_CPANPLUS-Internals-Extract.t t\08_CPANPLUS-Backend.t t\09_CPANPLUS-Internals-Search.t t\10_CPANPLUS-Error.t t\19_CPANPLUS-Dist.t t\20_CPA NPLUS-Dist-MM.t t\21_CPANPLUS-Dist-No-Build.t t\40_CPANPLUS-Internals-Report.t t\00_CPANPLUS-Inc....................ok t\00_CPANPLUS-Internals-Utils........ok t\01_CPANPLUS-Configure..............ok t\02_CPANPLUS-Internals..............ok t\03_CPANPLUS-Internals-Source.......ok t\04_CPANPLUS-Module.................ok 1/87 skipped: You chose not to enable signature checks t\05_CPANPLUS-Internals-Fetch........ok 6/0No 'path' specified at C:\2\CPANPLUS- 0.061\lib/CPANPLUS/Module.pm line 441 # Failed test (t\05_CPANPLUS-Internals-Fetch.t at line 105) t\05_CPANPLUS-Internals-Fetch........NOK 15Use of uninitialized value in -s at t \05_CPANPLUS-Internals-Fetch.t line 106. Use of uninitialized value in concatenation (.) or string at t\05_CPANPLUS-Inter nals-Fetch.t line 106. # Failed test (t\05_CPANPLUS-Internals-Fetch.t at line 106) t\05_CPANPLUS-Internals-Fetch........NOK 16# Failed test (t\05_CPANPLUS-Internals-Fetch.t at line 107) t\05_CPANPLUS-Internals-Fetch........NOK 17# undef # doesn't match '/UNKNOWN-ORIGIN/' # Failed test (t\05_CPANPLUS-Internals-Fetch.t at line 109) t\05_CPANPLUS-Internals-Fetch........NOK 18# undef # doesn't match '(?-xism:05_CPANPLUS-Internals-Fetch.t$)' # Looks like you failed 4 tests of 18. t\05_CPANPLUS-Internals-Fetch........dubious Test returned status 4 (wstat 1024, 0x400) DIED. FAILED tests 15-18 Failed 4/18 tests, 77.78% okay t\06_CPANPLUS-Internals-Constants....ok t\07_CPANPLUS-Internals-Extract......ok t\08_CPANPLUS-Backend................ok t\09_CPANPLUS-Internals-Search.......ok t\10_CPANPLUS-Error..................ok t\19_CPANPLUS-Dist...................ok t\20_CPANPLUS-Dist-MM................ok 15/0# # Sorry, installing into your real perl dir, rather than our test area # since ExtUtils::Installed does not probe for .packlists in other dirs # than those in %Config. See bug #6871 on rt.cpan.org for details t\20_CPANPLUS-Dist-MM................ok t\21_CPANPLUS-Dist-No-Build..........ok t\40_CPANPLUS-Internals-Report.......ok 55/117 skipped: No report sending modules installed Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t\05_CPANPLUS-Internals-Fetch.t 4 1024 18 4 22.22% 15-18 56 subtests skipped. Failed 1/16 test scripts, 93.75% okay. 4/1126 subtests failed, 99.64% okay. NMAKE : fatal error U1077: 'C:\WINDOWS\system32\cmd.exe' : return code '0xff'
Show quoted text
> t\05_CPANPLUS-Internals-Fetch........ok 6/0No 'path' specified at > C:\2\CPANPLUS- > 0.061\lib/CPANPLUS/Module.pm line 441 > # Failed test (t\05_CPANPLUS-Internals-Fetch.t at line 105) > t\05_CPANPLUS-Internals-Fetch........NOK 15Use of uninitialized value > in > -s at t > \05_CPANPLUS-Internals-Fetch.t line 106. > Use of uninitialized value in concatenation (.) or string at > t\05_CPANPLUS-Inter > nals-Fetch.t line 106. > # Failed test (t\05_CPANPLUS-Internals-Fetch.t at line 106) > t\05_CPANPLUS-Internals-Fetch........NOK 16# Failed test
Could you run this test as follows, and send me the ouput? (note the trailing 1) perl -Ilib t\05_CPANPLUS-Internals-Fetch.t 1 Thanks,
From: Alexandr Ciornii <alexchorny [...] gmail.com>
On Срд. Июн. 07 07:02:08 2006, KANE wrote: Show quoted text
> Could you run this test as follows, and send me the ouput? (note the > trailing 1) > > perl -Ilib t\05_CPANPLUS-Internals-Fetch.t 1
C:\2\CPANPLUS-0.061>perl -Ilib t\05_CPANPLUS-Internals-Fetch.t 1 ok 1 - The object isa CPANPLUS::Internals [MSG] Checking if source files are up to date [MSG] Retrieving C:\2\CPANPLUS-0.061\t\dummy-cpanplus\sourcefiles.2.13.stored ok 2 - The object isa CPANPLUS::Module ok 3 - Failed host added ok 4 - Host registered as failed ok 5 - Fresh host unregistered [MSG] Trying to get 'file://C:/2/CPANPLUS-0.061/t/dummy-CPAN/authors/id/A/AY/AYRNIEU/Text-Bastardize-0.06.tar.gz' ok 6 - File downloaded to 'C:\2\CPANPLUS-0.061\t\dummy-cpanplus\authors\id\A\AY\AYRNIEU\Text-Bastardize-0.06.tar.gz' ok 7 - File exists ok 8 - File removed [ERROR] Fetching of 'file://C:/2/CPANPLUS-0.061/t/t\05_CPANPLUS-Internals-Fetch.t/t\05_CPANPLUS-Internals-Fetch.t/authors/id/A/AY/AYRNIEU/Text-Bastardize-0.06.tar.gz' failed: Could not copy 'C:\2\CPANPLUS-0.061\t\t\05_CPANPLUS-Internals-Fetch.t\t\05_CPANPLUS-Internals-Fetch.t\authors\id\A\AY\AYRNIEU\Text-Bastardize-0.0 6.tar.gz' to 'dummy-cpanplus\authors\id\A\AY\AYRNIEU\Text-Bastardize-0.06.tar.gz': No such file or directory ok 9 - File downloaded to 'C:\2\CPANPLUS-0.061\t\dummy-cpanplus\authors\id\A\AY\AYRNIEU\Text-Bastardize-0.06.tar.gz' ok 10 - File exists ok 11 - Error recorded appropriately ok 12 - Failed host logged properly ok 13 - Fake module created from t\05_CPANPLUS-Internals-Fetch.t ok 14 - Fetch from set ok [MSG] Trying to get 'file://C:\2\CPANPLUS-0.061\t\05_CPANPLUS-Internals-Fetch.t' No 'path' specified at C:\2\CPANPLUS-0.061\lib/CPANPLUS/Module.pm line 441 [ERROR] Bad uri 'file://C:\2\CPANPLUS-0.061\t\05_CPANPLUS-Internals-Fetch.t' [ERROR] Unable to download 'file://C:\2\CPANPLUS-0.061\t\05_CPANPLUS-Internals-Fetch.t' not ok 15 - file://C:\2\CPANPLUS-0.061\t\05_CPANPLUS-Internals-Fetch.t fetched ok # Failed test (t\05_CPANPLUS-Internals-Fetch.t at line 105) not ok 16 - exists # Failed test (t\05_CPANPLUS-Internals-Fetch.t at line 106) not ok 17 - Saved to proper location # Failed test (t\05_CPANPLUS-Internals-Fetch.t at line 107) # undef # doesn't match '/UNKNOWN-ORIGIN/' not ok 18 - Saved with proper name # Failed test (t\05_CPANPLUS-Internals-Fetch.t at line 109) # undef # doesn't match '(?-xism:05_CPANPLUS-Internals-Fetch.t$)' 1..18 # Looks like you failed 4 tests of 18.
Show quoted text
> No 'path' specified at C:\2\CPANPLUS-0.061\lib/CPANPLUS/Module.pm line > 441 > [ERROR] Bad uri 'file://C:\2\CPANPLUS-0.061\t\05_CPANPLUS-Internals- > Fetch.t'
Thanks for reporting. This is a testing bug (not an application bug) on win32, where a file:// uri is not being properly constructed with only forward slashes as per uri specification[1] to test the fetching mechanism. I'll look into a way to remedy this test bug. [1] http://www.ietf.org/rfc/rfc3986.txt
On Fri Jun 23 09:54:29 2006, KANE wrote: Show quoted text
> I'll look into a way to remedy this test bug.
Constructing uri style paths rather than win32 style paths has fixed the issue on test environments. I'll include this fix in 0.072, which will be released shortly. Thanks for reporting.