[Shipwright] FW: EXTERNAL: Re: Shipwright tests failure on CentOS using Software Collections Perl
Wenck, Samuel
samuel.wenck at lmco.com
Mon Dec 1 17:02:22 EST 2014
-----Original Message-----
From: Wenck, Samuel
Sent: Monday, December 01, 2014 5:02 PM
To: 'Jesse Vincent'
Subject: RE: EXTERNAL: Re: [Shipwright] Shipwright tests failure on CentOS using Software Collections Perl
Hi Jesse,
I was attempting to run that one test separately by pulling the command from the make file:
[root at samdev65 t]# PERL_DL_NONLAZY=1 "/opt/rh/perl516/root/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'inc', 'blib/lib', 'blib/arch')" 01.repo_check.t 01.repo_check.t .. Can't locate Shipwright.pm in @INC (@INC contains: /root/.cpan/build/Shipwright-2.4.39-1alEbn/t/inc /root/.cpan/build/Shipwright-2.4.39-1alEbn/t/blib/lib /root/.cpan/build/Shipwright-2.4.39-1alEbn/t/blib/arch /opt/rh/perl516/root/usr/local/lib64/perl5 /opt/rh/perl516/root/usr/local/share/perl5 /opt/rh/perl516/root/usr/lib64/perl5/vendor_perl /opt/rh/perl516/root/usr/share/perl5/vendor_perl /opt/rh/perl516/root/usr/lib64/perl5 /opt/rh/perl516/root/usr/share/perl5 .) at 01.repo_check.t line 4.
BEGIN failed--compilation aborted at 01.repo_check.t line 4.
01.repo_check.t .. Dubious, test returned 2 (wstat 512, 0x200) No subtests run
Test Summary Report
-------------------
01.repo_check.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output Files=1, Tests=0, 0 wallclock secs ( 0.03 usr + 0.01 sys = 0.04 CPU)
Result: FAIL
Failed 1/1 test programs. 0/0 subtests failed.
Your suggestion using prove also produces the same output:
[root at samdev65 t]# prove -lv 01.repo_check.t 01.repo_check.t .. Can't locate Shipwright.pm in @INC (@INC contains: /root/.cpan/build/Shipwright-2.4.39-1alEbn/t/lib /opt/rh/perl516/root/usr/local/lib64/perl5 /opt/rh/perl516/root/usr/local/share/perl5 /opt/rh/perl516/root/usr/lib64/perl5/vendor_perl /opt/rh/perl516/root/usr/share/perl5/vendor_perl /opt/rh/perl516/root/usr/lib64/perl5 /opt/rh/perl516/root/usr/share/perl5 .) at 01.repo_check.t line 4.
BEGIN failed--compilation aborted at 01.repo_check.t line 4.
Dubious, test returned 2 (wstat 512, 0x200) No subtests run
Test Summary Report
-------------------
01.repo_check.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output Files=1, Tests=0, 0 wallclock secs ( 0.02 usr + 0.00 sys = 0.02 CPU)
Result: FAIL
Hope this helps. thanks again, Sam
-----Original Message-----
From: Jesse Vincent [mailto:jesse at bestpractical.com]
Sent: Monday, December 01, 2014 4:55 PM
To: Wenck, Samuel
Cc: shipwright at lists.bestpractical.com
Subject: EXTERNAL: Re: [Shipwright] Shipwright tests failure on CentOS using Software Collections Perl
Can you run the test that's failing by hand with prove -lv? That might get us a better error.
On Mon, Dec 01, 2014 at 09:46:06PM +0000, Wenck, Samuel wrote:
> Greetings shipmates,
>
> I am attempting to install Shipwright 2.4.39 on a CentOS 6.5 VM under Perl 5.16 which is provided by the Software Collections RPM and the tests fail enough to stop the installation.
>
> I first enable Perl 5.16:
>
> [root at samdev65 ~]# scl enable perl516 bash
>
> I then attempt to install Shipwright:
>
> cpan[1]> install Shipwright
> Reading '/root/.cpan/Metadata'
> Database was generated on Mon, 01 Dec 2014 02:17:02 GMT Running
> install for module 'Shipwright'
> Checksum for
> /root/.cpan/sources/authors/id/S/SU/SUNNAVY/Shipwright-2.4.39.tar.gz
> ok Scanning cache /root/.cpan/build for sizes
> ......................................................................
> ......DONE 'YAML' not installed, will not store persistent state
> Configuring S/SU/SUNNAVY/Shipwright-2.4.39.tar.gz with Makefile.PL
> Cannot determine perl version info from lib/Shipwright.pm
> *** Module::AutoInstall version 1.06
> *** Checking for Perl dependencies...
> *** Since we're running under CPAN, I'll just let it take care
> of the dependency's installation later.
> [Core Features]
> - Test::More ...loaded. (1.001009)
> - IPC::Cmd ...loaded. (0.92)
> - ExtUtils::MakeMaker ...loaded. (7.02 >= 6.11)
> - Module::Build ...loaded. (0.4210)
> - App::CLI ...loaded. (0.313)
> - Algorithm::Dependency::Ordered ...loaded. (1.110)
> - Algorithm::Dependency::Source::HoA ...loaded. (1.110)
> - CPAN ...loaded. (2.05 >= 1.9205)
> - CPAN::DistnameInfo ...loaded. (0.12)
> - Class::Accessor::Fast ...loaded. (0.34)
> - File::Temp ...loaded. (0.22 >= 0.18)
> - File::Copy ...loaded. (2.23)
> - File::Copy::Recursive ...loaded. (0.38)
> - File::Spec ...loaded. (3.40)
> - File::Slurp ...loaded. (9999.19)
> - IPC::Run3 ...loaded. (0.048)
> - List::MoreUtils ...loaded. (0.33)
> - Log::Log4perl ...loaded. (1.46)
> - LWP::UserAgent ...loaded. (6.06)
> - Module::CoreList ...loaded. (5.20141020)
> - UNIVERSAL::require ...loaded. (0.17)
> - version ...loaded. (0.9907)
> - Module::Info ...loaded. (0.35)
> - YAML::Tiny ...loaded. (1.64)
> - IO::Uncompress::Bunzip2 ...loaded. (2.066)
> - IO::Uncompress::RawInflate ...loaded. (2.066 >= 2.012)
> - Archive::Tar ...loaded. (2.02)
> - Archive::Extract ...loaded. (0.74)
> - File::Compare ...loaded. (1.1006)
> - File::Path ...loaded. (2.08_01 >= 2.07)
> - File::Which ...loaded. (1.09)
> *** Module::AutoInstall configuration finished.
> Checking if your kit is complete...
> Looks good
> Generating a Unix-style Makefile
> Writing Makefile for Shipwright
> Writing MYMETA.yml and MYMETA.json
> SUNNAVY/Shipwright-2.4.39.tar.gz
> /opt/rh/perl516/root/usr/bin/perl Makefile.PL -- OK Running make for
> S/SU/SUNNAVY/Shipwright-2.4.39.tar.gz
> cp lib/Shipwright/Source/CPAN.pm blib/lib/Shipwright/Source/CPAN.pm
> cp lib/Shipwright/Script/Update.pm
> blib/lib/Shipwright/Script/Update.pm
> cp lib/Shipwright/Manual/Glossary.pod
> blib/lib/Shipwright/Manual/Glossary.pod
> cp lib/Shipwright.pm blib/lib/Shipwright.pm cp
> lib/Shipwright/Script.pm blib/lib/Shipwright/Script.pm cp
> lib/Shipwright/Script/Relocate.pm
> blib/lib/Shipwright/Script/Relocate.pm
> cp lib/Shipwright/Source/Compressed.pm
> blib/lib/Shipwright/Source/Compressed.pm
> cp lib/Shipwright/Backend/SVN.pm blib/lib/Shipwright/Backend/SVN.pm
> cp lib/Shipwright/Source/Base.pm blib/lib/Shipwright/Source/Base.pm
> cp lib/Shipwright/Script/Defaultbranch.pm
> blib/lib/Shipwright/Script/Defaultbranch.pm
> cp lib/Shipwright/Logger.pm blib/lib/Shipwright/Logger.pm cp
> lib/Shipwright/Manual/CustomizeBuild.pod
> blib/lib/Shipwright/Manual/CustomizeBuild.pod
> cp lib/Shipwright/Script/Requires.pm
> blib/lib/Shipwright/Script/Requires.pm
> cp lib/Shipwright/Backend/Base.pm blib/lib/Shipwright/Backend/Base.pm
> cp lib/Shipwright/Script/Maintain.pm
> blib/lib/Shipwright/Script/Maintain.pm
> cp lib/Shipwright/Manual.pod blib/lib/Shipwright/Manual.pod cp
> lib/Shipwright/Script/Delete.pm blib/lib/Shipwright/Script/Delete.pm
> cp lib/Shipwright/Source/Directory.pm
> blib/lib/Shipwright/Source/Directory.pm
> cp lib/Shipwright/Backend/Git.pm blib/lib/Shipwright/Backend/Git.pm
> cp lib/Shipwright/Script/Rename.pm
> blib/lib/Shipwright/Script/Rename.pm
> cp lib/Shipwright/Backend.pm blib/lib/Shipwright/Backend.pm cp
> lib/Shipwright/Manual/Tutorial.pod
> blib/lib/Shipwright/Manual/Tutorial.pod
> cp lib/Shipwright/Script/Flags.pm blib/lib/Shipwright/Script/Flags.pm
> cp lib/Shipwright/Backend/FS.pm blib/lib/Shipwright/Backend/FS.pm cp
> lib/Shipwright/Script/Ktf.pm blib/lib/Shipwright/Script/Ktf.pm cp
> lib/Shipwright/Source/Git.pm blib/lib/Shipwright/Source/Git.pm cp
> lib/Shipwright/Script/Import.pm blib/lib/Shipwright/Script/Import.pm
> cp lib/Shipwright/Script/Create.pm
> blib/lib/Shipwright/Script/Create.pm
> cp lib/Shipwright/Manual/UsingFlags.pod
> blib/lib/Shipwright/Manual/UsingFlags.pod
> cp lib/Shipwright/Backend/SVK.pm blib/lib/Shipwright/Backend/SVK.pm
> cp lib/Shipwright/Script/Help.pm blib/lib/Shipwright/Script/Help.pm
> cp lib/Shipwright/Manual/ENV.pod blib/lib/Shipwright/Manual/ENV.pod
> cp lib/Shipwright/Manual/UsingBranches.pod
> blib/lib/Shipwright/Manual/UsingBranches.pod
> cp lib/Shipwright/Manual/BuildMultiArchVessel.pod
> blib/lib/Shipwright/Manual/BuildMultiArchVessel.pod
> cp lib/Shipwright/Source/FTP.pm blib/lib/Shipwright/Source/FTP.pm cp
> lib/Shipwright/Script/List.pm blib/lib/Shipwright/Script/List.pm
> cp lib/Shipwright/Base.pm blib/lib/Shipwright/Base.pm cp
> lib/Shipwright/Source.pm blib/lib/Shipwright/Source.pm cp
> lib/Shipwright/Test.pm blib/lib/Shipwright/Test.pm cp
> lib/Shipwright/Util/PatchModuleBuild.pm
> blib/lib/Shipwright/Util/PatchModuleBuild.pm
> cp lib/Shipwright/Util.pm blib/lib/Shipwright/Util.pm cp
> lib/Shipwright/Source/Shipyard.pm
> blib/lib/Shipwright/Source/Shipyard.pm
> cp lib/Shipwright/Source/SVK.pm blib/lib/Shipwright/Source/SVK.pm cp
> lib/Shipwright/Source/HTTP.pm blib/lib/Shipwright/Source/HTTP.pm
> cp lib/Shipwright/Source/SVN.pm blib/lib/Shipwright/Source/SVN.pm cp
> lib/Shipwright/Util/CleanINC.pm blib/lib/Shipwright/Util/CleanINC.pm
> cp bin/shipwright-generate blib/script/shipwright-generate
> "/opt/rh/perl516/root/usr/bin/perl" "-Iinc" -MExtUtils::MY -e
> 'MY->fixin(shift)' -- blib/script/shipwright-generate cp
> bin/shipwright blib/script/shipwright
> "/opt/rh/perl516/root/usr/bin/perl" "-Iinc" -MExtUtils::MY -e
> 'MY->fixin(shift)' -- blib/script/shipwright Manifying 31 pod documents Manifying 15 pod documents
> SUNNAVY/Shipwright-2.4.39.tar.gz
> /usr/bin/make -- OK
> Running make test
> PERL_DL_NONLAZY=1 "/opt/rh/perl516/root/usr/bin/perl"
> "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef
> *Test::Harness::Switches; test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*.t t/*/*.t t/00.load.t ......... ok t/01.repo_check.t ... No such file or directory at /root/.cpan/build/Shipwright-2.4.39-q5_4G8/blib/lib/Shipwright/Backend/Base.pm line 133.
> # Looks like your test exited with 2 before it could output anything.
> t/01.repo_check.t ... Dubious, test returned 2 (wstat 512, 0x200)
> Failed 28/28 subtests t/02.shipwright.t ... ok t/03.backend.t ......
> ok t/04.source.t ....... ok t/05.util.t ......... 8/16 CPAN related
> output will be at /tmp/shipwright_cpan.log t/05.util.t ......... ok
> t/06.logger.t ....... ok t/07.script.t ....... ok t/08.build.t
> ........ ok t/10.flags.t ........ No such file or directory at
> /root/.cpan/build/Shipwright-2.4.39-q5_4G8/blib/lib/Shipwright/Backend/Base.pm line 133.
> # Looks like your test exited with 2 before it could output anything.
> t/10.flags.t ........ Dubious, test returned 2 (wstat 512, 0x200)
> Failed 3/3 subtests t/71.script_cmds.t .. skipped:
> SHIPWRIGHT_TEST_EXTRA is not set t/hello/fs.t ........ skipped:
> SHIPWRIGHT_TEST_EXTRA is not set t/hello/git.t ....... skipped:
> SHIPWRIGHT_TEST_EXTRA is not set t/hello/svk.t ....... skipped:
> SHIPWRIGHT_TEST_EXTRA is not set t/hello/svn.t ....... skipped:
> SHIPWRIGHT_TEST_EXTRA is not set
>
> Test Summary Report
> -------------------
> t/01.repo_check.t (Wstat: 512 Tests: 0 Failed: 0)
> Non-zero exit status: 2
> Parse errors: Bad plan. You planned 28 tests but ran 0.
> t/10.flags.t (Wstat: 512 Tests: 0 Failed: 0)
> Non-zero exit status: 2
> Parse errors: Bad plan. You planned 3 tests but ran 0.
> Files=15, Tests=117, 4 wallclock secs ( 0.08 usr 0.02 sys + 3.13
> cusr 0.41 csys = 3.64 CPU)
> Result: FAIL
> Failed 2/15 test programs. 0/117 subtests failed.
> make: *** [test_dynamic] Error 255
> SUNNAVY/Shipwright-2.4.39.tar.gz
> /usr/bin/make test -- NOT OK
> //hint// to see the cpan-testers results for installing this module, try:
> reports SUNNAVY/Shipwright-2.4.39.tar.gz Failed during this command:
> SUNNAVY/Shipwright-2.4.39.tar.gz : make_test NO
>
>
> I would appreciate any thoughts or suggestions as I would really like for the tests to pass.
> Thanks in advance, Sam
>
>
>
> _______________________________________________
> Shipwright mailing list
> Shipwright at lists.bestpractical.com
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/shipwright
--
More information about the Shipwright
mailing list