grosser/parallel_tests — Issue #85: rake parallel:features hangs on log file
Author: kbaum
Created: 2012-02-01 13:04:19+00:00
State: open

After running rake parallel:features, many times the process gets hung seemingly at the end of the task. When I do a thread dump on the process it looks like this:

```/Users/karl/.rvm/gems/ruby-1.9.3-p0@viewthespace/gems/parallel-0.5.12/lib/parallel.rb:221:in `write': Broken pipe (Errno::EPIPE)
from /Users/karl/.rvm/gems/ruby-1.9.3-p0@viewthespace/gems/parallel-0.5.12/lib/parallel.rb:221:in `write_to_pipe'
from /Users/karl/.rvm/gems/ruby-1.9.3-p0@viewthespace/gems/parallel-0.5.12/lib/parallel.rb:216:in `process_incoming_jobs'
from /Users/karl/.rvm/gems/ruby-1.9.3-p0@viewthespace/gems/parallel-0.5.12/lib/parallel.rb:189:in `block in worker'
from /Users/karl/.rvm/gems/ruby-1.9.3-p0@viewthespace/gems/parallel-0.5.12/lib/parallel.rb:182:in `fork'
from /Users/karl/.rvm/gems/ruby-1.9.3-p0@viewthespace/gems/parallel-0.5.12/lib/parallel.rb:182:in `worker'
from /Users/karl/.rvm/gems/ruby-1.9.3-p0@viewthespace/gems/parallel-0.5.12/lib/parallel.rb:167:in `block in create_workers'
from /Users/karl/.rvm/gems/ruby-1.9.3-p0@viewthespace/gems/parallel-0.5.12/lib/parallel.rb:166:in `each'
from /Users/karl/.rvm/gems/ruby-1.9.3-p0@viewthespace/gems/parallel-0.5.12/lib/parallel.rb:166:in `create_workers'
from /Users/karl/.rvm/gems/ruby-1.9.3-p0@viewthespace/gems/parallel-0.5.12/lib/parallel.rb:130:in `work_in_processes'
from /Users/karl/.rvm/gems/ruby-1.9.3-p0@viewthespace/gems/parallel-0.5.12/lib/parallel.rb:57:in `map'
from /Users/karl/.rvm/gems/ruby-1.9.3-p0@viewthespace/gems/parallel_tests-0.6.17/lib/parallel_tests/../../bin/parallel_test:81:in `

'```

I am on osx 10.6.8 using

ruby-1.9.3-p0
rails-3.2.1
parallel_tests 0.6.17
cucumber 1.1.4

And a bunch of other gems :-).

thx!

-karl