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.3 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.3] $ /bin/sh -xe /tmp/jenkins6581042598709267613.sh + rm -f config/database.yml + echo ActiveRecord::Tasks::DatabaseTasks::LOCAL_HOSTS << "192.168.1.70" [ruby-3.3] $ /bin/sh -xe /tmp/jenkins7451907596063650914.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/jenkins1592387431020686123.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... 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/jenkins8638500015484425150.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_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/jenkins512106838883945136.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 11670 # 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. .................................................................................................................................................................................................................................................................................................................................................................................................................................................................................SSSSSSSSSSSSSS......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................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_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_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_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_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_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 ...................................................................................................................................................................................................................................................................................................................................................E Error: WebhookPayloadTest#test_news_created_payload_should_contain_news_details: NoMethodError: undefined method `generate!' for class News 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_news_updated_payload_should_contain_updated_timestamp: NoMethodError: undefined method `updated_on' for an instance of News 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_created_payload_should_contain_version_details: NameError: undefined local variable or method `created_at' for an instance of Version 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 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_version_deleted_payload_should_contain_basic_info: NameError: undefined local variable or method `created_at' for an instance of Version 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 E Error: WebhookPayloadTest#test_version_updated_payload_should_contain_updated_timestamp: NameError: undefined local variable or method `updated_at' for an instance of Version 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 ..........................................................................................................................................................................................................................................................................................................................................................................................................................................................SSSSSSSSSS..................................................................................................................................................................................................................................SSSSSSSSSSSSSSSSSSSSSSSSSSSS..................S................................................................................................................................................................................................................................S..............................................................................................................................................................................................SSSSSSSSSSSSSSSSSSSSSSSS..................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................S.................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................S.........................................................................................................................................................................SSSSSSSSSSSSSSSSSSSSSSSSSSSSS..................SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS............................................................................................................................................................................................................................................................................................................ Finished in 1646.430963s, 3.5410 runs/s, 16.1446 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