While I applaud the value of automated testing, in this case it is entirely useless.
The AFS-Command module, similar to other modules that are designed to interact with complex client/server infrastructure (eg. any DBD::* module that connects to an RDBMS) can not be tested without some manual configuration. Testing this module requires that the user have AFS administrative priveledges, and that the CONFIG file be edited to specify the servers and partitions on which the test AFS volumes will be created and manipulated. If there is an automated process that performs this test, then it needs to skip my module, because without some intelligent hand holding by someone who really understand AFS, this test is going to fail everytime. >>>>> "nothingmuch" == nothingmuch <[EMAIL PROTECTED]> writes: nothingmuch> This distribution has been tested as part of the cpan-testers nothingmuch> effort to test as many new uploads to CPAN as possible. See nothingmuch> http://testers.cpan.org/ nothingmuch> Please cc any replies to [EMAIL PROTECTED] to keep other nothingmuch> test volunteers informed and to prevent any duplicate effort. nothingmuch> -- nothingmuch> This is an error report generated automatically by CPANPLUS, nothingmuch> version 0.045. nothingmuch> Below is the error stack during 'make test': nothingmuch> PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t nothingmuch> t/00vos_basic..........Use of uninitialized value in pattern match (m//) at t/00vos_basic.t line 27. nothingmuch> Error running vos help. Unable to configure AFS::Command::VOS at t/00vos_basic.t line 113 nothingmuch> Unsupported vos operation 'create' nothingmuch> at t/00vos_basic.t line 113 nothingmuch> Unable to obtain arguments for AFS::Command::VOS->create at t/00vos_basic.t line 113 nothingmuch> Use of uninitialized value in concatenation (.) or string at t/00vos_basic.t line 125. nothingmuch> Unable to create volume 'afscmd.23887' on server 'server1:/vicepa'in cell 'your.cell.name' nothingmuch> Errors from vos command: nothingmuch> The following temporary volumes were created, and may be left over: nothingmuch> afscmd.23887 nothingmuch> dubious nothingmuch> Test returned status 2 (wstat 512, 0x200) nothingmuch> DIED. FAILED tests 3-73 nothingmuch> Failed 71/73 tests, 2.74% okay nothingmuch> t/01vos_dumprestore....Use of uninitialized value in pattern match (m//) at t/01vos_dumprestore.t line 27. nothingmuch> Error running vos help. Unable to configure AFS::Command::VOS at t/01vos_dumprestore.t line 119 nothingmuch> Unsupported vos operation 'create' nothingmuch> at t/01vos_dumprestore.t line 119 nothingmuch> Unable to obtain arguments for AFS::Command::VOS->create at t/01vos_dumprestore.t line 119 nothingmuch> Use of uninitialized value in concatenation (.) or string at t/01vos_dumprestore.t line 132. nothingmuch> Unable to create volume 'afscmd.23889' on server 'server1:/vicepa'in cell 'your.cell.name' nothingmuch> Errors from vos command: nothingmuch> dubious nothingmuch> Test returned status 2 (wstat 512, 0x200) nothingmuch> DIED. FAILED tests 3-19 nothingmuch> Failed 17/19 tests, 10.53% okay nothingmuch> t/02vos_volserver......Use of uninitialized value in pattern match (m//) at t/02vos_volserver.t line 27. nothingmuch> Error running vos help. Unable to configure AFS::Command::VOS at t/02vos_volserver.t line 106 nothingmuch> Unsupported vos operation 'listpart' nothingmuch> at t/02vos_volserver.t line 106 nothingmuch> Unable to obtain arguments for AFS::Command::VOS->listpart at t/02vos_volserver.t line 106 nothingmuch> Use of uninitialized value in concatenation (.) or string at t/02vos_volserver.t line 116. nothingmuch> Unable to query partinfo on server 'server1', in cell 'your.cell.name': nothingmuch> dubious nothingmuch> Test returned status 2 (wstat 512, 0x200) nothingmuch> DIED. FAILED tests 3-21 nothingmuch> Failed 19/21 tests, 9.52% okay nothingmuch> t/10bos_basic..........Use of uninitialized value in pattern match (m//) at t/10bos_basic.t line 26. nothingmuch> Error running bos help. Unable to configure AFS::Command::BOS at t/10bos_basic.t line 73 nothingmuch> Unsupported bos operation 'getdate' nothingmuch> at t/10bos_basic.t line 73 nothingmuch> Unable to obtain arguments for AFS::Command::BOS->getdate at t/10bos_basic.t line 73 nothingmuch> Use of uninitialized value in concatenation (.) or string at t/10bos_basic.t line 84. nothingmuch> Unable to getdate for bosserver: nothingmuch> dubious nothingmuch> Test returned status 2 (wstat 512, 0x200) nothingmuch> DIED. FAILED tests 3-48 nothingmuch> Failed 46/48 tests, 4.17% okay nothingmuch> t/20fs_basic...........Use of uninitialized value in pattern match (m//) at t/20fs_basic.t line 26. nothingmuch> Error running fs help. Unable to configure AFS::Command::FS at t/20fs_basic.t line 77 nothingmuch> Unsupported fs operation 'checkservers' nothingmuch> at t/20fs_basic.t line 77 nothingmuch> Unable to obtain arguments for AFS::Command::FS->checkservers at t/20fs_basic.t line 77 nothingmuch> Use of uninitialized value in concatenation (.) or string at t/20fs_basic.t line 83. nothingmuch> Unable to call checkservers: nothingmuch> dubious nothingmuch> Test returned status 2 (wstat 512, 0x200) nothingmuch> DIED. FAILED tests 3-124 nothingmuch> Failed 122/124 tests, 1.61% okay nothingmuch> t/30pts_basic..........Use of uninitialized value in pattern match (m//) at t/30pts_basic.t line 26. nothingmuch> Error running pts help. Unable to configure AFS::Command::PTS at t/30pts_basic.t line 78 nothingmuch> Unsupported pts operation 'listmax' nothingmuch> at t/30pts_basic.t line 78 nothingmuch> Unable to obtain arguments for AFS::Command::PTS->listmax at t/30pts_basic.t line 78 nothingmuch> Use of uninitialized value in concatenation (.) or string at t/30pts_basic.t line 87. nothingmuch> Unable to call listmax: nothingmuch> dubious nothingmuch> Test returned status 2 (wstat 512, 0x200) nothingmuch> DIED. FAILED tests 3-58 nothingmuch> Failed 56/58 tests, 3.45% okay nothingmuch> t/40fs_complex.........Error running vos help. Unable to configure AFS::Command::VOS at t/40fs_complex.t line 135 nothingmuch> Unsupported vos operation 'create' nothingmuch> at t/40fs_complex.t line 135 nothingmuch> Unable to obtain arguments for AFS::Command::VOS->create at t/40fs_complex.t line 135 nothingmuch> Use of uninitialized value in concatenation (.) or string at t/40fs_complex.t line 147. nothingmuch> Unable to create volume 'afscmd.23899' on server 'server1:/vicepa'in cell 'your.cell.name' nothingmuch> Errors from vos command: nothingmuch> The following temporary volumes were created, and may be left over: nothingmuch> afscmd.23899 nothingmuch> dubious nothingmuch> Test returned status 2 (wstat 512, 0x200) nothingmuch> DIED. FAILED tests 5-44 nothingmuch> Failed 40/44 tests, 9.09% okay nothingmuch> t/99pts_cleanup........Use of uninitialized value in pattern match (m//) at t/99pts_cleanup.t line 26. nothingmuch> Error running pts help. Unable to configure AFS::Command::PTS at t/99pts_cleanup.t line 75 nothingmuch> Unsupported pts operation 'delete' nothingmuch> at t/99pts_cleanup.t line 75 nothingmuch> Unable to obtain arguments for AFS::Command::PTS->delete at t/99pts_cleanup.t line 75 nothingmuch> Use of uninitialized value in concatenation (.) or string at t/99pts_cleanup.t line 85. nothingmuch> Unable to delete pts entries: nothingmuch> $pts = bless( { nothingmuch> 'command' => 'pts', nothingmuch> 'operation' => 'delete' nothingmuch> }, 'AFS::Command::PTS' ); nothingmuch> dubious nothingmuch> Test returned status 2 (wstat 512, 0x200) nothingmuch> DIED. FAILED test 3 nothingmuch> Failed 1/3 tests, 66.67% okay nothingmuch> Failed Test Stat Wstat Total Fail Failed List of Failed nothingmuch> ------------------------------------------------------------------------------- nothingmuch> t/00vos_basic.t 2 512 73 141 193.15% 3-73 nothingmuch> t/01vos_dumprestore.t 2 512 19 33 173.68% 3-19 nothingmuch> t/02vos_volserver.t 2 512 21 37 176.19% 3-21 nothingmuch> t/10bos_basic.t 2 512 48 91 189.58% 3-48 nothingmuch> t/20fs_basic.t 2 512 124 243 195.97% 3-124 nothingmuch> t/30pts_basic.t 2 512 58 111 191.38% 3-58 nothingmuch> t/40fs_complex.t 2 512 44 79 179.55% 5-44 nothingmuch> t/99pts_cleanup.t 2 512 3 1 33.33% 3 nothingmuch> Failed 8/8 test scripts, 0.00% okay. 372/390 subtests failed, 4.62% okay. nothingmuch> make: *** [test_dynamic] Error 2 nothingmuch> Additional comments: nothingmuch> -- nothingmuch> Summary of my perl5 (revision 5.0 version 8 subversion 1) configuration: nothingmuch> Platform: nothingmuch> osname=darwin, osvers=6.8, archname=darwin nothingmuch> uname='darwin eris.woobling.org 6.8 darwin kernel version 6.8: wed sep 10 15:20:55 pdt 2003; root:xnuxnu-344.49.obj~2release_ppc power macintosh powerpc ' nothingmuch> config_args='' nothingmuch> hint=previous, useposix=true, d_sigaction=define nothingmuch> usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef nothingmuch> useperlio=define d_sfio=undef uselargefiles=define usesocks=undef nothingmuch> use64bitint=undef use64bitall=undef uselongdouble=undef nothingmuch> usemymalloc=n, bincompat5005=undef nothingmuch> Compiler: nothingmuch> cc='cc', ccflags ='-pipe -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -I/usr/local/include', nothingmuch> optimize='-O3 -maltivec -mcpu=G4 -mtune=G4 -funroll-loops -fmerge-constants -fdelete-null-pointer-checks -fexpensive-optimizations -fforce-addr -fforce-mem -floop-optimize -foptimize-register-move -frename-registers', nothingmuch> cppflags='-no-cpp-precomp -pipe -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -I/usr/local/include -pipe -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -I/usr/local/include' nothingmuch> ccversion='', gccversion='3.3 20030304 (Apple Computer, Inc. build 1493)', gccosandvers='' nothingmuch> intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321 nothingmuch> d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8 nothingmuch> ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 nothingmuch> alignbytes=8, prototype=define nothingmuch> Linker and Libraries: nothingmuch> ld='cc', ldflags =' -flat_namespace -L/usr/local/lib' nothingmuch> libpth=/usr/local/lib /usr/lib nothingmuch> libs=-ldl -lm -lc nothingmuch> perllibs=-ldl -lm -lc nothingmuch> libc=/usr/lib/libc.dylib, so=dylib, useshrplib=true, libperl=libperl.dylib nothingmuch> gnulibc_version='' nothingmuch> Dynamic Linking: nothingmuch> dlsrc=dl_dyld.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' ' nothingmuch> cccdlflags=' ', lddlflags=' -flat_namespace -bundle -undefined suppress -L/usr/local/lib'
