See <http://yast.suse.de:3334/job/webyast-service-head-i586/959/changes> Changes: [Josef Reidinger] Generate properly json, so ActiveResource understand it [Josef Reidinger] generate properly json for resources (Hash.from(xml).to_json is not valid as you don't want serialize hash, but model ------------------------------------------ [...truncated 395 lines...] (in /src/rest-service/plugins/time) ** Invoke check_syntax (first_time) ** Execute check_syntax * Starting syntax check... * Done DEPRECATION WARNING: Rake tasks in vendor/plugins/rails_rcov/tasks are deprecated. Use lib/tasks instead. (called from /usr/lib/ruby/gems/1.8/gems/rails-2.3.8/lib/tasks/rails.rb:10) (in /src/rest-service/plugins/activedirectory) ** Invoke check_syntax (first_time) ** Execute check_syntax * Starting syntax check... * Done DEPRECATION WARNING: Rake tasks in vendor/plugins/rails_rcov/tasks are deprecated. Use lib/tasks instead. (called from /usr/lib/ruby/gems/1.8/gems/rails-2.3.8/lib/tasks/rails.rb:10) (in /src/rest-service/plugins/mail) ** Invoke check_syntax (first_time) ** Execute check_syntax * Starting syntax check... * Done DEPRECATION WARNING: Rake tasks in vendor/plugins/rails_rcov/tasks are deprecated. Use lib/tasks instead. (called from /usr/lib/ruby/gems/1.8/gems/rails-2.3.8/lib/tasks/rails.rb:10) (in /src/rest-service/plugins/roles) ** Invoke check_syntax (first_time) ** Execute check_syntax * Starting syntax check... * Done DEPRECATION WARNING: Rake tasks in vendor/plugins/rails_rcov/tasks are deprecated. Use lib/tasks instead. (called from /usr/lib/ruby/gems/1.8/gems/rails-2.3.8/lib/tasks/rails.rb:10) test/unit/user_test.rb:55: warning: don't put space before argument parentheses (in /src/rest-service/plugins/users) ** Invoke check_syntax (first_time) ** Execute check_syntax * Starting syntax check... * Done DEPRECATION WARNING: Rake tasks in vendor/plugins/rails_rcov/tasks are deprecated. Use lib/tasks instead. (called from /usr/lib/ruby/gems/1.8/gems/rails-2.3.8/lib/tasks/rails.rb:10) (in /src/rest-service/plugins/network) ** Invoke check_syntax (first_time) ** Execute check_syntax * Starting syntax check... * Done DEPRECATION WARNING: Rake tasks in vendor/plugins/rails_rcov/tasks are deprecated. Use lib/tasks instead. (called from /usr/lib/ruby/gems/1.8/gems/rails-2.3.8/lib/tasks/rails.rb:10) (in /src/rest-service/plugins/example_plugin) ** Invoke check_syntax (first_time) ** Execute check_syntax * Starting syntax check... * Done DEPRECATION WARNING: Rake tasks in vendor/plugins/rails_rcov/tasks are deprecated. Use lib/tasks instead. (called from /usr/lib/ruby/gems/1.8/gems/rails-2.3.8/lib/tasks/rails.rb:10) (in /src/rest-service/plugins/basesystem) ** Invoke check_syntax (first_time) ** Execute check_syntax * Starting syntax check... * Done DEPRECATION WARNING: Rake tasks in vendor/plugins/rails_rcov/tasks are deprecated. Use lib/tasks instead. (called from /usr/lib/ruby/gems/1.8/gems/rails-2.3.8/lib/tasks/rails.rb:10) (in /src/rest-service/plugins/system) ** Invoke check_syntax (first_time) ** Execute check_syntax * Starting syntax check... * Done DEPRECATION WARNING: Rake tasks in vendor/plugins/rails_rcov/tasks are deprecated. Use lib/tasks instead. (called from /usr/lib/ruby/gems/1.8/gems/rails-2.3.8/lib/tasks/rails.rb:10) (in /src/rest-service/plugins/ldap) ** Invoke check_syntax (first_time) ** Execute check_syntax * Starting syntax check... * Done DEPRECATION WARNING: Rake tasks in vendor/plugins/rails_rcov/tasks are deprecated. Use lib/tasks instead. (called from /usr/lib/ruby/gems/1.8/gems/rails-2.3.8/lib/tasks/rails.rb:10) (in /src/rest-service/plugins/administrator) ** Invoke check_syntax (first_time) ** Execute check_syntax * Starting syntax check... * Done DEPRECATION WARNING: Rake tasks in vendor/plugins/rails_rcov/tasks are deprecated. Use lib/tasks instead. (called from /usr/lib/ruby/gems/1.8/gems/rails-2.3.8/lib/tasks/rails.rb:10) (in /src/rest-service/plugins/registration) ** Invoke check_syntax (first_time) ** Execute check_syntax * Starting syntax check... * Done DEPRECATION WARNING: Rake tasks in vendor/plugins/rails_rcov/tasks are deprecated. Use lib/tasks instead. (called from /usr/lib/ruby/gems/1.8/gems/rails-2.3.8/lib/tasks/rails.rb:10) (in /src/rest-service/plugins/firewall) ** Invoke check_syntax (first_time) ** Execute check_syntax * Starting syntax check... * Done DEPRECATION WARNING: Rake tasks in vendor/plugins/rails_rcov/tasks are deprecated. Use lib/tasks instead. (called from /usr/lib/ruby/gems/1.8/gems/rails-2.3.8/lib/tasks/rails.rb:10) (in /src/rest-service/plugins/software) ** Invoke check_syntax (first_time) ** Execute check_syntax * Starting syntax check... * Done DEPRECATION WARNING: Rake tasks in vendor/plugins/rails_rcov/tasks are deprecated. Use lib/tasks instead. (called from /usr/lib/ruby/gems/1.8/gems/rails-2.3.8/lib/tasks/rails.rb:10) (in /src/rest-service/plugins/services) ** Invoke check_syntax (first_time) ** Execute check_syntax * Starting syntax check... * Done DEPRECATION WARNING: Rake tasks in vendor/plugins/rails_rcov/tasks are deprecated. Use lib/tasks instead. (called from /usr/lib/ruby/gems/1.8/gems/rails-2.3.8/lib/tasks/rails.rb:10) (in /src/rest-service/plugins/eulas) ** Invoke check_syntax (first_time) ** Execute check_syntax * Starting syntax check... * Done DEPRECATION WARNING: Rake tasks in vendor/plugins/rails_rcov/tasks are deprecated. Use lib/tasks instead. (called from /usr/lib/ruby/gems/1.8/gems/rails-2.3.8/lib/tasks/rails.rb:10) (in /src/rest-service/plugins/ntp) ** Invoke check_syntax (first_time) ** Execute check_syntax * Starting syntax check... * Done DEPRECATION WARNING: Rake tasks in vendor/plugins/rails_rcov/tasks are deprecated. Use lib/tasks instead. (called from /usr/lib/ruby/gems/1.8/gems/rails-2.3.8/lib/tasks/rails.rb:10) (in /src/rest-service/plugins/status) ** Invoke check_syntax (first_time) ** Execute check_syntax * 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 webservice /src/rest-service/webservice /src/rest-service + RAILS_ENV=test + rake db:create db:migrate DEPRECATION WARNING: Rake tasks in vendor/plugins/rails_rcov/tasks are deprecated. Use lib/tasks instead. (called from /usr/lib/ruby/gems/1.8/gems/rails-2.3.8/lib/tasks/rails.rb:10) db/test.sqlite3 already exists *** registering plugins *** (in /src/rest-service/webservice) == Accounts: migrating ======================================================= -- create_table("accounts", {:force=>true}) -> 0.0046s == Accounts: migrated (0.0049s) ============================================== Loaded suite /usr/bin/rake Started Finished in 0.000169 seconds. 0 tests, 0 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications + 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/rest-service + '[' -d coverage ']' + mkdir coverage + [[ rest-service == \r\e\s\t\-\s\e\r\v\i\c\e ]] + webservice/test/dbus-launch-simple rake test (in /src/rest-service) DEPRECATION WARNING: Rake tasks in vendor/plugins/rails_rcov/tasks are deprecated. Use lib/tasks instead. (called from /usr/lib/ruby/gems/1.8/gems/rails-2.3.8/lib/tasks/rails.rb:10) *** registering plugins *** /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/background_status_test.rb" "test/unit/permission_test.rb" "test/unit/base_model_test.rb" "test/unit/yast_service_test.rb" "test/unit/resource_test.rb" "test/unit/restdoc_test.rb" "test/unit/account_test.rb" "test/unit/vendor_setting_test.rb" "test/unit/yast/settings_model_test.rb" "test/unit/yast/config_file_test.rb" "test/unit/yast_roles_test.rb" "test/unit/background_manager_test.rb" "test/unit/brute_force_protection_test.rb" (in /src/rest-service/webservice) *** registering plugins *** *** registering plugins *** ./test/unit/yast/../../../config/environment.rb:131: warning: already initialized constant USER_ROLES_CONFIG Loaded suite /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader Started ............F.F...../test/unit/brute_force_protection_test.rb:33: warning: already initialized constant TIMEOUT_ON_FAIL .../test/unit/brute_force_protection_test.rb:41: warning: already initialized constant TIMEOUT_ON_FAIL ...............permission_check2: NoPermissionException .permission_check2: NoPermissionException ..permission_check2: NoPermissionException ..permission_check2: NoPermissionException ... Finished in 0.924935 seconds. 1) Failure: test_attr_serializable(BaseModelTest) [/test/unit/base_model_test.rb:162:in `test_attr_serializable' activesupport (2.3.8) lib/active_support/testing/setup_and_teardown.rb:62:in `__send__' activesupport (2.3.8) lib/active_support/testing/setup_and_teardown.rb:62:in `run']: <"dev"> expected but was <nil>. 2) Failure: test_json_serialization(BaseModelTest) [/test/unit/base_model_test.rb:140:in `test_json_serialization' activesupport (2.3.8) lib/active_support/testing/setup_and_teardown.rb:62:in `__send__' activesupport (2.3.8) lib/active_support/testing/setup_and_teardown.rb:62:in `run']: <"last"> expected but was <nil>. 44 tests, 151 assertions, 2 failures, 0 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/vendor_settings_controller_test.rb" "test/functional/resources_route_test.rb" "test/functional/error_controller_test.rb" "test/functional/resources_registration_test.rb" "test/functional/resources_controller_test.rb" "test/functional/sessions_controller_test.rb" "test/functional/raising_controller_test.rb" "test/functional/authenticated_system_test.rb" "test/functional/lib_session_test.rb" "test/functional/permissions_controller_test.rb" "test/functional/restdoc_controller_test.rb" *** registering plugins *** ./test/functional/../../config/environment.rb:131: warning: already initialized constant USER_ROLES_CONFIG Session::VERSION <2.4.0> Session.use_spawn <false> Session.use_open3 <false> Loaded suite /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader Started ......................does_not_exist failed to load: No such file or directory - does_not_exist ............................... Finished in 13.227121 seconds. 53 tests, 98 assertions, 0 failures, 0 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" Errors running test:units! rake aborted! Error on execute '/usr/bin/rake test' inside webservice/ /src/rest-service/Rakefile:41 (See full trace by running task with --trace) ++ error_exit 1 ++ echo 'ERROR: detected exit code 1' ERROR: detected exit code 1 ++ footer_and_exit 1 ++ '[' -z 1 ']' ++ MYEXIT=1 ++ '[' 1 == 0 ']' ++ ascii_failed ++ cat ( ) ( ) ( ) _ ) ( \_ _(_\ \)__ (____\___)) build failed ++ echo 'stopping dbus..' stopping dbus.. ++ /etc/init.d/dbus stop Shutting down D-Bus daemon..done ++ exit 1 ... unmounting sys ... unmounting proc ... unmounting pts [locks-and-latches] Releasing all the locks [locks-and-latches] All the locks released Archiving artifacts Build wasn't successful, skipping saikuro coverage report Publishing rails stats report... [workspace] $ rake --silent stats -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org