Mailinglist Archive: yast-commit (1914 mails)

< Previous Next >
[yast-commit] Build failed in Hudson: webyast-service-11.1-i586 #282
See http://yast.suse.de:3334/job/webyast-service-11.1-i586/282/

------------------------------------------
[...truncated 86 lines...]
Running from /src/rest-service/webservice-tasks/lib/tasks/install_policies.rake
(in /src/rest-service/plugins/services)
Running from /src/rest-service/webservice-tasks/lib/tasks/install_policies.rake
(in /src/rest-service/plugins/status)
Running from /src/rest-service/webservice-tasks/lib/tasks/install_policies.rake
exit code: 0 ... good, lets continue
exit code: 0 ... good, lets continue
/src/rest-service/webservice /src/rest-service
granting: org.opensuse.yast.modules.yapi.users.usersget
polkit-auth: AuthorizationAlreadyExists: An authorization for uid 0 for the
action org.opensuse.yast.modules.yapi.users.usersget with constraint '' already
exists
granting: org.opensuse.yast.modules.yapi.users.userget
polkit-auth: AuthorizationAlreadyExists: An authorization for uid 0 for the
action org.opensuse.yast.modules.yapi.users.userget with constraint '' already
exists
granting: org.opensuse.yast.modules.yapi.users.usermodify
polkit-auth: AuthorizationAlreadyExists: An authorization for uid 0 for the
action org.opensuse.yast.modules.yapi.users.usermodify with constraint ''
already exists
granting: org.opensuse.yast.modules.yapi.users.useradd
polkit-auth: AuthorizationAlreadyExists: An authorization for uid 0 for the
action org.opensuse.yast.modules.yapi.users.useradd with constraint '' already
exists
granting: org.opensuse.yast.modules.yapi.users.userdelete
polkit-auth: AuthorizationAlreadyExists: An authorization for uid 0 for the
action org.opensuse.yast.modules.yapi.users.userdelete with constraint ''
already exists
granting: org.opensuse.yast.system.patches.read
polkit-auth: AuthorizationAlreadyExists: An authorization for uid 0 for the
action org.opensuse.yast.system.patches.read with constraint '' already exists
granting: org.opensuse.yast.system.patches.install
polkit-auth: AuthorizationAlreadyExists: An authorization for uid 0 for the
action org.opensuse.yast.system.patches.install with constraint '' already
exists
granting: org.opensuse.yast.system.packages.read
polkit-auth: AuthorizationAlreadyExists: An authorization for uid 0 for the
action org.opensuse.yast.system.packages.read with constraint '' already exists
granting: org.opensuse.yast.modules.yapi.users.administrator.read
polkit-auth: AuthorizationAlreadyExists: An authorization for uid 0 for the
action org.opensuse.yast.modules.yapi.users.administrator.read with constraint
'' already exists
granting: org.opensuse.yast.modules.yapi.users.administrator.write
polkit-auth: AuthorizationAlreadyExists: An authorization for uid 0 for the
action org.opensuse.yast.modules.yapi.users.administrator.write with constraint
'' already exists
granting: org.opensuse.yast.permissions.read
polkit-auth: AuthorizationAlreadyExists: An authorization for uid 0 for the
action org.opensuse.yast.permissions.read with constraint '' already exists
granting: org.opensuse.yast.permissions.write
polkit-auth: AuthorizationAlreadyExists: An authorization for uid 0 for the
action org.opensuse.yast.permissions.write with constraint '' already exists
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
granting: org.opensuse.yast.modules.yapi.network.read
polkit-auth: AuthorizationAlreadyExists: An authorization for uid 0 for the
action org.opensuse.yast.modules.yapi.network.read with constraint '' already
exists
granting: org.opensuse.yast.modules.yapi.network.write
polkit-auth: AuthorizationAlreadyExists: An authorization for uid 0 for the
action org.opensuse.yast.modules.yapi.network.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.
(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

*******************************************************
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/administrator)
* 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

*** registering plugins ***
(in /src/rest-service/webservice)
== Accounts: migrating =======================================================
-- create_table("accounts", {:force=>true})
-> 0.0051s
== Accounts: migrated (0.0054s) ==============================================

Loaded suite /usr/bin/rake
Started


Finished in 0.000173 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/functional/vendor_settings_controller_test.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/lib_session_test.rb"
"test/functional/permissions_controller_test.rb"
(in /src/rest-service/webservice)

*** registering plugins ***
./test/functional/resources_controller_test.rb:14: warning: already initialized
constant USER_ROLES_CONFIG
./test/functional/resources_controller_test.rb:16: warning: already initialized
constant RESOURCE_REGISTRATION_TESTING
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 4.853682 seconds.

59 tests, 83 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 Klaus K??mpf because no e-mail address is known, and
no default e-mail domain is configured

--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >