Skip Menu |

This queue is for tickets about the CPANPLUS CPAN distribution.

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

People
Owner: Nobody in particular
Requestors: imacat [...] mail.imacat.idv.tw
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.072
Fixed in: (no value)



Subject: Always Sent 'pass' Report With 'force' => 1
Hi. This is imacat from Taiwan. CPANPLUS seems always sent 'pass' report if set 'force' to 1. It seems that setting 'force' to 1 turns all the result to success, in order to install the package. This may be right when install, but wrong when sending cpantest reports. The log is below. Hope that this helps. Please tell me if there is any question or you need any more information. Thank you. imacat@rinse ~ % /opt/perl/testers/bin/cpanp CPANPLUS::Shell::Default -- CPAN exploration and module installation (v0.072) *** Please report bugs to <bug-cpanplus@rt.cpan.org>. *** Using CPANPLUS::Backend v0.072. ReadLine support enabled. CPAN Terminal> s conf force 1 Key 'force' was set to '1' CPAN Terminal> test I/IM/IMACAT/chklinks-3.01.tar.gz [MSG] Checking if source files are up to date [MSG] Retrieving /opt/perl/testers/.cpanplus/sourcefiles.2.15.stored Testing chklinks [MSG] Trying to get 'http://www.cpan.org/authors/id/I/IM/IMACAT/chklinks-3.01.tar.gz' [MSG] Trying to get 'http://www.cpan.org/authors/id/I/IM/IMACAT/CHECKSUMS' [MSG] Checksum matches for 'chklinks-3.01.tar.gz' [MSG] Extracted 'chklinks-3.01/' [MSG] Extracted 'chklinks-3.01/README.zh-tw' [MSG] Extracted 'chklinks-3.01/COPYING' [MSG] Extracted 'chklinks-3.01/t/' [MSG] Extracted 'chklinks-3.01/t/htdocs/' [MSG] Extracted 'chklinks-3.01/t/htdocs/dir01/' [MSG] Extracted 'chklinks-3.01/t/htdocs/dir01/start.html' [MSG] Extracted 'chklinks-3.01/t/htdocs/dir01/test01.html' [MSG] Extracted 'chklinks-3.01/t/htdocs/stylesheets/' [MSG] Extracted 'chklinks-3.01/t/htdocs/stylesheets/test.css' [MSG] Extracted 'chklinks-3.01/t/htdocs/test03.html' [MSG] Extracted 'chklinks-3.01/t/00-signature.t' [MSG] Extracted 'chklinks-3.01/t/01-basic.t' [MSG] Extracted 'chklinks-3.01/t/99-pod.t' [MSG] Extracted 'chklinks-3.01/chklinks.zh-cn.html' [MSG] Extracted 'chklinks-3.01/MANIFEST' [MSG] Extracted 'chklinks-3.01/TODO' [MSG] Extracted 'chklinks-3.01/AUTHORS.zh-cn' [MSG] Extracted 'chklinks-3.01/README.zh-cn' [MSG] Extracted 'chklinks-3.01/fdl.txt' [MSG] Extracted 'chklinks-3.01/chklinks' [MSG] Extracted 'chklinks-3.01/chklinks.en.html' [MSG] Extracted 'chklinks-3.01/COPYING.zh-tw' [MSG] Extracted 'chklinks-3.01/ChangeLog' [MSG] Extracted 'chklinks-3.01/INSTALL.zh-cn' [MSG] Extracted 'chklinks-3.01/NEWS' [MSG] Extracted 'chklinks-3.01/INSTALL.zh-tw' [MSG] Extracted 'chklinks-3.01/COPYING.zh-cn' [MSG] Extracted 'chklinks-3.01/TODO.zh-cn' [MSG] Extracted 'chklinks-3.01/chklinks.zh-tw.html' [MSG] Extracted 'chklinks-3.01/THANKS' [MSG] Extracted 'chklinks-3.01/pgpkey.asc' [MSG] Extracted 'chklinks-3.01/THANKS.zh-tw' [MSG] Extracted 'chklinks-3.01/AUTHORS.zh-tw' [MSG] Extracted 'chklinks-3.01/THANKS.zh-cn' [MSG] Extracted 'chklinks-3.01/TODO.zh-tw' [MSG] Extracted 'chklinks-3.01/INSTALL' [MSG] Extracted 'chklinks-3.01/AUTHORS' [MSG] Extracted 'chklinks-3.01/Makefile.PL' [MSG] Extracted 'chklinks-3.01/README' [MSG] Extracted 'chklinks-3.01/SIGNATURE' [MSG] Extracted 'chklinks-3.01/META.yml' [MSG] Extracted 'chklinks' to '/opt/perl/testers/.cpanplus/5.8.8/build/chklinks-3.01' Running [/opt/perl/testers/bin/perl -MCPANPLUS::Internals::Utils::Autoflush Makefile.PL ]... Writing Makefile for chklinks Running [/usr/bin/make]... Manifying blib/man1/chklinks.1 Running [/usr/bin/make test]... t/00-signature....==> MISMATCHED content between SIGNATURE and distribution files! <== FAILED test 1 Failed 1/1 tests, 0.00% okay t/01-basic........Useless content call in void context at /opt/perl/testers/lib/site_perl/5.8.8/LWP/Protocol/ftp.pm line 398 ok t/99-pod..........ok Failed Test Stat Wstat Total Fail List of Failed ------------------------------------------------------------------------------- t/00-signature.t 1 1 1 Failed 1/3 test scripts. 1/20 subtests failed. Files=3, Tests=20, 15 wallclock secs ( 0.81 cusr + 0.08 csys = 0.89 CPU) Failed 1/3 test programs. 1/20 subtests failed. make: *** [test_dynamic] Error 255 [ERROR] MAKE TEST failed: Bad file descriptor t/00-signature....==> MISMATCHED content between SIGNATURE and distribution files! <== FAILED test 1 Failed 1/1 tests, 0.00% okay t/01-basic........Useless content call in void context at /opt/perl/testers/lib/site_perl/5.8.8/LWP/Protocol/ftp.pm line 398 ok t/99-pod..........ok Failed Test Stat Wstat Total Fail List of Failed ------------------------------------------------------------------------------- t/00-signature.t 1 1 1 Failed 1/3 test scripts. 1/20 subtests failed. Files=3, Tests=20, 15 wallclock secs ( 0.81 cusr + 0.08 csys = 0.89 CPU) Failed 1/3 test programs. 1/20 subtests failed. make: *** [test_dynamic] Error 255 [MSG] Successfully sent 'pass' report for 'chklinks-3.01' Module 'chklinks' tested successfully No errors testing all modules CPAN Terminal> q Exiting CPANPLUS shell imacat@rinse ~ %
On Mon Jul 24 05:44:51 2006, IMACAT wrote: Show quoted text
> Hi. This is imacat from Taiwan. CPANPLUS seems always sent > 'pass' > report if set 'force' to 1. It seems that setting 'force' to 1 turns > all the result to success, in order to install the package. This may > be right when install, but wrong when sending cpantest reports.
Thanks for reporting. This issue has been addressed with change 12591. I've also sent a patch to Ken WIlliams for CPANPLUS::Dist::Build. The new behaviour is demonstrated below: CPAN Terminal> t --force Devel::Fail::MakeTest Testing Devel::Fail::MakeTest Running [/opt/bin/perl -MCPANPLUS::Internals::Utils::Autoflush Makefile.PL ]... Writing Makefile for Devel::Fail::MakeTest Running [/usr/bin/make test]... PERL_DL_NONLAZY=1 /opt/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/ lib', 'blib/arch')" t/*.t t/fail....dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 1 Failed 1/1 tests, 0.00% okay Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------ - t/fail.t 1 256 1 1 100.00% 1 # Failed test in t/fail.t at line 2. # Looks like you failed 1 test of 1. Failed 1/1 test scripts, 0.00% okay. 1/1 subtests failed, 0.00% okay. make: *** [test_dynamic] Error 1 [ERROR] MAKE TEST failed: No such file or directory PERL_DL_NONLAZY=1 /opt/bin/perl "- MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/fail....dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 1 Failed 1/1 tests, 0.00% okay Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------ - t/fail.t 1 256 1 1 100.00% 1 # Failed test in t/fail.t at line 2. # Looks like you failed 1 test of 1. Failed 1/1 test scripts, 0.00% okay. 1/1 subtests failed, 0.00% okay. make: *** [test_dynamic] Error 1 Test report prepared for module 'Devel::Fail::MakeTest'. Would you like to send it? (You can edit it if you like) Would you like to send the test report? [y/N]:
On 2006-08-01 16:42:18 星期二, KANE wrote: Show quoted text
> Thanks for reporting. This issue has been addressed with change 12591. > I've also sent a patch to Ken WIlliams for CPANPLUS::Dist::Build.
Thank you. I'm very appreciated.