Mailinglist Archive: yast-commit (2114 mails)

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

Changes:

[Klaus K??mpf] Replace strings with class constants

[Klaus K??mpf] Sample code to access PackageKit via D-Bus

This is meant to test availability of PackageKit on a running system.

[Klaus K??mpf] Factor out and rewrite PackageKit mocking

[Klaus K??mpf] Give variables readable names

[Klaus K??mpf] Provide constants and comments

[Klaus K??mpf] Pass the correct object to DBus::ProxyObjectInterface.new

[Klaus K??mpf] Expect ruby-dbus as a gem

[Klaus K??mpf] Deduce the proxy object from the interface

[Klaus K??mpf] Make PackageKit mocking complete

This commit completes the mocking of PackageKit via D-Bus.

It introduces a PackageKitStub class and a PackageKitResult class.

PackageKitStub covers the complete D-Bus communication, PackageKitResult
the expected results from a function call (i.e. "GetUpdates").

The mocking is complete up to and including the socket level. The
results are sent to the socket and then processed through ruby-dbus,
making it completely transparent to the application.

[Klaus K??mpf] Full SearchName test for PackageKit/D-Bus

This uses PackageKitStub and PackageKitResult to test the 'execute'
method of app/models/resolvables.

[Klaus K??mpf] Add comment on implementation complexity

[Klaus K??mpf] Merge remote branch 'origin/master' into patch_refactor

[Klaus K??mpf] Add full D-Bus mocking

[Klaus K??mpf] Make basesystem.yml optional (bnc#542445)

Additionally, don't make assumptions on how YaST::ConfigFile assembles
the file name.

[Klaus K??mpf] Add details to exceptions if policy cannot be obtained

[Klaus K??mpf] Don't hide SCR D-Bus exceptions

[Klaus K??mpf] Clean up and more logging

[Klaus K??mpf] Fix resource name (bnc#542169)

------------------------------------------
[...truncated 783 lines...]

***RAILS_ENV environment variable isn't set !

/usr/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/initializer.rb:365:in `read': No
such file or directory - /src/rest-service/webservice/config/environments/.rb
(Errno::ENOENT)
from /usr/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/initializer.rb:365:in
`load_environment'
from
/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/core_ext/kernel/reporting.rb:11:in
`silence_warnings'
from /usr/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/initializer.rb:358:in
`load_environment'
from /usr/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/initializer.rb:137:in
`process'
from /usr/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/initializer.rb:113:in
`send'
from /usr/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/initializer.rb:113:in
`run'
from /src/rest-service/webservice/config/environment.rb:22
from
/src/rest-service/webservice/lib/tasks/plugin_test/test_helper.rb:12:in
`require'
from
/src/rest-service/webservice/lib/tasks/plugin_test/test_helper.rb:12
from plugin_test/functional/plugin_index_test.rb:22:in `require'
from plugin_test/functional/plugin_index_test.rb:22


***RAILS_ENV environment variable isn't set !

/usr/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/initializer.rb:365:in `read': No
such file or directory - /src/rest-service/webservice/config/environments/.rb
(Errno::ENOENT)
from /usr/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/initializer.rb:365:in
`load_environment'
from
/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/core_ext/kernel/reporting.rb:11:in
`silence_warnings'
from /usr/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/initializer.rb:358:in
`load_environment'
from /usr/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/initializer.rb:137:in
`process'
from /usr/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/initializer.rb:113:in
`send'
from /usr/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/initializer.rb:113:in
`run'
from /src/rest-service/webservice/config/environment.rb:22
from
/src/rest-service/webservice/lib/tasks/plugin_test/test_helper.rb:12:in
`require'
from
/src/rest-service/webservice/lib/tasks/plugin_test/test_helper.rb:12
from plugin_test/functional/plugin_show_test.rb:22:in `require'
from plugin_test/functional/plugin_show_test.rb:22
*** ERROR: plugin LogsController does not work correctly
Please try 'export RAILS_PARENT=.; ruby
plugin_test/functional/plugin_index_test.rb --plugin LogsController' and check
the result


***RAILS_ENV environment variable isn't set !

/usr/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/initializer.rb:365:in `read': No
such file or directory - /src/rest-service/webservice/config/environments/.rb
(Errno::ENOENT)
from /usr/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/initializer.rb:365:in
`load_environment'
from
/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/core_ext/kernel/reporting.rb:11:in
`silence_warnings'
from /usr/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/initializer.rb:358:in
`load_environment'
from /usr/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/initializer.rb:137:in
`process'
from /usr/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/initializer.rb:113:in
`send'
from /usr/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/initializer.rb:113:in
`run'
from /src/rest-service/webservice/config/environment.rb:22
from
/src/rest-service/webservice/lib/tasks/plugin_test/test_helper.rb:12:in
`require'
from
/src/rest-service/webservice/lib/tasks/plugin_test/test_helper.rb:12
from plugin_test/functional/plugin_index_test.rb:22:in `require'
from plugin_test/functional/plugin_index_test.rb:22


***RAILS_ENV environment variable isn't set !

/usr/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/initializer.rb:365:in `read': No
such file or directory - /src/rest-service/webservice/config/environments/.rb
(Errno::ENOENT)
from /usr/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/initializer.rb:365:in
`load_environment'
from
/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/core_ext/kernel/reporting.rb:11:in
`silence_warnings'
from /usr/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/initializer.rb:358:in
`load_environment'
from /usr/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/initializer.rb:137:in
`process'
from /usr/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/initializer.rb:113:in
`send'
from /usr/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/initializer.rb:113:in
`run'
from /src/rest-service/webservice/config/environment.rb:22
from
/src/rest-service/webservice/lib/tasks/plugin_test/test_helper.rb:12:in
`require'
from
/src/rest-service/webservice/lib/tasks/plugin_test/test_helper.rb:12
from plugin_test/functional/plugin_show_test.rb:22:in `require'
from plugin_test/functional/plugin_show_test.rb:22
*** ERROR: plugin MetricsController does not work correctly
Please try 'export RAILS_PARENT=.; ruby
plugin_test/functional/plugin_index_test.rb --plugin MetricsController' and
check the result


***RAILS_ENV environment variable isn't set !

/usr/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/initializer.rb:365:in `read': No
such file or directory - /src/rest-service/webservice/config/environments/.rb
(Errno::ENOENT)
from /usr/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/initializer.rb:365:in
`load_environment'
from
/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/core_ext/kernel/reporting.rb:11:in
`silence_warnings'
from /usr/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/initializer.rb:358:in
`load_environment'
from /usr/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/initializer.rb:137:in
`process'
from /usr/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/initializer.rb:113:in
`send'
from /usr/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/initializer.rb:113:in
`run'
from /src/rest-service/webservice/config/environment.rb:22
from
/src/rest-service/webservice/lib/tasks/plugin_test/test_helper.rb:12:in
`require'
from
/src/rest-service/webservice/lib/tasks/plugin_test/test_helper.rb:12
from plugin_test/functional/plugin_index_test.rb:22:in `require'
from plugin_test/functional/plugin_index_test.rb:22


***RAILS_ENV environment variable isn't set !

/usr/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/initializer.rb:365:in `read': No
such file or directory - /src/rest-service/webservice/config/environments/.rb
(Errno::ENOENT)
from /usr/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/initializer.rb:365:in
`load_environment'
from
/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/core_ext/kernel/reporting.rb:11:in
`silence_warnings'
from /usr/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/initializer.rb:358:in
`load_environment'
from /usr/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/initializer.rb:137:in
`process'
from /usr/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/initializer.rb:113:in
`send'
from /usr/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/initializer.rb:113:in
`run'
from /src/rest-service/webservice/config/environment.rb:22
from
/src/rest-service/webservice/lib/tasks/plugin_test/test_helper.rb:12:in
`require'
from
/src/rest-service/webservice/lib/tasks/plugin_test/test_helper.rb:12
from plugin_test/functional/plugin_show_test.rb:22:in `require'
from plugin_test/functional/plugin_show_test.rb:22
*** 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/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/ntp)
* 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.0047s
== Accounts: migrated (0.0050s) ==============================================

Loaded suite /usr/bin/rake
Started


Finished in 5.9e-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)

*** registering plugins ***
/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"
"test/unit/yast_roles_test.rb"
(in /src/rest-service/webservice)

*** registering plugins ***
Loaded suite /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader
Started
.......permission_check2: NoPermissionException
.permission_check2: NoPermissionException
..permission_check2: NoPermissionException
..permission_check2: NoPermissionException
..

Finished in 0.391275 seconds.

14 tests, 36 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/lib_session_test.rb"
"test/functional/permissions_controller_test.rb"

*** registering plugins ***
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
........permission_check1: PolicyKit user 'test_user' does not exist, #<Account
id: 1, login: "test_user", salt: "xyzzy", created_at: "2009-09-26 16:09:37",
updated_at: "2009-09-26 16:09:37", remember_token: nil,
remember_token_expires_at: nil>:org.opensuse.yast.permissions.write
...permission_check1: PolicyKit user 'test_user' does not exist, #<Account id:
1, login: "test_user", salt: "xyzzy", created_at: "2009-09-26 16:09:37",
updated_at: "2009-09-26 16:09:37", remember_token: nil,
remember_token_expires_at: nil>:org.opensuse.yast.permissions.read
.F......permission_check1: PolicyKit user 'test_user' does not exist, #<Account
id: 1, login: "test_user", salt: "xyzzy", created_at: "2009-09-26 16:09:37",
updated_at: "2009-09-26 16:09:37", remember_token: nil,
remember_token_expires_at: nil>:org.opensuse.yast.permissions.read
...........does_not_exist failed to load: No such file or directory -
does_not_exist
.............................

Finished in 80.381389 seconds.

1) Failure:
test_permissions_access_index_with_wrong_user(PermissionsControllerTest)
[actionpack (2.3.2) lib/action_controller/test_case.rb:114:in
`clean_backtrace'
/test/functional/permissions_controller_test.rb:79:in
`test_permissions_access_index_with_wrong_user'
activesupport (2.3.2)
lib/active_support/testing/setup_and_teardown.rb:62:in `__send__'
activesupport (2.3.2)
lib/active_support/testing/setup_and_teardown.rb:62:in `run']:
Expected response to be a <404>, but was <200>

59 tests, 89 assertions, 1 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 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 Ladislav Slezak 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 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 Klaus K??mpf because no e-mail address is known, and
no default e-mail domain is configured
Failed to send e-mail to Stefan Schubert because no e-mail address is known,
and no default e-mail domain is configured
Failed to send e-mail to Martin Kudlvasr because no e-mail address is known,
and no default e-mail domain is configured
Failed to send e-mail to Michal Zugec because no e-mail address is known, and
no default e-mail domain is configured
Failed to send e-mail to Martin Vidner 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 >