cPanel-TaskQueue v0.903 Perl 5 v5.24.0 MSWin32-x86-multi-thread

Status
Fail
From
Alexandr Ciornii (CHORNY)
Dist
cPanel-TaskQueue v0.903
Platform
Perl 5 v5.24.0 MSWin32-x86-multi-thread
Date
2022-04-14 18:39:01
ID
2daf7c59-6bf8-1014-9c69-6fa450ebf859
This distribution has been tested as part of the CPAN Testers
project, supporting the Perl programming language.  See
http://wiki.cpantesters.org/ for more information or email
questions to cpan-testers-discuss@perl.org


--
Dear cPanel, L. L. C.,

This is a computer-generated report for cPanel-TaskQueue-0.903
on perl 5.24.0, created by CPAN-Reporter-1.2018.

Thank you for uploading your work to CPAN.  However, there was a problem
testing your distribution.

If you think this report is invalid, please consult the CPAN Testers Wiki
for suggestions on how to avoid getting FAIL reports for missing library
or binary dependencies, unsupported operating systems, and so on:

http://wiki.cpantesters.org/wiki/CPANAuthorNotes

Sections of this report:

    * Tester comments
    * Program output
    * Prerequisites
    * Environment and other context

------------------------------
TESTER COMMENTS
------------------------------

Additional comments from tester:

this report is from an automated smoke testing program
and was not reviewed by a human for accuracy

------------------------------
PROGRAM OUTPUT
------------------------------

Output from 'C:\STRAWB~1\c\bin\dmake.exe test':

"C:\Strawberry240\perl\bin\perl.exe" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib\lib', 'blib\arch')" t/*.t
# Testing cPanel::TaskQueue 0.903
t/00.load.t ................................. ok
t/author-pod-syntax.t ....................... skipped: these tests are for testing by the author
t/statefile_bad_call_unlocked.t ............. ok
t/statefile_bad_policy.t .................... ok
t/statefile_filelocker_abandoned.t .......... ok
t/statefile_filelocker_bad_locks.t .......... ok
t/statefile_filelocker_bad_unlock.t ......... ok
'touch' is not recognized as an internal or external command,
operable program or batch file.

#   Failed test 'Empty: two messages found'
#   at t/statefile_filelocker_empty_lockfile.t line 42.
#          got: '0'
#     expected: '1'

#   Failed test 'Empty: Empty file message detected.'
#   at t/statefile_filelocker_empty_lockfile.t line 43.
#                   undef
#     doesn't match '(?^:info: .*?Old, but empty)'
'touch' is not recognized as an internal or external command,
operable program or batch file.

#   Failed test 'Medium: two messages found'
#   at t/statefile_filelocker_empty_lockfile.t line 65.
#          got: '0'
#     expected: '1'

#   Failed test 'Medium: Empty file message detected.'
#   at t/statefile_filelocker_empty_lockfile.t line 66.
#                   undef
#     doesn't match '(?^:info: .*?Old, but empty)'
# 0 is not between 55 and 70

#   Failed test 'Medium: expiration time is reasonable.'
#   at t/statefile_filelocker_empty_lockfile.t line 96.
# Looks like you failed 5 tests of 15.
t/statefile_filelocker_empty_lockfile.t ..... 
Dubious, test returned 5 (wstat 1280, 0x500)
Failed 5/15 subtests 

#   Failed test 'Expired: Stale message detected.'
#   at t/statefile_filelocker_expired_lockfile.t line 45.
#                   'warn: Removing abandoned lock file.'
#     doesn't match '(?^:info: .*?Stale lock)'
# 0 is not between 1 and 10

#   Failed test 'Expired: wait time.'
#   at t/statefile_filelocker_expired_lockfile.t line 58.
# Looks like you failed 2 tests of 3.
t/statefile_filelocker_expired_lockfile.t ... 
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/3 subtests 
t/statefile_filelocker_new.t ................ ok
t/statefile_filelocker_pid_clash.t .......... ok
t/statefile_filelocker_unlock_empty.t ....... ok
t/statefile_load.t .......................... ok
t/statefile_load_save.t ..................... ok
t/statefile_logging_policy.t ................ ok
t/statefile_new_bad_args.t .................. ok
t/taskqueue_bad_statefile.t ................. ok
t/taskqueue_bad_yaml_statefile.t ............ ok
t/taskqueue_basics.t ........................ ok
t/taskqueue_child_processor.t ............... ok
t/taskqueue_ctrl.t .......................... ok
t/taskqueue_deferral_bug.t .................. ok
t/taskqueue_delete_unprocessed.t ............ ok
t/taskqueue_dupes_and_overrides.t ........... ok
t/taskqueue_find_commands.t ................. ok
'sleep' is not recognized as an internal or external command,
operable program or batch file.
t/taskqueue_find_task.t ..................... ok
t/taskqueue_load.t .......................... ok
t/taskqueue_logging_policy.t ................ ok
'sleep' is not recognized as an internal or external command,
operable program or batch file.
'sleep' is not recognized as an internal or external command,
operable program or batch file.
'sleep' is not recognized as an internal or external command,
operable program or batch file.

#   Failed test 'correct number in process'
#   at t/taskqueue_long_processes.t line 49.
#          got: '4'
#     expected: '5'

#   Failed test 'Processing list is empty.'
#   at t/taskqueue_long_processes.t line 54.
#          got: '4'
#     expected: '5'

#   Failed test '1 command is correct'
#   at t/taskqueue_long_processes.t line 57.
#          got: 'sleep 12'
#     expected: 'sleep 11'

#   Failed test '2 command is correct'
#   at t/taskqueue_long_processes.t line 57.
#          got: 'sleep 13'
#     expected: 'sleep 12'

#   Failed test '3 command is correct'
#   at t/taskqueue_long_processes.t line 57.
#          got: 'sleep 14'
#     expected: 'sleep 13'

#   Failed test '4 command is correct'
#   at t/taskqueue_long_processes.t line 57.
#          got: 'sleep 15'
#     expected: 'sleep 14'

#   Failed test '5 processing task not found'
#   at t/taskqueue_long_processes.t line 61.

#   Failed test 'can't work too many in process.'
#   at t/taskqueue_long_processes.t line 65.
'sleep' is not recognized as an internal or external command,
operable program or batch file.
'sleep' is not recognized as an internal or external command,
operable program or batch file.
Attempting to relock 'C:\DOCUME~1\a\LOCALS~1\Temp\zGBiNVzmA1/statedir/tasks_queue.stor'. at C:\STRAWB~1\cpan\build\cPanel-TaskQueue-0.903-0\blib\lib/cPanel/StateFile.pm line 36.
cannot unlink file for C:\DOCUME~1\a\LOCALS~1\Temp\zGBiNVzmA1\statedir\tasks_queue.stor: Permission denied at C:/Strawberry240/perl/lib/File/Temp.pm line 1616.
cannot unlink file for C:\DOCUME~1\a\LOCALS~1\Temp\zGBiNVzmA1\statedir\tasks_queue.stor.lock: Permission denied at C:/Strawberry240/perl/lib/File/Temp.pm line 1616.
cannot remove directory for C:\DOCUME~1\a\LOCALS~1\Temp\zGBiNVzmA1\statedir: Directory not empty at C:/Strawberry240/perl/lib/File/Temp.pm line 1616.
cannot remove directory for C:/DOCUME~1/a/LOCALS~1/Temp/zGBiNVzmA1: Directory not empty at C:/Strawberry240/perl/lib/File/Temp.pm line 1616.
# Looks like your test exited with -1 just after 28.
'sleep' is not recognized as an internal or external command,
operable program or batch file.
'sleep' is not recognized as an internal or external command,
operable program or batch file.
t/taskqueue_long_processes.t ................ 
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 14/34 subtests 
t/taskqueue_missing_dir.t ................... ok
t/taskqueue_new_bad_args.t .................. ok
t/taskqueue_parameter_changes.t ............. ok
t/taskqueue_pausing.t ....................... ok
t/taskqueue_plugin_manager.t ................ ok
t/taskqueue_plugin_manager_load_all.t ....... ok
t/taskqueue_plugin_manager_load_named.t ..... ok
t/taskqueue_processor.t ..................... ok
t/taskqueue_processor_checked_system.t ...... skipped: checked_system tests do not work under Windows
t/taskqueue_processor_deferrable.t .......... ok
t/taskqueue_register_processors.t ........... ok
Invalid lock file: '-596' is not a PID. at C:\STRAWB~1\cpan\build\cPanel-TaskQueue-0.903-0\blib\lib/cPanel/StateFile.pm line 36.

#   Failed test 'Task has been rescheduled'
#   at t/taskqueue_retries.t line 69.
#          got: '0'
#     expected: '1'
Can't call method "retries_remaining" on an undefined value at t/taskqueue_retries.t line 70.
# Looks like your test exited with 255 just after 8.
t/taskqueue_retries.t ....................... 
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 10/17 subtests 
t/taskqueue_scheduler.t ..................... ok
t/taskqueue_scheduler_bad_statefile.t ....... ok
t/taskqueue_scheduler_bad_yaml_statefile.t .. ok
t/taskqueue_scheduler_logging_policy.t ...... ok
t/taskqueue_scheduler_long_processes.t ...... ok
t/taskqueue_scheduler_token.t ............... ok
t/taskqueue_scheduler_token_yaml.t .......... ok
t/taskqueue_task.t .......................... ok
t/taskqueue_task_bad_new.t .................. ok
t/taskqueue_task_clones.t ................... ok
cannot unlink file for tmp\queue\test_queue.stor: Permission denied at t/taskqueue_task_deferrable.t line 154.
cannot remove directory for ./tmp/queue: Directory not empty at t/taskqueue_task_deferrable.t line 154.

#   Failed test 'Partial deferral overlap: queue count starts correctly'
#   at t/taskqueue_task_deferrable.t line 176.
#          got: '5'
#     expected: '4'

#   Failed test 'Partial deferral overlap: process count starts correctly'
#   at t/taskqueue_task_deferrable.t line 178.
#          got: '1'
#     expected: '0'

#   Failed test 'Partial deferral overlap: Deferred tasks found in correct order.'
#   at t/taskqueue_task_deferrable.t line 186.
#     Structures begin differing at:
#          $got->[0] = 'TQ:TaskQueue:8'
#     $expected->[0] = undef

#   Failed test 'Partial deferral overlap (2 step): deferred count is correct'
#   at t/taskqueue_task_deferrable.t line 192.
#          got: '5'
#     expected: '2'

#   Failed test 'Partial deferral overlap (2 step): process count is correct'
#   at t/taskqueue_task_deferrable.t line 193.
#          got: '1'
#     expected: '2'
cannot unlink file for tmp\queue\test_queue.stor: Permission denied at t/taskqueue_task_deferrable.t line 196.
cannot remove directory for ./tmp/queue: Directory not empty at t/taskqueue_task_deferrable.t line 196.
cannot unlink file for tmp\queue\test_queue.stor: Permission denied at t/taskqueue_task_deferrable.t line 199.
cannot remove directory for tmp\queue: Directory not empty at t/taskqueue_task_deferrable.t line 199.
cannot remove directory for ./tmp: Directory not empty at t/taskqueue_task_deferrable.t line 199.
# Looks like you failed 5 tests of 34.
t/taskqueue_task_deferrable.t ............... 
Dubious, test returned 5 (wstat 1280, 0x500)
Failed 5/34 subtests 
t/taskqueue_task_load.t ..................... ok
t/taskqueue_task_mutate.t ................... ok
t/taskqueue_task_reconstitute.t ............. ok
t/taskqueue_task_retries.t .................. ok
t/taskqueue_task_userdata.t ................. ok

Test Summary Report
-------------------
t/statefile_filelocker_empty_lockfile.t   (Wstat: 1280 Tests: 15 Failed: 5)
  Failed tests:  1-2, 10-12
  Non-zero exit status: 5
t/statefile_filelocker_expired_lockfile.t (Wstat: 512 Tests: 3 Failed: 2)
  Failed tests:  2-3
  Non-zero exit status: 2
t/taskqueue_long_processes.t              (Wstat: 65280 Tests: 28 Failed: 8)
  Failed tests:  17, 19-25
  Non-zero exit status: 255
  Parse errors: Bad plan.  You planned 34 tests but ran 28.
t/taskqueue_retries.t                     (Wstat: 65280 Tests: 8 Failed: 1)
  Failed test:  8
  Non-zero exit status: 255
  Parse errors: Bad plan.  You planned 17 tests but ran 8.
t/taskqueue_task_deferrable.t             (Wstat: 1280 Tests: 34 Failed: 5)
  Failed tests:  28, 30-31, 33-34
  Non-zero exit status: 5
Files=57, Tests=780, 152 wallclock secs ( 0.18 usr +  0.43 sys =  0.61 CPU)
Result: FAIL
Failed 5/57 test programs. 21/780 subtests failed.
dmake.exe:  Error code 255, while making 'test_dynamic'

------------------------------
PREREQUISITES
------------------------------

Prerequisite modules loaded:

requires:

    Module              Need Have     
    ------------------- ---- ---------
    base                0    2.23     
    Fcntl               0    1.13     
    File::Path          0    2.12_01  
    File::Spec          0    3.63     
    Getopt::Long        0    2.49     
    parent              0    0.236    
    POSIX               0    1.65     
    Scalar::Util        0    1.47     
    Storable            0    2.56     
    strict              0    1.11     
    Term::ReadLine      0    1.15     
    Text::Wrap          0    2013.0523
    Unix::PID           0.21 0.23     
    warnings            0    1.36     
    YAML::Syck          0    1.29     

build_requires:

    Module              Need Have     
    ------------------- ---- ---------
    Carp                0    1.40     
    Cwd                 0    3.63     
    ExtUtils::MakeMaker 0    7.24     
    File::Temp          0    0.2304   
    FindBin             0    1.51     
    lib                 0    0.63     
    Test::Exception     0    0.43     
    Test::More          0    1.302073 

configure_requires:

    Module              Need Have     
    ------------------- ---- ---------
    ExtUtils::MakeMaker 0    7.24     


------------------------------
ENVIRONMENT AND OTHER CONTEXT
------------------------------

Environment variables:

    AUTOMATED_TESTING = 1
    COMSPEC = C:\WINDOWS\system32\cmd.exe
    NUMBER_OF_PROCESSORS = 1
    PATH = C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Git\cmd;C:\Strawberry240\c\bin;C:\Strawberry240\perl\site\bin;C:\Strawberry240\perl\bin
    PERL5LIB = 
    PERL5OPT = 
    PERL5_CPANPLUS_IS_RUNNING = 1652
    PERL5_CPAN_IS_RUNNING = 1652
    PERL5_CPAN_IS_RUNNING_IN_RECURSION = 1464,1652
    PERL_CR_SMOKER_CURRENT = cPanel-TaskQueue-0.903
    PERL_CR_SMOKER_RUNONCE = 1
    PERL_EXTUTILS_AUTOINSTALL = --defaultdeps
    PERL_HASH_SEED = 0x11111111
    PERL_MM_USE_DEFAULT = 1
    PROCESSOR_IDENTIFIER = x86 Family 16 Model 5 Stepping 3, AuthenticAMD
    TEMP = C:\DOCUME~1\a\LOCALS~1\Temp

Perl special variables (and OS-specific diagnostics, for MSWin32):

    $^X = C:\Strawberry240\perl\bin\perl.exe
    $UID/$EUID = 0 / 0
    $GID = 0
    $EGID = 0
    Win32::GetOSName = WinXP/.Net
    Win32::GetOSVersion = Service Pack 3, 5, 1, 2600, 2, 3, 0, 256, 1
    Win32::FsType = NTFS
    Win32::IsAdminUser = 1

Perl module toolchain versions installed:

    Module              Have    
    ------------------- --------
    CPAN                2.14    
    CPAN::Meta          2.150010
    Cwd                 3.63    
    ExtUtils::CBuilder  0.280225
    ExtUtils::Command   7.24    
    ExtUtils::Install   2.04    
    ExtUtils::MakeMaker 7.24    
    ExtUtils::Manifest  1.70    
    ExtUtils::ParseXS   3.31    
    File::Spec          3.63    
    JSON                2.90    
    JSON::PP            2.27400 
    Module::Build       0.4220  
    Module::Signature   0.81    
    Parse::CPAN::Meta   2.150010
    Test::Harness       3.36    
    Test::More          1.302073
    YAML                1.21    
    YAML::Syck          1.29    
    version             0.9917  


--

Summary of my perl5 (revision 5 version 24 subversion 0) configuration:
   
  Platform:
    osname=MSWin32, osvers=4.0, archname=MSWin32-x86-multi-thread
    uname='Win32 strawberry-perl 5.24.0.1-beta1 #1 Thu Dec 29 16:46:05 2016 i386'
    config_args='undef'
    hint=recommended, useposix=true, d_sigaction=undef
    useithreads=define, usemultiplicity=define
    use64bitint=undef, use64bitall=undef, uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='gcc', ccflags =' -s -O2 -DWIN32  -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -fwrapv -fno-strict-aliasing -mms-bitfields',
    optimize='-s -O2',
    cppflags='-DWIN32'
    ccversion='', gccversion='4.9.2', gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234, doublekind=3
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12, longdblkind=3
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='long long', lseeksize=8
    alignbytes=8, prototype=define
  Linker and Libraries:
    ld='g++', ldflags ='-s -L"C:\STRAWB~1\perl\lib\CORE" -L"C:\STRAWB~1\c\lib"'
    libpth=C:\STRAWB~1\c\lib C:\STRAWB~1\c\i686-w64-mingw32\lib C:\STRAWB~1\c\lib\gcc\i686-w64-mingw32\4.9.2
    libs=-lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 -lcomctl32
    perllibs=-lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 -lcomctl32
    libc=, so=dll, useshrplib=true, libperl=libperl524.a
    gnulibc_version=''
  Dynamic Linking:
    dlsrc=dl_win32.xs, dlext=xs.dll, d_dlsymun=undef, ccdlflags=' '
    cccdlflags=' ', lddlflags='-mdll -s -L"C:\STRAWB~1\perl\lib\CORE" -L"C:\STRAWB~1\c\lib"'


Characteristics of this binary (from libperl): 
  Compile-time options: HAS_TIMES HAVE_INTERP_INTERN MULTIPLICITY
                        PERLIO_LAYERS PERL_COPY_ON_WRITE
                        PERL_DONT_CREATE_GVSV
                        PERL_HASH_FUNC_ONE_AT_A_TIME_HARD
                        PERL_IMPLICIT_CONTEXT PERL_IMPLICIT_SYS
                        PERL_MALLOC_WRAP PERL_PRESERVE_IVUV USE_ITHREADS
                        USE_LARGE_FILES USE_LOCALE USE_LOCALE_COLLATE
                        USE_LOCALE_CTYPE USE_LOCALE_NUMERIC USE_LOCALE_TIME
                        USE_PERLIO USE_PERL_ATOF
  Built under MSWin32
  Compiled at Dec 29 2016 16:55:33
  %ENV:
    PERL5_CPANPLUS_IS_RUNNING="1652"
    PERL5_CPAN_IS_RUNNING="1652"
    PERL5_CPAN_IS_RUNNING_IN_RECURSION="1464,1652"
    PERL_CR_SMOKER_CURRENT="cPanel-TaskQueue-0.903"
    PERL_CR_SMOKER_RUNONCE="1"
    PERL_EXTUTILS_AUTOINSTALL="--defaultdeps"
    PERL_HASH_SEED="0x11111111"
    PERL_MM_USE_DEFAULT="1"
  @INC:
    C:/Strawberry240/perl/site/lib
    C:/Strawberry240/perl/vendor/lib
    C:/Strawberry240/perl/lib
    .