clustericious / Yars

Yet-another ARchive Service
5 stars 2 forks source link

Test failure recent mojo #14

Closed plicease closed 9 years ago

plicease commented 9 years ago
t/06_roundtrip_bin.t ...... 1/15 
#   Failed test 'exact match for content'
#   at t/06_roundtrip_bin.t line 25.
#          got: '
# ????JFIFHH??
              AppleMark
# ??(ICC_PROFILEappl scnrRGB XYZ ?acspAPPLappl???-appl
                                                      rXYgXYZbXYZ0wtptDchadX,rTRC?gTRC?bTRC?desc?=cprt?Adscm??XYZ tK>?XYZ Zs??&XYZ (W?3XYZ ?R?sf32
                          B????&?????????????lcurv3descCamera RGB ProfileCamera RGB Profilemluc
                                                                                               enUS$?esES,LdaDK4?deDE,?fiFI(?frFU<?itIT,rnlNL$noNO xptBR(JsvSE*?jaJPkoKR2zhTW2zhCN?Kameran RGB-profiiliRGB-profil f?r Kamera0?0?0? RGB 0?0?0?0?0?0?exOMv?j_ RGB ?r_icϏ?Perfil RGB para C?maraRGB-kameraprofilRGB-Profil f?r Kamerasv?g: RGB cϏ?e?N?RGB-beskrivelse til KameraRGB-profiel Camera?t?T?| RGB ??\?
                                      ?|Perfil RGB de C?meraProfilo RGB FotocameraCamera RGB ProfileProfil RVB de l appareil-phototextCopyright 2003 Apple Computer Inc., all rights reserved.??C        
# '
#     expected: '
# ÿØÿàJFIFHHÿþ
              AppleMark
# ÿâ(ICC_PROFILEappl scnrRGB XYZ ÓacspAPPLapplöÖÓ-appl
                                                      rXYgXYZbXYZ0wtptDchadX,rTRC„gTRC„bTRC„desc”=cprtÔAdscmÔþXYZ tK>ËXYZ Zs¬¦&XYZ (W¸3XYZ óRÏsf32
                          BÞÿÿó&’ý‘ÿÿû¢ÿÿý£ÜÀlcurv3descCamera RGB ProfileCamera RGB Profilemluc
                                                                                               enUS$žesES,LdaDK4ÚdeDE,˜fiFI(ÄfrFU<ÂitIT,rnlNL$noNO xptBR(JsvSE*ìjaJPkoKR2zhTW2zhCNÄKameran RGB-profiiliRGB-profil för Kamera0«0á0é RGB 0×0í0Õ0¡0¤0ëexOMvøj_ RGB ‚r_icϏðPerfil RGB para CámaraRGB-kameraprofilRGB-Profil für Kamerasvøg: RGB cϏðe‡NöRGB-beskrivelse til KameraRGB-profiel CameraÎtºT·| RGB Õ¸\Ó
                                        Ç|Perfil RGB de CâmeraProfilo RGB FotocameraCamera RGB ProfileProfil RVB de l appareil-phototextCopyright 2003 Apple Computer Inc., all rights reserved.     
# '
# detailed log
# [4548 I 1ms] /home/ollisg/perl5/5.20.1/lib/perl5/Clustericious/Log.pm:75 Initialized logger
# [4548 I 2ms] /home/ollisg/perl5/5.20.1/lib/perl5/Clustericious/Log.pm:76 Log config found : /tmp/S9hog3bb0q/my_home/etc/log4perl.conf
# [4548 T 2ms] /home/ollisg/perl5/5.20.1/lib/perl5/Clustericious/Config.pm:107 reading from config file /tmp/S9hog3bb0q/my_home/etc/Yars.conf
# [4548 I 5ms] /home/ollisg/perl5/5.20.1/lib/perl5/Clustericious/App.pm:99 No auth configured
# [4548 D 9ms] /home/ollisg/perl5/5.20.1/lib/perl5/Mojolicious.pm:137 Helper "url_with" already exists, replacing
# [4548 I 10ms] /home/ollisg/.cpanm/work/1423919727.4517/Yars-1.06/blib/lib/Yars.pm:82 max message size = 50G (53687091200)
# [4548 D 12ms] /home/ollisg/perl5/5.20.1/lib/perl5/Mojolicious.pm:137 Helper "auth_ua" already exists, replacing
# [4548 T 39ms] /home/ollisg/.cpanm/work/1423919727.4517/Yars-1.06/blib/lib/Yars/Tools.pm:75 Our url is http://127.0.0.1:59478
# [4548 I 39ms] /home/ollisg/.cpanm/work/1423919727.4517/Yars-1.06/blib/lib/Yars/Tools.pm:92 Writing new state file (/tmp/S9hog3bb0q/my_home/state/state.txt)
# [4548 T 41ms] /home/ollisg/.cpanm/work/1423919727.4517/Yars-1.06/blib/lib/Yars/Tools.pm:97 bucket2url : $VAR1 = {
#           '8' => 'http://127.0.0.1:59478',
#           'a' => 'http://127.0.0.1:59478',
#           '5' => 'http://127.0.0.1:59478',
#           'b' => 'http://127.0.0.1:59478',
#           'd' => 'http://127.0.0.1:59478',
#           '2' => 'http://127.0.0.1:59478',
#           '9' => 'http://127.0.0.1:59478',
#           '6' => 'http://127.0.0.1:59478',
#           'c' => 'http://127.0.0.1:59478',
#           'f' => 'http://127.0.0.1:59478',
#           '7' => 'http://127.0.0.1:59478',
#           '0' => 'http://127.0.0.1:59478',
#           '3' => 'http://127.0.0.1:59478',
#           '4' => 'http://127.0.0.1:59478',
#           'e' => 'http://127.0.0.1:59478',
#           '1' => 'http://127.0.0.1:59478'
#         };
# [4548 D 41ms] /home/ollisg/perl5/5.20.1/lib/perl5/Mojolicious.pm:105 PUT "/file/my_bin_file"
# [4548 D 43ms] /home/ollisg/perl5/5.20.1/lib/perl5/Mojolicious/Routes.pm:116 Routing to a callback
# [4548 T 44ms] /home/ollisg/.cpanm/work/1423919727.4517/Yars-1.06/blib/lib/Yars/Routes.pm:169 Received memory asset with size 1501
# [4548 D 44ms] /home/ollisg/.cpanm/work/1423919727.4517/Yars-1.06/blib/lib/Yars/Routes.pm:200 Received my_bin_file assigned to http://127.0.0.1:59478 (/tmp/S9hog3bb0q/my_home/data), this is http://127.0.0.1:59478
# [4548 T 45ms] /home/ollisg/.cpanm/work/1423919727.4517/Yars-1.06/blib/lib/Yars/Routes.pm:292 Writing /tmp/S9hog3bb0q/my_home/data/86/0a/ac/1a/5e/c5/80/68/8d/a0/6f/70/8f/77/80/a6/my_bin_file
# [4548 T 46ms] /home/ollisg/.cpanm/work/1423919727.4517/Yars-1.06/blib/lib/Yars/Routes.pm:303 Wrote /tmp/S9hog3bb0q/my_home/data/86/0a/ac/1a/5e/c5/80/68/8d/a0/6f/70/8f/77/80/a6/my_bin_file
# [4548 D 47ms] /home/ollisg/perl5/5.20.1/lib/perl5/Mojolicious/Controller.pm:236 201 Created (0.005170s, 193.424/s)
# [4548 D 50ms] /home/ollisg/perl5/5.20.1/lib/perl5/Mojolicious.pm:105 GET "/file/my_bin_file/860aac1a5ec580688da06f708f7780a6"
# [4548 D 51ms] /home/ollisg/perl5/5.20.1/lib/perl5/Mojolicious/Routes.pm:116 Routing to a callback
# [4548 D 52ms] /home/ollisg/perl5/5.20.1/lib/perl5/Mojolicious/Controller.pm:236 200 OK (0.001358s, 736.377/s)
# [4548 D 402ms] /home/ollisg/perl5/5.20.1/lib/perl5/Mojolicious.pm:105 DELETE "/file/my_bin_file/860aac1a5ec580688da06f708f7780a6"
# [4548 D 404ms] /home/ollisg/perl5/5.20.1/lib/perl5/Mojolicious/Routes.pm:116 Routing to a callback
# [4548 T 404ms] /home/ollisg/.cpanm/work/1423919727.4517/Yars-1.06/blib/lib/Yars/Routes.pm:367 Delete request for my_bin_file, 860aac1a5ec580688da06f708f7780a6
# [4548 D 404ms] /home/ollisg/.cpanm/work/1423919727.4517/Yars-1.06/blib/lib/Yars/Routes.pm:373 This is our file, we will delete it.
# [4548 D 406ms] /home/ollisg/perl5/5.20.1/lib/perl5/Mojolicious/Controller.pm:236 200 OK (0.002864s, 349.162/s)
# [4548 D 408ms] /home/ollisg/perl5/5.20.1/lib/perl5/Mojolicious.pm:105 GET "/file/my_bin_file/860aac1a5ec580688da06f708f7780a6"
# [4548 D 409ms] /home/ollisg/perl5/5.20.1/lib/perl5/Mojolicious/Routes.pm:116 Routing to a callback
# [4548 T 409ms] /home/ollisg/.cpanm/work/1423919727.4517/Yars-1.06/blib/lib/Yars/Tools.pm:334 Checking for /tmp/S9hog3bb0q/my_home/data/86/0a/ac/1a/5e/c5/80/68/8d/a0/6f/70/8f/77/80/a6/my_bin_file
# [4548 D 409ms] /home/ollisg/.cpanm/work/1423919727.4517/Yars-1.06/blib/lib/Yars/Routes.pm:146 Checking remote stashes
# [4548 D 411ms] /home/ollisg/perl5/5.20.1/lib/perl5/Mojolicious/Plugin/EPLRenderer.pm:44 Rendering template "not_found.development.html.ep" from DATA section
# [4548 D 412ms] /home/ollisg/perl5/5.20.1/lib/perl5/Mojolicious/Controller.pm:236 404 Not Found (0.003367s, 297.000/s)
# Looks like you failed 1 test of 15.
t/06_roundtrip_bin.t ...... Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/15 subtests 
t/07_md5_collision.t ...... ok   
t/10_digest.t ............. ok     
t/15_unknown_file.t ....... ok   
t/20_dual.t ............... ok       
t/30_diskfail.t ........... ok       
t/40_hostfail.t ........... ok       
t/60_mark_down.t .......... ok     
t/70_tempdir.t ............ ok     
t/72_tempdir_bug_12263.t .. 1/12        (in cleanup) Can't use an undefined value as a symbol reference at /home/ollisg/perl5/5.20.1/lib/perl5/Mojo/Asset/File.pm line 43 during global destruction.
t/72_tempdir_bug_12263.t .. ok     
t/73_tempdir.t ............ 6/14        (in cleanup) Can't use an undefined value as a symbol reference at /home/ollisg/perl5/5.20.1/lib/perl5/Mojo/Asset/File.pm line 43 during global destruction.
t/73_tempdir.t ............ ok     
t/80_manifest.t ........... ok     
t/90_client.t ............. ok    
t/cmd_disk_scan.t ......... ok     
t/cmd_fast_balance.t ...... ok   
t/cmd_generate_diskmap.t .. ok     
t/misc_ua_defined.t ....... ok   

Test Summary Report
-------------------
t/06_roundtrip_bin.t    (Wstat: 256 Tests: 15 Failed: 1)
  Failed test:  8
  Non-zero exit status: 1
t/60_mark_down.t        (Wstat: 0 Tests: 75 Failed: 0)
  TODO passed:   60-68, 71-75
Files=22, Tests=1702, 24 wallclock secs ( 0.77 usr  0.16 sys + 16.48 cusr  3.44 csys = 20.85 CPU)
Result: FAIL
Failed 1/22 test programs. 1/1702 subtests failed.
FAIL
! Installing Yars failed. See /home/ollisg/.cpanm/work/1423919727.4517/build.log for details. Retry with --force to force install it.
plicease commented 9 years ago

This is a failure with recent mojo. I was able to reproduce on Linux. Updated title appropriately.