thorin-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2007-Sep-25 21:26 UTC
Strange Exception when running rake test
I get the following exception sometimes when I run rake test and I have some failures/errors in my test cases. It occurs after units/ functionals/integration complete. Command failed with status (1): [/usr/bin/ruby18 -Ilib:test "/usr/ lib64/rub...] /usr/lib64/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:719:in `sh'' /usr/lib64/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:726:in `call'' /usr/lib64/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:726:in `sh'' /usr/lib64/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:805:in `sh'' /usr/lib64/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:740:in `ruby'' /usr/lib64/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:805:in `ruby'' /usr/lib64/ruby/gems/1.8/gems/rake-0.7.3/lib/rake/testtask.rb:117:in `define'' /usr/lib64/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:823:in `verbose'' /usr/lib64/ruby/gems/1.8/gems/rake-0.7.3/lib/rake/testtask.rb:102:in `define'' /usr/lib64/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in `call'' /usr/lib64/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in `execute'' /usr/lib64/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in `each'' /usr/lib64/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in `execute'' /usr/lib64/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:362:in `invoke'' /usr/lib64/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:355:in `synchronize'' /usr/lib64/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:355:in `invoke'' /usr/lib64/ruby/gems/1.8/gems/rails-1.2.3/lib/tasks/testing.rake:45 /usr/lib64/ruby/gems/1.8/gems/rails-1.2.3/lib/tasks/testing.rake:43:in `collect'' /usr/lib64/ruby/gems/1.8/gems/rails-1.2.3/lib/tasks/testing.rake:43 /usr/lib64/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in `call'' /usr/lib64/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in `execute'' /usr/lib64/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in `each'' /usr/lib64/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in `execute'' /usr/lib64/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:362:in `invoke'' /usr/lib64/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:355:in `synchronize'' /usr/lib64/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:355:in `invoke'' /usr/lib64/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:in `top_level'' /usr/lib64/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:in `each'' /usr/lib64/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:in `top_level'' /usr/lib64/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1761:in `standard_exception_handling'' /usr/lib64/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1733:in `top_level'' /usr/lib64/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1711:in `run'' /usr/lib64/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1761:in `standard_exception_handling'' /usr/lib64/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1708:in `run'' /usr/lib64/ruby/gems/1.8/gems/rake-0.7.3/bin/rake:7 /usr/bin/rake:16:in `load'' /usr/bin/rake:16 rake aborted! Test failures /usr/lib64/ruby/gems/1.8/gems/rails-1.2.3/lib/tasks/testing.rake:53 /usr/lib64/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in `call'' /usr/lib64/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in `execute'' /usr/lib64/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in `each'' /usr/lib64/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in `execute'' /usr/lib64/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:362:in `invoke'' /usr/lib64/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:355:in `synchronize'' /usr/lib64/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:355:in `invoke'' /usr/lib64/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:in `top_level'' /usr/lib64/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:in `each'' /usr/lib64/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:in `top_level'' /usr/lib64/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1761:in `standard_exception_handling'' /usr/lib64/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1733:in `top_level'' /usr/lib64/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1711:in `run'' /usr/lib64/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1761:in `standard_exception_handling'' /usr/lib64/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1708:in `run'' /usr/lib64/ruby/gems/1.8/gems/rake-0.7.3/bin/rake:7 /usr/bin/rake:16:in `load'' /usr/bin/rake:16 I am running ruby 1.8.6 (2007-06-07 patchlevel 36) [x86_64-linux] and rails 1.2.3, rake 0.7.3 Any ideas? It is just an annoyance because it turns the return code of rake test to be non zero. Thanks, Curtis --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
I don''t understand - you get the stacktrace below when some of your tests fail or error? That''s the proper behavior. On Sep 25, 5:26 pm, tho...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org wrote:> I get the following exception sometimes when I run rake test and I > have some failures/errors in my test cases. It occurs after units/ > functionals/integration complete. > > Command failed with status (1): [/usr/bin/ruby18 -Ilib:test "/usr/ > lib64/rub...] > /usr/lib64/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:719:in `sh'' > /usr/lib64/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:726:in `call'' > /usr/lib64/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:726:in `sh'' > /usr/lib64/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:805:in `sh'' > /usr/lib64/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:740:in `ruby'' > /usr/lib64/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:805:in `ruby'' > /usr/lib64/ruby/gems/1.8/gems/rake-0.7.3/lib/rake/testtask.rb:117:in > `define'' > /usr/lib64/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:823:in `verbose'' > /usr/lib64/ruby/gems/1.8/gems/rake-0.7.3/lib/rake/testtask.rb:102:in > `define'' > /usr/lib64/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in `call'' > /usr/lib64/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in `execute'' > /usr/lib64/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in `each'' > /usr/lib64/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in `execute'' > /usr/lib64/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:362:in `invoke'' > /usr/lib64/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:355:in > `synchronize'' > /usr/lib64/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:355:in `invoke'' > /usr/lib64/ruby/gems/1.8/gems/rails-1.2.3/lib/tasks/testing.rake:45 > /usr/lib64/ruby/gems/1.8/gems/rails-1.2.3/lib/tasks/testing.rake:43:in > `collect'' > /usr/lib64/ruby/gems/1.8/gems/rails-1.2.3/lib/tasks/testing.rake:43 > /usr/lib64/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in `call'' > /usr/lib64/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in `execute'' > /usr/lib64/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in `each'' > /usr/lib64/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in `execute'' > /usr/lib64/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:362:in `invoke'' > /usr/lib64/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:355:in > `synchronize'' > /usr/lib64/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:355:in `invoke'' > /usr/lib64/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:in > `top_level'' > /usr/lib64/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:in `each'' > /usr/lib64/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:in > `top_level'' > /usr/lib64/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1761:in > `standard_exception_handling'' > /usr/lib64/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1733:in > `top_level'' > /usr/lib64/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1711:in `run'' > /usr/lib64/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1761:in > `standard_exception_handling'' > /usr/lib64/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1708:in `run'' > /usr/lib64/ruby/gems/1.8/gems/rake-0.7.3/bin/rake:7 > /usr/bin/rake:16:in `load'' > /usr/bin/rake:16 > rake aborted! > Test failures > /usr/lib64/ruby/gems/1.8/gems/rails-1.2.3/lib/tasks/testing.rake:53 > /usr/lib64/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in `call'' > /usr/lib64/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in `execute'' > /usr/lib64/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in `each'' > /usr/lib64/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in `execute'' > /usr/lib64/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:362:in `invoke'' > /usr/lib64/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:355:in > `synchronize'' > /usr/lib64/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:355:in `invoke'' > /usr/lib64/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:in > `top_level'' > /usr/lib64/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:in `each'' > /usr/lib64/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:in > `top_level'' > /usr/lib64/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1761:in > `standard_exception_handling'' > /usr/lib64/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1733:in > `top_level'' > /usr/lib64/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1711:in `run'' > /usr/lib64/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1761:in > `standard_exception_handling'' > /usr/lib64/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1708:in `run'' > /usr/lib64/ruby/gems/1.8/gems/rake-0.7.3/bin/rake:7 > /usr/bin/rake:16:in `load'' > /usr/bin/rake:16 > > I am running ruby 1.8.6 (2007-06-07 patchlevel 36) [x86_64-linux] and > rails 1.2.3, rake 0.7.3 > > Any ideas? It is just an annoyance because it turns the return code > of rake test to be non zero. > > Thanks, > Curtis--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---