See http://yast.suse.de:3334/job/webyast-client-head-i586/690/changes
Changes:
[Josef Reidinger] add forgetted basesystem fixtures
------------------------------------------
[...truncated 56 lines...]
* Starting syntax check...
* Done
(in /src/web-client/plugins/network)
* Starting syntax check...
* Done
(in /src/web-client/plugins/samba_server)
* Starting syntax check...
* Done
(in /src/web-client/plugins/patch_updates)
* Starting syntax check...
* Done
(in /src/web-client/plugins/system)
* Starting syntax check...
* Done
(in /src/web-client/plugins/administrator)
* Starting syntax check...
* Done
(in /src/web-client/plugins/registration)
* Starting syntax check...
* Done
(in /src/web-client/plugins/mail_settings)
* Starting syntax check...
* Done
(in /src/web-client/plugins/systemtime)
* Starting syntax check...
* Done
(in /src/web-client/plugins/language)
* Starting syntax check...
* Done
(in /src/web-client/plugins/services)
* Starting syntax check...
* Done
(in /src/web-client/plugins/eulas)
* Starting syntax check...
* Done
(in /src/web-client/plugins/permissions)
* Starting syntax check...
* Done
(in /src/web-client/plugins/status)
* Starting syntax check...
* Done
+ check_exit 0
+ '[' -z 0 ']'
+ MYEXIT=0
+ '[' 0 == 0 ']'
+ echo 'exit code: 0 ... good, lets continue'
exit code: 0 ... good, lets continue
+ return
+ export GEM_PATH=/usr/local/lib/ruby/gems/1.8/gems
+ GEM_PATH=/usr/local/lib/ruby/gems/1.8/gems
+ export CI_REPORTS=results
+ CI_REPORTS=results
+ export RAILS_ENV=test
+ RAILS_ENV=test
+ pushd webclient
/src/web-client/webclient /src/web-client
+ RAILS_ENV=test
+ rake db:create db:migrate
(in /src/web-client/webclient)
== CreateAccounts: migrating =================================================
-- create_table("accounts", {:force=>true})
-> 0.0057s
== CreateAccounts: migrated (0.0060s) ========================================
== UpdateAccounts: migrating =================================================
-- remove_column(:accounts, :email)
-> 0.0388s
-- remove_column(:accounts, :crypted_password)
-> 0.0361s
-- remove_column(:accounts, :salt)
-> 0.0336s
== UpdateAccounts: migrated (0.1090s) ========================================
== AddColumntAccounts: migrating =============================================
-- add_column(:accounts, :salt, :string)
-> 0.0017s
== AddColumntAccounts: migrated (0.0019s) ====================================
== CreateHosts: migrating ====================================================
-- create_table(:hosts)
-> 0.0038s
== CreateHosts: migrated (0.0041s) ===========================================
== InsertLocalhost: migrating ================================================
== InsertLocalhost: migrated (0.1413s) =======================================
== PrivatePortNumbers: migrating =============================================
== PrivatePortNumbers: migrated (0.0028s) ====================================
+ check_exit 0
+ '[' -z 0 ']'
+ MYEXIT=0
+ '[' 0 == 0 ']'
+ echo 'exit code: 0 ... good, lets continue'
exit code: 0 ... good, lets continue
+ return
+ popd
/src/web-client
+ '[' -d coverage ']'
+ mkdir coverage
+ rake test
(in /src/web-client)
/usr/bin/ruby -I"lib:test" "/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader.rb" "test/unit/host_test.rb" "test/unit/basesystem_test.rb" "test/unit/helpers/controlpanel_helper_test.rb" "test/unit/account_test.rb" "test/unit/yast/service_resource_test.rb" "test/unit/yast_model_test.rb" "test/unit/client_exception_test.rb"
(in /src/web-client/webclient)
Loaded suite /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader
Started
.......EFEEEEEE.....
Finished in 0.582224 seconds.
1) Error:
test_permissions(YaSTServiceResourceBaseTest):
NoMethodError: undefined method `permissions' for nil:NilClass
activesupport (2.3.5) lib/active_support/whiny_nil.rb:52:in `method_missing'
/test/unit/yast/service_resource_test.rb:188:in `test_permissions'
activesupport (2.3.5) lib/active_support/testing/setup_and_teardown.rb:62:in `__send__'
activesupport (2.3.5) lib/active_support/testing/setup_and_teardown.rb:62:in `run'
2) Failure:
test_proxy_uses_prefix(YaSTServiceResourceBaseTest)
[/test/unit/yast/service_resource_test.rb:146:in `test_proxy_uses_prefix'
activesupport (2.3.5) lib/active_support/testing/setup_and_teardown.rb:62:in `__send__'
activesupport (2.3.5) lib/active_support/testing/setup_and_teardown.rb:62:in `run']:
ActiveResource::InvalidRequestError 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.find">
---Backtrace---
./test/unit/yast/service_resource_test.rb:147:in `test_proxy_uses_prefix'
./test/unit/yast/service_resource_test.rb:146:in `test_proxy_uses_prefix'
/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/testing/setup_and_teardown.rb:62:in `__send__'
/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/testing/setup_and_teardown.rb:62:in `run'
---------------
3) Error:
test_proxy_works(YaSTServiceResourceBaseTest):
NoMethodError: undefined method `name' for nil:NilClass
activesupport (2.3.5) lib/active_support/whiny_nil.rb:52:in `method_missing'
/test/unit/yast/service_resource_test.rb:82:in `test_proxy_works'
activesupport (2.3.5) lib/active_support/testing/setup_and_teardown.rb:62:in `__send__'
activesupport (2.3.5) lib/active_support/testing/setup_and_teardown.rb:62:in `run'
4) Error:
test_proxy_works_with_array_attrs(YaSTServiceResourceBaseTest):
NoMethodError: undefined method `singular?' for nil:NilClass
activesupport (2.3.5) lib/active_support/whiny_nil.rb:52:in `method_missing'
/test/unit/yast/service_resource_test.rb:217:in `test_proxy_works_with_array_attrs'
activesupport (2.3.5) lib/active_support/testing/setup_and_teardown.rb:62:in `__send__'
activesupport (2.3.5) lib/active_support/testing/setup_and_teardown.rb:62:in `run'
5) Error:
test_proxy_works_with_prefix(YaSTServiceResourceBaseTest):
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.find
/test/unit/yast/service_resource_test.rb:161:in `test_proxy_works_with_prefix'
activesupport (2.3.5) lib/active_support/testing/setup_and_teardown.rb:62:in `__send__'
activesupport (2.3.5) lib/active_support/testing/setup_and_teardown.rb:62:in `run'
6) Error:
test_proxy_works_with_singleton(YaSTServiceResourceBaseTest):
NoMethodError: undefined method `singular?' for nil:NilClass
activesupport (2.3.5) lib/active_support/whiny_nil.rb:52:in `method_missing'
/test/unit/yast/service_resource_test.rb:101:in `test_proxy_works_with_singleton'
activesupport (2.3.5) lib/active_support/testing/setup_and_teardown.rb:62:in `__send__'
activesupport (2.3.5) lib/active_support/testing/setup_and_teardown.rb:62:in `run'
7) Error:
test_proxy_works_with_singleton_and_prefix(YaSTServiceResourceBaseTest):
NoMethodError: undefined method `singular?' for nil:NilClass
activesupport (2.3.5) lib/active_support/whiny_nil.rb:52:in `method_missing'
/test/unit/yast/service_resource_test.rb:121:in `test_proxy_works_with_singleton_and_prefix'
activesupport (2.3.5) lib/active_support/testing/setup_and_teardown.rb:62:in `__send__'
activesupport (2.3.5) lib/active_support/testing/setup_and_teardown.rb:62:in `run'
8) Error:
test_proxy_works_with_status_page(YaSTServiceResourceBaseTest):
NoMethodError: undefined method `singular?' for nil:NilClass
activesupport (2.3.5) lib/active_support/whiny_nil.rb:52:in `method_missing'
/test/unit/yast/service_resource_test.rb:256:in `test_proxy_works_with_status_page'
activesupport (2.3.5) lib/active_support/testing/setup_and_teardown.rb:62:in `__send__'
activesupport (2.3.5) lib/active_support/testing/setup_and_teardown.rb:62:in `run'
20 tests, 41 assertions, 1 failures, 7 errors, 0 pendings, 0 omissions, 0 notifications
/usr/bin/ruby -I"lib:test" "/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader.rb" "test/functional/hosts_controller_test.rb" "test/functional/private_routing_test.rb" "test/functional/lang_controller_test.rb" "test/functional/controlpanel_controller_test.rb" "test/functional/sessions_controller_test.rb" "test/functional/main_controller_test.rb"
/src/web-client/webclient/vendor/plugins/lang_helper/lib/lang_helper.rb:34: warning: don't put space before argument parentheses
/src/web-client/webclient/vendor/plugins/lang_helper/lib/lang_helper.rb:38: warning: don't put space before argument parentheses
/src/web-client/webclient/vendor/plugins/lang_helper/lib/lang_helper.rb:25: warning: already initialized constant LANGUAGES
/src/web-client/webclient/vendor/plugins/lang_helper/lib/lang_helper.rb:82: warning: already initialized constant SUPPORTED_LANGUAGE
Loaded suite /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader
Started
.................DEPRECATION WARNING: Using assert_redirected_to with partial hash arguments is deprecated. Specify the full set arguments instead. (called from test_main_index_no_session at ./test/functional/main_controller_test.rb:12)
...Host(): nil
.Host(1): #