Mailinglist Archive: yast-commit (725 mails)

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

Changes:

[Duncan Mac-Vicar P] vendor settings controller

[Duncan Mac-Vicar P] various fixes and improve xml generation

[Duncan Mac-Vicar P] - dont read the config file when the model is defined
- better shared data usage in the classes

[Duncan Mac-Vicar P] Merge branch 'master' of
git@xxxxxxxxxxxxxxxx:projects/yast/rest-service

[Duncan Mac-Vicar P] Merge branch 'master' of
git@xxxxxxxxxxxxxxxx:projects/yast/rest-service

[Duncan Mac-Vicar P] Merge branch 'master' of
git@xxxxxxxxxxxxxxxx:projects/yast/rest-service

------------------------------------------
[...truncated 158 lines...]
*** 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 PackagesController does not work correctly
Please try 'export RAILS_PARENT=.; ruby
plugin_test/functional/plugin_index_test.rb --plugin PackagesController' 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.0022s) ==============================================

Loaded suite /usr/bin/rake
Started


Finished in 0.006624 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
.......

Finished in 0.353065 seconds.

7 tests, 30 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"
"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/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.784692 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"
/usr/bin/ruby -I"lib: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/yast_roles_test.rb" "test/functional/lib_session_test.rb"
"test/functional/permissions_controller_test.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"
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 17.391511 seconds.

74 tests, 132 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0
notifications
Loaded suite /usr/bin/rake
Started


Finished in 6.7e-05 seconds.

0 tests, 0 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"
"test/unit/systemtime_test.rb"
(in /src/rest-service/plugins/time)
Loaded suite /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader
Started
....

Finished in 0.460543 seconds.

4 tests, 12 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"
"test/functional/systemtimes_controller_test.rb"
Loaded suite /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader
Started
.FF....

Finished in 0.608551 seconds.

1) Failure:
test_access_show_json(SystemtimesControllerTest)
[test/plugin_basic_tests.rb:67]:
<"application/json"> expected but was
<"text/html">.

2) Failure:
test_access_show_xml(SystemtimesControllerTest) [test/plugin_basic_tests.rb:59]:
<"application/xml"> expected but was
<"text/html">.

7 tests, 8 assertions, 2 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:functionals!
rake aborted!
Error on execute task test on plugins/time
/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@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >