uperl / AnyEvent-FTP

2 stars 2 forks source link

Fails on MSWin32 with either non-English locale OR missing ls command #23

Closed plicease closed 7 years ago

plicease commented 9 years ago

http://www.cpantesters.org/cpan/report/f7d15dfa-6bfd-1014-89ac-035dc55a3fca

Report for AnyEvent-FTP-0.07
Raw Back
From: Alexandr Ciornii CHORNY
Subject: FAIL AnyEvent-FTP-0.07 v5.16.3 Windows (Win32)
Date: 2015-02-12T12:03:23Z

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 Graham Ollis,

This is a computer-generated report for AnyEvent-FTP-0.07
on perl 5.16.3, created by CPAN-Reporter-1.2010_01.

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:\strawberry163\perl\bin\perl.exe ./Build test':

# 
# 
# 
# HARNESS_ACTIVE=1
# HARNESS_VERSION=3.30
# PERL5LIB=C:\strawberry163\cpan\build\AnyEvent-FTP-0.07-23pION\blib\lib;C:\strawberry163\cpan\build\AnyEvent-FTP-0.07-23pION\blib\arch
# PERL5_CPANPLUS_IS_RUNNING=1152
# PERL5_CPAN_IS_RUNNING=1152
# PERL5_CPAN_IS_RUNNING_IN_RECURSION=1680,1152
# PERL_CR_SMOKER_CURRENT=App-ManiacDownloader-0.0.11
# PERL_DL_NONLAZY=1
# PERL_EXTUTILS_AUTOINSTALL=--defaultdeps
# PERL_MM_USE_DEFAULT=1
# 
# 
# 
# PERL5LIB path
# C:\strawberry163\cpan\build\AnyEvent-FTP-0.07-23pION\blib\lib
# C:\strawberry163\cpan\build\AnyEvent-FTP-0.07-23pION\blib\arch
# 
# 
# 
# perl            v5.16.3
# AnyEvent        7.07
# EV              4.16
# File::HomeDir   1.00
# File::chdir     0.1008
# List::MoreUtils 0.33
# Module::Build   0.4205
# Moo             1.004002
# Path::Class     0.33
# PerlIO::eol     0.14
# URI             1.60
# 
# 
# 
t/00_diag.t .................................. ok
# AnyEvent::Impl::EV
t/00_event_loop_diag.t ....................... ok
t/01_use.t ................................... ok
t/aef_client_response.t ...................... ok
t/aef_client_role_responsebuffer.t ........... ok
t/aef_client_site.t .......................... ok
t/aef_role_event.t ........................... ok
t/aef_server_connection.t .................... ok
t/aef_server_unambiguous_response_encoder.t .. ok
# [220] aeftpd 0.07
t/client_00.t ................................ ok
t/client_allo.t .............................. ok
t/client_appe.t .............................. ok
t/client_appe_2.t ............................ ok
t/client_connect.t ........................... ok
t/client_cwd.t ............................... ok
t/client_dele.t .............................. ok
t/client_help.t .............................. ok
"ls" ­¥ ï¥âáï ¢­ãâ७­¥© ¨«¨ ¢­¥è­¥©
ª®¬ ­¤®©, ¨á¯®«­ï¥¬®© ¯à®£à ¬¬®© ¨«¨ ¯ ª¥â­ë¬ ä ©«®¬.

    #   Failed test 'list length 4'
    #   at t/client_list.t line 58.
    #          got: '1'
    #     expected: '4'

    #   Failed test 'has foo.txt'
    #   at t/client_list.t line 59.
    #          got: '0'
    #     expected: '1'

    #   Failed test 'has bar.txt'
    #   at t/client_list.t line 60.
    #          got: '0'
    #     expected: '1'

    #   Failed test 'has baz.txt'
    #   at t/client_list.t line 61.
    #          got: '0'
    #     expected: '1'

    #   Failed test 'has dir2'
    #   at t/client_list.t line 62.
    #          got: '0'
    #     expected: '1'
    # Looks like you failed 5 tests of 6.

#   Failed test 'listing with directory'
#   at t/client_list.t line 64.
"ls" ­¥ ï¥âáï ¢­ãâ७­¥© ¨«¨ ¢­¥è­¥©
ª®¬ ­¤®©, ¨á¯®«­ï¥¬®© ¯à®£à ¬¬®© ¨«¨ ¯ ª¥â­ë¬ ä ©«®¬.

    #   Failed test 'list length 3'
    #   at t/client_list.t line 78.
    #          got: '1'
    #     expected: '3'

    #   Failed test 'has dr.pepper.txt'
    #   at t/client_list.t line 79.
    #          got: '0'
    #     expected: '1'

    #   Failed test 'has coke.txt'
    #   at t/client_list.t line 80.
    #          got: '0'
    #     expected: '1'

    #   Failed test 'has pepsi.txt'
    #   at t/client_list.t line 81.
    #          got: '0'
    #     expected: '1'
    # Looks like you failed 4 tests of 5.

#   Failed test 'listing in sub directory'
#   at t/client_list.t line 83.
"ls" ­¥ ï¥âáï ¢­ãâ७­¥© ¨«¨ ¢­¥è­¥©
ª®¬ ­¤®©, ¨á¯®«­ï¥¬®© ¯à®£à ¬¬®© ¨«¨ ¯ ª¥â­ë¬ ä ©«®¬.

    #   Failed test 'list length 4'
    #   at t/client_list.t line 58.
    #          got: '1'
    #     expected: '4'

    #   Failed test 'has foo.txt'
    #   at t/client_list.t line 59.
    #          got: '0'
    #     expected: '1'

    #   Failed test 'has bar.txt'
    #   at t/client_list.t line 60.
    #          got: '0'
    #     expected: '1'

    #   Failed test 'has baz.txt'
    #   at t/client_list.t line 61.
    #          got: '0'
    #     expected: '1'

    #   Failed test 'has dir2'
    #   at t/client_list.t line 62.
    #          got: '0'
    #     expected: '1'
    # Looks like you failed 5 tests of 6.

#   Failed test 'listing with directory'
#   at t/client_list.t line 64.
"ls" ­¥ ï¥âáï ¢­ãâ७­¥© ¨«¨ ¢­¥è­¥©
ª®¬ ­¤®©, ¨á¯®«­ï¥¬®© ¯à®£à ¬¬®© ¨«¨ ¯ ª¥â­ë¬ ä ©«®¬.

    #   Failed test 'list length 3'
    #   at t/client_list.t line 78.
    #          got: '1'
    #     expected: '3'

    #   Failed test 'has dr.pepper.txt'
    #   at t/client_list.t line 79.
    #          got: '0'
    #     expected: '1'

    #   Failed test 'has coke.txt'
    #   at t/client_list.t line 80.
    #          got: '0'
    #     expected: '1'

    #   Failed test 'has pepsi.txt'
    #   at t/client_list.t line 81.
    #          got: '0'
    #     expected: '1'
    # Looks like you failed 4 tests of 5.

#   Failed test 'listing in sub directory'
#   at t/client_list.t line 83.
# Looks like you failed 4 tests of 4.
t/client_list.t .............................. 
Dubious, test returned 4 (wstat 1024, 0x400)
Failed 4/4 subtests 
t/client_login.t ............................. ok
t/client_mkd.t ............................... ok
t/client_nlst.t .............................. ok
t/client_noop.t .............................. ok
"ls" ­¥ ï¥âáï ¢­ãâ७­¥© ¨«¨ ¢­¥è­¥©
ª®¬ ­¤®©, ¨á¯®«­ï¥¬®© ¯à®£à ¬¬®© ¨«¨ ¯ ª¥â­ë¬ ä ©«®¬.

#   Failed test 'has foo.txt in listing'
#   at t/client_remote.t line 65.
#          got: '0'
#     expected: '1'
"ls" ­¥ ï¥âáï ¢­ãâ७­¥© ¨«¨ ¢­¥è­¥©
ª®¬ ­¤®©, ¨á¯®«­ï¥¬®© ¯à®£à ¬¬®© ¨«¨ ¯ ª¥â­ë¬ ä ©«®¬.

#   Failed test 'has bar.txt in listing'
#   at t/client_remote.t line 94.
#          got: '0'
#     expected: '1'
"ls" ­¥ ï¥âáï ¢­ãâ७­¥© ¨«¨ ¢­¥è­¥©
ª®¬ ­¤®©, ¨á¯®«­ï¥¬®© ¯à®£à ¬¬®© ¨«¨ ¯ ª¥â­ë¬ ä ©«®¬.

#   Failed test 'has foo.txt in listing'
#   at t/client_remote.t line 65.
#          got: '0'
#     expected: '1'
"ls" ­¥ ï¥âáï ¢­ãâ७­¥© ¨«¨ ¢­¥è­¥©
ª®¬ ­¤®©, ¨á¯®«­ï¥¬®© ¯à®£à ¬¬®© ¨«¨ ¯ ª¥â­ë¬ ä ©«®¬.

#   Failed test 'has bar.txt in listing'
#   at t/client_remote.t line 94.
#          got: '0'
#     expected: '1'
# Looks like you failed 4 tests of 58.
t/client_remote.t ............................ 
Dubious, test returned 4 (wstat 1024, 0x400)
Failed 4/58 subtests 
t/client_rename.t ............................ ok
t/client_rest.t .............................. ok
t/client_retr.t .............................. ok
t/client_rmd.t ............................... ok
t/client_site_proftpd.t ...................... skipped: requires Proftpd to test against
t/client_stat.t .............................. ok
cannot unlink file for C:\DOCUME~1\c\LOCALS~1\Temp\2wvD3VLLU_\flub.txt: Permission denied at C:/strawberry163/perl/lib/File/Temp.pm line 902.
cannot remove directory for C:\DOCUME~1\c\LOCALS~1\Temp\2wvD3VLLU_: Directory not empty at C:/strawberry163/perl/lib/File/Temp.pm line 902.
cannot unlink file for C:\DOCUME~1\c\LOCALS~1\Temp\UGq9TUnNy7\flub.txt: Permission denied at C:/strawberry163/perl/lib/File/Temp.pm line 902.
cannot remove directory for C:\DOCUME~1\c\LOCALS~1\Temp\UGq9TUnNy7: Directory not empty at C:/strawberry163/perl/lib/File/Temp.pm line 902.
t/client_stor.t .............................. ok
t/client_stou.t .............................. ok
t/client_syst.t .............................. ok
t/client_type.t .............................. ok
t/client_uri.t ............................... ok
t/server_fs.t ................................ ok
t/server_fsrw_ascii.t ........................ ok
t/server_fsrw_help_coverage.t ................ ok
t/server_fsrw_unauth.t ....................... ok
t/server_memory_cdup.t ....................... ok
t/server_memory_cwd.t ........................ ok
t/server_memory_dele.t ....................... ok
t/server_memory_help_coverage.t .............. ok
t/server_memory_mkd.t ........................ ok
t/server_memory_nlst.t ....................... ok
t/server_memory_pwd.t ........................ ok
t/server_memory_rename.t ..................... ok
t/server_memory_rmd.t ........................ ok
t/server_memory_size.t ....................... ok
t/server_memory_stat.t ....................... ok
t/server_role_auth.t ......................... ok
t/server_role_help.t ......................... ok
t/server_role_old.t .......................... ok
t/server_role_transferprep.t ................. ok
t/server_role_type.t ......................... ok
t/test_aefserver.t ........................... ok

Test Summary Report
-------------------
t/client_list.t                            (Wstat: 1024 Tests: 4 Failed: 4)
  Failed tests:  1-4
  Non-zero exit status: 4
t/client_remote.t                          (Wstat: 1024 Tests: 58 Failed: 4)
  Failed tests:  12, 23, 41, 52
  Non-zero exit status: 4
t/server_memory_dele.t                     (Wstat: 0 Tests: 10 Failed: 0)
  TODO passed:   9
t/server_memory_mkd.t                      (Wstat: 0 Tests: 14 Failed: 0)
  TODO passed:   13
t/server_memory_nlst.t                     (Wstat: 0 Tests: 11 Failed: 0)
  TODO passed:   10
t/server_memory_rename.t                   (Wstat: 0 Tests: 41 Failed: 0)
  TODO passed:   40
t/server_memory_rmd.t                      (Wstat: 0 Tests: 10 Failed: 0)
  TODO passed:   9
Files=55, Tests=886, 33 wallclock secs ( 0.15 usr +  0.36 sys =  0.51 CPU)
Result: FAIL
Failed 2/55 test programs. 8/886 subtests failed.

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

Prerequisite modules loaded:

requires:

    Module          Need     Have    
    --------------- -------- --------
    AnyEvent        0        7.07    
    File::chdir     0        0.1008  
    List::MoreUtils 0        0.33    
    Moo             1.001000 1.004002
    Path::Class     0.26     0.33    
    perl            5.010001 5.016003
    PerlIO::eol     0        0.14    
    URI             0        1.60    

build_requires:

    Module          Need     Have    
    --------------- -------- --------
    File::HomeDir   0.91     1.00    
    Module::Build   0.28     0.4205  
    perl            5.010001 5.016003

configure_requires:

    Module          Need     Have    
    --------------- -------- --------
    Module::Build   0.28     0.4205  
    perl            5.010    5.016003

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

Environment variables:

    AUTOMATED_TESTING = 1
    COMSPEC = C:\WINDOWS\system32\cmd.exe
    NUMBER_OF_PROCESSORS = 1
    PATH = C:\Program Files\Far Manager\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\strawberry163\c\bin;C:\strawberry163\perl\site\bin;C:\strawberry163\perl\bin
    PERL5LIB = 
    PERL5OPT = 
    PERL5_CPANPLUS_IS_RUNNING = 1152
    PERL5_CPAN_IS_RUNNING = 1152
    PERL5_CPAN_IS_RUNNING_IN_RECURSION = 1680,1152
    PERL_CR_SMOKER_CURRENT = App-ManiacDownloader-0.0.11
    PERL_EXTUTILS_AUTOINSTALL = --defaultdeps
    PERL_MM_USE_DEFAULT = 1
    PROCESSOR_IDENTIFIER = x86 Family 16 Model 5 Stepping 3, AuthenticAMD
    TEMP = C:\DOCUME~1\c\LOCALS~1\Temp
    TERM = dumb

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

    $^X = C:\strawberry163\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.00    
    CPAN::Meta          2.140640
    Cwd                 3.40    
    ExtUtils::CBuilder  0.280206
    ExtUtils::Command   1.17    
    ExtUtils::Install   1.58    
    ExtUtils::MakeMaker 6.64    
    ExtUtils::Manifest  1.61    
    ExtUtils::ParseXS   3.24    
    File::Spec          3.40    
    JSON                2.90    
    JSON::PP            2.27203 
    Module::Build       0.4205  
    Module::Signature   0.70    
    Parse::CPAN::Meta   1.4414  
    Test::Harness       3.30    
    Test::More          1.001002
    YAML                0.90    
    YAML::Syck          1.24    
    version             0.9902  

--

Summary of my perl5 (revision 5 version 16 subversion 3) configuration:

  Platform:
    osname=MSWin32, osvers=4.0, archname=MSWin32-x86-multi-thread
    uname='Win32 strawberry-perl 5.16.3.1 #1 Tue Mar 12 13:55:20 2013 i386'
    config_args='undef'
    hint=recommended, useposix=true, d_sigaction=undef
    useithreads=define, usemultiplicity=define
    useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
    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 -fno-strict-aliasing -mms-bitfields',
    optimize='-s -O2',
    cppflags='-DWIN32'
    ccversion='', gccversion='4.6.3', gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
    d_longlong=undef, longlongsize=8, d_longdbl=define, longdblsize=12
    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:\strawberry163\perl\lib\CORE" -L"C:\strawberry163\c\lib"'
    libpth=C:\strawberry163\c\lib C:\strawberry163\c\i686-w64-mingw32\lib
    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=libperl516.a
    gnulibc_version=''
  Dynamic Linking:
    dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' '
    cccdlflags=' ', lddlflags='-mdll -s -L"C:\strawberry163\perl\lib\CORE" -L"C:\strawberry163\c\lib"'

Characteristics of this binary (from libperl): 
  Compile-time options: HAS_TIMES HAVE_INTERP_INTERN MULTIPLICITY
                        PERLIO_LAYERS PERL_DONT_CREATE_GVSV
                        PERL_IMPLICIT_CONTEXT PERL_IMPLICIT_SYS
                        PERL_MALLOC_WRAP PERL_PRESERVE_IVUV PL_OP_SLAB_ALLOC
                        USE_ITHREADS USE_LARGE_FILES USE_LOCALE
                        USE_LOCALE_COLLATE USE_LOCALE_CTYPE
                        USE_LOCALE_NUMERIC USE_PERLIO USE_PERL_ATOF
  Built under MSWin32
  Compiled at Mar 12 2013 14:01:07
  %ENV:
    PERL5_CPANPLUS_IS_RUNNING="1152"
    PERL5_CPAN_IS_RUNNING="1152"
    PERL5_CPAN_IS_RUNNING_IN_RECURSION="1680,1152"
    PERL_CR_SMOKER_CURRENT="App-ManiacDownloader-0.0.11"
    PERL_EXTUTILS_AUTOINSTALL="--defaultdeps"
    PERL_MM_USE_DEFAULT="1"
  @INC:
    C:/strawberry163/perl/site/lib
    C:/strawberry163/perl/vendor/lib
    C:/strawberry163/perl/lib
    .
The CPAN Testers server is supported and funded by Birmingham Perl Mongers.
CPAN Testers Reports v is powered by Labyrinth v5.27
All data and statistics are © 1999-2014 CPAN Testers, and available under the Artistic License 2.0. Comments and design patches to barbie@cpan.org.

The CPAN Testers Family: 
Blog • Reports • Wiki • Statistics • PASS Matrix • Preferences • Metabase • Development • Dependencies • Matrix • Analysis • Admin

CPAN Testers, supporting the Perl programming language since 1999.
plicease commented 9 years ago

After reviewing some of the failures, it seems clear that the test suite will fail if either:

Suggest that we bundle PPT's ls for testing on windows, or perhaps use the dir command instead.

plicease commented 9 years ago

Note that it does not seem to be possible to set the locale per-process on windows, (setenv LANG=C) as you can in Unix.