Mailinglist Archive: yast-commit (1771 mails)

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

Changes:

[Josef Reidinger] add full exception log

[Josef Reidinger] change permission check to exception base, break
exception test suite, fixed after introduce rescue handlers

[Josef Reidinger] change permission check to exception base, break
exception test suite, fixed after introduce rescue handlers

[Josef Reidinger] add rescue handler that generates result xml

[Josef Reidinger] remove test redefinition as it causes double test run

[Josef Reidinger] use 503 error code instead 409

[Josef Reidinger] fix xml format

[Josef Reidinger] add comments to permission check and also add shortcut
for yapi permissions

[Josef Reidinger] update modules to new behavior or permission_check

[Josef Reidinger] merge chages

------------------------------------------
[...truncated 18 lines...]
??,????????'????????,????,????????'????????,????,????????'????????,????,????????'????????,????,????????'????????,??

webyast-rest-service
/src/rest-service
INSTALL
Makefile
README
Rakefile
plugins
policy-tools
rpam
ruby-polkit
webservice
webservice-tasks
start dbus..
Starting D-Bus daemon..done
Running as root
Test plain SCR call
2009-09-03 08:07:15 <1> golelet(20958) [liby2] genericfrontend.cc(main):668
Launched YaST2 component 'y2base' '-l' '-' 'stdio' 'scr'
2009-09-03 08:07:15 <1> golelet(20958) [liby2] genericfrontend.cc(main):822
YAST_IS_RUNNING is yes
([])
("/tmp/YaST2-20958-9sTcZe")
((nil))
2009-09-03 08:07:15 <2> golelet(20958) [liby2]
Y2StdioComponent.cc(doActualWork):120 Communication ended prior to result ()
message
2009-09-03 08:07:15 <1> golelet(20958) [liby2] genericfrontend.cc(main):837
Finished YaST2 component 'y2base'
2009-09-03 08:07:15 <1> golelet(20958) [liby2] genericfrontend.cc(main):842
Exiting with client return value 'nil'
exit code: 0 ... good, lets continue
Creating shared tasks gem
/src/rest-service/webservice-tasks /src/rest-service
gem build yast2-webservice-tasks.gemspec
(in /src/rest-service/webservice-tasks)
Updating yast2-webservice-tasks.gemspec (0.0.1)...
Updating package/rubygem-yast2-webservice-tasks.spec (0.0.1)...
WARNING: no rubyforge_project specified
WARNING: RDoc will not be generated (has_rdoc == false)
Successfully built RubyGem
Name: yast2-webservice-tasks
Version: 0.0.1
File: yast2-webservice-tasks-0.0.1.gem
cp yast2-webservice-tasks-0.0.1.gem package
Installing gem...
ERROR: http://gems.rubyforge.org/ does not appear to be a repository
Successfully installed yast2-webservice-tasks-0.0.1
1 gem installed
/src/rest-service
(in /src/rest-service)
(in /src/rest-service/webservice)
Running from /src/rest-service/webservice-tasks/lib/tasks/install_policies.rake
(in /src/rest-service/plugins/time)
Running from /src/rest-service/webservice-tasks/lib/tasks/install_policies.rake
(in /src/rest-service/plugins/commandline)
Running from /src/rest-service/webservice-tasks/lib/tasks/install_policies.rake
(in /src/rest-service/plugins/patches)
Running from /src/rest-service/webservice-tasks/lib/tasks/install_policies.rake
(in /src/rest-service/plugins/users)
Running from /src/rest-service/webservice-tasks/lib/tasks/install_policies.rake
(in /src/rest-service/plugins/network)
Running from /src/rest-service/webservice-tasks/lib/tasks/install_policies.rake
(in /src/rest-service/plugins/basesystem)
Running from /src/rest-service/webservice-tasks/lib/tasks/install_policies.rake
(in /src/rest-service/plugins/samba_server)
Running from /src/rest-service/webservice-tasks/lib/tasks/install_policies.rake
(in /src/rest-service/plugins/system)
Running from /src/rest-service/webservice-tasks/lib/tasks/install_policies.rake
(in /src/rest-service/plugins/securities)
Running from /src/rest-service/webservice-tasks/lib/tasks/install_policies.rake
(in /src/rest-service/plugins/language)
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
granting: org.opensuse.yast.modules.yapi.users.userget
granting: org.opensuse.yast.modules.yapi.users.usermodify
granting: org.opensuse.yast.modules.yapi.users.useradd
granting: org.opensuse.yast.modules.yapi.users.userdelete
granting: org.opensuse.yast.system.patches.read
granting: org.opensuse.yast.system.patches.install
granting: org.opensuse.yast.system.network.read
granting: org.opensuse.yast.system.network.writelimits
granting: org.opensuse.yast.system.packages.read
granting: org.opensuse.yast.permissions.read
granting: org.opensuse.yast.permissions.write
granting: org.opensuse.yast.commandline.read
granting: org.opensuse.yast.commandline.execute
granting: org.opensuse.yast.system.status.read
granting: org.opensuse.yast.system.status.writelimits
granting: org.opensuse.yast.module-manager.import
granting: org.opensuse.yast.module-manager.lock
granting: org.opensuse.yast.modules.yapi.services.read
granting: org.opensuse.yast.modules.yapi.services.get
granting: org.opensuse.yast.modules.yapi.services.execute
granting: org.opensuse.yast.system.security.read
granting: org.opensuse.yast.system.security.write
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

*******************************************************
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
app/controllers/status_controller.rb:83: syntax error, unexpected $end,
expecting kEND
(in /src/rest-service/plugins/status)
* Starting syntax check...
ERROR: Syntax error found
rake aborted!
Error on execute task check_syntax on plugins/status
/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 Josef Reidinger 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 >