See http://yast.suse.de:3334/job/webyast-service-head-i586/755/changes Changes: [Josef Reidinger] remove rpam call as it doesn't work for non-root user (bnc#582238) ------------------------------------------ [...truncated 678 lines...] + popd /src/rest-service + rake check_syntax (in /src/rest-service) (in /src/rest-service/webservice) * Starting syntax check... * Done (in /src/rest-service/plugins/time) * Starting syntax check... * Done (in /src/rest-service/plugins/mail) * Starting syntax check... * Done (in /src/rest-service/plugins/roles) * Starting syntax check... * Done (in /src/rest-service/plugins/users) * Starting syntax check... * Done (in /src/rest-service/plugins/network) * Starting syntax check... * Done (in /src/rest-service/plugins/basesystem) * Starting syntax check... * Done (in /src/rest-service/plugins/samba_server) * Starting syntax check... * Done (in /src/rest-service/plugins/system) * Starting syntax check... * Done (in /src/rest-service/plugins/administrator) * Starting syntax check... * Done (in /src/rest-service/plugins/registration) * Starting syntax check... * Done (in /src/rest-service/plugins/firewall) * Starting syntax check... * Done (in /src/rest-service/plugins/securities) * Starting syntax check... * Done (in /src/rest-service/plugins/language) * Starting syntax check... * Done (in /src/rest-service/plugins/software) * Starting syntax check... * Done (in /src/rest-service/plugins/services) * Starting syntax check... * Done (in /src/rest-service/plugins/eulas) * Starting syntax check... * Done (in /src/rest-service/plugins/ntp) * Starting syntax check... * Done (in /src/rest-service/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 webservice /src/rest-service/webservice /src/rest-service + RAILS_ENV=test + rake db:create db:migrate *** WARNING: /usr/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/rails/gem_dependency.rb:119:Warning: Gem::Dependency#version_requirements is deprecated and will be removed on or after August 2010. Use #requirement *** registering plugins *** (in /src/rest-service/webservice) == Accounts: migrating ======================================================= -- create_table("accounts", {:force=>true}) -> 0.0049s == Accounts: migrated (0.0051s) ============================================== Loaded suite /usr/bin/rake Started Finished in 0.000177 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 + rake test (in /src/rest-service) *** WARNING: /usr/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/rails/gem_dependency.rb:119:Warning: Gem::Dependency#version_requirements is deprecated and will be removed on or after August 2010. Use #requirement *** 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/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) /usr/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/rails/gem_dependency.rb:119:Warning: Gem::Dependency#version_requirements is deprecated and will be removed on or after August 2010. Use #requirement *** registering plugins *** *** registering plugins *** ./test/unit/yast/../../../config/environment.rb:113: 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 FFF..FF............../test/unit/brute_force_protection_test.rb:15: warning: already initialized constant TIMEOUT_ON_FAIL .../test/unit/brute_force_protection_test.rb:23: warning: already initialized constant TIMEOUT_ON_FAIL ...........permission_check2: NoPermissionException .permission_check2: NoPermissionException ..permission_check2: NoPermissionException ..permission_check2: NoPermissionException .. Finished in 1.648919 seconds. 1) Failure: test_authenticate_saves_password(AccountTest) [/test/unit/account_test.rb:45:in `test_authenticate_saves_password' 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']: not all expectations were satisfied unsatisfied expectations: - expected exactly once, not yet invoked: Rpam.authpam('test_user', 'secret') satisfied expectations: - expected exactly once, already invoked once: Account(id: integer, login: string, salt: string, created_at: datetime, updated_at: datetime, remember_token: string, remember_token_expires_at: datetime).unix2_chkpwd(any_parameters) 2) Failure: test_authenticate_with_chkpwd(AccountTest) [/test/unit/account_test.rb:33:in `test_authenticate_with_chkpwd' 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']: not all expectations were satisfied unsatisfied expectations: - expected exactly once, not yet invoked: Rpam.authpam('test_user', 'secret') satisfied expectations: - expected exactly once, already invoked once: Account(id: integer, login: string, salt: string, created_at: datetime, updated_at: datetime, remember_token: string, remember_token_expires_at: datetime).unix2_chkpwd(any_parameters) 3) Failure: test_authenticate_with_rpam(AccountTest) [app/models/account.rb:47:in `authenticate' /test/unit/account_test.rb:29:in `test_authenticate_with_rpam' 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']: unexpected invocation: Account(id: integer, login: string, salt: string, created_at: datetime, updated_at: datetime, remember_token: string, remember_token_expires_at: datetime).unix2_chkpwd('test_user', 'secret') unsatisfied expectations: - expected exactly once, not yet invoked: Rpam.authpam('test_user', 'secret') satisfied expectations: - expected never, not yet invoked: Account(id: integer, login: string, salt: string, created_at: datetime, updated_at: datetime, remember_token: string, remember_token_expires_at: datetime).unix2_chkpwd(any_parameters) 4) Failure: test_failed_authenticate_with_chkpwd(AccountTest) [/test/unit/account_test.rb:39:in `test_failed_authenticate_with_chkpwd' 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']: not all expectations were satisfied unsatisfied expectations: - expected exactly once, not yet invoked: Rpam.authpam('test_user', 'secret') satisfied expectations: - expected exactly once, already invoked once: Account(id: integer, login: string, salt: string, created_at: datetime, updated_at: datetime, remember_token: string, remember_token_expires_at: datetime).unix2_chkpwd(any_parameters) 5) Failure: test_instance_encrypt(AccountTest) [/test/unit/account_test.rb:60:in `test_instance_encrypt' 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']: not all expectations were satisfied unsatisfied expectations: - expected exactly once, not yet invoked: Rpam.authpam('test_user', 'secret') satisfied expectations: - expected exactly once, already invoked once: Account(id: integer, login: string, salt: string, created_at: datetime, updated_at: datetime, remember_token: string, remember_token_expires_at: datetime).unix2_chkpwd(any_parameters) 40 tests, 140 assertions, 5 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" /usr/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/rails/gem_dependency.rb:119:Warning: Gem::Dependency#version_requirements is deprecated and will be removed on or after August 2010. Use #requirement *** registering plugins *** ./test/functional/../../config/environment.rb:113: 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 12.663443 seconds. 50 tests, 95 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 Klaus K??mpf because no e-mail address is known, and no default e-mail domain is configured Failed to send e-mail to Martin Kudlvasr 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