5.1-stable build 96

Revision r23535 (build 96 started on 2025-03-10T22:21:08Z)


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.1
Updating http://svn.redmine.org/redmine/branches/5.1-stable at revision '2025-03-10T15:21:08.570 -0700'
U         app/controllers/admin_controller.rb
U         app/controllers/queries_controller.rb
U         app/helpers/queries_helper.rb
A         app/models/project_admin_query.rb
U         app/models/project_query.rb
U         app/models/query.rb
U         app/models/user_query.rb
U         app/views/admin/projects.html.erb
U         app/views/queries/_form.html.erb
U         app/views/queries/_query_form.html.erb
U         test/functional/queries_controller_test.rb
A         test/unit/project_admin_query_test.rb
U         test/unit/project_query_test.rb
U         test/unit/user_query_test.rb
 U        .
At revision 23535

[ruby-3.1] $ /bin/sh -xe /tmp/jenkins3147803895098569675.sh
+ rm -f config/database.yml
+ echo ActiveRecord::Tasks::DatabaseTasks::LOCAL_HOSTS << "192.168.1.70"
[ruby-3.1] $ /bin/sh -xe /tmp/jenkins5370705381380935728.sh
+ PATH=/var/lib/jenkins/ruby/ruby-3.1/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.1] $ /bin/sh -xe /tmp/jenkins1819655351584525883.sh
+ PATH=/var/lib/jenkins/ruby/ruby-3.1/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 rack 2.2.13 (was 2.2.11)
Using logger 1.6.6 (was 1.6.5)
Using redcarpet 3.6.1 (was 3.6.0)
Using rexml 3.4.1 (was 3.4.0)
Using nokogiri 1.18.3 (was 1.15.7)
Using css_parser 1.21.1 (was 1.21.0)
Using rubocop-ast 1.38.1 (was 1.38.0)
Using selenium-webdriver 4.29.1 (was 4.28.0)
Bundle updated!
2 installed gems you directly depend on are looking for funding.
  Run `bundle fund` for details
[ruby-3.1] $ /bin/sh -xe /tmp/jenkins8783826874838516312.sh
+ PATH=/var/lib/jenkins/ruby/ruby-3.1/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_ruby31_dev' already exists
Database 'ci_51stable_ruby31_test' already exists
Ruby version: 3.1.6-p260 (2024-05-29) [i686-linux]
[ruby-3.1] $ /bin/sh -xe /tmp/jenkins8368355762428010079.sh
+ PATH=/var/lib/jenkins/ruby/ruby-3.1/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.1.6/lib/ruby/gems/3.1.0/gems/activerecord-6.1.7.10/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.1.6/lib/ruby/gems/3.1.0/gems/activerecord-6.1.7.10/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 60512

# 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.1'
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.

.......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................PG::Coder.new(hash) is deprecated. Please use keyword arguments instead! Called from /var/lib/jenkins/.rbenv/versions/3.1.6/lib/ruby/gems/3.1.0/gems/activerecord-6.1.7.10/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.1.6/lib/ruby/gems/3.1.0/gems/activerecord-6.1.7.10/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.1.6/lib/ruby/gems/3.1.0/gems/activerecord-6.1.7.10/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.1.6/lib/ruby/gems/3.1.0/gems/activerecord-6.1.7.10/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.1/config/initializers/10-patches.rb:60)
...............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................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.1/lib/redmine/sudo_mode.rb:61)
...........................................................................................................................................................................F

Failure:
ProjectAdminQueryTest#test_results_scope_has_last_activity_date [test/unit/project_admin_query_test.rb:120]:
Expected nil to not be nil.

rails test test/unit/project_admin_query_test.rb:112

.F

Failure:
ProjectAdminQueryTest#test_results_scope_with_offset_and_limit [test/unit/project_admin_query_test.rb:134]:
Expected: [1, 5]
  Actual: [1, 5, 6, 3, 4, 2]

rails test test/unit/project_admin_query_test.rb:124

......S................................................................................................................................................................................................................................................................................................................................................................................................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.1/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.1.6/lib/ruby/gems/3.1.0/gems/activerecord-6.1.7.10/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.1.6/lib/ruby/gems/3.1.0/gems/activerecord-6.1.7.10/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.1.6/lib/ruby/gems/3.1.0/gems/activerecord-6.1.7.10/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.1.6/lib/ruby/gems/3.1.0/gems/activerecord-6.1.7.10/lib/active_record/connection_adapters/postgresql_adapter.rb:883:in `new'
.......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................

Finished in 1086.881473s, 5.1606 runs/s, 23.6061 assertions/s.
5609 runs, 25657 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