Skip Menu |

This queue is for tickets about the System-Command CPAN distribution.

Report information
The Basics
Id: 120972
Status: open
Priority: 0/
Queue: System-Command

People
Owner: Nobody in particular
Requestors: jason [...] froebe.net
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 1.118
Fixed in: (no value)



Subject: Tests fail on Strawberry Perl 5.24.1.1 (64bit) Windows 10
Platform: Strawberry Perl 5.24.1.1 (64bit) Windows 10 System::Command version: 1.118 Show quoted text
cpan> install System::Command
Database was generated on Tue, 04 Apr 2017 18:56:26 GMT Running install for module 'System::Command' Checksum for C:\Perl\STRAWB~1\cpan\sources\authors\id\B\BO\BOOK\System-Command-1.118.tar.gz ok Scanning cache C:\Perl\STRAWB~1\cpan\build for sizes ...............................................................-------------DONE Configuring B/BO/BOOK/System-Command-1.118.tar.gz with Makefile.PL Checking if your kit is complete... Looks good Generating a dmake-style Makefile Writing Makefile for System::Command Writing MYMETA.yml and MYMETA.json BOOK/System-Command-1.118.tar.gz C:\Perl\Strawberry\perl\bin\perl.exe Makefile.PL -- OK Running make for B/BO/BOOK/System-Command-1.118.tar.gz Show quoted text
---- Unsatisfied dependencies detected during ---- ---- BOOK/System-Command-1.118.tar.gz ---- Test::Command [build_requires,optional] cp lib/System/Command.pm blib\lib\System\Command.pm cp lib/System/Command/Reaper.pm blib\lib\System\Command\Reaper.pm BOOK/System-Command-1.118.tar.gz C:\Perl\STRAWB~1\c\bin\dmake.exe -- OK Running make test "C:\Perl\Strawberry\perl\bin\perl.exe" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib\lib', 'blib\arch')" t/*.t t/00-load.t .............. ok t/00-report-prereqs.t .... # # Versions for all modules listed in MYMETA.json (including optional ones): # # === Configure Requires === # # Module Want Have # ------------------- ---- ---- # ExtUtils::MakeMaker any 7.24 # # === Build Requires === # # Module Want Have # ------------------- ---- ---- # ExtUtils::MakeMaker any 7.24 # # === Test Requires === # # Module Want Have # ------------------- ---- -------- # ExtUtils::MakeMaker any 7.24 # File::Find any 1.34 # File::Spec any 3.63_01 # File::Temp any 0.2304 # Test::More any 1.302078 # # === Test Recommends === # # Module Want Have # ------------- -------- -------- # CPAN::Meta 2.120900 2.150010 # Test::Command any missing # Test::Output any 1.031 # # === Runtime Requires === # # Module Want Have # ------------ ---- ------- # Carp any 1.40 # Cwd any 3.63_01 # Data::Dumper any 2.161 # Fcntl any 1.13 # IO::Handle any 1.36 # IO::Select any 1.22 # IPC::Run any 0.94 # List::Util any 1.47 # POSIX any 1.65 # Scalar::Util any 1.47 # Symbol any 1.07 # constant any 1.33 # strict any 1.11 # warnings any 1.36 # t/00-report-prereqs.t .... ok t/01-load.t .............. ok t/10-command.t ........... 13/140 Warning: unable to close filehandle GEN11 properly: Bad file descriptor at t/10-comman d.t line 175. Warning: unable to close filehandle GEN7 properly: Bad file descriptor at t/10-command.t line 175. t/10-command.t ........... 30/140 Warning: unable to close filehandle GEN26 properly: Bad file descriptor at t/10-comman d.t line 175. Warning: unable to close filehandle GEN22 properly: Bad file descriptor at t/10-command.t line 175. t/10-command.t ........... 47/140 Warning: unable to close filehandle GEN41 properly: Bad file descriptor at t/10-comman d.t line 175. Warning: unable to close filehandle GEN37 properly: Bad file descriptor at t/10-command.t line 175. t/10-command.t ........... 63/140 Warning: unable to close filehandle GEN56 properly: Bad file descriptor at t/10-comman d.t line 175. Warning: unable to close filehandle GEN52 properly: Bad file descriptor at t/10-command.t line 175. t/10-command.t ........... 81/140 Warning: unable to close filehandle GEN71 properly: Bad file descriptor at t/10-comman d.t line 175. Warning: unable to close filehandle GEN67 properly: Bad file descriptor at t/10-command.t line 175. t/10-command.t ........... 97/140 Warning: unable to close filehandle GEN86 properly: Bad file descriptor at t/10-comman d.t line 175. Warning: unable to close filehandle GEN82 properly: Bad file descriptor at t/10-command.t line 175. t/10-command.t ........... 114/140 Warning: unable to close filehandle GEN101 properly: Bad file descriptor at t/10-comm and.t line 175. Warning: unable to close filehandle GEN97 properly: Bad file descriptor at t/10-command.t line 175. t/10-command.t ........... ok t/11-spawn-fail.t ........ skipped: This test script does not make sense under Win32 t/15-scope.t ............. Subroutine System::Command::Reaper::DESTROY redefined at t/15-scope.t line 28. t/15-scope.t ............. 1/31 # DESTROY System::Command=HASH(0x254fdf0) Warning: unable to close filehandle GEN11 properly: Bad file descriptor at t/15-scope.t line 44. Warning: unable to close filehandle GEN7 properly: Bad file descriptor at t/15-scope.t line 44. # DESTROY System::Command::Reaper=HASH(0x3835ea0) # DESTROY System::Command=HASH(0x383a698) Warning: unable to close filehandle GEN26 properly: Bad file descriptor at t/15-scope.t line 68, <GEN16> line 2. Warning: unable to close filehandle GEN22 properly: Bad file descriptor at t/15-scope.t line 68, <GEN16> line 2. # DESTROY System::Command::Reaper=HASH(0x383af08) # DESTROY System::Command=HASH(0x383a950) Warning: unable to close filehandle GEN41 properly: Bad file descriptor at t/15-scope.t line 79. Warning: unable to close filehandle GEN37 properly: Bad file descriptor at t/15-scope.t line 79. # DESTROY System::Command::Reaper=HASH(0x383e600) # DESTROY System::Command=HASH(0x3836008) Warning: unable to close filehandle GEN56 properly: Bad file descriptor at C:\Perl\STRAWB~1\cpan\build\System-Command-1. 118-1\blib\lib/System/Command.pm line 304. Warning: unable to close filehandle GEN52 properly: Bad file descriptor at C:\Perl\STRAWB~1\cpan\build\System-Command-1. 118-1\blib\lib/System/Command.pm line 304. # DESTROY System::Command::Reaper=HASH(0x383e9a8) t/15-scope.t ............. 16/31 # DESTROY System::Command=HASH(0x383e5e8) Warning: unable to close filehandle GEN71 properly: Bad file descriptor at t/15-scope.t line 101. Warning: unable to close filehandle GEN67 properly: Bad file descriptor at t/15-scope.t line 101. # DESTROY System::Command::Reaper=HASH(0x383ec60) # DESTROY System::Command=HASH(0x383ecd8) Warning: unable to close filehandle GEN86 properly: Bad file descriptor at t/15-scope.t line 141, <GEN77> line 3. Warning: unable to close filehandle GEN82 properly: Bad file descriptor at t/15-scope.t line 141. # DESTROY System::Command::Reaper=HASH(0x38382e8) # DESTROY System::Command=HASH(0x19c358) Warning: unable to close filehandle GEN101 properly: Bad file descriptor at C:\Perl\STRAWB~1\cpan\build\System-Command-1 .118-1\blib\lib/System/Command.pm line 309. Warning: unable to close filehandle GEN97 properly: Bad file descriptor at C:\Perl\STRAWB~1\cpan\build\System-Command-1. 118-1\blib\lib/System/Command.pm line 309. # DESTROY System::Command::Reaper=HASH(0x3838b28) t/15-scope.t ............. ok t/20-zombie.t ............ 3/30 # Failed test 'Unexpected warning: Warning: unable to close filehandle GEN11 properly: Bad file descriptor at t/20-zom bie.t line 68. # ' # at t/20-zombie.t line 41. # Failed test 'Unexpected warning: Warning: unable to close filehandle GEN7 properly: Bad file descriptor at t/20-zomb ie.t line 68. # ' # at t/20-zombie.t line 41. # $SIG{CHLD} = 'IGNORE' t/20-zombie.t ............ 25/30 # Failed test 'Warning about $SIG{CHLD}' # at t/20-zombie.t line 34. # 'Warning: unable to close filehandle GEN41 properly: Bad file descriptor at t/20-zombie.t line 123. # ' # doesn't match '(?^:^Child process already reaped, check for a SIGCHLD handler )' # Failed test 'Warning about $SIG{CHLD}' # at t/20-zombie.t line 34. # 'Warning: unable to close filehandle GEN37 properly: Bad file descriptor at t/20-zombie.t line 123. # ' # doesn't match '(?^:^Child process already reaped, check for a SIGCHLD handler )' # hunting for zombies # Failed test 'Warning about $SIG{CHLD}' # at t/20-zombie.t line 34. # 'Warning: unable to close filehandle GEN56 properly: Bad file descriptor at t/20-zombie.t line 141. # ' # doesn't match '(?^:^Child process already reaped, check for a SIGCHLD handler )' # Failed test 'Warning about $SIG{CHLD}' # at t/20-zombie.t line 34. # 'Warning: unable to close filehandle GEN52 properly: Bad file descriptor at t/20-zombie.t line 141. # ' # doesn't match '(?^:^Child process already reaped, check for a SIGCHLD handler )' t/20-zombie.t ............ 36/30 # Looks like you planned 30 tests but ran 36. # Looks like you failed 6 tests of 36 run. t/20-zombie.t ............ Dubious, test returned 6 (wstat 1536, 0x600) Failed 4/30 subtests t/21-loop_on.t ........... 6/7 Warning: unable to close filehandle GEN26 properly: Bad file descriptor at t/21-loop_on.t line 33, <GEN16> line 6. Warning: unable to close filehandle GEN22 properly: Bad file descriptor at t/21-loop_on.t line 33, <GEN16> line 6. t/21-loop_on.t ........... ok t/25-refopts.t ........... 1/18 Warning: unable to close filehandle GEN11 properly: Bad file descriptor at t/25-refopts. t line 21. Warning: unable to close filehandle GEN7 properly: Bad file descriptor at t/25-refopts.t line 21. t/25-refopts.t ........... 5/18 Warning: unable to close filehandle GEN26 properly: Bad file descriptor at t/25-refopts. t line 21. Warning: unable to close filehandle GEN22 properly: Bad file descriptor at t/25-refopts.t line 21. Warning: unable to close filehandle GEN41 properly: Bad file descriptor at t/25-refopts.t line 21. Warning: unable to close filehandle GEN37 properly: Bad file descriptor at t/25-refopts.t line 21. Warning: unable to close filehandle GEN56 properly: Bad file descriptor at t/25-refopts.t line 21. Warning: unable to close filehandle GEN52 properly: Bad file descriptor at t/25-refopts.t line 21. t/25-refopts.t ........... 13/18 Warning: unable to close filehandle GEN71 properly: Bad file descriptor at t/25-refopts .t line 21. Warning: unable to close filehandle GEN67 properly: Bad file descriptor at t/25-refopts.t line 21. Warning: unable to close filehandle GEN86 properly: Bad file descriptor at t/25-refopts.t line 21. Warning: unable to close filehandle GEN82 properly: Bad file descriptor at t/25-refopts.t line 21. t/25-refopts.t ........... ok t/90-command.t ........... skipped: Test::Command not available t/90-output.t ............ ok t/author-pod-coverage.t .. skipped: these tests are for testing by the author t/author-pod-syntax.t .... skipped: these tests are for testing by the author t/release-distmeta.t ..... skipped: these tests are for release candidate testing Test Summary Report ------------------- t/20-zombie.t (Wstat: 1536 Tests: 36 Failed: 10) Failed tests: 11-12, 29-36 Non-zero exit status: 6 Parse errors: Bad plan. You planned 30 tests but ran 36. Files=14, Tests=255, 27 wallclock secs ( 0.13 usr + 0.05 sys = 0.17 CPU) Result: FAIL Failed 1/14 test programs. 10/255 subtests failed. dmake.exe: Error code 255, while making 'test_dynamic' BOOK/System-Command-1.118.tar.gz C:\Perl\STRAWB~1\c\bin\dmake.exe test -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports BOOK/System-Command-1.118.tar.gz Stopping: 'install' failed for 'System::Command'. Failed during this command: BOOK/System-Command-1.118.tar.gz : make_test NO
cpan>
On Wed Apr 05 12:00:31 2017, jason@froebe.net wrote: Show quoted text
> Platform: Strawberry Perl 5.24.1.1 (64bit) Windows 10 > System::Command version: 1.118
From what I can see, all the test failures are caused by this unexpected warning: Show quoted text
> Warning: unable to close filehandle GEN67 properly: Bad file descriptor at ...
If you're trying to install it, a force install should install a working module. I need to figure out where this warning comes from, and how to avoid it. Thanks for the report, -- BooK
thank you

Message body is not shown because it is too large.