trunk build 3124

Revision r16053 (build 3124 started on 2016-12-10T08:55:52Z)


Building in workspace /var/lib/jenkins/workspace/trunk/DATABASE_ADAPTER/postgresql/RUBY_VER/ruby-2.3
Updating file:///var/svn/redmine/trunk
U         lib/redmine/nested_set/issue_nested_set.rb
At revision 16053
[ruby-2.3] $ /bin/sh -xe /tmp/hudson5449476727194408856.sh
+ PATH=/var/lib/jenkins/ruby/ruby-2.3/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games rake -f lib/tasks/ci.rake config/database.yml BRANCH=trunk
[ruby-2.3] $ /bin/sh -xe /tmp/hudson2979762763116046236.sh
+ PATH=/var/lib/jenkins/ruby/ruby-2.3/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games bundle update
Fetching gem metadata from https://rubygems.org/...........
Fetching version metadata from https://rubygems.org/...
Fetching dependency metadata from https://rubygems.org/..
Resolving dependencies.............................................................
Using rake 12.0.0 (was 11.3.0)
Using i18n 0.7.0
Using json 1.8.3
Using minitest 5.10.1
Using thread_safe 0.3.5
Using builder 3.2.2
Using erubis 2.7.0
Using mini_portile2 2.1.0
Using rack 1.6.5
Using mime-types-data 3.2016.0521
Using arel 6.0.3
Using public_suffix 2.0.4
Using bundler 1.11.2
Using ffi 1.9.14
Using coderay 1.1.1
Using concurrent-ruby 1.0.2
Using docile 1.1.5
Using htmlentities 4.3.1
Using thor 0.19.4
Using metaclass 0.0.4
Using mimemagic 0.3.2
Using multi_json 1.12.1
Using net-ldap 0.12.1
Using pg 0.18.4
Using ruby-openid 2.3.0
Using rbpdf-font 1.19.0
Using rdoc 4.3.0
Using redcarpet 3.3.4
Using request_store 1.0.5
Using rmagick 2.16.0
Using rubyzip 1.2.0
Using websocket 1.2.3
Using simplecov-html 0.9.0
Using yard 0.9.5
Using tzinfo 1.2.2
Using nokogiri 1.6.8.1
Using rack-test 0.6.3
Using mime-types 3.1
Using addressable 2.5.0
Using childprocess 0.5.9
Using sprockets 3.7.0
Using mocha 1.2.1
Using rack-openid 1.4.2
Using rbpdf 1.19.0
Using simplecov 0.9.2
Using activesupport 4.2.7.1
Using loofah 2.0.3
Using xpath 2.0.0
Using mail 2.6.4
Using css_parser 1.4.7
Using selenium-webdriver 2.53.4
Using rails-deprecated_sanitizer 1.0.3
Using globalid 0.3.7
Using activemodel 4.2.7.1
Using rails-html-sanitizer 1.0.3
Using capybara 2.11.0 (was 2.10.2)
Using roadie 3.2.0
Using rails-dom-testing 1.0.7
Using activejob 4.2.7.1
Using activerecord 4.2.7.1
Using protected_attributes 1.1.3
Using actionview 4.2.7.1
Using actionpack 4.2.7.1
Using actionmailer 4.2.7.1
Using actionpack-xml_parser 1.0.2
Using railties 4.2.7.1
Using sprockets-rails 3.2.0
Using jquery-rails 3.1.4
Using roadie-rails 1.1.1
Using rails 4.2.7.1
Bundle updated!
[ruby-2.3] $ /bin/sh -xe /tmp/hudson8423102514802313164.sh
+ PATH=/var/lib/jenkins/ruby/ruby-2.3/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games JRUBY_OPTS=-J-Xmx1024m bundle exec rake ci:about ci:setup
/var/lib/jenkins/ruby/ruby-2.3.0/lib/ruby/gems/2.3.0/gems/htmlentities-4.3.1/lib/htmlentities/mappings/expanded.rb:465: warning: key "inodot" is duplicated and overwritten on line 466
ci_trunk_ruby23_dev already exists
ci_trunk_ruby23_test already exists
Ruby version: 2.3.0-p0 (2015-12-25) [i686-linux]
[ruby-2.3] $ /bin/sh -xe /tmp/hudson4949978737333192941.sh
+ PATH=/var/lib/jenkins/ruby/ruby-2.3/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games JRUBY_OPTS=-J-Xmx1024m bundle exec rake test
/var/lib/jenkins/ruby/ruby-2.3.0/lib/ruby/gems/2.3.0/gems/htmlentities-4.3.1/lib/htmlentities/mappings/expanded.rb:465: warning: key "inodot" is duplicated and overwritten on line 466
Version: ImageMagick 6.6.0-4 2011-06-15 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2010 ImageMagick Studio LLC
Features: OpenMP 

Bazaar non ASCII output test cannot run on this environment.
Encoding.locale_charmap: UTF-8
Run options: --seed 36426

# Running:

..........E........E........E..E....................F....F.E..E............................................................E...............................................................................................................Use assert_nil if expecting nil from /var/lib/jenkins/workspace/trunk/DATABASE_ADAPTER/postgresql/RUBY_VER/ruby-2.3/test/test_helper.rb:322:in `log_user'. This will fail in MT6.
.Use assert_nil if expecting nil from /var/lib/jenkins/workspace/trunk/DATABASE_ADAPTER/postgresql/RUBY_VER/ruby-2.3/test/test_helper.rb:322:in `log_user'. This will fail in MT6.
.Use assert_nil if expecting nil from /var/lib/jenkins/workspace/trunk/DATABASE_ADAPTER/postgresql/RUBY_VER/ruby-2.3/test/test_helper.rb:322:in `log_user'. This will fail in MT6.
.Use assert_nil if expecting nil from /var/lib/jenkins/workspace/trunk/DATABASE_ADAPTER/postgresql/RUBY_VER/ruby-2.3/test/test_helper.rb:322:in `log_user'. This will fail in MT6.
.Use assert_nil if expecting nil from /var/lib/jenkins/workspace/trunk/DATABASE_ADAPTER/postgresql/RUBY_VER/ruby-2.3/test/test_helper.rb:322:in `log_user'. This will fail in MT6.
.Use assert_nil if expecting nil from /var/lib/jenkins/workspace/trunk/DATABASE_ADAPTER/postgresql/RUBY_VER/ruby-2.3/test/test_helper.rb:322:in `log_user'. This will fail in MT6.
..........Use assert_nil if expecting nil from /var/lib/jenkins/workspace/trunk/DATABASE_ADAPTER/postgresql/RUBY_VER/ruby-2.3/test/unit/changeset_test.rb:569:in `test_comments_nil'. This will fail in MT6.
................................................................................Use assert_nil if expecting nil from /var/lib/jenkins/workspace/trunk/DATABASE_ADAPTER/postgresql/RUBY_VER/ruby-2.3/test/unit/custom_field_version_format_test.rb:59:in `test_cast_invalid_value'. This will fail in MT6.
.Use assert_nil if expecting nil from /var/lib/jenkins/workspace/trunk/DATABASE_ADAPTER/postgresql/RUBY_VER/ruby-2.3/test/unit/custom_field_version_format_test.rb:48:in `test_cast_blank_value'. This will fail in MT6.
Use assert_nil if expecting nil from /var/lib/jenkins/workspace/trunk/DATABASE_ADAPTER/postgresql/RUBY_VER/ruby-2.3/test/unit/custom_field_version_format_test.rb:49:in `test_cast_blank_value'. This will fail in MT6.
.......Use assert_nil if expecting nil from /var/lib/jenkins/workspace/trunk/DATABASE_ADAPTER/postgresql/RUBY_VER/ruby-2.3/test/unit/wiki_page_test.rb:110:in `test_move_child_should_clear_parent'. This will fail in MT6.
.....................................Use assert_nil if expecting nil from /var/lib/jenkins/workspace/trunk/DATABASE_ADAPTER/postgresql/RUBY_VER/ruby-2.3/test/unit/journal_test.rb:204:in `test_custom_field_should_return_nil_for_non_cf_detail'. This will fail in MT6.
......................................F............................Use assert_nil if expecting nil from /var/lib/jenkins/workspace/trunk/DATABASE_ADAPTER/postgresql/RUBY_VER/ruby-2.3/test/unit/group_test.rb:133:in `test_destroy_should_unassign_issues'. This will fail in MT6.
........................Use assert_nil if expecting nil from /var/lib/jenkins/workspace/trunk/DATABASE_ADAPTER/postgresql/RUBY_VER/ruby-2.3/test/test_helper.rb:322:in `log_user'. This will fail in MT6.
...Use assert_nil if expecting nil from /var/lib/jenkins/workspace/trunk/DATABASE_ADAPTER/postgresql/RUBY_VER/ruby-2.3/test/test_helper.rb:322:in `log_user'. This will fail in MT6.
..Use assert_nil if expecting nil from /var/lib/jenkins/workspace/trunk/DATABASE_ADAPTER/postgresql/RUBY_VER/ruby-2.3/test/test_helper.rb:322:in `log_user'. This will fail in MT6.
..Use assert_nil if expecting nil from /var/lib/jenkins/workspace/trunk/DATABASE_ADAPTER/postgresql/RUBY_VER/ruby-2.3/test/test_helper.rb:322:in `log_user'. This will fail in MT6.
...................................................Use assert_nil if expecting nil from /var/lib/jenkins/workspace/trunk/DATABASE_ADAPTER/postgresql/RUBY_VER/ruby-2.3/test/test_helper.rb:322:in `log_user'. This will fail in MT6.
.............................E.............E..E............................................................................................................................................................................................................................................................................................Use assert_nil if expecting nil from /var/lib/jenkins/workspace/trunk/DATABASE_ADAPTER/postgresql/RUBY_VER/ruby-2.3/test/unit/auth_source_ldap_test.rb:103:in `block in <class:AuthSourceLdapTest>'. This will fail in MT6.
..Deprecation warning: Net::LDAP::ConnectionRefused will be deprecated. Use Errno::ECONNREFUSED instead.
....Use assert_nil if expecting nil from /var/lib/jenkins/workspace/trunk/DATABASE_ADAPTER/postgresql/RUBY_VER/ruby-2.3/test/unit/auth_source_ldap_test.rb:98:in `block in <class:AuthSourceLdapTest>'. This will fail in MT6.
.Use assert_nil if expecting nil from /var/lib/jenkins/workspace/trunk/DATABASE_ADAPTER/postgresql/RUBY_VER/ruby-2.3/test/unit/auth_source_ldap_test.rb:108:in `block in <class:AuthSourceLdapTest>'. This will fail in MT6.
...............................................................................................Use assert_nil if expecting nil from /var/lib/jenkins/workspace/trunk/DATABASE_ADAPTER/postgresql/RUBY_VER/ruby-2.3/test/test_helper.rb:322:in `log_user'. This will fail in MT6.
.Use assert_nil if expecting nil from /var/lib/jenkins/workspace/trunk/DATABASE_ADAPTER/postgresql/RUBY_VER/ruby-2.3/test/test_helper.rb:322:in `log_user'. This will fail in MT6.
.Use assert_nil if expecting nil from /var/lib/jenkins/workspace/trunk/DATABASE_ADAPTER/postgresql/RUBY_VER/ruby-2.3/test/test_helper.rb:322:in `log_user'. This will fail in MT6.
.Use assert_nil if expecting nil from /var/lib/jenkins/workspace/trunk/DATABASE_ADAPTER/postgresql/RUBY_VER/ruby-2.3/test/test_helper.rb:322:in `log_user'. This will fail in MT6.
..............E.........Use assert_nil if expecting nil from /var/lib/jenkins/workspace/trunk/DATABASE_ADAPTER/postgresql/RUBY_VER/ruby-2.3/test/unit/version_test.rb:246:in `block in <class:VersionTest>'. This will fail in MT6.
Use assert_nil if expecting nil from /var/lib/jenkins/workspace/trunk/DATABASE_ADAPTER/postgresql/RUBY_VER/ruby-2.3/test/unit/version_test.rb:251:in `block in <class:VersionTest>'. This will fail in MT6.
..........................Use assert_nil if expecting nil from /var/lib/jenkins/workspace/trunk/DATABASE_ADAPTER/postgresql/RUBY_VER/ruby-2.3/test/unit/helpers/application_helper_test.rb:1023:in `test_to_path_param'. This will fail in MT6.
........................................................................................................Use assert_nil if expecting nil from /var/lib/jenkins/workspace/trunk/DATABASE_ADAPTER/postgresql/RUBY_VER/ruby-2.3/test/unit/repository_git_test.rb:152:in `test_fetch_changesets_from_scratch'. This will fail in MT6.
.....................................................................................E..E...............E............E..E...E....E.E.............Use assert_nil if expecting nil from /var/lib/jenkins/workspace/trunk/DATABASE_ADAPTER/postgresql/RUBY_VER/ruby-2.3/test/unit/issue_test.rb:1692:in `test_move_to_another_project_should_clear_fixed_version_when_not_shared_with_the_target_project'. This will fail in MT6.
..Use assert_nil if expecting nil from /var/lib/jenkins/workspace/trunk/DATABASE_ADAPTER/postgresql/RUBY_VER/ruby-2.3/test/unit/issue_test.rb:1670:in `test_move_to_another_project_should_clear_fixed_version_when_not_shared'. This will fail in MT6.
.E....E..E.....E......................E..EE.......................E................E..................................E.......E..........E.......................E...Use assert_nil if expecting nil from /var/lib/jenkins/workspace/trunk/DATABASE_ADAPTER/postgresql/RUBY_VER/ruby-2.3/test/unit/custom_field_user_format_test.rb:76:in `test_cast_invalid_value'. This will fail in MT6.
.....Use assert_nil if expecting nil from /var/lib/jenkins/workspace/trunk/DATABASE_ADAPTER/postgresql/RUBY_VER/ruby-2.3/test/unit/custom_field_user_format_test.rb:65:in `test_cast_blank_value'. This will fail in MT6.
Use assert_nil if expecting nil from /var/lib/jenkins/workspace/trunk/DATABASE_ADAPTER/postgresql/RUBY_VER/ruby-2.3/test/unit/custom_field_user_format_test.rb:66:in `test_cast_blank_value'. This will fail in MT6.
............Use assert_nil if expecting nil from /var/lib/jenkins/workspace/trunk/DATABASE_ADAPTER/postgresql/RUBY_VER/ruby-2.3/test/unit/lib/redmine/scm/adapters/mercurial_adapter_test.rb:450:in `test_hgversion_for'. This will fail in MT6.
Use assert_nil if expecting nil from /var/lib/jenkins/workspace/trunk/DATABASE_ADAPTER/postgresql/RUBY_VER/ruby-2.3/test/unit/lib/redmine/scm/adapters/mercurial_adapter_test.rb:450:in `test_hgversion_for'. This will fail in MT6.
...................................................................................Use assert_nil if expecting nil from /var/lib/jenkins/workspace/trunk/DATABASE_ADAPTER/postgresql/RUBY_VER/ruby-2.3/test/unit/lib/redmine/i18n_test.rb:222:in `block in test_valid_language'. This will fail in MT6.
........................................................................................E..............E....E...........................................................E..........................................................................Use assert_nil if expecting nil from /var/lib/jenkins/workspace/trunk/DATABASE_ADAPTER/postgresql/RUBY_VER/ruby-2.3/test/functional/users_controller_test.rb:466:in `test_update_user_switchin_from_auth_source_to_password_authentication'. This will fail in MT6.
.........................E.......................................................E.................Use assert_nil if expecting nil from /var/lib/jenkins/workspace/trunk/DATABASE_ADAPTER/postgresql/RUBY_VER/ruby-2.3/test/unit/project_test.rb:356:in `test_set_parent_should_update_issue_fixed_version_associations_when_a_fixed_version_is_moved_out_of_the_hierarchy'. This will fail in MT6.
Use assert_nil if expecting nil from /var/lib/jenkins/workspace/trunk/DATABASE_ADAPTER/postgresql/RUBY_VER/ruby-2.3/test/unit/project_test.rb:357:in `test_set_parent_should_update_issue_fixed_version_associations_when_a_fixed_version_is_moved_out_of_the_hierarchy'. This will fail in MT6.
.......E.E....................................................................................................................................................................................................................................................................................E........E....................Use assert_nil if expecting nil from /var/lib/jenkins/workspace/trunk/DATABASE_ADAPTER/postgresql/RUBY_VER/ruby-2.3/test/unit/lib/redmine/menu_manager/mapper_test.rb:159:in `test_find_missing'. This will fail in MT6.
.............................Use assert_nil if expecting nil from /var/lib/jenkins/workspace/trunk/DATABASE_ADAPTER/postgresql/RUBY_VER/ruby-2.3/test/test_helper.rb:322:in `log_user'. This will fail in MT6.
.............Use assert_nil if expecting nil from /var/lib/jenkins/workspace/trunk/DATABASE_ADAPTER/postgresql/RUBY_VER/ruby-2.3/test/test_helper.rb:322:in `log_user'. This will fail in MT6.
.....Use assert_nil if expecting nil from /var/lib/jenkins/workspace/trunk/DATABASE_ADAPTER/postgresql/RUBY_VER/ruby-2.3/test/functional/project_enumerations_controller_test.rb:86:in `test_update_to_override_system_activities'. This will fail in MT6.
...............Use assert_nil if expecting nil from /var/lib/jenkins/workspace/trunk/DATABASE_ADAPTER/postgresql/RUBY_VER/ruby-2.3/test/test_helper.rb:322:in `log_user'. This will fail in MT6.
.Use assert_nil if expecting nil from /var/lib/jenkins/workspace/trunk/DATABASE_ADAPTER/postgresql/RUBY_VER/ruby-2.3/test/test_helper.rb:322:in `log_user'. This will fail in MT6.
.Use assert_nil if expecting nil from /var/lib/jenkins/workspace/trunk/DATABASE_ADAPTER/postgresql/RUBY_VER/ruby-2.3/test/test_helper.rb:322:in `log_user'. This will fail in MT6.
.Use assert_nil if expecting nil from /var/lib/jenkins/workspace/trunk/DATABASE_ADAPTER/postgresql/RUBY_VER/ruby-2.3/test/test_helper.rb:322:in `log_user'. This will fail in MT6.
.Use assert_nil if expecting nil from /var/lib/jenkins/workspace/trunk/DATABASE_ADAPTER/postgresql/RUBY_VER/ruby-2.3/test/test_helper.rb:322:in `log_user'. This will fail in MT6.
.Use assert_nil if expecting nil from /var/lib/jenkins/workspace/trunk/DATABASE_ADAPTER/postgresql/RUBY_VER/ruby-2.3/test/test_helper.rb:322:in `log_user'. This will fail in MT6.
............................................................................................................................................................................................Use assert_nil if expecting nil from /var/lib/jenkins/workspace/trunk/DATABASE_ADAPTER/postgresql/RUBY_VER/ruby-2.3/test/unit/tracker_test.rb:28:in `test_named_scope'. This will fail in MT6.
.....................................................Use assert_nil if expecting nil from /var/lib/jenkins/workspace/trunk/DATABASE_ADAPTER/postgresql/RUBY_VER/ruby-2.3/test/unit/lib/redmine/export/pdf_test.rb:97:in `block in test_attach'. This will fail in MT6.
Use assert_nil if expecting nil from /var/lib/jenkins/workspace/trunk/DATABASE_ADAPTER/postgresql/RUBY_VER/ruby-2.3/test/unit/lib/redmine/export/pdf_test.rb:99:in `block in test_attach'. This will fail in MT6.
Use assert_nil if expecting nil from /var/lib/jenkins/workspace/trunk/DATABASE_ADAPTER/postgresql/RUBY_VER/ruby-2.3/test/unit/lib/redmine/export/pdf_test.rb:97:in `block in test_attach'. This will fail in MT6.
Use assert_nil if expecting nil from /var/lib/jenkins/workspace/trunk/DATABASE_ADAPTER/postgresql/RUBY_VER/ruby-2.3/test/unit/lib/redmine/export/pdf_test.rb:99:in `block in test_attach'. This will fail in MT6.
............................E........E...........Use assert_nil if expecting nil from /var/lib/jenkins/workspace/trunk/DATABASE_ADAPTER/postgresql/RUBY_VER/ruby-2.3/test/functional/issues_controller_test.rb:4460:in `block in test_bulk_copy_should_allow_not_changing_the_issue_attributes'. This will fail in MT6.
.............................E.....................E.....E.........E..E..E..........E.........E............E.E......................E.............E.....................................E..E.....E.....E........E............................EE...............EE.................E.................E..........................E......................................................................................................................................................Use assert_nil if expecting nil from /var/lib/jenkins/workspace/trunk/DATABASE_ADAPTER/postgresql/RUBY_VER/ruby-2.3/test/unit/user_test.rb:614:in `test_try_to_login_with_locked_user_should_return_nil'. This will fail in MT6.
...........Use assert_nil if expecting nil from /var/lib/jenkins/workspace/trunk/DATABASE_ADAPTER/postgresql/RUBY_VER/ruby-2.3/test/unit/user_test.rb:648:in `block in <class:UserTest>'. This will fail in MT6.
.Use assert_nil if expecting nil from /var/lib/jenkins/workspace/trunk/DATABASE_ADAPTER/postgresql/RUBY_VER/ruby-2.3/test/unit/user_test.rb:652:in `block in <class:UserTest>'. This will fail in MT6.
............................................................................................................................Use assert_nil if expecting nil from /var/lib/jenkins/workspace/trunk/DATABASE_ADAPTER/postgresql/RUBY_VER/ruby-2.3/test/unit/lib/redmine/mime_type_test.rb:28:in `block in test_of'. This will fail in MT6.
.Use assert_nil if expecting nil from /var/lib/jenkins/workspace/trunk/DATABASE_ADAPTER/postgresql/RUBY_VER/ruby-2.3/test/unit/lib/redmine/mime_type_test.rb:38:in `block in test_css_class_of'. This will fail in MT6.
.Use assert_nil if expecting nil from /var/lib/jenkins/workspace/trunk/DATABASE_ADAPTER/postgresql/RUBY_VER/ruby-2.3/test/unit/lib/redmine/mime_type_test.rb:48:in `block in test_main_mimetype_of'. This will fail in MT6.
........................................................................................................................................................................................................................................................................................Use assert_nil if expecting nil from /var/lib/jenkins/workspace/trunk/DATABASE_ADAPTER/postgresql/RUBY_VER/ruby-2.3/test/test_helper.rb:322:in `log_user'. This will fail in MT6.
.......................................Use assert_nil if expecting nil from /var/lib/jenkins/workspace/trunk/DATABASE_ADAPTER/postgresql/RUBY_VER/ruby-2.3/test/test_helper.rb:322:in `log_user'. This will fail in MT6.
.........................................................................................................................................................................................E....................................E..................................................................................................................................................................E....EF...........................................................................Use assert_nil if expecting nil from /var/lib/jenkins/workspace/trunk/DATABASE_ADAPTER/postgresql/RUBY_VER/ruby-2.3/test/unit/custom_field_test.rb:324:in `test_float_cast_blank_value_should_return_nil'. This will fail in MT6.
Use assert_nil if expecting nil from /var/lib/jenkins/workspace/trunk/DATABASE_ADAPTER/postgresql/RUBY_VER/ruby-2.3/test/unit/custom_field_test.rb:325:in `test_float_cast_blank_value_should_return_nil'. This will fail in MT6.
....................................Use assert_nil if expecting nil from /var/lib/jenkins/workspace/trunk/DATABASE_ADAPTER/postgresql/RUBY_VER/ruby-2.3/test/test_helper.rb:322:in `log_user'. This will fail in MT6.
Use assert_nil if expecting nil from /var/lib/jenkins/workspace/trunk/DATABASE_ADAPTER/postgresql/RUBY_VER/ruby-2.3/test/integration/admin_test.rb:51:in `test_add_user'. This will fail in MT6.
.........................................................................................Use assert_nil if expecting nil from /var/lib/jenkins/workspace/trunk/DATABASE_ADAPTER/postgresql/RUBY_VER/ruby-2.3/test/unit/attachment_test.rb:91:in `block in test_copy_should_preserve_attributes'. This will fail in MT6.
.........EEEEEEEEEEEEEEEEEEEEEE.EEUse assert_nil if expecting nil from /var/lib/jenkins/workspace/trunk/DATABASE_ADAPTER/postgresql/RUBY_VER/ruby-2.3/test/test_helper.rb:322:in `log_user'. This will fail in MT6.
..Use assert_nil if expecting nil from /var/lib/jenkins/workspace/trunk/DATABASE_ADAPTER/postgresql/RUBY_VER/ruby-2.3/test/test_helper.rb:322:in `log_user'. This will fail in MT6.
.Use assert_nil if expecting nil from /var/lib/jenkins/workspace/trunk/DATABASE_ADAPTER/postgresql/RUBY_VER/ruby-2.3/test/test_helper.rb:322:in `log_user'. This will fail in MT6.
.Use assert_nil if expecting nil from /var/lib/jenkins/workspace/trunk/DATABASE_ADAPTER/postgresql/RUBY_VER/ruby-2.3/test/test_helper.rb:322:in `log_user'. This will fail in MT6.
.Use assert_nil if expecting nil from /var/lib/jenkins/workspace/trunk/DATABASE_ADAPTER/postgresql/RUBY_VER/ruby-2.3/test/test_helper.rb:322:in `log_user'. This will fail in MT6.
.Use assert_nil if expecting nil from /var/lib/jenkins/workspace/trunk/DATABASE_ADAPTER/postgresql/RUBY_VER/ruby-2.3/test/test_helper.rb:322:in `log_user'. This will fail in MT6.
.................................................E..............................................................EEEEEE.EEEEEEEEEE.EE....................................................................................................Use assert_nil if expecting nil from /var/lib/jenkins/workspace/trunk/DATABASE_ADAPTER/postgresql/RUBY_VER/ruby-2.3/test/unit/lib/redmine/codeset_util_test.rb:54:in `test_to_utf8_by_setting_blank_string'. This will fail in MT6.
................Use assert_nil if expecting nil from /var/lib/jenkins/workspace/trunk/DATABASE_ADAPTER/postgresql/RUBY_VER/ruby-2.3/test/unit/lib/redmine/scm/adapters/git_adapter_test.rb:480:in `test_entries_wrong_path_encoding'. This will fail in MT6.
Use assert_nil if expecting nil from /var/lib/jenkins/workspace/trunk/DATABASE_ADAPTER/postgresql/RUBY_VER/ruby-2.3/test/unit/lib/redmine/scm/adapters/git_adapter_test.rb:481:in `test_entries_wrong_path_encoding'. This will fail in MT6.
...................Use assert_nil if expecting nil from /var/lib/jenkins/workspace/trunk/DATABASE_ADAPTER/postgresql/RUBY_VER/ruby-2.3/test/unit/lib/redmine/scm/adapters/git_adapter_test.rb:339:in `test_parents'. This will fail in MT6.
.......................

Finished in 675.724264s, 6.4953 runs/s, 37.0506 assertions/s.

1) Error: Redmine::ApiTest::IssuesTest#test_GET_/issues/:id.json_should_contains_total_estimated_hours_and_total_spent_hours: ActiveRecord::StatementInvalid: PG::FeatureNotSupported: ERROR: SELECT FOR UPDATE/SHARE is not allowed with DISTINCT clause : SELECT "issues"."id" FROM "issues" INNER JOIN (SELECT DISTINCT "issues"."root_id" FROM "issues" WHERE "issues"."id" = 3) as i2 ON issues.root_id = i2.root_id ORDER BY "issues"."id" ASC FOR UPDATE lib/redmine/nested_set/issue_nested_set.rb:162:in `lock_nested_set' lib/redmine/nested_set/issue_nested_set.rb:52:in `add_to_nested_set' app/models/issue.rb:211:in `create_or_update' test/object_helpers.rb:103:in `generate!' test/integration/api_test/issues_test.rb:392:in `block in <class:IssuesTest>'
2) Error: Redmine::ApiTest::IssuesTest#test_GET_/issues/:id.json_should_contains_total_estimated_hours,_and_should_not_contains_spent_hours_and_total_spent_hours_when_permission_does_not_exists: ActiveRecord::StatementInvalid: PG::FeatureNotSupported: ERROR: SELECT FOR UPDATE/SHARE is not allowed with DISTINCT clause : SELECT "issues"."id" FROM "issues" INNER JOIN (SELECT DISTINCT "issues"."root_id" FROM "issues" WHERE "issues"."id" = 3) as i2 ON issues.root_id = i2.root_id ORDER BY "issues"."id" ASC FOR UPDATE lib/redmine/nested_set/issue_nested_set.rb:162:in `lock_nested_set' lib/redmine/nested_set/issue_nested_set.rb:52:in `add_to_nested_set' app/models/issue.rb:211:in `create_or_update' test/object_helpers.rb:103:in `generate!' test/integration/api_test/issues_test.rb:407:in `block in <class:IssuesTest>'
3) Error: Redmine::ApiTest::IssuesTest#test_GET_/issues/:id.json_with_subtasks: ActiveRecord::StatementInvalid: PG::FeatureNotSupported: ERROR: SELECT FOR UPDATE/SHARE is not allowed with DISTINCT clause : SELECT "issues"."id" FROM "issues" INNER JOIN (SELECT DISTINCT "issues"."root_id" FROM "issues" WHERE "issues"."id" = 21) as i2 ON issues.root_id = i2.root_id ORDER BY "issues"."id" ASC FOR UPDATE lib/redmine/nested_set/issue_nested_set.rb:162:in `lock_nested_set' lib/redmine/nested_set/issue_nested_set.rb:52:in `add_to_nested_set' app/models/issue.rb:211:in `create_or_update' test/object_helpers.rb:103:in `generate!' test/object_helpers.rb:110:in `generate_with_descendants!' test/integration/api_test/issues_test.rb:315:in `block in <class:IssuesTest>'
4) Error: Redmine::ApiTest::IssuesTest#test_GET_/issues/:id.xml_should_contains_total_estimated_hours_and_total_spent_hours: ActiveRecord::StatementInvalid: PG::FeatureNotSupported: ERROR: SELECT FOR UPDATE/SHARE is not allowed with DISTINCT clause : SELECT "issues"."id" FROM "issues" INNER JOIN (SELECT DISTINCT "issues"."root_id" FROM "issues" WHERE "issues"."id" = 3) as i2 ON issues.root_id = i2.root_id ORDER BY "issues"."id" ASC FOR UPDATE lib/redmine/nested_set/issue_nested_set.rb:162:in `lock_nested_set' lib/redmine/nested_set/issue_nested_set.rb:52:in `add_to_nested_set' app/models/issue.rb:211:in `create_or_update' test/object_helpers.rb:103:in `generate!' test/integration/api_test/issues_test.rb:359:in `block in <class:IssuesTest>'
5) Failure: Redmine::ApiTest::IssuesTest#test_DELETE_/issues/:id.json [/var/lib/jenkins/workspace/trunk/DATABASE_ADAPTER/postgresql/RUBY_VER/ruby-2.3/test/integration/api_test/issues_test.rb:727]: Expected response to be a <ok>, but was <500>. Expected: 200 Actual: 500
6) Failure: Redmine::ApiTest::IssuesTest#test_DELETE_/issues/:id.xml [/var/lib/jenkins/workspace/trunk/DATABASE_ADAPTER/postgresql/RUBY_VER/ruby-2.3/test/integration/api_test/issues_test.rb:717]: Expected response to be a <ok>, but was <500>. Expected: 200 Actual: 500
7) Error: Redmine::ApiTest::IssuesTest#test_GET_/issues/:id.xml_with_subtasks: ActiveRecord::StatementInvalid: PG::FeatureNotSupported: ERROR: SELECT FOR UPDATE/SHARE is not allowed with DISTINCT clause : SELECT "issues"."id" FROM "issues" INNER JOIN (SELECT DISTINCT "issues"."root_id" FROM "issues" WHERE "issues"."id" = 30) as i2 ON issues.root_id = i2.root_id ORDER BY "issues"."id" ASC FOR UPDATE lib/redmine/nested_set/issue_nested_set.rb:162:in `lock_nested_set' lib/redmine/nested_set/issue_nested_set.rb:52:in `add_to_nested_set' app/models/issue.rb:211:in `create_or_update' test/object_helpers.rb:103:in `generate!' test/object_helpers.rb:110:in `generate_with_descendants!' test/integration/api_test/issues_test.rb:305:in `block in <class:IssuesTest>'
8) Error: Redmine::ApiTest::IssuesTest#test_GET_/issues/:id.xml_should_contains_total_estimated_hours,_and_should_not_contains_spent_hours_and_total_spent_hours_when_permission_does_not_exists: ActiveRecord::StatementInvalid: PG::FeatureNotSupported: ERROR: SELECT FOR UPDATE/SHARE is not allowed with DISTINCT clause : SELECT "issues"."id" FROM "issues" INNER JOIN (SELECT DISTINCT "issues"."root_id" FROM "issues" WHERE "issues"."id" = 3) as i2 ON issues.root_id = i2.root_id ORDER BY "issues"."id" ASC FOR UPDATE lib/redmine/nested_set/issue_nested_set.rb:162:in `lock_nested_set' lib/redmine/nested_set/issue_nested_set.rb:52:in `add_to_nested_set' app/models/issue.rb:211:in `create_or_update' test/object_helpers.rb:103:in `generate!' test/integration/api_test/issues_test.rb:375:in `block in <class:IssuesTest>'
9) Error: JournalsControllerTest#test_index_should_show_visible_custom_fields_only: ActiveRecord::StatementInvalid: PG::FeatureNotSupported: ERROR: SELECT FOR UPDATE/SHARE is not allowed with DISTINCT clause : SELECT "issues"."id" FROM "issues" INNER JOIN (SELECT DISTINCT "issues"."root_id" FROM "issues" WHERE "issues"."id" = 1) as i2 ON issues.root_id = i2.root_id ORDER BY "issues"."id" ASC FOR UPDATE lib/redmine/nested_set/issue_nested_set.rb:162:in `lock_nested_set' lib/redmine/nested_set/issue_nested_set.rb:120:in `destroy_children' app/models/issue.rb:225:in `destroy' test/functional/journals_controller_test.rb:54:in `test_index_should_show_visible_custom_fields_only'
10) Failure: Redmine::ApiTest::ProjectsTest#test_DELETE_/projects/:id.xml_should_delete_the_project [/var/lib/jenkins/workspace/trunk/DATABASE_ADAPTER/postgresql/RUBY_VER/ruby-2.3/test/integration/api_test/projects_test.rb:227]: "Project.count" didn't change by -1. Expected: 5 Actual: 6 11) Error: Redmine::Helpers::GanttHelperTest#test_#subjects_issue_with_subtasks_should_indent_subtasks: ActiveRecord::StatementInvalid: PG::FeatureNotSupported: ERROR: SELECT FOR UPDATE/SHARE is not allowed with DISTINCT clause : SELECT "issues"."id" FROM "issues" INNER JOIN (SELECT DISTINCT "issues"."root_id" FROM "issues" WHERE "issues"."id" = 90) as i2 ON issues.root_id = i2.root_id ORDER BY "issues"."id" ASC FOR UPDATE lib/redmine/nested_set/issue_nested_set.rb:162:in `lock_nested_set' lib/redmine/nested_set/issue_nested_set.rb:52:in `add_to_nested_set' app/models/issue.rb:211:in `create_or_update' test/object_helpers.rb:103:in `generate!' test/unit/lib/redmine/helpers/gantt_test.rb:180:in `block in <class:GanttHelperTest>' 12) Error: Redmine::Helpers::GanttHelperTest#test_sort_issues_no_date: ActiveRecord::StatementInvalid: PG::FeatureNotSupported: ERROR: SELECT FOR UPDATE/SHARE is not allowed with DISTINCT clause : SELECT "issues"."id" FROM "issues" INNER JOIN (SELECT DISTINCT "issues"."root_id" FROM "issues" WHERE "issues"."id" = 95) as i2 ON issues.root_id = i2.root_id ORDER BY "issues"."id" ASC FOR UPDATE lib/redmine/nested_set/issue_nested_set.rb:162:in `lock_nested_set' lib/redmine/nested_set/issue_nested_set.rb:52:in `add_to_nested_set' app/models/issue.rb:211:in `create_or_update' test/object_helpers.rb:103:in `generate!' test/unit/lib/redmine/helpers/gantt_test.rb:426:in `test_sort_issues_no_date' 13) Error: Redmine::Helpers::GanttHelperTest#test_sort_issues_tree: ActiveRecord::StatementInvalid: PG::FeatureNotSupported: ERROR: SELECT FOR UPDATE/SHARE is not allowed with DISTINCT clause : SELECT "issues"."id" FROM "issues" INNER JOIN (SELECT DISTINCT "issues"."root_id" FROM "issues" WHERE "issues"."id" = 98) as i2 ON issues.root_id = i2.root_id ORDER BY "issues"."id" ASC FOR UPDATE lib/redmine/nested_set/issue_nested_set.rb:162:in `lock_nested_set' lib/redmine/nested_set/issue_nested_set.rb:52:in `add_to_nested_set' app/models/issue.rb:211:in `create_or_update' test/object_helpers.rb:103:in `generate!' test/unit/lib/redmine/helpers/gantt_test.rb:461:in `test_sort_issues_tree' 14) Error: VersionTest#test_#estimated_hours_should_return_the_sum_of_leaves_estimated_hours: ActiveRecord::StatementInvalid: PG::FeatureNotSupported: ERROR: SELECT FOR UPDATE/SHARE is not allowed with DISTINCT clause : SELECT "issues"."id" FROM "issues" INNER JOIN (SELECT DISTINCT "issues"."root_id" FROM "issues" WHERE "issues"."id" = 19) as i2 ON issues.root_id = i2.root_id ORDER BY "issues"."id" ASC FOR UPDATE lib/redmine/nested_set/issue_nested_set.rb:162:in `lock_nested_set' lib/redmine/nested_set/issue_nested_set.rb:52:in `add_to_nested_set' app/models/issue.rb:211:in `create_or_update' test/unit/version_test.rb:283:in `add_issue' test/unit/version_test.rb:217:in `block in <class:VersionTest>' 15) Error: IssueTest#test_issue_and_blocked_issue_should_be_able_to_be_moved_to_the_same_parent: ActiveRecord::StatementInvalid: PG::FeatureNotSupported: ERROR: SELECT FOR UPDATE/SHARE is not allowed with DISTINCT clause : SELECT "issues"."id" FROM "issues" INNER JOIN (SELECT DISTINCT "issues"."root_id" FROM "issues" WHERE "issues"."id" IN (70, 72)) as i2 ON issues.root_id = i2.root_id ORDER BY "issues"."id" ASC FOR UPDATE lib/redmine/nested_set/issue_nested_set.rb:162:in `lock_nested_set' lib/redmine/nested_set/issue_nested_set.rb:72:in `handle_parent_change' app/models/issue.rb:211:in `create_or_update' test/test_helper.rb:201:in `assert_save' test/unit/issue_test.rb:2197:in `test_issue_and_blocked_issue_should_be_able_to_be_moved_to_the_same_parent' 16) Error: IssueTest#test_issue_copy_should_be_able_to_be_moved_to_the_same_parent_as_copied_issue: ActiveRecord::StatementInvalid: PG::FeatureNotSupported: ERROR: SELECT FOR UPDATE/SHARE is not allowed with DISTINCT clause : SELECT "issues"."id" FROM "issues" INNER JOIN (SELECT DISTINCT "issues"."root_id" FROM "issues" WHERE "issues"."id" IN (74, 75)) as i2 ON issues.root_id = i2.root_id ORDER BY "issues"."id" ASC FOR UPDATE lib/redmine/nested_set/issue_nested_set.rb:162:in `lock_nested_set' lib/redmine/nested_set/issue_nested_set.rb:72:in `handle_parent_change' app/models/issue.rb:211:in `create_or_update' test/unit/issue_test.rb:2222:in `test_issue_copy_should_be_able_to_be_moved_to_the_same_parent_as_copied_issue' 17) Error: IssueTest#test_issue_and_following_issue_should_be_able_to_be_moved_to_the_same_parent: ActiveRecord::StatementInvalid: PG::FeatureNotSupported: ERROR: SELECT FOR UPDATE/SHARE is not allowed with DISTINCT clause : SELECT "issues"."id" FROM "issues" INNER JOIN (SELECT DISTINCT "issues"."root_id" FROM "issues" WHERE "issues"."id" IN (80, 82)) as i2 ON issues.root_id = i2.root_id ORDER BY "issues"."id" ASC FOR UPDATE lib/redmine/nested_set/issue_nested_set.rb:162:in `lock_nested_set' lib/redmine/nested_set/issue_nested_set.rb:72:in `handle_parent_change' app/models/issue.rb:211:in `create_or_update' test/test_helper.rb:201:in `assert_save' test/unit/issue_test.rb:2169:in `test_issue_and_following_issue_should_be_able_to_be_moved_to_the_same_parent' 18) Error: IssueTest#test_copy_should_copy_subtasks: ActiveRecord::StatementInvalid: PG::FeatureNotSupported: ERROR: SELECT FOR UPDATE/SHARE is not allowed with DISTINCT clause : SELECT "issues"."id" FROM "issues" INNER JOIN (SELECT DISTINCT "issues"."root_id" FROM "issues" WHERE "issues"."id" = 85) as i2 ON issues.root_id = i2.root_id ORDER BY "issues"."id" ASC FOR UPDATE lib/redmine/nested_set/issue_nested_set.rb:162:in `lock_nested_set' lib/redmine/nested_set/issue_nested_set.rb:52:in `add_to_nested_set' app/models/issue.rb:211:in `create_or_update' test/object_helpers.rb:103:in `generate!' test/object_helpers.rb:110:in `generate_with_descendants!' test/unit/issue_test.rb:1277:in `test_copy_should_copy_subtasks' 19) Error: IssueTest#test_move_to_another_project_should_clear_parent_if_not_valid: ActiveRecord::StatementInvalid: PG::FeatureNotSupported: ERROR: SELECT FOR UPDATE/SHARE is not allowed with DISTINCT clause : SELECT "issues"."id" FROM "issues" INNER JOIN (SELECT DISTINCT "issues"."root_id" FROM "issues" WHERE "issues"."id" IN (1, 2)) as i2 ON issues.root_id = i2.root_id ORDER BY "issues"."id" ASC FOR UPDATE lib/redmine/nested_set/issue_nested_set.rb:162:in `lock_nested_set' lib/redmine/nested_set/issue_nested_set.rb:72:in `handle_parent_change' app/models/issue.rb:211:in `create_or_update' test/unit/issue_test.rb:1717:in `test_move_to_another_project_should_clear_parent_if_not_valid' 20) Error: IssueTest#test_child_issue_should_consider_parent_soonest_start_on_create: ActiveRecord::StatementInvalid: PG::FeatureNotSupported: ERROR: SELECT FOR UPDATE/SHARE is not allowed with DISTINCT clause : SELECT "issues"."id" FROM "issues" INNER JOIN (SELECT DISTINCT "issues"."root_id" FROM "issues" WHERE "issues"."id" = 88) as i2 ON issues.root_id = i2.root_id ORDER BY "issues"."id" ASC FOR UPDATE lib/redmine/nested_set/issue_nested_set.rb:162:in `lock_nested_set' lib/redmine/nested_set/issue_nested_set.rb:52:in `add_to_nested_set' app/models/issue.rb:211:in `create_or_update' test/unit/issue_test.rb:2099:in `block in test_child_issue_should_consider_parent_soonest_start_on_create' test/test_helper.rb:104:in `with_settings' test/unit/issue_test.rb:2092:in `test_child_issue_should_consider_parent_soonest_start_on_create' 21) Error: IssueTest#test_destroying_a_deleted_issue_should_not_raise_an_error: ActiveRecord::StatementInvalid: PG::FeatureNotSupported: ERROR: SELECT FOR UPDATE/SHARE is not allowed with DISTINCT clause : SELECT "issues"."id" FROM "issues" INNER JOIN (SELECT DISTINCT "issues"."root_id" FROM "issues" WHERE "issues"."id" = 1) as i2 ON issues.root_id = i2.root_id ORDER BY "issues"."id" ASC FOR UPDATE lib/redmine/nested_set/issue_nested_set.rb:162:in `lock_nested_set' lib/redmine/nested_set/issue_nested_set.rb:120:in `destroy_children' app/models/issue.rb:225:in `destroy' test/unit/issue_test.rb:1906:in `test_destroying_a_deleted_issue_should_not_raise_an_error' 22) Error: IssueTest#test_copy_as_a_child_of_copied_issue_should_not_copy_itself: ActiveRecord::StatementInvalid: PG::FeatureNotSupported: ERROR: SELECT FOR UPDATE/SHARE is not allowed with DISTINCT clause : SELECT "issues"."id" FROM "issues" INNER JOIN (SELECT DISTINCT "issues"."root_id" FROM "issues" WHERE "issues"."id" = 90) as i2 ON issues.root_id = i2.root_id ORDER BY "issues"."id" ASC FOR UPDATE lib/redmine/nested_set/issue_nested_set.rb:162:in `lock_nested_set' lib/redmine/nested_set/issue_nested_set.rb:52:in `add_to_nested_set' app/models/issue.rb:211:in `create_or_update' test/object_helpers.rb:103:in `generate!' test/unit/issue_test.rb:1293:in `test_copy_as_a_child_of_copied_issue_should_not_copy_itself' 23) Error: IssueTest#test_move_to_another_project_should_keep_parent_if_valid: ActiveRecord::StatementInvalid: PG::FeatureNotSupported: ERROR: SELECT FOR UPDATE/SHARE is not allowed with DISTINCT clause : SELECT "issues"."id" FROM "issues" INNER JOIN (SELECT DISTINCT "issues"."root_id" FROM "issues" WHERE "issues"."id" IN (1, 2)) as i2 ON issues.root_id = i2.root_id ORDER BY "issues"."id" ASC FOR UPDATE lib/redmine/nested_set/issue_nested_set.rb:162:in `lock_nested_set' lib/redmine/nested_set/issue_nested_set.rb:72:in `handle_parent_change' app/models/issue.rb:211:in `create_or_update' test/unit/issue_test.rb:1708:in `test_move_to_another_project_should_keep_parent_if_valid' 24) Error: IssueTest#test_issue_and_blocking_issue_should_be_able_to_be_moved_to_the_same_parent: ActiveRecord::StatementInvalid: PG::FeatureNotSupported: ERROR: SELECT FOR UPDATE/SHARE is not allowed with DISTINCT clause : SELECT "issues"."id" FROM "issues" INNER JOIN (SELECT DISTINCT "issues"."root_id" FROM "issues" WHERE "issues"."id" IN (107, 109)) as i2 ON issues.root_id = i2.root_id ORDER BY "issues"."id" ASC FOR UPDATE lib/redmine/nested_set/issue_nested_set.rb:162:in `lock_nested_set' lib/redmine/nested_set/issue_nested_set.rb:72:in `handle_parent_change' app/models/issue.rb:211:in `create_or_update' test/test_helper.rb:201:in `assert_save' test/unit/issue_test.rb:2211:in `test_issue_and_blocking_issue_should_be_able_to_be_moved_to_the_same_parent' 25) Error: IssueTest#test_visible_and_nested_set_scopes: ActiveRecord::StatementInvalid: PG::FeatureNotSupported: ERROR: SELECT FOR UPDATE/SHARE is not allowed with DISTINCT clause : SELECT "issues"."id" FROM "issues" INNER JOIN (SELECT DISTINCT "issues"."root_id" FROM "issues" WHERE "issues"."id" = 110) as i2 ON issues.root_id = i2.root_id ORDER BY "issues"."id" ASC FOR UPDATE lib/redmine/nested_set/issue_nested_set.rb:162:in `lock_nested_set' lib/redmine/nested_set/issue_nested_set.rb:52:in `add_to_nested_set' app/models/issue.rb:211:in `create_or_update' test/object_helpers.rb:103:in `generate!' test/unit/issue_test.rb:463:in `test_visible_and_nested_set_scopes' 26) Error: IssueTest#test_create_with_sharp_parent_issue_id: ActiveRecord::StatementInvalid: PG::FeatureNotSupported: ERROR: SELECT FOR UPDATE/SHARE is not allowed with DISTINCT clause : SELECT "issues"."id" FROM "issues" INNER JOIN (SELECT DISTINCT "issues"."root_id" FROM "issues" WHERE "issues"."id" = 1) as i2 ON issues.root_id = i2.root_id ORDER BY "issues"."id" ASC FOR UPDATE lib/redmine/nested_set/issue_nested_set.rb:162:in `lock_nested_set' lib/redmine/nested_set/issue_nested_set.rb:52:in `add_to_nested_set' app/models/issue.rb:211:in `create_or_update' test/test_helper.rb:201:in `assert_save' test/unit/issue_test.rb:188:in `test_create_with_sharp_parent_issue_id' 27) Error: IssueTest#test_copy_should_not_copy_subtasks_twice_when_saving_twice: ActiveRecord::StatementInvalid: PG::FeatureNotSupported: ERROR: SELECT FOR UPDATE/SHARE is not allowed with DISTINCT clause : SELECT "issues"."id" FROM "issues" INNER JOIN (SELECT DISTINCT "issues"."root_id" FROM "issues" WHERE "issues"."id" = 123) as i2 ON issues.root_id = i2.root_id ORDER BY "issues"."id" ASC FOR UPDATE lib/redmine/nested_set/issue_nested_set.rb:162:in `lock_nested_set' lib/redmine/nested_set/issue_nested_set.rb:52:in `add_to_nested_set' app/models/issue.rb:211:in `create_or_update' test/object_helpers.rb:103:in `generate!' test/object_helpers.rb:110:in `generate_with_descendants!' test/unit/issue_test.rb:1345:in `test_copy_should_not_copy_subtasks_twice_when_saving_twice' 28) Error: IssueTest#test_copy_as_a_descendant_of_copied_issue_should_not_copy_itself: ActiveRecord::StatementInvalid: PG::FeatureNotSupported: ERROR: SELECT FOR UPDATE/SHARE is not allowed with DISTINCT clause : SELECT "issues"."id" FROM "issues" INNER JOIN (SELECT DISTINCT "issues"."root_id" FROM "issues" WHERE "issues"."id" = 125) as i2 ON issues.root_id = i2.root_id ORDER BY "issues"."id" ASC FOR UPDATE lib/redmine/nested_set/issue_nested_set.rb:162:in `lock_nested_set' lib/redmine/nested_set/issue_nested_set.rb:52:in `add_to_nested_set' app/models/issue.rb:211:in `create_or_update' test/object_helpers.rb:103:in `generate!' test/unit/issue_test.rb:1313:in `test_copy_as_a_descendant_of_copied_issue_should_not_copy_itself' 29) Error: IssueTest#test_setting_parent_to_a_an_issue_that_precedes_through_hierarchy_should_not_validate: ActiveRecord::StatementInvalid: PG::FeatureNotSupported: ERROR: SELECT FOR UPDATE/SHARE is not allowed with DISTINCT clause : SELECT "issues"."id" FROM "issues" INNER JOIN (SELECT DISTINCT "issues"."root_id" FROM "issues" WHERE "issues"."id" IN (127, 128)) as i2 ON issues.root_id = i2.root_id ORDER BY "issues"."id" ASC FOR UPDATE lib/redmine/nested_set/issue_nested_set.rb:162:in `lock_nested_set' lib/redmine/nested_set/issue_nested_set.rb:72:in `handle_parent_change' app/models/issue.rb:211:in `create_or_update' test/unit/issue_test.rb:2153:in `test_setting_parent_to_a_an_issue_that_precedes_through_hierarchy_should_not_validate' 30) Error: IssueTest#test_copy_should_copy_subtasks_to_target_project: ActiveRecord::StatementInvalid: PG::FeatureNotSupported: ERROR: SELECT FOR UPDATE/SHARE is not allowed with DISTINCT clause : SELECT "issues"."id" FROM "issues" INNER JOIN (SELECT DISTINCT "issues"."root_id" FROM "issues" WHERE "issues"."id" = 141) as i2 ON issues.root_id = i2.root_id ORDER BY "issues"."id" ASC FOR UPDATE lib/redmine/nested_set/issue_nested_set.rb:162:in `lock_nested_set' lib/redmine/nested_set/issue_nested_set.rb:52:in `add_to_nested_set' app/models/issue.rb:211:in `create_or_update' test/object_helpers.rb:103:in `generate!' test/object_helpers.rb:110:in `generate_with_descendants!' test/unit/issue_test.rb:1335:in `test_copy_should_copy_subtasks_to_target_project' 31) Error: IssueTest#test_destroying_a_stale_issue_should_not_raise_an_error: ActiveRecord::StatementInvalid: PG::FeatureNotSupported: ERROR: SELECT FOR UPDATE/SHARE is not allowed with DISTINCT clause : SELECT "issues"."id" FROM "issues" INNER JOIN (SELECT DISTINCT "issues"."root_id" FROM "issues" WHERE "issues"."id" = 1) as i2 ON issues.root_id = i2.root_id ORDER BY "issues"."id" ASC FOR UPDATE lib/redmine/nested_set/issue_nested_set.rb:162:in `lock_nested_set' lib/redmine/nested_set/issue_nested_set.rb:120:in `destroy_children' app/models/issue.rb:225:in `destroy' test/unit/issue_test.rb:1922:in `block (2 levels) in test_destroying_a_stale_issue_should_not_raise_an_error' test/unit/issue_test.rb:1921:in `block in test_destroying_a_stale_issue_should_not_raise_an_error' test/unit/issue_test.rb:1920:in `test_destroying_a_stale_issue_should_not_raise_an_error' 32) Error: IssueTest#test_issue_destroy: ActiveRecord::StatementInvalid: PG::FeatureNotSupported: ERROR: SELECT FOR UPDATE/SHARE is not allowed with DISTINCT clause : SELECT "issues"."id" FROM "issues" INNER JOIN (SELECT DISTINCT "issues"."root_id" FROM "issues" WHERE "issues"."id" = 1) as i2 ON issues.root_id = i2.root_id ORDER BY "issues"."id" ASC FOR UPDATE lib/redmine/nested_set/issue_nested_set.rb:162:in `lock_nested_set' lib/redmine/nested_set/issue_nested_set.rb:120:in `destroy_children' app/models/issue.rb:225:in `destroy' test/unit/issue_test.rb:1890:in `test_issue_destroy' 33) Error: IssueTest#test_create_with_parent_issue_id: ActiveRecord::StatementInvalid: PG::FeatureNotSupported: ERROR: SELECT FOR UPDATE/SHARE is not allowed with DISTINCT clause : SELECT "issues"."id" FROM "issues" INNER JOIN (SELECT DISTINCT "issues"."root_id" FROM "issues" WHERE "issues"."id" = 1) as i2 ON issues.root_id = i2.root_id ORDER BY "issues"."id" ASC FOR UPDATE lib/redmine/nested_set/issue_nested_set.rb:162:in `lock_nested_set' lib/redmine/nested_set/issue_nested_set.rb:52:in `add_to_nested_set' app/models/issue.rb:211:in `create_or_update' test/test_helper.rb:201:in `assert_save' test/unit/issue_test.rb:179:in `test_create_with_parent_issue_id' 34) Error: IssueTest#test_destroy_should_delete_time_entries_custom_values: ActiveRecord::StatementInvalid: PG::FeatureNotSupported: ERROR: SELECT FOR UPDATE/SHARE is not allowed with DISTINCT clause : SELECT "issues"."id" FROM "issues" INNER JOIN (SELECT DISTINCT "issues"."root_id" FROM "issues" WHERE "issues"."id" = 164) as i2 ON issues.root_id = i2.root_id ORDER BY "issues"."id" ASC FOR UPDATE lib/redmine/nested_set/issue_nested_set.rb:162:in `lock_nested_set' lib/redmine/nested_set/issue_nested_set.rb:120:in `destroy_children' app/models/issue.rb:225:in `destroy' test/unit/issue_test.rb:1900:in `block in test_destroy_should_delete_time_entries_custom_values' test/unit/issue_test.rb:1899:in `test_destroy_should_delete_time_entries_custom_values' 35) Error: IssueTest#test_issue_and_preceding_issue_should_be_able_to_be_moved_to_the_same_parent: ActiveRecord::StatementInvalid: PG::FeatureNotSupported: ERROR: SELECT FOR UPDATE/SHARE is not allowed with DISTINCT clause : SELECT "issues"."id" FROM "issues" INNER JOIN (SELECT DISTINCT "issues"."root_id" FROM "issues" WHERE "issues"."id" IN (174, 176)) as i2 ON issues.root_id = i2.root_id ORDER BY "issues"."id" ASC FOR UPDATE lib/redmine/nested_set/issue_nested_set.rb:162:in `lock_nested_set' lib/redmine/nested_set/issue_nested_set.rb:72:in `handle_parent_change' app/models/issue.rb:211:in `create_or_update' test/test_helper.rb:201:in `assert_save' test/unit/issue_test.rb:2183:in `test_issue_and_preceding_issue_should_be_able_to_be_moved_to_the_same_parent' 36) Error: IssuesHelperTest#test_issues_destroy_confirmation_message_with_one_parent_issue_and_its_child: ActiveRecord::StatementInvalid: PG::FeatureNotSupported: ERROR: SELECT FOR UPDATE/SHARE is not allowed with DISTINCT clause : SELECT "issues"."id" FROM "issues" INNER JOIN (SELECT DISTINCT "issues"."root_id" FROM "issues" WHERE "issues"."id" IN (2, 1)) as i2 ON issues.root_id = i2.root_id ORDER BY "issues"."id" ASC FOR UPDATE lib/redmine/nested_set/issue_nested_set.rb:162:in `lock_nested_set' lib/redmine/nested_set/issue_nested_set.rb:72:in `handle_parent_change' app/models/issue.rb:211:in `create_or_update' test/unit/helpers/issues_helper_test.rb:66:in `test_issues_destroy_confirmation_message_with_one_parent_issue_and_its_child' 37) Error: IssuesHelperTest#test_issues_destroy_confirmation_message_with_one_parent_issue: ActiveRecord::StatementInvalid: PG::FeatureNotSupported: ERROR: SELECT FOR UPDATE/SHARE is not allowed with DISTINCT clause : SELECT "issues"."id" FROM "issues" INNER JOIN (SELECT DISTINCT "issues"."root_id" FROM "issues" WHERE "issues"."id" IN (2, 1)) as i2 ON issues.root_id = i2.root_id ORDER BY "issues"."id" ASC FOR UPDATE lib/redmine/nested_set/issue_nested_set.rb:162:in `lock_nested_set' lib/redmine/nested_set/issue_nested_set.rb:72:in `handle_parent_change' app/models/issue.rb:211:in `create_or_update' test/unit/helpers/issues_helper_test.rb:59:in `test_issues_destroy_confirmation_message_with_one_parent_issue' 38) Error: IssuesHelperTest#test_issues_destroy_confirmation_message_with_issues_that_share_descendants: ActiveRecord::StatementInvalid: PG::FeatureNotSupported: ERROR: SELECT FOR UPDATE/SHARE is not allowed with DISTINCT clause : SELECT "issues"."id" FROM "issues" INNER JOIN (SELECT DISTINCT "issues"."root_id" FROM "issues" WHERE "issues"."id" = 179) as i2 ON issues.root_id = i2.root_id ORDER BY "issues"."id" ASC FOR UPDATE lib/redmine/nested_set/issue_nested_set.rb:162:in `lock_nested_set' lib/redmine/nested_set/issue_nested_set.rb:52:in `add_to_nested_set' app/models/issue.rb:211:in `create_or_update' test/object_helpers.rb:103:in `generate!' test/unit/helpers/issues_helper_test.rb:73:in `test_issues_destroy_confirmation_message_with_issues_that_share_descendants' 39) Error: ProjectCopyTest#test_#copy_should_copy_subtasks: ActiveRecord::StatementInvalid: PG::FeatureNotSupported: ERROR: SELECT FOR UPDATE/SHARE is not allowed with DISTINCT clause : SELECT "issues"."id" FROM "issues" INNER JOIN (SELECT DISTINCT "issues"."root_id" FROM "issues" WHERE "issues"."id" = 202) as i2 ON issues.root_id = i2.root_id ORDER BY "issues"."id" ASC FOR UPDATE lib/redmine/nested_set/issue_nested_set.rb:162:in `lock_nested_set' lib/redmine/nested_set/issue_nested_set.rb:52:in `add_to_nested_set' app/models/issue.rb:211:in `create_or_update' test/object_helpers.rb:103:in `generate!' test/object_helpers.rb:110:in `generate_with_descendants!' test/unit/project_copy_test.rb:360:in `block in <class:ProjectCopyTest>' 40) Error: MailHandlerControllerTest#test_should_respond_with_422_if_not_created: ActiveRecord::StatementInvalid: PG::FeatureNotSupported: ERROR: SELECT FOR UPDATE/SHARE is not allowed with DISTINCT clause : SELECT "issues"."id" FROM "issues" INNER JOIN (SELECT DISTINCT "issues"."root_id" FROM "issues" WHERE "issues"."id" = 4) as i2 ON issues.root_id = i2.root_id ORDER BY "issues"."id" ASC FOR UPDATE lib/redmine/nested_set/issue_nested_set.rb:162:in `lock_nested_set' lib/redmine/nested_set/issue_nested_set.rb:120:in `destroy_children' app/models/issue.rb:225:in `destroy' test/functional/mail_handler_controller_test.rb:57:in `test_should_respond_with_422_if_not_created' 41) Error: ProjectTest#test_destroy_should_destroy_subtasks: ActiveRecord::StatementInvalid: PG::FeatureNotSupported: ERROR: SELECT FOR UPDATE/SHARE is not allowed with DISTINCT clause : SELECT "issues"."id" FROM "issues" INNER JOIN (SELECT DISTINCT "issues"."root_id" FROM "issues" WHERE "issues"."id" IN (223, 224)) as i2 ON issues.root_id = i2.root_id ORDER BY "issues"."id" ASC FOR UPDATE lib/redmine/nested_set/issue_nested_set.rb:162:in `lock_nested_set' lib/redmine/nested_set/issue_nested_set.rb:72:in `handle_parent_change' app/models/issue.rb:211:in `create_or_update' test/unit/project_test.rb:227:in `test_destroy_should_destroy_subtasks' 42) Error: ProjectTest#test_destroying_root_projects_should_clear_data: ActiveRecord::StatementInvalid: PG::FeatureNotSupported: ERROR: SELECT FOR UPDATE/SHARE is not allowed with DISTINCT clause : SELECT "issues"."id" FROM "issues" INNER JOIN (SELECT DISTINCT "issues"."root_id" FROM "issues" WHERE "issues"."id" = 6) as i2 ON issues.root_id = i2.root_id ORDER BY "issues"."id" ASC FOR UPDATE lib/redmine/nested_set/issue_nested_set.rb:162:in `lock_nested_set' lib/redmine/nested_set/issue_nested_set.rb:120:in `destroy_children' app/models/issue.rb:225:in `destroy' lib/redmine/nested_set/project_nested_set.rb:105:in `destroy_without_nested_set_update' lib/redmine/nested_set/project_nested_set.rb:93:in `block in destroy_children' lib/redmine/nested_set/project_nested_set.rb:93:in `destroy_children' test/unit/project_test.rb:239:in `block in test_destroying_root_projects_should_clear_data' test/unit/project_test.rb:238:in `test_destroying_root_projects_should_clear_data' 43) Error: ProjectTest#test_destroy: ActiveRecord::StatementInvalid: PG::FeatureNotSupported: ERROR: SELECT FOR UPDATE/SHARE is not allowed with DISTINCT clause : SELECT "issues"."id" FROM "issues" INNER JOIN (SELECT DISTINCT "issues"."root_id" FROM "issues" WHERE "issues"."id" = 6) as i2 ON issues.root_id = i2.root_id ORDER BY "issues"."id" ASC FOR UPDATE lib/redmine/nested_set/issue_nested_set.rb:162:in `lock_nested_set' lib/redmine/nested_set/issue_nested_set.rb:120:in `destroy_children' app/models/issue.rb:225:in `destroy' lib/redmine/nested_set/project_nested_set.rb:105:in `destroy_without_nested_set_update' lib/redmine/nested_set/project_nested_set.rb:93:in `block in destroy_children' lib/redmine/nested_set/project_nested_set.rb:93:in `destroy_children' test/unit/project_test.rb:216:in `test_destroy' 44) Error: IssueRelationTest#test_subtasks_should_allow_precedes_relation: ActiveRecord::StatementInvalid: PG::FeatureNotSupported: ERROR: SELECT FOR UPDATE/SHARE is not allowed with DISTINCT clause : SELECT "issues"."id" FROM "issues" INNER JOIN (SELECT DISTINCT "issues"."root_id" FROM "issues" WHERE "issues"."id" = 268) as i2 ON issues.root_id = i2.root_id ORDER BY "issues"."id" ASC FOR UPDATE lib/redmine/nested_set/issue_nested_set.rb:162:in `lock_nested_set' lib/redmine/nested_set/issue_nested_set.rb:52:in `add_to_nested_set' app/models/issue.rb:211:in `create_or_update' test/object_helpers.rb:103:in `generate!' test/unit/issue_relation_test.rb:143:in `test_subtasks_should_allow_precedes_relation' 45) Error: IssueRelationTest#test_validates_circular_dependency_of_subtask: ActiveRecord::StatementInvalid: PG::FeatureNotSupported: ERROR: SELECT FOR UPDATE/SHARE is not allowed with DISTINCT clause : SELECT "issues"."id" FROM "issues" INNER JOIN (SELECT DISTINCT "issues"."root_id" FROM "issues" WHERE "issues"."id" = 270) as i2 ON issues.root_id = i2.root_id ORDER BY "issues"."id" ASC FOR UPDATE lib/redmine/nested_set/issue_nested_set.rb:162:in `lock_nested_set' lib/redmine/nested_set/issue_nested_set.rb:52:in `add_to_nested_set' app/models/issue.rb:211:in `create_or_update' test/object_helpers.rb:103:in `generate!' test/unit/issue_relation_test.rb:129:in `test_validates_circular_dependency_of_subtask' 46) Error: IssuesControllerTest#test_index_with_parent_column: ActiveRecord::StatementInvalid: PG::FeatureNotSupported: ERROR: SELECT FOR UPDATE/SHARE is not allowed with DISTINCT clause : SELECT "issues"."id" FROM "issues" INNER JOIN (SELECT DISTINCT "issues"."root_id" FROM "issues" WHERE "issues"."id" = 35) as i2 ON issues.root_id = i2.root_id ORDER BY "issues"."id" ASC FOR UPDATE lib/redmine/nested_set/issue_nested_set.rb:162:in `lock_nested_set' lib/redmine/nested_set/issue_nested_set.rb:52:in `add_to_nested_set' app/models/issue.rb:211:in `create_or_update' test/object_helpers.rb:103:in `generate!' test/functional/issues_controller_test.rb:965:in `test_index_with_parent_column' 47) Error: IssuesControllerTest#test_create_as_copy_without_copy_subtasks_option_should_not_copy_subtasks: ActiveRecord::StatementInvalid: PG::FeatureNotSupported: ERROR: SELECT FOR UPDATE/SHARE is not allowed with DISTINCT clause : SELECT "issues"."id" FROM "issues" INNER JOIN (SELECT DISTINCT "issues"."root_id" FROM "issues" WHERE "issues"."id" = 39) as i2 ON issues.root_id = i2.root_id ORDER BY "issues"."id" ASC FOR UPDATE lib/redmine/nested_set/issue_nested_set.rb:162:in `lock_nested_set' lib/redmine/nested_set/issue_nested_set.rb:52:in `add_to_nested_set' app/models/issue.rb:211:in `create_or_update' test/object_helpers.rb:103:in `generate!' test/object_helpers.rb:110:in `generate_with_descendants!' test/functional/issues_controller_test.rb:3110:in `test_create_as_copy_without_copy_subtasks_option_should_not_copy_subtasks' 48) Error: IssuesControllerTest#test_destroy_parent_and_child_issues: ActiveRecord::StatementInvalid: PG::FeatureNotSupported: ERROR: SELECT FOR UPDATE/SHARE is not allowed with DISTINCT clause : SELECT "issues"."id" FROM "issues" INNER JOIN (SELECT DISTINCT "issues"."root_id" FROM "issues" WHERE "issues"."id" = 54) as i2 ON issues.root_id = i2.root_id ORDER BY "issues"."id" ASC FOR UPDATE lib/redmine/nested_set/issue_nested_set.rb:162:in `lock_nested_set' lib/redmine/nested_set/issue_nested_set.rb:52:in `add_to_nested_set' app/models/issue.rb:211:in `create_or_update' test/functional/issues_controller_test.rb:4697:in `test_destroy_parent_and_child_issues' 49) Error: IssuesControllerTest#test_create_as_copy_to_a_different_project_should_copy_subtask_custom_fields: ActiveRecord::StatementInvalid: PG::FeatureNotSupported: ERROR: SELECT FOR UPDATE/SHARE is not allowed with DISTINCT clause : SELECT "issues"."id" FROM "issues" INNER JOIN (SELECT DISTINCT "issues"."root_id" FROM "issues" WHERE "issues"."id" = 59) as i2 ON issues.root_id = i2.root_id ORDER BY "issues"."id" ASC FOR UPDATE lib/redmine/nested_set/issue_nested_set.rb:162:in `lock_nested_set' lib/redmine/nested_set/issue_nested_set.rb:52:in `add_to_nested_set' app/models/issue.rb:211:in `create_or_update' test/object_helpers.rb:103:in `generate!' test/functional/issues_controller_test.rb:3092:in `test_create_as_copy_to_a_different_project_should_copy_subtask_custom_fields' 50) Error: IssuesControllerTest#test_show_should_list_subtasks: ActiveRecord::StatementInvalid: PG::FeatureNotSupported: ERROR: SELECT FOR UPDATE/SHARE is not allowed with DISTINCT clause : SELECT "issues"."id" FROM "issues" INNER JOIN (SELECT DISTINCT "issues"."root_id" FROM "issues" WHERE "issues"."id" = 1) as i2 ON issues.root_id = i2.root_id ORDER BY "issues"."id" ASC FOR UPDATE lib/redmine/nested_set/issue_nested_set.rb:162:in `lock_nested_set' lib/redmine/nested_set/issue_nested_set.rb:52:in `add_to_nested_set' app/models/issue.rb:211:in `create_or_update' test/functional/issues_controller_test.rb:1318:in `test_show_should_list_subtasks' 51) Error: IssuesControllerTest#test_show_should_list_parents: ActiveRecord::StatementInvalid: PG::FeatureNotSupported: ERROR: SELECT FOR UPDATE/SHARE is not allowed with DISTINCT clause : SELECT "issues"."id" FROM "issues" INNER JOIN (SELECT DISTINCT "issues"."root_id" FROM "issues" WHERE "issues"."id" = 1) as i2 ON issues.root_id = i2.root_id ORDER BY "issues"."id" ASC FOR UPDATE lib/redmine/nested_set/issue_nested_set.rb:162:in `lock_nested_set' lib/redmine/nested_set/issue_nested_set.rb:52:in `add_to_nested_set' app/models/issue.rb:211:in `create_or_update' test/functional/issues_controller_test.rb:1329:in `test_show_should_list_parents' 52) Error: IssuesControllerTest#test_bulk_copy_should_allow_copying_the_subtasks: ActiveRecord::StatementInvalid: PG::FeatureNotSupported: ERROR: SELECT FOR UPDATE/SHARE is not allowed with DISTINCT clause : SELECT "issues"."id" FROM "issues" INNER JOIN (SELECT DISTINCT "issues"."root_id" FROM "issues" WHERE "issues"."id" = 62) as i2 ON issues.root_id = i2.root_id ORDER BY "issues"."id" ASC FOR UPDATE lib/redmine/nested_set/issue_nested_set.rb:162:in `lock_nested_set' lib/redmine/nested_set/issue_nested_set.rb:52:in `add_to_nested_set' app/models/issue.rb:211:in `create_or_update' test/object_helpers.rb:103:in `generate!' test/object_helpers.rb:110:in `generate_with_descendants!' test/functional/issues_controller_test.rb:4565:in `test_bulk_copy_should_allow_copying_the_subtasks' 53) Error: IssuesControllerTest#test_post_create_subissue_with_sharp_parent_id: ActiveRecord::StatementInvalid: PG::FeatureNotSupported: ERROR: SELECT FOR UPDATE/SHARE is not allowed with DISTINCT clause : SELECT "issues"."id" FROM "issues" INNER JOIN (SELECT DISTINCT "issues"."root_id" FROM "issues" WHERE "issues"."id" = 2) as i2 ON issues.root_id = i2.root_id ORDER BY "issues"."id" ASC FOR UPDATE lib/redmine/nested_set/issue_nested_set.rb:162:in `lock_nested_set' lib/redmine/nested_set/issue_nested_set.rb:52:in `add_to_nested_set' app/models/issue.rb:211:in `create_or_update' app/controllers/issues_controller.rb:141:in `create' lib/redmine/sudo_mode.rb:63:in `sudo_mode' test/test_helper.rb:313:in `process' test/functional/issues_controller_test.rb:2476:in `block in test_post_create_subissue_with_sharp_parent_id' test/functional/issues_controller_test.rb:2475:in `test_post_create_subissue_with_sharp_parent_id' 54) Error: IssuesControllerTest#test_destroy_issues_and_assign_time_entries_to_project: ActiveRecord::StatementInvalid: PG::FeatureNotSupported: ERROR: SELECT FOR UPDATE/SHARE is not allowed with DISTINCT clause : SELECT "issues"."id" FROM "issues" INNER JOIN (SELECT DISTINCT "issues"."root_id" FROM "issues" WHERE "issues"."id" = 1) as i2 ON issues.root_id = i2.root_id ORDER BY "issues"."id" ASC FOR UPDATE lib/redmine/nested_set/issue_nested_set.rb:162:in `lock_nested_set' lib/redmine/nested_set/issue_nested_set.rb:120:in `destroy_children' app/models/issue.rb:225:in `destroy' app/controllers/issues_controller.rb:369:in `block in destroy' app/controllers/issues_controller.rb:367:in `each' app/controllers/issues_controller.rb:367:in `destroy' lib/redmine/sudo_mode.rb:63:in `sudo_mode' test/test_helper.rb:313:in `process' test/functional/issues_controller_test.rb:4650:in `block (2 levels) in test_destroy_issues_and_assign_time_entries_to_project' test/functional/issues_controller_test.rb:4649:in `block in test_destroy_issues_and_assign_time_entries_to_project' test/functional/issues_controller_test.rb:4648:in `test_destroy_issues_and_assign_time_entries_to_project' 55) Error: IssuesControllerTest#test_show_export_to_pdf_with_ancestors: ActiveRecord::StatementInvalid: PG::FeatureNotSupported: ERROR: SELECT FOR UPDATE/SHARE is not allowed with DISTINCT clause : SELECT "issues"."id" FROM "issues" INNER JOIN (SELECT DISTINCT "issues"."root_id" FROM "issues" WHERE "issues"."id" = 1) as i2 ON issues.root_id = i2.root_id ORDER BY "issues"."id" ASC FOR UPDATE lib/redmine/nested_set/issue_nested_set.rb:162:in `lock_nested_set' lib/redmine/nested_set/issue_nested_set.rb:52:in `add_to_nested_set' app/models/issue.rb:211:in `create_or_update' test/object_helpers.rb:103:in `generate!' test/functional/issues_controller_test.rb:1641:in `test_show_export_to_pdf_with_ancestors' 56) Error: IssuesControllerTest#test_destroy_issues_and_reassign_time_entries_to_another_issue: ActiveRecord::StatementInvalid: PG::FeatureNotSupported: ERROR: SELECT FOR UPDATE/SHARE is not allowed with DISTINCT clause : SELECT "issues"."id" FROM "issues" INNER JOIN (SELECT DISTINCT "issues"."root_id" FROM "issues" WHERE "issues"."id" = 1) as i2 ON issues.root_id = i2.root_id ORDER BY "issues"."id" ASC FOR UPDATE lib/redmine/nested_set/issue_nested_set.rb:162:in `lock_nested_set' lib/redmine/nested_set/issue_nested_set.rb:120:in `destroy_children' app/models/issue.rb:225:in `destroy' app/controllers/issues_controller.rb:369:in `block in destroy' app/controllers/issues_controller.rb:367:in `each' app/controllers/issues_controller.rb:367:in `destroy' lib/redmine/sudo_mode.rb:63:in `sudo_mode' test/test_helper.rb:313:in `process' test/functional/issues_controller_test.rb:4664:in `block (2 levels) in test_destroy_issues_and_reassign_time_entries_to_another_issue' test/functional/issues_controller_test.rb:4663:in `block in test_destroy_issues_and_reassign_time_entries_to_another_issue' test/functional/issues_controller_test.rb:4662:in `test_destroy_issues_and_reassign_time_entries_to_another_issue' 57) Error: IssuesControllerTest#test_index_csv_should_fill_parent_column_with_parent_id: ActiveRecord::StatementInvalid: PG::FeatureNotSupported: ERROR: SELECT FOR UPDATE/SHARE is not allowed with DISTINCT clause : SELECT "issues"."id" FROM "issues" INNER JOIN (SELECT DISTINCT "issues"."root_id" FROM "issues" WHERE "issues"."id" = 70) as i2 ON issues.root_id = i2.root_id ORDER BY "issues"."id" ASC FOR UPDATE lib/redmine/nested_set/issue_nested_set.rb:162:in `lock_nested_set' lib/redmine/nested_set/issue_nested_set.rb:52:in `add_to_nested_set' app/models/issue.rb:211:in `create_or_update' test/object_helpers.rb:103:in `generate!' test/functional/issues_controller_test.rb:549:in `test_index_csv_should_fill_parent_column_with_parent_id' 58) Error: IssuesControllerTest#test_bulk_copy_should_not_copy_selected_subtasks_twice: ActiveRecord::StatementInvalid: PG::FeatureNotSupported: ERROR: SELECT FOR UPDATE/SHARE is not allowed with DISTINCT clause : SELECT "issues"."id" FROM "issues" INNER JOIN (SELECT DISTINCT "issues"."root_id" FROM "issues" WHERE "issues"."id" = 79) as i2 ON issues.root_id = i2.root_id ORDER BY "issues"."id" ASC FOR UPDATE lib/redmine/nested_set/issue_nested_set.rb:162:in `lock_nested_set' lib/redmine/nested_set/issue_nested_set.rb:52:in `add_to_nested_set' app/models/issue.rb:211:in `create_or_update' test/object_helpers.rb:103:in `generate!' test/object_helpers.rb:110:in `generate_with_descendants!' test/functional/issues_controller_test.rb:4580:in `test_bulk_copy_should_not_copy_selected_subtasks_twice' 59) Error: IssuesControllerTest#test_bulk_update_parent_id: ActiveRecord::StatementInvalid: PG::FeatureNotSupported: ERROR: SELECT FOR UPDATE/SHARE is not allowed with DISTINCT clause : SELECT "issues"."id" FROM "issues" INNER JOIN (SELECT DISTINCT "issues"."root_id" FROM "issues" WHERE "issues"."id" IN (1, 2)) as i2 ON issues.root_id = i2.root_id ORDER BY "issues"."id" ASC FOR UPDATE lib/redmine/nested_set/issue_nested_set.rb:162:in `lock_nested_set' lib/redmine/nested_set/issue_nested_set.rb:72:in `handle_parent_change' app/models/issue.rb:211:in `create_or_update' app/controllers/issues_controller.rb:317:in `block in bulk_update' app/controllers/issues_controller.rb:303:in `each' app/controllers/issues_controller.rb:303:in `bulk_update' lib/redmine/sudo_mode.rb:63:in `sudo_mode' test/test_helper.rb:313:in `process' test/functional/issues_controller_test.rb:4211:in `test_bulk_update_parent_id' 60) Error: IssuesControllerTest#test_bulk_copy_should_allow_not_copying_the_subtasks: ActiveRecord::StatementInvalid: PG::FeatureNotSupported: ERROR: SELECT FOR UPDATE/SHARE is not allowed with DISTINCT clause : SELECT "issues"."id" FROM "issues" INNER JOIN (SELECT DISTINCT "issues"."root_id" FROM "issues" WHERE "issues"."id" = 90) as i2 ON issues.root_id = i2.root_id ORDER BY "issues"."id" ASC FOR UPDATE lib/redmine/nested_set/issue_nested_set.rb:162:in `lock_nested_set' lib/redmine/nested_set/issue_nested_set.rb:52:in `add_to_nested_set' app/models/issue.rb:211:in `create_or_update' test/object_helpers.rb:103:in `generate!' test/object_helpers.rb:110:in `generate_with_descendants!' test/functional/issues_controller_test.rb:4553:in `test_bulk_copy_should_allow_not_copying_the_subtasks' 61) Error: IssuesControllerTest#test_new_as_copy_should_preserve_parent_id: ActiveRecord::StatementInvalid: PG::FeatureNotSupported: ERROR: SELECT FOR UPDATE/SHARE is not allowed with DISTINCT clause : SELECT "issues"."id" FROM "issues" INNER JOIN (SELECT DISTINCT "issues"."root_id" FROM "issues" WHERE "issues"."id" = 2) as i2 ON issues.root_id = i2.root_id ORDER BY "issues"."id" ASC FOR UPDATE lib/redmine/nested_set/issue_nested_set.rb:162:in `lock_nested_set' lib/redmine/nested_set/issue_nested_set.rb:52:in `add_to_nested_set' app/models/issue.rb:211:in `create_or_update' test/object_helpers.rb:103:in `generate!' test/functional/issues_controller_test.rb:2926:in `test_new_as_copy_should_preserve_parent_id' 62) Error: IssuesControllerTest#test_destroy_issues_and_destroy_time_entries: ActiveRecord::StatementInvalid: PG::FeatureNotSupported: ERROR: SELECT FOR UPDATE/SHARE is not allowed with DISTINCT clause : SELECT "issues"."id" FROM "issues" INNER JOIN (SELECT DISTINCT "issues"."root_id" FROM "issues" WHERE "issues"."id" = 1) as i2 ON issues.root_id = i2.root_id ORDER BY "issues"."id" ASC FOR UPDATE lib/redmine/nested_set/issue_nested_set.rb:162:in `lock_nested_set' lib/redmine/nested_set/issue_nested_set.rb:120:in `destroy_children' app/models/issue.rb:225:in `destroy' app/controllers/issues_controller.rb:369:in `block in destroy' app/controllers/issues_controller.rb:367:in `each' app/controllers/issues_controller.rb:367:in `destroy' lib/redmine/sudo_mode.rb:63:in `sudo_mode' test/test_helper.rb:313:in `process' test/functional/issues_controller_test.rb:4637:in `block (2 levels) in test_destroy_issues_and_destroy_time_entries' test/functional/issues_controller_test.rb:4636:in `block in test_destroy_issues_and_destroy_time_entries' test/functional/issues_controller_test.rb:4635:in `test_destroy_issues_and_destroy_time_entries' 63) Error: IssuesControllerTest#test_create_as_copy_should_copy_subtasks: ActiveRecord::StatementInvalid: PG::FeatureNotSupported: ERROR: SELECT FOR UPDATE/SHARE is not allowed with DISTINCT clause : SELECT "issues"."id" FROM "issues" INNER JOIN (SELECT DISTINCT "issues"."root_id" FROM "issues" WHERE "issues"."id" = 93) as i2 ON issues.root_id = i2.root_id ORDER BY "issues"."id" ASC FOR UPDATE lib/redmine/nested_set/issue_nested_set.rb:162:in `lock_nested_set' lib/redmine/nested_set/issue_nested_set.rb:52:in `add_to_nested_set' app/models/issue.rb:211:in `create_or_update' test/object_helpers.rb:103:in `generate!' test/object_helpers.rb:110:in `generate_with_descendants!' test/functional/issues_controller_test.rb:3077:in `test_create_as_copy_should_copy_subtasks' 64) Error: IssuesControllerTest#test_destroy_with_permission_on_tracker_should_be_allowed: ActiveRecord::StatementInvalid: PG::FeatureNotSupported: ERROR: SELECT FOR UPDATE/SHARE is not allowed with DISTINCT clause : SELECT "issues"."id" FROM "issues" INNER JOIN (SELECT DISTINCT "issues"."root_id" FROM "issues" WHERE "issues"."id" = 101) as i2 ON issues.root_id = i2.root_id ORDER BY "issues"."id" ASC FOR UPDATE lib/redmine/nested_set/issue_nested_set.rb:162:in `lock_nested_set' lib/redmine/nested_set/issue_nested_set.rb:120:in `destroy_children' app/models/issue.rb:225:in `destroy' app/controllers/issues_controller.rb:369:in `block in destroy' app/controllers/issues_controller.rb:367:in `each' app/controllers/issues_controller.rb:367:in `destroy' lib/redmine/sudo_mode.rb:63:in `sudo_mode' test/test_helper.rb:313:in `process' test/functional/issues_controller_test.rb:4723:in `block in test_destroy_with_permission_on_tracker_should_be_allowed' test/functional/issues_controller_test.rb:4722:in `test_destroy_with_permission_on_tracker_should_be_allowed' 65) Error: IssuesControllerTest#test_destroy_issues_from_different_projects: ActiveRecord::StatementInvalid: PG::FeatureNotSupported: ERROR: SELECT FOR UPDATE/SHARE is not allowed with DISTINCT clause : SELECT "issues"."id" FROM "issues" INNER JOIN (SELECT DISTINCT "issues"."root_id" FROM "issues" WHERE "issues"."id" = 1) as i2 ON issues.root_id = i2.root_id ORDER BY "issues"."id" ASC FOR UPDATE lib/redmine/nested_set/issue_nested_set.rb:162:in `lock_nested_set' lib/redmine/nested_set/issue_nested_set.rb:120:in `destroy_children' app/models/issue.rb:225:in `destroy' app/controllers/issues_controller.rb:369:in `block in destroy' app/controllers/issues_controller.rb:367:in `each' app/controllers/issues_controller.rb:367:in `destroy' lib/redmine/sudo_mode.rb:63:in `sudo_mode' test/test_helper.rb:313:in `process' test/functional/issues_controller_test.rb:4689:in `block in test_destroy_issues_from_different_projects' test/functional/issues_controller_test.rb:4688:in `test_destroy_issues_from_different_projects' 66) Error: IssuesControllerTest#test_post_create_subissue: ActiveRecord::StatementInvalid: PG::FeatureNotSupported: ERROR: SELECT FOR UPDATE/SHARE is not allowed with DISTINCT clause : SELECT "issues"."id" FROM "issues" INNER JOIN (SELECT DISTINCT "issues"."root_id" FROM "issues" WHERE "issues"."id" = 2) as i2 ON issues.root_id = i2.root_id ORDER BY "issues"."id" ASC FOR UPDATE lib/redmine/nested_set/issue_nested_set.rb:162:in `lock_nested_set' lib/redmine/nested_set/issue_nested_set.rb:52:in `add_to_nested_set' app/models/issue.rb:211:in `create_or_update' app/controllers/issues_controller.rb:141:in `create' lib/redmine/sudo_mode.rb:63:in `sudo_mode' test/test_helper.rb:313:in `process' test/functional/issues_controller_test.rb:2462:in `block in test_post_create_subissue' test/functional/issues_controller_test.rb:2461:in `test_post_create_subissue' 67) Error: IssuesControllerTest#test_new_as_copy_with_subtasks_should_show_copy_subtasks_checkbox: ActiveRecord::StatementInvalid: PG::FeatureNotSupported: ERROR: SELECT FOR UPDATE/SHARE is not allowed with DISTINCT clause : SELECT "issues"."id" FROM "issues" INNER JOIN (SELECT DISTINCT "issues"."root_id" FROM "issues" WHERE "issues"."id" = 114) as i2 ON issues.root_id = i2.root_id ORDER BY "issues"."id" ASC FOR UPDATE lib/redmine/nested_set/issue_nested_set.rb:162:in `lock_nested_set' lib/redmine/nested_set/issue_nested_set.rb:52:in `add_to_nested_set' app/models/issue.rb:211:in `create_or_update' test/object_helpers.rb:103:in `generate!' test/object_helpers.rb:110:in `generate_with_descendants!' test/functional/issues_controller_test.rb:2934:in `test_new_as_copy_with_subtasks_should_show_copy_subtasks_checkbox' 68) Error: IssuesControllerTest#test_destroy_issue_with_no_time_entries: ActiveRecord::StatementInvalid: PG::FeatureNotSupported: ERROR: SELECT FOR UPDATE/SHARE is not allowed with DISTINCT clause : SELECT "issues"."id" FROM "issues" INNER JOIN (SELECT DISTINCT "issues"."root_id" FROM "issues" WHERE "issues"."id" = 2) as i2 ON issues.root_id = i2.root_id ORDER BY "issues"."id" ASC FOR UPDATE lib/redmine/nested_set/issue_nested_set.rb:162:in `lock_nested_set' lib/redmine/nested_set/issue_nested_set.rb:120:in `destroy_children' app/models/issue.rb:225:in `destroy' app/controllers/issues_controller.rb:369:in `block in destroy' app/controllers/issues_controller.rb:367:in `each' app/controllers/issues_controller.rb:367:in `destroy' lib/redmine/sudo_mode.rb:63:in `sudo_mode' test/test_helper.rb:313:in `process' test/functional/issues_controller_test.rb:4613:in `block in test_destroy_issue_with_no_time_entries' test/functional/issues_controller_test.rb:4612:in `test_destroy_issue_with_no_time_entries' 69) Error: IssuesControllerTest#test_put_update_should_preserve_parent_issue_even_if_not_visible: ActiveRecord::StatementInvalid: PG::FeatureNotSupported: ERROR: SELECT FOR UPDATE/SHARE is not allowed with DISTINCT clause : SELECT "issues"."id" FROM "issues" INNER JOIN (SELECT DISTINCT "issues"."root_id" FROM "issues" WHERE "issues"."id" = 118) as i2 ON issues.root_id = i2.root_id ORDER BY "issues"."id" ASC FOR UPDATE lib/redmine/nested_set/issue_nested_set.rb:162:in `lock_nested_set' lib/redmine/nested_set/issue_nested_set.rb:52:in `add_to_nested_set' app/models/issue.rb:211:in `create_or_update' test/object_helpers.rb:103:in `generate!' test/functional/issues_controller_test.rb:3559:in `test_put_update_should_preserve_parent_issue_even_if_not_visible' 70) Error: IssuesControllerTest#test_show_export_to_pdf_with_descendants: ActiveRecord::StatementInvalid: PG::FeatureNotSupported: ERROR: SELECT FOR UPDATE/SHARE is not allowed with DISTINCT clause : SELECT "issues"."id" FROM "issues" INNER JOIN (SELECT DISTINCT "issues"."root_id" FROM "issues" WHERE "issues"."id" = 1) as i2 ON issues.root_id = i2.root_id ORDER BY "issues"."id" ASC FOR UPDATE lib/redmine/nested_set/issue_nested_set.rb:162:in `lock_nested_set' lib/redmine/nested_set/issue_nested_set.rb:52:in `add_to_nested_set' app/models/issue.rb:211:in `create_or_update' test/object_helpers.rb:103:in `generate!' test/functional/issues_controller_test.rb:1650:in `test_show_export_to_pdf_with_descendants' 71) Error: IssueImportTest#test_parent_should_be_set: ActiveRecord::StatementInvalid: PG::FeatureNotSupported: ERROR: SELECT FOR UPDATE/SHARE is not allowed with DISTINCT clause : SELECT "issues"."id" FROM "issues" INNER JOIN (SELECT DISTINCT "issues"."root_id" FROM "issues" WHERE "issues"."id" = 139) as i2 ON issues.root_id = i2.root_id ORDER BY "issues"."id" ASC FOR UPDATE lib/redmine/nested_set/issue_nested_set.rb:162:in `lock_nested_set' lib/redmine/nested_set/issue_nested_set.rb:52:in `add_to_nested_set' app/models/issue.rb:211:in `create_or_update' app/models/import.rb:161:in `block in run' app/models/import.rb:117:in `block in read_items' app/models/import.rb:206:in `block in read_rows' app/models/import.rb:205:in `read_rows' app/models/import.rb:111:in `read_items' app/models/import.rb:151:in `run' test/unit/issue_import_test.rb:112:in `block in test_parent_should_be_set' test/test_helper.rb:195:in `block in new_records' test/test_helper.rb:194:in `new_records' test/unit/issue_import_test.rb:112:in `test_parent_should_be_set' 72) Error: QueryTest#test_filter_on_child: ActiveRecord::StatementInvalid: PG::FeatureNotSupported: ERROR: SELECT FOR UPDATE/SHARE is not allowed with DISTINCT clause : SELECT "issues"."id" FROM "issues" INNER JOIN (SELECT DISTINCT "issues"."root_id" FROM "issues" WHERE "issues"."id" = 49) as i2 ON issues.root_id = i2.root_id ORDER BY "issues"."id" ASC FOR UPDATE lib/redmine/nested_set/issue_nested_set.rb:162:in `lock_nested_set' lib/redmine/nested_set/issue_nested_set.rb:52:in `add_to_nested_set' app/models/issue.rb:211:in `create_or_update' test/object_helpers.rb:103:in `generate!' test/object_helpers.rb:110:in `generate_with_descendants!' test/unit/query_test.rb:1011:in `test_filter_on_child' 73) Error: QueryTest#test_filter_on_parent: ActiveRecord::StatementInvalid: PG::FeatureNotSupported: ERROR: SELECT FOR UPDATE/SHARE is not allowed with DISTINCT clause : SELECT "issues"."id" FROM "issues" INNER JOIN (SELECT DISTINCT "issues"."root_id" FROM "issues" WHERE "issues"."id" = 55) as i2 ON issues.root_id = i2.root_id ORDER BY "issues"."id" ASC FOR UPDATE lib/redmine/nested_set/issue_nested_set.rb:162:in `lock_nested_set' lib/redmine/nested_set/issue_nested_set.rb:52:in `add_to_nested_set' app/models/issue.rb:211:in `create_or_update' test/object_helpers.rb:103:in `generate!' test/object_helpers.rb:110:in `generate_with_descendants!' test/unit/query_test.rb:983:in `test_filter_on_parent' 74) Error: IssueTransactionTest#test_invalid_move_to_another_project: ActiveRecord::StatementInvalid: PG::FeatureNotSupported: ERROR: SELECT FOR UPDATE/SHARE is not allowed with DISTINCT clause : SELECT "issues"."id" FROM "issues" INNER JOIN (SELECT DISTINCT "issues"."root_id" FROM "issues" WHERE "issues"."id" = 15) as i2 ON issues.root_id = i2.root_id ORDER BY "issues"."id" ASC FOR UPDATE lib/redmine/nested_set/issue_nested_set.rb:162:in `lock_nested_set' lib/redmine/nested_set/issue_nested_set.rb:52:in `add_to_nested_set' app/models/issue.rb:211:in `create_or_update' test/object_helpers.rb:103:in `generate!' test/unit/issue_transaction_test.rb:35:in `test_invalid_move_to_another_project' 75) Error: IssueNestedSetConcurrencyTest#test_concurrency: ActiveRecord::StatementInvalid: PG::FeatureNotSupported: ERROR: SELECT FOR UPDATE/SHARE is not allowed with DISTINCT clause : SELECT "issues"."id" FROM "issues" INNER JOIN (SELECT DISTINCT "issues"."root_id" FROM "issues" WHERE "issues"."id" = 22) as i2 ON issues.root_id = i2.root_id ORDER BY "issues"."id" ASC FOR UPDATE lib/redmine/nested_set/issue_nested_set.rb:162:in `lock_nested_set' lib/redmine/nested_set/issue_nested_set.rb:120:in `destroy_children' app/models/issue.rb:225:in `destroy' test/unit/issue_nested_set_concurrency_test.rb:42:in `test_concurrency' 76) Failure: IssueNestedSetConcurrencyTest#test_concurrent_subtasks_creation [/var/lib/jenkins/workspace/trunk/DATABASE_ADAPTER/postgresql/RUBY_VER/ruby-2.3/test/unit/issue_nested_set_concurrency_test.rb:61]: Expected "PG::FeatureNotSupported: ERROR: SELECT FOR UPDATE/SHARE is not allowed with DISTINCT clause\n: SELECT \"issues\".\"id\" FROM \"issues\" INNER JOIN (SELECT DISTINCT \"issues\".\"root_id\" FROM \"issues\" WHERE \"issues\".\"id\" = 23) as i2 ON issues.root_id = i2.root_id ORDER BY \"issues\".\"id\" ASC FOR UPDATE" to be nil. 77) Error: IssueSubtaskingTest#test_parent_done_ratio_should_be_editable_with_parent_issue_done_ratio_set_to_independent: ActiveRecord::StatementInvalid: PG::FeatureNotSupported: ERROR: SELECT FOR UPDATE/SHARE is not allowed with DISTINCT clause : SELECT "issues"."id" FROM "issues" INNER JOIN (SELECT DISTINCT "issues"."root_id" FROM "issues" WHERE "issues"."id" = 15) as i2 ON issues.root_id = i2.root_id ORDER BY "issues"."id" ASC FOR UPDATE lib/redmine/nested_set/issue_nested_set.rb:162:in `lock_nested_set' lib/redmine/nested_set/issue_nested_set.rb:52:in `add_to_nested_set' app/models/issue.rb:211:in `create_or_update' test/object_helpers.rb:103:in `generate!' test/object_helpers.rb:118:in `generate_with_child!' test/unit/issue_subtasking_test.rb:310:in `block in test_parent_done_ratio_should_be_editable_with_parent_issue_done_ratio_set_to_independent' test/test_helper.rb:104:in `with_settings' test/unit/issue_subtasking_test.rb:309:in `test_parent_done_ratio_should_be_editable_with_parent_issue_done_ratio_set_to_independent' 78) Error: IssueSubtaskingTest#test_parent_dates_should_not_be_updated_with_parent_issue_dates_set_to_independent: ActiveRecord::StatementInvalid: PG::FeatureNotSupported: ERROR: SELECT FOR UPDATE/SHARE is not allowed with DISTINCT clause : SELECT "issues"."id" FROM "issues" INNER JOIN (SELECT DISTINCT "issues"."root_id" FROM "issues" WHERE "issues"."id" = 16) as i2 ON issues.root_id = i2.root_id ORDER BY "issues"."id" ASC FOR UPDATE lib/redmine/nested_set/issue_nested_set.rb:162:in `lock_nested_set' lib/redmine/nested_set/issue_nested_set.rb:52:in `add_to_nested_set' app/models/issue.rb:211:in `create_or_update' test/object_helpers.rb:103:in `generate!' test/object_helpers.rb:273:in `generate_child!' test/unit/issue_subtasking_test.rb:274:in `block in test_parent_dates_should_not_be_updated_with_parent_issue_dates_set_to_independent' test/test_helper.rb:104:in `with_settings' test/unit/issue_subtasking_test.rb:272:in `test_parent_dates_should_not_be_updated_with_parent_issue_dates_set_to_independent' 79) Error: IssueSubtaskingTest#test_parent_done_ratio_should_be_weighted_by_estimated_times_if_any_with_grandchildren: ActiveRecord::StatementInvalid: PG::FeatureNotSupported: ERROR: SELECT FOR UPDATE/SHARE is not allowed with DISTINCT clause : SELECT "issues"."id" FROM "issues" INNER JOIN (SELECT DISTINCT "issues"."root_id" FROM "issues" WHERE "issues"."id" = 17) as i2 ON issues.root_id = i2.root_id ORDER BY "issues"."id" ASC FOR UPDATE lib/redmine/nested_set/issue_nested_set.rb:162:in `lock_nested_set' lib/redmine/nested_set/issue_nested_set.rb:52:in `add_to_nested_set' app/models/issue.rb:211:in `create_or_update' test/object_helpers.rb:103:in `generate!' test/object_helpers.rb:273:in `generate_child!' test/unit/issue_subtasking_test.rb:181:in `block in test_parent_done_ratio_should_be_weighted_by_estimated_times_if_any_with_grandchildren' test/test_helper.rb:104:in `with_settings' test/unit/issue_subtasking_test.rb:179:in `test_parent_done_ratio_should_be_weighted_by_estimated_times_if_any_with_grandchildren' 80) Error: IssueSubtaskingTest#test_parent_done_ratio_should_be_average_done_ratio_of_leaves: ActiveRecord::StatementInvalid: PG::FeatureNotSupported: ERROR: SELECT FOR UPDATE/SHARE is not allowed with DISTINCT clause : SELECT "issues"."id" FROM "issues" INNER JOIN (SELECT DISTINCT "issues"."root_id" FROM "issues" WHERE "issues"."id" = 18) as i2 ON issues.root_id = i2.root_id ORDER BY "issues"."id" ASC FOR UPDATE lib/redmine/nested_set/issue_nested_set.rb:162:in `lock_nested_set' lib/redmine/nested_set/issue_nested_set.rb:52:in `add_to_nested_set' app/models/issue.rb:211:in `create_or_update' test/object_helpers.rb:103:in `generate!' test/object_helpers.rb:273:in `generate_child!' test/unit/issue_subtasking_test.rb:146:in `block in test_parent_done_ratio_should_be_average_done_ratio_of_leaves' test/test_helper.rb:104:in `with_settings' test/unit/issue_subtasking_test.rb:144:in `test_parent_done_ratio_should_be_average_done_ratio_of_leaves' 81) Error: IssueSubtaskingTest#test_parent_priority_should_be_read_only_with_parent_issue_priority_set_to_derived: ActiveRecord::StatementInvalid: PG::FeatureNotSupported: ERROR: SELECT FOR UPDATE/SHARE is not allowed with DISTINCT clause : SELECT "issues"."id" FROM "issues" INNER JOIN (SELECT DISTINCT "issues"."root_id" FROM "issues" WHERE "issues"."id" = 19) as i2 ON issues.root_id = i2.root_id ORDER BY "issues"."id" ASC FOR UPDATE lib/redmine/nested_set/issue_nested_set.rb:162:in `lock_nested_set' lib/redmine/nested_set/issue_nested_set.rb:52:in `add_to_nested_set' app/models/issue.rb:211:in `create_or_update' test/object_helpers.rb:103:in `generate!' test/object_helpers.rb:118:in `generate_with_child!' test/unit/issue_subtasking_test.rb:75:in `block in test_parent_priority_should_be_read_only_with_parent_issue_priority_set_to_derived' test/test_helper.rb:104:in `with_settings' test/unit/issue_subtasking_test.rb:74:in `test_parent_priority_should_be_read_only_with_parent_issue_priority_set_to_derived' 82) Error: IssueSubtaskingTest#test_parent_priority_should_be_left_unchanged_when_all_children_are_closed_and_no_default_priority: ActiveRecord::StatementInvalid: PG::FeatureNotSupported: ERROR: SELECT FOR UPDATE/SHARE is not allowed with DISTINCT clause : SELECT "issues"."id" FROM "issues" INNER JOIN (SELECT DISTINCT "issues"."root_id" FROM "issues" WHERE "issues"."id" = 20) as i2 ON issues.root_id = i2.root_id ORDER BY "issues"."id" ASC FOR UPDATE lib/redmine/nested_set/issue_nested_set.rb:162:in `lock_nested_set' lib/redmine/nested_set/issue_nested_set.rb:52:in `add_to_nested_set' app/models/issue.rb:211:in `create_or_update' test/object_helpers.rb:103:in `generate!' test/object_helpers.rb:273:in `generate_child!' test/unit/issue_subtasking_test.rb:127:in `block in test_parent_priority_should_be_left_unchanged_when_all_children_are_closed_and_no_default_priority' test/test_helper.rb:104:in `with_settings' test/unit/issue_subtasking_test.rb:125:in `test_parent_priority_should_be_left_unchanged_when_all_children_are_closed_and_no_default_priority' 83) Error: IssueSubtaskingTest#test_parent_done_ratio_should_not_be_updated_with_parent_issue_done_ratio_set_to_independent: ActiveRecord::StatementInvalid: PG::FeatureNotSupported: ERROR: SELECT FOR UPDATE/SHARE is not allowed with DISTINCT clause : SELECT "issues"."id" FROM "issues" INNER JOIN (SELECT DISTINCT "issues"."root_id" FROM "issues" WHERE "issues"."id" = 21) as i2 ON issues.root_id = i2.root_id ORDER BY "issues"."id" ASC FOR UPDATE lib/redmine/nested_set/issue_nested_set.rb:162:in `lock_nested_set' lib/redmine/nested_set/issue_nested_set.rb:52:in `add_to_nested_set' app/models/issue.rb:211:in `create_or_update' test/object_helpers.rb:103:in `generate!' test/object_helpers.rb:273:in `generate_child!' test/unit/issue_subtasking_test.rb:319:in `block in test_parent_done_ratio_should_not_be_updated_with_parent_issue_done_ratio_set_to_independent' test/test_helper.rb:104:in `with_settings' test/unit/issue_subtasking_test.rb:317:in `test_parent_done_ratio_should_not_be_updated_with_parent_issue_done_ratio_set_to_independent' 84) Error: IssueSubtaskingTest#test_done_ratio_of_parent_with_a_child_with_estimated_time_at_0_should_not_exceed_100: ActiveRecord::StatementInvalid: PG::FeatureNotSupported: ERROR: SELECT FOR UPDATE/SHARE is not allowed with DISTINCT clause : SELECT "issues"."id" FROM "issues" INNER JOIN (SELECT DISTINCT "issues"."root_id" FROM "issues" WHERE "issues"."id" = 22) as i2 ON issues.root_id = i2.root_id ORDER BY "issues"."id" ASC FOR UPDATE lib/redmine/nested_set/issue_nested_set.rb:162:in `lock_nested_set' lib/redmine/nested_set/issue_nested_set.rb:52:in `add_to_nested_set' app/models/issue.rb:211:in `create_or_update' test/object_helpers.rb:103:in `generate!' test/object_helpers.rb:273:in `generate_child!' test/unit/issue_subtasking_test.rb:218:in `block in test_done_ratio_of_parent_with_a_child_with_estimated_time_at_0_should_not_exceed_100' test/test_helper.rb:104:in `with_settings' test/unit/issue_subtasking_test.rb:216:in `test_done_ratio_of_parent_with_a_child_with_estimated_time_at_0_should_not_exceed_100' 85) Error: IssueSubtaskingTest#test_parent_priority_should_be_set_to_default_when_all_children_are_closed: ActiveRecord::StatementInvalid: PG::FeatureNotSupported: ERROR: SELECT FOR UPDATE/SHARE is not allowed with DISTINCT clause : SELECT "issues"."id" FROM "issues" INNER JOIN (SELECT DISTINCT "issues"."root_id" FROM "issues" WHERE "issues"."id" = 23) as i2 ON issues.root_id = i2.root_id ORDER BY "issues"."id" ASC FOR UPDATE lib/redmine/nested_set/issue_nested_set.rb:162:in `lock_nested_set' lib/redmine/nested_set/issue_nested_set.rb:52:in `add_to_nested_set' app/models/issue.rb:211:in `create_or_update' test/object_helpers.rb:103:in `generate!' test/object_helpers.rb:273:in `generate_child!' test/unit/issue_subtasking_test.rb:114:in `block in test_parent_priority_should_be_set_to_default_when_all_children_are_closed' test/test_helper.rb:104:in `with_settings' test/unit/issue_subtasking_test.rb:112:in `test_parent_priority_should_be_set_to_default_when_all_children_are_closed' 86) Error: IssueSubtaskingTest#test_done_ratio_of_parent_with_a_child_without_estimated_time_should_not_exceed_100: ActiveRecord::StatementInvalid: PG::FeatureNotSupported: ERROR: SELECT FOR UPDATE/SHARE is not allowed with DISTINCT clause : SELECT "issues"."id" FROM "issues" INNER JOIN (SELECT DISTINCT "issues"."root_id" FROM "issues" WHERE "issues"."id" = 24) as i2 ON issues.root_id = i2.root_id ORDER BY "issues"."id" ASC FOR UPDATE lib/redmine/nested_set/issue_nested_set.rb:162:in `lock_nested_set' lib/redmine/nested_set/issue_nested_set.rb:52:in `add_to_nested_set' app/models/issue.rb:211:in `create_or_update' test/object_helpers.rb:103:in `generate!' test/object_helpers.rb:273:in `generate_child!' test/unit/issue_subtasking_test.rb:206:in `block in test_done_ratio_of_parent_with_a_child_without_estimated_time_should_not_exceed_100' test/test_helper.rb:104:in `with_settings' test/unit/issue_subtasking_test.rb:204:in `test_done_ratio_of_parent_with_a_child_without_estimated_time_should_not_exceed_100' 87) Error: IssueSubtaskingTest#test_parent_done_ratio_should_be_read_only_with_parent_issue_done_ratio_set_to_derived: ActiveRecord::StatementInvalid: PG::FeatureNotSupported: ERROR: SELECT FOR UPDATE/SHARE is not allowed with DISTINCT clause : SELECT "issues"."id" FROM "issues" INNER JOIN (SELECT DISTINCT "issues"."root_id" FROM "issues" WHERE "issues"."id" = 25) as i2 ON issues.root_id = i2.root_id ORDER BY "issues"."id" ASC FOR UPDATE lib/redmine/nested_set/issue_nested_set.rb:162:in `lock_nested_set' lib/redmine/nested_set/issue_nested_set.rb:52:in `add_to_nested_set' app/models/issue.rb:211:in `create_or_update' test/object_helpers.rb:103:in `generate!' test/object_helpers.rb:118:in `generate_with_child!' test/unit/issue_subtasking_test.rb:137:in `block in test_parent_done_ratio_should_be_read_only_with_parent_issue_done_ratio_set_to_derived' test/test_helper.rb:104:in `with_settings' test/unit/issue_subtasking_test.rb:136:in `test_parent_done_ratio_should_be_read_only_with_parent_issue_done_ratio_set_to_derived' 88) Error: IssueSubtaskingTest#test_parent_priority_should_be_editable_with_parent_issue_priority_set_to_independent: ActiveRecord::StatementInvalid: PG::FeatureNotSupported: ERROR: SELECT FOR UPDATE/SHARE is not allowed with DISTINCT clause : SELECT "issues"."id" FROM "issues" INNER JOIN (SELECT DISTINCT "issues"."root_id" FROM "issues" WHERE "issues"."id" = 26) as i2 ON issues.root_id = i2.root_id ORDER BY "issues"."id" ASC FOR UPDATE lib/redmine/nested_set/issue_nested_set.rb:162:in `lock_nested_set' lib/redmine/nested_set/issue_nested_set.rb:52:in `add_to_nested_set' app/models/issue.rb:211:in `create_or_update' test/object_helpers.rb:103:in `generate!' test/object_helpers.rb:118:in `generate_with_child!' test/unit/issue_subtasking_test.rb:294:in `block in test_parent_priority_should_be_editable_with_parent_issue_priority_set_to_independent' test/test_helper.rb:104:in `with_settings' test/unit/issue_subtasking_test.rb:293:in `test_parent_priority_should_be_editable_with_parent_issue_priority_set_to_independent' 89) Error: IssueSubtaskingTest#test_parent_priority_should_be_the_highest_open_child_priority: ActiveRecord::StatementInvalid: PG::FeatureNotSupported: ERROR: SELECT FOR UPDATE/SHARE is not allowed with DISTINCT clause : SELECT "issues"."id" FROM "issues" INNER JOIN (SELECT DISTINCT "issues"."root_id" FROM "issues" WHERE "issues"."id" = 27) as i2 ON issues.root_id = i2.root_id ORDER BY "issues"."id" ASC FOR UPDATE lib/redmine/nested_set/issue_nested_set.rb:162:in `lock_nested_set' lib/redmine/nested_set/issue_nested_set.rb:52:in `add_to_nested_set' app/models/issue.rb:211:in `create_or_update' test/object_helpers.rb:103:in `generate!' test/object_helpers.rb:273:in `generate_child!' test/unit/issue_subtasking_test.rb:85:in `block in test_parent_priority_should_be_the_highest_open_child_priority' test/test_helper.rb:104:in `with_settings' test/unit/issue_subtasking_test.rb:82:in `test_parent_priority_should_be_the_highest_open_child_priority' 90) Error: IssueSubtaskingTest#test_parent_done_ratio_should_be_weighted_by_estimated_times_if_any: ActiveRecord::StatementInvalid: PG::FeatureNotSupported: ERROR: SELECT FOR UPDATE/SHARE is not allowed with DISTINCT clause : SELECT "issues"."id" FROM "issues" INNER JOIN (SELECT DISTINCT "issues"."root_id" FROM "issues" WHERE "issues"."id" = 28) as i2 ON issues.root_id = i2.root_id ORDER BY "issues"."id" ASC FOR UPDATE lib/redmine/nested_set/issue_nested_set.rb:162:in `lock_nested_set' lib/redmine/nested_set/issue_nested_set.rb:52:in `add_to_nested_set' app/models/issue.rb:211:in `create_or_update' test/object_helpers.rb:103:in `generate!' test/object_helpers.rb:273:in `generate_child!' test/unit/issue_subtasking_test.rb:163:in `block in test_parent_done_ratio_should_be_weighted_by_estimated_times_if_any' test/test_helper.rb:104:in `with_settings' test/unit/issue_subtasking_test.rb:161:in `test_parent_done_ratio_should_be_weighted_by_estimated_times_if_any' 91) Error: IssueSubtaskingTest#test_done_ratio_of_parent_should_reflect_children: ActiveRecord::StatementInvalid: PG::FeatureNotSupported: ERROR: SELECT FOR UPDATE/SHARE is not allowed with DISTINCT clause : SELECT "issues"."id" FROM "issues" INNER JOIN (SELECT DISTINCT "issues"."root_id" FROM "issues" WHERE "issues"."id" = 29) as i2 ON issues.root_id = i2.root_id ORDER BY "issues"."id" ASC FOR UPDATE lib/redmine/nested_set/issue_nested_set.rb:162:in `lock_nested_set' lib/redmine/nested_set/issue_nested_set.rb:52:in `add_to_nested_set' app/models/issue.rb:211:in `create_or_update' test/object_helpers.rb:103:in `generate!' test/object_helpers.rb:273:in `generate_child!' test/unit/issue_subtasking_test.rb:243:in `test_done_ratio_of_parent_should_reflect_children' 92) Error: IssueSubtaskingTest#test_parent_dates_should_be_editable_with_parent_issue_dates_set_to_independent: ActiveRecord::StatementInvalid: PG::FeatureNotSupported: ERROR: SELECT FOR UPDATE/SHARE is not allowed with DISTINCT clause : SELECT "issues"."id" FROM "issues" INNER JOIN (SELECT DISTINCT "issues"."root_id" FROM "issues" WHERE "issues"."id" = 30) as i2 ON issues.root_id = i2.root_id ORDER BY "issues"."id" ASC FOR UPDATE lib/redmine/nested_set/issue_nested_set.rb:162:in `lock_nested_set' lib/redmine/nested_set/issue_nested_set.rb:52:in `add_to_nested_set' app/models/issue.rb:211:in `create_or_update' test/object_helpers.rb:103:in `generate!' test/object_helpers.rb:118:in `generate_with_child!' test/unit/issue_subtasking_test.rb:263:in `block in test_parent_dates_should_be_editable_with_parent_issue_dates_set_to_independent' test/test_helper.rb:104:in `with_settings' test/unit/issue_subtasking_test.rb:262:in `test_parent_dates_should_be_editable_with_parent_issue_dates_set_to_independent' 93) Error: IssueSubtaskingTest#test_changing_parent_should_update_previous_parent_done_ratio: ActiveRecord::StatementInvalid: PG::FeatureNotSupported: ERROR: SELECT FOR UPDATE/SHARE is not allowed with DISTINCT clause : SELECT "issues"."id" FROM "issues" INNER JOIN (SELECT DISTINCT "issues"."root_id" FROM "issues" WHERE "issues"."id" = 31) as i2 ON issues.root_id = i2.root_id ORDER BY "issues"."id" ASC FOR UPDATE lib/redmine/nested_set/issue_nested_set.rb:162:in `lock_nested_set' lib/redmine/nested_set/issue_nested_set.rb:52:in `add_to_nested_set' app/models/issue.rb:211:in `create_or_update' test/object_helpers.rb:103:in `generate!' test/object_helpers.rb:273:in `generate_child!' test/unit/issue_subtasking_test.rb:231:in `block in test_changing_parent_should_update_previous_parent_done_ratio' test/test_helper.rb:104:in `with_settings' test/unit/issue_subtasking_test.rb:228:in `test_changing_parent_should_update_previous_parent_done_ratio' 94) Error: IssueSubtaskingTest#test_reschuling_a_parent_should_not_reschedule_subtasks_with_parent_issue_dates_set_to_independent: ActiveRecord::StatementInvalid: PG::FeatureNotSupported: ERROR: SELECT FOR UPDATE/SHARE is not allowed with DISTINCT clause : SELECT "issues"."id" FROM "issues" INNER JOIN (SELECT DISTINCT "issues"."root_id" FROM "issues" WHERE "issues"."id" = 33) as i2 ON issues.root_id = i2.root_id ORDER BY "issues"."id" ASC FOR UPDATE lib/redmine/nested_set/issue_nested_set.rb:162:in `lock_nested_set' lib/redmine/nested_set/issue_nested_set.rb:52:in `add_to_nested_set' app/models/issue.rb:211:in `create_or_update' test/object_helpers.rb:103:in `generate!' test/object_helpers.rb:273:in `generate_child!' test/unit/issue_subtasking_test.rb:284:in `block in test_reschuling_a_parent_should_not_reschedule_subtasks_with_parent_issue_dates_set_to_independent' test/test_helper.rb:104:in `with_settings' test/unit/issue_subtasking_test.rb:282:in `test_reschuling_a_parent_should_not_reschedule_subtasks_with_parent_issue_dates_set_to_independent' 95) Error: IssueSubtaskingTest#test_reschuling_a_parent_should_reschedule_subtasks_with_parent_issue_dates_set_to_derived: ActiveRecord::StatementInvalid: PG::FeatureNotSupported: ERROR: SELECT FOR UPDATE/SHARE is not allowed with DISTINCT clause : SELECT "issues"."id" FROM "issues" INNER JOIN (SELECT DISTINCT "issues"."root_id" FROM "issues" WHERE "issues"."id" = 34) as i2 ON issues.root_id = i2.root_id ORDER BY "issues"."id" ASC FOR UPDATE lib/redmine/nested_set/issue_nested_set.rb:162:in `lock_nested_set' lib/redmine/nested_set/issue_nested_set.rb:52:in `add_to_nested_set' app/models/issue.rb:211:in `create_or_update' test/object_helpers.rb:103:in `generate!' test/object_helpers.rb:273:in `generate_child!' test/unit/issue_subtasking_test.rb:61:in `block in test_reschuling_a_parent_should_reschedule_subtasks_with_parent_issue_dates_set_to_derived' test/test_helper.rb:104:in `with_settings' test/unit/issue_subtasking_test.rb:59:in `test_reschuling_a_parent_should_reschedule_subtasks_with_parent_issue_dates_set_to_derived' 96) Error: IssueSubtaskingTest#test_parent_dates_should_be_lowest_start_and_highest_due_dates_with_parent_issue_dates_set_to_derived: ActiveRecord::StatementInvalid: PG::FeatureNotSupported: ERROR: SELECT FOR UPDATE/SHARE is not allowed with DISTINCT clause : SELECT "issues"."id" FROM "issues" INNER JOIN (SELECT DISTINCT "issues"."root_id" FROM "issues" WHERE "issues"."id" = 35) as i2 ON issues.root_id = i2.root_id ORDER BY "issues"."id" ASC FOR UPDATE lib/redmine/nested_set/issue_nested_set.rb:162:in `lock_nested_set' lib/redmine/nested_set/issue_nested_set.rb:52:in `add_to_nested_set' app/models/issue.rb:211:in `create_or_update' test/object_helpers.rb:103:in `generate!' test/object_helpers.rb:273:in `generate_child!' test/unit/issue_subtasking_test.rb:49:in `block in test_parent_dates_should_be_lowest_start_and_highest_due_dates_with_parent_issue_dates_set_to_derived' test/test_helper.rb:104:in `with_settings' test/unit/issue_subtasking_test.rb:47:in `test_parent_dates_should_be_lowest_start_and_highest_due_dates_with_parent_issue_dates_set_to_derived' 97) Error: IssueSubtaskingTest#test_parent_priority_should_not_be_updated_with_parent_issue_priority_set_to_independent: ActiveRecord::StatementInvalid: PG::FeatureNotSupported: ERROR: SELECT FOR UPDATE/SHARE is not allowed with DISTINCT clause : SELECT "issues"."id" FROM "issues" INNER JOIN (SELECT DISTINCT "issues"."root_id" FROM "issues" WHERE "issues"."id" = 36) as i2 ON issues.root_id = i2.root_id ORDER BY "issues"."id" ASC FOR UPDATE lib/redmine/nested_set/issue_nested_set.rb:162:in `lock_nested_set' lib/redmine/nested_set/issue_nested_set.rb:52:in `add_to_nested_set' app/models/issue.rb:211:in `create_or_update' test/object_helpers.rb:103:in `generate!' test/object_helpers.rb:273:in `generate_child!' test/unit/issue_subtasking_test.rb:303:in `block in test_parent_priority_should_not_be_updated_with_parent_issue_priority_set_to_independent' test/test_helper.rb:104:in `with_settings' test/unit/issue_subtasking_test.rb:301:in `test_parent_priority_should_not_be_updated_with_parent_issue_priority_set_to_independent' 98) Error: IssueSubtaskingTest#test_parent_total_estimated_hours_should_be_sum_of_descendants: ActiveRecord::StatementInvalid: PG::FeatureNotSupported: ERROR: SELECT FOR UPDATE/SHARE is not allowed with DISTINCT clause : SELECT "issues"."id" FROM "issues" INNER JOIN (SELECT DISTINCT "issues"."root_id" FROM "issues" WHERE "issues"."id" = 37) as i2 ON issues.root_id = i2.root_id ORDER BY "issues"."id" ASC FOR UPDATE lib/redmine/nested_set/issue_nested_set.rb:162:in `lock_nested_set' lib/redmine/nested_set/issue_nested_set.rb:52:in `add_to_nested_set' app/models/issue.rb:211:in `create_or_update' test/object_helpers.rb:103:in `generate!' test/object_helpers.rb:273:in `generate_child!' test/unit/issue_subtasking_test.rb:326:in `test_parent_total_estimated_hours_should_be_sum_of_descendants' 99) Error: IssueSubtaskingTest#test_parent_dates_should_be_read_only_with_parent_issue_dates_set_to_derived: ActiveRecord::StatementInvalid: PG::FeatureNotSupported: ERROR: SELECT FOR UPDATE/SHARE is not allowed with DISTINCT clause : SELECT "issues"."id" FROM "issues" INNER JOIN (SELECT DISTINCT "issues"."root_id" FROM "issues" WHERE "issues"."id" = 39) as i2 ON issues.root_id = i2.root_id ORDER BY "issues"."id" ASC FOR UPDATE lib/redmine/nested_set/issue_nested_set.rb:162:in `lock_nested_set' lib/redmine/nested_set/issue_nested_set.rb:52:in `add_to_nested_set' app/models/issue.rb:211:in `create_or_update' test/object_helpers.rb:103:in `generate!' test/object_helpers.rb:118:in `generate_with_child!' test/unit/issue_subtasking_test.rb:38:in `block in test_parent_dates_should_be_read_only_with_parent_issue_dates_set_to_derived' test/test_helper.rb:104:in `with_settings' test/unit/issue_subtasking_test.rb:37:in `test_parent_dates_should_be_read_only_with_parent_issue_dates_set_to_derived' 100) Error: IssueSubtaskingTest#test_parent_done_ratio_with_child_estimate_to_0_should_reach_100: ActiveRecord::StatementInvalid: PG::FeatureNotSupported: ERROR: SELECT FOR UPDATE/SHARE is not allowed with DISTINCT clause : SELECT "issues"."id" FROM "issues" INNER JOIN (SELECT DISTINCT "issues"."root_id" FROM "issues" WHERE "issues"."id" = 40) as i2 ON issues.root_id = i2.root_id ORDER BY "issues"."id" ASC FOR UPDATE lib/redmine/nested_set/issue_nested_set.rb:162:in `lock_nested_set' lib/redmine/nested_set/issue_nested_set.rb:52:in `add_to_nested_set' app/models/issue.rb:211:in `create_or_update' test/object_helpers.rb:103:in `generate!' test/object_helpers.rb:273:in `generate_child!' test/unit/issue_subtasking_test.rb:193:in `block in test_parent_done_ratio_with_child_estimate_to_0_should_reach_100' test/test_helper.rb:104:in `with_settings' test/unit/issue_subtasking_test.rb:191:in `test_parent_done_ratio_with_child_estimate_to_0_should_reach_100' 101) Error: ProjectsControllerTest#test_destroy_with_confirmation_should_destroy_the_project_and_subprojects: ActiveRecord::StatementInvalid: PG::FeatureNotSupported: ERROR: SELECT FOR UPDATE/SHARE is not allowed with DISTINCT clause : SELECT "issues"."id" FROM "issues" INNER JOIN (SELECT DISTINCT "issues"."root_id" FROM "issues" WHERE "issues"."id" = 6) as i2 ON issues.root_id = i2.root_id ORDER BY "issues"."id" ASC FOR UPDATE lib/redmine/nested_set/issue_nested_set.rb:162:in `lock_nested_set' lib/redmine/nested_set/issue_nested_set.rb:120:in `destroy_children' app/models/issue.rb:225:in `destroy' lib/redmine/nested_set/project_nested_set.rb:105:in `destroy_without_nested_set_update' lib/redmine/nested_set/project_nested_set.rb:93:in `block in destroy_children' lib/redmine/nested_set/project_nested_set.rb:93:in `destroy_children' app/controllers/projects_controller.rb:231:in `destroy' lib/redmine/sudo_mode.rb:63:in `sudo_mode' test/test_helper.rb:313:in `process' test/functional/projects_controller_test.rb:610:in `block in test_destroy_with_confirmation_should_destroy_the_project_and_subprojects' test/functional/projects_controller_test.rb:609:in `test_destroy_with_confirmation_should_destroy_the_project_and_subprojects' 102) Error: IssueNestedSetTest#test_move_a_child_to_another_issue: ActiveRecord::StatementInvalid: PG::FeatureNotSupported: ERROR: SELECT FOR UPDATE/SHARE is not allowed with DISTINCT clause : SELECT "issues"."id" FROM "issues" INNER JOIN (SELECT DISTINCT "issues"."root_id" FROM "issues" WHERE "issues"."id" = 30) as i2 ON issues.root_id = i2.root_id ORDER BY "issues"."id" ASC FOR UPDATE lib/redmine/nested_set/issue_nested_set.rb:162:in `lock_nested_set' lib/redmine/nested_set/issue_nested_set.rb:52:in `add_to_nested_set' app/models/issue.rb:211:in `create_or_update' test/object_helpers.rb:103:in `generate!' test/object_helpers.rb:273:in `generate_child!' test/unit/issue_nested_set_test.rb:106:in `test_move_a_child_to_another_issue' 103) Error: IssueNestedSetTest#test_updating_a_child_issue_should_not_trigger_update_nested_set_attributes_on_parent_change: ActiveRecord::StatementInvalid: PG::FeatureNotSupported: ERROR: SELECT FOR UPDATE/SHARE is not allowed with DISTINCT clause : SELECT "issues"."id" FROM "issues" INNER JOIN (SELECT DISTINCT "issues"."root_id" FROM "issues" WHERE "issues"."id" = 1) as i2 ON issues.root_id = i2.root_id ORDER BY "issues"."id" ASC FOR UPDATE lib/redmine/nested_set/issue_nested_set.rb:162:in `lock_nested_set' lib/redmine/nested_set/issue_nested_set.rb:52:in `add_to_nested_set' app/models/issue.rb:211:in `create_or_update' test/object_helpers.rb:103:in `generate!' test/unit/issue_nested_set_test.rb:183:in `test_updating_a_child_issue_should_not_trigger_update_nested_set_attributes_on_parent_change' 104) Error: IssueNestedSetTest#test_destroy_child_issue_with_children: ActiveRecord::StatementInvalid: PG::FeatureNotSupported: ERROR: SELECT FOR UPDATE/SHARE is not allowed with DISTINCT clause : SELECT "issues"."id" FROM "issues" INNER JOIN (SELECT DISTINCT "issues"."root_id" FROM "issues" WHERE "issues"."id" = 32) as i2 ON issues.root_id = i2.root_id ORDER BY "issues"."id" ASC FOR UPDATE lib/redmine/nested_set/issue_nested_set.rb:162:in `lock_nested_set' lib/redmine/nested_set/issue_nested_set.rb:52:in `add_to_nested_set' app/models/issue.rb:211:in `create_or_update' test/object_helpers.rb:103:in `generate!' test/object_helpers.rb:273:in `generate_child!' test/unit/issue_nested_set_test.rb:258:in `test_destroy_child_issue_with_children' 105) Error: IssueNestedSetTest#test_move_a_child_to_root: ActiveRecord::StatementInvalid: PG::FeatureNotSupported: ERROR: SELECT FOR UPDATE/SHARE is not allowed with DISTINCT clause : SELECT "issues"."id" FROM "issues" INNER JOIN (SELECT DISTINCT "issues"."root_id" FROM "issues" WHERE "issues"."id" = 33) as i2 ON issues.root_id = i2.root_id ORDER BY "issues"."id" ASC FOR UPDATE lib/redmine/nested_set/issue_nested_set.rb:162:in `lock_nested_set' lib/redmine/nested_set/issue_nested_set.rb:52:in `add_to_nested_set' app/models/issue.rb:211:in `create_or_update' test/object_helpers.rb:103:in `generate!' test/object_helpers.rb:273:in `generate_child!' test/unit/issue_nested_set_test.rb:90:in `test_move_a_child_to_root' 106) Error: IssueNestedSetTest#test_moving_a_child_issue_to_another_parent_should_trigger_update_nested_set_attributes_on_parent_change: ActiveRecord::StatementInvalid: PG::FeatureNotSupported: ERROR: SELECT FOR UPDATE/SHARE is not allowed with DISTINCT clause : SELECT "issues"."id" FROM "issues" INNER JOIN (SELECT DISTINCT "issues"."root_id" FROM "issues" WHERE "issues"."id" = 1) as i2 ON issues.root_id = i2.root_id ORDER BY "issues"."id" ASC FOR UPDATE lib/redmine/nested_set/issue_nested_set.rb:162:in `lock_nested_set' lib/redmine/nested_set/issue_nested_set.rb:52:in `add_to_nested_set' app/models/issue.rb:211:in `create_or_update' test/object_helpers.rb:103:in `generate!' test/unit/issue_nested_set_test.rb:197:in `test_moving_a_child_issue_to_another_parent_should_trigger_update_nested_set_attributes_on_parent_change' 107) Error: IssueNestedSetTest#test_destroy_parent_issue_updated_during_children_destroy: ActiveRecord::StatementInvalid: PG::FeatureNotSupported: ERROR: SELECT FOR UPDATE/SHARE is not allowed with DISTINCT clause : SELECT "issues"."id" FROM "issues" INNER JOIN (SELECT DISTINCT "issues"."root_id" FROM "issues" WHERE "issues"."id" = 35) as i2 ON issues.root_id = i2.root_id ORDER BY "issues"."id" ASC FOR UPDATE lib/redmine/nested_set/issue_nested_set.rb:162:in `lock_nested_set' lib/redmine/nested_set/issue_nested_set.rb:52:in `add_to_nested_set' app/models/issue.rb:211:in `create_or_update' test/object_helpers.rb:103:in `generate!' test/object_helpers.rb:273:in `generate_child!' test/unit/issue_nested_set_test.rb:248:in `test_destroy_parent_issue_updated_during_children_destroy' 108) Error: IssueNestedSetTest#test_destroy_child_should_update_parent: ActiveRecord::StatementInvalid: PG::FeatureNotSupported: ERROR: SELECT FOR UPDATE/SHARE is not allowed with DISTINCT clause : SELECT "issues"."id" FROM "issues" INNER JOIN (SELECT DISTINCT "issues"."root_id" FROM "issues" WHERE "issues"."id" = 37) as i2 ON issues.root_id = i2.root_id ORDER BY "issues"."id" ASC FOR UPDATE lib/redmine/nested_set/issue_nested_set.rb:162:in `lock_nested_set' lib/redmine/nested_set/issue_nested_set.rb:52:in `add_to_nested_set' app/models/issue.rb:211:in `create_or_update' test/object_helpers.rb:103:in `generate!' test/object_helpers.rb:273:in `generate_child!' test/unit/issue_nested_set_test.rb:237:in `test_destroy_child_should_update_parent' 109) Error: IssueNestedSetTest#test_destroy_should_destroy_children: ActiveRecord::StatementInvalid: PG::FeatureNotSupported: ERROR: SELECT FOR UPDATE/SHARE is not allowed with DISTINCT clause : SELECT "issues"."id" FROM "issues" INNER JOIN (SELECT DISTINCT "issues"."root_id" FROM "issues" WHERE "issues"."id" = 39) as i2 ON issues.root_id = i2.root_id ORDER BY "issues"."id" ASC FOR UPDATE lib/redmine/nested_set/issue_nested_set.rb:162:in `lock_nested_set' lib/redmine/nested_set/issue_nested_set.rb:52:in `add_to_nested_set' app/models/issue.rb:211:in `create_or_update' test/object_helpers.rb:103:in `generate!' test/object_helpers.rb:273:in `generate_child!' test/unit/issue_nested_set_test.rb:214:in `test_destroy_should_destroy_children' 110) Error: IssueNestedSetTest#test_move_a_child_with_descendants_to_another_project: ActiveRecord::StatementInvalid: PG::FeatureNotSupported: ERROR: SELECT FOR UPDATE/SHARE is not allowed with DISTINCT clause : SELECT "issues"."id" FROM "issues" INNER JOIN (SELECT DISTINCT "issues"."root_id" FROM "issues" WHERE "issues"."id" = 40) as i2 ON issues.root_id = i2.root_id ORDER BY "issues"."id" ASC FOR UPDATE lib/redmine/nested_set/issue_nested_set.rb:162:in `lock_nested_set' lib/redmine/nested_set/issue_nested_set.rb:52:in `add_to_nested_set' app/models/issue.rb:211:in `create_or_update' test/object_helpers.rb:103:in `generate!' test/object_helpers.rb:273:in `generate_child!' test/unit/issue_nested_set_test.rb:147:in `test_move_a_child_with_descendants_to_another_project' 111) Error: IssueNestedSetTest#test_moving_a_root_issue_should_trigger_update_nested_set_attributes_on_parent_change: ActiveRecord::StatementInvalid: PG::FeatureNotSupported: ERROR: SELECT FOR UPDATE/SHARE is not allowed with DISTINCT clause : SELECT "issues"."id" FROM "issues" INNER JOIN (SELECT DISTINCT "issues"."root_id" FROM "issues" WHERE "issues"."id" IN (41, 1)) as i2 ON issues.root_id = i2.root_id ORDER BY "issues"."id" ASC FOR UPDATE lib/redmine/nested_set/issue_nested_set.rb:162:in `lock_nested_set' lib/redmine/nested_set/issue_nested_set.rb:72:in `handle_parent_change' app/models/issue.rb:211:in `create_or_update' test/unit/issue_nested_set_test.rb:193:in `test_moving_a_root_issue_should_trigger_update_nested_set_attributes_on_parent_change' 112) Error: IssueNestedSetTest#test_moving_an_issue_to_a_descendant_should_not_validate: ActiveRecord::StatementInvalid: PG::FeatureNotSupported: ERROR: SELECT FOR UPDATE/SHARE is not allowed with DISTINCT clause : SELECT "issues"."id" FROM "issues" INNER JOIN (SELECT DISTINCT "issues"."root_id" FROM "issues" WHERE "issues"."id" = 42) as i2 ON issues.root_id = i2.root_id ORDER BY "issues"."id" ASC FOR UPDATE lib/redmine/nested_set/issue_nested_set.rb:162:in `lock_nested_set' lib/redmine/nested_set/issue_nested_set.rb:52:in `add_to_nested_set' app/models/issue.rb:211:in `create_or_update' test/object_helpers.rb:103:in `generate!' test/object_helpers.rb:273:in `generate_child!' test/unit/issue_nested_set_test.rb:166:in `test_moving_an_issue_to_a_descendant_should_not_validate' 113) Error: IssueNestedSetTest#test_move_a_root_to_child: ActiveRecord::StatementInvalid: PG::FeatureNotSupported: ERROR: SELECT FOR UPDATE/SHARE is not allowed with DISTINCT clause : SELECT "issues"."id" FROM "issues" INNER JOIN (SELECT DISTINCT "issues"."root_id" FROM "issues" WHERE "issues"."id" = 44) as i2 ON issues.root_id = i2.root_id ORDER BY "issues"."id" ASC FOR UPDATE lib/redmine/nested_set/issue_nested_set.rb:162:in `lock_nested_set' lib/redmine/nested_set/issue_nested_set.rb:52:in `add_to_nested_set' app/models/issue.rb:211:in `create_or_update' test/object_helpers.rb:103:in `generate!' test/object_helpers.rb:273:in `generate_child!' test/unit/issue_nested_set_test.rb:73:in `test_move_a_root_to_child' 114) Error: IssueNestedSetTest#test_project_copy_should_copy_issue_tree: ActiveRecord::StatementInvalid: PG::FeatureNotSupported: ERROR: SELECT FOR UPDATE/SHARE is not allowed with DISTINCT clause : SELECT "issues"."id" FROM "issues" INNER JOIN (SELECT DISTINCT "issues"."root_id" FROM "issues" WHERE "issues"."id" = 46) as i2 ON issues.root_id = i2.root_id ORDER BY "issues"."id" ASC FOR UPDATE lib/redmine/nested_set/issue_nested_set.rb:162:in `lock_nested_set' lib/redmine/nested_set/issue_nested_set.rb:52:in `add_to_nested_set' app/models/issue.rb:211:in `create_or_update' test/object_helpers.rb:103:in `generate!' test/object_helpers.rb:273:in `generate_child!' test/unit/issue_nested_set_test.rb:293:in `test_project_copy_should_copy_issue_tree' 115) Error: IssueNestedSetTest#test_create_child_issue: ActiveRecord::StatementInvalid: PG::FeatureNotSupported: ERROR: SELECT FOR UPDATE/SHARE is not allowed with DISTINCT clause : SELECT "issues"."id" FROM "issues" INNER JOIN (SELECT DISTINCT "issues"."root_id" FROM "issues" WHERE "issues"."id" = 47) as i2 ON issues.root_id = i2.root_id ORDER BY "issues"."id" ASC FOR UPDATE lib/redmine/nested_set/issue_nested_set.rb:162:in `lock_nested_set' lib/redmine/nested_set/issue_nested_set.rb:52:in `add_to_nested_set' app/models/issue.rb:211:in `create_or_update' test/object_helpers.rb:103:in `generate!' test/object_helpers.rb:273:in `generate_child!' test/unit/issue_nested_set_test.rb:46:in `test_create_child_issue' 116) Error: IssueNestedSetTest#test_destroy_issue_with_grand_child: ActiveRecord::StatementInvalid: PG::FeatureNotSupported: ERROR: SELECT FOR UPDATE/SHARE is not allowed with DISTINCT clause : SELECT "issues"."id" FROM "issues" INNER JOIN (SELECT DISTINCT "issues"."root_id" FROM "issues" WHERE "issues"."id" = 48) as i2 ON issues.root_id = i2.root_id ORDER BY "issues"."id" ASC FOR UPDATE lib/redmine/nested_set/issue_nested_set.rb:162:in `lock_nested_set' lib/redmine/nested_set/issue_nested_set.rb:52:in `add_to_nested_set' app/models/issue.rb:211:in `create_or_update' test/object_helpers.rb:103:in `generate!' test/object_helpers.rb:273:in `generate_child!' test/unit/issue_nested_set_test.rb:279:in `test_destroy_issue_with_grand_child' 117) Error: IssueNestedSetTest#test_moving_a_child_issue_to_root_should_trigger_update_nested_set_attributes_on_parent_change: ActiveRecord::StatementInvalid: PG::FeatureNotSupported: ERROR: SELECT FOR UPDATE/SHARE is not allowed with DISTINCT clause : SELECT "issues"."id" FROM "issues" INNER JOIN (SELECT DISTINCT "issues"."root_id" FROM "issues" WHERE "issues"."id" = 1) as i2 ON issues.root_id = i2.root_id ORDER BY "issues"."id" ASC FOR UPDATE lib/redmine/nested_set/issue_nested_set.rb:162:in `lock_nested_set' lib/redmine/nested_set/issue_nested_set.rb:52:in `add_to_nested_set' app/models/issue.rb:211:in `create_or_update' test/object_helpers.rb:103:in `generate!' test/unit/issue_nested_set_test.rb:204:in `test_moving_a_child_issue_to_root_should_trigger_update_nested_set_attributes_on_parent_change' 118) Error: IssueNestedSetTest#test_move_a_child_with_descendants_to_another_issue: ActiveRecord::StatementInvalid: PG::FeatureNotSupported: ERROR: SELECT FOR UPDATE/SHARE is not allowed with DISTINCT clause : SELECT "issues"."id" FROM "issues" INNER JOIN (SELECT DISTINCT "issues"."root_id" FROM "issues" WHERE "issues"."id" = 49) as i2 ON issues.root_id = i2.root_id ORDER BY "issues"."id" ASC FOR UPDATE lib/redmine/nested_set/issue_nested_set.rb:162:in `lock_nested_set' lib/redmine/nested_set/issue_nested_set.rb:52:in `add_to_nested_set' app/models/issue.rb:211:in `create_or_update' test/object_helpers.rb:103:in `generate!' test/object_helpers.rb:273:in `generate_child!' test/unit/issue_nested_set_test.rb:122:in `test_move_a_child_with_descendants_to_another_issue' 119) Error: IssueNestedSetTest#test_creating_a_child_in_a_subproject_should_validate: ActiveRecord::StatementInvalid: PG::FeatureNotSupported: ERROR: SELECT FOR UPDATE/SHARE is not allowed with DISTINCT clause : SELECT "issues"."id" FROM "issues" INNER JOIN (SELECT DISTINCT "issues"."root_id" FROM "issues" WHERE "issues"."id" = 51) as i2 ON issues.root_id = i2.root_id ORDER BY "issues"."id" ASC FOR UPDATE lib/redmine/nested_set/issue_nested_set.rb:162:in `lock_nested_set' lib/redmine/nested_set/issue_nested_set.rb:52:in `add_to_nested_set' app/models/issue.rb:211:in `create_or_update' test/test_helper.rb:201:in `assert_save' test/unit/issue_nested_set_test.rb:57:in `test_creating_a_child_in_a_subproject_should_validate' 4389 runs, 25036 assertions, 4 failures, 115 errors, 0 skips Build step 'Execute shell' marked build as failure Finished: FAILURE