Mailinglist Archive: yast-commit (298 mails)

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

Changes:

[Jiri Suchomel] test the model

------------------------------------------
[...truncated 496 lines...]
* Done
DEPRECATION WARNING: Rake tasks in vendor/plugins/rails_rcov/tasks are
deprecated. Use lib/tasks instead. (called from
/usr/lib/ruby/gems/1.8/gems/rails-2.3.8/lib/tasks/rails.rb:10)
(in /src/rest-service/plugins/status)
** Invoke check_syntax (first_time)
** Execute check_syntax
* Starting syntax check...
* Done
+ check_exit 0
+ '[' -z 0 ']'
+ MYEXIT=0
+ '[' 0 == 0 ']'
+ echo 'exit code: 0 ... good, lets continue'
exit code: 0 ... good, lets continue
+ return
+ export GEM_PATH=/usr/local/lib/ruby/gems/1.8/gems
+ GEM_PATH=/usr/local/lib/ruby/gems/1.8/gems
+ export CI_REPORTS=results
+ CI_REPORTS=results
+ export RAILS_ENV=test
+ RAILS_ENV=test
+ pushd webservice
/src/rest-service/webservice /src/rest-service
+ RAILS_ENV=test
+ rake db:create db:migrate
DEPRECATION WARNING: Rake tasks in vendor/plugins/rails_rcov/tasks are
deprecated. Use lib/tasks instead. (called from
/usr/lib/ruby/gems/1.8/gems/rails-2.3.8/lib/tasks/rails.rb:10)
db/test.sqlite3 already exists

*** registering plugins ***
(in /src/rest-service/webservice)
== Accounts: migrating =======================================================
-- create_table("accounts", {:force=>true})
-> 0.0046s
== Accounts: migrated (0.0049s) ==============================================

Loaded suite /usr/bin/rake
Started


Finished in 7.6e-05 seconds.

0 tests, 0 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0
notifications
+ 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/rest-service
+ '[' -d coverage ']'
+ mkdir coverage
+ [[ rest-service == \r\e\s\t\-\s\e\r\v\i\c\e ]]
+ webservice/test/dbus-launch-simple rake test
(in /src/rest-service)
DEPRECATION WARNING: Rake tasks in vendor/plugins/rails_rcov/tasks are
deprecated. Use lib/tasks instead. (called from
/usr/lib/ruby/gems/1.8/gems/rails-2.3.8/lib/tasks/rails.rb:10)

*** 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/background_status_test.rb" "test/unit/permission_test.rb"
"test/unit/base_model_test.rb" "test/unit/yast_service_test.rb"
"test/unit/resource_test.rb" "test/unit/restdoc_test.rb"
"test/unit/account_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" "test/unit/background_manager_test.rb"
"test/unit/brute_force_protection_test.rb"
(in /src/rest-service/webservice)

*** registering plugins ***

*** registering plugins ***
./test/unit/yast/../../../config/environment.rb:131: warning: already
initialized constant USER_ROLES_CONFIG
Loaded suite /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader
Started
..................../test/unit/brute_force_protection_test.rb:33: warning:
already initialized constant TIMEOUT_ON_FAIL
.../test/unit/brute_force_protection_test.rb:41: warning: already initialized
constant TIMEOUT_ON_FAIL
..............permission_check2: NoPermissionException
.permission_check2: NoPermissionException
..permission_check2: NoPermissionException
..permission_check2: NoPermissionException
...

Finished in 0.827067 seconds.

43 tests, 152 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/error_controller_test.rb"
"test/functional/resources_registration_test.rb"
"test/functional/resources_controller_test.rb"
"test/functional/sessions_controller_test.rb"
"test/functional/raising_controller_test.rb"
"test/functional/authenticated_system_test.rb"
"test/functional/lib_session_test.rb"
"test/functional/permissions_controller_test.rb"
"test/functional/restdoc_controller_test.rb"

*** registering plugins ***
./test/functional/../../config/environment.rb:131: warning: already initialized
constant USER_ROLES_CONFIG
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 13.178335 seconds.

52 tests, 96 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"
Loaded suite /usr/bin/rake
Started


Finished in 8.2e-05 seconds.

0 tests, 0 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0
notifications
DEPRECATION WARNING: Rake tasks in vendor/plugins/rails_rcov/tasks are
deprecated. Use lib/tasks instead. (called from
/usr/lib/ruby/gems/1.8/gems/rails-2.3.8/lib/tasks/rails.rb:10)

*** 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/systemtime_test.rb"
(in /src/rest-service/plugins/time)

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

Finished in 0.365062 seconds.

1) Failure:
test_setter_with_move_to_future(SystemtimeTest)
[/test/unit/systemtime_test.rb:154:in `test_setter_with_move_to_future'
activesupport (2.3.8)
lib/active_support/testing/setup_and_teardown.rb:62:in `__send__'
activesupport (2.3.8)
lib/active_support/testing/setup_and_teardown.rb:62:in `run']:
Exception raised:
Class: <TypeError>
Message: <"can't convert String into Integer">
---Backtrace---
/src/rest-service/webservice/../plugins/time/app/models/systemtime.rb:41:in `[]'
/src/rest-service/webservice/../plugins/time/app/models/systemtime.rb:41
/src/rest-service/webservice/../plugins/time/app/models/systemtime.rb:40:in
`each'
/src/rest-service/webservice/../plugins/time/app/models/systemtime.rb:40
/usr/lib/ruby/gems/1.8/gems/activerecord-2.3.8/lib/active_record/validations.rb:480
/usr/lib/ruby/gems/1.8/gems/activerecord-2.3.8/lib/active_record/validations.rb:477:in
`each'
/usr/lib/ruby/gems/1.8/gems/activerecord-2.3.8/lib/active_record/validations.rb:477
/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.8/lib/active_support/callbacks.rb:182:in
`call'
/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.8/lib/active_support/callbacks.rb:182:in
`evaluate_method'
/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.8/lib/active_support/callbacks.rb:166:in
`call'
/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.8/lib/active_support/callbacks.rb:90:in
`run'
/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.8/lib/active_support/callbacks.rb:90:in
`each'
/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.8/lib/active_support/callbacks.rb:90:in
`send'
/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.8/lib/active_support/callbacks.rb:90:in
`run'
/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.8/lib/active_support/callbacks.rb:276:in
`run_callbacks'
/usr/lib/ruby/gems/1.8/gems/activerecord-2.3.8/lib/active_record/validations.rb:1110:in
`valid_without_callbacks?'
/usr/lib/ruby/gems/1.8/gems/activerecord-2.3.8/lib/active_record/callbacks.rb:315:in
`valid?'
/usr/lib/ruby/gems/1.8/gems/activerecord-2.3.8/lib/active_record/validations.rb:1089:in
`save'
./test/unit/systemtime_test.rb:155:in `test_setter_with_move_to_future'
./test/unit/systemtime_test.rb:154:in `test_setter_with_move_to_future'
/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.8/lib/active_support/testing/setup_and_teardown.rb:62:in
`__send__'
/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.8/lib/active_support/testing/setup_and_teardown.rb:62:in
`run'
---------------

2) Error:
test_setter_with_time(SystemtimeTest):
TypeError: can't convert String into Integer
./plugins/time/app/models/systemtime.rb:41:in `[]'
./plugins/time/app/models/systemtime.rb:41
./plugins/time/app/models/systemtime.rb:40:in `each'
./plugins/time/app/models/systemtime.rb:40
activerecord (2.3.8) lib/active_record/validations.rb:480
activerecord (2.3.8) lib/active_record/validations.rb:477:in `each'
activerecord (2.3.8) lib/active_record/validations.rb:477
activesupport (2.3.8) lib/active_support/callbacks.rb:182:in `call'
activesupport (2.3.8) lib/active_support/callbacks.rb:182:in
`evaluate_method'
activesupport (2.3.8) lib/active_support/callbacks.rb:166:in `call'
activesupport (2.3.8) lib/active_support/callbacks.rb:90:in `run'
activesupport (2.3.8) lib/active_support/callbacks.rb:90:in `each'
activesupport (2.3.8) lib/active_support/callbacks.rb:90:in `send'
activesupport (2.3.8) lib/active_support/callbacks.rb:90:in `run'
activesupport (2.3.8) lib/active_support/callbacks.rb:276:in `run_callbacks'
activerecord (2.3.8) lib/active_record/validations.rb:1110:in
`valid_without_callbacks?'
activerecord (2.3.8) lib/active_record/callbacks.rb:315:in `valid?'
activerecord (2.3.8) lib/active_record/validations.rb:1089:in `save'
/test/unit/systemtime_test.rb:134:in `test_setter_with_time'
activesupport (2.3.8)
lib/active_support/testing/setup_and_teardown.rb:62:in `__send__'
activesupport (2.3.8)
lib/active_support/testing/setup_and_teardown.rb:62:in `run'

3) Error:
test_setter_without_time(SystemtimeTest):
TypeError: can't convert String into Integer
./plugins/time/app/models/systemtime.rb:41:in `[]'
./plugins/time/app/models/systemtime.rb:41
./plugins/time/app/models/systemtime.rb:40:in `each'
./plugins/time/app/models/systemtime.rb:40
activerecord (2.3.8) lib/active_record/validations.rb:480
activerecord (2.3.8) lib/active_record/validations.rb:477:in `each'
activerecord (2.3.8) lib/active_record/validations.rb:477
activesupport (2.3.8) lib/active_support/callbacks.rb:182:in `call'
activesupport (2.3.8) lib/active_support/callbacks.rb:182:in
`evaluate_method'
activesupport (2.3.8) lib/active_support/callbacks.rb:166:in `call'
activesupport (2.3.8) lib/active_support/callbacks.rb:90:in `run'
activesupport (2.3.8) lib/active_support/callbacks.rb:90:in `each'
activesupport (2.3.8) lib/active_support/callbacks.rb:90:in `send'
activesupport (2.3.8) lib/active_support/callbacks.rb:90:in `run'
activesupport (2.3.8) lib/active_support/callbacks.rb:276:in `run_callbacks'
activerecord (2.3.8) lib/active_record/validations.rb:1110:in
`valid_without_callbacks?'
activerecord (2.3.8) lib/active_record/callbacks.rb:315:in `valid?'
activerecord (2.3.8) lib/active_record/validations.rb:1089:in `save'
/test/unit/systemtime_test.rb:118:in `test_setter_without_time'
activesupport (2.3.8)
lib/active_support/testing/setup_and_teardown.rb:62:in `__send__'
activesupport (2.3.8)
lib/active_support/testing/setup_and_teardown.rb:62:in `run'

7 tests, 13 assertions, 1 failures, 2 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/systemtime_controller_test.rb"

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

Finished in 0.510477 seconds.

7 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"
Errors running test:units!
rake aborted!
Error on execute '/usr/bin/rake test' inside plugins/time/
/src/rest-service/Rakefile:41
(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 Jiri Suchomel 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

--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
List Navigation