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.2
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.2] $ /bin/sh -xe /tmp/jenkins6350263042076129349.sh
+ rm -f config/database.yml
+ echo ActiveRecord::Tasks::DatabaseTasks::LOCAL_HOSTS << "192.168.1.70"
[ruby-3.2] $ /bin/sh -xe /tmp/jenkins5991109482603002998.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/jenkins1318485154111345129.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...
WARN: Unresolved or ambiguous specs during Gem::Specification.reset:
      stringio (>= 0)
      Available/installed versions of this gem:
      - 3.1.5
      - 3.1.3
      - 3.1.2
      - 3.1.1
      - 3.1.0
      - 3.0.9
      - 3.0.4
WARN: Clearing out unresolved specs. Try 'gem cleanup <gem>'
Please report a bug if this causes problems.
Fetching rack 2.2.13 (was 2.2.12)
Using css_parser 1.21.1 (was 1.21.0)
Installing rack 2.2.13 (was 2.2.12)
Bundle updated!
2 installed gems you directly depend on are looking for funding.
  Run `bundle fund` for details
[ruby-3.2] $ /bin/sh -xe /tmp/jenkins4590377953059863007.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/jenkins6041266700252698520.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.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.2.2/lib/ruby/gems/3.2.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 19083

# Running:

.....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)
.......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................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: 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.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.2.2/lib/ruby/gems/3.2.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.2.2/lib/ruby/gems/3.2.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.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.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.2.2/lib/ruby/gems/3.2.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.2.2/lib/ruby/gems/3.2.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.2.2/lib/ruby/gems/3.2.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.2.2/lib/ruby/gems/3.2.0/gems/activerecord-6.1.7.10/lib/active_record/connection_adapters/postgresql_adapter.rb:883:in `new'
........................................................................................................................................................................................................................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................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................

Finished in 1075.133037s, 5.2170 runs/s, 23.8584 assertions/s.
5609 runs, 25651 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