PATH=/usr/bin:/bin:/home/fly1600/var/megalib/bin Start 2014-08-22T02:04:19 ActivePerl-1600 CPAN-2.00 Reading '/home/fly1600/var/cpan/Metadata' Database was generated on Fri, 22 Aug 2014 07:29:02 GMT Running make for S/SH/SHARYANTO/File-Write-Rotate-0.20.tar.gz Fetching with LWP: http://cpan.nas1.activestate.com/authors/id/S/SH/SHARYANTO/File-Write-Rotate-0.20.tar.gz Checksum for /home/fly1600/var/cpan/sources/authors/id/S/SH/SHARYANTO/File-Write-Rotate-0.20.tar.gz ok File-Write-Rotate-0.20/ File-Write-Rotate-0.20/README File-Write-Rotate-0.20/lib/ File-Write-Rotate-0.20/lib/File/ File-Write-Rotate-0.20/lib/File/Write/ File-Write-Rotate-0.20/lib/File/Write/Rotate.pm File-Write-Rotate-0.20/Makefile.PL File-Write-Rotate-0.20/Changes File-Write-Rotate-0.20/dist.ini File-Write-Rotate-0.20/LICENSE File-Write-Rotate-0.20/t/ File-Write-Rotate-0.20/t/00-compile.t File-Write-Rotate-0.20/t/rotate.t File-Write-Rotate-0.20/t/write.t File-Write-Rotate-0.20/t/release-pod-coverage.t File-Write-Rotate-0.20/t/release-pod-syntax.t File-Write-Rotate-0.20/t/release-rinci.t File-Write-Rotate-0.20/weaver.ini File-Write-Rotate-0.20/MANIFEST File-Write-Rotate-0.20/META.json File-Write-Rotate-0.20/META.yml CPAN.pm: Building S/SH/SHARYANTO/File-Write-Rotate-0.20.tar.gz >>> /home/fly1600/ap1600/bin/perl-static Makefile.PL closedir() attempted on invalid dirhandle GEN0 at /home/fly1600/ap1600/lib/DirHandle.pm line 51. Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for File::Write::Rotate Writing MYMETA.yml and MYMETA.json >>> make cp lib/File/Write/Rotate.pm blib/lib/File/Write/Rotate.pm Manifying blib/man3/File::Write::Rotate.3 SHARYANTO/File-Write-Rotate-0.20.tar.gz make -- OK Running make test >>> make test TEST_VERBOSE=1 PERL_DL_NONLAZY=1 /home/fly1600/ap1600/bin/perl-static "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(1, 'blib/lib', 'blib/arch')" t/*.t t/00-compile.t ............ 1..1 ok 1 - File/Write/Rotate.pm loaded ok ok t/release-pod-coverage.t .. skipped: these tests are for release candidate testing t/release-pod-syntax.t .... skipped: these tests are for release candidate testing t/release-rinci.t ......... skipped: these tests are for release candidate testing t/rotate.t ................ # Subtest: basic rotate ok 1 - files_after ok 2 - a -> a.1 ok 3 - a.2 -> a.2.gz ok 4 - a.2.gz -> a.3.gz ok 5 - b.1 untouched 1..5 ok 1 - basic rotate # Subtest: period, suffix ok 1 - files_after 1..1 ok 2 - period, suffix # Subtest: under tainting ok 1 - files_after 1..1 ok 3 - under tainting 1..3 ok t/write.t ................. # Subtest: basic ok 1 ok 2 1..2 ok 1 - basic # Subtest: binmode ':utf8' ok 1 - no 'Wide character in ...' warning ok 2 - file contents 1..2 ok 2 - binmode ':utf8' # Subtest: rotate by size ok 1 - period ok 2 ok 3 ok 4 1..4 ok 3 - rotate by size # Subtest: rotate by size = 20Kb ok 1 - first file exists and has 20Kb so far ok 2 - rotate files does not exists yet # printing one more message to force rotation bondaries ok 3 - new file exists and has 100 bytes ok 4 - rotate file exists and has 20Kb ok 5 - compress method returns true ok 6 - rotated file a.1 was compressed 1..6 ok 4 - rotate by size = 20Kb # Subtest: rotate by period, daily ok 1 - period ok 2 - got expected content in the file (1) ok 3 - got expected content in the file (2) ok 4 - got expected content in the file (3) ok 5 - compress method returns true ok 6 - rotated file a.2012-12-21 was compressed 1..6 ok 5 - rotate by period, daily # Subtest: rotate by period, monthly ok 1 - period ok 2 ok 3 ok 4 ok 5 - compress method returns true ok 6 - rotated file a.2012-12 was compressed 1..6 ok 6 - rotate by period, monthly # Subtest: rotate by period, yearly ok 1 - period ok 2 ok 3 ok 4 ok 5 - compress method returns true ok 6 - rotated file a.2012 was compressed 1..6 ok 7 - rotate by period, yearly # Subtest: rotate by period + size, suffix ok 1 - period ok 2 ok 3 ok 4 ok 5 ok 6 ok 7 ok 8 ok 9 - compress method returns true ok 10 - rotated file a.2012-12-21.log was compressed ok 11 - rotated file a.2012-12-21.log.1 was compressed ok 12 - rotated file a.2012-12-21.log.2 was compressed 1..12 ok 8 - rotate by period + size, suffix # Subtest: two writers, one rotates ok 1 ok 2 ok 3 ok 4 ok 5 ok 6 - compress method returns true ok 7 - rotated file a.1 was compressed 1..7 ok 9 - two writers, one rotates # Subtest: rotate on first write() ok 1 ok 2 ok 3 - compress method returns true ok 4 - rotated file a.1 was compressed 1..4 ok 10 - rotate on first write() # Subtest: buffer (success) ok 1 - first message to buffer ok 2 - second message to buffer ok 3 - buffered messages gets logged ok 4 - buffered is emptied 1..4 ok 11 - buffer (success) # Subtest: buffer (failed, full), buffer_size attribute ok 1 - buffer_size() ok 2 - first message to buffer ok 3 - second message to buffer ok 4 - buffer is full 1..4 ok 12 - buffer (failed, full), buffer_size attribute 1..12 ok All tests successful. Files=6, Tests=16, 1 wallclock secs ( 0.04 usr 0.00 sys + 0.51 cusr 0.04 csys = 0.59 CPU) Result: PASS SHARYANTO/File-Write-Rotate-0.20.tar.gz make test TEST_VERBOSE=1 -- OK Steven Haryanto <stevenharyanto@gmail.com> Write to files that archive/rotate themselves >>> (cd /home/fly1600/var/cpan/build/File-Write-Rotate-0.20-M8RDAm && tar cvf - File-Write-Rotate-0.20.ppd blib) | gzip -c >/home/fly1600/var/REPO/S/SH/SHARYANTO/File-Write-Rotate-0.20.tar.gz File-Write-Rotate-0.20.ppd blib/ blib/lib/ blib/lib/File/ blib/lib/File/Write/ blib/lib/File/Write/Rotate.pm blib/man3/ blib/man3/File::Write::Rotate.3 >>> mv /home/fly1600/var/cpan/build/File-Write-Rotate-0.20-M8RDAm/File-Write-Rotate-0.20.ppd /home/fly1600/var/REPO/S/SH/SHARYANTO VmSize: 129700 kB Finished 2014-08-22T02:04:26