trunk build 1842

Revision r24361 (build 1842 started on 2026-01-23T16:43:48Z)


originally caused by:
 Started by an SCM change
 Started by an SCM change
 Started by an SCM change
Building in workspace /var/lib/jenkins/workspace/trunk/DATABASE_ADAPTER/mysql/RUBY_VER/ruby-3.3
Updating http://svn.redmine.org/redmine/trunk at revision '2026-01-23T08:43:48.302 -0800'
U         app/assets/javascripts/application-legacy.js
U         app/helpers/application_helper.rb
A         app/javascript/controllers/clipboard_controller.js
U         app/views/journals/update.js.erb
U         lib/redmine/wiki_formatting/common_mark/formatter.rb
U         lib/redmine/wiki_formatting/common_mark/syntax_highlight_scrubber.rb
A         lib/redmine/wiki_formatting/copypre_scrubber.rb
A         lib/redmine/wiki_formatting/syntax_highlight.rb
U         lib/redmine/wiki_formatting/textile/formatter.rb
A         lib/redmine/wiki_formatting/textile/syntax_highlight_scrubber.rb
U         test/helpers/application_helper_test.rb
U         test/unit/lib/redmine/wiki_formatting/macros_test.rb
U         test/unit/lib/redmine/wiki_formatting/textile_formatter_test.rb
At revision 24361

[ruby-3.3] $ /bin/sh -xe /tmp/jenkins7255558485933050988.sh
+ rm -f config/database.yml
+ echo ActiveRecord::Tasks::DatabaseTasks::LOCAL_HOSTS << "192.168.1.70"
[ruby-3.3] $ /bin/sh -xe /tmp/jenkins4652472152258705991.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=trunk CI_PG_HOST=192.168.1.70 CI_MYSQL_HOST=192.168.1.70
[ruby-3.3] $ /bin/sh -xe /tmp/jenkins6311131892428689529.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...
Fetching commonmarker 2.6.3 (was 2.6.2)
Installing commonmarker 2.6.3 (was 2.6.2) with native extensions
WARN: Unresolved or ambiguous specs during Gem::Specification.reset:
      stringio (>= 0)
      Available/installed versions of this gem:
      - 3.2.0
      - 3.1.9
      - 3.1.8
      - 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!
5 installed gems you directly depend on are looking for funding.
  Run `bundle fund` for details
[ruby-3.3] $ /bin/sh -xe /tmp/jenkins3430051859575463042.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
DEPRECATION WARNING: `config.active_support.to_time_preserves_timezone` is deprecated and will be removed in Rails 8.2 (called from <top (required)> at /var/lib/jenkins/workspace/trunk/DATABASE_ADAPTER/mysql/RUBY_VER/ruby-3.3/config/environment.rb:16)
Database 'ci_trunk_ruby33_dev' already exists
Database 'ci_trunk_ruby33_test' already exists
Ruby version: 3.3.6-p108 (2024-11-05) [i686-linux]
[ruby-3.3] $ /bin/sh -xe /tmp/jenkins5620329446079700991.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
DEPRECATION WARNING: `config.active_support.to_time_preserves_timezone` is deprecated and will be removed in Rails 8.2 (called from <top (required)> at /var/lib/jenkins/workspace/trunk/DATABASE_ADAPTER/mysql/RUBY_VER/ruby-3.3/config/environment.rb:16)
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 45831

# Running:

..................................................................................................................................................................................................................svn: E155036: Please see the 'svn upgrade' command
svn: E155036: The working copy at '/var/lib/jenkins/workspace/trunk/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.

............................................................................................................................................................................................................................SSSSSSSSSS............................................................................................F

Failure:
Redmine::WikiFormatting::TextileFormatterTest#test_should_not_allow_valid_language_class_attribute_on_non_code_offtags [test/unit/lib/redmine/wiki_formatting/textile_formatter_test.rb:655]:
Formatting the following text failed:
=== <pre class="ruby">test</pre> ===
. --- expected +++ actual @@ -1 +1 @@ -"<div class=\"pre-wrapper\" data-controller=\"clipboard\"><a class=\"copy-pre-content-link icon-only\" data-action=\"clipboard#copyPre\"><svg class=\"s18 icon-svg\" aria-hidden=\"true\"><use href=\"/assets/icons-34cfafab.svg#icon--copy-pre-content\"></use></svg></a><pre data-clipboard-target=\"pre\">test</pre></div>" +"<div class=\"pre-wrapper\" data-controller=\"clipboard\"><a class=\"copy-pre-content-link icon-only\" title=\"Copy\" data-action=\"clipboard#copyPre\"><svg class=\"s18 icon-svg\" aria-hidden=\"true\"><use href=\"/assets/icons-34cfafab.svg#icon--copy-pre-content\"></use></svg></a><pre data-clipboard-target=\"pre\">test</pre></div>" bin/rails test test/unit/lib/redmine/wiki_formatting/textile_formatter_test.rb:654 ..........................F Failure: Redmine::WikiFormatting::TextileFormatterTest#test_should_not_allow_arbitrary_class_attribute_on_offtags [test/unit/lib/redmine/wiki_formatting/textile_formatter_test.rb:616]: Formatting the following text failed:
=== <pre class="foo">test</pre> ===
. --- expected +++ actual @@ -1 +1 @@ -"<div class=\"pre-wrapper\" data-controller=\"clipboard\"><a class=\"copy-pre-content-link icon-only\" data-action=\"clipboard#copyPre\"><svg class=\"s18 icon-svg\" aria-hidden=\"true\"><use href=\"/assets/icons-34cfafab.svg#icon--copy-pre-content\"></use></svg></a><pre data-clipboard-target=\"pre\">test</pre></div>" +"<div class=\"pre-wrapper\" data-controller=\"clipboard\"><a class=\"copy-pre-content-link icon-only\" title=\"Copy\" data-action=\"clipboard#copyPre\"><svg class=\"s18 icon-svg\" aria-hidden=\"true\"><use href=\"/assets/icons-34cfafab.svg#icon--copy-pre-content\"></use></svg></a><pre data-clipboard-target=\"pre\">test</pre></div>" bin/rails test test/unit/lib/redmine/wiki_formatting/textile_formatter_test.rb:607 .......F Failure: Redmine::WikiFormatting::TextileFormatterTest#test_should_remove_html_comments [test/unit/lib/redmine/wiki_formatting/textile_formatter_test.rb:773]: --- expected +++ actual @@ -1 +1 @@ -"<p>Hello world.</p><p>Foo</p><div class=\"pre-wrapper\" data-controller=\"clipboard\"><a class=\"copy-pre-content-link icon-only\" data-action=\"clipboard#copyPre\"><svg class=\"s18 icon-svg\" aria-hidden=\"true\"><use href=\"/assets/icons-34cfafab.svg#icon--copy-pre-content\"></use></svg></a><pre data-clipboard-target=\"pre\">This is a code block.&lt;p&gt;&lt;!-- comments in a code block should be preserved --&gt;&lt;/p&gt;</pre></div>" +"<p>Hello world.</p><p>Foo</p><div class=\"pre-wrapper\" data-controller=\"clipboard\"><a class=\"copy-pre-content-link icon-only\" title=\"Copy\" data-action=\"clipboard#copyPre\"><svg class=\"s18 icon-svg\" aria-hidden=\"true\"><use href=\"/assets/icons-34cfafab.svg#icon--copy-pre-content\"></use></svg></a><pre data-clipboard-target=\"pre\">This is a code block.&lt;p&gt;&lt;!-- comments in a code block should be preserved --&gt;&lt;/p&gt;</pre></div>" bin/rails test test/unit/lib/redmine/wiki_formatting/textile_formatter_test.rb:741 ..................................................................................................................................................................................................................................................................................................................................................................................................................................................................SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS.....................................................................................SSSSSSSSSSSSSSSSSSSSSSSSSSSS....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................F Failure: Redmine::WikiFormatting::MacrosTest#test_macros_should_not_be_executed_in_pre_tags [test/unit/lib/redmine/wiki_formatting/macros_test.rb:455]: --- expected +++ actual @@ -1 +1 @@ -"<p>Hello world! Object: NilClass, Arguments: foo and no block of text.</p><div class=\"pre-wrapper\" data-controller=\"clipboard\"><a class=\"copy-pre-content-link icon-only\" data-action=\"clipboard#copyPre\"><svg class=\"s18 icon-svg\" aria-hidden=\"true\"><use href=\"/assets/icons-34cfafab.svg#icon--copy-pre-content\"></use></svg></a><pre data-clipboard-target=\"pre\">{{hello_world(pre)}}!{{hello_world(pre)}}</pre></div><p>Hello world! Object: NilClass, Arguments: bar and no block of text.</p>" +"<p>Hello world! Object: NilClass, Arguments: foo and no block of text.</p><div class=\"pre-wrapper\" data-controller=\"clipboard\"><a class=\"copy-pre-content-link icon-only\" title=\"Copy\" data-action=\"clipboard#copyPre\"><svg class=\"s18 icon-svg\" aria-hidden=\"true\"><use href=\"/assets/icons-34cfafab.svg#icon--copy-pre-content\"></use></svg></a><pre data-clipboard-target=\"pre\">{{hello_world(pre)}}!{{hello_world(pre)}}</pre></div><p>Hello world! Object: NilClass, Arguments: bar and no block of text.</p>" bin/rails test test/unit/lib/redmine/wiki_formatting/macros_test.rb:430 ..................................F Failure: Redmine::WikiFormatting::MacrosTest#test_macros_should_be_escaped_in_pre_tags [test/unit/lib/redmine/wiki_formatting/macros_test.rb:462]: --- expected +++ actual @@ -1 +1 @@ -"<div class=\"pre-wrapper\" data-controller=\"clipboard\"><a class=\"copy-pre-content-link icon-only\" data-action=\"clipboard#copyPre\"><svg class=\"s18 icon-svg\" aria-hidden=\"true\"><use href=\"/assets/icons-34cfafab.svg#icon--copy-pre-content\"></use></svg></a><pre data-clipboard-target=\"pre\">{{hello_world(&lt;tag&gt;)}}</pre></div>" +"<div class=\"pre-wrapper\" data-controller=\"clipboard\"><a class=\"copy-pre-content-link icon-only\" title=\"Copy\" data-action=\"clipboard#copyPre\"><svg class=\"s18 icon-svg\" aria-hidden=\"true\"><use href=\"/assets/icons-34cfafab.svg#icon--copy-pre-content\"></use></svg></a><pre data-clipboard-target=\"pre\">{{hello_world(&lt;tag&gt;)}}</pre></div>" bin/rails test test/unit/lib/redmine/wiki_formatting/macros_test.rb:459 ...................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................S....................................................................................................................................................................................................................................SSSSSSSSSSSSSSSSSSSSSSSSSSSSS...........................................................................................................................................................................................................S...................................................................................................................................................................................................................................................................................................................................................................................................................................................................................F Failure: ApplicationHelperTest#test_html_tags [test/helpers/application_helper_test.rb:1339]: --- expected +++ actual @@ -1,2 +1,2 @@ -"<div class=\"pre-wrapper\" data-controller=\"clipboard\"><a class=\"copy-pre-content-link icon-only\" title=\\\"Copy\\\" data-action=\"clipboard#copyPre\"><svg class=\"s18 icon-svg\" aria-hidden=\"true\"><use href=\"/assets/icons-34cfafab.svg#icon--copy-pre-content\"></use></svg></a><pre data-clipboard-target=\"pre\">line 1 +"<div class=\"pre-wrapper\" data-controller=\"clipboard\"><a class=\"copy-pre-content-link icon-only\" title=\"Copy\" data-action=\"clipboard#copyPre\"><svg class=\"s18 icon-svg\" aria-hidden=\"true\"><use href=\"/assets/icons-34cfafab.svg#icon--copy-pre-content\"></use></svg></a><pre data-clipboard-target=\"pre\">line 1 line2</pre></div>" bin/rails test test/helpers/application_helper_test.rb:1317 .F Failure: ApplicationHelperTest#test_pre_tags [test/helpers/application_helper_test.rb:1370]: --- expected +++ actual @@ -1 +1 @@ -"<p>Before</p><div class=\"pre-wrapper\" data-controller=\"clipboard\"><a class=\"copy-pre-content-link icon-only\" title=\\\"Copy\\\" data-action=\"clipboard#copyPre\"><svg class=\"s18 icon-svg\" aria-hidden=\"true\"><use href=\"/assets/icons-34cfafab.svg#icon--copy-pre-content\"></use></svg></a><pre data-clipboard-target=\"pre\">&lt;prepared-statement-cache-size&gt;32&lt;/prepared-statement-cache-size&gt;</pre></div><p>After</p>" +"<p>Before</p><div class=\"pre-wrapper\" data-controller=\"clipboard\"><a class=\"copy-pre-content-link icon-only\" title=\"Copy\" data-action=\"clipboard#copyPre\"><svg class=\"s18 icon-svg\" aria-hidden=\"true\"><use href=\"/assets/icons-34cfafab.svg#icon--copy-pre-content\"></use></svg></a><pre data-clipboard-target=\"pre\">&lt;prepared-statement-cache-size&gt;32&lt;/prepared-statement-cache-size&gt;</pre></div><p>After</p>" bin/rails test test/helpers/application_helper_test.rb:1354 ..................F Failure: ApplicationHelperTest#test_pre_content_should_not_parse_wiki_and_redmine_links [test/helpers/application_helper_test.rb:1407]: --- expected +++ actual @@ -1 +1 @@ -"<p><a class=\"wiki-page\" href=\"/projects/ecookbook/wiki/CookBook_documentation\">CookBook documentation</a></p><p><a class=\"issue tracker-1 status-1 priority-4 priority-lowest behind-schedule\" title=\"Bug: Cannot print recipes (New)\" href=\"/issues/1\">#1</a></p><div class=\"pre-wrapper\" data-controller=\"clipboard\"><a class=\"copy-pre-content-link icon-only\" title=\\\"Copy\\\" data-action=\"clipboard#copyPre\"><svg class=\"s18 icon-svg\" aria-hidden=\"true\"><use href=\"/assets/icons-34cfafab.svg#icon--copy-pre-content\"></use></svg></a><pre data-clipboard-target=\"pre\">[[CookBook documentation]]#1</pre></div>" +"<p><a class=\"wiki-page\" href=\"/projects/ecookbook/wiki/CookBook_documentation\">CookBook documentation</a></p><p><a class=\"issue tracker-1 status-1 priority-4 priority-lowest behind-schedule\" title=\"Bug: Cannot print recipes (New)\" href=\"/issues/1\">#1</a></p><div class=\"pre-wrapper\" data-controller=\"clipboard\"><a class=\"copy-pre-content-link icon-only\" title=\"Copy\" data-action=\"clipboard#copyPre\"><svg class=\"s18 icon-svg\" aria-hidden=\"true\"><use href=\"/assets/icons-34cfafab.svg#icon--copy-pre-content\"></use></svg></a><pre data-clipboard-target=\"pre\">[[CookBook documentation]]#1</pre></div>" bin/rails test test/helpers/application_helper_test.rb:1374 ..............................................F Failure: ApplicationHelperTest#test_syntax_highlight_ampersand_in_textile [test/helpers/application_helper_test.rb:1460]: --- expected +++ actual @@ -1 +1 @@ -"<div class=\"pre-wrapper\" data-controller=\"clipboard\"><a class=\"copy-pre-content-link icon-only\" title=\\\"Copy\\\" data-action=\"clipboard#copyPre\"><svg class=\"s18 icon-svg\" aria-hidden=\"true\"><use href=\"/assets/icons-34cfafab.svg#icon--copy-pre-content\"></use></svg></a><pre data-clipboard-target=\"pre\"><code class=\"ruby syntaxhl\" data-language=\"ruby\"><span class=\"n\">x</span> <span class=\"o\">=</span> <span class=\"n\">a</span> <span class=\"o\">&amp;</span> <span class=\"n\">b</span></code></pre></div>" +"<div class=\"pre-wrapper\" data-controller=\"clipboard\"><a class=\"copy-pre-content-link icon-only\" title=\"Copy\" data-action=\"clipboard#copyPre\"><svg class=\"s18 icon-svg\" aria-hidden=\"true\"><use href=\"/assets/icons-34cfafab.svg#icon--copy-pre-content\"></use></svg></a><pre data-clipboard-target=\"pre\"><code class=\"ruby syntaxhl\" data-language=\"ruby\"><span class=\"n\">x</span> <span class=\"o\">=</span> <span class=\"n\">a</span> <span class=\"o\">&amp;</span> <span class=\"n\">b</span></code></pre></div>" bin/rails test test/helpers/application_helper_test.rb:1450 ...............S............................F Failure: ApplicationHelperTest#test_allowed_html_tags [test/helpers/application_helper_test.rb:1350]: --- expected +++ actual @@ -1 +1 @@ -"<div class=\"pre-wrapper\" data-controller=\"clipboard\"><a class=\"copy-pre-content-link icon-only\" title=\\\"Copy\\\" data-action=\"clipboard#copyPre\"><svg class=\"s18 icon-svg\" aria-hidden=\"true\"><use href=\"/assets/icons-34cfafab.svg#icon--copy-pre-content\"></use></svg></a><pre data-clipboard-target=\"pre\">preformatted text</pre></div>" +"<div class=\"pre-wrapper\" data-controller=\"clipboard\"><a class=\"copy-pre-content-link icon-only\" title=\"Copy\" data-action=\"clipboard#copyPre\"><svg class=\"s18 icon-svg\" aria-hidden=\"true\"><use href=\"/assets/icons-34cfafab.svg#icon--copy-pre-content\"></use></svg></a><pre data-clipboard-target=\"pre\">preformatted text</pre></div>" bin/rails test test/helpers/application_helper_test.rb:1343 ...F Failure: ApplicationHelperTest#test_syntax_highlight [test/helpers/application_helper_test.rb:1446]: --- expected +++ actual @@ -1 +1 @@ -"<div class=\"pre-wrapper\" data-controller=\"clipboard\"><a class=\"copy-pre-content-link icon-only\" title=\\\"Copy\\\" data-action=\"clipboard#copyPre\"><svg class=\"s18 icon-svg\" aria-hidden=\"true\"><use href=\"/assets/icons-34cfafab.svg#icon--copy-pre-content\"></use></svg></a><pre data-clipboard-target=\"pre\"><code class=\"ECMA_script syntaxhl\" data-language=\"ECMA_script\"><span class=\"cm\">/* Hello */</span><span class=\"nb\">document</span><span class=\"p\">.</span><span class=\"nf\">write</span><span class=\"p\">(</span><span class=\"dl\">\"</span><span class=\"s2\">Hello World!</span><span class=\"dl\">\"</span><span class=\"p\">);</span></code></pre></div>" +"<div class=\"pre-wrapper\" data-controller=\"clipboard\"><a class=\"copy-pre-content-link icon-only\" title=\"Copy\" data-action=\"clipboard#copyPre\"><svg class=\"s18 icon-svg\" aria-hidden=\"true\"><use href=\"/assets/icons-34cfafab.svg#icon--copy-pre-content\"></use></svg></a><pre data-clipboard-target=\"pre\"><code class=\"ECMA_script syntaxhl\" data-language=\"ECMA_script\"><span class=\"cm\">/* Hello */</span><span class=\"nb\">document</span><span class=\"p\">.</span><span class=\"nf\">write</span><span class=\"p\">(</span><span class=\"dl\">\"</span><span class=\"s2\">Hello World!</span><span class=\"dl\">\"</span><span class=\"p\">);</span></code></pre></div>" bin/rails test test/helpers/application_helper_test.rb:1435 ............F Failure: ApplicationHelperTest#test_non_closing_pre_blocks_should_be_closed [test/helpers/application_helper_test.rb:1425]: --- expected +++ actual @@ -1 +1 @@ -"<div class=\"pre-wrapper\" data-controller=\"clipboard\"><a class=\"copy-pre-content-link icon-only\" title=\\\"Copy\\\" data-action=\"clipboard#copyPre\"><svg class=\"s18 icon-svg\" aria-hidden=\"true\"><use href=\"/assets/icons-34cfafab.svg#icon--copy-pre-content\"></use></svg></a><pre data-clipboard-target=\"pre\"><code></code></pre></div>" +"<div class=\"pre-wrapper\" data-controller=\"clipboard\"><a class=\"copy-pre-content-link icon-only\" title=\"Copy\" data-action=\"clipboard#copyPre\"><svg class=\"s18 icon-svg\" aria-hidden=\"true\"><use href=\"/assets/icons-34cfafab.svg#icon--copy-pre-content\"></use></svg></a><pre data-clipboard-target=\"pre\"><code></code></pre></div>" bin/rails test test/helpers/application_helper_test.rb:1411 ............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................SSSSSSSSSSSSSSSSSSSSSSSS.............................................................................SSSSSSSSSSSSSS......................................S.................................................................................................................................................................................................................................................................. Finished in 1652.153860s, 3.5414 runs/s, 18.7555 assertions/s. 5851 runs, 30987 assertions, 12 failures, 0 errors, 150 skips You have skipped tests. Run with --verbose for details. Build step 'Execute shell' marked build as failure Finished: FAILURE