See <http://yast.suse.de:3334/job/webyast-service-head-i586/981/changes> Changes: [Josef Reidinger] add test also for xml which show same problem as json ------------------------------------------ [...truncated 430 lines...] (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.0048s == Accounts: migrated (0.0051s) ============================================== Loaded suite /usr/bin/rake Started Finished in 8.1e-05 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 ..............E...E./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.936133 seconds. 1) Error: test_json_serialization(BaseModelTest): ArgumentError: expected an attributes Hash, got true activeresource (2.3.8) lib/active_resource/base.rb:1025:in `load' activeresource (2.3.8) lib/active_resource/base.rb:726:in `initialize' activeresource (2.3.8) lib/active_resource/base.rb:1036:in `new' activeresource (2.3.8) lib/active_resource/base.rb:1036:in `load' activeresource (2.3.8) lib/active_resource/base.rb:1032:in `map' activeresource (2.3.8) lib/active_resource/base.rb:1032:in `load' activeresource (2.3.8) lib/active_resource/base.rb:1027:in `each' activeresource (2.3.8) lib/active_resource/base.rb:1027:in `load' activeresource (2.3.8) lib/active_resource/base.rb:726:in `initialize' activeresource (2.3.8) lib/active_resource/base.rb:1041:in `new' activeresource (2.3.8) lib/active_resource/base.rb:1041:in `load' activeresource (2.3.8) lib/active_resource/base.rb:1027:in `each' activeresource (2.3.8) lib/active_resource/base.rb:1027:in `load' activeresource (2.3.8) lib/active_resource/base.rb:726:in `initialize' activeresource (2.3.8) lib/active_resource/base.rb:669:in `new' activeresource (2.3.8) lib/active_resource/base.rb:669:in `instantiate_record' activeresource (2.3.8) lib/active_resource/base.rb:653:in `find_one' activeresource (2.3.8) lib/active_resource/base.rb:588:in `find' /test/unit/base_model_test.rb:152: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' 2) Error: test_xml_serialization(BaseModelTest): ArgumentError: expected an attributes Hash, got true activeresource (2.3.8) lib/active_resource/base.rb:1025:in `load' activeresource (2.3.8) lib/active_resource/base.rb:726:in `initialize' activeresource (2.3.8) lib/active_resource/base.rb:1036:in `new' activeresource (2.3.8) lib/active_resource/base.rb:1036:in `load' activeresource (2.3.8) lib/active_resource/base.rb:1032:in `map' activeresource (2.3.8) lib/active_resource/base.rb:1032:in `load' activeresource (2.3.8) lib/active_resource/base.rb:1027:in `each' activeresource (2.3.8) lib/active_resource/base.rb:1027:in `load' activeresource (2.3.8) lib/active_resource/base.rb:726:in `initialize' activeresource (2.3.8) lib/active_resource/base.rb:1041:in `new' activeresource (2.3.8) lib/active_resource/base.rb:1041:in `load' activeresource (2.3.8) lib/active_resource/base.rb:1027:in `each' activeresource (2.3.8) lib/active_resource/base.rb:1027:in `load' activeresource (2.3.8) lib/active_resource/base.rb:726:in `initialize' activeresource (2.3.8) lib/active_resource/base.rb:669:in `new' activeresource (2.3.8) lib/active_resource/base.rb:669:in `instantiate_record' activeresource (2.3.8) lib/active_resource/base.rb:653:in `find_one' activeresource (2.3.8) lib/active_resource/base.rb:588:in `find' /test/unit/base_model_test.rb:137:in `test_xml_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' 43 tests, 146 assertions, 0 failures, 2 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.068209 seconds. 52 tests, 96 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 Failed to send e-mail to Jiri Suchomel because no e-mail address is known, and no default e-mail domain is configured Failed to send e-mail to Michal Zugec because no e-mail address is known, and no default e-mail domain is configured Failed to send e-mail to Martin Vidner because no e-mail address is known, and no default e-mail domain is configured -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org