Mailinglist Archive: yast-commit (459 mails)

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

Changes:

[Josef Reidinger] fix names of methods in test suite and fix bug which
test-suite discover. Also ensure reseting permission if functional test is run
together with unit tests

------------------------------------------
[...truncated 179 lines...]

== PrivatePortNumbers: migrating =============================================
== PrivatePortNumbers: migrated (0.0020s) ====================================

+ check_exit 0
+ '[' -z 0 ']'
+ MYEXIT=0
+ '[' 0 == 0 ']'
+ echo 'exit code: 0 ... good, lets continue'
exit code: 0 ... good, lets continue
+ return
+ popd
/src/web-client
+ '[' -d coverage ']'
+ mkdir coverage
+ rake test
(in /src/web-client)
/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/host_test.rb" "test/unit/basesystem_test.rb"
"test/unit/helpers/controlpanel_helper_test.rb" "test/unit/account_test.rb"
"test/unit/yast/service_resource_test.rb" "test/unit/yast_model_test.rb"
"test/unit/client_exception_test.rb"
(in /src/web-client/webclient)
Loaded suite /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader
Started
......................

Finished in 0.776016 seconds.

22 tests, 71 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/hosts_controller_test.rb"
"test/functional/private_routing_test.rb"
"test/functional/lang_controller_test.rb"
"test/functional/controlpanel_controller_test.rb"
"test/functional/sessions_controller_test.rb"
"test/functional/main_controller_test.rb"
/src/web-client/webclient/vendor/plugins/lang_helper/lib/lang_helper.rb:34:
warning: don't put space before argument parentheses
/src/web-client/webclient/vendor/plugins/lang_helper/lib/lang_helper.rb:38:
warning: don't put space before argument parentheses
/src/web-client/webclient/vendor/plugins/lang_helper/lib/lang_helper.rb:25:
warning: already initialized constant LANGUAGES
/src/web-client/webclient/vendor/plugins/lang_helper/lib/lang_helper.rb:82:
warning: already initialized constant SUPPORTED_LANGUAGE
Loaded suite /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader
Started
.................DEPRECATION WARNING: Using assert_redirected_to with partial
hash arguments is deprecated. Specify the full set arguments instead. (called
from test_main_index_no_session at ./test/functional/main_controller_test.rb:12)
..................

Finished in 1.177148 seconds.

35 tests, 67 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/integration/two_sessions_test.rb" "test/integration/manage_hosts_test.rb"
fakeweb not found, skipping two_session_test
/usr/bin/ruby -I"lib:test"
"/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader.rb"
(in /src/web-client/plugins/custom_services)
/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:test"
"/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader.rb"
/usr/bin/ruby -I"lib:test"
"/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader.rb"
(in /src/web-client/plugins/security)
/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:test"
"/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader.rb"
/usr/bin/ruby -I"lib:test"
"/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader.rb"
(in /src/web-client/plugins/mail)
/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/mail_controller_test.rb"
Loaded suite /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader
Started
..DEPRECATION WARNING: Using assert_redirected_to with partial hash arguments
is deprecated. Specify the full set arguments instead. (called from
test_commit_empty_server_wizard at ./test/functional/mail_controller_test.rb:88)
....

Finished in 0.809627 seconds.

6 tests, 16 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:test"
"/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader.rb"
(in /src/web-client/plugins/users)
/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/users_controller_test.rb"
Loaded suite /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader
Started
.

Finished in 0.452027 seconds.

1 tests, 3 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:test"
"/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader.rb"
"test/unit/string_serialization_test.rb"
"test/unit/array_serialization_test.rb" "test/unit/interface_test.rb"
(in /src/web-client/plugins/network)
Loaded suite /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader
Started
........

Finished in 0.027959 seconds.

8 tests, 8 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/network_controller_test.rb"
Loaded suite /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader
Started
...

Finished in 0.444886 seconds.

3 tests, 8 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:test"
"/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader.rb"
(in /src/web-client/plugins/samba_server)
/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:test"
"/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader.rb"
/usr/bin/ruby -I"lib:test"
"/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader.rb"
(in /src/web-client/plugins/system)
/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/system_controller_test.rb"
Loaded suite /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader
Started
......

Finished in 2.294632 seconds.

6 tests, 20 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:test"
"/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader.rb"
(in /src/web-client/plugins/administrator)
/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/administrator_controller_test.rb"
Loaded suite /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader
Started
..DEPRECATION WARNING: Using assert_redirected_to with partial hash arguments
is deprecated. Specify the full set arguments instead. (called from
test_commit_with_aliases_wizard at
./test/functional/administrator_controller_test.rb:83)
......

Finished in 0.758114 seconds.

8 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"
/usr/bin/ruby -I"lib:test"
"/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader.rb"
(in /src/web-client/plugins/registration)
/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/registration_controller_test.rb"
Loaded suite /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader
Started
..DEPRECATION WARNING: Using assert_redirected_to with partial hash arguments
is deprecated. Specify the full set arguments instead. (called from
test_register at ./test/functional/registration_controller_test.rb:97)
.DEPRECATION WARNING: Using assert_redirected_to with partial hash arguments is
deprecated. Specify the full set arguments instead. (called from
test_register_in_basesystem at
./test/functional/registration_controller_test.rb:107)
..

Finished in 0.752233 seconds.

5 tests, 11 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:test"
"/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader.rb"
"test/unit/firewall_test.rb"
(in /src/web-client/plugins/firewall)
Loaded suite /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader
Started
E

Finished in 0.050983 seconds.

1) Error:
test_find_one(FirewallTest):
RuntimeError: Interface org.opensuse.yast.modules.yapi.services missing on
target machine
lib/yast_model/base.rb:82:in `set_site'
lib/yast_model/base.rb:43:in `prefix'
activeresource (2.3.5) lib/active_resource/base.rb:420:in `prefix_source'
activeresource (2.3.5) lib/active_resource/base.rb:684:in
`prefix_parameters'
activeresource (2.3.5) lib/active_resource/base.rb:699:in `split_options'
activeresource (2.3.5) lib/active_resource/base.rb:697:in `each'
activeresource (2.3.5) lib/active_resource/base.rb:697:in `split_options'
activeresource (2.3.5) lib/active_resource/base.rb:1141:in `__send__'
activeresource (2.3.5) lib/active_resource/base.rb:1141:in `split_options'
activeresource (2.3.5) lib/active_resource/base.rb:1017:in `load'
activeresource (2.3.5) lib/active_resource/base.rb:723:in `initialize'
activeresource (2.3.5) lib/active_resource/base.rb:1027:in `new'
activeresource (2.3.5) lib/active_resource/base.rb:1027:in `load'
activeresource (2.3.5) lib/active_resource/base.rb:1023:in `map'
activeresource (2.3.5) lib/active_resource/base.rb:1023:in `load'
activeresource (2.3.5) lib/active_resource/base.rb:1018:in `each'
activeresource (2.3.5) lib/active_resource/base.rb:1018:in `load'
activeresource (2.3.5) lib/active_resource/base.rb:723:in `initialize'
activeresource (2.3.5) lib/active_resource/base.rb:666:in `new'
activeresource (2.3.5) lib/active_resource/base.rb:666:in
`instantiate_record'
lib/yast_model/base.rb:103:in `find_one'
activeresource (2.3.5) lib/active_resource/base.rb:585:in `find'
/test/unit/firewall_test.rb:22:in `setup'
activesupport (2.3.5)
lib/active_support/testing/setup_and_teardown.rb:61:in `run'

1 tests, 0 assertions, 0 failures, 1 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/firewall_controller_test.rb"
Loaded suite /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader
Started/src/web-client/webclient/../plugins/firewall/app/controllers/firewall_controller.rb:26:
warning: don't put space before argument parentheses

FFF

Finished in 0.300271 seconds.

1) Failure:
test_commit(FirewallControllerTest)
[actionpack (2.3.5) lib/action_controller/test_case.rb:119:in
`clean_backtrace'
/test/functional/firewall_controller_test.rb:43:in `test_commit'
activesupport (2.3.5)
lib/active_support/testing/setup_and_teardown.rb:62:in `__send__'
activesupport (2.3.5)
lib/active_support/testing/setup_and_teardown.rb:62:in `run']:
Expected response to be a <:redirect>, but was <500>
<"">

2) Failure:
test_commit_wizard(FirewallControllerTest)
[actionpack (2.3.5) lib/action_controller/test_case.rb:119:in
`clean_backtrace'
/test/functional/firewall_controller_test.rb:55:in `test_commit_wizard'
activesupport (2.3.5)
lib/active_support/testing/setup_and_teardown.rb:62:in `__send__'
activesupport (2.3.5)
lib/active_support/testing/setup_and_teardown.rb:62:in `run']:
Expected response to be a <:redirect>, but was <500>
<"">

3) Failure:
test_index(FirewallControllerTest)
[actionpack (2.3.5) lib/action_controller/test_case.rb:119:in
`clean_backtrace'
/test/functional/firewall_controller_test.rb:31:in `test_index'
activesupport (2.3.5)
lib/active_support/testing/setup_and_teardown.rb:62:in `__send__'
activesupport (2.3.5)
lib/active_support/testing/setup_and_teardown.rb:62:in `run']:
Expected response to be a <:success>, but was <500>
<"">

3 tests, 3 assertions, 3 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 and test:functionals!
rake aborted!
Error on execute task test on plugins/firewall
/src/web-client/Rakefile:16
(See full trace by running task with --trace)
++ error_exit 1
++ echo 'ERROR: detected exit code 1'
ERROR: detected exit code 1
++ footer_and_exit 1
++ '[' -z 1 ']'
++ MYEXIT=1
++ '[' 1 == 0 ']'
++ ascii_failed
++ cat

( )
( ) (
) _ )
( \_
_(_\ \)__
(____\___))

build failed

++ echo 'stopping dbus..'
stopping dbus..
++ /etc/init.d/dbus stop
Shutting down D-Bus daemon..done
++ exit 1
... unmounting sys
... unmounting proc
... unmounting pts
[locks-and-latches] Releasing all the locks
[locks-and-latches] All the locks released
Archiving artifacts
Build wasn't successful, skipping saikuro coverage report
Publishing rails stats report...
[workspace] $ rake --silent stats
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 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 Martin Vidner because no e-mail address is known, and
no default e-mail domain is configured
Failed to send e-mail to Machalkova Katarina 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 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 >