Created
December 13, 2010 08:09
-
-
Save naag/738779 to your computer and use it in GitHub Desktop.
Gitorious unit tests failing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ rake test:units | |
(in /var/www/gitorious) | |
/usr/bin/ruby1.8 -I"lib:test" "/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader.rb" "test/unit/favorite_test.rb" "test/unit/cloner_test.rb" "test/unit/merge_request_status_test.rb" "test/unit/committership_test.rb" "test/unit/archived_event_test.rb" "test/unit/ssh_key_test.rb" "test/unit/group_test.rb" "test/unit/membership_test.rb" "test/unit/event_test.rb" "test/unit/merge_request_test.rb" "test/unit/processors/web_hook_processor_test.rb" "test/unit/processors/ssh_key_processor_test.rb" "test/unit/processors/repository_creation_processor_test.rb" "test/unit/processors/repository_archiving_processor_test.rb" "test/unit/processors/merge_request_git_backend_processor_test.rb" "test/unit/processors/push_event_processor_test.rb" "test/unit/processors/message_forwarding_processor_test.rb" "test/unit/processors/merge_request_version_processor_test.rb" "test/unit/processors/merge_request_processor_test.rb" "test/unit/merge_request_version_test.rb" "test/unit/page_test.rb" "test/unit/repository_test.rb" "test/unit/lib/comment_callback_test.rb" "test/unit/lib/pre_receive_guard_test.rb" "test/unit/lib/subdomain_validation_test.rb" "test/unit/lib/markup_renderer_test.rb" "test/unit/lib/breadcrumb_test.rb" "test/unit/lib/event_rendering/text_test.rb" "test/unit/lib/ssh_client_test.rb" "test/unit/lib/ssh_strainer_test.rb" "test/unit/role_test.rb" "test/unit/user_test.rb" "test/unit/feed_item_test.rb" "test/unit/hook_test.rb" "test/unit/mailer_test.rb" "test/unit/comment_test.rb" "test/unit/helpers/projects_helper_test.rb" "test/unit/helpers/users_helper_test.rb" "test/unit/helpers/blobs_helper_test.rb" "test/unit/helpers/licenses_helper_test.rb" "test/unit/helpers/committerships_helper_test.rb" "test/unit/helpers/trees_helper_test.rb" "test/unit/helpers/commits_helper_test.rb" "test/unit/helpers/pages_helper_test.rb" "test/unit/helpers/messages_helper_test.rb" "test/unit/helpers/repositories_helper_test.rb" "test/unit/helpers/memberships_helper_test.rb" "test/unit/helpers/searches_helper_test.rb" "test/unit/helpers/comments_helper_test.rb" "test/unit/helpers/groups_helper_test.rb" "test/unit/helpers/sessions_helper_test.rb" "test/unit/helpers/merge_requests_helper_test.rb" "test/unit/helpers/favorites_helper_test.rb" "test/unit/helpers/site_helper_test.rb" "test/unit/helpers/events_helper_test.rb" "test/unit/helpers/application_helper_test.rb" "test/unit/helpers/admin/users_helper_test.rb" "test/unit/helpers/aliases_helper_test.rb" "test/unit/helpers/accounts_helper_test.rb" "test/unit/helpers/merge_request_versions_helper_test.rb" "test/unit/helpers/keys_helper_test.rb" "test/unit/site_test.rb" "test/unit/status_tag_test.rb" "test/unit/project_test.rb" "test/unit/message_test.rb" "test/unit/email_test.rb" "test/unit/message_thread_test.rb" "test/unit/git_backend_test.rb" "test/unit/ssh_key_file_test.rb" | |
/var/www/gitorious/config/../vendor/rails/railties/lib/rails/gem_dependency.rb:119:Warning: Gem::Dependency#version_requirements is deprecated and will be removed on or after August 2010. Use #requirement | |
[DEPRECATION] should_require_attributes is deprecated. Use should_validate_presence_of instead. | |
* DEFERRED: The state machine should provide a hash of labels and values for possible next states. | |
* DEFERRED: The state machine should have a pseudo-open status. | |
* DEFERRED: find_by_path should finds a repository by its path, regardless of repository kind. | |
* DEFERRED: ApplicationHelper should generates a valid gravatar url. | |
[DEPRECATION] should_require_attributes is deprecated. Use should_validate_presence_of instead. | |
* DEFERRED: Mass email delivery should create n messages when supplying several recipients. | |
Loaded suite /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader | |
Started | |
.................................................................................................................................................................................................................................................................................E...............E................................................................E........................................................................................................................................................................E............................EE.......................................................................F...........................................EE........................................F..F....FF.F...........F......F..F............................................................................................... | |
Finished in 42.153047 seconds. | |
1) Error: | |
test: MergeRequest should send a MQ message when being confirmed by the user. (MergeRequestTest): | |
NoMethodError: undefined method `clear_messages' for #<ActiveMessaging::Adapters::Stomp::Connection:0xb5afbd28> | |
/test/unit/helpers/../../test_helper.rb:49:in `find_message_with_queue_and_regexp' | |
/test/unit/merge_request_test.rb:72:in `__bind_1292227686_687530' | |
vendor/plugins/shoulda/lib/shoulda/context.rb:253:in `call' | |
vendor/plugins/shoulda/lib/shoulda/context.rb:253:in `test: MergeRequest should send a MQ message when being confirmed by the user. ' | |
vendor/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `__send__' | |
vendor/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run' | |
2) Error: | |
test: Soft deletion of merge requests should send a message when being destroyed. (MergeRequestTest): | |
NoMethodError: undefined method `clear_messages' for #<ActiveMessaging::Adapters::Stomp::Connection:0xb5afbd28> | |
/test/unit/helpers/../../test_helper.rb:49:in `find_message_with_queue_and_regexp' | |
/test/unit/merge_request_test.rb:715:in `__bind_1292227687_933420' | |
vendor/plugins/shoulda/lib/shoulda/context.rb:253:in `call' | |
vendor/plugins/shoulda/lib/shoulda/context.rb:253:in `test: Soft deletion of merge requests should send a message when being destroyed. ' | |
vendor/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `__send__' | |
vendor/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run' | |
3) Error: | |
test: Email notifications should actually send the message to the queue. (MessageTest): | |
NoMethodError: undefined method `clear_messages' for #<ActiveMessaging::Adapters::Stomp::Connection:0xb5afbd28> | |
/test/unit/helpers/../../test_helper.rb:49:in `find_message_with_queue_and_regexp' | |
/test/unit/message_test.rb:205:in `__bind_1292227693_415387' | |
vendor/plugins/shoulda/lib/shoulda/context.rb:253:in `call' | |
vendor/plugins/shoulda/lib/shoulda/context.rb:253:in `test: Email notifications should actually send the message to the queue. ' | |
vendor/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `__send__' | |
vendor/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run' | |
4) Error: | |
test: Repository should creates a notification on destroy. (RepositoryTest): | |
NoMethodError: undefined method `clear_messages' for #<ActiveMessaging::Adapters::Stomp::Connection:0xb5afbd28> | |
/test/unit/helpers/../../test_helper.rb:49:in `find_message_with_queue_and_regexp' | |
/test/unit/repository_test.rb:434:in `__bind_1292227710_648920' | |
vendor/plugins/shoulda/lib/shoulda/context.rb:253:in `call' | |
vendor/plugins/shoulda/lib/shoulda/context.rb:253:in `test: Repository should creates a notification on destroy. ' | |
vendor/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `__send__' | |
vendor/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run' | |
5) Error: | |
test: Repository should publishes a message on clone. (RepositoryTest): | |
NoMethodError: undefined method `clear_messages' for #<ActiveMessaging::Adapters::Stomp::Connection:0xb5afbd28> | |
/test/unit/helpers/../../test_helper.rb:49:in `find_message_with_queue_and_regexp' | |
/test/unit/repository_test.rb:424:in `__bind_1292227711_831402' | |
vendor/plugins/shoulda/lib/shoulda/context.rb:253:in `call' | |
vendor/plugins/shoulda/lib/shoulda/context.rb:253:in `test: Repository should publishes a message on clone. ' | |
vendor/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `__send__' | |
vendor/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run' | |
6) Error: | |
test: Repository should publishes a message on create and update. (RepositoryTest): | |
NoMethodError: undefined method `clear_messages' for #<ActiveMessaging::Adapters::Stomp::Connection:0xb5afbd28> | |
/test/unit/helpers/../../test_helper.rb:49:in `find_message_with_queue_and_regexp' | |
/test/unit/repository_test.rb:412:in `__bind_1292227711_834415' | |
vendor/plugins/shoulda/lib/shoulda/context.rb:253:in `call' | |
vendor/plugins/shoulda/lib/shoulda/context.rb:253:in `test: Repository should publishes a message on create and update. ' | |
vendor/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `__send__' | |
vendor/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run' | |
7) Failure: | |
test: SSHClient should return the correct authentication URL. (SSHClientTest) | |
[/test/unit/lib/ssh_client_test.rb:89:in `__bind_1292227715_609126' | |
vendor/plugins/shoulda/lib/shoulda/context.rb:253:in `call' | |
vendor/plugins/shoulda/lib/shoulda/context.rb:253:in `test: SSHClient should return the correct authentication URL. ' | |
vendor/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `__send__' | |
vendor/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run']: | |
<"http://gito.infinygrees.org:80/foo/bar/writable_by?username=johan"> expected but was | |
<"http://gito.infinygrees.org/foo/bar/writable_by?username=johan">. | |
8) Error: | |
test: Message sending should send a message when created. (SshKeyTest): | |
NoMethodError: undefined method `clear_messages' for #<ActiveMessaging::Adapters::Stomp::Connection:0xb5afbd28> | |
/test/unit/ssh_key_test.rb:236:in `message_created_in_queue' | |
/test/unit/ssh_key_test.rb:209:in `__bind_1292227716_135438' | |
vendor/plugins/shoulda/lib/shoulda/context.rb:253:in `call' | |
vendor/plugins/shoulda/lib/shoulda/context.rb:253:in `test: Message sending should send a message when created. ' | |
vendor/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `__send__' | |
vendor/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run' | |
9) Error: | |
test: Message sending should sends a message on destroy. (SshKeyTest): | |
NoMethodError: undefined method `clear_messages' for #<ActiveMessaging::Adapters::Stomp::Connection:0xb5afbd28> | |
/test/unit/ssh_key_test.rb:236:in `message_created_in_queue' | |
/test/unit/ssh_key_test.rb:229:in `__bind_1292227716_136977' | |
vendor/plugins/shoulda/lib/shoulda/context.rb:253:in `call' | |
vendor/plugins/shoulda/lib/shoulda/context.rb:253:in `test: Message sending should sends a message on destroy. ' | |
vendor/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `__send__' | |
vendor/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run' | |
10) Failure: | |
test: Adding a project repo should include a link to the repo. (TextEventRenderingTest) | |
[/test/unit/lib/event_rendering/text_test.rb:336:in `__bind_1292227716_746401' | |
vendor/plugins/shoulda/lib/shoulda/context.rb:253:in `call' | |
vendor/plugins/shoulda/lib/shoulda/context.rb:253:in `test: Adding a project repo should include a link to the repo. ' | |
vendor/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `__send__' | |
vendor/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run']: | |
repo url not in: johan added a repository to johans project | |
http://gito.infinygrees.org/johans-project/johansprojectrepos | |
http://gito.infinygrees.org/johans-project. | |
<false> is not true. | |
11) Failure: | |
test: Adding and removing collaborators should include the repo url. (TextEventRenderingTest) | |
[/test/unit/lib/event_rendering/text_test.rb:197:in `__bind_1292227716_771042' | |
vendor/plugins/shoulda/lib/shoulda/context.rb:253:in `call' | |
vendor/plugins/shoulda/lib/shoulda/context.rb:253:in `test: Adding and removing collaborators should include the repo url. ' | |
vendor/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `__send__' | |
vendor/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run']: | |
url not in: johan added bob-the-user as collaborator to http://gito.infinygrees.org/johans-project/johansprojectrepos | |
http://gito.infinygrees.org/johans-project. | |
<false> is not true. | |
12) Failure: | |
test: a comment should include a link back to the commit. (TextEventRenderingTest) | |
[/test/unit/lib/event_rendering/text_test.rb:230:in `__bind_1292227716_816470' | |
vendor/plugins/shoulda/lib/shoulda/context.rb:253:in `call' | |
vendor/plugins/shoulda/lib/shoulda/context.rb:253:in `test: a comment should include a link back to the commit. ' | |
vendor/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `__send__' | |
vendor/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run']: | |
/johans-project/johansprojectrepos/commit/abc123 not in: johan commented on http://gito.infinygrees.org/johans-project/johansprojectrepos/commit/abc123: | |
Needs less of everything | |
http://gito.infinygrees.org/johans-project. | |
<false> is not true. | |
13) Failure: | |
test: a comment should include a link back to the merge request. (TextEventRenderingTest) | |
[/test/unit/lib/event_rendering/text_test.rb:222:in `__bind_1292227716_830595' | |
vendor/plugins/shoulda/lib/shoulda/context.rb:253:in `call' | |
vendor/plugins/shoulda/lib/shoulda/context.rb:253:in `test: a comment should include a link back to the merge request. ' | |
vendor/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `__send__' | |
vendor/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run']: | |
/johans-project/johansprojectrepos/merge_requests/13 not in: johan commented on http://gito.infinygrees.org/johans-project/johansprojectrepos/merge_requests/13: | |
Needs less of everything | |
http://gito.infinygrees.org/johans-project. | |
<false> is not true. | |
14) Failure: | |
test: a push should include a list of the commits messages along with an url for each. (TextEventRenderingTest) | |
[/test/unit/lib/event_rendering/text_test.rb:269:in `__bind_1292227716_856739' | |
vendor/plugins/shoulda/lib/shoulda/context.rb:253:in `call' | |
vendor/plugins/shoulda/lib/shoulda/context.rb:253:in `test: a push should include a list of the commits messages along with an url for each. ' | |
vendor/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `__send__' | |
vendor/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run']: | |
<false> is not true. | |
15) Failure: | |
test: favoriting should include a link to the watchable. (TextEventRenderingTest) | |
[/test/unit/lib/event_rendering/text_test.rb:376:in `__bind_1292227716_994558' | |
vendor/plugins/shoulda/lib/shoulda/context.rb:253:in `call' | |
vendor/plugins/shoulda/lib/shoulda/context.rb:253:in `test: favoriting should include a link to the watchable. ' | |
vendor/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `__send__' | |
vendor/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run']: | |
link not in: johan favorited johans-project/johansprojectrepos | |
http://gito.infinygrees.org/johans-project/johansprojectrepos | |
http://gito.infinygrees.org/johans-project. | |
<false> is not true. | |
16) Failure: | |
test: in general should always include a project link. (TextEventRenderingTest) | |
[/test/unit/lib/event_rendering/text_test.rb:46:in `__bind_1292227717_30665' | |
vendor/plugins/shoulda/lib/shoulda/context.rb:253:in `call' | |
vendor/plugins/shoulda/lib/shoulda/context.rb:253:in `test: in general should always include a project link. ' | |
vendor/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `__send__' | |
vendor/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run']: | |
<"johan pushed 0 commits to \nblabla\n\n\n\nhttp://gito.infinygrees.org/johans-project"> expected to be =~ | |
</\nhttp:\/\/gitorious\.test\/johans-project$/>. | |
17) Failure: | |
test: wiki page should include a link to the wiki page. (TextEventRenderingTest) | |
[/test/unit/lib/event_rendering/text_test.rb:318:in `__bind_1292227717_48075' | |
vendor/plugins/shoulda/lib/shoulda/context.rb:253:in `call' | |
vendor/plugins/shoulda/lib/shoulda/context.rb:253:in `test: wiki page should include a link to the wiki page. ' | |
vendor/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `__send__' | |
vendor/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run']: | |
no link in: johan updated wiki page AWikiPage | |
http://gito.infinygrees.org/johans-project/pages/AWikiPage | |
http://gito.infinygrees.org/johans-project. | |
<false> is not true. | |
840 tests, 1804 assertions, 9 failures, 8 errors | |
rake aborted! | |
Command failed with status (1): [/usr/bin/ruby1.8 -I"lib:test" "/usr/lib/ru...] | |
(See full trace by running task with --trace) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment