build agent keeps crashing while running rails integrations tests


I have a ruby/rails project running under TeamCity.

It was using ruby 1.8 but have recently switched to jruby 1.6.0.

After tidying/fixing my integration tests, I am trying to get them running on the TeamCity box.

The unit tests run fine, but the integration tests just run and run, possibly killing the build agent.

The build config has a command line step to ensure the rvm gem set is setup.

Then a rake step to run the tests.

The build log on the TC web page shows this:

[23:16:06]: [Execute test] Execute test:units (30s)
[23:16:33]: [Execute test:units] /usr/local/rvm/gems/jruby-1.6.0@p-ecom1/gems/ruby-debug-base-0.10.4-java/lib/ruby-debug-base.rb:214  warning: tracing (e.g. set_trace_func) will not capture all events  without --debug flag
[23:16:33]: [Execute test:units] Loaded suite /usr/local/rvm/gems/jruby-1.6.0@p-ecom1/gems/rake-0.8.7/lib/rake/rake_test_loader
[23:16:34]: [Execute test:units] Started
[23:16:36]: [Execute test:units] ...........
[23:16:36]: [Execute test:units] Finished in 3.503 seconds.
[23:16:37]: [Execute test:units] 11 tests, 11 assertions, 0 failures, 0 errors
[23:16:37]: [Execute test] Execute test:functionals (7s)
[23:16:45]: [Execute test] Execute test:integration
[23:31:43]: [Execute test:integration] Build cancelled

I dont see any errors in the agent files - but maybe I am looking in the wrong place.

Any tips/thoughts on what I could be doing wrong?

Thanks, Chris

Comment actions Permalink

Hi Cris

Could you post a screenshot of build runner settings and a full build log please - here or to


Comment actions Permalink


Thanks - I have just sent the config/logs over.

Did I mention that the tests work fine when run at the command line on the same server.



Please sign in to leave a comment.