PATH=/usr/bin:/bin:/home/fly1600/var/megalib/bin Start 2013-11-01T02:02:51 ActivePerl-1600 CPAN-2.00 Reading '/home/fly1600/var/cpan/Metadata' Database was generated on Fri, 01 Nov 2013 08:29:03 GMT Running make for T/TO/TOKUHIROM/HTTP-Session2-0.04.tar.gz Checksum for /net/nas/data/cpan/authors/id/T/TO/TOKUHIROM/HTTP-Session2-0.04.tar.gz ok HTTP-Session2-0.04/Build.PL HTTP-Session2-0.04/Changes HTTP-Session2-0.04/LICENSE HTTP-Session2-0.04/META.json HTTP-Session2-0.04/README.md HTTP-Session2-0.04/cpanfile HTTP-Session2-0.04/eg/demo.psgi HTTP-Session2-0.04/js/xsrf-token.js HTTP-Session2-0.04/lib/HTTP/Session2.pm HTTP-Session2-0.04/lib/HTTP/Session2/Base.pm HTTP-Session2-0.04/lib/HTTP/Session2/ClientStore.pm HTTP-Session2-0.04/lib/HTTP/Session2/Expired.pm HTTP-Session2-0.04/lib/HTTP/Session2/ServerStore.pm HTTP-Session2-0.04/minil.toml HTTP-Session2-0.04/t/00_compile.t HTTP-Session2-0.04/t/01_server_side.t HTTP-Session2-0.04/t/02_client_side.t HTTP-Session2-0.04/t/03_mech.t HTTP-Session2-0.04/t/04_plack_response.t HTTP-Session2-0.04/t/05_keep_me_signed_in.t HTTP-Session2-0.04/t/06_base_abstract.t HTTP-Session2-0.04/t/07_client_store.t /bin/tar: Read 8192 bytes from - HTTP-Session2-0.04/t/08_expired.t HTTP-Session2-0.04/t/lib/Cache.pm HTTP-Session2-0.04/META.yml HTTP-Session2-0.04/MANIFEST CPAN.pm: Building T/TO/TOKUHIROM/HTTP-Session2-0.04.tar.gz >>> /home/fly1600/ap1600/bin/perl-static Build.PL Created MYMETA.yml and MYMETA.json Creating new 'Build' script for 'HTTP-Session2' version '0.04' Merging cpanfile prereqs to MYMETA.yml Merging cpanfile prereqs to MYMETA.json >>> ./Build Building HTTP-Session2 TOKUHIROM/HTTP-Session2-0.04.tar.gz ./Build -- OK Running Build test >>> ./Build test verbose=1 t/00_compile.t ............ ok 1 - use HTTP::Session2; ok 2 - use HTTP::Session2::Base; ok 3 - use HTTP::Session2::ClientStore; ok 4 - use HTTP::Session2::ServerStore; 1..4 ok t/01_server_side.t ........ # Subtest: First request # client -> server: request without cookie # server -> client: response without cookie ok 1 1..1 ok 1 - First request # Subtest: Store something without login # client -> server: request without cookie # server -> store: save data # server -> client: response with session/xsrf cookie ok 1 ok 2 ok 3 ok 4 ok 5 - stored 1..5 ok 2 - Store something without login # Subtest: Login # client -> server: request without cookie # server -> server: regenerate_id # server -> store: save data # server -> client: response with session/xsrf cookie ok 1 ok 2 ok 3 ok 4 ok 5 ok 6 ok 7 1..7 ok 3 - Login # Subtest: In a login session # client -> server: request without cookie # server -> store: set more data # server -> client: response without session/xsrf cookie ok 1 ok 2 1..2 ok 4 - In a login session # Subtest: Logout # client -> server: request without cookie # server -> server: expire # server -> client: response with expiration session/xsrf cookie ok 1 ok 2 ok 3 ok 4 ok 5 1..5 ok 5 - Logout 1..5 ok Use of uninitialized value in subroutine entry at /home/fly1600/var/megalib/Digest/HMAC.pm line 59. t/02_client_side.t ........ # Subtest: First request # client -> server: request without cookie # server -> client: response without cookie ok 1 1..1 ok 1 - First request # Subtest: Store something without login # client -> server: request without cookie # server -> store: save data # server -> client: response with session/xsrf cookie ok 1 ok 2 ok 3 ok 4 # 1383296579%3A6d7a1c313b1b281b53956137ee5650d%3ABQkDAAAAAQoDYmFyAAAAA2Zvbw%3D%3D%3A62343563626434303633303330323837343561383030643531613666623237396233356132353138 1..4 ok 2 - Store something without login # Subtest: Login # client -> server: request without cookie # server -> server: regenerate_id # server -> store: save data # server -> client: response with session/xsrf cookie ok 1 ok 2 ok 3 ok 4 ok 5 # 1383296579%3Ad17def3d7d903287df908a62c626a9b%3ABQkDAAAAAgoENTk2MwAAAAd1c2VyX2lkCgNiYXIAAAADZm9v%3A65656331333639306538383432376533353264633965616365363166323037343635643335626635 1..5 ok 3 - Login # Subtest: In a login session # client -> server: request without cookie # server -> store: set more data # server -> client: response without session/xsrf cookie ok 1 1..1 ok 4 - In a login session # Subtest: Logout # client -> server: request without cookie # server -> server: expire # server -> client: response with expiration session/xsrf cookie ok 1 ok 2 ok 3 ok 4 1..4 ok 5 - Logout 1..5 ok t/03_mech.t ............... # ------ factory # GET / 70dcfbdcca4e97a46a6d34661aa8ab9 ok 1 - GET / # POST /wishlist 1837c6de5e3f1fd014efe555f2fbb92 ok 2 - POST /wishlist?foo # GET /wishlist 1837c6de5e3f1fd014efe555f2fbb92 ok 3 - GET /wishlist ok 4 - Content is "foo" # POST /wishlist 1837c6de5e3f1fd014efe555f2fbb92 # XSRF detected ok 5 # POST /wishlist 1837c6de5e3f1fd014efe555f2fbb92 ok 6 - POST /wishlist?bar # GET /wishlist 1837c6de5e3f1fd014efe555f2fbb92 ok 7 - GET /wishlist ok 8 - Content is "foo,bar" # POST /account/login 1837c6de5e3f1fd014efe555f2fbb92 ok 9 - POST /account/login?john # GET /wishlist 57f6003670cda31bfb05303328f4a0f ok 10 - Wishlist is still available ok 11 - Content is "foo,bar" # POST /wishlist 57f6003670cda31bfb05303328f4a0f # XSRF detected ok 12 - xsrf token was changed, too # POST /wishlist 57f6003670cda31bfb05303328f4a0f ok 13 - POST /wishlist?baz # GET /wishlist 57f6003670cda31bfb05303328f4a0f ok 14 - Wishlist is still available ok 15 - Content is "foo,bar,baz" # GET /my/name 57f6003670cda31bfb05303328f4a0f ok 16 - GET /my/name ok 17 - Content is "john" ok 18 # POST /account/logout 57f6003670cda31bfb05303328f4a0f ok 19 ok 20 # ------ factory # GET / 374f35d693bf2c2b2df8e54f76eb7aa ok 21 - GET / # POST /wishlist e3aa7f248be532d08603f06a9fe4afc ok 22 - POST /wishlist?foo # GET /wishlist e3aa7f248be532d08603f06a9fe4afc ok 23 - GET /wishlist ok 24 - Content is "foo" # POST /wishlist e3aa7f248be532d08603f06a9fe4afc # XSRF detected ok 25 # POST /wishlist e3aa7f248be532d08603f06a9fe4afc ok 26 - POST /wishlist?bar # GET /wishlist e3aa7f248be532d08603f06a9fe4afc ok 27 - GET /wishlist ok 28 - Content is "foo,bar" # POST /account/login e3aa7f248be532d08603f06a9fe4afc ok 29 - POST /account/login?john # GET /wishlist 14126a1e7f254790c66b69c20985f5d ok 30 - Wishlist is still available ok 31 - Content is "foo,bar" # POST /wishlist 14126a1e7f254790c66b69c20985f5d # XSRF detected ok 32 - xsrf token was changed, too # POST /wishlist 14126a1e7f254790c66b69c20985f5d ok 33 - POST /wishlist?baz # GET /wishlist 14126a1e7f254790c66b69c20985f5d ok 34 - Wishlist is still available ok 35 - Content is "foo,bar,baz" # GET /my/name 14126a1e7f254790c66b69c20985f5d ok 36 - GET /my/name ok 37 - Content is "john" ok 38 # POST /account/logout 14126a1e7f254790c66b69c20985f5d ok 39 ok 40 1..40 ok t/04_plack_response.t ..... # Client-Warning: Redirect loop detected (max_redirect = 0) # Set-Cookie: hss_session=1383296579%3A2b1b4b48b0ec2ff6c071131af3cd9fe%3ABQkDAAAAAQoDYmFyAAAAA2Zvbw%3D%3D%3A31393435326531346332323232333535373332316237343636636664623137346462386563313730; path=/; HttpOnly # Set-Cookie: XSRF-TOKEN=2b1b4b48b0ec2ff6c071131af3cd9fe; path=/ ok 1 1..1 ok t/05_keep_me_signed_in.t .. # $VAR1 = [ # 200, # [ # 'Set-Cookie', # 'hss_session=1383296580%3A1360d373b4ec9893e6a74022e9b8ee5%3ABQkDAAAAAQiDAAAAAXg%3D%3A37653062343935366636616330633130636532636136393062666230313063656662636538623730; path=/; expires=Sun, 01-Dec-2013 09:03:00 GMT; HttpOnly', # 'Set-Cookie', # 'XSRF-TOKEN=1360d373b4ec9893e6a74022e9b8ee5; path=/' # ], # [] # ]; ok 1 ok 2 - Original configuration is not modified 1..2 ok t/06_base_abstract.t ...... ok 1 ok 2 ok 3 1..3 ok t/07_client_store.t ....... # Subtest: get/set/remove ok 1 ok 2 ok 3 1..3 ok 1 - get/set/remove # Subtest: validate_token ok 1 # Subtest: bad ok 1 1..1 ok 2 - bad # Subtest: good ok 1 1..1 ok 3 - good 1..3 ok 2 - validate_token # Subtest: ignore_old # Subtest: ignore_old disabled ok 1 1..1 ok 1 - ignore_old disabled # Subtest: ignore_old enabled ok 1 1..1 ok 2 - ignore_old enabled 1..2 ok 3 - ignore_old 1..3 ok t/08_expired.t ............ ok 1 ok 2 ok 3 1..3 ok All tests successful. Files=9, Tests=66, 2 wallclock secs ( 0.06 usr 0.03 sys + 1.09 cusr 0.24 csys = 1.42 CPU) Result: PASS TOKUHIROM/HTTP-Session2-0.04.tar.gz ./Build test verbose=1 -- OK Tokuhiro Matsuno <tokuhirom+cpan@gmail.com> HTTP session management >>> (cd /home/fly1600/var/cpan/build/HTTP-Session2-0.04-v4m4Zd && tar cvf - HTTP-Session2-0.04.ppd blib) | gzip -c >/home/fly1600/var/REPO/T/TO/TOKUHIROM/HTTP-Session2-0.04.tar.gz HTTP-Session2-0.04.ppd blib/ blib/lib/ blib/lib/HTTP/ blib/lib/HTTP/Session2/ blib/lib/HTTP/Session2/Expired.pm blib/lib/HTTP/Session2/ClientStore.pm blib/lib/HTTP/Session2/ServerStore.pm blib/lib/HTTP/Session2/Base.pm blib/lib/HTTP/Session2.pm >>> mv /home/fly1600/var/cpan/build/HTTP-Session2-0.04-v4m4Zd/HTTP-Session2-0.04.ppd /home/fly1600/var/REPO/T/TO/TOKUHIROM VmSize: 242044 kB Finished 2013-11-01T02:03:00