PATH=/usr/bin:/bin:/home/fly1400/var/megalib/bin Start 2013-12-01T12:14:01 ActivePerl-1400 CPAN-2.00 Reading '/home/fly1400/var/cpan/Metadata' Database was generated on Sun, 01 Dec 2013 19:08:22 GMT Running make for Z/ZW/ZWON/RedisDB-Parser-2.20.tar.gz Checksum for /net/nas1/cpan/authors/id/Z/ZW/ZWON/RedisDB-Parser-2.20.tar.gz ok RedisDB-Parser-2.20/ RedisDB-Parser-2.20/META.yml RedisDB-Parser-2.20/util/ RedisDB-Parser-2.20/util/parser_benchmark.pl RedisDB-Parser-2.20/README RedisDB-Parser-2.20/rdb_parser.c RedisDB-Parser-2.20/ppport.h RedisDB-Parser-2.20/xt/ RedisDB-Parser-2.20/xt/manifest.t RedisDB-Parser-2.20/xt/pod-spell.t RedisDB-Parser-2.20/xt/pod.t RedisDB-Parser-2.20/typemap RedisDB-Parser-2.20/rdb_parser.h RedisDB-Parser-2.20/META.json RedisDB-Parser-2.20/README.pod RedisDB-Parser-2.20/Makefile.PL RedisDB-Parser-2.20/t/ RedisDB-Parser-2.20/t/no-leak.t RedisDB-Parser-2.20/t/utf8.t RedisDB-Parser-2.20/t/parser.t RedisDB-Parser-2.20/t/00-load.t RedisDB-Parser-2.20/Changes RedisDB-Parser-2.20/MANIFEST RedisDB-Parser-2.20/lib/ RedisDB-Parser-2.20/lib/RedisDB/ RedisDB-Parser-2.20/lib/RedisDB/Parser/ RedisDB-Parser-2.20/lib/RedisDB/Parser/Error.pm RedisDB-Parser-2.20/lib/RedisDB/Parser/PP.pm RedisDB-Parser-2.20/lib/RedisDB/Parser/XS.pm RedisDB-Parser-2.20/lib/RedisDB/Parser.pm RedisDB-Parser-2.20/Parser.xs CPAN.pm: Building Z/ZW/ZWON/RedisDB-Parser-2.20.tar.gz >>> /home/fly1400/ap1400/bin/perl-static Makefile.PL ***************************************** * Building XS version of the parser. * * If build failed, you can try to * * build PP version by running * * * * perl Makefile.PL PUREPERL_ONLY = 1 * * make * ***************************************** Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for RedisDB::Parser Writing MYMETA.yml and MYMETA.json >>> make cp README.pod blib/lib/RedisDB/README.pod cp lib/RedisDB/Parser/Error.pm blib/lib/RedisDB/Parser/Error.pm cp lib/RedisDB/Parser.pm blib/lib/RedisDB/Parser.pm cp lib/RedisDB/Parser/XS.pm blib/lib/RedisDB/Parser/XS.pm cp lib/RedisDB/Parser/PP.pm blib/lib/RedisDB/Parser/PP.pm Running Mkbootstrap for RedisDB::Parser () chmod 644 Parser.bs gcc -c -D_REENTRANT -D_GNU_SOURCE -DUSE_SITECUSTOMIZE -DPERL_RELOCATABLE_INCPUSH -fno-merge-constants -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"2.20\" -DXS_VERSION=\"2.20\" -fPIC "-I/home/fly1400/ap1400/lib/CORE" rdb_parser.c /home/fly1400/ap1400/bin/perl-static /home/fly1400/var/megalib/ExtUtils/xsubpp -typemap /home/fly1400/ap1400/lib/ExtUtils/typemap -typemap typemap Parser.xs > Parser.xsc && mv Parser.xsc Parser.c gcc -c -D_REENTRANT -D_GNU_SOURCE -DUSE_SITECUSTOMIZE -DPERL_RELOCATABLE_INCPUSH -fno-merge-constants -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"2.20\" -DXS_VERSION=\"2.20\" -fPIC "-I/home/fly1400/ap1400/lib/CORE" Parser.c rm -f blib/arch/auto/RedisDB/Parser/Parser.so gcc -shared -O2 rdb_parser.o Parser.o -o blib/arch/auto/RedisDB/Parser/Parser.so \ \ chmod 755 blib/arch/auto/RedisDB/Parser/Parser.so /home/fly1400/ap1400/bin/perl-static -MExtUtils::Command::MM -e 'cp_nonempty' -- Parser.bs blib/arch/auto/RedisDB/Parser/Parser.bs 644 Manifying blib/man3/RedisDB::README.3 Manifying blib/man3/RedisDB::Parser.3 Manifying blib/man3/RedisDB::Parser::Error.3 Manifying blib/man3/RedisDB::Parser::PP.3 Manifying blib/man3/RedisDB::Parser::XS.3 ZWON/RedisDB-Parser-2.20.tar.gz make -- OK Running make test >>> make test TEST_VERBOSE=1 Running Mkbootstrap for RedisDB::Parser () chmod 644 Parser.bs PERL_DL_NONLAZY=1 /home/fly1400/ap1400/bin/perl-static "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(1, 'blib/lib', 'blib/arch')" t/*.t # Testing RedisDB::Parser 2.2, Perl 5.014000, /home/fly1400/ap1400/bin/perl-static t/00-load.t .. 1..1 ok 1 - use RedisDB::Parser; ok t/no-leak.t .. ok 1 - didn't leak on parsing a complex structure (leaks 0 <= 0) ok 2 - didn't leak after throwing exception (leaks 0 <= 0) ok 3 - didn't leak after callback thrown an exception (leaks 0 <= 0) ok 4 - didn't leak after propagating reply (leaks 0 <= 0) ok 5 - didn't leak after parsing multiple replies (leaks 0 <= 0) 1..5 ok t/parser.t ... # Subtest: Pure Perl Implementation # Subtest: Request encoding ok 1 - Single command is ok ok 2 - Integer ok 3 - ASCII string ok 4 - Length is in bytes ok 5 - unicode string ok 6 - binary string 1..6 ok 1 - Request encoding # Subtest: One line reply ok 1 - Three callbacks were added ok 2 - + ok 3 - +OK ok 4 - +OK\r ok 5 - Found 2 replies ok 6 - One callback left ok 7 - OK, And here we have something long ok 8 - Got a reply ok 9 - 'Got an error object' isa 'RedisDB::Parser::Error' ok 10 - got an error reply with \r in it 1..10 ok 2 - One line reply # Subtest: Integer reply ok 1 - : ok 2 - :12 ok 3 - Got a reply ok 4 - got 1234 ok 5 - Got two replies ok 6 - got 0 and -123 ok 7 - Dies on invalid integer reply 1..7 ok 3 - Integer reply # Subtest: Bulk reply ok 1 - $ ok 2 - $6\r\nfoobar ok 3 - Got three replies ok 4 - Got foobar, undef, and empty string 1..4 ok 4 - Bulk reply # Subtest: Multi-bulk reply ok 1 - *4$3foo$ ok 2 - *4$3foo$-1$0$5Hello ok 3 - Got a reply ok 4 - got correct reply foo/undef//Hello ok 5 - Got two replies ok 6 - *0 is empty list, *-1 is undef ok 7 - Got a reply ok 8 - subscribe foo :2 1..8 ok 5 - Multi-bulk reply # Subtest: Deep nested multi-bulk reply ok 1 - waits for the last chunk ok 2 - Got a reply ok 3 - got correct nested multi-bulk reply 1..3 ok 6 - Deep nested multi-bulk reply # Subtest: Transaction ok 1 - Incomplete result - not parsed ok 2 - After encapsulated multi-bulk part - still not parsed ok 3 - Got a reply ok 4 - Successfuly parsed a transaction reply ok 5 - Got a reply ok 6 - Parsed with list in the end too ok 7 - Got a reply ok 8 - Parsed reply with empty list and undef ok 9 - Got a reply with error inside ok 10 - has empty list ok 11 - ' has error object' isa 'RedisDB::Parser::Error' ok 12 - Oops ok 13 - has OK 1..13 ok 7 - Transaction # Subtest: Propagate reply ok 1 - No callbacks in the queue ok 2 - All callbacks got the error 1..2 ok 8 - Propagate reply 1..8 ok 1 - Pure Perl Implementation ok 2 - XS implementation loaded ok 3 - 'Got XS version of the object' isa 'RedisDB::Parser::XS' # Subtest: XS Implementation # Subtest: Request encoding ok 1 - Single command is ok ok 2 - Integer ok 3 - ASCII string ok 4 - Length is in bytes ok 5 - unicode string ok 6 - binary string 1..6 ok 1 - Request encoding # Subtest: One line reply ok 1 - Three callbacks were added ok 2 - + ok 3 - +OK ok 4 - +OK\r ok 5 - Found 2 replies ok 6 - One callback left ok 7 - OK, And here we have something long ok 8 - Got a reply ok 9 - 'Got an error object' isa 'RedisDB::Parser::Error' ok 10 - got an error reply with \r in it 1..10 ok 2 - One line reply # Subtest: Integer reply ok 1 - : ok 2 - :12 ok 3 - Got a reply ok 4 - got 1234 ok 5 - Got two replies ok 6 - got 0 and -123 ok 7 - Dies on invalid integer reply 1..7 ok 3 - Integer reply # Subtest: Bulk reply ok 1 - $ ok 2 - $6\r\nfoobar ok 3 - Got three replies ok 4 - Got foobar, undef, and empty string 1..4 ok 4 - Bulk reply # Subtest: Multi-bulk reply ok 1 - *4$3foo$ ok 2 - *4$3foo$-1$0$5Hello ok 3 - Got a reply ok 4 - got correct reply foo/undef//Hello ok 5 - Got two replies ok 6 - *0 is empty list, *-1 is undef ok 7 - Got a reply ok 8 - subscribe foo :2 1..8 ok 5 - Multi-bulk reply # Subtest: Deep nested multi-bulk reply ok 1 - waits for the last chunk ok 2 - Got a reply ok 3 - got correct nested multi-bulk reply 1..3 ok 6 - Deep nested multi-bulk reply # Subtest: Transaction ok 1 - Incomplete result - not parsed ok 2 - After encapsulated multi-bulk part - still not parsed ok 3 - Got a reply ok 4 - Successfuly parsed a transaction reply ok 5 - Got a reply ok 6 - Parsed with list in the end too ok 7 - Got a reply ok 8 - Parsed reply with empty list and undef ok 9 - Got a reply with error inside ok 10 - has empty list ok 11 - ' has error object' isa 'RedisDB::Parser::Error' ok 12 - Oops ok 13 - has OK 1..13 ok 7 - Transaction # Subtest: Propagate reply ok 1 - No callbacks in the queue ok 2 - All callbacks got the error 1..2 ok 8 - Propagate reply 1..8 ok 4 - XS Implementation 1..4 ok t/utf8.t ..... # Subtest: default, PP ok 1 - octets encoded as octets ok 2 - response parsed as octets ok 3 - utf value encoded as octets ok 4 - response parsed as octets 1..4 ok 1 - default, PP # Subtest: with utf8, PP ok 1 - octets were encoded as utf8 ok 2 - utf value encoded as octets ok 3 - response decoded as utf8 ok 4 - parser dies if response contains invalid utf8 1..4 ok 2 - with utf8, PP # Subtest: default, XS ok 1 - octets encoded as octets ok 2 - response parsed as octets ok 3 - utf value encoded as octets ok 4 - response parsed as octets 1..4 ok 3 - default, XS # Subtest: default, XS ok 1 - octets were encoded as utf8 ok 2 - utf value encoded as octets ok 3 - response decoded as utf8 ok 4 - parser dies if response contains invalid utf8 1..4 ok 4 - default, XS 1..4 ok All tests successful. Files=4, Tests=14, 3 wallclock secs ( 0.06 usr 0.02 sys + 0.34 cusr 0.10 csys = 0.52 CPU) Result: PASS ZWON/RedisDB-Parser-2.20.tar.gz make test TEST_VERBOSE=1 -- OK Pavel Shaydo <pshajdo@gmail.com> Redis protocol parser >>> (cd /home/fly1400/var/cpan/build/RedisDB-Parser-2.20-MSdtnY && tar cvf - RedisDB-Parser-2.20.ppd blib) | gzip -c >/home/fly1400/var/REPO/Z/ZW/ZWON/RedisDB-Parser-2.20.tar.gz RedisDB-Parser-2.20.ppd blib/ blib/lib/ blib/lib/RedisDB/ blib/lib/RedisDB/README.pod blib/lib/RedisDB/Parser/ blib/lib/RedisDB/Parser/Error.pm blib/lib/RedisDB/Parser/XS.pm blib/lib/RedisDB/Parser/PP.pm blib/lib/RedisDB/Parser.pm blib/arch/ blib/arch/auto/ blib/arch/auto/RedisDB/ blib/arch/auto/RedisDB/Parser/ blib/arch/auto/RedisDB/Parser/Parser.so blib/man3/ blib/man3/RedisDB::README.3 blib/man3/RedisDB::Parser.3 blib/man3/RedisDB::Parser::Error.3 blib/man3/RedisDB::Parser::PP.3 blib/man3/RedisDB::Parser::XS.3 >>> mv /home/fly1400/var/cpan/build/RedisDB-Parser-2.20-MSdtnY/RedisDB-Parser-2.20.ppd /home/fly1400/var/REPO/Z/ZW/ZWON VmSize: 237952 kB Finished 2013-12-01T12:14:17