Hi, Benjamin. I'm in Brazil (timezone GMT-03).
Here are some failing tests (there are lots more):
101) Failure:
test: a comment should include a link back to the merge request.
(TextEventRenderingTest)
[/test/unit/lib/event_rendering/text_test.rb:229:in
`__bind_1304946823_417538'
shoulda (2.9.2) lib/shoulda/context.rb:253:in `call'
shoulda (2.9.2) 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://gitorious.local/johans-project/johansprojectrepos/merge_requests/13:
Needs less of everything
http://gitorious.local/johans-project.
<false> is not true.
102) 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:276:in
`__bind_1304946823_459142'
shoulda (2.9.2) lib/shoulda/context.rb:253:in `call'
shoulda (2.9.2) 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.
103) Failure:
test: favoriting should include a link to the watchable.
(TextEventRenderingTest)
[/test/unit/lib/event_rendering/text_test.rb:383:in
`__bind_1304946823_783518'
shoulda (2.9.2) lib/shoulda/context.rb:253:in `call'
shoulda (2.9.2) 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://gitorious.local/johans-project/johansprojectrepos
http://gitorious.local/johans-project.
<false> is not true.
And here some tests with errors:
78) Error:
test: Repository should create an event on create if it is a project
repo. (RepositoryTest):
NoMethodError: undefined method `symbolize_keys' for nil:NilClass
vendor/rails/activesupport/lib/active_support/whiny_nil.rb:52:in
`method_missing'
vendor/plugins/activemessaging/lib/activemessaging/gateway.rb:362:in
`load_connection_configuration'
vendor/plugins/activemessaging/lib/activemessaging/gateway.rb:111:in
`connection'
vendor/plugins/activemessaging/lib/activemessaging/gateway.rb:300:in
`publish'
vendor/plugins/activemessaging/lib/activemessaging/gateway.rb:149:in
`execute_filter_chain'
vendor/plugins/activemessaging/lib/activemessaging/gateway.rb:299:in
`publish'
/usr/lib/ruby/1.8/timeout.rb:67:in `timeout'
vendor/plugins/activemessaging/lib/activemessaging/gateway.rb:298:in
`publish'
vendor/plugins/activemessaging/lib/activemessaging/message_sender.rb:21:in
`publish'
app/models/repository.rb:361:in `post_repo_creation_message'
vendor/rails/activesupport/lib/active_support/callbacks.rb:178:in
`send'
vendor/rails/activesupport/lib/active_support/callbacks.rb:178:in
`evaluate_method'
vendor/rails/activesupport/lib/active_support/callbacks.rb:166:in
`call'
vendor/rails/activesupport/lib/active_support/callbacks.rb:93:in `run'
vendor/rails/activesupport/lib/active_support/callbacks.rb:92:in `each'
vendor/rails/activesupport/lib/active_support/callbacks.rb:92:in `send'
vendor/rails/activesupport/lib/active_support/callbacks.rb:92:in `run'
vendor/rails/activesupport/lib/active_support/callbacks.rb:276:in
`run_callbacks'
vendor/rails/activerecord/lib/active_record/callbacks.rb:344:in
`callback'
vendor/rails/activerecord/lib/active_record/callbacks.rb:267:in
`create'
vendor/rails/activerecord/lib/active_record/base.rb:2874:in
`create_or_update_without_callbacks'
vendor/rails/activerecord/lib/active_record/callbacks.rb:250:in
`create_or_update'
vendor/rails/activerecord/lib/active_record/base.rb:2555:in
`save_without_validation!'
vendor/rails/activerecord/lib/active_record/validations.rb:1088:in
`save_without_dirty!'
vendor/rails/activerecord/lib/active_record/dirty.rb:87:in
`save_without_transactions!'
vendor/rails/activerecord/lib/active_record/transactions.rb:200:in
`save!'
vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb:136:in
`transaction'
vendor/rails/activerecord/lib/active_record/transactions.rb:182:in
`transaction'
vendor/rails/activerecord/lib/active_record/transactions.rb:200:in
`save!'
vendor/rails/activerecord/lib/active_record/transactions.rb:208:in
`rollback_active_record_state!'
vendor/rails/activerecord/lib/active_record/transactions.rb:200:in
`save!'
/test/unit/repository_test.rb:799:in `__bind_1304946817_401520'
vendor/rails/activesupport/lib/active_support/testing/assertions.rb:39:in `assert_difference'
/test/unit/repository_test.rb:798:in `__bind_1304946817_401520'
shoulda (2.9.2) lib/shoulda/context.rb:253:in `call'
shoulda (2.9.2) lib/shoulda/context.rb:253:in `test: Repository
should create an event on create if it is a project 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'
392) Error:
test: UsersController should require login on signup. (UsersControllerTest):
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.errors
/test/functional/users_controller_test.rb:116:in
`__bind_1304946948_135218'
vendor/rails/activesupport/lib/active_support/testing/assertions.rb:39:in `assert_difference'
vendor/rails/activesupport/lib/active_support/testing/assertions.rb:61:in `assert_no_difference'
/test/functional/users_controller_test.rb:114:in
`__bind_1304946948_135218'
shoulda (2.9.2) lib/shoulda/context.rb:253:in `call'
shoulda (2.9.2) lib/shoulda/context.rb:253:in `test:
UsersController should require login on signup. '
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'
Any hints?
Regards, Rodrigo.
Em 09-05-2011 10:07, Benjamin Podszun escreveu:
Hi.
Not that I can help you here, but let me suggest two things:
- Append the log here, so that anyone that _can_ help you can check
out the logs before hitting you via IM
- If you offer being available via IM, state your timezone. Otherwise
'tonight' is not qualified at all
Regards,
Ben
On Mon, May 9, 2011 at 2:57 PM, Rodrigo Rosenfeld Rosas
<[email protected]> wrote:
Hi, I intend to begin upgrading Gitorious to 3.1 tonight. But I need all
tests passing before I start.
I tried to run the tests using RubyGems 1.4.2 but got lots of errors and
failures. I just copied the same configurations of prodution in
config/databases.yml (changing the database of course) and
config/gitorious.yml into test and development environments.
What else should I set up for my testing environment?
I'm available on Gtalk (rr.rosas at gmail.com) and Skype (rr.rosas).
Thanks in advance,
Rodrigo.
--
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]