Tests failing with new installation

4 views
Skip to first unread message

Michael

unread,
Oct 14, 2009, 11:02:36 PM10/14/09
to tog_users
Hey All,

I am attempting my first foray into using Tog. After a new
installation, I'm getting the following test failures when I run

rake db:test:prepare && rake tog:plugins:test

The errors I am getting are listed below. Any assistance is
appreciated. Thanks in advance!

Michael

1) Error:
test: The activities controller viewing activity of an user via html
should respond with success. (StreamsControllerTest):
Errno::EMFILE: Too many open files - identify -format "%wx%h" "/var/
folders/UJ/UJwG9x3HFnWPvcJKPOSKbk+++TI/-Tmp-/
stream20091014-7006-1pc4e33-0"[0] 2>/dev/null
vendor/plugins/tog_social/app/models/profile.rb:142:in
`set_default_icon'
vendor/gems/thoughtbot-factory_girl-1.2.2/lib/factory_girl/proxy/
create.rb:5:in `result'
vendor/gems/thoughtbot-factory_girl-1.2.2/lib/factory_girl/
factory.rb:293:in `run'
vendor/gems/thoughtbot-factory_girl-1.2.2/lib/factory_girl/
factory.rb:237:in `create'
vendor/gems/thoughtbot-factory_girl-1.2.2/lib/factory_girl/
factory.rb:268:in `send'
vendor/gems/thoughtbot-factory_girl-1.2.2/lib/factory_girl/
factory.rb:268:in `default_strategy'
vendor/gems/thoughtbot-factory_girl-1.2.2/lib/factory_girl.rb:
20:in `Factory'
/test/functional/streams_controller_test.rb:15:in
`__bind_1255575159_714113'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:
369:in `call'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:
369:in `run_current_setup_blocks'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:
368:in `each'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:
368:in `run_current_setup_blocks'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:
360:in `run_all_setup_blocks'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:
364:in `run_parent_setup_blocks'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:
348:in `test: The activities controller viewing activity of an user
via html should respond with success. '

2) Error:
test: The activities controller viewing activity of an user via rss
should assign @activities with a kind of Array.
(StreamsControllerTest):
Errno::EMFILE: Too many open files - identify -format "%wx%h" "/var/
folders/UJ/UJwG9x3HFnWPvcJKPOSKbk+++TI/-Tmp-/
stream20091014-7006-1am2mxb-0"[0] 2>/dev/null
vendor/plugins/tog_social/app/models/group.rb:152:in
`set_default_image'
vendor/gems/thoughtbot-factory_girl-1.2.2/lib/factory_girl/proxy/
create.rb:5:in `result'
vendor/gems/thoughtbot-factory_girl-1.2.2/lib/factory_girl/
factory.rb:293:in `run'
vendor/gems/thoughtbot-factory_girl-1.2.2/lib/factory_girl/
factory.rb:237:in `create'
vendor/gems/thoughtbot-factory_girl-1.2.2/lib/factory_girl/
factory.rb:268:in `send'
vendor/gems/thoughtbot-factory_girl-1.2.2/lib/factory_girl/
factory.rb:268:in `default_strategy'
vendor/gems/thoughtbot-factory_girl-1.2.2/lib/factory_girl.rb:
20:in `Factory'
/test/functional/streams_controller_test.rb:13:in
`__bind_1255575159_988459'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:
369:in `call'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:
369:in `run_current_setup_blocks'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:
368:in `each'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:
368:in `run_current_setup_blocks'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:
360:in `run_all_setup_blocks'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:
364:in `run_parent_setup_blocks'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:
348:in `test: The activities controller viewing activity of an user
via rss should assign @activities with a kind of Array. '

3) Error:
test: The activities controller viewing activity of an user via rss
should list only user's activities. (StreamsControllerTest):
Errno::EMFILE: Too many open files - identify -format "%wx%h" "/var/
folders/UJ/UJwG9x3HFnWPvcJKPOSKbk+++TI/-Tmp-/
stream20091014-7006-1gzy5ln-0"[0] 2>/dev/null
vendor/plugins/tog_social/app/models/group.rb:152:in
`set_default_image'
vendor/gems/thoughtbot-factory_girl-1.2.2/lib/factory_girl/proxy/
create.rb:5:in `result'
vendor/gems/thoughtbot-factory_girl-1.2.2/lib/factory_girl/
factory.rb:293:in `run'
vendor/gems/thoughtbot-factory_girl-1.2.2/lib/factory_girl/
factory.rb:237:in `create'
vendor/gems/thoughtbot-factory_girl-1.2.2/lib/factory_girl/
factory.rb:268:in `send'
vendor/gems/thoughtbot-factory_girl-1.2.2/lib/factory_girl/
factory.rb:268:in `default_strategy'
vendor/gems/thoughtbot-factory_girl-1.2.2/lib/factory_girl.rb:
20:in `Factory'
/test/functional/streams_controller_test.rb:13:in
`__bind_1255575160_183152'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:
369:in `call'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:
369:in `run_current_setup_blocks'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:
368:in `each'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:
368:in `run_current_setup_blocks'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:
360:in `run_all_setup_blocks'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:
364:in `run_parent_setup_blocks'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:
348:in `test: The activities controller viewing activity of an user
via rss should list only user's activities. '

4) Error:
test: The activities controller viewing activity of an user via rss
should respond with content type of application/rss+xml.
(StreamsControllerTest):
Errno::EMFILE: Too many open files - identify -format "%wx%h" "/var/
folders/UJ/UJwG9x3HFnWPvcJKPOSKbk+++TI/-Tmp-/
stream20091014-7006-1749ity-0"[0] 2>/dev/null
vendor/plugins/tog_social/app/models/group.rb:152:in
`set_default_image'
vendor/gems/thoughtbot-factory_girl-1.2.2/lib/factory_girl/proxy/
create.rb:5:in `result'
vendor/gems/thoughtbot-factory_girl-1.2.2/lib/factory_girl/
factory.rb:293:in `run'
vendor/gems/thoughtbot-factory_girl-1.2.2/lib/factory_girl/
factory.rb:237:in `create'
vendor/gems/thoughtbot-factory_girl-1.2.2/lib/factory_girl/
factory.rb:268:in `send'
vendor/gems/thoughtbot-factory_girl-1.2.2/lib/factory_girl/
factory.rb:268:in `default_strategy'
vendor/gems/thoughtbot-factory_girl-1.2.2/lib/factory_girl.rb:
20:in `Factory'
/test/functional/streams_controller_test.rb:13:in
`__bind_1255575160_370331'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:
369:in `call'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:
369:in `run_current_setup_blocks'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:
368:in `each'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:
368:in `run_current_setup_blocks'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:
360:in `run_all_setup_blocks'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:
364:in `run_parent_setup_blocks'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:
348:in `test: The activities controller viewing activity of an user
via rss should respond with content type of application/rss+xml. '

5) Error:
test: The activities controller viewing activity of an user via rss
should respond with success. (StreamsControllerTest):
Errno::EMFILE: Too many open files - identify -format "%wx%h" "/var/
folders/UJ/UJwG9x3HFnWPvcJKPOSKbk+++TI/-Tmp-/
stream20091014-7006-1u4qh2y-0"[0] 2>/dev/null
vendor/plugins/tog_social/app/models/group.rb:152:in
`set_default_image'
vendor/gems/thoughtbot-factory_girl-1.2.2/lib/factory_girl/proxy/
create.rb:5:in `result'
vendor/gems/thoughtbot-factory_girl-1.2.2/lib/factory_girl/
factory.rb:293:in `run'
vendor/gems/thoughtbot-factory_girl-1.2.2/lib/factory_girl/
factory.rb:237:in `create'
vendor/gems/thoughtbot-factory_girl-1.2.2/lib/factory_girl/
factory.rb:268:in `send'
vendor/gems/thoughtbot-factory_girl-1.2.2/lib/factory_girl/
factory.rb:268:in `default_strategy'
vendor/gems/thoughtbot-factory_girl-1.2.2/lib/factory_girl.rb:
20:in `Factory'
/test/functional/streams_controller_test.rb:13:in
`__bind_1255575160_557066'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:
369:in `call'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:
369:in `run_current_setup_blocks'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:
368:in `each'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:
368:in `run_current_setup_blocks'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:
360:in `run_all_setup_blocks'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:
364:in `run_parent_setup_blocks'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:
348:in `test: The activities controller viewing activity of an user
via rss should respond with success. '

6) Error:
test: The activities controller viewing activity of an user's network
via html should assign @activities. (StreamsControllerTest):
Errno::EMFILE: Too many open files - identify -format "%wx%h" "/var/
folders/UJ/UJwG9x3HFnWPvcJKPOSKbk+++TI/-Tmp-/
stream20091014-7006-1obtgio-0"[0] 2>/dev/null
vendor/plugins/tog_social/app/models/group.rb:152:in
`set_default_image'
vendor/gems/thoughtbot-factory_girl-1.2.2/lib/factory_girl/proxy/
create.rb:5:in `result'
vendor/gems/thoughtbot-factory_girl-1.2.2/lib/factory_girl/
factory.rb:293:in `run'
vendor/gems/thoughtbot-factory_girl-1.2.2/lib/factory_girl/
factory.rb:237:in `create'
vendor/gems/thoughtbot-factory_girl-1.2.2/lib/factory_girl/
factory.rb:268:in `send'
vendor/gems/thoughtbot-factory_girl-1.2.2/lib/factory_girl/
factory.rb:268:in `default_strategy'
vendor/gems/thoughtbot-factory_girl-1.2.2/lib/factory_girl.rb:
20:in `Factory'
/test/functional/streams_controller_test.rb:13:in
`__bind_1255575160_744435'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:
369:in `call'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:
369:in `run_current_setup_blocks'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:
368:in `each'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:
368:in `run_current_setup_blocks'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:
360:in `run_all_setup_blocks'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:
364:in `run_parent_setup_blocks'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:
348:in `test: The activities controller viewing activity of an user's
network via html should assign @activities. '

7) Error:
test: The activities controller viewing activity of an user's network
via html should list user and friends activities.
(StreamsControllerTest):
Errno::EMFILE: Too many open files - identify -format "%wx%h" "/var/
folders/UJ/UJwG9x3HFnWPvcJKPOSKbk+++TI/-Tmp-/
stream20091014-7006-1ridgwn-0"[0] 2>/dev/null
vendor/plugins/tog_social/app/models/group.rb:152:in
`set_default_image'
vendor/gems/thoughtbot-factory_girl-1.2.2/lib/factory_girl/proxy/
create.rb:5:in `result'
vendor/gems/thoughtbot-factory_girl-1.2.2/lib/factory_girl/
factory.rb:293:in `run'
vendor/gems/thoughtbot-factory_girl-1.2.2/lib/factory_girl/
factory.rb:237:in `create'
vendor/gems/thoughtbot-factory_girl-1.2.2/lib/factory_girl/
factory.rb:268:in `send'
vendor/gems/thoughtbot-factory_girl-1.2.2/lib/factory_girl/
factory.rb:268:in `default_strategy'
vendor/gems/thoughtbot-factory_girl-1.2.2/lib/factory_girl.rb:
20:in `Factory'
/test/functional/streams_controller_test.rb:13:in
`__bind_1255575160_930412'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:
369:in `call'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:
369:in `run_current_setup_blocks'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:
368:in `each'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:
368:in `run_current_setup_blocks'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:
360:in `run_all_setup_blocks'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:
364:in `run_parent_setup_blocks'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:
348:in `test: The activities controller viewing activity of an user's
network via html should list user and friends activities. '

8) Error:
test: The activities controller viewing activity of an user's network
via html should respond with content type of text/html.
(StreamsControllerTest):
Errno::EMFILE: Too many open files - identify -format "%wx%h" "/var/
folders/UJ/UJwG9x3HFnWPvcJKPOSKbk+++TI/-Tmp-/
stream20091014-7006-4xwbru-0"[0] 2>/dev/null
vendor/plugins/tog_social/app/models/group.rb:152:in
`set_default_image'
vendor/gems/thoughtbot-factory_girl-1.2.2/lib/factory_girl/proxy/
create.rb:5:in `result'
vendor/gems/thoughtbot-factory_girl-1.2.2/lib/factory_girl/
factory.rb:293:in `run'
vendor/gems/thoughtbot-factory_girl-1.2.2/lib/factory_girl/
factory.rb:237:in `create'
vendor/gems/thoughtbot-factory_girl-1.2.2/lib/factory_girl/
factory.rb:268:in `send'
vendor/gems/thoughtbot-factory_girl-1.2.2/lib/factory_girl/
factory.rb:268:in `default_strategy'
vendor/gems/thoughtbot-factory_girl-1.2.2/lib/factory_girl.rb:
20:in `Factory'
/test/functional/streams_controller_test.rb:13:in
`__bind_1255575161_117439'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:
369:in `call'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:
369:in `run_current_setup_blocks'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:
368:in `each'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:
368:in `run_current_setup_blocks'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:
360:in `run_all_setup_blocks'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:
364:in `run_parent_setup_blocks'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:
348:in `test: The activities controller viewing activity of an user's
network via html should respond with content type of text/html. '

9) Error:
test: The activities controller viewing activity of an user's network
via html should respond with success. (StreamsControllerTest):
Errno::EMFILE: Too many open files - identify -format "%wx%h" "/var/
folders/UJ/UJwG9x3HFnWPvcJKPOSKbk+++TI/-Tmp-/
stream20091014-7006-1df8rab-0"[0] 2>/dev/null
vendor/plugins/tog_social/app/models/group.rb:152:in
`set_default_image'
vendor/gems/thoughtbot-factory_girl-1.2.2/lib/factory_girl/proxy/
create.rb:5:in `result'
vendor/gems/thoughtbot-factory_girl-1.2.2/lib/factory_girl/
factory.rb:293:in `run'
vendor/gems/thoughtbot-factory_girl-1.2.2/lib/factory_girl/
factory.rb:237:in `create'
vendor/gems/thoughtbot-factory_girl-1.2.2/lib/factory_girl/
factory.rb:268:in `send'
vendor/gems/thoughtbot-factory_girl-1.2.2/lib/factory_girl/
factory.rb:268:in `default_strategy'
vendor/gems/thoughtbot-factory_girl-1.2.2/lib/factory_girl.rb:
20:in `Factory'
/test/functional/streams_controller_test.rb:13:in
`__bind_1255575161_303761'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:
369:in `call'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:
369:in `run_current_setup_blocks'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:
368:in `each'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:
368:in `run_current_setup_blocks'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:
360:in `run_all_setup_blocks'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:
364:in `run_parent_setup_blocks'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:
348:in `test: The activities controller viewing activity of an user's
network via html should respond with success. '

10) Error:
test: The activities controller viewing activity of an user's network
via rss should assign @activities. (StreamsControllerTest):
Errno::EMFILE: Too many open files - identify -format "%wx%h" "/var/
folders/UJ/UJwG9x3HFnWPvcJKPOSKbk+++TI/-Tmp-/
stream20091014-7006-1afagp3-0"[0] 2>/dev/null
vendor/plugins/tog_social/app/models/group.rb:152:in
`set_default_image'
vendor/gems/thoughtbot-factory_girl-1.2.2/lib/factory_girl/proxy/
create.rb:5:in `result'
vendor/gems/thoughtbot-factory_girl-1.2.2/lib/factory_girl/
factory.rb:293:in `run'
vendor/gems/thoughtbot-factory_girl-1.2.2/lib/factory_girl/
factory.rb:237:in `create'
vendor/gems/thoughtbot-factory_girl-1.2.2/lib/factory_girl/
factory.rb:268:in `send'
vendor/gems/thoughtbot-factory_girl-1.2.2/lib/factory_girl/
factory.rb:268:in `default_strategy'
vendor/gems/thoughtbot-factory_girl-1.2.2/lib/factory_girl.rb:
20:in `Factory'
/test/functional/streams_controller_test.rb:13:in
`__bind_1255575161_491338'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:
369:in `call'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:
369:in `run_current_setup_blocks'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:
368:in `each'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:
368:in `run_current_setup_blocks'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:
360:in `run_all_setup_blocks'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:
364:in `run_parent_setup_blocks'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:
348:in `test: The activities controller viewing activity of an user's
network via rss should assign @activities. '

11) Error:
test: The activities controller viewing activity of an user's network
via rss should list user and friends activities.
(StreamsControllerTest):
Errno::EMFILE: Too many open files - identify -format "%wx%h" "/var/
folders/UJ/UJwG9x3HFnWPvcJKPOSKbk+++TI/-Tmp-/stream20091014-7006-
lezlk1-0"[0] 2>/dev/null
vendor/plugins/tog_social/app/models/group.rb:152:in
`set_default_image'
vendor/gems/thoughtbot-factory_girl-1.2.2/lib/factory_girl/proxy/
create.rb:5:in `result'
vendor/gems/thoughtbot-factory_girl-1.2.2/lib/factory_girl/
factory.rb:293:in `run'
vendor/gems/thoughtbot-factory_girl-1.2.2/lib/factory_girl/
factory.rb:237:in `create'
vendor/gems/thoughtbot-factory_girl-1.2.2/lib/factory_girl/
factory.rb:268:in `send'
vendor/gems/thoughtbot-factory_girl-1.2.2/lib/factory_girl/
factory.rb:268:in `default_strategy'
vendor/gems/thoughtbot-factory_girl-1.2.2/lib/factory_girl.rb:
20:in `Factory'
/test/functional/streams_controller_test.rb:13:in
`__bind_1255575161_723496'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:
369:in `call'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:
369:in `run_current_setup_blocks'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:
368:in `each'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:
368:in `run_current_setup_blocks'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:
360:in `run_all_setup_blocks'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:
364:in `run_parent_setup_blocks'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:
348:in `test: The activities controller viewing activity of an user's
network via rss should list user and friends activities. '

12) Error:
test: The activities controller viewing activity of an user's network
via rss should respond with content type of application/rss+xml.
(StreamsControllerTest):
Errno::EMFILE: Too many open files - identify -format "%wx%h" "/var/
folders/UJ/UJwG9x3HFnWPvcJKPOSKbk+++TI/-Tmp-/stream20091014-7006-
qgug8v-0"[0] 2>/dev/null
vendor/plugins/tog_social/app/models/group.rb:152:in
`set_default_image'
vendor/gems/thoughtbot-factory_girl-1.2.2/lib/factory_girl/proxy/
create.rb:5:in `result'
vendor/gems/thoughtbot-factory_girl-1.2.2/lib/factory_girl/
factory.rb:293:in `run'
vendor/gems/thoughtbot-factory_girl-1.2.2/lib/factory_girl/
factory.rb:237:in `create'
vendor/gems/thoughtbot-factory_girl-1.2.2/lib/factory_girl/
factory.rb:268:in `send'
vendor/gems/thoughtbot-factory_girl-1.2.2/lib/factory_girl/
factory.rb:268:in `default_strategy'
vendor/gems/thoughtbot-factory_girl-1.2.2/lib/factory_girl.rb:
20:in `Factory'
/test/functional/streams_controller_test.rb:13:in
`__bind_1255575161_940749'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:
369:in `call'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:
369:in `run_current_setup_blocks'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:
368:in `each'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:
368:in `run_current_setup_blocks'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:
360:in `run_all_setup_blocks'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:
364:in `run_parent_setup_blocks'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:
348:in `test: The activities controller viewing activity of an user's
network via rss should respond with content type of application/rss
+xml. '

13) Error:
test: The activities controller viewing activity of an user's network
via rss should respond with success. (StreamsControllerTest):
Errno::EMFILE: Too many open files - identify -format "%wx%h" "/var/
folders/UJ/UJwG9x3HFnWPvcJKPOSKbk+++TI/-Tmp-/stream20091014-7006-
e5p565-0"[0] 2>/dev/null
vendor/plugins/tog_social/app/models/group.rb:152:in
`set_default_image'
vendor/gems/thoughtbot-factory_girl-1.2.2/lib/factory_girl/proxy/
create.rb:5:in `result'
vendor/gems/thoughtbot-factory_girl-1.2.2/lib/factory_girl/
factory.rb:293:in `run'
vendor/gems/thoughtbot-factory_girl-1.2.2/lib/factory_girl/
factory.rb:237:in `create'
vendor/gems/thoughtbot-factory_girl-1.2.2/lib/factory_girl/
factory.rb:268:in `send'
vendor/gems/thoughtbot-factory_girl-1.2.2/lib/factory_girl/
factory.rb:268:in `default_strategy'
vendor/gems/thoughtbot-factory_girl-1.2.2/lib/factory_girl.rb:
20:in `Factory'
/test/functional/streams_controller_test.rb:13:in
`__bind_1255575162_159158'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:
369:in `call'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:
369:in `run_current_setup_blocks'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:
368:in `each'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:
368:in `run_current_setup_blocks'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:
360:in `run_all_setup_blocks'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:
364:in `run_parent_setup_blocks'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:
348:in `test: The activities controller viewing activity of an user's
network via rss should respond with success. '

14) Error:
test: A User when destroyed should have his group memberships
destroyed, too. (UserTest):
Errno::EMFILE: Too many open files - identify -format "%wx%h" "/var/
folders/UJ/UJwG9x3HFnWPvcJKPOSKbk+++TI/-Tmp-/
stream20091014-7006-5nkqtn-0"[0] 2>/dev/null
vendor/plugins/tog_social/app/models/profile.rb:142:in
`set_default_icon'
vendor/gems/thoughtbot-factory_girl-1.2.2/lib/factory_girl/proxy/
create.rb:5:in `result'
vendor/gems/thoughtbot-factory_girl-1.2.2/lib/factory_girl/
factory.rb:293:in `run'
vendor/gems/thoughtbot-factory_girl-1.2.2/lib/factory_girl/
factory.rb:237:in `create'
vendor/gems/thoughtbot-factory_girl-1.2.2/lib/factory_girl/proxy/
build.rb:17:in `associate'
vendor/gems/thoughtbot-factory_girl-1.2.2/lib/factory_girl/
attribute/association.rb:13:in `add_to'
vendor/gems/thoughtbot-factory_girl-1.2.2/lib/factory_girl/
factory.rb:290:in `run'
vendor/gems/thoughtbot-factory_girl-1.2.2/lib/factory_girl/
factory.rb:288:in `each'
vendor/gems/thoughtbot-factory_girl-1.2.2/lib/factory_girl/
factory.rb:288:in `run'
vendor/gems/thoughtbot-factory_girl-1.2.2/lib/factory_girl/
factory.rb:237:in `create'
vendor/gems/thoughtbot-factory_girl-1.2.2/lib/factory_girl/
factory.rb:268:in `send'
vendor/gems/thoughtbot-factory_girl-1.2.2/lib/factory_girl/
factory.rb:268:in `default_strategy'
vendor/gems/thoughtbot-factory_girl-1.2.2/lib/factory_girl.rb:
20:in `Factory'
/test/unit/user_test.rb:17:in `__bind_1255575162_614943'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:
369:in `call'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:
369:in `run_current_setup_blocks'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:
368:in `each'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:
368:in `run_current_setup_blocks'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:
350:in `test: A User when destroyed should have his group memberships
destroyed, too. '

Alberto Molpeceres

unread,
Oct 15, 2009, 7:01:24 AM10/15/09
to tog_...@googlegroups.com
Hi Michael,

It seems you have a problem with your OS files limit

> Errno::EMFILE: Too many open files - identify -format "%wx%h" "/var/
> folders/UJ/UJwG9x3HFnWPvcJKPOSKbk+++TI/-Tmp-/
> stream20091014-7006-1pc4e33-0"[0] 2>/dev/null

It's not a tog problem, but cause by tog. I mean, tests are generating
avatars for the test users groups, and so on, which generates many
files through imagemagik.

Quick solution: increase your limit with ulimit if you can (for
example: ulimit -n 2048)

I'm gonna check fakefs (http://github.com/defunkt/fakefs) and see if
it helps on this and avoids so many files being created.

al.

--
Alberto Molpeceres.
Linking Paths.

Simple registration for your events. http://www.stagehq.com
Reply all
Reply to author
Forward
0 new messages