6.0-stable build 107

Revision r23751 (build 107 started on 2025-05-07T23:45:07Z)


originally caused by:
 Started by an SCM change
Building in workspace /var/lib/jenkins/workspace/6.0-stable/DATABASE_ADAPTER/mysql/RUBY_VER/ruby-3.3
Updating http://svn.redmine.org/redmine/branches/6.0-stable at revision '2025-05-07T16:45:07.711 -0700'
U         Gemfile
 U        .
At revision 23751

[ruby-3.3] $ /bin/sh -xe /tmp/jenkins6605176145766731715.sh
+ rm -f config/database.yml
+ echo ActiveRecord::Tasks::DatabaseTasks::LOCAL_HOSTS << "192.168.1.70"
[ruby-3.3] $ /bin/sh -xe /tmp/jenkins5739151528129475041.sh
+ PATH=/var/lib/jenkins/ruby/ruby-3.3/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=6.0-stable CI_PG_HOST=192.168.1.70 CI_MYSQL_HOST=192.168.1.70
[ruby-3.3] $ /bin/sh -xe /tmp/jenkins4279391494179174738.sh
+ PATH=/var/lib/jenkins/ruby/ruby-3.3/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 3.1.14 (was 3.1.13)
Using rack-session 2.1.1 (was 2.1.0)
Using rbpdf 1.21.4 (was 1.21.3)
Fetching net-imap 0.4.22 (was 0.4.21)
Installing net-imap 0.4.22 (was 0.4.21)
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
WARN: Clearing out unresolved specs. Try 'gem cleanup <gem>'
Please report a bug if this causes problems.
Bundle updated!
2 installed gems you directly depend on are looking for funding.
  Run `bundle fund` for details
[ruby-3.3] $ /bin/sh -xe /tmp/jenkins2544873242329117451.sh
+ PATH=/var/lib/jenkins/ruby/ruby-3.3/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_60stable_ruby33_dev' already exists
Database 'ci_60stable_ruby33_test' already exists
Ruby version: 3.3.6-p108 (2024-11-05) [i686-linux]
[ruby-3.3] $ /bin/sh -xe /tmp/jenkins7399593821101879185.sh
+ PATH=/var/lib/jenkins/ruby/ruby-3.3/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 16682

# Running:

............................................................................................................................................................................................................................................................................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 block in _app_views_repositories__dir_list_content_html_erb__904036022_85990 at /var/lib/jenkins/workspace/6.0-stable/DATABASE_ADAPTER/mysql/RUBY_VER/ruby-3.3/app/views/repositories/_dir_list_content.html.erb:26)
....................................................................................svn: E155036: Please see the 'svn upgrade' command
svn: E155036: The working copy at '/var/lib/jenkins/workspace/6.0-stable/DATABASE_ADAPTER/mysql/RUBY_VER/ruby-3.3'
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: 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/6.0-stable/DATABASE_ADAPTER/mysql/RUBY_VER/ruby-3.3/test/helpers/application_helper_test.rb:2274)
......................................................................................................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/6.0-stable/DATABASE_ADAPTER/mysql/RUBY_VER/ruby-3.3/test/helpers/application_helper_test.rb:2285)
.....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................S...................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................SSSSSSSSSSSSSSSSSSSSSSSSSSSSS..................................................................................................................................................................................................................................................................................................................................................................................................SSSSSSSSSSSSSSSSSSSSSSSS........................................................................................SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS................S...........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................S.....................................................................................................................................................................................................................................................................................................................................................................................................................................................................SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS...............................................................................................................................................................................................................................................................................................................F

Failure:
MyControllerTest#test_page_with_activity [test/functional/my_controller_test.rb:238]:
Expected at least 1 element matching "a[href=\"/activity?from=2025-05-08&user_id=2\"]", found 0.
Expected 0 to be >= 1.

bin/rails test test/functional/my_controller_test.rb:227

.........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................convert: not authorized `/var/lib/jenkins/workspace/6.0-stable/DATABASE_ADAPTER/mysql/RUBY_VER/ruby-3.3/test/fixtures/files/2019/05/190511141819_ecookbook-gantt.pdf' @ error/constitute.c/ReadImage/412.
convert: no images defined `png:/var/lib/jenkins/workspace/6.0-stable/DATABASE_ADAPTER/mysql/RUBY_VER/ruby-3.3/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

.....................................................................................................................................................................................................................................................................................................................................................SSSSSSSSSS..........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................convert: not authorized `/var/lib/jenkins/workspace/6.0-stable/DATABASE_ADAPTER/mysql/RUBY_VER/ruby-3.3/test/fixtures/files/2019/05/190511141819_ecookbook-gantt.pdf' @ error/constitute.c/ReadImage/412.
convert: no images defined `png:/var/lib/jenkins/workspace/6.0-stable/DATABASE_ADAPTER/mysql/RUBY_VER/ruby-3.3/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 1279.745145s, 4.4196 runs/s, 20.1571 assertions/s.
5656 runs, 25796 assertions, 2 failures, 1 errors, 149 skips

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