Skip to content

Instantly share code, notes, and snippets.

@hcayless
Created October 19, 2010 18:47
Show Gist options
  • Save hcayless/634796 to your computer and use it in GitHub Desktop.
Save hcayless/634796 to your computer and use it in GitHub Desktop.
$jruby -S rake --trace
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
(in /data/papyri.info/sosol/editor)
** Invoke default (first_time)
** Invoke test (first_time)
** Execute test
** Invoke test:units (first_time)
** Invoke db:test:prepare (first_time)
** Invoke db:abort_if_pending_migrations (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute db:abort_if_pending_migrations
** Execute db:test:prepare
** Invoke db:test:load (first_time)
** Invoke db:test:purge (first_time)
** Invoke environment
** Execute db:test:purge
** Execute db:test:load
** Invoke db:schema:load (first_time)
** Invoke environment
** Execute db:schema:load
** Execute test:units
/usr/local/jruby/bin/jruby -I"lib:test" "/usr/local/jruby-1.5.2/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader.rb" "test/unit/translation_mailer_test.rb" "test/unit/board_test.rb" "test/unit/identifier_test.rb" "test/unit/decree_test.rb" "test/unit/user_identifier_test.rb" "test/unit/emailer_mailer_test.rb" "test/unit/emailer_test.rb" "test/unit/xml_test.rb" "test/unit/event_test.rb" "test/unit/vote_test.rb" "test/unit/ddb_identifier_test.rb" "test/unit/repository_test.rb" "test/unit/hgv_meta_identifier_test.rb" "test/unit/publication_test.rb" "test/unit/user_test.rb" "test/unit/comment_test.rb"
/usr/local/jruby-1.5.2/lib/ruby/gems/1.8/gems/ruby-debug-base-0.10.3.2-java/lib/ruby-debug-base.rb:214 warning: tracing (e.g. set_trace_func) will not capture all events without --debug flag
Loaded suite /usr/local/jruby-1.5.2/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader
Started
.....E.....FEEEE.............EEEEEEE.EEEE.................
Finished in 53.913 seconds.
1) Error:
test: collection names should be unique. (DDBIdentifierTest):
NoMethodError: You have a nil object when you didn't expect it!
You might have expected an instance of Array.
The error occurred while evaluating nil.collect
lib/numbers_rdf.rb:93:in `identifier_to_parts'
app/models/identifier.rb:149:in `collection_names'
/test/unit/ddb_identifier_test.rb:6:in `__bind_1287513747_379000'
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: collection names should be unique. '
2) Failure:
test: identifier renaming should raise an error when the destination exists. (DDBIdentifierTest)
[/test/unit/ddb_identifier_test.rb:33:in `__bind_1287513749_484000'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:351:in `test: identifier renaming should raise an error when the destination exists. ']:
<RuntimeError> exception expected but was
Class: <NoMethodError>
Message: <"You have a nil object when you didn't expect it!\nYou might have expected an instance of Array.\nThe error occurred while evaluating nil.collect">
---Backtrace---
lib/numbers_rdf.rb:93:in `identifier_to_parts'
app/models/identifier.rb:149:in `collection_names'
app/models/ddb_identifier.rb:35:in `collection_names_hash'
app/models/identifier.rb:119:in `titleize'
app/models/identifier.rb:260:in `rename'
app/models/identifier.rb:258:in `rename'
/test/unit/ddb_identifier_test.rb:34:in `__bind_1287513749_484000'
/test/unit/ddb_identifier_test.rb:33:in `__bind_1287513749_484000'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:351:in `test: identifier renaming should raise an error when the destination exists. '
---------------
3) Error:
test: identifier renaming with a valid target should have nothing at the original path. (DDBIdentifierTest):
NoMethodError: You have a nil object when you didn't expect it!
You might have expected an instance of Array.
The error occurred while evaluating nil.collect
lib/numbers_rdf.rb:93:in `identifier_to_parts'
app/models/identifier.rb:149:in `collection_names'
app/models/ddb_identifier.rb:35:in `collection_names_hash'
app/models/identifier.rb:119:in `titleize'
app/models/identifier.rb:260:in `rename'
app/models/identifier.rb:258:in `rename'
/test/unit/ddb_identifier_test.rb:41:in `__bind_1287513751_266000'
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: identifier renaming with a valid target should have nothing at the original path. '
4) Error:
test: identifier renaming with a valid target should have the correct content at the new path. (DDBIdentifierTest):
NoMethodError: You have a nil object when you didn't expect it!
You might have expected an instance of Array.
The error occurred while evaluating nil.collect
lib/numbers_rdf.rb:93:in `identifier_to_parts'
app/models/identifier.rb:149:in `collection_names'
app/models/ddb_identifier.rb:35:in `collection_names_hash'
app/models/identifier.rb:119:in `titleize'
app/models/identifier.rb:260:in `rename'
app/models/identifier.rb:258:in `rename'
/test/unit/ddb_identifier_test.rb:41:in `__bind_1287513753_375000'
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: identifier renaming with a valid target should have the correct content at the new path. '
5) Error:
test: identifier renaming with a valid target should have the correct new title. (DDBIdentifierTest):
NoMethodError: You have a nil object when you didn't expect it!
You might have expected an instance of Array.
The error occurred while evaluating nil.collect
lib/numbers_rdf.rb:93:in `identifier_to_parts'
app/models/identifier.rb:149:in `collection_names'
app/models/ddb_identifier.rb:35:in `collection_names_hash'
app/models/identifier.rb:119:in `titleize'
app/models/identifier.rb:260:in `rename'
app/models/identifier.rb:258:in `rename'
/test/unit/ddb_identifier_test.rb:41:in `__bind_1287513755_115000'
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: identifier renaming with a valid target should have the correct new title. '
6) Error:
test: identifier renaming with a valid target should have the new name. (DDBIdentifierTest):
NoMethodError: You have a nil object when you didn't expect it!
You might have expected an instance of Array.
The error occurred while evaluating nil.collect
lib/numbers_rdf.rb:93:in `identifier_to_parts'
app/models/identifier.rb:149:in `collection_names'
app/models/ddb_identifier.rb:35:in `collection_names_hash'
app/models/identifier.rb:119:in `titleize'
app/models/identifier.rb:260:in `rename'
app/models/identifier.rb:258:in `rename'
/test/unit/ddb_identifier_test.rb:41:in `__bind_1287513756_725000'
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: identifier renaming with a valid target should have the new name. '
7) Error:
test: a new publication from templates should delete its branch upon destruction. (PublicationTest):
RuntimeError: Called id for nil, which would mistakenly be 4 -- if you really wanted the id of nil, use object_id
/test/unit/publication_test.rb:29:in `__bind_1287513781_658000'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:375:in `run_all_teardown_blocks'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:374:in `each'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:374:in `run_all_teardown_blocks'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:353:in `test: a new publication from templates should delete its branch upon destruction. '
8) Error:
test: a new publication from templates should exist. (PublicationTest):
RuntimeError: Called id for nil, which would mistakenly be 4 -- if you really wanted the id of nil, use object_id
/test/unit/publication_test.rb:29:in `__bind_1287513781_699000'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:375:in `run_all_teardown_blocks'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:374:in `each'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:374:in `run_all_teardown_blocks'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:353:in `test: a new publication from templates should exist. '
9) Error:
test: a new publication from templates should have a branch with its branch attribute. (PublicationTest):
RuntimeError: Called id for nil, which would mistakenly be 4 -- if you really wanted the id of nil, use object_id
/test/unit/publication_test.rb:29:in `__bind_1287513781_735000'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:375:in `run_all_teardown_blocks'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:374:in `each'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:374:in `run_all_teardown_blocks'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:353:in `test: a new publication from templates should have a branch with its branch attribute. '
10) Error:
test: a new publication from templates should have a head. (PublicationTest):
RuntimeError: Called id for nil, which would mistakenly be 4 -- if you really wanted the id of nil, use object_id
/test/unit/publication_test.rb:29:in `__bind_1287513781_784000'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:375:in `run_all_teardown_blocks'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:374:in `each'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:374:in `run_all_teardown_blocks'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:353:in `test: a new publication from templates should have a head. '
11) Error:
test: a new publication from templates should have an equivalent creator and owner. (PublicationTest):
RuntimeError: Called id for nil, which would mistakenly be 4 -- if you really wanted the id of nil, use object_id
/test/unit/publication_test.rb:29:in `__bind_1287513781_852000'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:375:in `run_all_teardown_blocks'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:374:in `each'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:374:in `run_all_teardown_blocks'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:353:in `test: a new publication from templates should have an equivalent creator and owner. '
12) Error:
test: a new publication from templates should have status 'new'. (PublicationTest):
RuntimeError: Called id for nil, which would mistakenly be 4 -- if you really wanted the id of nil, use object_id
/test/unit/publication_test.rb:29:in `__bind_1287513781_900000'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:375:in `run_all_teardown_blocks'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:374:in `each'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:374:in `run_all_teardown_blocks'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:353:in `test: a new publication from templates should have status 'new'. '
13) Error:
test: a new publication from templates should have valid XML for templates. (PublicationTest):
RuntimeError: Called id for nil, which would mistakenly be 4 -- if you really wanted the id of nil, use object_id
/test/unit/publication_test.rb:29:in `__bind_1287513781_939000'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:375:in `run_all_teardown_blocks'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:374:in `each'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:374:in `run_all_teardown_blocks'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:353:in `test: a new publication from templates should have valid XML for templates. '
14) Error:
test: a publication copied to another owner should be a child of its parent. (PublicationTest):
NoMethodError: You have a nil object when you didn't expect it!
You might have expected an instance of ActiveRecord::Base.
The error occurred while evaluating nil.destroy
/test/unit/publication_test.rb:75:in `__bind_1287513782_884000'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:375:in `run_all_teardown_blocks'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:374:in `each'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:374:in `run_all_teardown_blocks'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:353:in `test: a publication copied to another owner should be a child of its parent. '
15) Error:
test: a publication copied to another owner should belong to the new owner. (PublicationTest):
NoMethodError: You have a nil object when you didn't expect it!
You might have expected an instance of ActiveRecord::Base.
The error occurred while evaluating nil.destroy
/test/unit/publication_test.rb:75:in `__bind_1287513782_927000'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:375:in `run_all_teardown_blocks'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:374:in `each'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:374:in `run_all_teardown_blocks'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:353:in `test: a publication copied to another owner should belong to the new owner. '
16) Error:
test: a publication copied to another owner should have its source as a parent. (PublicationTest):
NoMethodError: You have a nil object when you didn't expect it!
You might have expected an instance of ActiveRecord::Base.
The error occurred while evaluating nil.destroy
/test/unit/publication_test.rb:75:in `__bind_1287513782_972000'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:375:in `run_all_teardown_blocks'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:374:in `each'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:374:in `run_all_teardown_blocks'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:353:in `test: a publication copied to another owner should have its source as a parent. '
17) Error:
test: a publication copied to another owner should retain the original creator. (PublicationTest):
NoMethodError: You have a nil object when you didn't expect it!
You might have expected an instance of ActiveRecord::Base.
The error occurred while evaluating nil.destroy
/test/unit/publication_test.rb:75:in `__bind_1287513783_75000'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:375:in `run_all_teardown_blocks'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:374:in `each'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:374:in `run_all_teardown_blocks'
vendor/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:353:in `test: a publication copied to another owner should retain the original creator. '
58 tests, 106 assertions, 1 failures, 16 errors
** Invoke test:functionals (first_time)
** Invoke db:test:prepare
** Execute test:functionals
/usr/local/jruby/bin/jruby -I"lib:test" "/usr/local/jruby-1.5.2/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader.rb" "test/functional/rpx_controller_test.rb" "test/functional/votes_controller_test.rb" "test/functional/repositories_controller_test.rb" "test/functional/decrees_controller_test.rb" "test/functional/publications_controller_test.rb" "test/functional/boards_controller_test.rb" "test/functional/events_controller_test.rb" "test/functional/emailers_controller_test.rb" "test/functional/user_controller_test.rb" "test/functional/workflow_test.rb" "test/functional/welcome_controller_test.rb"
Loaded suite /usr/local/jruby-1.5.2/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader
Started
/usr/local/jruby-1.5.2/lib/ruby/gems/1.8/gems/ruby-debug-base-0.10.3.2-java/lib/ruby-debug-base.rb:214 warning: tracing (e.g. set_trace_func) will not capture all events without --debug flag
...............................................
Finished in 145.28 seconds.
47 tests, 66 assertions, 0 failures, 0 errors
** Invoke test:integration (first_time)
** Invoke db:test:prepare
** Execute test:integration
/usr/local/jruby/bin/jruby -I"lib:test" "/usr/local/jruby-1.5.2/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader.rb"
Errors running test:units!
Loaded suite /usr/local/jruby/bin/rake
Started
Finished in 0.002 seconds.
0 tests, 0 assertions, 0 failures, 0 errors
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment