Command failed with status (-1) when running test unit

I am seeing this problem when running the rake test task with the Rake runner and RVM using JRuby 1.6.7
bundle exec is not checked (checking it causes a different problem - stack too deep)
Test::Unit reporter is checked
test-unit is included in the Gemfile and its version is locked at 2.4.5

[Execute test:units] RuntimeError: Command failed with status (-1): [/usr/local/rvm/rubies/jruby-1.6.7/bin/jrub...]

Stacktrace:
/usr/local/rvm/gems/jruby-1.6.7/gems/rake-0.9.2.2/lib/rake/file_utils.rb:53:in `create_shell_runner'
org/jruby/RubyProc.java:258:in `call'
/usr/local/rvm/gems/jruby-1.6.7/gems/rake-0.9.2.2/lib/rake/file_utils.rb:45:in `sh'
/usr/local/rvm/gems/jruby-1.6.7/gems/rake-0.9.2.2/lib/rake/file_utils_ext.rb:43:in `sh'
/usr/local/rvm/gems/jruby-1.6.7/gems/rake-0.9.2.2/lib/rake/file_utils.rb:82:in `ruby'
/usr/local/rvm/gems/jruby-1.6.7/gems/rake-0.9.2.2/lib/rake/file_utils_ext.rb:43:in `ruby'
/usr/local/rvm/gems/jruby-1.6.7/gems/railties-3.0.10/lib/rails/test_unit/testing.rake:26:in `define'
/usr/local/rvm/gems/jruby-1.6.7/gems/rake-0.9.2.2/lib/rake/file_utils_ext.rb:60:in `verbose'
/usr/local/rvm/gems/jruby-1.6.7/gems/railties-3.0.10/lib/rails/test_unit/testing.rake:11:in `define'
org/jruby/RubyProc.java:258:in `call'
/usr/local/rvm/gems/jruby-1.6.7/gems/rake-0.9.2.2/lib/rake/task.rb:205:in `execute'
org/jruby/RubyArray.java:1615:in `each'
/usr/local/rvm/gems/jruby-1.6.7/gems/rake-0.9.2.2/lib/rake/task.rb:200:in `execute'
/home/teamcity/BuildAgent/plugins/rake-runner/rb/runner/rake_ext.rb:262:in `execute'
/home/teamcity/BuildAgent/plugins/rake-runner/rb/runner/rake_ext.rb:90:in `target_exception_handling'
/home/teamcity/BuildAgent/plugins/rake-runner/rb/runner/rake_ext.rb:268:in `execute'
/usr/local/rvm/gems/jruby-1.6.7/gems/rake-0.9.2.2/lib/rake/task.rb:158:in `invoke_with_call_chain'
/usr/local/rvm/rubies/jruby-1.6.7/lib/ruby/1.9/monitor.rb:201:in `mon_synchronize'
/usr/local/rvm/gems/jruby-1.6.7/gems/rake-0.9.2.2/lib/rake/task.rb:151:in `invoke_with_call_chain'
/usr/local/rvm/gems/jruby-1.6.7/gems/rake-0.9.2.2/lib/rake/task.rb:144:in `invoke'
/home/teamcity/BuildAgent/plugins/rake-runner/rb/runner/rake_ext.rb:235:in `my_invoke_with_call_chain'
/home/teamcity/BuildAgent/plugins/rake-runner/rb/runner/rake_ext.rb:90:in `target_exception_handling'
/home/teamcity/BuildAgent/plugins/rake-runner/rb/runner/rake_ext.rb:234:in `my_invoke_with_call_chain'
/usr/local/rvm/gems/jruby-1.6.7/gems/railties-3.0.10/lib/rails/test_unit/testing.rake:78:in `(root)'
org/jruby/RubyArray.java:2339:in `collect'
/usr/local/rvm/gems/jruby-1.6.7/gems/railties-3.0.10/lib/rails/test_unit/testing.rake:76:in `(root)'
org/jruby/RubyProc.java:258:in `call'
/usr/local/rvm/gems/jruby-1.6.7/gems/rake-0.9.2.2/lib/rake/task.rb:205:in `execute'
org/jruby/RubyArray.java:1615:in `each'
/usr/local/rvm/gems/jruby-1.6.7/gems/rake-0.9.2.2/lib/rake/task.rb:200:in `execute'
/home/teamcity/BuildAgent/plugins/rake-runner/rb/runner/rake_ext.rb:262:in `execute'
/home/teamcity/BuildAgent/plugins/rake-runner/rb/runner/rake_ext.rb:90:in `target_exception_handling'
/home/teamcity/BuildAgent/plugins/rake-runner/rb/runner/rake_ext.rb:268:in `execute'
/usr/local/rvm/gems/jruby-1.6.7/gems/rake-0.9.2.2/lib/rake/task.rb:158:in `invoke_with_call_chain'
/usr/local/rvm/rubies/jruby-1.6.7/lib/ruby/1.9/monitor.rb:201:in `mon_synchronize'
/usr/local/rvm/gems/jruby-1.6.7/gems/rake-0.9.2.2/lib/rake/task.rb:151:in `invoke_with_call_chain'
/usr/local/rvm/gems/jruby-1.6.7/gems/rake-0.9.2.2/lib/rake/task.rb:144:in `invoke'
/home/teamcity/BuildAgent/plugins/rake-runner/rb/runner/rake_ext.rb:235:in `my_invoke_with_call_chain'
/home/teamcity/BuildAgent/plugins/rake-runner/rb/runner/rake_ext.rb:90:in `target_exception_handling'
/home/teamcity/BuildAgent/plugins/rake-runner/rb/runner/rake_ext.rb:234:in `my_invoke_with_call_chain'
/usr/local/rvm/gems/jruby-1.6.7/gems/rake-0.9.2.2/lib/rake/application.rb:116:in `invoke_task'
/usr/local/rvm/gems/jruby-1.6.7/gems/rake-0.9.2.2/lib/rake/application.rb:94:in `top_level'
org/jruby/RubyArray.java:1615:in `each'
/usr/local/rvm/gems/jruby-1.6.7/gems/rake-0.9.2.2/lib/rake/application.rb:94:in `top_level'
/home/teamcity/BuildAgent/plugins/rake-runner/rb/runner/rake_ext.rb:314:in `standard_exception_handling'
/usr/local/rvm/gems/jruby-1.6.7/gems/rake-0.9.2.2/lib/rake/application.rb:88:in `top_level'
/usr/local/rvm/gems/jruby-1.6.7/gems/rake-0.9.2.2/lib/rake/application.rb:66:in `run'
/home/teamcity/BuildAgent/plugins/rake-runner/rb/runner/rake_ext.rb:314:in `standard_exception_handling'
/usr/local/rvm/gems/jruby-1.6.7/gems/rake-0.9.2.2/lib/rake/application.rb:63:in `run'
/home/teamcity/BuildAgent/plugins/rake-runner/rb/runner/rake_ext.rb:179:in `run'
/home/teamcity/BuildAgent/plugins/rake-runner/rb/runner/rakerunner.rb:40:in `(root)'
1 comment
Comment actions Permalink

Just for  reference, related issue is TW-20611.

0

Please sign in to leave a comment.