Mailinglist Archive: yast-commit (1914 mails)

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

Changes:

[Klaus K??mpf] Fix setting RAILS_ENV to 'test' early (bnc#533178)

Apparently, using RAILS_ENV (the constant) vs. ENV['RAILS_ENV'] (the
environment) isn't completely standardized leading to many confusions.

config/environment.rb now sets RAILS_ENV (the constant) early.

Loading test resources is now controlled outside of environment.rb,
within the respective testsuites. Setting RESOURCE_REGISTRATION_TESTING
prevents registering all plugin resources now.

This finally allowed to fix bnc#533178 in setting ENV['RAILS_ENV'] to
"test" sufficiently early.

This commit also fixes various test cases to use relative pathes
instead of absolute ones.

[Jiri Suchomel] new rest service for administrator's setting

[Jiri Suchomel] Merge branch 'master' of
git+ssh://git@xxxxxxxxxxxxxxxx/projects/yast/rest-service

------------------------------------------
[...truncated 49 lines...]
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/administrator)
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
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
granting: org.opensuse.yast.modules.yapi.users.administrator.write
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
rake aborted!
No such file or directory - /src/rest-service/webservice/config/environments/.rb

(See full trace by running task with --trace)
(in /src/rest-service/webservice)
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 >