Revision r24204 (build 1753 started on 2025-12-06T14:01:28Z)
originally caused by: Started by an SCM change Building in workspace /var/lib/jenkins/workspace/trunk/DATABASE_ADAPTER/mysql/RUBY_VER/ruby-3.2 Updating http://svn.redmine.org/redmine/trunk at revision '2025-12-06T06:01:28.182 -0800' U app/models/news.rb U app/models/version.rb U app/models/webhook_payload.rb U config/locales/en.yml U test/unit/webhook_payload_test.rb At revision 24204 [ruby-3.2] $ /bin/sh -xe /tmp/jenkins7105114274952310699.sh + rm -f config/database.yml + echo ActiveRecord::Tasks::DatabaseTasks::LOCAL_HOSTS << "192.168.1.70" [ruby-3.2] $ /bin/sh -xe /tmp/jenkins3611358454447933956.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/jenkins2679128762399791755.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.9 - 3.1.8 - 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. Bundle updated! 5 installed gems you directly depend on are looking for funding. Run `bundle fund` for details [ruby-3.2] $ /bin/sh -xe /tmp/jenkins3712431801722896497.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/jenkins4517255171197318242.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 29099 # 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.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. .................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................SSSSSSSSSS..................................................................................................................................................................................................................................S.............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................SSSSSSSSSSSSSS............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................SSSSSSSSSSSSSSSSSSSSSSSSSSSSS...................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................SSSSSSSSSSSSSSSSSSSSSSSSSSSS...................................................................................................................................................................................................................................................................................................................E Error: WebhookPayloadTest#test_news_updated_payload_should_contain_updated_timestamp: NoMethodError: undefined method `updated_on' for #<News title: "Updated title", id: 1, project_id: 1, summary: "First version was released...", description: "eCookbook 1.0 has been released.\n\nVisit http://eco...", author_id: 2, created_on: "2006-07-19 20:40:26.000000000 +0000", comments_count: 2> app/models/webhook_payload.rb:143:in `news_payload' app/models/webhook_payload.rb:41:in `to_h' test/unit/webhook_payload_test.rb:145:in `block in <class:WebhookPayloadTest>' bin/rails test test/unit/webhook_payload_test.rb:138 E Error: WebhookPayloadTest#test_version_updated_payload_should_contain_updated_timestamp: NameError: undefined local variable or method `updated_at' for #<Version name: "Updated name", id: 1, project_id: 1, description: "Beta", effective_date: "2006-07-01", created_on: "2006-07-19 19:00:07.000000000 +0000", updated_on: "2025-12-06 14:18:45.000000000 +0000", wiki_page_title: nil, status: "closed", sharing: "none"> app/models/version.rb:424:in `updated_on' app/models/webhook_payload.rb:162:in `version_payload' app/models/webhook_payload.rb:41:in `to_h' test/unit/webhook_payload_test.rb:176:in `block in <class:WebhookPayloadTest>' bin/rails test test/unit/webhook_payload_test.rb:169 .F Failure: WebhookPayloadTest#test_news_deleted_payload_should_contain_basic_info [test/unit/webhook_payload_test.rb:157]: Expected: "Updated title" Actual: "eCookbook first release !" bin/rails test test/unit/webhook_payload_test.rb:150 E Error: WebhookPayloadTest#test_news_created_payload_should_contain_news_details: NoMethodError: undefined method `generate!' for News:Class test/unit/webhook_payload_test.rb:130:in `block in <class:WebhookPayloadTest>' bin/rails test test/unit/webhook_payload_test.rb:129 ..E Error: WebhookPayloadTest#test_version_created_payload_should_contain_version_details: NameError: undefined local variable or method `created_at' for #<Version id: 15598, project_id: 1, name: "Version 51", description: "", effective_date: nil, created_on: "2025-12-06 14:18:46.000000000 +0000", updated_on: "2025-12-06 14:18:46.000000000 +0000", wiki_page_title: nil, status: "open", sharing: "none"> app/models/version.rb:420:in `created_on' app/models/webhook_payload.rb:158:in `version_payload' app/models/webhook_payload.rb:41:in `to_h' test/unit/webhook_payload_test.rb:164:in `block in <class:WebhookPayloadTest>' bin/rails test test/unit/webhook_payload_test.rb:160 ..E Error: WebhookPayloadTest#test_version_deleted_payload_should_contain_basic_info: NameError: undefined local variable or method `created_at' for #<Version id: 1, project_id: 1, name: "0.1", description: "Beta", effective_date: "2006-07-01", created_on: "2006-07-19 19:00:07.000000000 +0000", updated_on: "2006-07-19 19:00:07.000000000 +0000", wiki_page_title: nil, status: "closed", sharing: "none"> app/models/version.rb:420:in `created_on' app/views/versions/show.api.rsb:18:in `block in to_h' lib/redmine/views/builders/structure.rb:71:in `method_missing' app/views/versions/show.api.rsb:1:in `to_h' app/models/webhook_payload.rb:194:in `instance_eval' app/models/webhook_payload.rb:194:in `to_h' app/models/webhook_payload.rb:168:in `version_payload' app/models/webhook_payload.rb:41:in `to_h' test/unit/webhook_payload_test.rb:186:in `block in <class:WebhookPayloadTest>' bin/rails test test/unit/webhook_payload_test.rb:181 ..............................................................................................................................................................................................................................................................................................................................................................................................................................................SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS............................................................................................................................................................................................................................................................................................................................................................................S...............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................SSSSSSSSSSSSSSSSSSSSSSSS...................S.........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................S....................................................................................................................................................................................................................................F Failure: Redmine::ApiTest::VersionsTest#test_GET_/versions/:id.xml_should_return_the_version [test/integration/api_test/versions_test.rb:123]: Expected response to be a <2XX: success>, but was a <500: Internal Server Error> bin/rails test test/integration/api_test/versions_test.rb:116 F Failure: Redmine::ApiTest::VersionsTest#test_POST_/projects/:project_id/versions.xml_should_create_the_version_with_custom_fields [test/integration/api_test/versions_test.rb:100]: Expected response to be a <201: created>, but was a <500: Internal Server Error>. Expected: 201 Actual: 500 bin/rails test test/integration/api_test/versions_test.rb:81 .F Failure: Redmine::ApiTest::VersionsTest#test_POST_/projects/:project_id/versions.xml_should_create_the_version [test/integration/api_test/versions_test.rb:44]: Expected response to be a <201: created>, but was a <500: Internal Server Error>. Expected: 201 Actual: 500 bin/rails test test/integration/api_test/versions_test.rb:34 F Failure: Redmine::ApiTest::VersionsTest#test_POST_/projects/:project_id/versions.xml_should_create_the_version_with_due_date [test/integration/api_test/versions_test.rb:60]: Expected response to be a <201: created>, but was a <500: Internal Server Error>. Expected: 201 Actual: 500 bin/rails test test/integration/api_test/versions_test.rb:49 F Failure: Redmine::ApiTest::VersionsTest#test_GET_/projects/:project_id/versions.xml_should_return_project_versions [test/integration/api_test/versions_test.rb:26]: Expected response to be a <2XX: success>, but was a <500: Internal Server Error> bin/rails test test/integration/api_test/versions_test.rb:23 .F Failure: Redmine::ApiTest::VersionsTest#test_POST_/projects/:project_id/versions.xml_should_create_the_version_with_wiki_page_title [test/integration/api_test/versions_test.rb:76]: Expected response to be a <201: created>, but was a <500: Internal Server Error>. Expected: 201 Actual: 500 bin/rails test test/integration/api_test/versions_test.rb:65 ............................................................................................................................................................................................ Finished in 1618.966502s, 3.6011 runs/s, 16.4185 assertions/s. 5830 runs, 26581 assertions, 7 failures, 5 errors, 150 skips You have skipped tests. Run with --verbose for details. Build step 'Execute shell' marked build as failure Finished: FAILURE