trunk build 1505

Revision r23725 (build 1505 started on 2025-04-30T22:31:08Z)


originally caused by:
 Started by an SCM change
Building in workspace /var/lib/jenkins/workspace/trunk/DATABASE_ADAPTER/postgresql/RUBY_VER/ruby-3.2
Updating http://svn.redmine.org/redmine/trunk at revision '2025-04-30T15:31:08.697 -0700'
U         test/unit/lib/redmine/wiki_formatting/common_mark/sanitization_filter_test.rb
At revision 23725

[ruby-3.2] $ /bin/sh -xe /tmp/jenkins7427964422096107454.sh
+ rm -f config/database.yml
+ echo ActiveRecord::Tasks::DatabaseTasks::LOCAL_HOSTS << "192.168.1.70"
[ruby-3.2] $ /bin/sh -xe /tmp/jenkins1727292206416936293.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=trunk CI_PG_HOST=192.168.1.70 CI_MYSQL_HOST=192.168.1.70
[ruby-3.2] $ /bin/sh -xe /tmp/jenkins2136626531428412931.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.7
      - 3.1.6
      - 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.
Installing public_suffix 6.0.2 (was 6.0.1)
Bundle updated!
3 installed gems you directly depend on are looking for funding.
  Run `bundle fund` for details
[ruby-3.2] $ /bin/sh -xe /tmp/jenkins2244191880349666131.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_trunk_ruby32_dev' already exists
Database 'ci_trunk_ruby32_test' already exists
Ruby version: 3.2.2-p53 (2023-03-30) [i686-linux]
[ruby-3.2] $ /bin/sh -xe /tmp/jenkins553109058408009405.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
Tests related to plugin autoloading should be run separately using "rails test:autoload"
(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 10647

# Running:

..........................................................................................................................................................svn: E155036: Please see the 'svn upgrade' command
svn: E155036: The working copy at '/var/lib/jenkins/workspace/trunk/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: to_time will always preserve the timezone offset of the receiver in Rails 8.0. To opt in to the new behavior, set `ActiveSupport.to_time_preserves_timezone = true`. (called from time_tag at /var/lib/jenkins/workspace/trunk/DATABASE_ADAPTER/postgresql/RUBY_VER/ruby-3.2/app/helpers/application_helper.rb:752)
..........................................................................................................................................................................................................................................................................................................................................................SSSSSSSSSSSSSSSSSSSSSSSSSSSSS........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS.........SSSSSSSSSSSSSSSSSSSSSSSS...........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................S......S.....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................DEPRECATION WARNING: ApplicationHelper#render_if_exist is deprecated and will be removed in Redmine 7.0. (called from test_render_if_exist_should_be_render_partial at /var/lib/jenkins/workspace/trunk/DATABASE_ADAPTER/postgresql/RUBY_VER/ruby-3.2/test/helpers/application_helper_test.rb:2275)
..DEPRECATION WARNING: ApplicationHelper#render_if_exist is deprecated and will be removed in Redmine 7.0. (called from test_render_if_exist_should_be_render_nil at /var/lib/jenkins/workspace/trunk/DATABASE_ADAPTER/postgresql/RUBY_VER/ruby-3.2/test/helpers/application_helper_test.rb:2286)
.....................................................S....................................................................................................................................................................................................................................................................................................................................................................SSSSSSSSSSSSSSSSSSSSSSSSSSSS...........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................convert: not authorized `/var/lib/jenkins/workspace/trunk/DATABASE_ADAPTER/postgresql/RUBY_VER/ruby-3.2/test/fixtures/files/2019/05/190511141819_ecookbook-gantt.pdf' @ error/constitute.c/ReadImage/412.
convert: no images defined `png:/var/lib/jenkins/workspace/trunk/DATABASE_ADAPTER/postgresql/RUBY_VER/ruby-3.2/tmp/thumbnails/da9c52e79d9eee7d47b9ee5db477985c542ea683e9f23ed32db55e35ef99c479_31620_100.thumb' @ error/convert.c/ConvertImageCommand/3210.
F

Failure:
AttachmentsControllerTest#test_thumbnail_for_pdf_should_be_png [test/functional/attachments_controller_test.rb:457]:
Expected response to be a <2XX: success>, but was a <404: Not Found>
Response body: 

bin/rails test test/functional/attachments_controller_test.rb:446

.....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................convert: not authorized `/var/lib/jenkins/workspace/trunk/DATABASE_ADAPTER/postgresql/RUBY_VER/ruby-3.2/test/fixtures/files/2019/05/190511141819_ecookbook-gantt.pdf' @ error/constitute.c/ReadImage/412.
convert: no images defined `png:/var/lib/jenkins/workspace/trunk/DATABASE_ADAPTER/postgresql/RUBY_VER/ruby-3.2/tmp/thumbnails/da9c52e79d9eee7d47b9ee5db477985c542ea683e9f23ed32db55e35ef99c479_31620_100.thumb' @ error/convert.c/ConvertImageCommand/3210.
E

Error:
AttachmentTest#test_thumbnail_should_generate_the_thumbnail:
TypeError: no implicit conversion of nil into String
    test/unit/attachment_test.rb:549:in `basename'
    test/unit/attachment_test.rb:549:in `block (2 levels) in test_thumbnail_should_generate_the_thumbnail'
    test/unit/attachment_test.rb:546:in `each'
    test/unit/attachment_test.rb:546:in `block in test_thumbnail_should_generate_the_thumbnail'
    test/unit/attachment_test.rb:545:in `test_thumbnail_should_generate_the_thumbnail'

bin/rails test test/unit/attachment_test.rb:532

........................................................................................

Finished in 1656.837319s, 3.4318 runs/s, 15.6594 assertions/s.
5686 runs, 25945 assertions, 1 failures, 1 errors, 149 skips

You have skipped tests. Run with --verbose for details.
Build step 'Execute shell' marked build as failure
Finished: FAILURE