PATH=/opt/SUNWspro/bin:/usr/local/bin:/opt/csw/bin:/usr/ccs/bin:/usr/bin:/usr/sbin Start 2013-10-30T08:16:08 ActivePerl-818 CPAN-2.00 Reading '/export/home/fly818/var/cpan/Metadata' Database was generated on Wed, 30 Oct 2013 13:41:02 GMT Running make for T/TO/TOKUHIROM/HTTP-Session2-0.02.tar.gz Checksum for /net/nas/data/cpan/authors/id/T/TO/TOKUHIROM/HTTP-Session2-0.02.tar.gz ok You have Archive::Tar 1.40, but 1.50 or later is recommended. Please upgrade. HTTP-Session2-0.02/Build.PL HTTP-Session2-0.02/Changes HTTP-Session2-0.02/LICENSE HTTP-Session2-0.02/META.json HTTP-Session2-0.02/README.md HTTP-Session2-0.02/cpanfile HTTP-Session2-0.02/eg/demo.psgi HTTP-Session2-0.02/js/xsrf-token.js HTTP-Session2-0.02/lib/HTTP/Session2.pm HTTP-Session2-0.02/lib/HTTP/Session2/Base.pm HTTP-Session2-0.02/lib/HTTP/Session2/ClientStore.pm HTTP-Session2-0.02/lib/HTTP/Session2/Expired.pm HTTP-Session2-0.02/lib/HTTP/Session2/ServerStore.pm HTTP-Session2-0.02/minil.toml HTTP-Session2-0.02/t/00_compile.t HTTP-Session2-0.02/t/01_server_side.t HTTP-Session2-0.02/t/02_client_side.t HTTP-Session2-0.02/t/03_mech.t HTTP-Session2-0.02/t/04_plack_response.t HTTP-Session2-0.02/t/05_keep_me_signed_in.t HTTP-Session2-0.02/t/06_base_abstract.t HTTP-Session2-0.02/t/07_client_store.t HTTP-Session2-0.02/t/08_expired.t HTTP-Session2-0.02/t/lib/Cache.pm HTTP-Session2-0.02/META.yml HTTP-Session2-0.02/MANIFEST CPAN.pm: Building T/TO/TOKUHIROM/HTTP-Session2-0.02.tar.gz >>> /export/home/fly818/bin/perl Build.PL Created MYMETA.yml and MYMETA.json Creating new 'Build' script for 'HTTP-Session2' version '0.02' Merging cpanfile prereqs to MYMETA.yml Merging cpanfile prereqs to MYMETA.json >>> ./Build Building HTTP-Session2 TOKUHIROM/HTTP-Session2-0.02.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 /export/home/fly818/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 # 1383146184%3Ae87483fde054e85127a2a1c109a2cef%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 # 1383146184%3Ae8ccc6a6e9597aef26734a907e20f9a%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 / d07b7659dfff577a7d142a05a923cb2 ok 1 - GET / # POST /wishlist cedb305498cc92d12acf7b4d60b4e1b ok 2 - POST /wishlist?foo # GET /wishlist cedb305498cc92d12acf7b4d60b4e1b ok 3 - GET /wishlist ok 4 - Content is "foo" # POST /wishlist cedb305498cc92d12acf7b4d60b4e1b # XSRF detected ok 5 # POST /wishlist cedb305498cc92d12acf7b4d60b4e1b ok 6 - POST /wishlist?bar # GET /wishlist cedb305498cc92d12acf7b4d60b4e1b ok 7 - GET /wishlist ok 8 - Content is "foo,bar" # POST /account/login cedb305498cc92d12acf7b4d60b4e1b ok 9 - POST /account/login?john # GET /wishlist 748009429ae4e35ef8168bf78aba647 ok 10 - Wishlist is still available ok 11 - Content is "foo,bar" # POST /wishlist 748009429ae4e35ef8168bf78aba647 # XSRF detected ok 12 - xsrf token was changed, too # POST /wishlist 748009429ae4e35ef8168bf78aba647 ok 13 - POST /wishlist?baz # GET /wishlist 748009429ae4e35ef8168bf78aba647 ok 14 - Wishlist is still available ok 15 - Content is "foo,bar,baz" # GET /my/name 748009429ae4e35ef8168bf78aba647 ok 16 - GET /my/name ok 17 - Content is "john" ok 18 # POST /account/logout 748009429ae4e35ef8168bf78aba647 ok 19 ok 20 # ------ factory # GET / 0e35c23044244443f8e210a0fe20b41 ok 21 - GET / # POST /wishlist ffae3b6fe366c0b4110e6002e0fb6ce ok 22 - POST /wishlist?foo # GET /wishlist ffae3b6fe366c0b4110e6002e0fb6ce ok 23 - GET /wishlist ok 24 - Content is "foo" # POST /wishlist ffae3b6fe366c0b4110e6002e0fb6ce # XSRF detected ok 25 # POST /wishlist ffae3b6fe366c0b4110e6002e0fb6ce ok 26 - POST /wishlist?bar # GET /wishlist ffae3b6fe366c0b4110e6002e0fb6ce ok 27 - GET /wishlist ok 28 - Content is "foo,bar" # POST /account/login ffae3b6fe366c0b4110e6002e0fb6ce ok 29 - POST /account/login?john # GET /wishlist c49d75d8770f7b0dee2ea195152ed36 ok 30 - Wishlist is still available ok 31 - Content is "foo,bar" # POST /wishlist c49d75d8770f7b0dee2ea195152ed36 # XSRF detected ok 32 - xsrf token was changed, too # POST /wishlist c49d75d8770f7b0dee2ea195152ed36 ok 33 - POST /wishlist?baz # GET /wishlist c49d75d8770f7b0dee2ea195152ed36 ok 34 - Wishlist is still available ok 35 - Content is "foo,bar,baz" # GET /my/name c49d75d8770f7b0dee2ea195152ed36 ok 36 - GET /my/name ok 37 - Content is "john" ok 38 # POST /account/logout c49d75d8770f7b0dee2ea195152ed36 ok 39 ok 40 1..40 ok t/04_plack_response.t ..... # Client-Warning: Redirect loop detected (max_redirect = 0) # Set-Cookie: hss_session=1383146186%3A82e1a1c52393826d82039e0d3c17641%3ABQkZAAAAAAEKA2JhcgIAAAADZm9v%3A62663730326234333639323262616638646163356138633537386430376166636164383732316636; path=/ # Set-Cookie: XSRF-TOKEN=82e1a1c52393826d82039e0d3c17641; path=/ ok 1 1..1 ok t/05_keep_me_signed_in.t .. # $VAR1 = [ # 200, # [ # 'Set-Cookie', # 'hss_session=1383146186%3Ae09d2f7f7a8a830a3b21da54f44bde7%3ABQkZAAAAAAEIgwIAAAABeA%3D%3D%3A35626434653565626138306665613562653630613961636637626636643438616661633230633834; path=/; expires=Fri, 29-Nov-2013 15:16:26 GMT; HttpOnly', # 'Set-Cookie', # 'XSRF-TOKEN=e09d2f7f7a8a830a3b21da54f44bde7; 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: 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 2 - ignore_old 1..2 ok t/08_expired.t ............ ok 1 ok 2 ok 3 1..3 ok All tests successful. Files=9, Tests=65, 4 wallclock secs ( 0.19 usr 0.11 sys + 3.45 cusr 0.53 csys = 4.28 CPU) Result: PASS TOKUHIROM/HTTP-Session2-0.02.tar.gz ./Build test verbose=1 -- OK Tokuhiro Matsuno <tokuhirom+cpan@gmail.com> HTTP session management >>> (cd /export/home/fly818/var/cpan/build/HTTP-Session2-0.02-8RtBsX && tar cvf - HTTP-Session2-0.02.ppd blib) | gzip -c >/export/home/fly818/var/REPO/T/TO/TOKUHIROM/HTTP-Session2-0.02.tar.gz HTTP-Session2-0.02.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 /export/home/fly818/var/cpan/build/HTTP-Session2-0.02-8RtBsX/HTTP-Session2-0.02.ppd /export/home/fly818/var/REPO/T/TO/TOKUHIROM Finished 2013-10-30T08:16:28