Revision r22904 (build 53 started on 2024-07-03T09:42:09Z)
originally caused by: Started by an SCM change Building in workspace /var/lib/jenkins/workspace/5.1-stable/DATABASE_ADAPTER/postgresql/RUBY_VER/ruby-3.2 Updating http://svn.redmine.org/redmine/branches/5.1-stable at revision '2024-07-03T02:42:09.658 -0700' U app/views/issues/destroy.html.erb U app/views/timelog/bulk_edit.html.erb U test/functional/issues_controller_test.rb U test/functional/timelog_controller_test.rb U . At revision 22904 [ruby-3.2] $ /bin/sh -xe /tmp/jenkins2131142201691623694.sh + rm -f config/database.yml + echo ActiveRecord::Tasks::DatabaseTasks::LOCAL_HOSTS << "192.168.1.70" [ruby-3.2] $ /bin/sh -xe /tmp/jenkins1341982858854770371.sh + PATH=/var/lib/jenkins/ruby/ruby-3.2/bin:/var/lib/jenkins/.rbenv/shims:/var/lib/jenkins/.rbenv/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games rake -f lib/tasks/ci.rake config/database.yml BRANCH=5.1-stable CI_PG_HOST=192.168.1.70 CI_MYSQL_HOST=192.168.1.70 [ruby-3.2] $ /bin/sh -xe /tmp/jenkins2872428951626676160.sh + PATH=/var/lib/jenkins/ruby/ruby-3.2/bin:/var/lib/jenkins/.rbenv/shims:/var/lib/jenkins/.rbenv/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games bundle update Fetching gem metadata from https://rubygems.org/......... Resolving dependencies... Using minitest 5.24.1 (was 5.24.0) Bundle updated! [ruby-3.2] $ /bin/sh -xe /tmp/jenkins7302901615957810305.sh + PATH=/var/lib/jenkins/ruby/ruby-3.2/bin:/var/lib/jenkins/.rbenv/shims:/var/lib/jenkins/.rbenv/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games SCMS=subversion,git,mercurial,filesystem,bazaar,cvs bundle exec rake ci:about ci:setup db:environment:set RAILS_ENV=test Database 'ci_51stable_ruby32_dev' already exists Database 'ci_51stable_ruby32_test' already exists Ruby version: 3.2.2-p53 (2023-03-30) [i686-linux] [ruby-3.2] $ /bin/sh -xe /tmp/jenkins4400728638903968809.sh + PATH=/var/lib/jenkins/ruby/ruby-3.2/bin:/var/lib/jenkins/.rbenv/shims:/var/lib/jenkins/.rbenv/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games bundle exec rake test PG::Coder.new(hash) is deprecated. Please use keyword arguments instead! Called from /var/lib/jenkins/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/activerecord-6.1.7.8/lib/active_record/connection_adapters/postgresql_adapter.rb:883:in `new' PG::Coder.new(hash) is deprecated. Please use keyword arguments instead! Called from /var/lib/jenkins/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/activerecord-6.1.7.8/lib/active_record/connection_adapters/postgresql_adapter.rb:883:in `new' (Test LDAP server not configured) Bazaar non ASCII output test cannot run on this environment. Encoding.locale_charmap: UTF-8 Git UTF-8 test repository NOT FOUND. Skipping unit tests !!! Skipping LDAP tests. Run options: --seed 56911 # Running: .....................................................................................................................................................................................svn: E155036: Please see the 'svn upgrade' command svn: E155036: The working copy at '/var/lib/jenkins/workspace/5.1-stable/DATABASE_ADAPTER/postgresql/RUBY_VER/ruby-3.2' is too old (format 8) to work with client version '1.9.3 (r1718519)' (expects format 31). You need to upgrade the working copy first. ..................................................................................DEPRECATION WARNING: Getting all users from API using an empty status param (status=) is deprecated and it will be removed in Redmine 6.0. Please use "status=*". (called from sudo_mode at /var/lib/jenkins/workspace/5.1-stable/DATABASE_ADAPTER/postgresql/RUBY_VER/ruby-3.2/lib/redmine/sudo_mode.rb:61) ....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................F Failure: IssueNestedSetTest#test_destroy_issue_with_grand_child [test/unit/issue_nested_set_test.rb:320]: "Journal.count" didn't change by -2. Expected: 9 Actual: 8 rails test test/unit/issue_nested_set_test.rb:312 ..............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................F Failure: WatchersControllerTest#test_new_with_multiple_objects_from_different_projects [test/functional/watchers_controller_test.rb:208]: Expected /\/watchers\/autocomplete_for_user\?object_id%5B%5D=7&object_id%5B%5D=9&object_type=issue/ to match "$('#ajax-modal').html(\n '<h3 class=\\\"title\\\">Add watchers<\\/h3>\\n\\n<form id=\\\"new-watcher-form\\\" action=\\\"/watchers\\\" accept-charset=\\\"UTF-8\\\" data-remote=\\\"true\\\" name=\\\"new-watcher-form-d956195e\\\" method=\\\"post\\\"><input name=\\\"utf8\\\" type=\\\"hidden\\\" value=\\\"✓\\\" autocomplete=\\\"off\\\" />\\n\\n <input type=\\\"hidden\\\" name=\\\"object_type\\\" id=\\\"object_type\\\" value=\\\"issue\\\" autocomplete=\\\"off\\\" />\\n <input type=\\\"hidden\\\" name=\\\"object_id[]\\\" id=\\\"object_id_\\\" value=\\\"9\\\" autocomplete=\\\"off\\\" />\\n <input type=\\\"hidden\\\" name=\\\"object_id[]\\\" id=\\\"object_id_\\\" value=\\\"7\\\" autocomplete=\\\"off\\\" />\\n \\n\\n <p><label for=\\\"user_search\\\">Search for user:<\\/label><input type=\\\"text\\\" name=\\\"user_search\\\" id=\\\"user_search\\\" /><\\/p>\\n <script>\\n//<![CDATA[\\nobserveSearchfield(\\n \\'user_search\\',\\n \\'users_for_watcher\\',\\n \\'/watchers/autocomplete_for_user?object_id%5B%5D=9&object_id%5B%5D=7&object_type=issue\\'\\n )\\n//]]>\\n<\\/script>\\n <div id=\\\"users_for_watcher\\\">\\n <label><input type=\\\"checkbox\\\" name=\\\"watcher[user_ids][]\\\" value=\\\"3\\\" /><span class=\\\"name icon icon-user\\\"><\\/span>Dave Lopper<\\/label><label><input type=\\\"checkbox\\\" name=\\\"watcher[user_ids][]\\\" value=\\\"2\\\" /><span class=\\\"name icon icon-user\\\"><\\/span>John Smith<\\/label><label><input type=\\\"checkbox\\\" name=\\\"watcher[user_ids][]\\\" value=\\\"1\\\" /><span class=\\\"name icon icon-user\\\"><\\/span>Redmine Admin<\\/label><label><input type=\\\"checkbox\\\" name=\\\"watcher[user_ids][]\\\" value=\\\"8\\\" /><span class=\\\"name icon icon-user\\\"><\\/span>User Misc<\\/label><label><input type=\\\"checkbox\\\" name=\\\"watcher[user_ids][]\\\" value=\\\"10\\\" /><span class=\\\"name icon icon-group\\\"><\\/span>A Team<\\/label>\\n <\\/div>\\n\\n <p class=\\\"buttons\\\">\\n <input type=\\\"submit\\\" value=\\\"Add\\\" onclick=\\\"hideModal(this);\\\" data-disable-with=\\\"Add\\\" />\\n <a href=\\\"#\\\" onclick=\\\"hideModal(this);; return false;\\\">Cancel<\\/a>\\n <\\/p>\\n<\\/form>');\nshowModal('ajax-modal', '400px');\n$('#ajax-modal').addClass('new-watcher');\n". rails test test/functional/watchers_controller_test.rb:200 ...........................................................................................................DEPRECATION WARNING: Rendering actions with '.' in the name is deprecated: layouts/base.html.erb (called from block in find_all at /var/lib/jenkins/workspace/5.1-stable/DATABASE_ADAPTER/postgresql/RUBY_VER/ruby-3.2/config/initializers/10-patches.rb:60) ................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................PG::Coder.new(hash) is deprecated. Please use keyword arguments instead! Called from /var/lib/jenkins/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/activerecord-6.1.7.8/lib/active_record/connection_adapters/postgresql_adapter.rb:883:in `new' PG::Coder.new(hash) is deprecated. Please use keyword arguments instead! Called from /var/lib/jenkins/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/activerecord-6.1.7.8/lib/active_record/connection_adapters/postgresql_adapter.rb:883:in `new' PG::Coder.new(hash) is deprecated. Please use keyword arguments instead! Called from /var/lib/jenkins/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/activerecord-6.1.7.8/lib/active_record/connection_adapters/postgresql_adapter.rb:883:in `new' ..............................................................................................................................................................................................................................................................................................................................................................................................................................PG::Coder.new(hash) is deprecated. Please use keyword arguments instead! Called from /var/lib/jenkins/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/activerecord-6.1.7.8/lib/active_record/connection_adapters/postgresql_adapter.rb:883:in `new' ......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................PG::Coder.new(hash) is deprecated. Please use keyword arguments instead! Called from /var/lib/jenkins/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/activerecord-6.1.7.8/lib/active_record/connection_adapters/postgresql_adapter.rb:883:in `new' .......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................DEPRECATION WARNING: Rendering actions with '.' in the name is deprecated: layouts/base.html.erb (called from block in find_all at /var/lib/jenkins/workspace/5.1-stable/DATABASE_ADAPTER/postgresql/RUBY_VER/ruby-3.2/config/initializers/10-patches.rb:60) .......................................................................................................................S........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................ Finished in 827.308170s, 6.7508 runs/s, 30.9159 assertions/s. 5585 runs, 25577 assertions, 2 failures, 0 errors, 1 skips You have skipped tests. Run with --verbose for details. Build step 'Execute shell' marked build as failure Finished: FAILURE