See <http://yast.suse.de:3334/job/webyast-client-11.1-i586/600/changes> Changes: [Ladislav Slezak] - read avaliable patches in a separate thread (in background) - initial commit [Ladislav Slezak] added a new partial render for the background progress [Ladislav Slezak] proxy_loader.rb - allow passing extra options to the REST backend [Ladislav Slezak] use :background parameter in patch_progress requests read patches in background only in development mode (must be changed to production mode!) [Ladislav Slezak] always run patch summary request in background if the backend cannot handle it properly it will use the standard method, so we don't have to care here [Ladislav Slezak] display a progress bar when downloading patches [Ladislav Slezak] Merge branch 'master' into backgroud_patches_bnc550934 [Ladislav Slezak] Merge branch 'master' into backgroud_patches_bnc550934 [Ladislav Slezak] read system status summary at background, display progress [Stefan Schubert] logs after merged branch [Stefan Schubert] handle PackageKit errors (bnc #559233) [Josef Reidinger] adapt frontend to time sending utc status as boolean [Stefan Schubert] code cleanup [Stefan Schubert] Merge branch 'master' of git@git.opensuse.org:projects/yast/web-client [Josef Reidinger] Merge branch 'master' of git@git.opensuse.org:projects/yast/web-client [Josef Reidinger] Merge branch 'master' of git.opensuse.org:projects/yast/web-client into jr-yastmodel [Josef Reidinger] inital commit of my version of models for webclient (try different way then use_activeresource) (non-wokring now) [Ladislav Slezak] Merge branch 'master' into backgroud_patches_bnc550934 Conflicts: plugins/patch_updates/app/controllers/patch_updates_controller.rb plugins/status/app/controllers/status_controller.rb [Martin Schmidkunz] Fixed footer content distance [Josef Reidinger] fix collection name problem by hack [Martin Schmidkunz] add input help into network module [Josef Reidinger] fix http mock to expect authentification [Josef Reidinger] properly set element name to generate correct XML, test saving [Josef Reidinger] add test that show problem with setting class variables in ancestor [Josef Reidinger] fix problem with settings variable in ancestor by using module instead of ancestor [Josef Reidinger] implement permissions for model [Josef Reidinger] fix permissions and move as example time plugin to YastModel [Josef Reidinger] add wrapper around http mock to easy test plugins [Josef Reidinger] clean systemtime plugin to demonstrate yast model rewrite test to use http mock create ntp model move functionality from lib and controller to time model TODO: create tests for models [Ladislav Slezak] Merge branch 'master' into backgroud_patches_bnc550934 [Ladislav Slezak] addded progress_bar() view helper share the code from the patch and status plugins, can be used also by others [Ladislav Slezak] moved the inline progress bar style to the CSS file [Stefan Schubert] take Graphs REST interface in order to evaluate limits --> 50% faster [Stefan Schubert] Merge branch 'master' of git@gitorious.org:opensuse/yast-web-client [Ladislav Slezak] Merge branch 'master' into backgroud_patches_bnc550934 Conflicts: plugins/status/app/controllers/status_controller.rb [Ladislav Slezak] updated .changes [Ladislav Slezak] fixed error message placement (bnc#557769) and "required" string is translatable now [Stefan Schubert] showing limits in the menue bar [Stefan Schubert] Merge branch 'master' of git@gitorious.org:opensuse/yast-web-client [Stefan Schubert] model for graphic description [Stefan Schubert] make it slowlier [Stefan Schubert] The background machanism should be moved for @client_graphs cause status will become obsolete. [Josef Reidinger] fix caching connection in models which leads to using invalid user, password or site [Josef Reidinger] fix passing parameter to connection call, move testing valid connection attributes to separate function [Josef Reidinger] add documentation, remove interface getter as it should not be provided. Clean test cases. [Josef Reidinger] implement policy as default permission prefix if defined [Martin Vidner] Started conversion of network module to YastModel. Not working yet, the test tries to access /interfaces.xml instead of /network/interfaces.xml [Josef Reidinger] fix problem with prefix set always to '/' reason is that `find :all` call prefix before site so, prefix is set in prefix site call, which overwrite twice prefix method, and second overwrite is bad one (for details look at ActiveResource::Base #prefix and #prefix= . [Martin Vidner] Methods renamed: the correct word is 'authentication'. not authentiFIcation (via greek-latin-czech, BTW) [Martin Vidner] Tests pass again :) attributes of an ActiveResource must be present in the XML as tags, even if empty (-> nil), otherwise 'unknown method' is raised [Josef Reidinger] migrate basesystem to using yast model, so helper library is not needed adapt tests and also add to remaining tests reset of httpmock [Josef Reidinger] fix bad parameter [Stefan Schubert] further devel. of new layout [Stefan Schubert] cummulating values correctly; bugfixes [Stefan Schubert] some changes due Josef suggestions. Enabling time frame setting [Martin Vidner] More fixes in tests. Of course the tests succeeded when the test methods were marked "skip" 8-/ Enabled test_with_dhcp - assert_redirected_to complained that not specifying the controller is deprecated -> fixed test_dhcp_without_change tries to save the default route - Removed Exception rescue in update action, to handle it at the app level; also necessary so that HttpMock exceptions reporting unexpected requests make it fail [Martin Vidner] Fixed and tested non-saving of non-modified settings. It wrongly thought unmodified non-empty dns settings as dirty. The test was not properly passing unmodified settings. [Josef Reidinger] Merge branch 'master' of gitorious.org:opensuse/yast-web-client into jr-yastmodel [Stefan Schubert] handle nil correctly [Stefan Schubert] Merge branch 'master' of git@gitorious.org:opensuse/yast-web-client [Stefan Schubert] regarding nil values; removing global variable (not needed) [Stefan Schubert] typo [Stefan Schubert] do not check for constants; They could not be defined here [Stefan Schubert] added waiting clock [Josef Reidinger] add forgetted basesystem fixtures ------------------------------------------ [...truncated 65 lines...] (in /src/web-client/plugins/users) * Starting syntax check... * Done (in /src/web-client/plugins/network) * Starting syntax check... * Done (in /src/web-client/plugins/samba_server) * Starting syntax check... * Done (in /src/web-client/plugins/patch_updates) * Starting syntax check... * Done (in /src/web-client/plugins/system) * Starting syntax check... * Done (in /src/web-client/plugins/administrator) * Starting syntax check... * Done (in /src/web-client/plugins/registration) * Starting syntax check... * Done (in /src/web-client/plugins/mail_settings) * Starting syntax check... * Done (in /src/web-client/plugins/systemtime) * Starting syntax check... * Done (in /src/web-client/plugins/language) * Starting syntax check... * Done (in /src/web-client/plugins/services) * Starting syntax check... * Done (in /src/web-client/plugins/eulas) * Starting syntax check... * Done (in /src/web-client/plugins/permissions) * Starting syntax check... * Done (in /src/web-client/plugins/status) * 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 webclient /src/web-client/webclient /src/web-client + RAILS_ENV=test + rake db:create db:migrate (in /src/web-client/webclient) == CreateAccounts: migrating ================================================= -- create_table("accounts", {:force=>true}) -> 0.0051s == CreateAccounts: migrated (0.0053s) ======================================== == UpdateAccounts: migrating ================================================= -- remove_column(:accounts, :email) -> 0.1501s -- remove_column(:accounts, :crypted_password) -> 0.0159s -- remove_column(:accounts, :salt) -> 0.0145s == UpdateAccounts: migrated (0.1809s) ======================================== == AddColumntAccounts: migrating ============================================= -- add_column(:accounts, :salt, :string) -> 0.0018s == AddColumntAccounts: migrated (0.0020s) ==================================== == CreateHosts: migrating ==================================================== -- create_table(:hosts) -> 0.0039s == CreateHosts: migrated (0.0042s) =========================================== == InsertLocalhost: migrating ================================================ == InsertLocalhost: migrated (0.2999s) ======================================= == PrivatePortNumbers: migrating ============================================= == PrivatePortNumbers: migrated (0.0046s) ==================================== + 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 .......EFEEEEEE..... Finished in 0.55072 seconds. 1) Error: test_permissions(YaSTServiceResourceBaseTest): NoMethodError: undefined method `permissions' for nil:NilClass activesupport (2.3.5) lib/active_support/whiny_nil.rb:52:in `method_missing' /test/unit/yast/service_resource_test.rb:188:in `test_permissions' 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' 2) Failure: test_proxy_uses_prefix(YaSTServiceResourceBaseTest) [/test/unit/yast/service_resource_test.rb:146:in `test_proxy_uses_prefix' 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']: <ActiveResource::InvalidRequestError> exception expected but was Class: <NoMethodError> Message: <"You have a nil object when you didn't expect it!\nYou might have expected an instance of Array.\nThe error occurred while evaluating nil.find"> ---Backtrace--- ./test/unit/yast/service_resource_test.rb:147:in `test_proxy_uses_prefix' ./test/unit/yast/service_resource_test.rb:146:in `test_proxy_uses_prefix' /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/testing/setup_and_teardown.rb:62:in `__send__' /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/testing/setup_and_teardown.rb:62:in `run' --------------- 3) Error: test_proxy_works(YaSTServiceResourceBaseTest): NoMethodError: undefined method `name' for nil:NilClass activesupport (2.3.5) lib/active_support/whiny_nil.rb:52:in `method_missing' /test/unit/yast/service_resource_test.rb:82:in `test_proxy_works' 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' 4) Error: test_proxy_works_with_array_attrs(YaSTServiceResourceBaseTest): NoMethodError: undefined method `singular?' for nil:NilClass activesupport (2.3.5) lib/active_support/whiny_nil.rb:52:in `method_missing' /test/unit/yast/service_resource_test.rb:217:in `test_proxy_works_with_array_attrs' 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' 5) Error: test_proxy_works_with_prefix(YaSTServiceResourceBaseTest): NoMethodError: You have a nil object when you didn't expect it! You might have expected an instance of Array. The error occurred while evaluating nil.find /test/unit/yast/service_resource_test.rb:161:in `test_proxy_works_with_prefix' 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' 6) Error: test_proxy_works_with_singleton(YaSTServiceResourceBaseTest): NoMethodError: undefined method `singular?' for nil:NilClass activesupport (2.3.5) lib/active_support/whiny_nil.rb:52:in `method_missing' /test/unit/yast/service_resource_test.rb:101:in `test_proxy_works_with_singleton' 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' 7) Error: test_proxy_works_with_singleton_and_prefix(YaSTServiceResourceBaseTest): NoMethodError: undefined method `singular?' for nil:NilClass activesupport (2.3.5) lib/active_support/whiny_nil.rb:52:in `method_missing' /test/unit/yast/service_resource_test.rb:121:in `test_proxy_works_with_singleton_and_prefix' 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' 8) Error: test_proxy_works_with_status_page(YaSTServiceResourceBaseTest): NoMethodError: undefined method `singular?' for nil:NilClass activesupport (2.3.5) lib/active_support/whiny_nil.rb:52:in `method_missing' /test/unit/yast/service_resource_test.rb:256:in `test_proxy_works_with_status_page' 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' 20 tests, 41 assertions, 1 failures, 7 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) ...Host(): nil .Host(1): #<Host id: 1, name: "Sample Host", url: "http://www.google.com:4711", description: "Just a sample, not for real use", created_at: "2010-01-11 17:41:20", updated_at: "2010-01-11 17:41:20"> .Host(1): #<Host id: 1, name: "Sample Host", url: "http://www.google.com:4711", description: "Just a sample, not for real use", created_at: "2010-01-11 17:41:20", updated_at: "2010-01-11 17:41:20"> .Host(1): #<Host id: 1, name: "Sample Host", url: "http://www.google.com:4711", description: "Just a sample, not for real use", created_at: "2010-01-11 17:41:20", updated_at: "2010-01-11 17:41:20"> .Host(1): #<Host id: 1, name: "Sample Host", url: "http://www.google.com:4711", description: "Just a sample, not for real use", created_at: "2010-01-11 17:41:20", updated_at: "2010-01-11 17:41:20"> .........Host(): nil .Host(): nil . Finished in 1.640731 seconds. 35 tests, 66 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 Errors running test:units! rake aborted! Error on execute task test on webclient /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 umount: /data/hudson/HUDSON-CHROOT/webyast-11.1-i586/dev/pts: not mounted Can't unmount devpts /data/hudson/HUDSON-CHROOT/webyast-11.1-i586/dev/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 Martin Vidner because no e-mail address is known, and no default e-mail domain is configured Failed to send e-mail to Martin Schmidkunz 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 -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org