See http://yast.suse.de:3334/job/webyast-service-head-i586/223/changes Changes: [Bjoern Geuken] patch module: some code review ------------------------------------------ [...truncated 115 lines...] granting: org.opensuse.yast.commandline.read polkit-auth: AuthorizationAlreadyExists: An authorization for uid 0 for the action org.opensuse.yast.commandline.read with constraint '' already exists granting: org.opensuse.yast.commandline.execute polkit-auth: AuthorizationAlreadyExists: An authorization for uid 0 for the action org.opensuse.yast.commandline.execute with constraint '' already exists granting: org.opensuse.yast.system.status.read polkit-auth: AuthorizationAlreadyExists: An authorization for uid 0 for the action org.opensuse.yast.system.status.read with constraint '' already exists granting: org.opensuse.yast.system.status.writelimits polkit-auth: AuthorizationAlreadyExists: An authorization for uid 0 for the action org.opensuse.yast.system.status.writelimits with constraint '' already exists granting: org.opensuse.yast.module-manager.import polkit-auth: AuthorizationAlreadyExists: An authorization for uid 0 for the action org.opensuse.yast.module-manager.import with constraint '' already exists granting: org.opensuse.yast.module-manager.lock polkit-auth: AuthorizationAlreadyExists: An authorization for uid 0 for the action org.opensuse.yast.module-manager.lock with constraint '' already exists granting: org.opensuse.yast.modules.yapi.services.read polkit-auth: AuthorizationAlreadyExists: An authorization for uid 0 for the action org.opensuse.yast.modules.yapi.services.read with constraint '' already exists granting: org.opensuse.yast.modules.yapi.services.get polkit-auth: AuthorizationAlreadyExists: An authorization for uid 0 for the action org.opensuse.yast.modules.yapi.services.get with constraint '' already exists granting: org.opensuse.yast.modules.yapi.services.execute polkit-auth: AuthorizationAlreadyExists: An authorization for uid 0 for the action org.opensuse.yast.modules.yapi.services.execute with constraint '' already exists granting: org.opensuse.yast.system.security.read polkit-auth: AuthorizationAlreadyExists: An authorization for uid 0 for the action org.opensuse.yast.system.security.read with constraint '' already exists granting: org.opensuse.yast.system.security.write polkit-auth: AuthorizationAlreadyExists: An authorization for uid 0 for the action org.opensuse.yast.system.security.write with constraint '' already exists exit code: 0 ... good, lets continue *** ERROR: policy org.freedesktop.packagekit.system-update is not granted and it is needed to run the webservice as root. Please Run 'polkit-auth --user root --grant org.freedesktop.packagekit.system-update' to grant the permission. Use utility script policyKit-rights.rb to grant them all. See http://en.opensuse.org/YaST/Web/Development Alternatively, you can add the following to /etc/PolicyKit/PolicyKit.conf config tag section: <match user="root"> <match action="org.opensuse.yast.scr.*"> <return result="yes"/> </match> </match> <match user="root"> <match action="org.freedesktop.packagekit.system-update"> <return result="yes"/> </match> </match> <match user="root"> <match action="org.freedesktop.policykit.read"> <return result="yes"/> </match> </match> *** ERROR: policy org.freedesktop.packagekit.install is not granted and it is needed to run the webservice as root. Please Run 'polkit-auth --user root --grant org.freedesktop.packagekit.install' to grant the permission. *** ERROR: policy org.freedesktop.policykit.read is not granted and it is needed to run the webservice as root. Please Run 'polkit-auth --user root --grant org.freedesktop.policykit.read' to grant the permission. *** ERROR: policy org.opensuse.yast.scr.read is not granted and it is needed to run the webservice as root. Please Run 'polkit-auth --user root --grant org.opensuse.yast.scr.read' to grant the permission. *** ERROR: policy org.opensuse.yast.scr.write is not granted and it is needed to run the webservice as root. Please Run 'polkit-auth --user root --grant org.opensuse.yast.scr.write' to grant the permission. *** ERROR: policy org.opensuse.yast.scr.execute is not granted and it is needed to run the webservice as root. Please Run 'polkit-auth --user root --grant org.opensuse.yast.scr.execute' to grant the permission. *** ERROR: policy org.opensuse.yast.scr.dir is not granted and it is needed to run the webservice as root. Please Run 'polkit-auth --user root --grant org.opensuse.yast.scr.dir' to grant the permission. *** ERROR: policy org.opensuse.yast.scr.registeragent is not granted and it is needed to run the webservice as root. Please Run 'polkit-auth --user root --grant org.opensuse.yast.scr.registeragent' to grant the permission. *** ERROR: policy org.opensuse.yast.scr.unregisteragent is not granted and it is needed to run the webservice as root. Please Run 'polkit-auth --user root --grant org.opensuse.yast.scr.unregisteragent' to grant the permission. *** ERROR: policy org.opensuse.yast.scr.unmountagent is not granted and it is needed to run the webservice as root. Please Run 'polkit-auth --user root --grant org.opensuse.yast.scr.unmountagent' to grant the permission. *** ERROR: policy org.opensuse.yast.scr.error is not granted and it is needed to run the webservice as root. Please Run 'polkit-auth --user root --grant org.opensuse.yast.scr.error' to grant the permission. *** ERROR: policy org.opensuse.yast.scr.unregisterallagents is not granted and it is needed to run the webservice as root. Please Run 'polkit-auth --user root --grant org.opensuse.yast.scr.unregisterallagents' to grant the permission. *** ERROR: policy org.opensuse.yast.scr.registernewagents is not granted and it is needed to run the webservice as root. Please Run 'polkit-auth --user root --grant org.opensuse.yast.scr.registernewagents' to grant the permission. *** WARNING: policy org.opensuse.yast.scr.read is not granted for current user. Please fix it if you plan to login to YaST as 'root', run 'polkit-auth --user root --grant org.opensuse.yast.scr.read' to grant it. Use utility script policyKit-rights.rb to grant them all. See http://en.opensuse.org/YaST/Web/Development You can also grant them to the root user and login as root to the YaST web client. *** WARNING: policy org.opensuse.yast.scr.write is not granted for current user. Please fix it if you plan to login to YaST as 'root', run 'polkit-auth --user root --grant org.opensuse.yast.scr.write' to grant it. *** WARNING: policy org.opensuse.yast.scr.execute is not granted for current user. Please fix it if you plan to login to YaST as 'root', run 'polkit-auth --user root --grant org.opensuse.yast.scr.execute' to grant it. *** WARNING: policy org.opensuse.yast.scr.dir is not granted for current user. Please fix it if you plan to login to YaST as 'root', run 'polkit-auth --user root --grant org.opensuse.yast.scr.dir' to grant it. *** WARNING: policy org.opensuse.yast.scr.registeragent is not granted for current user. Please fix it if you plan to login to YaST as 'root', run 'polkit-auth --user root --grant org.opensuse.yast.scr.registeragent' to grant it. *** WARNING: policy org.opensuse.yast.scr.unregisteragent is not granted for current user. Please fix it if you plan to login to YaST as 'root', run 'polkit-auth --user root --grant org.opensuse.yast.scr.unregisteragent' to grant it. *** WARNING: policy org.opensuse.yast.scr.unmountagent is not granted for current user. Please fix it if you plan to login to YaST as 'root', run 'polkit-auth --user root --grant org.opensuse.yast.scr.unmountagent' to grant it. *** WARNING: policy org.opensuse.yast.scr.error is not granted for current user. Please fix it if you plan to login to YaST as 'root', run 'polkit-auth --user root --grant org.opensuse.yast.scr.error' to grant it. *** WARNING: policy org.opensuse.yast.scr.unregisterallagents is not granted for current user. Please fix it if you plan to login to YaST as 'root', run 'polkit-auth --user root --grant org.opensuse.yast.scr.unregisterallagents' to grant it. *** WARNING: policy org.opensuse.yast.scr.registernewagents is not granted for current user. Please fix it if you plan to login to YaST as 'root', run 'polkit-auth --user root --grant org.opensuse.yast.scr.registernewagents' to grant it. *** ERROR: /etc/yast_user_roles does not exist Please Create /etc/yast_user_roles using template in webservice/package/yast_user_roles (in /src/rest-service/webservice) Testing if rubygem-rake is installed Testing if rubygem-sqlite3 is installed Testing if rubygem-rake is installed Testing if ruby-rpam is installed Testing if ruby-polkit is installed Testing if ruby-dbus is installed Testing if User roles configured Testing if YaST D-Bus service available Testing if all available plugins are working *** ERROR: plugin SystemtimesController does not work correctly Please try 'export RAILS_PARENT=.; ruby plugin_test/functional/plugin_index_test.rb --plugin SystemtimesController' and check the result *** ERROR: plugin Yast::CommandlinesController does not work correctly Please try 'export RAILS_PARENT=.; ruby plugin_test/functional/plugin_index_test.rb --plugin Yast::CommandlinesController' and check the result *** ERROR: plugin PatchesController does not work correctly Please try 'export RAILS_PARENT=.; ruby plugin_test/functional/plugin_index_test.rb --plugin PatchesController' and check the result *** ERROR: plugin UsersController does not work correctly Please try 'export RAILS_PARENT=.; ruby plugin_test/functional/plugin_index_test.rb --plugin UsersController' and check the result *** ERROR: plugin NetworksController does not work correctly Please try 'export RAILS_PARENT=.; ruby plugin_test/functional/plugin_index_test.rb --plugin NetworksController' and check the result *** ERROR: plugin BasesystemController does not work correctly Please try 'export RAILS_PARENT=.; ruby plugin_test/functional/plugin_index_test.rb --plugin BasesystemController' and check the result *** ERROR: plugin SambasharesController does not work correctly Please try 'export RAILS_PARENT=.; ruby plugin_test/functional/plugin_index_test.rb --plugin SambasharesController' and check the result *** ERROR: plugin SystemController does not work correctly Please try 'export RAILS_PARENT=.; ruby plugin_test/functional/plugin_index_test.rb --plugin SystemController' and check the result *** ERROR: plugin SecuritiesController does not work correctly Please try 'export RAILS_PARENT=.; ruby plugin_test/functional/plugin_index_test.rb --plugin SecuritiesController' and check the result *** ERROR: plugin LanguageController does not work correctly Please try 'export RAILS_PARENT=.; ruby plugin_test/functional/plugin_index_test.rb --plugin LanguageController' and check the result *** ERROR: plugin ServicesController does not work correctly Please try 'export RAILS_PARENT=.; ruby plugin_test/functional/plugin_index_test.rb --plugin ServicesController' and check the result *** ERROR: plugin StatusController does not work correctly Please try 'export RAILS_PARENT=.; ruby plugin_test/functional/plugin_index_test.rb --plugin StatusController' and check the result ******************************************************* Please, fix the above errors before running the service ******************************************************* exit code: 0 ... good, lets continue /src/rest-service (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/commandline) * Starting syntax check... * Done (in /src/rest-service/plugins/patches) * 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/securities) * Starting syntax check... * Done (in /src/rest-service/plugins/language) * Starting syntax check... * Done (in /src/rest-service/plugins/services) * Starting syntax check... * Done (in /src/rest-service/plugins/status) * Starting syntax check... * Done exit code: 0 ... good, lets continue /src/rest-service/webservice /src/rest-service db/development.sqlite3 already exists (in /src/rest-service/webservice) == Accounts: migrating ======================================================= -- create_table("accounts", {:force=>true}) -> 0.0020s == Accounts: migrated (0.0021s) ============================================== Loaded suite /usr/bin/rake Started Finished in 8.4e-05 seconds. 0 tests, 0 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications exit code: 0 ... good, lets continue /src/rest-service (in /src/rest-service) /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/permission_test.rb" "test/unit/vendor_setting_test.rb" "test/unit/yast/settings_model_test.rb" "test/unit/yast/config_file_test.rb" (in /src/rest-service/webservice) Loaded suite /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader Started ......E Finished in 0.29623 seconds. 1) Error: test_config(VendorSettingTest): NoMethodError: You have a nil object when you didn't expect it! The error occurred while evaluating nil.value /test/unit/vendor_setting_test.rb:34:in `test_config' 7 tests, 20 assertions, 0 failures, 1 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/resources_route_test.rb" "test/functional/resources_registration_test.rb" "test/functional/scr_test.rb" "test/functional/resources_controller_test.rb" "test/functional/sessions_controller_test.rb" "test/functional/yast_roles_test.rb" "test/functional/lib_session_test.rb" "test/functional/permissions_controller_test.rb" 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 16.458179 seconds. 67 tests, 102 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 task test on webservice /src/rest-service/Rakefile:27 (See full trace by running task with --trace) ERROR: detected exit code 1 ( ) ( ) ( ) _ ) ( \_ _(_\ \)__ (____\___)) build failed stopping dbus.. Shutting down D-Bus daemon..done ... unmounting proc ... unmounting pts 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 Duncan Mac-Vicar P because no e-mail address is known, and no default e-mail domain is configured Failed to send e-mail to Josef Reidinger because no e-mail address is known, and no default e-mail domain is configured Failed to send e-mail to Ladislav Slezak because no e-mail address is known, and no default e-mail domain is configured Failed to send e-mail to Bjoern Geuken 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