rspec-ee migration pg11 2/2
Passed Started
by
@patrickbajao

Patrick Bajao
1Running with gitlab-runner 13.9.0-rc2 (69c049fd)2 on prm-com-gitlab-org ae3bfce23 feature flags: FF_GITLAB_REGISTRY_HELPER_IMAGE:true6Using Docker executor with image registry.gitlab.com/gitlab-org/gitlab-build-images:ruby-2.7.2.patched-golang-1.14-git-2.29-lfs-2.9-chrome-87-node-14.15-yarn-1.22-postgresql-11-graphicsmagick-1.3.34 ...7Starting service postgres:11.6 ...8Pulling docker image postgres:11.6 ...9Using docker image sha256:2c963c0eb8c6efa49bb8352ea446f248d208d674cfc34fc9ea275b5f99f8dedd for postgres:11.6 with digest postgres@sha256:6f2062ab11d720f4756f17da4d0a64534346cce33b7cdea9d7ac4f43eed9fc02 ...10Starting service redis:5.0-alpine ...11Pulling docker image redis:5.0-alpine ...12Using docker image sha256:f5b24aafdf93a05581fac6db4430badb2024b27c7d6c29eb3144b01828ac5a07 for redis:5.0-alpine with digest redis@sha256:6151b520d9ac29c1524d9637e0b3dc69cba7dbef27a427d6dba355652fff8306 ...13Starting service elasticsearch:7.10.1 ...14Pulling docker image elasticsearch:7.10.1 ...15Using docker image sha256:558380375f1a36c20e67c3a0b7bf715c659d75520d0e688b066d5e708918d716 for elasticsearch:7.10.1 with digest elasticsearch@sha256:7cd88158f6ac75d43b447fdd98c4eb69483fa7bf1be5616a85fe556262dc864a ...16Waiting for services to be up and running...17Authenticating with credentials from job payload (GitLab Registry)18Pulling docker image registry.gitlab.com/gitlab-org/gitlab-build-images:ruby-2.7.2.patched-golang-1.14-git-2.29-lfs-2.9-chrome-87-node-14.15-yarn-1.22-postgresql-11-graphicsmagick-1.3.34 ...19Using docker image sha256:4d23ed899afed063085b02cb83fa639d1a880dc4059e6c7f0af9ee9b713ba41b for registry.gitlab.com/gitlab-org/gitlab-build-images:ruby-2.7.2.patched-golang-1.14-git-2.29-lfs-2.9-chrome-87-node-14.15-yarn-1.22-postgresql-11-graphicsmagick-1.3.34 with digest registry.gitlab.com/gitlab-org/gitlab-build-images@sha256:d70df1af0359f58b269fab0d70a090bca324eba3a03e465146b10aef05de3273 ...21Running on runner-ae3bfce2-project-278964-concurrent-0 via runner-ae3bfce2-prm-1614759134-a7c1bde4...23$ eval "$CI_PRE_CLONE_SCRIPT"24Downloading archived master...25Connecting to storage.googleapis.com (172.217.193.128:443)26saving to '/tmp/gitlab.tar.gz'27gitlab.tar.gz 20% |****** | 80.5M 0:00:03 ETA28gitlab.tar.gz 51% |**************** | 204M 0:00:01 ETA29gitlab.tar.gz 81% |************************** | 322M 0:00:00 ETA30gitlab.tar.gz 100% |********************************| 396M 0:00:00 ETA31'/tmp/gitlab.tar.gz' saved32Extracting tarball into /builds/gitlab-org/gitlab...33Fetching changes with git depth set to 20...34Reinitialized existing Git repository in /builds/gitlab-org/gitlab/.git/35remote: Enumerating objects: 1210, done. 36remote: Counting objects: 100% (645/645), done. 37remote: Compressing objects: 100% (248/248), done. 38remote: Total 320 (delta 256), reused 130 (delta 68), pack-reused 039Receiving objects: 100% (320/320), 40.40 KiB | 984.00 KiB/s, done.40Resolving deltas: 100% (256/256), completed with 120 local objects.42 * [new ref] 4996f4cc3b5cc82b8b493bfd2a4ced37e8cf757c -> refs/pipelines/26473258743Checking out 4996f4cc as refs/merge-requests/55046/merge...44Skipping Git submodules setup46Checking cache for rails-v4-3...47cache.zip is up to date 48WARNING: vendor/ruby/2.7.0/gems/deprecation_toolkit-1.5.1/gemfiles/test/deprecations: chmod vendor/ruby/2.7.0/gems/deprecation_toolkit-1.5.1/gemfiles/test/deprecations: no such file or directory (suppressing repeats) 49Successfully extracted cache51Downloading artifacts for compile-test-assets (1069711722)...52Downloading artifacts from coordinator... ok id=1069711722 responseStatus=200 OK token=cQ-zkx2s53Downloading artifacts for detect-tests (1069711729)...54Downloading artifacts from coordinator... ok id=1069711729 responseStatus=200 OK token=4KJ6tsyT55Downloading artifacts for retrieve-tests-metadata (1069711731)...56Downloading artifacts from coordinator... ok id=1069711731 responseStatus=200 OK token=nMSW8ysV57Downloading artifacts for setup-test-env (1069711725)...58Downloading artifacts from coordinator... ok id=1069711725 responseStatus=200 OK token=fSmN9Jtk59WARNING: tmp/tests/gitlab-shell/.gitlab_shell_secret: chmod tmp/tests/gitlab-shell/.gitlab_shell_secret: no such file or directory (suppressing repeats) 61Using docker image sha256:4d23ed899afed063085b02cb83fa639d1a880dc4059e6c7f0af9ee9b713ba41b for registry.gitlab.com/gitlab-org/gitlab-build-images:ruby-2.7.2.patched-golang-1.14-git-2.29-lfs-2.9-chrome-87-node-14.15-yarn-1.22-postgresql-11-graphicsmagick-1.3.34 with digest registry.gitlab.com/gitlab-org/gitlab-build-images@sha256:d70df1af0359f58b269fab0d70a090bca324eba3a03e465146b10aef05de3273 ...62$ [ "$FOSS_ONLY" = "1" ] && rm -rf ee/ qa/spec/ee/ qa/qa/specs/features/ee/ qa/qa/ee/ qa/qa/ee.rb63$ export GOPATH=$CI_PROJECT_DIR/.go64$ mkdir -p $GOPATH65$ source scripts/utils.sh66$ source scripts/prepare_build.sh67Bundler version 2.1.468$ bundle install --without=production development --jobs=2 --path=vendor --retry=3 --quiet69==> 'bundle install --without=production development --jobs=2 --path=vendor --retry=3 --quiet' succeeded in 1 seconds.70$ bundle check71The Gemfile's dependencies are satisfied72==> 'bundle check' succeeded in 1 seconds.73$ bundle pristine pg74Installing pg 1.2.3 with native extensions75==> 'bundle pristine pg' succeeded in 11 seconds.76$ setup_db_user_only77CREATE ROLE78GRANT79==> 'setup_db_user_only' succeeded in 0 seconds.80$ bundle exec rake db:drop db:create db:structure:load db:migrate gitlab:db:setup_ee81Dropped database 'gitlabhq_test'82Created database 'gitlabhq_test'83Dropped database 'gitlabhq_geo_test'84Created database 'gitlabhq_geo_test'85==> 'bundle exec rake db:drop db:create db:structure:load db:migrate gitlab:db:setup_ee' succeeded in 27 seconds.86$ run_timed_command "gem install knapsack --no-document"87$ gem install knapsack --no-document88Successfully installed knapsack-1.20.0891 gem installed90==> 'gem install knapsack --no-document' succeeded in 1 seconds.91$ run_timed_command "scripts/gitaly-test-spawn"92$ scripts/gitaly-test-spawn93Settings are listed in order of priority. The top value will be used.94retry95Set for your local app (/builds/gitlab-org/gitlab/tmp/tests/gitaly/ruby/.bundle/config/config): 396path97Set for your local app (/builds/gitlab-org/gitlab/tmp/tests/gitaly/ruby/.bundle/config/config): "/builds/gitlab-org/gitlab/vendor/gitaly-ruby"98jobs99Set for your local app (/builds/gitlab-org/gitlab/tmp/tests/gitaly/ruby/.bundle/config/config): 4100app_config101Set via BUNDLE_APP_CONFIG: "/builds/gitlab-org/gitlab/tmp/tests/gitaly/ruby/.bundle/config"102gemfile103Set via BUNDLE_GEMFILE: "/builds/gitlab-org/gitlab/tmp/tests/gitaly/ruby/Gemfile"104flags105Set via BUNDLE_FLAGS: "--jobs=4 --retry=3 --path=/builds/gitlab-org/gitlab/vendor/gitaly-ruby"106Don't run Bundler as root. Bundler can ask for sudo if it is needed, and107installing your bundle as root will break this application for all non-root108users on this machine.109Using abstract_type 0.0.7110Using concurrent-ruby 1.1.7111Using i18n 1.8.5112Using minitest 5.14.2113Using thread_safe 0.3.6114Using tzinfo 1.2.9115Using zeitwerk 2.4.2116Using activesupport 6.0.3.4117Using builder 3.2.4118Using erubi 1.10.0119Using mini_portile2 2.5.0120Using racc 1.5.2121Using nokogiri 1.11.1 (x86_64-linux)122Using rails-dom-testing 2.0.3123Using crass 1.0.6124Using loofah 2.9.0125Using rails-html-sanitizer 1.3.0126Using actionview 6.0.3.4127Using rack 2.2.3128Using rack-test 1.1.0129Using actionpack 6.0.3.4130Using ice_nine 0.11.2131Using memoizable 0.4.2132Using adamantium 0.2.0133Using public_suffix 4.0.6134Using addressable 2.7.0135Using ast 2.4.1136Using binding_ninja 0.2.3137Using bundler 2.1.4138Using charlock_holmes 0.7.7139Using coderay 1.1.2140Using equalizer 0.0.11141Using concord 0.1.5142Using diff-lcs 1.3143Using dotenv 2.7.6144Using escape_utils 1.2.1145Using factory_bot 5.0.2146Using multipart-post 2.1.1147Using faraday 1.0.1148Using ffi 1.13.1149Using json 2.5.1150Using gemojione 3.3.0151Using mini_mime 1.0.2152Using rugged 1.0.1153Using github-linguist 7.12.1154Using github-markup 1.7.0155Using mime-types-data 3.2020.1104156Using mime-types 3.3.1157Using gitlab-gollum-rugged_adapter 0.4.4.3.gitlab.1158Using rouge 3.26.0159Using nokogumbo 1.5.0160Using sanitize 4.6.6161Using stringex 2.8.5162Using gitlab-gollum-lib 4.2.7.10.gitlab.1163Using google-protobuf 3.12.4 (x86_64-linux)164Using googleapis-common-protos-types 1.0.5165Using grpc 1.30.2 (x86_64-linux)166Using opentracing 0.5.0167Using thrift 0.13.0168Using jaeger-client 1.1.0169Using pg_query 1.3.0170Using redis 4.2.5171Using gitlab-labkit 0.15.0172Using gitlab-markup 1.7.1173Using grpc-tools 1.30.2174Using sawyer 0.8.2175Using octokit 4.20.0176Using reverse_markdown 1.4.0177Using thor 1.1.0178Using licensee 9.14.1179Using method_source 0.9.2180Using msgpack 1.3.3181Using optimist 3.0.1182Using parallel 1.19.2183Using parser 2.7.2.0184Using procto 0.0.3185Using unparser 0.4.7186Using proc_to_ast 0.1.0187Using pry 0.12.2188Using rainbow 3.0.0189Using rbtrace 0.4.14190Using rdoc 6.2.0191Using regexp_parser 1.8.1192Using rexml 3.2.4193Using rspec-support 3.8.0194Using rspec-core 3.8.0195Using rspec-expectations 3.8.3196Using rspec-mocks 3.8.0197Using rspec 3.8.0198Using rspec-parameterized 0.4.2199Using rubocop-ast 0.2.0200Using ruby-progressbar 1.10.1201Using unicode-display_width 1.7.0202Using rubocop 0.86.0203Using sentry-raven 3.0.4204Using timecop 0.9.1205Bundle complete! 21 Gemfile dependencies, 96 gems now installed.206Bundled gems are installed into `/builds/gitlab-org/gitlab/vendor/gitaly-ruby`207Checking gitaly-ruby Gemfile...208Checking gitaly-ruby bundle...209The Gemfile's dependencies are satisfied210Trying to connect to gitaly: ........ OK211Trying to connect to gitaly2: .................. OK212Trying to connect to praefect: .......... OK213==> 'scripts/gitaly-test-spawn' succeeded in 4 seconds.214$ source ./scripts/rspec_helpers.sh215$ rspec_paralellized_job "--tag ~quarantine --tag ~geo --tag level:migration"216KNAPSACK_TEST_FILE_PATTERN: ee/spec/{migrations,lib/gitlab/background_migration,lib/ee/gitlab/background_migration}{,/**/}*_spec.rb217Knapsack report generator started!218WARNING: `around(:context)` hooks are not supported and behave like `around(:example). Called from /builds/gitlab-org/gitlab/spec/support/omniauth_strategy.rb:36:in `block in <top (required)>'.219Run options:220 include {:focus=>true, :level=>"migration"}221 exclude {:quarantine=>true, :geo=>true}222==> Setting up GitLab Workhorse...223 GitLab Workhorse set up in 68.056778282 seconds...224==> Setting up gitlab-test bare repository in /builds/gitlab-org/gitlab/tmp/tests/gitlab-test_bare...225 /builds/gitlab-org/gitlab/tmp/tests/gitlab-test_bare set up in 0.048416117 seconds...226Gitlab::BackgroundMigration::UserMentions::CreateResourceUserMention227 when migrating data228 epic mentions229 mentions in epic description230 behaves like resource mentions migration231 migrates resource mentions232 when FF disabled233 behaves like resource migration not run234 does not migrate mentions235 mentions in epic notes236 behaves like resource notes mentions migration237 migrates mentions from note238 when FF disabled239 behaves like resource notes migration not run240 does not migrate mentions241 design mentions242 behaves like resource notes mentions migration243 migrates mentions from note244 when FF disabled245 behaves like resource notes migration not run246 does not migrate mentions247 checks no_quote_columns248 checks that epic has correct no_quote_columns249 checks that Design has correct no_quote_columns250Gitlab::BackgroundMigration::RemoveInaccessibleEpicTodos251NOTICE: trigger "trigger_9a96291bb38d" for relation "application_settings" does not exist, skipping252NOTICE: trigger "trigger_22a39c5c25f3" for relation "application_settings" does not exist, skipping253NOTICE: trigger "trigger_1572cbc9a15f" for relation "application_settings" does not exist, skipping254NOTICE: trigger "trigger_448e14608510" for relation "pages_deployments" does not exist, skipping255DEPRECATION WARNING: /builds/gitlab-org/gitlab/vendor/ruby/2.7.0/gems/activerecord-6.0.3.4/lib/active_record/migration.rb:890: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call256/builds/gitlab-org/gitlab/vendor/ruby/2.7.0/gems/activerecord-6.0.3.4/lib/active_record/connection_adapters/abstract/schema_statements.rb:1026: warning: The called method `remove_foreign_key' is defined here257 (called from remove_foreign_key_without_error at /builds/gitlab-org/gitlab/lib/gitlab/database/migration_helpers.rb:1175)258 #perform259 when user is not member of related groups260 deletes only todos referencing confidential epics261 when user is only guest member of related groups262 deletes todos referencing confidential epics263 when user is member of subgroup264 deletes only epic todos in the root group265 when user is member of root group266 does not delete any todos267 when user is only guest on root group268 deletes only root confidential epic todo269 when root group is shared with other group270 does not delete any todos271NOTICE: constraint "check_242f0cc65c" of relation "webauthn_registrations" does not exist, skipping272NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_elasticsearch_indexed_projects_on_project_id" to "elasticsearch_indexed_projects_pkey"273NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_elasticsearch_indexed_namespaces_on_namespace_id" to "elasticsearch_indexed_namespaces_pkey"274NOTICE: trigger "trigger_448e14608510" for relation "pages_deployments" does not exist, skipping275NOTICE: trigger "trigger_9a96291bb38d" for relation "application_settings" does not exist, skipping276NOTICE: trigger "trigger_22a39c5c25f3" for relation "application_settings" does not exist, skipping277NOTICE: trigger "trigger_1572cbc9a15f" for relation "application_settings" does not exist, skipping278Gitlab::BackgroundMigration::PopulateVulnerabilityFeedbackPipelineId279NOTICE: trigger "trigger_9a96291bb38d" for relation "application_settings" does not exist, skipping280NOTICE: trigger "trigger_22a39c5c25f3" for relation "application_settings" does not exist, skipping281NOTICE: trigger "trigger_1572cbc9a15f" for relation "application_settings" does not exist, skipping282NOTICE: trigger "trigger_448e14608510" for relation "pages_deployments" does not exist, skipping283NOTICE: trigger "trigger_1f0ae12498d3" for relation "application_settings" does not exist, skipping284NOTICE: trigger "trigger_72b785aa2f14" for relation "application_settings" does not exist, skipping285NOTICE: trigger "trigger_3d531acd472b" for relation "application_settings" does not exist, skipping286 #perform287 when there is a succesful pipeline288 but the pipeline has no security reports289 does not update pipeline_id290 and the pipeline has security reports291 and is not successful292 does not update pipeline_id293 and is successful294 does update pipeline_id for feedback295 and the pipeline has also legacy security reports296 does update pipeline_id from for feedback using non-legacy pipeline_id297 and the pipeline has legacy security reports298 and is not successful299 does not update pipeline_id300 and is successful301 does update pipeline_id for feedback302NOTICE: trigger "trigger_1f0ae12498d3" for relation "application_settings" does not exist, skipping303NOTICE: trigger "trigger_72b785aa2f14" for relation "application_settings" does not exist, skipping304NOTICE: trigger "trigger_3d531acd472b" for relation "application_settings" does not exist, skipping305NOTICE: constraint "check_242f0cc65c" of relation "webauthn_registrations" does not exist, skipping306NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_elasticsearch_indexed_projects_on_project_id" to "elasticsearch_indexed_projects_pkey"307NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_elasticsearch_indexed_namespaces_on_namespace_id" to "elasticsearch_indexed_namespaces_pkey"308NOTICE: trigger "trigger_448e14608510" for relation "pages_deployments" does not exist, skipping309NOTICE: trigger "trigger_9a96291bb38d" for relation "application_settings" does not exist, skipping310NOTICE: trigger "trigger_22a39c5c25f3" for relation "application_settings" does not exist, skipping311NOTICE: trigger "trigger_1572cbc9a15f" for relation "application_settings" does not exist, skipping312BackfillVersionAuthorAndCreatedAt313NOTICE: trigger "trigger_9a96291bb38d" for relation "application_settings" does not exist, skipping314NOTICE: trigger "trigger_22a39c5c25f3" for relation "application_settings" does not exist, skipping315NOTICE: trigger "trigger_1572cbc9a15f" for relation "application_settings" does not exist, skipping316NOTICE: trigger "trigger_448e14608510" for relation "pages_deployments" does not exist, skipping317NOTICE: trigger "trigger_1f0ae12498d3" for relation "application_settings" does not exist, skipping318NOTICE: trigger "trigger_72b785aa2f14" for relation "application_settings" does not exist, skipping319NOTICE: trigger "trigger_3d531acd472b" for relation "application_settings" does not exist, skipping320NOTICE: trigger "trigger_8fe85065a3f9" for relation "application_settings" does not exist, skipping321NOTICE: trigger "trigger_d5eb03a59792" for relation "packages_pypi_metadata" does not exist, skipping322NOTICE: constraint "check_242f0cc65c" of relation "webauthn_registrations" does not exist, skipping323NOTICE: trigger "trigger_f14363ffbcd3" for relation "sprints" does not exist, skipping324NOTICE: trigger "trigger_9ab19b89128a" for relation "vulnerabilities" does not exist, skipping325NOTICE: trigger "trigger_27c6ea5cb43e" for relation "vulnerabilities" does not exist, skipping326NOTICE: trigger "trigger_5e971e2e2c26" for relation "pages_domains" does not exist, skipping327NOTICE: trigger "trigger_e856257b2421" for relation "commit_user_mentions" does not exist, skipping328NOTICE: trigger "trigger_5299882abc4c" for relation "software_license_policies" does not exist, skipping329 scheduling330== 20191030223057 BackfillVersionAuthorAndCreatedAt: migrating ================331DEPRECATION WARNING: Class level methods will no longer inherit scoping from `with_unique_issue_ids` in Rails 6.1. To continue using the scoped relation, pass it into the block directly. To instead access the full set of models, as Rails 6.1 will, use `BackfillVersionAuthorAndCreatedAt::Version.default_scoped`. (called from block in <class:Version> at /builds/gitlab-org/gitlab/db/post_migrate/20191030223057_backfill_version_author_and_created_at.rb:32)332== 20191030223057 BackfillVersionAuthorAndCreatedAt: migrated (0.0173s) =======333 schedules background migrations in bulk, one job per unique issue id334== 20191030223057 BackfillVersionAuthorAndCreatedAt: migrating ================335DEPRECATION WARNING: Class level methods will no longer inherit scoping from `with_unique_issue_ids` in Rails 6.1. To continue using the scoped relation, pass it into the block directly. To instead access the full set of models, as Rails 6.1 will, use `BackfillVersionAuthorAndCreatedAt::Version.default_scoped`. (called from block in <class:Version> at /builds/gitlab-org/gitlab/db/post_migrate/20191030223057_backfill_version_author_and_created_at.rb:32)336== 20191030223057 BackfillVersionAuthorAndCreatedAt: migrated (0.0219s) =======337 schedules background migrations in batches338 scoping version records339== 20191030223057 BackfillVersionAuthorAndCreatedAt: migrating ================340DEPRECATION WARNING: Class level methods will no longer inherit scoping from `with_unique_issue_ids` in Rails 6.1. To continue using the scoped relation, pass it into the block directly. To instead access the full set of models, as Rails 6.1 will, use `BackfillVersionAuthorAndCreatedAt::Version.default_scoped`. (called from block in <class:Version> at /builds/gitlab-org/gitlab/db/post_migrate/20191030223057_backfill_version_author_and_created_at.rb:32)341== 20191030223057 BackfillVersionAuthorAndCreatedAt: migrated (0.0192s) =======342 schedules background migrations for versions that have NULL author_ids343== 20191030223057 BackfillVersionAuthorAndCreatedAt: migrating ================344DEPRECATION WARNING: Class level methods will no longer inherit scoping from `with_unique_issue_ids` in Rails 6.1. To continue using the scoped relation, pass it into the block directly. To instead access the full set of models, as Rails 6.1 will, use `BackfillVersionAuthorAndCreatedAt::Version.default_scoped`. (called from block in <class:Version> at /builds/gitlab-org/gitlab/db/post_migrate/20191030223057_backfill_version_author_and_created_at.rb:32)345== 20191030223057 BackfillVersionAuthorAndCreatedAt: migrated (0.0300s) =======346 schedules background migrations for versions that have NULL created_ats347== 20191030223057 BackfillVersionAuthorAndCreatedAt: migrating ================348DEPRECATION WARNING: Class level methods will no longer inherit scoping from `with_unique_issue_ids` in Rails 6.1. To continue using the scoped relation, pass it into the block directly. To instead access the full set of models, as Rails 6.1 will, use `BackfillVersionAuthorAndCreatedAt::Version.default_scoped`. (called from block in <class:Version> at /builds/gitlab-org/gitlab/db/post_migrate/20191030223057_backfill_version_author_and_created_at.rb:32)349== 20191030223057 BackfillVersionAuthorAndCreatedAt: migrated (0.0064s) =======350 does not schedule background migrations for versions that have author_ids and created_ats351== 20191030223057 BackfillVersionAuthorAndCreatedAt: migrating ================352DEPRECATION WARNING: Class level methods will no longer inherit scoping from `with_unique_issue_ids` in Rails 6.1. To continue using the scoped relation, pass it into the block directly. To instead access the full set of models, as Rails 6.1 will, use `BackfillVersionAuthorAndCreatedAt::Version.default_scoped`. (called from block in <class:Version> at /builds/gitlab-org/gitlab/db/post_migrate/20191030223057_backfill_version_author_and_created_at.rb:32)353== 20191030223057 BackfillVersionAuthorAndCreatedAt: migrated (0.0072s) =======354 does not schedule background migrations for versions that are in projects that are pending deletion355DEPRECATION WARNING: Class level methods will no longer inherit scoping from `with_unique_issue_ids` in Rails 6.1. To continue using the scoped relation, pass it into the block directly. To instead access the full set of models, as Rails 6.1 will, use `BackfillVersionAuthorAndCreatedAt::Version.default_scoped`. (called from block in <class:Version> at /builds/gitlab-org/gitlab/db/post_migrate/20191030223057_backfill_version_author_and_created_at.rb:32)356NOTICE: trigger "trigger_5299882abc4c" for relation "software_license_policies" does not exist, skipping357NOTICE: trigger "trigger_e856257b2421" for relation "commit_user_mentions" does not exist, skipping358DEPRECATION WARNING: /builds/gitlab-org/gitlab/vendor/ruby/2.7.0/gems/activerecord-6.0.3.4/lib/active_record/migration.rb:890: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call359/builds/gitlab-org/gitlab/vendor/ruby/2.7.0/gems/activerecord-6.0.3.4/lib/active_record/connection_adapters/postgresql/schema_statements.rb:393: warning: The called method `add_column' is defined here360 (called from block in add_timestamps_with_timezone at /builds/gitlab-org/gitlab/lib/gitlab/database/migration_helpers.rb:53)361NOTICE: trigger "trigger_5e971e2e2c26" for relation "pages_domains" does not exist, skipping362NOTICE: table "deployment_clusters" does not exist, skipping363NOTICE: trigger "trigger_27c6ea5cb43e" for relation "vulnerabilities" does not exist, skipping364NOTICE: trigger "trigger_9ab19b89128a" for relation "vulnerabilities" does not exist, skipping365NOTICE: constraint "lfs_objects_file_store_not_null" of relation "lfs_objects" does not exist, skipping366NOTICE: constraint "ci_job_artifacts_file_store_not_null" of relation "ci_job_artifacts" does not exist, skipping367NOTICE: constraint "uploads_store_not_null" of relation "uploads" does not exist, skipping368NOTICE: trigger "trigger_f14363ffbcd3" for relation "sprints" does not exist, skipping369NOTICE: schema "partitions_dynamic" does not exist, skipping370NOTICE: table "untracked_files_for_uploads" does not exist, skipping371NOTICE: trigger "trigger_d5eb03a59792" for relation "packages_pypi_metadata" does not exist, skipping372NOTICE: trigger "trigger_8fe85065a3f9" for relation "application_settings" does not exist, skipping373NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_project_authorizations_on_user_id_project_id_access_level" to "project_authorizations_pkey"374NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "analytics_repository_languages_unique_index" to "analytics_language_trend_repository_languages_pkey"375NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_approval_project_rules_protected_branches_unique" to "approval_project_rules_protected_branches_pkey"376NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_ci_build_trace_sections_on_build_id_and_section_name_id" to "ci_build_trace_sections_pkey"377NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "idx_deployment_merge_requests_unique_index" to "deployment_merge_requests_pkey"378NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_issue_assignees_on_issue_id_and_user_id" to "issue_assignees_pkey"379NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "issue_id_prometheus_alert_event_id_index" to "issues_prometheus_alert_events_pkey"380NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "issue_id_self_managed_prometheus_alert_event_id_index" to "issues_self_managed_prometheus_alert_events_pkey"381NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_merge_request_diff_commits_on_mr_diff_id_and_order" to "merge_request_diff_commits_pkey"382NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_merge_request_diff_files_on_mr_diff_id_and_order" to "merge_request_diff_files_pkey"383NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_miletone_releases_on_milestone_and_release" to "milestone_releases_pkey"384NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_project_pages_metadata_on_project_id" to "project_pages_metadata_pkey"385NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_push_event_payloads_on_event_id" to "push_event_payloads_pkey"386NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_repository_languages_on_project_and_languages_id" to "repository_languages_pkey"387NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_user_interacted_projects_on_project_id_and_user_id" to "user_interacted_projects_pkey"388NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "users_security_dashboard_projects_unique_index" to "users_security_dashboard_projects_pkey"389NOTICE: trigger "trigger_1f0ae12498d3" for relation "application_settings" does not exist, skipping390NOTICE: trigger "trigger_72b785aa2f14" for relation "application_settings" does not exist, skipping391NOTICE: trigger "trigger_3d531acd472b" for relation "application_settings" does not exist, skipping392NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_elasticsearch_indexed_projects_on_project_id" to "elasticsearch_indexed_projects_pkey"393NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_elasticsearch_indexed_namespaces_on_namespace_id" to "elasticsearch_indexed_namespaces_pkey"394NOTICE: trigger "trigger_448e14608510" for relation "pages_deployments" does not exist, skipping395NOTICE: trigger "trigger_9a96291bb38d" for relation "application_settings" does not exist, skipping396NOTICE: trigger "trigger_22a39c5c25f3" for relation "application_settings" does not exist, skipping397NOTICE: trigger "trigger_1572cbc9a15f" for relation "application_settings" does not exist, skipping398BackfillOperationsFeatureFlagsIid399NOTICE: trigger "trigger_9a96291bb38d" for relation "application_settings" does not exist, skipping400NOTICE: trigger "trigger_22a39c5c25f3" for relation "application_settings" does not exist, skipping401NOTICE: trigger "trigger_1572cbc9a15f" for relation "application_settings" does not exist, skipping402NOTICE: trigger "trigger_448e14608510" for relation "pages_deployments" does not exist, skipping403NOTICE: trigger "trigger_1f0ae12498d3" for relation "application_settings" does not exist, skipping404NOTICE: trigger "trigger_72b785aa2f14" for relation "application_settings" does not exist, skipping405NOTICE: trigger "trigger_3d531acd472b" for relation "application_settings" does not exist, skipping406NOTICE: trigger "trigger_8fe85065a3f9" for relation "application_settings" does not exist, skipping407NOTICE: trigger "trigger_d5eb03a59792" for relation "packages_pypi_metadata" does not exist, skipping408NOTICE: constraint "check_fcfb4a93ff" of relation "epics" does not exist, skipping409NOTICE: constraint "check_970d272570" of relation "merge_requests" does not exist, skipping410NOTICE: constraint "check_fba63f706d" of relation "issues" does not exist, skipping411NOTICE: constraint "check_81b431e49b" of relation "ci_stages" does not exist, skipping412NOTICE: constraint "check_1e2fbd1b39" of relation "ci_builds" does not exist, skipping413NOTICE: constraint "check_d7e99a025e" of relation "ci_pipelines" does not exist, skipping414NOTICE: constraint "check_242f0cc65c" of relation "webauthn_registrations" does not exist, skipping415NOTICE: trigger "trigger_f14363ffbcd3" for relation "sprints" does not exist, skipping416NOTICE: trigger "trigger_9ab19b89128a" for relation "vulnerabilities" does not exist, skipping417NOTICE: trigger "trigger_27c6ea5cb43e" for relation "vulnerabilities" does not exist, skipping418NOTICE: trigger "trigger_5e971e2e2c26" for relation "pages_domains" does not exist, skipping419 backfills the iid for a flag420 backfills the iid for multiple flags421 backfills the iid for multiple flags across projects422 does not change an iid for an issue423 does not change an iid for a merge request424NOTICE: trigger "trigger_5e971e2e2c26" for relation "pages_domains" does not exist, skipping425NOTICE: table "deployment_clusters" does not exist, skipping426NOTICE: trigger "trigger_27c6ea5cb43e" for relation "vulnerabilities" does not exist, skipping427NOTICE: trigger "trigger_9ab19b89128a" for relation "vulnerabilities" does not exist, skipping428NOTICE: constraint "lfs_objects_file_store_not_null" of relation "lfs_objects" does not exist, skipping429NOTICE: constraint "ci_job_artifacts_file_store_not_null" of relation "ci_job_artifacts" does not exist, skipping430NOTICE: constraint "uploads_store_not_null" of relation "uploads" does not exist, skipping431NOTICE: trigger "trigger_f14363ffbcd3" for relation "sprints" does not exist, skipping432NOTICE: schema "partitions_dynamic" does not exist, skipping433NOTICE: table "untracked_files_for_uploads" does not exist, skipping434NOTICE: trigger "trigger_d5eb03a59792" for relation "packages_pypi_metadata" does not exist, skipping435NOTICE: trigger "trigger_8fe85065a3f9" for relation "application_settings" does not exist, skipping436NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_project_authorizations_on_user_id_project_id_access_level" to "project_authorizations_pkey"437NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "analytics_repository_languages_unique_index" to "analytics_language_trend_repository_languages_pkey"438NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_approval_project_rules_protected_branches_unique" to "approval_project_rules_protected_branches_pkey"439NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_ci_build_trace_sections_on_build_id_and_section_name_id" to "ci_build_trace_sections_pkey"440NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "idx_deployment_merge_requests_unique_index" to "deployment_merge_requests_pkey"441NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_issue_assignees_on_issue_id_and_user_id" to "issue_assignees_pkey"442NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "issue_id_prometheus_alert_event_id_index" to "issues_prometheus_alert_events_pkey"443NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "issue_id_self_managed_prometheus_alert_event_id_index" to "issues_self_managed_prometheus_alert_events_pkey"444NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_merge_request_diff_commits_on_mr_diff_id_and_order" to "merge_request_diff_commits_pkey"445NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_merge_request_diff_files_on_mr_diff_id_and_order" to "merge_request_diff_files_pkey"446NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_miletone_releases_on_milestone_and_release" to "milestone_releases_pkey"447NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_project_pages_metadata_on_project_id" to "project_pages_metadata_pkey"448NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_push_event_payloads_on_event_id" to "push_event_payloads_pkey"449NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_repository_languages_on_project_and_languages_id" to "repository_languages_pkey"450NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_user_interacted_projects_on_project_id_and_user_id" to "user_interacted_projects_pkey"451NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "users_security_dashboard_projects_unique_index" to "users_security_dashboard_projects_pkey"452NOTICE: trigger "trigger_1f0ae12498d3" for relation "application_settings" does not exist, skipping453NOTICE: trigger "trigger_72b785aa2f14" for relation "application_settings" does not exist, skipping454NOTICE: trigger "trigger_3d531acd472b" for relation "application_settings" does not exist, skipping455NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_elasticsearch_indexed_projects_on_project_id" to "elasticsearch_indexed_projects_pkey"456NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_elasticsearch_indexed_namespaces_on_namespace_id" to "elasticsearch_indexed_namespaces_pkey"457NOTICE: trigger "trigger_448e14608510" for relation "pages_deployments" does not exist, skipping458NOTICE: trigger "trigger_9a96291bb38d" for relation "application_settings" does not exist, skipping459NOTICE: trigger "trigger_22a39c5c25f3" for relation "application_settings" does not exist, skipping460NOTICE: trigger "trigger_1572cbc9a15f" for relation "application_settings" does not exist, skipping461Gitlab::BackgroundMigration::UpdateVulnerabilitiesToDismissed462NOTICE: trigger "trigger_9a96291bb38d" for relation "application_settings" does not exist, skipping463NOTICE: trigger "trigger_22a39c5c25f3" for relation "application_settings" does not exist, skipping464NOTICE: trigger "trigger_1572cbc9a15f" for relation "application_settings" does not exist, skipping465NOTICE: trigger "trigger_448e14608510" for relation "pages_deployments" does not exist, skipping466NOTICE: trigger "trigger_1f0ae12498d3" for relation "application_settings" does not exist, skipping467NOTICE: trigger "trigger_72b785aa2f14" for relation "application_settings" does not exist, skipping468NOTICE: trigger "trigger_3d531acd472b" for relation "application_settings" does not exist, skipping469NOTICE: trigger "trigger_8fe85065a3f9" for relation "application_settings" does not exist, skipping470NOTICE: trigger "trigger_d5eb03a59792" for relation "packages_pypi_metadata" does not exist, skipping471NOTICE: constraint "check_fcfb4a93ff" of relation "epics" does not exist, skipping472NOTICE: constraint "check_970d272570" of relation "merge_requests" does not exist, skipping473NOTICE: constraint "check_fba63f706d" of relation "issues" does not exist, skipping474NOTICE: constraint "check_81b431e49b" of relation "ci_stages" does not exist, skipping475NOTICE: constraint "check_1e2fbd1b39" of relation "ci_builds" does not exist, skipping476NOTICE: constraint "check_d7e99a025e" of relation "ci_pipelines" does not exist, skipping477NOTICE: constraint "check_242f0cc65c" of relation "webauthn_registrations" does not exist, skipping478NOTICE: trigger "trigger_f14363ffbcd3" for relation "sprints" does not exist, skipping479 vulnerability_occurrence has an associated vulnerability480 has been dismissed481 vulnerability should now have state of dismissed482 project is archived483 vulnerability should remain in detected state484 project is set to be deleted485 vulnerability should remain in detected state486 has not been dismissed487 vulnerability should remain in detected state488NOTICE: trigger "trigger_f14363ffbcd3" for relation "sprints" does not exist, skipping489NOTICE: schema "partitions_dynamic" does not exist, skipping490NOTICE: table "untracked_files_for_uploads" does not exist, skipping491NOTICE: trigger "trigger_d5eb03a59792" for relation "packages_pypi_metadata" does not exist, skipping492NOTICE: trigger "trigger_8fe85065a3f9" for relation "application_settings" does not exist, skipping493NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_project_authorizations_on_user_id_project_id_access_level" to "project_authorizations_pkey"494NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "analytics_repository_languages_unique_index" to "analytics_language_trend_repository_languages_pkey"495NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_approval_project_rules_protected_branches_unique" to "approval_project_rules_protected_branches_pkey"496NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_ci_build_trace_sections_on_build_id_and_section_name_id" to "ci_build_trace_sections_pkey"497NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "idx_deployment_merge_requests_unique_index" to "deployment_merge_requests_pkey"498NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_issue_assignees_on_issue_id_and_user_id" to "issue_assignees_pkey"499NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "issue_id_prometheus_alert_event_id_index" to "issues_prometheus_alert_events_pkey"500NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "issue_id_self_managed_prometheus_alert_event_id_index" to "issues_self_managed_prometheus_alert_events_pkey"501NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_merge_request_diff_commits_on_mr_diff_id_and_order" to "merge_request_diff_commits_pkey"502NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_merge_request_diff_files_on_mr_diff_id_and_order" to "merge_request_diff_files_pkey"503NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_miletone_releases_on_milestone_and_release" to "milestone_releases_pkey"504NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_project_pages_metadata_on_project_id" to "project_pages_metadata_pkey"505NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_push_event_payloads_on_event_id" to "push_event_payloads_pkey"506NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_repository_languages_on_project_and_languages_id" to "repository_languages_pkey"507NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_user_interacted_projects_on_project_id_and_user_id" to "user_interacted_projects_pkey"508NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "users_security_dashboard_projects_unique_index" to "users_security_dashboard_projects_pkey"509NOTICE: trigger "trigger_1f0ae12498d3" for relation "application_settings" does not exist, skipping510NOTICE: trigger "trigger_72b785aa2f14" for relation "application_settings" does not exist, skipping511NOTICE: trigger "trigger_3d531acd472b" for relation "application_settings" does not exist, skipping512NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_elasticsearch_indexed_projects_on_project_id" to "elasticsearch_indexed_projects_pkey"513NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_elasticsearch_indexed_namespaces_on_namespace_id" to "elasticsearch_indexed_namespaces_pkey"514NOTICE: trigger "trigger_448e14608510" for relation "pages_deployments" does not exist, skipping515NOTICE: trigger "trigger_9a96291bb38d" for relation "application_settings" does not exist, skipping516NOTICE: trigger "trigger_22a39c5c25f3" for relation "application_settings" does not exist, skipping517NOTICE: trigger "trigger_1572cbc9a15f" for relation "application_settings" does not exist, skipping518Gitlab::BackgroundMigration::MoveEpicIssuesAfterEpics519NOTICE: trigger "trigger_9a96291bb38d" for relation "application_settings" does not exist, skipping520NOTICE: trigger "trigger_22a39c5c25f3" for relation "application_settings" does not exist, skipping521NOTICE: trigger "trigger_1572cbc9a15f" for relation "application_settings" does not exist, skipping522NOTICE: trigger "trigger_448e14608510" for relation "pages_deployments" does not exist, skipping523NOTICE: trigger "trigger_1f0ae12498d3" for relation "application_settings" does not exist, skipping524NOTICE: trigger "trigger_72b785aa2f14" for relation "application_settings" does not exist, skipping525NOTICE: trigger "trigger_3d531acd472b" for relation "application_settings" does not exist, skipping526NOTICE: trigger "trigger_8fe85065a3f9" for relation "application_settings" does not exist, skipping527NOTICE: trigger "trigger_d5eb03a59792" for relation "packages_pypi_metadata" does not exist, skipping528NOTICE: constraint "check_fcfb4a93ff" of relation "epics" does not exist, skipping529NOTICE: constraint "check_970d272570" of relation "merge_requests" does not exist, skipping530NOTICE: constraint "check_fba63f706d" of relation "issues" does not exist, skipping531NOTICE: constraint "check_81b431e49b" of relation "ci_stages" does not exist, skipping532NOTICE: constraint "check_1e2fbd1b39" of relation "ci_builds" does not exist, skipping533NOTICE: constraint "check_d7e99a025e" of relation "ci_pipelines" does not exist, skipping534NOTICE: constraint "check_242f0cc65c" of relation "webauthn_registrations" does not exist, skipping535NOTICE: trigger "trigger_f14363ffbcd3" for relation "sprints" does not exist, skipping536NOTICE: trigger "trigger_9ab19b89128a" for relation "vulnerabilities" does not exist, skipping537NOTICE: trigger "trigger_27c6ea5cb43e" for relation "vulnerabilities" does not exist, skipping538NOTICE: trigger "trigger_5e971e2e2c26" for relation "pages_domains" does not exist, skipping539NOTICE: trigger "trigger_e856257b2421" for relation "commit_user_mentions" does not exist, skipping540NOTICE: trigger "trigger_5299882abc4c" for relation "software_license_policies" does not exist, skipping541NOTICE: trigger "trigger_4821f661bf92" for relation "application_settings" does not exist, skipping542NOTICE: trigger "trigger_97893debd1d4" for relation "design_management_versions" does not exist, skipping543 #perform544 when there are epic_issues present545 does not change relative_position of epics546 moves epic_issues after epics547 keeps epic_issues order548 does not change the relative_position of epic_issue getting to the max value549 when there are no epics550 runs correctly551 when there are no epic_issues552 runs correctly553NOTICE: trigger "trigger_97893debd1d4" for relation "design_management_versions" does not exist, skipping554NOTICE: trigger "trigger_4821f661bf92" for relation "application_settings" does not exist, skipping555DEPRECATION WARNING: Class level methods will no longer inherit scoping from `with_unique_issue_ids` in Rails 6.1. To continue using the scoped relation, pass it into the block directly. To instead access the full set of models, as Rails 6.1 will, use `BackfillVersionAuthorAndCreatedAt::Version.default_scoped`. (called from block in <class:Version> at /builds/gitlab-org/gitlab/db/post_migrate/20191030223057_backfill_version_author_and_created_at.rb:32)556NOTICE: trigger "trigger_5299882abc4c" for relation "software_license_policies" does not exist, skipping557NOTICE: trigger "trigger_e856257b2421" for relation "commit_user_mentions" does not exist, skipping558NOTICE: trigger "trigger_5e971e2e2c26" for relation "pages_domains" does not exist, skipping559NOTICE: table "deployment_clusters" does not exist, skipping560NOTICE: trigger "trigger_27c6ea5cb43e" for relation "vulnerabilities" does not exist, skipping561NOTICE: trigger "trigger_9ab19b89128a" for relation "vulnerabilities" does not exist, skipping562NOTICE: constraint "lfs_objects_file_store_not_null" of relation "lfs_objects" does not exist, skipping563NOTICE: constraint "ci_job_artifacts_file_store_not_null" of relation "ci_job_artifacts" does not exist, skipping564NOTICE: constraint "uploads_store_not_null" of relation "uploads" does not exist, skipping565NOTICE: trigger "trigger_f14363ffbcd3" for relation "sprints" does not exist, skipping566NOTICE: schema "partitions_dynamic" does not exist, skipping567NOTICE: table "untracked_files_for_uploads" does not exist, skipping568NOTICE: trigger "trigger_d5eb03a59792" for relation "packages_pypi_metadata" does not exist, skipping569NOTICE: trigger "trigger_8fe85065a3f9" for relation "application_settings" does not exist, skipping570NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_project_authorizations_on_user_id_project_id_access_level" to "project_authorizations_pkey"571NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "analytics_repository_languages_unique_index" to "analytics_language_trend_repository_languages_pkey"572NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_approval_project_rules_protected_branches_unique" to "approval_project_rules_protected_branches_pkey"573NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_ci_build_trace_sections_on_build_id_and_section_name_id" to "ci_build_trace_sections_pkey"574NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "idx_deployment_merge_requests_unique_index" to "deployment_merge_requests_pkey"575NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_issue_assignees_on_issue_id_and_user_id" to "issue_assignees_pkey"576NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "issue_id_prometheus_alert_event_id_index" to "issues_prometheus_alert_events_pkey"577NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "issue_id_self_managed_prometheus_alert_event_id_index" to "issues_self_managed_prometheus_alert_events_pkey"578NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_merge_request_diff_commits_on_mr_diff_id_and_order" to "merge_request_diff_commits_pkey"579NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_merge_request_diff_files_on_mr_diff_id_and_order" to "merge_request_diff_files_pkey"580NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_miletone_releases_on_milestone_and_release" to "milestone_releases_pkey"581NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_project_pages_metadata_on_project_id" to "project_pages_metadata_pkey"582NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_push_event_payloads_on_event_id" to "push_event_payloads_pkey"583NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_repository_languages_on_project_and_languages_id" to "repository_languages_pkey"584NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_user_interacted_projects_on_project_id_and_user_id" to "user_interacted_projects_pkey"585NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "users_security_dashboard_projects_unique_index" to "users_security_dashboard_projects_pkey"586NOTICE: trigger "trigger_1f0ae12498d3" for relation "application_settings" does not exist, skipping587NOTICE: trigger "trigger_72b785aa2f14" for relation "application_settings" does not exist, skipping588NOTICE: trigger "trigger_3d531acd472b" for relation "application_settings" does not exist, skipping589NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_elasticsearch_indexed_projects_on_project_id" to "elasticsearch_indexed_projects_pkey"590NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_elasticsearch_indexed_namespaces_on_namespace_id" to "elasticsearch_indexed_namespaces_pkey"591NOTICE: trigger "trigger_448e14608510" for relation "pages_deployments" does not exist, skipping592NOTICE: trigger "trigger_9a96291bb38d" for relation "application_settings" does not exist, skipping593NOTICE: trigger "trigger_22a39c5c25f3" for relation "application_settings" does not exist, skipping594NOTICE: trigger "trigger_1572cbc9a15f" for relation "application_settings" does not exist, skipping595MigrateSamlIdentitiesToScimIdentities596NOTICE: trigger "trigger_9a96291bb38d" for relation "application_settings" does not exist, skipping597NOTICE: trigger "trigger_22a39c5c25f3" for relation "application_settings" does not exist, skipping598NOTICE: trigger "trigger_1572cbc9a15f" for relation "application_settings" does not exist, skipping599NOTICE: trigger "trigger_448e14608510" for relation "pages_deployments" does not exist, skipping600NOTICE: trigger "trigger_1f0ae12498d3" for relation "application_settings" does not exist, skipping601NOTICE: trigger "trigger_72b785aa2f14" for relation "application_settings" does not exist, skipping602NOTICE: trigger "trigger_3d531acd472b" for relation "application_settings" does not exist, skipping603NOTICE: trigger "trigger_8fe85065a3f9" for relation "application_settings" does not exist, skipping604NOTICE: trigger "trigger_d5eb03a59792" for relation "packages_pypi_metadata" does not exist, skipping605NOTICE: constraint "check_fcfb4a93ff" of relation "epics" does not exist, skipping606NOTICE: constraint "check_970d272570" of relation "merge_requests" does not exist, skipping607NOTICE: constraint "check_fba63f706d" of relation "issues" does not exist, skipping608NOTICE: constraint "check_81b431e49b" of relation "ci_stages" does not exist, skipping609NOTICE: constraint "check_1e2fbd1b39" of relation "ci_builds" does not exist, skipping610NOTICE: constraint "check_d7e99a025e" of relation "ci_pipelines" does not exist, skipping611NOTICE: constraint "check_242f0cc65c" of relation "webauthn_registrations" does not exist, skipping612NOTICE: trigger "trigger_f14363ffbcd3" for relation "sprints" does not exist, skipping613 when a matching saml provider and scim oauth access token exist614== 20200310215714 MigrateSamlIdentitiesToScimIdentities: migrating ============615== 20200310215714 MigrateSamlIdentitiesToScimIdentities: migrated (0.0174s) ===616 migrates all group_saml identities617== 20200310215714 MigrateSamlIdentitiesToScimIdentities: migrating ============618== 20200310215714 MigrateSamlIdentitiesToScimIdentities: migrated (0.0181s) ===619 does not migrate non-group_saml identities620 when duplicate scim_identities already exist621== 20200310215714 MigrateSamlIdentitiesToScimIdentities: migrating ============622== 20200310215714 MigrateSamlIdentitiesToScimIdentities: migrated (0.0180s) ===623 migrates missing group_saml identities without conflict624 when a matching scim oauth access token does not exist625== 20200310215714 MigrateSamlIdentitiesToScimIdentities: migrating ============626== 20200310215714 MigrateSamlIdentitiesToScimIdentities: migrated (0.0031s) ===627 does not migrate group_saml identities628NOTICE: constraint "lfs_objects_file_store_not_null" of relation "lfs_objects" does not exist, skipping629NOTICE: constraint "ci_job_artifacts_file_store_not_null" of relation "ci_job_artifacts" does not exist, skipping630NOTICE: constraint "uploads_store_not_null" of relation "uploads" does not exist, skipping631NOTICE: trigger "trigger_f14363ffbcd3" for relation "sprints" does not exist, skipping632NOTICE: schema "partitions_dynamic" does not exist, skipping633NOTICE: table "untracked_files_for_uploads" does not exist, skipping634NOTICE: trigger "trigger_d5eb03a59792" for relation "packages_pypi_metadata" does not exist, skipping635NOTICE: trigger "trigger_8fe85065a3f9" for relation "application_settings" does not exist, skipping636NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_project_authorizations_on_user_id_project_id_access_level" to "project_authorizations_pkey"637NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "analytics_repository_languages_unique_index" to "analytics_language_trend_repository_languages_pkey"638NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_approval_project_rules_protected_branches_unique" to "approval_project_rules_protected_branches_pkey"639NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_ci_build_trace_sections_on_build_id_and_section_name_id" to "ci_build_trace_sections_pkey"640NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "idx_deployment_merge_requests_unique_index" to "deployment_merge_requests_pkey"641NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_issue_assignees_on_issue_id_and_user_id" to "issue_assignees_pkey"642NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "issue_id_prometheus_alert_event_id_index" to "issues_prometheus_alert_events_pkey"643NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "issue_id_self_managed_prometheus_alert_event_id_index" to "issues_self_managed_prometheus_alert_events_pkey"644NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_merge_request_diff_commits_on_mr_diff_id_and_order" to "merge_request_diff_commits_pkey"645NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_merge_request_diff_files_on_mr_diff_id_and_order" to "merge_request_diff_files_pkey"646NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_miletone_releases_on_milestone_and_release" to "milestone_releases_pkey"647NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_project_pages_metadata_on_project_id" to "project_pages_metadata_pkey"648NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_push_event_payloads_on_event_id" to "push_event_payloads_pkey"649NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_repository_languages_on_project_and_languages_id" to "repository_languages_pkey"650NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_user_interacted_projects_on_project_id_and_user_id" to "user_interacted_projects_pkey"651NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "users_security_dashboard_projects_unique_index" to "users_security_dashboard_projects_pkey"652NOTICE: trigger "trigger_1f0ae12498d3" for relation "application_settings" does not exist, skipping653NOTICE: trigger "trigger_72b785aa2f14" for relation "application_settings" does not exist, skipping654NOTICE: trigger "trigger_3d531acd472b" for relation "application_settings" does not exist, skipping655NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_elasticsearch_indexed_projects_on_project_id" to "elasticsearch_indexed_projects_pkey"656NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_elasticsearch_indexed_namespaces_on_namespace_id" to "elasticsearch_indexed_namespaces_pkey"657NOTICE: trigger "trigger_448e14608510" for relation "pages_deployments" does not exist, skipping658NOTICE: trigger "trigger_9a96291bb38d" for relation "application_settings" does not exist, skipping659NOTICE: trigger "trigger_22a39c5c25f3" for relation "application_settings" does not exist, skipping660NOTICE: trigger "trigger_1572cbc9a15f" for relation "application_settings" does not exist, skipping661Gitlab::BackgroundMigration::MigrateApproverToApprovalRulesInBatch662 when there is no more MigrateApproverToApprovalRules jobs663 migrates individual target664MigrateVulnerabilityDismissals665NOTICE: trigger "trigger_9a96291bb38d" for relation "application_settings" does not exist, skipping666NOTICE: trigger "trigger_22a39c5c25f3" for relation "application_settings" does not exist, skipping667NOTICE: trigger "trigger_1572cbc9a15f" for relation "application_settings" does not exist, skipping668NOTICE: trigger "trigger_448e14608510" for relation "pages_deployments" does not exist, skipping669NOTICE: trigger "trigger_1f0ae12498d3" for relation "application_settings" does not exist, skipping670NOTICE: trigger "trigger_72b785aa2f14" for relation "application_settings" does not exist, skipping671NOTICE: trigger "trigger_3d531acd472b" for relation "application_settings" does not exist, skipping672NOTICE: trigger "trigger_8fe85065a3f9" for relation "application_settings" does not exist, skipping673NOTICE: trigger "trigger_d5eb03a59792" for relation "packages_pypi_metadata" does not exist, skipping674NOTICE: constraint "check_fcfb4a93ff" of relation "epics" does not exist, skipping675NOTICE: constraint "check_970d272570" of relation "merge_requests" does not exist, skipping676NOTICE: constraint "check_fba63f706d" of relation "issues" does not exist, skipping677NOTICE: constraint "check_81b431e49b" of relation "ci_stages" does not exist, skipping678NOTICE: constraint "check_1e2fbd1b39" of relation "ci_builds" does not exist, skipping679NOTICE: constraint "check_d7e99a025e" of relation "ci_pipelines" does not exist, skipping680NOTICE: constraint "check_242f0cc65c" of relation "webauthn_registrations" does not exist, skipping681NOTICE: trigger "trigger_f14363ffbcd3" for relation "sprints" does not exist, skipping682 EE683== 20200416111111 MigrateVulnerabilityDismissals: migrating ===================684== 20200416111111 MigrateVulnerabilityDismissals: migrated (0.0459s) ==========685 creates background job for each project686== 20200416111111 MigrateVulnerabilityDismissals: migrating ===================687== 20200416111111 MigrateVulnerabilityDismissals: migrated (0.0395s) ==========688 calls the UpdateVulnerabilitiesToDismissed migration689 FOSS690== 20200416111111 MigrateVulnerabilityDismissals: migrating ===================691== 20200416111111 MigrateVulnerabilityDismissals: migrated (0.0004s) ==========692 skips migration for FOSS693NOTICE: trigger "trigger_f14363ffbcd3" for relation "sprints" does not exist, skipping694NOTICE: schema "partitions_dynamic" does not exist, skipping695NOTICE: table "untracked_files_for_uploads" does not exist, skipping696NOTICE: trigger "trigger_d5eb03a59792" for relation "packages_pypi_metadata" does not exist, skipping697NOTICE: trigger "trigger_8fe85065a3f9" for relation "application_settings" does not exist, skipping698NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_project_authorizations_on_user_id_project_id_access_level" to "project_authorizations_pkey"699NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "analytics_repository_languages_unique_index" to "analytics_language_trend_repository_languages_pkey"700NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_approval_project_rules_protected_branches_unique" to "approval_project_rules_protected_branches_pkey"701NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_ci_build_trace_sections_on_build_id_and_section_name_id" to "ci_build_trace_sections_pkey"702NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "idx_deployment_merge_requests_unique_index" to "deployment_merge_requests_pkey"703NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_issue_assignees_on_issue_id_and_user_id" to "issue_assignees_pkey"704NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "issue_id_prometheus_alert_event_id_index" to "issues_prometheus_alert_events_pkey"705NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "issue_id_self_managed_prometheus_alert_event_id_index" to "issues_self_managed_prometheus_alert_events_pkey"706NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_merge_request_diff_commits_on_mr_diff_id_and_order" to "merge_request_diff_commits_pkey"707NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_merge_request_diff_files_on_mr_diff_id_and_order" to "merge_request_diff_files_pkey"708NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_miletone_releases_on_milestone_and_release" to "milestone_releases_pkey"709NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_project_pages_metadata_on_project_id" to "project_pages_metadata_pkey"710NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_push_event_payloads_on_event_id" to "push_event_payloads_pkey"711NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_repository_languages_on_project_and_languages_id" to "repository_languages_pkey"712NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_user_interacted_projects_on_project_id_and_user_id" to "user_interacted_projects_pkey"713NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "users_security_dashboard_projects_unique_index" to "users_security_dashboard_projects_pkey"714NOTICE: trigger "trigger_1f0ae12498d3" for relation "application_settings" does not exist, skipping715NOTICE: trigger "trigger_72b785aa2f14" for relation "application_settings" does not exist, skipping716NOTICE: trigger "trigger_3d531acd472b" for relation "application_settings" does not exist, skipping717NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_elasticsearch_indexed_projects_on_project_id" to "elasticsearch_indexed_projects_pkey"718NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_elasticsearch_indexed_namespaces_on_namespace_id" to "elasticsearch_indexed_namespaces_pkey"719NOTICE: trigger "trigger_448e14608510" for relation "pages_deployments" does not exist, skipping720NOTICE: trigger "trigger_9a96291bb38d" for relation "application_settings" does not exist, skipping721NOTICE: trigger "trigger_22a39c5c25f3" for relation "application_settings" does not exist, skipping722NOTICE: trigger "trigger_1572cbc9a15f" for relation "application_settings" does not exist, skipping723AddUniqueConstraintToSoftwareLicenses724NOTICE: trigger "trigger_9a96291bb38d" for relation "application_settings" does not exist, skipping725NOTICE: trigger "trigger_22a39c5c25f3" for relation "application_settings" does not exist, skipping726NOTICE: trigger "trigger_1572cbc9a15f" for relation "application_settings" does not exist, skipping727NOTICE: trigger "trigger_448e14608510" for relation "pages_deployments" does not exist, skipping728NOTICE: trigger "trigger_1f0ae12498d3" for relation "application_settings" does not exist, skipping729NOTICE: trigger "trigger_72b785aa2f14" for relation "application_settings" does not exist, skipping730NOTICE: trigger "trigger_3d531acd472b" for relation "application_settings" does not exist, skipping731NOTICE: trigger "trigger_8fe85065a3f9" for relation "application_settings" does not exist, skipping732NOTICE: trigger "trigger_d5eb03a59792" for relation "packages_pypi_metadata" does not exist, skipping733NOTICE: constraint "check_fcfb4a93ff" of relation "epics" does not exist, skipping734NOTICE: constraint "check_970d272570" of relation "merge_requests" does not exist, skipping735NOTICE: constraint "check_fba63f706d" of relation "issues" does not exist, skipping736NOTICE: constraint "check_81b431e49b" of relation "ci_stages" does not exist, skipping737NOTICE: constraint "check_1e2fbd1b39" of relation "ci_builds" does not exist, skipping738NOTICE: constraint "check_d7e99a025e" of relation "ci_pipelines" does not exist, skipping739NOTICE: constraint "check_242f0cc65c" of relation "webauthn_registrations" does not exist, skipping740NOTICE: trigger "trigger_f14363ffbcd3" for relation "sprints" does not exist, skipping741NOTICE: trigger "trigger_9ab19b89128a" for relation "vulnerabilities" does not exist, skipping742NOTICE: trigger "trigger_27c6ea5cb43e" for relation "vulnerabilities" does not exist, skipping743NOTICE: trigger "trigger_5e971e2e2c26" for relation "pages_domains" does not exist, skipping744NOTICE: trigger "trigger_e856257b2421" for relation "commit_user_mentions" does not exist, skipping745NOTICE: trigger "trigger_5299882abc4c" for relation "software_license_policies" does not exist, skipping746 #up747== 20191108202723 AddUniqueConstraintToSoftwareLicenses: migrating ============748-- execute("SELECT min(id) id, name\nFROM software_licenses\nWHERE name IN (select name from software_licenses group by name having count(name) > 1)\nGROUP BY name\n")749 -> 0.0014s750-- Detected 0 duplicates.751-- transaction_open?()752 -> 0.0000s753-- index_exists?(:software_licenses, :name, {:unique=>true, :name=>"index_software_licenses_on_unique_name", :algorithm=>:concurrently})754 -> 0.0027s755-- add_index(:software_licenses, :name, {:unique=>true, :name=>"index_software_licenses_on_unique_name", :algorithm=>:concurrently})756 -> 0.0031s757-- transaction_open?()758 -> 0.0000s759-- index_exists?(:software_licenses, :name, {:name=>"index_software_licenses_on_name", :algorithm=>:concurrently})760 -> 0.0031s761-- remove_index(:software_licenses, {:name=>"index_software_licenses_on_name", :algorithm=>:concurrently, :column=>:name})762 -> 0.0042s763== 20191108202723 AddUniqueConstraintToSoftwareLicenses: migrated (0.0169s) ===764-- index_exists?(:software_licenses, :name, {:unique=>true})765 -> 0.0033s766 adds a unique constraint to the name column767== 20191108202723 AddUniqueConstraintToSoftwareLicenses: migrating ============768-- execute("SELECT min(id) id, name\nFROM software_licenses\nWHERE name IN (select name from software_licenses group by name having count(name) > 1)\nGROUP BY name\n")769 -> 0.0011s770-- Detected 1 duplicates.771-- Reassigning policies that reference software license MIT.772 -> 0.0068s773 -> 1 rows774-- transaction_open?()775 -> 0.0000s776-- index_exists?(:software_licenses, :name, {:unique=>true, :name=>"index_software_licenses_on_unique_name", :algorithm=>:concurrently})777 -> 0.0028s778-- add_index(:software_licenses, :name, {:unique=>true, :name=>"index_software_licenses_on_unique_name", :algorithm=>:concurrently})779 -> 0.0033s780-- transaction_open?()781 -> 0.0000s782-- index_exists?(:software_licenses, :name, {:name=>"index_software_licenses_on_name", :algorithm=>:concurrently})783 -> 0.0034s784-- remove_index(:software_licenses, {:name=>"index_software_licenses_on_name", :algorithm=>:concurrently, :column=>:name})785 -> 0.0044s786== 20191108202723 AddUniqueConstraintToSoftwareLicenses: migrated (0.0243s) ===787 removes redundant software licenses788 when a duplicate record is inserted before adding the unique index789-- execute("SELECT min(id) id, name\nFROM software_licenses\nWHERE name IN (select name from software_licenses group by name having count(name) > 1)\nGROUP BY name\n")790 -> 0.0012s791-- Detected 1 duplicates.792-- Reassigning policies that reference software license MIT.793 -> 0.0163s794 -> 1 rows795-- transaction_open?()796 -> 0.0001s797-- index_exists?(:software_licenses, :name, {:unique=>true, :name=>"index_software_licenses_on_unique_name", :algorithm=>:concurrently})798 -> 0.0028s799-- add_index(:software_licenses, :name, {:unique=>true, :name=>"index_software_licenses_on_unique_name", :algorithm=>:concurrently})800 -> 0.0035s801-- transaction_open?()802 -> 0.0002s803-- index_exists?(:software_licenses, :name, {:name=>"index_software_licenses_on_name", :algorithm=>:concurrently})804 -> 0.0033s805-- remove_index(:software_licenses, {:name=>"index_software_licenses_on_name", :algorithm=>:concurrently, :column=>:name})806 -> 0.0043s807-- transaction_open?()808 -> 0.0001s809-- index_exists?(:software_licenses, :name, {:unique=>true, :name=>"index_software_licenses_on_unique_name", :algorithm=>:concurrently})810 -> 0.0027s811-- remove_index(:software_licenses, {:unique=>true, :name=>"index_software_licenses_on_unique_name", :algorithm=>:concurrently, :column=>:name})812 -> 0.0036s813-- transaction_open?()814 -> 0.0001s815-- index_exists?(:software_licenses, :name, {:name=>"index_software_licenses_on_name", :algorithm=>:concurrently})816 -> 0.0022s817-- add_index(:software_licenses, :name, {:name=>"index_software_licenses_on_name", :algorithm=>:concurrently})818 -> 0.0032s819 is expected to contain exactly #<#<Class:0x000055da24781708> id: 5, name: "MIT", spdx_identifier: nil>820 #down821-- index_exists?(:software_licenses, :name, {:unique=>true})822 -> 0.0037s823== 20191108202723 AddUniqueConstraintToSoftwareLicenses: migrating ============824-- execute("SELECT min(id) id, name\nFROM software_licenses\nWHERE name IN (select name from software_licenses group by name having count(name) > 1)\nGROUP BY name\n")825 -> 0.0011s826-- Detected 0 duplicates.827-- transaction_open?()828 -> 0.0001s829-- index_exists?(:software_licenses, :name, {:unique=>true, :name=>"index_software_licenses_on_unique_name", :algorithm=>:concurrently})830 -> 0.0038s831-- add_index(:software_licenses, :name, {:unique=>true, :name=>"index_software_licenses_on_unique_name", :algorithm=>:concurrently})832 -> 0.0030s833-- transaction_open?()834 -> 0.0000s835-- index_exists?(:software_licenses, :name, {:name=>"index_software_licenses_on_name", :algorithm=>:concurrently})836 -> 0.0032s837-- remove_index(:software_licenses, {:name=>"index_software_licenses_on_name", :algorithm=>:concurrently, :column=>:name})838 -> 0.0042s839== 20191108202723 AddUniqueConstraintToSoftwareLicenses: migrated (0.0178s) ===840-- index_exists?(:software_licenses, :name, {:unique=>true})841 -> 0.0030s842-- index_exists?(:software_licenses, :name, {:unique=>true})843 -> 0.0033s844 correctly migrates up and down845NOTICE: trigger "trigger_5299882abc4c" for relation "software_license_policies" does not exist, skipping846NOTICE: trigger "trigger_e856257b2421" for relation "commit_user_mentions" does not exist, skipping847NOTICE: trigger "trigger_5e971e2e2c26" for relation "pages_domains" does not exist, skipping848NOTICE: table "deployment_clusters" does not exist, skipping849NOTICE: trigger "trigger_27c6ea5cb43e" for relation "vulnerabilities" does not exist, skipping850NOTICE: trigger "trigger_9ab19b89128a" for relation "vulnerabilities" does not exist, skipping851NOTICE: constraint "lfs_objects_file_store_not_null" of relation "lfs_objects" does not exist, skipping852NOTICE: constraint "ci_job_artifacts_file_store_not_null" of relation "ci_job_artifacts" does not exist, skipping853NOTICE: constraint "uploads_store_not_null" of relation "uploads" does not exist, skipping854NOTICE: trigger "trigger_f14363ffbcd3" for relation "sprints" does not exist, skipping855NOTICE: schema "partitions_dynamic" does not exist, skipping856NOTICE: table "untracked_files_for_uploads" does not exist, skipping857NOTICE: trigger "trigger_d5eb03a59792" for relation "packages_pypi_metadata" does not exist, skipping858NOTICE: trigger "trigger_8fe85065a3f9" for relation "application_settings" does not exist, skipping859NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_project_authorizations_on_user_id_project_id_access_level" to "project_authorizations_pkey"860NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "analytics_repository_languages_unique_index" to "analytics_language_trend_repository_languages_pkey"861NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_approval_project_rules_protected_branches_unique" to "approval_project_rules_protected_branches_pkey"862NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_ci_build_trace_sections_on_build_id_and_section_name_id" to "ci_build_trace_sections_pkey"863NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "idx_deployment_merge_requests_unique_index" to "deployment_merge_requests_pkey"864NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_issue_assignees_on_issue_id_and_user_id" to "issue_assignees_pkey"865NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "issue_id_prometheus_alert_event_id_index" to "issues_prometheus_alert_events_pkey"866NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "issue_id_self_managed_prometheus_alert_event_id_index" to "issues_self_managed_prometheus_alert_events_pkey"867NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_merge_request_diff_commits_on_mr_diff_id_and_order" to "merge_request_diff_commits_pkey"868NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_merge_request_diff_files_on_mr_diff_id_and_order" to "merge_request_diff_files_pkey"869NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_miletone_releases_on_milestone_and_release" to "milestone_releases_pkey"870NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_project_pages_metadata_on_project_id" to "project_pages_metadata_pkey"871NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_push_event_payloads_on_event_id" to "push_event_payloads_pkey"872NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_repository_languages_on_project_and_languages_id" to "repository_languages_pkey"873NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_user_interacted_projects_on_project_id_and_user_id" to "user_interacted_projects_pkey"874NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "users_security_dashboard_projects_unique_index" to "users_security_dashboard_projects_pkey"875NOTICE: trigger "trigger_1f0ae12498d3" for relation "application_settings" does not exist, skipping876NOTICE: trigger "trigger_72b785aa2f14" for relation "application_settings" does not exist, skipping877NOTICE: trigger "trigger_3d531acd472b" for relation "application_settings" does not exist, skipping878NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_elasticsearch_indexed_projects_on_project_id" to "elasticsearch_indexed_projects_pkey"879NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_elasticsearch_indexed_namespaces_on_namespace_id" to "elasticsearch_indexed_namespaces_pkey"880NOTICE: trigger "trigger_448e14608510" for relation "pages_deployments" does not exist, skipping881NOTICE: trigger "trigger_9a96291bb38d" for relation "application_settings" does not exist, skipping882NOTICE: trigger "trigger_22a39c5c25f3" for relation "application_settings" does not exist, skipping883NOTICE: trigger "trigger_1572cbc9a15f" for relation "application_settings" does not exist, skipping884Gitlab::BackgroundMigration::PopulateResolvedOnDefaultBranchColumn885 #perform886 calls `PopulateResolvedOnDefaultBranchColumnForProject.perform` for each project by given ids887 EE::Gitlab::BackgroundMigration::PopulateResolvedOnDefaultBranchColumn::PopulateResolvedOnDefaultBranchColumnForProject888 .perform889 instantiates the utility service object and calls #perform on it890 #perform891 sets `resolved_on_default_branch` attribute of disappeared vulnerabilities892UpdateUndefinedConfidenceFromVulnerabilities893NOTICE: trigger "trigger_9a96291bb38d" for relation "application_settings" does not exist, skipping894NOTICE: trigger "trigger_22a39c5c25f3" for relation "application_settings" does not exist, skipping895NOTICE: trigger "trigger_1572cbc9a15f" for relation "application_settings" does not exist, skipping896NOTICE: trigger "trigger_448e14608510" for relation "pages_deployments" does not exist, skipping897NOTICE: trigger "trigger_1f0ae12498d3" for relation "application_settings" does not exist, skipping898NOTICE: trigger "trigger_72b785aa2f14" for relation "application_settings" does not exist, skipping899NOTICE: trigger "trigger_3d531acd472b" for relation "application_settings" does not exist, skipping900NOTICE: trigger "trigger_8fe85065a3f9" for relation "application_settings" does not exist, skipping901NOTICE: trigger "trigger_d5eb03a59792" for relation "packages_pypi_metadata" does not exist, skipping902NOTICE: constraint "check_fcfb4a93ff" of relation "epics" does not exist, skipping903NOTICE: constraint "check_970d272570" of relation "merge_requests" does not exist, skipping904NOTICE: constraint "check_fba63f706d" of relation "issues" does not exist, skipping905NOTICE: constraint "check_81b431e49b" of relation "ci_stages" does not exist, skipping906NOTICE: constraint "check_1e2fbd1b39" of relation "ci_builds" does not exist, skipping907NOTICE: constraint "check_d7e99a025e" of relation "ci_pipelines" does not exist, skipping908== 20200511092714 UpdateUndefinedConfidenceFromVulnerabilities: migrating =====909-- transaction_open?()910 -> 0.0001s911-- index_exists?(:vulnerabilities, :id, {:where=>"confidence = 0", :name=>"index_vulnerability_on_id_and_confidence_eq_zero", :algorithm=>:concurrently})912 -> 0.0075s913-- add_index(:vulnerabilities, :id, {:where=>"confidence = 0", :name=>"index_vulnerability_on_id_and_confidence_eq_zero", :algorithm=>:concurrently})914 -> 0.0034s915-- Scheduled 1 RemoveUndefinedVulnerabilityConfidenceLevel jobs with a maximum of 2 records per batch and an interval of 120 seconds.916The migration is expected to take at least 120 seconds. Expect all jobs to have completed after 2021-03-03 12:12:50 UTC."917== 20200511092714 UpdateUndefinedConfidenceFromVulnerabilities: migrated (0.0603s) 918 updates undefined confidence levels to unkown919== 20200511092714 UpdateUndefinedConfidenceFromVulnerabilities: migrating =====920-- transaction_open?()921 -> 0.0001s922-- index_exists?(:vulnerabilities, :id, {:where=>"confidence = 0", :name=>"index_vulnerability_on_id_and_confidence_eq_zero", :algorithm=>:concurrently})923 -> 0.0083s924-- add_index(:vulnerabilities, :id, {:where=>"confidence = 0", :name=>"index_vulnerability_on_id_and_confidence_eq_zero", :algorithm=>:concurrently})925 -> 0.0039s926-- Scheduled 1 RemoveUndefinedVulnerabilityConfidenceLevel jobs with a maximum of 2 records per batch and an interval of 120 seconds.927The migration is expected to take at least 120 seconds. Expect all jobs to have completed after 2021-03-03 12:12:51 UTC."928== 20200511092714 UpdateUndefinedConfidenceFromVulnerabilities: migrated (0.0549s) 929 skips migration for ce930NOTICE: constraint "check_5ebd0515a0" of relation "ci_instance_variables" does not exist, skipping931NOTICE: schema "partitions_dynamic" does not exist, skipping932NOTICE: table "untracked_files_for_uploads" does not exist, skipping933NOTICE: trigger "trigger_d5eb03a59792" for relation "packages_pypi_metadata" does not exist, skipping934NOTICE: trigger "trigger_8fe85065a3f9" for relation "application_settings" does not exist, skipping935NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_project_authorizations_on_user_id_project_id_access_level" to "project_authorizations_pkey"936NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "analytics_repository_languages_unique_index" to "analytics_language_trend_repository_languages_pkey"937NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_approval_project_rules_protected_branches_unique" to "approval_project_rules_protected_branches_pkey"938NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_ci_build_trace_sections_on_build_id_and_section_name_id" to "ci_build_trace_sections_pkey"939NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "idx_deployment_merge_requests_unique_index" to "deployment_merge_requests_pkey"940NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_issue_assignees_on_issue_id_and_user_id" to "issue_assignees_pkey"941NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "issue_id_prometheus_alert_event_id_index" to "issues_prometheus_alert_events_pkey"942NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "issue_id_self_managed_prometheus_alert_event_id_index" to "issues_self_managed_prometheus_alert_events_pkey"943NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_merge_request_diff_commits_on_mr_diff_id_and_order" to "merge_request_diff_commits_pkey"944NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_merge_request_diff_files_on_mr_diff_id_and_order" to "merge_request_diff_files_pkey"945NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_miletone_releases_on_milestone_and_release" to "milestone_releases_pkey"946NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_project_pages_metadata_on_project_id" to "project_pages_metadata_pkey"947NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_push_event_payloads_on_event_id" to "push_event_payloads_pkey"948NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_repository_languages_on_project_and_languages_id" to "repository_languages_pkey"949NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_user_interacted_projects_on_project_id_and_user_id" to "user_interacted_projects_pkey"950NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "users_security_dashboard_projects_unique_index" to "users_security_dashboard_projects_pkey"951NOTICE: trigger "trigger_1f0ae12498d3" for relation "application_settings" does not exist, skipping952NOTICE: trigger "trigger_72b785aa2f14" for relation "application_settings" does not exist, skipping953NOTICE: trigger "trigger_3d531acd472b" for relation "application_settings" does not exist, skipping954NOTICE: constraint "check_242f0cc65c" of relation "webauthn_registrations" does not exist, skipping955NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_elasticsearch_indexed_projects_on_project_id" to "elasticsearch_indexed_projects_pkey"956NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_elasticsearch_indexed_namespaces_on_namespace_id" to "elasticsearch_indexed_namespaces_pkey"957NOTICE: trigger "trigger_448e14608510" for relation "pages_deployments" does not exist, skipping958NOTICE: trigger "trigger_9a96291bb38d" for relation "application_settings" does not exist, skipping959NOTICE: trigger "trigger_22a39c5c25f3" for relation "application_settings" does not exist, skipping960NOTICE: trigger "trigger_1572cbc9a15f" for relation "application_settings" does not exist, skipping961UpdateLocationFingerprintColumnForCs962NOTICE: trigger "trigger_9a96291bb38d" for relation "application_settings" does not exist, skipping963NOTICE: trigger "trigger_22a39c5c25f3" for relation "application_settings" does not exist, skipping964NOTICE: trigger "trigger_1572cbc9a15f" for relation "application_settings" does not exist, skipping965NOTICE: trigger "trigger_448e14608510" for relation "pages_deployments" does not exist, skipping966NOTICE: trigger "trigger_1f0ae12498d3" for relation "application_settings" does not exist, skipping967NOTICE: trigger "trigger_72b785aa2f14" for relation "application_settings" does not exist, skipping968NOTICE: trigger "trigger_3d531acd472b" for relation "application_settings" does not exist, skipping969NOTICE: trigger "trigger_8fe85065a3f9" for relation "application_settings" does not exist, skipping970NOTICE: trigger "trigger_d5eb03a59792" for relation "packages_pypi_metadata" does not exist, skipping971== 20200908095446 UpdateLocationFingerprintColumnForCs: migrating =============972-- Scheduled 1 UpdateLocationFingerprintForContainerScanningFindings jobs with a maximum of 2 records per batch and an interval of 120 seconds.973The migration is expected to take at least 120 seconds. Expect all jobs to have completed after 2021-03-03 12:13:16 UTC."974== 20200908095446 UpdateLocationFingerprintColumnForCs: migrated (0.0307s) ====975 updates location fingerprint for containter scanning findings976== 20200908095446 UpdateLocationFingerprintColumnForCs: migrating =============977-- Scheduled 1 UpdateLocationFingerprintForContainerScanningFindings jobs with a maximum of 2 records per batch and an interval of 120 seconds.978The migration is expected to take at least 120 seconds. Expect all jobs to have completed after 2021-03-03 12:13:17 UTC."979== 20200908095446 UpdateLocationFingerprintColumnForCs: migrated (0.0270s) ====980 skips migration for ce981NOTICE: trigger "trigger_8fe85065a3f9" for relation "application_settings" does not exist, skipping982NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_project_authorizations_on_user_id_project_id_access_level" to "project_authorizations_pkey"983NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "analytics_repository_languages_unique_index" to "analytics_language_trend_repository_languages_pkey"984NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_approval_project_rules_protected_branches_unique" to "approval_project_rules_protected_branches_pkey"985NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_ci_build_trace_sections_on_build_id_and_section_name_id" to "ci_build_trace_sections_pkey"986NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "idx_deployment_merge_requests_unique_index" to "deployment_merge_requests_pkey"987NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_issue_assignees_on_issue_id_and_user_id" to "issue_assignees_pkey"988NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "issue_id_prometheus_alert_event_id_index" to "issues_prometheus_alert_events_pkey"989NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "issue_id_self_managed_prometheus_alert_event_id_index" to "issues_self_managed_prometheus_alert_events_pkey"990NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_merge_request_diff_commits_on_mr_diff_id_and_order" to "merge_request_diff_commits_pkey"991NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_merge_request_diff_files_on_mr_diff_id_and_order" to "merge_request_diff_files_pkey"992NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_miletone_releases_on_milestone_and_release" to "milestone_releases_pkey"993NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_project_pages_metadata_on_project_id" to "project_pages_metadata_pkey"994NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_push_event_payloads_on_event_id" to "push_event_payloads_pkey"995NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_repository_languages_on_project_and_languages_id" to "repository_languages_pkey"996NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_user_interacted_projects_on_project_id_and_user_id" to "user_interacted_projects_pkey"997NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "users_security_dashboard_projects_unique_index" to "users_security_dashboard_projects_pkey"998NOTICE: trigger "trigger_1f0ae12498d3" for relation "application_settings" does not exist, skipping999NOTICE: trigger "trigger_72b785aa2f14" for relation "application_settings" does not exist, skipping1000NOTICE: trigger "trigger_3d531acd472b" for relation "application_settings" does not exist, skipping1001NOTICE: constraint "check_242f0cc65c" of relation "webauthn_registrations" does not exist, skipping1002NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_elasticsearch_indexed_projects_on_project_id" to "elasticsearch_indexed_projects_pkey"1003NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_elasticsearch_indexed_namespaces_on_namespace_id" to "elasticsearch_indexed_namespaces_pkey"1004NOTICE: trigger "trigger_448e14608510" for relation "pages_deployments" does not exist, skipping1005NOTICE: trigger "trigger_9a96291bb38d" for relation "application_settings" does not exist, skipping1006NOTICE: trigger "trigger_22a39c5c25f3" for relation "application_settings" does not exist, skipping1007NOTICE: trigger "trigger_1572cbc9a15f" for relation "application_settings" does not exist, skipping1008SchedulePopulateVulnerabilityHistoricalStatistics1009NOTICE: trigger "trigger_9a96291bb38d" for relation "application_settings" does not exist, skipping1010NOTICE: trigger "trigger_22a39c5c25f3" for relation "application_settings" does not exist, skipping1011NOTICE: trigger "trigger_1572cbc9a15f" for relation "application_settings" does not exist, skipping1012NOTICE: trigger "trigger_448e14608510" for relation "pages_deployments" does not exist, skipping1013NOTICE: trigger "trigger_1f0ae12498d3" for relation "application_settings" does not exist, skipping1014NOTICE: trigger "trigger_72b785aa2f14" for relation "application_settings" does not exist, skipping1015NOTICE: trigger "trigger_3d531acd472b" for relation "application_settings" does not exist, skipping1016NOTICE: trigger "trigger_8fe85065a3f9" for relation "application_settings" does not exist, skipping1017NOTICE: trigger "trigger_d5eb03a59792" for relation "packages_pypi_metadata" does not exist, skipping1018== 20200821224343 SchedulePopulateVulnerabilityHistoricalStatistics: migrating 1019== 20200821224343 SchedulePopulateVulnerabilityHistoricalStatistics: migrated (0.0460s) 1020 correctly schedules background migrations with projects with vulnerabilities only1021 for FOSS version1022== 20200821224343 SchedulePopulateVulnerabilityHistoricalStatistics: migrating 1023== 20200821224343 SchedulePopulateVulnerabilityHistoricalStatistics: migrated (0.0003s) 1024 does not schedule any jobs1025NOTICE: trigger "trigger_d5eb03a59792" for relation "packages_pypi_metadata" does not exist, skipping1026NOTICE: trigger "trigger_8fe85065a3f9" for relation "application_settings" does not exist, skipping1027NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_project_authorizations_on_user_id_project_id_access_level" to "project_authorizations_pkey"1028NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "analytics_repository_languages_unique_index" to "analytics_language_trend_repository_languages_pkey"1029NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_approval_project_rules_protected_branches_unique" to "approval_project_rules_protected_branches_pkey"1030NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_ci_build_trace_sections_on_build_id_and_section_name_id" to "ci_build_trace_sections_pkey"1031NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "idx_deployment_merge_requests_unique_index" to "deployment_merge_requests_pkey"1032NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_issue_assignees_on_issue_id_and_user_id" to "issue_assignees_pkey"1033NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "issue_id_prometheus_alert_event_id_index" to "issues_prometheus_alert_events_pkey"1034NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "issue_id_self_managed_prometheus_alert_event_id_index" to "issues_self_managed_prometheus_alert_events_pkey"1035NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_merge_request_diff_commits_on_mr_diff_id_and_order" to "merge_request_diff_commits_pkey"1036NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_merge_request_diff_files_on_mr_diff_id_and_order" to "merge_request_diff_files_pkey"1037NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_miletone_releases_on_milestone_and_release" to "milestone_releases_pkey"1038NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_project_pages_metadata_on_project_id" to "project_pages_metadata_pkey"1039NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_push_event_payloads_on_event_id" to "push_event_payloads_pkey"1040NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_repository_languages_on_project_and_languages_id" to "repository_languages_pkey"1041NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_user_interacted_projects_on_project_id_and_user_id" to "user_interacted_projects_pkey"1042NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "users_security_dashboard_projects_unique_index" to "users_security_dashboard_projects_pkey"1043NOTICE: trigger "trigger_1f0ae12498d3" for relation "application_settings" does not exist, skipping1044NOTICE: trigger "trigger_72b785aa2f14" for relation "application_settings" does not exist, skipping1045NOTICE: trigger "trigger_3d531acd472b" for relation "application_settings" does not exist, skipping1046NOTICE: constraint "check_242f0cc65c" of relation "webauthn_registrations" does not exist, skipping1047NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_elasticsearch_indexed_projects_on_project_id" to "elasticsearch_indexed_projects_pkey"1048NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_elasticsearch_indexed_namespaces_on_namespace_id" to "elasticsearch_indexed_namespaces_pkey"1049NOTICE: trigger "trigger_448e14608510" for relation "pages_deployments" does not exist, skipping1050NOTICE: trigger "trigger_9a96291bb38d" for relation "application_settings" does not exist, skipping1051NOTICE: trigger "trigger_22a39c5c25f3" for relation "application_settings" does not exist, skipping1052NOTICE: trigger "trigger_1572cbc9a15f" for relation "application_settings" does not exist, skipping1053Gitlab::BackgroundMigration::PopulateVulnerabilityHistoricalStatistics1054NOTICE: trigger "trigger_9a96291bb38d" for relation "application_settings" does not exist, skipping1055NOTICE: trigger "trigger_22a39c5c25f3" for relation "application_settings" does not exist, skipping1056NOTICE: trigger "trigger_1572cbc9a15f" for relation "application_settings" does not exist, skipping1057NOTICE: trigger "trigger_448e14608510" for relation "pages_deployments" does not exist, skipping1058NOTICE: trigger "trigger_1f0ae12498d3" for relation "application_settings" does not exist, skipping1059NOTICE: trigger "trigger_72b785aa2f14" for relation "application_settings" does not exist, skipping1060NOTICE: trigger "trigger_3d531acd472b" for relation "application_settings" does not exist, skipping1061NOTICE: trigger "trigger_8fe85065a3f9" for relation "application_settings" does not exist, skipping1062NOTICE: trigger "trigger_d5eb03a59792" for relation "packages_pypi_metadata" does not exist, skipping1063 #perform1064 when using default retention period1065 creates historical statistic rows according to projects for 90 days1066 when using a provided retention period1067 creates historical statistic rows according to projects for requested period1068NOTICE: trigger "trigger_d5eb03a59792" for relation "packages_pypi_metadata" does not exist, skipping1069NOTICE: trigger "trigger_8fe85065a3f9" for relation "application_settings" does not exist, skipping1070NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_project_authorizations_on_user_id_project_id_access_level" to "project_authorizations_pkey"1071NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "analytics_repository_languages_unique_index" to "analytics_language_trend_repository_languages_pkey"1072NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_approval_project_rules_protected_branches_unique" to "approval_project_rules_protected_branches_pkey"1073NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_ci_build_trace_sections_on_build_id_and_section_name_id" to "ci_build_trace_sections_pkey"1074NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "idx_deployment_merge_requests_unique_index" to "deployment_merge_requests_pkey"1075NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_issue_assignees_on_issue_id_and_user_id" to "issue_assignees_pkey"1076NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "issue_id_prometheus_alert_event_id_index" to "issues_prometheus_alert_events_pkey"1077NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "issue_id_self_managed_prometheus_alert_event_id_index" to "issues_self_managed_prometheus_alert_events_pkey"1078NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_merge_request_diff_commits_on_mr_diff_id_and_order" to "merge_request_diff_commits_pkey"1079NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_merge_request_diff_files_on_mr_diff_id_and_order" to "merge_request_diff_files_pkey"1080NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_miletone_releases_on_milestone_and_release" to "milestone_releases_pkey"1081NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_project_pages_metadata_on_project_id" to "project_pages_metadata_pkey"1082NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_push_event_payloads_on_event_id" to "push_event_payloads_pkey"1083NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_repository_languages_on_project_and_languages_id" to "repository_languages_pkey"1084NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_user_interacted_projects_on_project_id_and_user_id" to "user_interacted_projects_pkey"1085NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "users_security_dashboard_projects_unique_index" to "users_security_dashboard_projects_pkey"1086NOTICE: trigger "trigger_1f0ae12498d3" for relation "application_settings" does not exist, skipping1087NOTICE: trigger "trigger_72b785aa2f14" for relation "application_settings" does not exist, skipping1088NOTICE: trigger "trigger_3d531acd472b" for relation "application_settings" does not exist, skipping1089NOTICE: constraint "check_242f0cc65c" of relation "webauthn_registrations" does not exist, skipping1090NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_elasticsearch_indexed_projects_on_project_id" to "elasticsearch_indexed_projects_pkey"1091NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_elasticsearch_indexed_namespaces_on_namespace_id" to "elasticsearch_indexed_namespaces_pkey"1092NOTICE: trigger "trigger_448e14608510" for relation "pages_deployments" does not exist, skipping1093NOTICE: trigger "trigger_9a96291bb38d" for relation "application_settings" does not exist, skipping1094NOTICE: trigger "trigger_22a39c5c25f3" for relation "application_settings" does not exist, skipping1095NOTICE: trigger "trigger_1572cbc9a15f" for relation "application_settings" does not exist, skipping1096The application_settings table has 1229 columns.1097Recreating the database1098Dropped database 'gitlabhq_test'1099Created database 'gitlabhq_test'1100Database re-creation done in 4.668445184001031101ScheduleMergeRequestAnyApprovalRuleMigration1102NOTICE: trigger "trigger_9a96291bb38d" for relation "application_settings" does not exist, skipping1103NOTICE: trigger "trigger_22a39c5c25f3" for relation "application_settings" does not exist, skipping1104NOTICE: trigger "trigger_1572cbc9a15f" for relation "application_settings" does not exist, skipping1105NOTICE: trigger "trigger_448e14608510" for relation "pages_deployments" does not exist, skipping1106NOTICE: trigger "trigger_1f0ae12498d3" for relation "application_settings" does not exist, skipping1107NOTICE: trigger "trigger_72b785aa2f14" for relation "application_settings" does not exist, skipping1108NOTICE: trigger "trigger_3d531acd472b" for relation "application_settings" does not exist, skipping1109NOTICE: trigger "trigger_8fe85065a3f9" for relation "application_settings" does not exist, skipping1110NOTICE: trigger "trigger_d5eb03a59792" for relation "packages_pypi_metadata" does not exist, skipping1111NOTICE: constraint "check_242f0cc65c" of relation "webauthn_registrations" does not exist, skipping1112NOTICE: trigger "trigger_f14363ffbcd3" for relation "sprints" does not exist, skipping1113NOTICE: trigger "trigger_9ab19b89128a" for relation "vulnerabilities" does not exist, skipping1114NOTICE: trigger "trigger_27c6ea5cb43e" for relation "vulnerabilities" does not exist, skipping1115NOTICE: trigger "trigger_5e971e2e2c26" for relation "pages_domains" does not exist, skipping1116NOTICE: trigger "trigger_e856257b2421" for relation "commit_user_mentions" does not exist, skipping1117NOTICE: trigger "trigger_5299882abc4c" for relation "software_license_policies" does not exist, skipping1118NOTICE: trigger "trigger_4821f661bf92" for relation "application_settings" does not exist, skipping1119NOTICE: trigger "trigger_97893debd1d4" for relation "design_management_versions" does not exist, skipping1120== 20190905091831 ScheduleMergeRequestAnyApprovalRuleMigration: migrating =====1121-- transaction_open?()1122 -> 0.0000s1123-- index_exists?(:merge_requests, :id, {:name=>"tmp_merge_requests_with_approvals_before_merge", :where=>"approvals_before_merge <> 0", :algorithm=>:concurrently})1124 -> 0.0131s1125-- add_index(:merge_requests, :id, {:name=>"tmp_merge_requests_with_approvals_before_merge", :where=>"approvals_before_merge <> 0", :algorithm=>:concurrently})1126 -> 0.0038s1127-- Scheduling `PopulateAnyApprovalRuleForMergeRequests` jobs1128-- Scheduled 2 PopulateAnyApprovalRuleForMergeRequests jobs with a maximum of 2 records per batch and an interval of 480 seconds.1129The migration is expected to take at least 960 seconds. Expect all jobs to have completed after 2021-03-03 12:28:34 UTC."1130-- transaction_open?()1131 -> 0.0000s1132-- indexes(:merge_requests)1133 -> 0.0129s1134-- remove_index(:merge_requests, {:algorithm=>:concurrently, :name=>"tmp_merge_requests_with_approvals_before_merge"})1135 -> 0.0014s1136== 20190905091831 ScheduleMergeRequestAnyApprovalRuleMigration: migrated (0.0897s) 1137 correctly schedules background migrations1138 for FOSS version1139== 20190905091831 ScheduleMergeRequestAnyApprovalRuleMigration: migrating =====1140== 20190905091831 ScheduleMergeRequestAnyApprovalRuleMigration: migrated (0.0003s) 1141 does not schedule any jobs1142NOTICE: trigger "trigger_97893debd1d4" for relation "design_management_versions" does not exist, skipping1143NOTICE: trigger "trigger_4821f661bf92" for relation "application_settings" does not exist, skipping1144DEPRECATION WARNING: Class level methods will no longer inherit scoping from `with_unique_issue_ids` in Rails 6.1. To continue using the scoped relation, pass it into the block directly. To instead access the full set of models, as Rails 6.1 will, use `BackfillVersionAuthorAndCreatedAt::Version.default_scoped`. (called from block in <class:Version> at /builds/gitlab-org/gitlab/db/post_migrate/20191030223057_backfill_version_author_and_created_at.rb:32)1145NOTICE: trigger "trigger_5299882abc4c" for relation "software_license_policies" does not exist, skipping1146NOTICE: trigger "trigger_e856257b2421" for relation "commit_user_mentions" does not exist, skipping1147NOTICE: trigger "trigger_5e971e2e2c26" for relation "pages_domains" does not exist, skipping1148NOTICE: table "deployment_clusters" does not exist, skipping1149NOTICE: trigger "trigger_27c6ea5cb43e" for relation "vulnerabilities" does not exist, skipping1150NOTICE: trigger "trigger_9ab19b89128a" for relation "vulnerabilities" does not exist, skipping1151NOTICE: constraint "lfs_objects_file_store_not_null" of relation "lfs_objects" does not exist, skipping1152NOTICE: constraint "ci_job_artifacts_file_store_not_null" of relation "ci_job_artifacts" does not exist, skipping1153NOTICE: constraint "uploads_store_not_null" of relation "uploads" does not exist, skipping1154NOTICE: trigger "trigger_f14363ffbcd3" for relation "sprints" does not exist, skipping1155NOTICE: schema "partitions_dynamic" does not exist, skipping1156NOTICE: table "untracked_files_for_uploads" does not exist, skipping1157NOTICE: trigger "trigger_d5eb03a59792" for relation "packages_pypi_metadata" does not exist, skipping1158NOTICE: trigger "trigger_8fe85065a3f9" for relation "application_settings" does not exist, skipping1159NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_project_authorizations_on_user_id_project_id_access_level" to "project_authorizations_pkey"1160NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "analytics_repository_languages_unique_index" to "analytics_language_trend_repository_languages_pkey"1161NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_approval_project_rules_protected_branches_unique" to "approval_project_rules_protected_branches_pkey"1162NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_ci_build_trace_sections_on_build_id_and_section_name_id" to "ci_build_trace_sections_pkey"1163NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "idx_deployment_merge_requests_unique_index" to "deployment_merge_requests_pkey"1164NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_issue_assignees_on_issue_id_and_user_id" to "issue_assignees_pkey"1165NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "issue_id_prometheus_alert_event_id_index" to "issues_prometheus_alert_events_pkey"1166NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "issue_id_self_managed_prometheus_alert_event_id_index" to "issues_self_managed_prometheus_alert_events_pkey"1167NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_merge_request_diff_commits_on_mr_diff_id_and_order" to "merge_request_diff_commits_pkey"1168NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_merge_request_diff_files_on_mr_diff_id_and_order" to "merge_request_diff_files_pkey"1169NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_miletone_releases_on_milestone_and_release" to "milestone_releases_pkey"1170NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_project_pages_metadata_on_project_id" to "project_pages_metadata_pkey"1171NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_push_event_payloads_on_event_id" to "push_event_payloads_pkey"1172NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_repository_languages_on_project_and_languages_id" to "repository_languages_pkey"1173NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_user_interacted_projects_on_project_id_and_user_id" to "user_interacted_projects_pkey"1174NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "users_security_dashboard_projects_unique_index" to "users_security_dashboard_projects_pkey"1175NOTICE: trigger "trigger_1f0ae12498d3" for relation "application_settings" does not exist, skipping1176NOTICE: trigger "trigger_72b785aa2f14" for relation "application_settings" does not exist, skipping1177NOTICE: trigger "trigger_3d531acd472b" for relation "application_settings" does not exist, skipping1178NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_elasticsearch_indexed_projects_on_project_id" to "elasticsearch_indexed_projects_pkey"1179NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_elasticsearch_indexed_namespaces_on_namespace_id" to "elasticsearch_indexed_namespaces_pkey"1180NOTICE: trigger "trigger_448e14608510" for relation "pages_deployments" does not exist, skipping1181NOTICE: trigger "trigger_9a96291bb38d" for relation "application_settings" does not exist, skipping1182NOTICE: trigger "trigger_22a39c5c25f3" for relation "application_settings" does not exist, skipping1183NOTICE: trigger "trigger_1572cbc9a15f" for relation "application_settings" does not exist, skipping1184Gitlab::BackgroundMigration::FixOrphanPromotedIssues1185NOTICE: trigger "trigger_9a96291bb38d" for relation "application_settings" does not exist, skipping1186NOTICE: trigger "trigger_22a39c5c25f3" for relation "application_settings" does not exist, skipping1187NOTICE: trigger "trigger_1572cbc9a15f" for relation "application_settings" does not exist, skipping1188NOTICE: trigger "trigger_448e14608510" for relation "pages_deployments" does not exist, skipping1189NOTICE: trigger "trigger_1f0ae12498d3" for relation "application_settings" does not exist, skipping1190NOTICE: trigger "trigger_72b785aa2f14" for relation "application_settings" does not exist, skipping1191NOTICE: trigger "trigger_3d531acd472b" for relation "application_settings" does not exist, skipping1192NOTICE: trigger "trigger_8fe85065a3f9" for relation "application_settings" does not exist, skipping1193NOTICE: trigger "trigger_d5eb03a59792" for relation "packages_pypi_metadata" does not exist, skipping1194NOTICE: constraint "check_fcfb4a93ff" of relation "epics" does not exist, skipping1195NOTICE: constraint "check_970d272570" of relation "merge_requests" does not exist, skipping1196NOTICE: constraint "check_fba63f706d" of relation "issues" does not exist, skipping1197NOTICE: constraint "check_81b431e49b" of relation "ci_stages" does not exist, skipping1198NOTICE: constraint "check_1e2fbd1b39" of relation "ci_builds" does not exist, skipping1199NOTICE: constraint "check_d7e99a025e" of relation "ci_pipelines" does not exist, skipping1200NOTICE: constraint "check_242f0cc65c" of relation "webauthn_registrations" does not exist, skipping1201NOTICE: trigger "trigger_f14363ffbcd3" for relation "sprints" does not exist, skipping1202NOTICE: trigger "trigger_9ab19b89128a" for relation "vulnerabilities" does not exist, skipping1203NOTICE: trigger "trigger_27c6ea5cb43e" for relation "vulnerabilities" does not exist, skipping1204 when promoted_to_epic_id is missing1205 populates missing promoted_to_epic_id1206 when promoted_to_epic_id is present1207 does not change promoted_to_epic_id1208NOTICE: trigger "trigger_27c6ea5cb43e" for relation "vulnerabilities" does not exist, skipping1209NOTICE: trigger "trigger_9ab19b89128a" for relation "vulnerabilities" does not exist, skipping1210NOTICE: constraint "lfs_objects_file_store_not_null" of relation "lfs_objects" does not exist, skipping1211NOTICE: constraint "ci_job_artifacts_file_store_not_null" of relation "ci_job_artifacts" does not exist, skipping1212NOTICE: constraint "uploads_store_not_null" of relation "uploads" does not exist, skipping1213NOTICE: trigger "trigger_f14363ffbcd3" for relation "sprints" does not exist, skipping1214NOTICE: schema "partitions_dynamic" does not exist, skipping1215NOTICE: table "untracked_files_for_uploads" does not exist, skipping1216NOTICE: trigger "trigger_d5eb03a59792" for relation "packages_pypi_metadata" does not exist, skipping1217NOTICE: trigger "trigger_8fe85065a3f9" for relation "application_settings" does not exist, skipping1218NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_project_authorizations_on_user_id_project_id_access_level" to "project_authorizations_pkey"1219NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "analytics_repository_languages_unique_index" to "analytics_language_trend_repository_languages_pkey"1220NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_approval_project_rules_protected_branches_unique" to "approval_project_rules_protected_branches_pkey"1221NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_ci_build_trace_sections_on_build_id_and_section_name_id" to "ci_build_trace_sections_pkey"1222NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "idx_deployment_merge_requests_unique_index" to "deployment_merge_requests_pkey"1223NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_issue_assignees_on_issue_id_and_user_id" to "issue_assignees_pkey"1224NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "issue_id_prometheus_alert_event_id_index" to "issues_prometheus_alert_events_pkey"1225NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "issue_id_self_managed_prometheus_alert_event_id_index" to "issues_self_managed_prometheus_alert_events_pkey"1226NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_merge_request_diff_commits_on_mr_diff_id_and_order" to "merge_request_diff_commits_pkey"1227NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_merge_request_diff_files_on_mr_diff_id_and_order" to "merge_request_diff_files_pkey"1228NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_miletone_releases_on_milestone_and_release" to "milestone_releases_pkey"1229NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_project_pages_metadata_on_project_id" to "project_pages_metadata_pkey"1230NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_push_event_payloads_on_event_id" to "push_event_payloads_pkey"1231NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_repository_languages_on_project_and_languages_id" to "repository_languages_pkey"1232NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_user_interacted_projects_on_project_id_and_user_id" to "user_interacted_projects_pkey"1233NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "users_security_dashboard_projects_unique_index" to "users_security_dashboard_projects_pkey"1234NOTICE: trigger "trigger_1f0ae12498d3" for relation "application_settings" does not exist, skipping1235NOTICE: trigger "trigger_72b785aa2f14" for relation "application_settings" does not exist, skipping1236NOTICE: trigger "trigger_3d531acd472b" for relation "application_settings" does not exist, skipping1237NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_elasticsearch_indexed_projects_on_project_id" to "elasticsearch_indexed_projects_pkey"1238NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_elasticsearch_indexed_namespaces_on_namespace_id" to "elasticsearch_indexed_namespaces_pkey"1239NOTICE: trigger "trigger_448e14608510" for relation "pages_deployments" does not exist, skipping1240NOTICE: trigger "trigger_9a96291bb38d" for relation "application_settings" does not exist, skipping1241NOTICE: trigger "trigger_22a39c5c25f3" for relation "application_settings" does not exist, skipping1242NOTICE: trigger "trigger_1572cbc9a15f" for relation "application_settings" does not exist, skipping1243UpdateOccurrenceSeverityColumn1244NOTICE: trigger "trigger_9a96291bb38d" for relation "application_settings" does not exist, skipping1245NOTICE: trigger "trigger_22a39c5c25f3" for relation "application_settings" does not exist, skipping1246NOTICE: trigger "trigger_1572cbc9a15f" for relation "application_settings" does not exist, skipping1247NOTICE: trigger "trigger_448e14608510" for relation "pages_deployments" does not exist, skipping1248NOTICE: trigger "trigger_1f0ae12498d3" for relation "application_settings" does not exist, skipping1249NOTICE: trigger "trigger_72b785aa2f14" for relation "application_settings" does not exist, skipping1250NOTICE: trigger "trigger_3d531acd472b" for relation "application_settings" does not exist, skipping1251NOTICE: trigger "trigger_8fe85065a3f9" for relation "application_settings" does not exist, skipping1252NOTICE: trigger "trigger_d5eb03a59792" for relation "packages_pypi_metadata" does not exist, skipping1253NOTICE: constraint "check_fcfb4a93ff" of relation "epics" does not exist, skipping1254NOTICE: constraint "check_970d272570" of relation "merge_requests" does not exist, skipping1255NOTICE: constraint "check_fba63f706d" of relation "issues" does not exist, skipping1256NOTICE: constraint "check_81b431e49b" of relation "ci_stages" does not exist, skipping1257NOTICE: constraint "check_1e2fbd1b39" of relation "ci_builds" does not exist, skipping1258NOTICE: constraint "check_d7e99a025e" of relation "ci_pipelines" does not exist, skipping1259NOTICE: constraint "check_242f0cc65c" of relation "webauthn_registrations" does not exist, skipping1260NOTICE: trigger "trigger_f14363ffbcd3" for relation "sprints" does not exist, skipping1261== 20200227140242 UpdateOccurrenceSeverityColumn: migrating ===================1262-- transaction_open?()1263 -> 0.0002s1264-- index_exists?(:vulnerability_occurrences, :id, {:where=>"severity = 0", :name=>"undefined_vulnerabilities", :algorithm=>:concurrently})1265 -> 0.0041s1266-- add_index(:vulnerability_occurrences, :id, {:where=>"severity = 0", :name=>"undefined_vulnerabilities", :algorithm=>:concurrently})1267 -> 0.0032s1268-- Scheduled 1 RemoveUndefinedOccurrenceSeverityLevel jobs with a maximum of 2 records per batch and an interval of 300 seconds.1269The migration is expected to take at least 300 seconds. Expect all jobs to have completed after 2021-03-03 12:18:50 UTC."1270== 20200227140242 UpdateOccurrenceSeverityColumn: migrated (0.0371s) ==========1271 updates confidence levels for container scanning reports1272== 20200227140242 UpdateOccurrenceSeverityColumn: migrating ===================1273-- transaction_open?()1274 -> 0.0000s1275-- index_exists?(:vulnerability_occurrences, :id, {:where=>"severity = 0", :name=>"undefined_vulnerabilities", :algorithm=>:concurrently})1276 -> 0.0046s1277-- add_index(:vulnerability_occurrences, :id, {:where=>"severity = 0", :name=>"undefined_vulnerabilities", :algorithm=>:concurrently})1278 -> 0.0033s1279-- Scheduled 1 RemoveUndefinedOccurrenceSeverityLevel jobs with a maximum of 2 records per batch and an interval of 300 seconds.1280The migration is expected to take at least 300 seconds. Expect all jobs to have completed after 2021-03-03 12:18:51 UTC."1281== 20200227140242 UpdateOccurrenceSeverityColumn: migrated (0.0336s) ==========1282 skips migration for ce1283NOTICE: constraint "lfs_objects_file_store_not_null" of relation "lfs_objects" does not exist, skipping1284NOTICE: constraint "ci_job_artifacts_file_store_not_null" of relation "ci_job_artifacts" does not exist, skipping1285NOTICE: constraint "uploads_store_not_null" of relation "uploads" does not exist, skipping1286NOTICE: trigger "trigger_f14363ffbcd3" for relation "sprints" does not exist, skipping1287NOTICE: schema "partitions_dynamic" does not exist, skipping1288NOTICE: table "untracked_files_for_uploads" does not exist, skipping1289NOTICE: trigger "trigger_d5eb03a59792" for relation "packages_pypi_metadata" does not exist, skipping1290NOTICE: trigger "trigger_8fe85065a3f9" for relation "application_settings" does not exist, skipping1291NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_project_authorizations_on_user_id_project_id_access_level" to "project_authorizations_pkey"1292NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "analytics_repository_languages_unique_index" to "analytics_language_trend_repository_languages_pkey"1293NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_approval_project_rules_protected_branches_unique" to "approval_project_rules_protected_branches_pkey"1294NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_ci_build_trace_sections_on_build_id_and_section_name_id" to "ci_build_trace_sections_pkey"1295NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "idx_deployment_merge_requests_unique_index" to "deployment_merge_requests_pkey"1296NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_issue_assignees_on_issue_id_and_user_id" to "issue_assignees_pkey"1297NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "issue_id_prometheus_alert_event_id_index" to "issues_prometheus_alert_events_pkey"1298NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "issue_id_self_managed_prometheus_alert_event_id_index" to "issues_self_managed_prometheus_alert_events_pkey"1299NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_merge_request_diff_commits_on_mr_diff_id_and_order" to "merge_request_diff_commits_pkey"1300NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_merge_request_diff_files_on_mr_diff_id_and_order" to "merge_request_diff_files_pkey"1301NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_miletone_releases_on_milestone_and_release" to "milestone_releases_pkey"1302NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_project_pages_metadata_on_project_id" to "project_pages_metadata_pkey"1303NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_push_event_payloads_on_event_id" to "push_event_payloads_pkey"1304NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_repository_languages_on_project_and_languages_id" to "repository_languages_pkey"1305NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_user_interacted_projects_on_project_id_and_user_id" to "user_interacted_projects_pkey"1306NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "users_security_dashboard_projects_unique_index" to "users_security_dashboard_projects_pkey"1307NOTICE: trigger "trigger_1f0ae12498d3" for relation "application_settings" does not exist, skipping1308NOTICE: trigger "trigger_72b785aa2f14" for relation "application_settings" does not exist, skipping1309NOTICE: trigger "trigger_3d531acd472b" for relation "application_settings" does not exist, skipping1310NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_elasticsearch_indexed_projects_on_project_id" to "elasticsearch_indexed_projects_pkey"1311NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_elasticsearch_indexed_namespaces_on_namespace_id" to "elasticsearch_indexed_namespaces_pkey"1312NOTICE: trigger "trigger_448e14608510" for relation "pages_deployments" does not exist, skipping1313NOTICE: trigger "trigger_9a96291bb38d" for relation "application_settings" does not exist, skipping1314NOTICE: trigger "trigger_22a39c5c25f3" for relation "application_settings" does not exist, skipping1315NOTICE: trigger "trigger_1572cbc9a15f" for relation "application_settings" does not exist, skipping1316BackfillSoftwareLicensesSpdxIdentifiers1317NOTICE: trigger "trigger_9a96291bb38d" for relation "application_settings" does not exist, skipping1318NOTICE: trigger "trigger_22a39c5c25f3" for relation "application_settings" does not exist, skipping1319NOTICE: trigger "trigger_1572cbc9a15f" for relation "application_settings" does not exist, skipping1320NOTICE: trigger "trigger_448e14608510" for relation "pages_deployments" does not exist, skipping1321NOTICE: trigger "trigger_1f0ae12498d3" for relation "application_settings" does not exist, skipping1322NOTICE: trigger "trigger_72b785aa2f14" for relation "application_settings" does not exist, skipping1323NOTICE: trigger "trigger_3d531acd472b" for relation "application_settings" does not exist, skipping1324NOTICE: trigger "trigger_8fe85065a3f9" for relation "application_settings" does not exist, skipping1325NOTICE: trigger "trigger_d5eb03a59792" for relation "packages_pypi_metadata" does not exist, skipping1326NOTICE: constraint "check_fcfb4a93ff" of relation "epics" does not exist, skipping1327NOTICE: constraint "check_970d272570" of relation "merge_requests" does not exist, skipping1328NOTICE: constraint "check_fba63f706d" of relation "issues" does not exist, skipping1329NOTICE: constraint "check_81b431e49b" of relation "ci_stages" does not exist, skipping1330NOTICE: constraint "check_1e2fbd1b39" of relation "ci_builds" does not exist, skipping1331NOTICE: constraint "check_d7e99a025e" of relation "ci_pipelines" does not exist, skipping1332NOTICE: constraint "check_242f0cc65c" of relation "webauthn_registrations" does not exist, skipping1333NOTICE: trigger "trigger_f14363ffbcd3" for relation "sprints" does not exist, skipping1334NOTICE: trigger "trigger_9ab19b89128a" for relation "vulnerabilities" does not exist, skipping1335NOTICE: trigger "trigger_27c6ea5cb43e" for relation "vulnerabilities" does not exist, skipping1336NOTICE: trigger "trigger_5e971e2e2c26" for relation "pages_domains" does not exist, skipping1337NOTICE: trigger "trigger_e856257b2421" for relation "commit_user_mentions" does not exist, skipping1338NOTICE: trigger "trigger_5299882abc4c" for relation "software_license_policies" does not exist, skipping1339NOTICE: trigger "trigger_4821f661bf92" for relation "application_settings" does not exist, skipping1340NOTICE: trigger "trigger_97893debd1d4" for relation "design_management_versions" does not exist, skipping1341 #up1342== 20190917173107 BackfillSoftwareLicensesSpdxIdentifiers: migrating ==========1343-- Expect 25 updates to the software_licenses table to occur1344-- transaction_open?()1345 -> 0.0000s1346-- exec_query("SELECT COUNT(*) AS count FROM \"software_licenses\" WHERE \"software_licenses\".\"name\" = 'AGPL-1.0'")1347 -> 0.0009s1348-- exec_query("SELECT \"software_licenses\".\"id\" FROM \"software_licenses\" WHERE \"software_licenses\".\"name\" = 'AGPL-1.0' ORDER BY \"software_licenses\".\"id\" ASC LIMIT 1")1349 -> 0.0008s1350-- exec_query("SELECT \"software_licenses\".\"id\" FROM \"software_licenses\" WHERE \"software_licenses\".\"id\" >= 1 AND \"software_licenses\".\"name\" = 'AGPL-1.0' ORDER BY \"software_licenses\".\"id\" ASC LIMIT 1 OFFSET 1")1351 -> 0.0008s1352-- execute("UPDATE \"software_licenses\" SET \"spdx_identifier\" = 'AGPL-1.0' WHERE \"software_licenses\".\"id\" >= 1 AND \"software_licenses\".\"name\" = 'AGPL-1.0'")1353 -> 0.0007s1354-- transaction_open?()1355 -> 0.0000s1356-- exec_query("SELECT COUNT(*) AS count FROM \"software_licenses\" WHERE \"software_licenses\".\"name\" = 'AGPL-3.0'")1357 -> 0.0008s1358-- exec_query("SELECT \"software_licenses\".\"id\" FROM \"software_licenses\" WHERE \"software_licenses\".\"name\" = 'AGPL-3.0' ORDER BY \"software_licenses\".\"id\" ASC LIMIT 1")1359 -> 0.0008s1360-- exec_query("SELECT \"software_licenses\".\"id\" FROM \"software_licenses\" WHERE \"software_licenses\".\"id\" >= 2 AND \"software_licenses\".\"name\" = 'AGPL-3.0' ORDER BY \"software_licenses\".\"id\" ASC LIMIT 1 OFFSET 1")1361 -> 0.0008s1362-- execute("UPDATE \"software_licenses\" SET \"spdx_identifier\" = 'AGPL-3.0' WHERE \"software_licenses\".\"id\" >= 2 AND \"software_licenses\".\"name\" = 'AGPL-3.0'")1363 -> 0.0006s1364-- transaction_open?()1365 -> 0.0000s1366-- exec_query("SELECT COUNT(*) AS count FROM \"software_licenses\" WHERE \"software_licenses\".\"name\" = 'Apache 2.0'")1367 -> 0.0008s1368-- exec_query("SELECT \"software_licenses\".\"id\" FROM \"software_licenses\" WHERE \"software_licenses\".\"name\" = 'Apache 2.0' ORDER BY \"software_licenses\".\"id\" ASC LIMIT 1")1369 -> 0.0007s1370-- exec_query("SELECT \"software_licenses\".\"id\" FROM \"software_licenses\" WHERE \"software_licenses\".\"id\" >= 3 AND \"software_licenses\".\"name\" = 'Apache 2.0' ORDER BY \"software_licenses\".\"id\" ASC LIMIT 1 OFFSET 1")1371 -> 0.0007s1372-- execute("UPDATE \"software_licenses\" SET \"spdx_identifier\" = 'Apache-2.0' WHERE \"software_licenses\".\"id\" >= 3 AND \"software_licenses\".\"name\" = 'Apache 2.0'")1373 -> 0.0007s1374-- transaction_open?()1375 -> 0.0000s1376-- exec_query("SELECT COUNT(*) AS count FROM \"software_licenses\" WHERE \"software_licenses\".\"name\" = 'Artistic-2.0'")1377 -> 0.0007s1378-- exec_query("SELECT \"software_licenses\".\"id\" FROM \"software_licenses\" WHERE \"software_licenses\".\"name\" = 'Artistic-2.0' ORDER BY \"software_licenses\".\"id\" ASC LIMIT 1")1379 -> 0.0007s1380-- exec_query("SELECT \"software_licenses\".\"id\" FROM \"software_licenses\" WHERE \"software_licenses\".\"id\" >= 4 AND \"software_licenses\".\"name\" = 'Artistic-2.0' ORDER BY \"software_licenses\".\"id\" ASC LIMIT 1 OFFSET 1")1381 -> 0.0009s1382-- execute("UPDATE \"software_licenses\" SET \"spdx_identifier\" = 'Artistic-2.0' WHERE \"software_licenses\".\"id\" >= 4 AND \"software_licenses\".\"name\" = 'Artistic-2.0'")1383 -> 0.0006s1384-- transaction_open?()1385 -> 0.0000s1386-- exec_query("SELECT COUNT(*) AS count FROM \"software_licenses\" WHERE \"software_licenses\".\"name\" = 'BSD'")1387 -> 0.0007s1388-- exec_query("SELECT \"software_licenses\".\"id\" FROM \"software_licenses\" WHERE \"software_licenses\".\"name\" = 'BSD' ORDER BY \"software_licenses\".\"id\" ASC LIMIT 1")1389 -> 0.0007s1390-- exec_query("SELECT \"software_licenses\".\"id\" FROM \"software_licenses\" WHERE \"software_licenses\".\"id\" >= 5 AND \"software_licenses\".\"name\" = 'BSD' ORDER BY \"software_licenses\".\"id\" ASC LIMIT 1 OFFSET 1")1391 -> 0.0007s1392-- execute("UPDATE \"software_licenses\" SET \"spdx_identifier\" = 'BSD-4-Clause' WHERE \"software_licenses\".\"id\" >= 5 AND \"software_licenses\".\"name\" = 'BSD'")1393 -> 0.0006s1394-- transaction_open?()1395 -> 0.0000s1396-- exec_query("SELECT COUNT(*) AS count FROM \"software_licenses\" WHERE \"software_licenses\".\"name\" = 'CC0 1.0 Universal'")1397 -> 0.0007s1398-- exec_query("SELECT \"software_licenses\".\"id\" FROM \"software_licenses\" WHERE \"software_licenses\".\"name\" = 'CC0 1.0 Universal' ORDER BY \"software_licenses\".\"id\" ASC LIMIT 1")1399 -> 0.0007s1400-- exec_query("SELECT \"software_licenses\".\"id\" FROM \"software_licenses\" WHERE \"software_licenses\".\"id\" >= 6 AND \"software_licenses\".\"name\" = 'CC0 1.0 Universal' ORDER BY \"software_licenses\".\"id\" ASC LIMIT 1 OFFSET 1")1401 -> 0.0007s1402-- execute("UPDATE \"software_licenses\" SET \"spdx_identifier\" = 'CC0-1.0' WHERE \"software_licenses\".\"id\" >= 6 AND \"software_licenses\".\"name\" = 'CC0 1.0 Universal'")1403 -> 0.0007s1404-- transaction_open?()1405 -> 0.0000s1406-- exec_query("SELECT COUNT(*) AS count FROM \"software_licenses\" WHERE \"software_licenses\".\"name\" = 'CDDL-1.0'")1407 -> 0.0008s1408-- exec_query("SELECT \"software_licenses\".\"id\" FROM \"software_licenses\" WHERE \"software_licenses\".\"name\" = 'CDDL-1.0' ORDER BY \"software_licenses\".\"id\" ASC LIMIT 1")1409 -> 0.0007s1410-- exec_query("SELECT \"software_licenses\".\"id\" FROM \"software_licenses\" WHERE \"software_licenses\".\"id\" >= 7 AND \"software_licenses\".\"name\" = 'CDDL-1.0' ORDER BY \"software_licenses\".\"id\" ASC LIMIT 1 OFFSET 1")1411 -> 0.0007s1412-- execute("UPDATE \"software_licenses\" SET \"spdx_identifier\" = 'CDDL-1.0' WHERE \"software_licenses\".\"id\" >= 7 AND \"software_licenses\".\"name\" = 'CDDL-1.0'")1413 -> 0.0006s1414-- transaction_open?()1415 -> 0.0000s1416-- exec_query("SELECT COUNT(*) AS count FROM \"software_licenses\" WHERE \"software_licenses\".\"name\" = 'CDDL-1.1'")1417 -> 0.0007s1418-- exec_query("SELECT \"software_licenses\".\"id\" FROM \"software_licenses\" WHERE \"software_licenses\".\"name\" = 'CDDL-1.1' ORDER BY \"software_licenses\".\"id\" ASC LIMIT 1")1419 -> 0.0008s1420-- exec_query("SELECT \"software_licenses\".\"id\" FROM \"software_licenses\" WHERE \"software_licenses\".\"id\" >= 8 AND \"software_licenses\".\"name\" = 'CDDL-1.1' ORDER BY \"software_licenses\".\"id\" ASC LIMIT 1 OFFSET 1")1421 -> 0.0007s1422-- execute("UPDATE \"software_licenses\" SET \"spdx_identifier\" = 'CDDL-1.1' WHERE \"software_licenses\".\"id\" >= 8 AND \"software_licenses\".\"name\" = 'CDDL-1.1'")1423 -> 0.0006s1424-- transaction_open?()1425 -> 0.0000s1426-- exec_query("SELECT COUNT(*) AS count FROM \"software_licenses\" WHERE \"software_licenses\".\"name\" = 'EPL-1.0'")1427 -> 0.0007s1428-- exec_query("SELECT \"software_licenses\".\"id\" FROM \"software_licenses\" WHERE \"software_licenses\".\"name\" = 'EPL-1.0' ORDER BY \"software_licenses\".\"id\" ASC LIMIT 1")1429 -> 0.0011s1430-- exec_query("SELECT \"software_licenses\".\"id\" FROM \"software_licenses\" WHERE \"software_licenses\".\"id\" >= 9 AND \"software_licenses\".\"name\" = 'EPL-1.0' ORDER BY \"software_licenses\".\"id\" ASC LIMIT 1 OFFSET 1")1431 -> 0.0014s1432-- execute("UPDATE \"software_licenses\" SET \"spdx_identifier\" = 'EPL-1.0' WHERE \"software_licenses\".\"id\" >= 9 AND \"software_licenses\".\"name\" = 'EPL-1.0'")1433 -> 0.0007s1434-- transaction_open?()1435 -> 0.0000s1436-- exec_query("SELECT COUNT(*) AS count FROM \"software_licenses\" WHERE \"software_licenses\".\"name\" = 'EPL-2.0'")1437 -> 0.0008s1438-- exec_query("SELECT \"software_licenses\".\"id\" FROM \"software_licenses\" WHERE \"software_licenses\".\"name\" = 'EPL-2.0' ORDER BY \"software_licenses\".\"id\" ASC LIMIT 1")1439 -> 0.0007s1440-- exec_query("SELECT \"software_licenses\".\"id\" FROM \"software_licenses\" WHERE \"software_licenses\".\"id\" >= 10 AND \"software_licenses\".\"name\" = 'EPL-2.0' ORDER BY \"software_licenses\".\"id\" ASC LIMIT 1 OFFSET 1")1441 -> 0.0008s1442-- execute("UPDATE \"software_licenses\" SET \"spdx_identifier\" = 'EPL-2.0' WHERE \"software_licenses\".\"id\" >= 10 AND \"software_licenses\".\"name\" = 'EPL-2.0'")1443 -> 0.0007s1444-- transaction_open?()1445 -> 0.0000s1446-- exec_query("SELECT COUNT(*) AS count FROM \"software_licenses\" WHERE \"software_licenses\".\"name\" = 'GPLv2'")1447 -> 0.0009s1448-- exec_query("SELECT \"software_licenses\".\"id\" FROM \"software_licenses\" WHERE \"software_licenses\".\"name\" = 'GPLv2' ORDER BY \"software_licenses\".\"id\" ASC LIMIT 1")1449 -> 0.0007s1450-- exec_query("SELECT \"software_licenses\".\"id\" FROM \"software_licenses\" WHERE \"software_licenses\".\"id\" >= 11 AND \"software_licenses\".\"name\" = 'GPLv2' ORDER BY \"software_licenses\".\"id\" ASC LIMIT 1 OFFSET 1")1451 -> 0.0009s1452-- execute("UPDATE \"software_licenses\" SET \"spdx_identifier\" = 'GPL-2.0' WHERE \"software_licenses\".\"id\" >= 11 AND \"software_licenses\".\"name\" = 'GPLv2'")1453 -> 0.0007s1454-- transaction_open?()1455 -> 0.0000s1456-- exec_query("SELECT COUNT(*) AS count FROM \"software_licenses\" WHERE \"software_licenses\".\"name\" = 'GPLv3'")1457 -> 0.0007s1458-- exec_query("SELECT \"software_licenses\".\"id\" FROM \"software_licenses\" WHERE \"software_licenses\".\"name\" = 'GPLv3' ORDER BY \"software_licenses\".\"id\" ASC LIMIT 1")1459 -> 0.0007s1460-- exec_query("SELECT \"software_licenses\".\"id\" FROM \"software_licenses\" WHERE \"software_licenses\".\"id\" >= 12 AND \"software_licenses\".\"name\" = 'GPLv3' ORDER BY \"software_licenses\".\"id\" ASC LIMIT 1 OFFSET 1")1461 -> 0.0007s1462-- execute("UPDATE \"software_licenses\" SET \"spdx_identifier\" = 'GPL-3.0' WHERE \"software_licenses\".\"id\" >= 12 AND \"software_licenses\".\"name\" = 'GPLv3'")1463 -> 0.0006s1464-- transaction_open?()1465 -> 0.0000s1466-- exec_query("SELECT COUNT(*) AS count FROM \"software_licenses\" WHERE \"software_licenses\".\"name\" = 'ISC'")1467 -> 0.0006s1468-- exec_query("SELECT \"software_licenses\".\"id\" FROM \"software_licenses\" WHERE \"software_licenses\".\"name\" = 'ISC' ORDER BY \"software_licenses\".\"id\" ASC LIMIT 1")1469 -> 0.0006s1470-- exec_query("SELECT \"software_licenses\".\"id\" FROM \"software_licenses\" WHERE \"software_licenses\".\"id\" >= 13 AND \"software_licenses\".\"name\" = 'ISC' ORDER BY \"software_licenses\".\"id\" ASC LIMIT 1 OFFSET 1")1471 -> 0.0007s1472-- execute("UPDATE \"software_licenses\" SET \"spdx_identifier\" = 'ISC' WHERE \"software_licenses\".\"id\" >= 13 AND \"software_licenses\".\"name\" = 'ISC'")1473 -> 0.0006s1474-- transaction_open?()1475 -> 0.0000s1476-- exec_query("SELECT COUNT(*) AS count FROM \"software_licenses\" WHERE \"software_licenses\".\"name\" = 'LGPL'")1477 -> 0.0009s1478-- exec_query("SELECT \"software_licenses\".\"id\" FROM \"software_licenses\" WHERE \"software_licenses\".\"name\" = 'LGPL' ORDER BY \"software_licenses\".\"id\" ASC LIMIT 1")1479 -> 0.0008s1480-- exec_query("SELECT \"software_licenses\".\"id\" FROM \"software_licenses\" WHERE \"software_licenses\".\"id\" >= 14 AND \"software_licenses\".\"name\" = 'LGPL' ORDER BY \"software_licenses\".\"id\" ASC LIMIT 1 OFFSET 1")1481 -> 0.0007s1482-- execute("UPDATE \"software_licenses\" SET \"spdx_identifier\" = 'LGPL-3.0-only' WHERE \"software_licenses\".\"id\" >= 14 AND \"software_licenses\".\"name\" = 'LGPL'")1483 -> 0.0007s1484-- transaction_open?()1485 -> 0.0000s1486-- exec_query("SELECT COUNT(*) AS count FROM \"software_licenses\" WHERE \"software_licenses\".\"name\" = 'LGPL-2.1'")1487 -> 0.0006s1488-- exec_query("SELECT \"software_licenses\".\"id\" FROM \"software_licenses\" WHERE \"software_licenses\".\"name\" = 'LGPL-2.1' ORDER BY \"software_licenses\".\"id\" ASC LIMIT 1")1489 -> 0.0008s1490-- exec_query("SELECT \"software_licenses\".\"id\" FROM \"software_licenses\" WHERE \"software_licenses\".\"id\" >= 15 AND \"software_licenses\".\"name\" = 'LGPL-2.1' ORDER BY \"software_licenses\".\"id\" ASC LIMIT 1 OFFSET 1")1491 -> 0.0008s1492-- execute("UPDATE \"software_licenses\" SET \"spdx_identifier\" = 'LGPL-2.1' WHERE \"software_licenses\".\"id\" >= 15 AND \"software_licenses\".\"name\" = 'LGPL-2.1'")1493 -> 0.0007s1494-- transaction_open?()1495 -> 0.0000s1496-- exec_query("SELECT COUNT(*) AS count FROM \"software_licenses\" WHERE \"software_licenses\".\"name\" = 'MIT'")1497 -> 0.0007s1498-- exec_query("SELECT \"software_licenses\".\"id\" FROM \"software_licenses\" WHERE \"software_licenses\".\"name\" = 'MIT' ORDER BY \"software_licenses\".\"id\" ASC LIMIT 1")1499 -> 0.0007s1500-- exec_query("SELECT \"software_licenses\".\"id\" FROM \"software_licenses\" WHERE \"software_licenses\".\"id\" >= 16 AND \"software_licenses\".\"name\" = 'MIT' ORDER BY \"software_licenses\".\"id\" ASC LIMIT 1 OFFSET 1")1501 -> 0.0007s1502-- execute("UPDATE \"software_licenses\" SET \"spdx_identifier\" = 'MIT' WHERE \"software_licenses\".\"id\" >= 16 AND \"software_licenses\".\"name\" = 'MIT'")1503 -> 0.0007s1504-- transaction_open?()1505 -> 0.0000s1506-- exec_query("SELECT COUNT(*) AS count FROM \"software_licenses\" WHERE \"software_licenses\".\"name\" = 'Mozilla Public License 2.0'")1507 -> 0.0008s1508-- exec_query("SELECT \"software_licenses\".\"id\" FROM \"software_licenses\" WHERE \"software_licenses\".\"name\" = 'Mozilla Public License 2.0' ORDER BY \"software_licenses\".\"id\" ASC LIMIT 1")1509 -> 0.0009s1510-- exec_query("SELECT \"software_licenses\".\"id\" FROM \"software_licenses\" WHERE \"software_licenses\".\"id\" >= 17 AND \"software_licenses\".\"name\" = 'Mozilla Public License 2.0' ORDER BY \"software_licenses\".\"id\" ASC LIMIT 1 OFFSET 1")1511 -> 0.0008s1512-- execute("UPDATE \"software_licenses\" SET \"spdx_identifier\" = 'MPL-2.0' WHERE \"software_licenses\".\"id\" >= 17 AND \"software_licenses\".\"name\" = 'Mozilla Public License 2.0'")1513 -> 0.0007s1514-- transaction_open?()1515 -> 0.0002s1516-- exec_query("SELECT COUNT(*) AS count FROM \"software_licenses\" WHERE \"software_licenses\".\"name\" = 'MS-PL'")1517 -> 0.0008s1518-- exec_query("SELECT \"software_licenses\".\"id\" FROM \"software_licenses\" WHERE \"software_licenses\".\"name\" = 'MS-PL' ORDER BY \"software_licenses\".\"id\" ASC LIMIT 1")1519 -> 0.0008s1520-- exec_query("SELECT \"software_licenses\".\"id\" FROM \"software_licenses\" WHERE \"software_licenses\".\"id\" >= 18 AND \"software_licenses\".\"name\" = 'MS-PL' ORDER BY \"software_licenses\".\"id\" ASC LIMIT 1 OFFSET 1")1521 -> 0.0010s1522-- execute("UPDATE \"software_licenses\" SET \"spdx_identifier\" = 'MS-PL' WHERE \"software_licenses\".\"id\" >= 18 AND \"software_licenses\".\"name\" = 'MS-PL'")1523 -> 0.0009s1524-- transaction_open?()1525 -> 0.0000s1526-- exec_query("SELECT COUNT(*) AS count FROM \"software_licenses\" WHERE \"software_licenses\".\"name\" = 'MS-RL'")1527 -> 0.0009s1528-- exec_query("SELECT \"software_licenses\".\"id\" FROM \"software_licenses\" WHERE \"software_licenses\".\"name\" = 'MS-RL' ORDER BY \"software_licenses\".\"id\" ASC LIMIT 1")1529 -> 0.0009s1530-- exec_query("SELECT \"software_licenses\".\"id\" FROM \"software_licenses\" WHERE \"software_licenses\".\"id\" >= 19 AND \"software_licenses\".\"name\" = 'MS-RL' ORDER BY \"software_licenses\".\"id\" ASC LIMIT 1 OFFSET 1")1531 -> 0.0008s1532-- execute("UPDATE \"software_licenses\" SET \"spdx_identifier\" = 'MS-RL' WHERE \"software_licenses\".\"id\" >= 19 AND \"software_licenses\".\"name\" = 'MS-RL'")1533 -> 0.0007s1534-- transaction_open?()1535 -> 0.0001s1536-- exec_query("SELECT COUNT(*) AS count FROM \"software_licenses\" WHERE \"software_licenses\".\"name\" = 'New BSD'")1537 -> 0.0008s1538-- exec_query("SELECT \"software_licenses\".\"id\" FROM \"software_licenses\" WHERE \"software_licenses\".\"name\" = 'New BSD' ORDER BY \"software_licenses\".\"id\" ASC LIMIT 1")1539 -> 0.0013s1540-- exec_query("SELECT \"software_licenses\".\"id\" FROM \"software_licenses\" WHERE \"software_licenses\".\"id\" >= 20 AND \"software_licenses\".\"name\" = 'New BSD' ORDER BY \"software_licenses\".\"id\" ASC LIMIT 1 OFFSET 1")1541 -> 0.0008s1542-- execute("UPDATE \"software_licenses\" SET \"spdx_identifier\" = 'BSD-3-Clause' WHERE \"software_licenses\".\"id\" >= 20 AND \"software_licenses\".\"name\" = 'New BSD'")1543 -> 0.0007s1544-- transaction_open?()1545 -> 0.0000s1546-- exec_query("SELECT COUNT(*) AS count FROM \"software_licenses\" WHERE \"software_licenses\".\"name\" = 'Python Software Foundation License'")1547 -> 0.0007s1548-- exec_query("SELECT \"software_licenses\".\"id\" FROM \"software_licenses\" WHERE \"software_licenses\".\"name\" = 'Python Software Foundation License' ORDER BY \"software_licenses\".\"id\" ASC LIMIT 1")1549 -> 0.0007s1550-- exec_query("SELECT \"software_licenses\".\"id\" FROM \"software_licenses\" WHERE \"software_licenses\".\"id\" >= 21 AND \"software_licenses\".\"name\" = 'Python Software Foundation License' ORDER BY \"software_licenses\".\"id\" ASC LIMIT 1 OFFSET 1")1551 -> 0.0007s1552-- execute("UPDATE \"software_licenses\" SET \"spdx_identifier\" = 'Python-2.0' WHERE \"software_licenses\".\"id\" >= 21 AND \"software_licenses\".\"name\" = 'Python Software Foundation License'")1553 -> 0.0008s1554-- transaction_open?()1555 -> 0.0001s1556-- exec_query("SELECT COUNT(*) AS count FROM \"software_licenses\" WHERE \"software_licenses\".\"name\" = 'ruby'")1557 -> 0.0008s1558-- exec_query("SELECT \"software_licenses\".\"id\" FROM \"software_licenses\" WHERE \"software_licenses\".\"name\" = 'ruby' ORDER BY \"software_licenses\".\"id\" ASC LIMIT 1")1559 -> 0.0007s1560-- exec_query("SELECT \"software_licenses\".\"id\" FROM \"software_licenses\" WHERE \"software_licenses\".\"id\" >= 22 AND \"software_licenses\".\"name\" = 'ruby' ORDER BY \"software_licenses\".\"id\" ASC LIMIT 1 OFFSET 1")1561 -> 0.0008s1562-- execute("UPDATE \"software_licenses\" SET \"spdx_identifier\" = 'Ruby' WHERE \"software_licenses\".\"id\" >= 22 AND \"software_licenses\".\"name\" = 'ruby'")1563 -> 0.0007s1564-- transaction_open?()1565 -> 0.0000s1566-- exec_query("SELECT COUNT(*) AS count FROM \"software_licenses\" WHERE \"software_licenses\".\"name\" = 'Simplified BSD'")1567 -> 0.0008s1568-- exec_query("SELECT \"software_licenses\".\"id\" FROM \"software_licenses\" WHERE \"software_licenses\".\"name\" = 'Simplified BSD' ORDER BY \"software_licenses\".\"id\" ASC LIMIT 1")1569 -> 0.0007s1570-- exec_query("SELECT \"software_licenses\".\"id\" FROM \"software_licenses\" WHERE \"software_licenses\".\"id\" >= 23 AND \"software_licenses\".\"name\" = 'Simplified BSD' ORDER BY \"software_licenses\".\"id\" ASC LIMIT 1 OFFSET 1")1571 -> 0.0007s1572-- execute("UPDATE \"software_licenses\" SET \"spdx_identifier\" = 'BSD-2-Clause' WHERE \"software_licenses\".\"id\" >= 23 AND \"software_licenses\".\"name\" = 'Simplified BSD'")1573 -> 0.0006s1574-- transaction_open?()1575 -> 0.0001s1576-- exec_query("SELECT COUNT(*) AS count FROM \"software_licenses\" WHERE \"software_licenses\".\"name\" = 'WTFPL'")1577 -> 0.0008s1578-- exec_query("SELECT \"software_licenses\".\"id\" FROM \"software_licenses\" WHERE \"software_licenses\".\"name\" = 'WTFPL' ORDER BY \"software_licenses\".\"id\" ASC LIMIT 1")1579 -> 0.0007s1580-- exec_query("SELECT \"software_licenses\".\"id\" FROM \"software_licenses\" WHERE \"software_licenses\".\"id\" >= 24 AND \"software_licenses\".\"name\" = 'WTFPL' ORDER BY \"software_licenses\".\"id\" ASC LIMIT 1 OFFSET 1")1581 -> 0.0007s1582-- execute("UPDATE \"software_licenses\" SET \"spdx_identifier\" = 'WTFPL' WHERE \"software_licenses\".\"id\" >= 24 AND \"software_licenses\".\"name\" = 'WTFPL'")1583 -> 0.0008s1584-- transaction_open?()1585 -> 0.0000s1586-- exec_query("SELECT COUNT(*) AS count FROM \"software_licenses\" WHERE \"software_licenses\".\"name\" = 'Zlib'")1587 -> 0.0007s1588-- exec_query("SELECT \"software_licenses\".\"id\" FROM \"software_licenses\" WHERE \"software_licenses\".\"name\" = 'Zlib' ORDER BY \"software_licenses\".\"id\" ASC LIMIT 1")1589 -> 0.0007s1590-- exec_query("SELECT \"software_licenses\".\"id\" FROM \"software_licenses\" WHERE \"software_licenses\".\"id\" >= 25 AND \"software_licenses\".\"name\" = 'Zlib' ORDER BY \"software_licenses\".\"id\" ASC LIMIT 1 OFFSET 1")1591 -> 0.0007s1592-- execute("UPDATE \"software_licenses\" SET \"spdx_identifier\" = 'Zlib' WHERE \"software_licenses\".\"id\" >= 25 AND \"software_licenses\".\"name\" = 'Zlib'")1593 -> 0.0007s1594== 20190917173107 BackfillSoftwareLicensesSpdxIdentifiers: migrated (0.1134s) =1595 updates the default license names that are hardcoded in javascript1596 #down1597== 20190917173107 BackfillSoftwareLicensesSpdxIdentifiers: migrating ==========1598-- Expect 25 updates to the software_licenses table to occur1599-- transaction_open?()1600 -> 0.0001s1601-- exec_query("SELECT COUNT(*) AS count FROM \"software_licenses\" WHERE \"software_licenses\".\"name\" = 'AGPL-1.0'")1602 -> 0.0009s1603-- transaction_open?()1604 -> 0.0000s1605-- exec_query("SELECT COUNT(*) AS count FROM \"software_licenses\" WHERE \"software_licenses\".\"name\" = 'AGPL-3.0'")1606 -> 0.0009s1607-- transaction_open?()1608 -> 0.0000s1609-- exec_query("SELECT COUNT(*) AS count FROM \"software_licenses\" WHERE \"software_licenses\".\"name\" = 'Apache 2.0'")1610 -> 0.0008s1611-- transaction_open?()1612 -> 0.0000s1613-- exec_query("SELECT COUNT(*) AS count FROM \"software_licenses\" WHERE \"software_licenses\".\"name\" = 'Artistic-2.0'")1614 -> 0.0008s1615-- transaction_open?()1616 -> 0.0000s1617-- exec_query("SELECT COUNT(*) AS count FROM \"software_licenses\" WHERE \"software_licenses\".\"name\" = 'BSD'")1618 -> 0.0008s1619-- transaction_open?()1620 -> 0.0000s1621-- exec_query("SELECT COUNT(*) AS count FROM \"software_licenses\" WHERE \"software_licenses\".\"name\" = 'CC0 1.0 Universal'")1622 -> 0.0008s1623-- transaction_open?()1624 -> 0.0000s1625-- exec_query("SELECT COUNT(*) AS count FROM \"software_licenses\" WHERE \"software_licenses\".\"name\" = 'CDDL-1.0'")1626 -> 0.0007s1627-- transaction_open?()1628 -> 0.0000s1629-- exec_query("SELECT COUNT(*) AS count FROM \"software_licenses\" WHERE \"software_licenses\".\"name\" = 'CDDL-1.1'")1630 -> 0.0007s1631-- transaction_open?()1632 -> 0.0000s1633-- exec_query("SELECT COUNT(*) AS count FROM \"software_licenses\" WHERE \"software_licenses\".\"name\" = 'EPL-1.0'")1634 -> 0.0007s1635-- transaction_open?()1636 -> 0.0000s1637-- exec_query("SELECT COUNT(*) AS count FROM \"software_licenses\" WHERE \"software_licenses\".\"name\" = 'EPL-2.0'")1638 -> 0.0007s1639-- transaction_open?()1640 -> 0.0000s1641-- exec_query("SELECT COUNT(*) AS count FROM \"software_licenses\" WHERE \"software_licenses\".\"name\" = 'GPLv2'")1642 -> 0.0007s1643-- transaction_open?()1644 -> 0.0000s1645-- exec_query("SELECT COUNT(*) AS count FROM \"software_licenses\" WHERE \"software_licenses\".\"name\" = 'GPLv3'")1646 -> 0.0007s1647-- transaction_open?()1648 -> 0.0000s1649-- exec_query("SELECT COUNT(*) AS count FROM \"software_licenses\" WHERE \"software_licenses\".\"name\" = 'ISC'")1650 -> 0.0007s1651-- transaction_open?()1652 -> 0.0000s1653-- exec_query("SELECT COUNT(*) AS count FROM \"software_licenses\" WHERE \"software_licenses\".\"name\" = 'LGPL'")1654 -> 0.0007s1655-- transaction_open?()1656 -> 0.0000s1657-- exec_query("SELECT COUNT(*) AS count FROM \"software_licenses\" WHERE \"software_licenses\".\"name\" = 'LGPL-2.1'")1658 -> 0.0007s1659-- transaction_open?()1660 -> 0.0000s1661-- exec_query("SELECT COUNT(*) AS count FROM \"software_licenses\" WHERE \"software_licenses\".\"name\" = 'MIT'")1662 -> 0.0007s1663-- exec_query("SELECT \"software_licenses\".\"id\" FROM \"software_licenses\" WHERE \"software_licenses\".\"name\" = 'MIT' ORDER BY \"software_licenses\".\"id\" ASC LIMIT 1")1664 -> 0.0008s1665-- exec_query("SELECT \"software_licenses\".\"id\" FROM \"software_licenses\" WHERE \"software_licenses\".\"id\" >= 26 AND \"software_licenses\".\"name\" = 'MIT' ORDER BY \"software_licenses\".\"id\" ASC LIMIT 1 OFFSET 1")1666 -> 0.0008s1667-- execute("UPDATE \"software_licenses\" SET \"spdx_identifier\" = 'MIT' WHERE \"software_licenses\".\"id\" >= 26 AND \"software_licenses\".\"name\" = 'MIT'")1668 -> 0.0007s1669-- transaction_open?()1670 -> 0.0000s1671-- exec_query("SELECT COUNT(*) AS count FROM \"software_licenses\" WHERE \"software_licenses\".\"name\" = 'Mozilla Public License 2.0'")1672 -> 0.0008s1673-- transaction_open?()1674 -> 0.0000s1675-- exec_query("SELECT COUNT(*) AS count FROM \"software_licenses\" WHERE \"software_licenses\".\"name\" = 'MS-PL'")1676 -> 0.0007s1677-- transaction_open?()1678 -> 0.0000s1679-- exec_query("SELECT COUNT(*) AS count FROM \"software_licenses\" WHERE \"software_licenses\".\"name\" = 'MS-RL'")1680 -> 0.0007s1681-- transaction_open?()1682 -> 0.0000s1683-- exec_query("SELECT COUNT(*) AS count FROM \"software_licenses\" WHERE \"software_licenses\".\"name\" = 'New BSD'")1684 -> 0.0006s1685-- transaction_open?()1686 -> 0.0000s1687-- exec_query("SELECT COUNT(*) AS count FROM \"software_licenses\" WHERE \"software_licenses\".\"name\" = 'Python Software Foundation License'")1688 -> 0.0007s1689-- transaction_open?()1690 -> 0.0000s1691-- exec_query("SELECT COUNT(*) AS count FROM \"software_licenses\" WHERE \"software_licenses\".\"name\" = 'ruby'")1692 -> 0.0007s1693-- transaction_open?()1694 -> 0.0000s1695-- exec_query("SELECT COUNT(*) AS count FROM \"software_licenses\" WHERE \"software_licenses\".\"name\" = 'Simplified BSD'")1696 -> 0.0007s1697-- transaction_open?()1698 -> 0.0000s1699-- exec_query("SELECT COUNT(*) AS count FROM \"software_licenses\" WHERE \"software_licenses\".\"name\" = 'WTFPL'")1700 -> 0.0007s1701-- transaction_open?()1702 -> 0.0000s1703-- exec_query("SELECT COUNT(*) AS count FROM \"software_licenses\" WHERE \"software_licenses\".\"name\" = 'Zlib'")1704 -> 0.0007s1705== 20190917173107 BackfillSoftwareLicensesSpdxIdentifiers: migrated (0.0312s) =1706 resets the `spdx_identifier`1707NOTICE: trigger "trigger_97893debd1d4" for relation "design_management_versions" does not exist, skipping1708NOTICE: trigger "trigger_4821f661bf92" for relation "application_settings" does not exist, skipping1709DEPRECATION WARNING: Class level methods will no longer inherit scoping from `with_unique_issue_ids` in Rails 6.1. To continue using the scoped relation, pass it into the block directly. To instead access the full set of models, as Rails 6.1 will, use `BackfillVersionAuthorAndCreatedAt::Version.default_scoped`. (called from block in <class:Version> at /builds/gitlab-org/gitlab/db/post_migrate/20191030223057_backfill_version_author_and_created_at.rb:32)1710NOTICE: trigger "trigger_5299882abc4c" for relation "software_license_policies" does not exist, skipping1711NOTICE: trigger "trigger_e856257b2421" for relation "commit_user_mentions" does not exist, skipping1712NOTICE: trigger "trigger_5e971e2e2c26" for relation "pages_domains" does not exist, skipping1713NOTICE: table "deployment_clusters" does not exist, skipping1714NOTICE: trigger "trigger_27c6ea5cb43e" for relation "vulnerabilities" does not exist, skipping1715NOTICE: trigger "trigger_9ab19b89128a" for relation "vulnerabilities" does not exist, skipping1716NOTICE: constraint "lfs_objects_file_store_not_null" of relation "lfs_objects" does not exist, skipping1717NOTICE: constraint "ci_job_artifacts_file_store_not_null" of relation "ci_job_artifacts" does not exist, skipping1718NOTICE: constraint "uploads_store_not_null" of relation "uploads" does not exist, skipping1719NOTICE: trigger "trigger_f14363ffbcd3" for relation "sprints" does not exist, skipping1720NOTICE: schema "partitions_dynamic" does not exist, skipping1721NOTICE: table "untracked_files_for_uploads" does not exist, skipping1722NOTICE: trigger "trigger_d5eb03a59792" for relation "packages_pypi_metadata" does not exist, skipping1723NOTICE: trigger "trigger_8fe85065a3f9" for relation "application_settings" does not exist, skipping1724NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_project_authorizations_on_user_id_project_id_access_level" to "project_authorizations_pkey"1725NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "analytics_repository_languages_unique_index" to "analytics_language_trend_repository_languages_pkey"1726NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_approval_project_rules_protected_branches_unique" to "approval_project_rules_protected_branches_pkey"1727NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_ci_build_trace_sections_on_build_id_and_section_name_id" to "ci_build_trace_sections_pkey"1728NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "idx_deployment_merge_requests_unique_index" to "deployment_merge_requests_pkey"1729NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_issue_assignees_on_issue_id_and_user_id" to "issue_assignees_pkey"1730NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "issue_id_prometheus_alert_event_id_index" to "issues_prometheus_alert_events_pkey"1731NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "issue_id_self_managed_prometheus_alert_event_id_index" to "issues_self_managed_prometheus_alert_events_pkey"1732NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_merge_request_diff_commits_on_mr_diff_id_and_order" to "merge_request_diff_commits_pkey"1733NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_merge_request_diff_files_on_mr_diff_id_and_order" to "merge_request_diff_files_pkey"1734NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_miletone_releases_on_milestone_and_release" to "milestone_releases_pkey"1735NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_project_pages_metadata_on_project_id" to "project_pages_metadata_pkey"1736NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_push_event_payloads_on_event_id" to "push_event_payloads_pkey"1737NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_repository_languages_on_project_and_languages_id" to "repository_languages_pkey"1738NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_user_interacted_projects_on_project_id_and_user_id" to "user_interacted_projects_pkey"1739NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "users_security_dashboard_projects_unique_index" to "users_security_dashboard_projects_pkey"1740NOTICE: trigger "trigger_1f0ae12498d3" for relation "application_settings" does not exist, skipping1741NOTICE: trigger "trigger_72b785aa2f14" for relation "application_settings" does not exist, skipping1742NOTICE: trigger "trigger_3d531acd472b" for relation "application_settings" does not exist, skipping1743NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_elasticsearch_indexed_projects_on_project_id" to "elasticsearch_indexed_projects_pkey"1744NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_elasticsearch_indexed_namespaces_on_namespace_id" to "elasticsearch_indexed_namespaces_pkey"1745NOTICE: trigger "trigger_448e14608510" for relation "pages_deployments" does not exist, skipping1746NOTICE: trigger "trigger_9a96291bb38d" for relation "application_settings" does not exist, skipping1747NOTICE: trigger "trigger_22a39c5c25f3" for relation "application_settings" does not exist, skipping1748NOTICE: trigger "trigger_1572cbc9a15f" for relation "application_settings" does not exist, skipping1749ScheduleSyncBlockingIssuesCount1750NOTICE: trigger "trigger_9a96291bb38d" for relation "application_settings" does not exist, skipping1751NOTICE: trigger "trigger_22a39c5c25f3" for relation "application_settings" does not exist, skipping1752NOTICE: trigger "trigger_1572cbc9a15f" for relation "application_settings" does not exist, skipping1753NOTICE: trigger "trigger_448e14608510" for relation "pages_deployments" does not exist, skipping1754NOTICE: trigger "trigger_1f0ae12498d3" for relation "application_settings" does not exist, skipping1755NOTICE: trigger "trigger_72b785aa2f14" for relation "application_settings" does not exist, skipping1756NOTICE: trigger "trigger_3d531acd472b" for relation "application_settings" does not exist, skipping1757 scheduling migrations1758== 20201014142521 ScheduleSyncBlockingIssuesCount: migrating ==================1759== 20201014142521 ScheduleSyncBlockingIssuesCount: migrated (0.0208s) =========1760 correctly schedules issuable sync background migration1761 running background migration1762== 20201014142521 ScheduleSyncBlockingIssuesCount: migrating ==================1763== 20201014142521 ScheduleSyncBlockingIssuesCount: migrated (0.0297s) =========1764 correctly populates issues blocking_issues_count1765NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_project_authorizations_on_user_id_project_id_access_level" to "project_authorizations_pkey"1766NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "analytics_repository_languages_unique_index" to "analytics_language_trend_repository_languages_pkey"1767NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_approval_project_rules_protected_branches_unique" to "approval_project_rules_protected_branches_pkey"1768NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_ci_build_trace_sections_on_build_id_and_section_name_id" to "ci_build_trace_sections_pkey"1769NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "idx_deployment_merge_requests_unique_index" to "deployment_merge_requests_pkey"1770NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_issue_assignees_on_issue_id_and_user_id" to "issue_assignees_pkey"1771NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "issue_id_prometheus_alert_event_id_index" to "issues_prometheus_alert_events_pkey"1772NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "issue_id_self_managed_prometheus_alert_event_id_index" to "issues_self_managed_prometheus_alert_events_pkey"1773NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_merge_request_diff_commits_on_mr_diff_id_and_order" to "merge_request_diff_commits_pkey"1774NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_merge_request_diff_files_on_mr_diff_id_and_order" to "merge_request_diff_files_pkey"1775NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_miletone_releases_on_milestone_and_release" to "milestone_releases_pkey"1776NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_project_pages_metadata_on_project_id" to "project_pages_metadata_pkey"1777NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_push_event_payloads_on_event_id" to "push_event_payloads_pkey"1778NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_repository_languages_on_project_and_languages_id" to "repository_languages_pkey"1779NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_user_interacted_projects_on_project_id_and_user_id" to "user_interacted_projects_pkey"1780NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "users_security_dashboard_projects_unique_index" to "users_security_dashboard_projects_pkey"1781NOTICE: trigger "trigger_1f0ae12498d3" for relation "application_settings" does not exist, skipping1782NOTICE: trigger "trigger_72b785aa2f14" for relation "application_settings" does not exist, skipping1783NOTICE: trigger "trigger_3d531acd472b" for relation "application_settings" does not exist, skipping1784NOTICE: constraint "check_242f0cc65c" of relation "webauthn_registrations" does not exist, skipping1785NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_elasticsearch_indexed_projects_on_project_id" to "elasticsearch_indexed_projects_pkey"1786NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_elasticsearch_indexed_namespaces_on_namespace_id" to "elasticsearch_indexed_namespaces_pkey"1787NOTICE: trigger "trigger_448e14608510" for relation "pages_deployments" does not exist, skipping1788NOTICE: trigger "trigger_9a96291bb38d" for relation "application_settings" does not exist, skipping1789NOTICE: trigger "trigger_22a39c5c25f3" for relation "application_settings" does not exist, skipping1790NOTICE: trigger "trigger_1572cbc9a15f" for relation "application_settings" does not exist, skipping1791UpdateUndefinedConfidenceFromOccurrences1792NOTICE: trigger "trigger_9a96291bb38d" for relation "application_settings" does not exist, skipping1793NOTICE: trigger "trigger_22a39c5c25f3" for relation "application_settings" does not exist, skipping1794NOTICE: trigger "trigger_1572cbc9a15f" for relation "application_settings" does not exist, skipping1795NOTICE: trigger "trigger_448e14608510" for relation "pages_deployments" does not exist, skipping1796NOTICE: trigger "trigger_1f0ae12498d3" for relation "application_settings" does not exist, skipping1797NOTICE: trigger "trigger_72b785aa2f14" for relation "application_settings" does not exist, skipping1798NOTICE: trigger "trigger_3d531acd472b" for relation "application_settings" does not exist, skipping1799NOTICE: trigger "trigger_8fe85065a3f9" for relation "application_settings" does not exist, skipping1800NOTICE: trigger "trigger_d5eb03a59792" for relation "packages_pypi_metadata" does not exist, skipping1801NOTICE: constraint "check_fcfb4a93ff" of relation "epics" does not exist, skipping1802NOTICE: constraint "check_970d272570" of relation "merge_requests" does not exist, skipping1803NOTICE: constraint "check_fba63f706d" of relation "issues" does not exist, skipping1804NOTICE: constraint "check_81b431e49b" of relation "ci_stages" does not exist, skipping1805NOTICE: constraint "check_1e2fbd1b39" of relation "ci_builds" does not exist, skipping1806NOTICE: constraint "check_d7e99a025e" of relation "ci_pipelines" does not exist, skipping1807NOTICE: constraint "check_242f0cc65c" of relation "webauthn_registrations" does not exist, skipping1808== 20200506085748 UpdateUndefinedConfidenceFromOccurrences: migrating =========1809-- transaction_open?()1810 -> 0.0000s1811-- index_exists?(:vulnerability_occurrences, :id, {:where=>"confidence = 0", :name=>"index_vulnerability_occurrences_on_id_and_confidence_eq_zero", :algorithm=>:concurrently})1812 -> 0.0043s1813-- add_index(:vulnerability_occurrences, :id, {:where=>"confidence = 0", :name=>"index_vulnerability_occurrences_on_id_and_confidence_eq_zero", :algorithm=>:concurrently})1814 -> 0.0033s1815-- Scheduled 1 RemoveUndefinedOccurrenceConfidenceLevel jobs with a maximum of 2 records per batch and an interval of 120 seconds.1816The migration is expected to take at least 120 seconds. Expect all jobs to have completed after 2021-03-03 12:17:25 UTC."1817== 20200506085748 UpdateUndefinedConfidenceFromOccurrences: migrated (0.0364s) 1818 updates confidence levels for container scanning reports1819== 20200506085748 UpdateUndefinedConfidenceFromOccurrences: migrating =========1820-- transaction_open?()1821 -> 0.0000s1822-- index_exists?(:vulnerability_occurrences, :id, {:where=>"confidence = 0", :name=>"index_vulnerability_occurrences_on_id_and_confidence_eq_zero", :algorithm=>:concurrently})1823 -> 0.0045s1824-- add_index(:vulnerability_occurrences, :id, {:where=>"confidence = 0", :name=>"index_vulnerability_occurrences_on_id_and_confidence_eq_zero", :algorithm=>:concurrently})1825 -> 0.0035s1826-- Scheduled 1 RemoveUndefinedOccurrenceConfidenceLevel jobs with a maximum of 2 records per batch and an interval of 120 seconds.1827The migration is expected to take at least 120 seconds. Expect all jobs to have completed after 2021-03-03 12:17:25 UTC."1828== 20200506085748 UpdateUndefinedConfidenceFromOccurrences: migrated (0.0347s) 1829 skips migration for ce1830NOTICE: constraint "check_5ebd0515a0" of relation "ci_instance_variables" does not exist, skipping1831NOTICE: schema "partitions_dynamic" does not exist, skipping1832NOTICE: table "untracked_files_for_uploads" does not exist, skipping1833NOTICE: trigger "trigger_d5eb03a59792" for relation "packages_pypi_metadata" does not exist, skipping1834NOTICE: trigger "trigger_8fe85065a3f9" for relation "application_settings" does not exist, skipping1835NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_project_authorizations_on_user_id_project_id_access_level" to "project_authorizations_pkey"1836NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "analytics_repository_languages_unique_index" to "analytics_language_trend_repository_languages_pkey"1837NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_approval_project_rules_protected_branches_unique" to "approval_project_rules_protected_branches_pkey"1838NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_ci_build_trace_sections_on_build_id_and_section_name_id" to "ci_build_trace_sections_pkey"1839NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "idx_deployment_merge_requests_unique_index" to "deployment_merge_requests_pkey"1840NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_issue_assignees_on_issue_id_and_user_id" to "issue_assignees_pkey"1841NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "issue_id_prometheus_alert_event_id_index" to "issues_prometheus_alert_events_pkey"1842NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "issue_id_self_managed_prometheus_alert_event_id_index" to "issues_self_managed_prometheus_alert_events_pkey"1843NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_merge_request_diff_commits_on_mr_diff_id_and_order" to "merge_request_diff_commits_pkey"1844NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_merge_request_diff_files_on_mr_diff_id_and_order" to "merge_request_diff_files_pkey"1845NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_miletone_releases_on_milestone_and_release" to "milestone_releases_pkey"1846NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_project_pages_metadata_on_project_id" to "project_pages_metadata_pkey"1847NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_push_event_payloads_on_event_id" to "push_event_payloads_pkey"1848NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_repository_languages_on_project_and_languages_id" to "repository_languages_pkey"1849NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_user_interacted_projects_on_project_id_and_user_id" to "user_interacted_projects_pkey"1850NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "users_security_dashboard_projects_unique_index" to "users_security_dashboard_projects_pkey"1851NOTICE: trigger "trigger_1f0ae12498d3" for relation "application_settings" does not exist, skipping1852NOTICE: trigger "trigger_72b785aa2f14" for relation "application_settings" does not exist, skipping1853NOTICE: trigger "trigger_3d531acd472b" for relation "application_settings" does not exist, skipping1854NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_elasticsearch_indexed_projects_on_project_id" to "elasticsearch_indexed_projects_pkey"1855NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_elasticsearch_indexed_namespaces_on_namespace_id" to "elasticsearch_indexed_namespaces_pkey"1856NOTICE: trigger "trigger_448e14608510" for relation "pages_deployments" does not exist, skipping1857NOTICE: trigger "trigger_9a96291bb38d" for relation "application_settings" does not exist, skipping1858NOTICE: trigger "trigger_22a39c5c25f3" for relation "application_settings" does not exist, skipping1859NOTICE: trigger "trigger_1572cbc9a15f" for relation "application_settings" does not exist, skipping1860SchedulePopulateDismissedStateForVulnerabilities1861NOTICE: trigger "trigger_9a96291bb38d" for relation "application_settings" does not exist, skipping1862NOTICE: trigger "trigger_22a39c5c25f3" for relation "application_settings" does not exist, skipping1863NOTICE: trigger "trigger_1572cbc9a15f" for relation "application_settings" does not exist, skipping1864NOTICE: trigger "trigger_448e14608510" for relation "pages_deployments" does not exist, skipping1865== 20201130103926 SchedulePopulateDismissedStateForVulnerabilities: migrating =1866-- transaction_open?()1867 -> 0.0000s1868-- index_exists?(:vulnerabilities, :id, {:where=>"state <> 2", :name=>"tmp_index_on_vulnerabilities_non_dismissed", :algorithm=>:concurrently})1869 -> 0.0081s1870-- add_index(:vulnerabilities, :id, {:where=>"state <> 2", :name=>"tmp_index_on_vulnerabilities_non_dismissed", :algorithm=>:concurrently})1871 -> 0.0033s1872== 20201130103926 SchedulePopulateDismissedStateForVulnerabilities: migrated (0.0564s) 1873 correctly schedules background migrations invalid vulnerabilities only1874NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_elasticsearch_indexed_projects_on_project_id" to "elasticsearch_indexed_projects_pkey"1875NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_elasticsearch_indexed_namespaces_on_namespace_id" to "elasticsearch_indexed_namespaces_pkey"1876NOTICE: trigger "trigger_448e14608510" for relation "pages_deployments" does not exist, skipping1877NOTICE: trigger "trigger_9a96291bb38d" for relation "application_settings" does not exist, skipping1878NOTICE: trigger "trigger_22a39c5c25f3" for relation "application_settings" does not exist, skipping1879NOTICE: trigger "trigger_1572cbc9a15f" for relation "application_settings" does not exist, skipping1880MigrateEpicMentionsToDb1881NOTICE: trigger "trigger_9a96291bb38d" for relation "application_settings" does not exist, skipping1882NOTICE: trigger "trigger_22a39c5c25f3" for relation "application_settings" does not exist, skipping1883NOTICE: trigger "trigger_1572cbc9a15f" for relation "application_settings" does not exist, skipping1884NOTICE: trigger "trigger_448e14608510" for relation "pages_deployments" does not exist, skipping1885NOTICE: trigger "trigger_1f0ae12498d3" for relation "application_settings" does not exist, skipping1886NOTICE: trigger "trigger_72b785aa2f14" for relation "application_settings" does not exist, skipping1887NOTICE: trigger "trigger_3d531acd472b" for relation "application_settings" does not exist, skipping1888NOTICE: trigger "trigger_8fe85065a3f9" for relation "application_settings" does not exist, skipping1889NOTICE: trigger "trigger_d5eb03a59792" for relation "packages_pypi_metadata" does not exist, skipping1890NOTICE: constraint "check_fcfb4a93ff" of relation "epics" does not exist, skipping1891NOTICE: constraint "check_970d272570" of relation "merge_requests" does not exist, skipping1892NOTICE: constraint "check_fba63f706d" of relation "issues" does not exist, skipping1893NOTICE: constraint "check_81b431e49b" of relation "ci_stages" does not exist, skipping1894NOTICE: constraint "check_1e2fbd1b39" of relation "ci_builds" does not exist, skipping1895NOTICE: constraint "check_d7e99a025e" of relation "ci_pipelines" does not exist, skipping1896NOTICE: constraint "check_242f0cc65c" of relation "webauthn_registrations" does not exist, skipping1897NOTICE: trigger "trigger_f14363ffbcd3" for relation "sprints" does not exist, skipping1898NOTICE: trigger "trigger_9ab19b89128a" for relation "vulnerabilities" does not exist, skipping1899NOTICE: trigger "trigger_27c6ea5cb43e" for relation "vulnerabilities" does not exist, skipping1900NOTICE: trigger "trigger_5e971e2e2c26" for relation "pages_domains" does not exist, skipping1901NOTICE: trigger "trigger_e856257b2421" for relation "commit_user_mentions" does not exist, skipping1902NOTICE: trigger "trigger_5299882abc4c" for relation "software_license_policies" does not exist, skipping1903 behaves like schedules resource mentions migration1904== 20191115115043 MigrateEpicMentionsToDb: migrating ==========================1905== 20191115115043 MigrateEpicMentionsToDb: migrated (0.0520s) =================1906 schedules background migrations1907NOTICE: trigger "trigger_5299882abc4c" for relation "software_license_policies" does not exist, skipping1908NOTICE: trigger "trigger_e856257b2421" for relation "commit_user_mentions" does not exist, skipping1909NOTICE: trigger "trigger_5e971e2e2c26" for relation "pages_domains" does not exist, skipping1910NOTICE: table "deployment_clusters" does not exist, skipping1911NOTICE: trigger "trigger_27c6ea5cb43e" for relation "vulnerabilities" does not exist, skipping1912NOTICE: trigger "trigger_9ab19b89128a" for relation "vulnerabilities" does not exist, skipping1913NOTICE: constraint "lfs_objects_file_store_not_null" of relation "lfs_objects" does not exist, skipping1914NOTICE: constraint "ci_job_artifacts_file_store_not_null" of relation "ci_job_artifacts" does not exist, skipping1915NOTICE: constraint "uploads_store_not_null" of relation "uploads" does not exist, skipping1916NOTICE: trigger "trigger_f14363ffbcd3" for relation "sprints" does not exist, skipping1917NOTICE: schema "partitions_dynamic" does not exist, skipping1918NOTICE: table "untracked_files_for_uploads" does not exist, skipping1919NOTICE: trigger "trigger_d5eb03a59792" for relation "packages_pypi_metadata" does not exist, skipping1920NOTICE: trigger "trigger_8fe85065a3f9" for relation "application_settings" does not exist, skipping1921NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_project_authorizations_on_user_id_project_id_access_level" to "project_authorizations_pkey"1922NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "analytics_repository_languages_unique_index" to "analytics_language_trend_repository_languages_pkey"1923NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_approval_project_rules_protected_branches_unique" to "approval_project_rules_protected_branches_pkey"1924NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_ci_build_trace_sections_on_build_id_and_section_name_id" to "ci_build_trace_sections_pkey"1925NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "idx_deployment_merge_requests_unique_index" to "deployment_merge_requests_pkey"1926NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_issue_assignees_on_issue_id_and_user_id" to "issue_assignees_pkey"1927NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "issue_id_prometheus_alert_event_id_index" to "issues_prometheus_alert_events_pkey"1928NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "issue_id_self_managed_prometheus_alert_event_id_index" to "issues_self_managed_prometheus_alert_events_pkey"1929NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_merge_request_diff_commits_on_mr_diff_id_and_order" to "merge_request_diff_commits_pkey"1930NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_merge_request_diff_files_on_mr_diff_id_and_order" to "merge_request_diff_files_pkey"1931NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_miletone_releases_on_milestone_and_release" to "milestone_releases_pkey"1932NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_project_pages_metadata_on_project_id" to "project_pages_metadata_pkey"1933NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_push_event_payloads_on_event_id" to "push_event_payloads_pkey"1934NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_repository_languages_on_project_and_languages_id" to "repository_languages_pkey"1935NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_user_interacted_projects_on_project_id_and_user_id" to "user_interacted_projects_pkey"1936NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "users_security_dashboard_projects_unique_index" to "users_security_dashboard_projects_pkey"1937NOTICE: trigger "trigger_1f0ae12498d3" for relation "application_settings" does not exist, skipping1938NOTICE: trigger "trigger_72b785aa2f14" for relation "application_settings" does not exist, skipping1939NOTICE: trigger "trigger_3d531acd472b" for relation "application_settings" does not exist, skipping1940NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_elasticsearch_indexed_projects_on_project_id" to "elasticsearch_indexed_projects_pkey"1941NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_elasticsearch_indexed_namespaces_on_namespace_id" to "elasticsearch_indexed_namespaces_pkey"1942NOTICE: trigger "trigger_448e14608510" for relation "pages_deployments" does not exist, skipping1943NOTICE: trigger "trigger_9a96291bb38d" for relation "application_settings" does not exist, skipping1944NOTICE: trigger "trigger_22a39c5c25f3" for relation "application_settings" does not exist, skipping1945NOTICE: trigger "trigger_1572cbc9a15f" for relation "application_settings" does not exist, skipping1946ScheduleProjectAnyApprovalRuleMigration1947NOTICE: trigger "trigger_9a96291bb38d" for relation "application_settings" does not exist, skipping1948NOTICE: trigger "trigger_22a39c5c25f3" for relation "application_settings" does not exist, skipping1949NOTICE: trigger "trigger_1572cbc9a15f" for relation "application_settings" does not exist, skipping1950NOTICE: trigger "trigger_448e14608510" for relation "pages_deployments" does not exist, skipping1951NOTICE: trigger "trigger_1f0ae12498d3" for relation "application_settings" does not exist, skipping1952NOTICE: trigger "trigger_72b785aa2f14" for relation "application_settings" does not exist, skipping1953NOTICE: trigger "trigger_3d531acd472b" for relation "application_settings" does not exist, skipping1954NOTICE: trigger "trigger_8fe85065a3f9" for relation "application_settings" does not exist, skipping1955NOTICE: trigger "trigger_d5eb03a59792" for relation "packages_pypi_metadata" does not exist, skipping1956NOTICE: constraint "check_fcfb4a93ff" of relation "epics" does not exist, skipping1957NOTICE: constraint "check_970d272570" of relation "merge_requests" does not exist, skipping1958NOTICE: constraint "check_fba63f706d" of relation "issues" does not exist, skipping1959NOTICE: constraint "check_81b431e49b" of relation "ci_stages" does not exist, skipping1960NOTICE: constraint "check_1e2fbd1b39" of relation "ci_builds" does not exist, skipping1961NOTICE: constraint "check_d7e99a025e" of relation "ci_pipelines" does not exist, skipping1962NOTICE: constraint "check_242f0cc65c" of relation "webauthn_registrations" does not exist, skipping1963NOTICE: trigger "trigger_f14363ffbcd3" for relation "sprints" does not exist, skipping1964NOTICE: trigger "trigger_9ab19b89128a" for relation "vulnerabilities" does not exist, skipping1965NOTICE: trigger "trigger_27c6ea5cb43e" for relation "vulnerabilities" does not exist, skipping1966NOTICE: trigger "trigger_5e971e2e2c26" for relation "pages_domains" does not exist, skipping1967NOTICE: trigger "trigger_e856257b2421" for relation "commit_user_mentions" does not exist, skipping1968NOTICE: trigger "trigger_5299882abc4c" for relation "software_license_policies" does not exist, skipping1969NOTICE: trigger "trigger_4821f661bf92" for relation "application_settings" does not exist, skipping1970NOTICE: trigger "trigger_97893debd1d4" for relation "design_management_versions" does not exist, skipping1971== 20190905091812 ScheduleProjectAnyApprovalRuleMigration: migrating ==========1972-- transaction_open?()1973 -> 0.0001s1974-- index_exists?(:projects, :id, {:name=>"tmp_projects_with_approvals_before_merge", :where=>"approvals_before_merge <> 0", :algorithm=>:concurrently})1975 -> 0.0154s1976-- add_index(:projects, :id, {:name=>"tmp_projects_with_approvals_before_merge", :where=>"approvals_before_merge <> 0", :algorithm=>:concurrently})1977 -> 0.0045s1978-- Scheduling `PopulateAnyApprovalRuleForProjects` jobs1979-- Scheduled 2 PopulateAnyApprovalRuleForProjects jobs with a maximum of 2 records per batch and an interval of 480 seconds.1980The migration is expected to take at least 960 seconds. Expect all jobs to have completed after 2021-03-03 12:32:53 UTC."1981-- transaction_open?()1982 -> 0.0000s1983-- indexes(:projects)1984 -> 0.0157s1985-- remove_index(:projects, {:algorithm=>:concurrently, :name=>"tmp_projects_with_approvals_before_merge"})1986 -> 0.0017s1987== 20190905091812 ScheduleProjectAnyApprovalRuleMigration: migrated (0.1254s) =1988 correctly schedules background migrations1989 for FOSS version1990== 20190905091812 ScheduleProjectAnyApprovalRuleMigration: migrating ==========1991== 20190905091812 ScheduleProjectAnyApprovalRuleMigration: migrated (0.0002s) =1992 does not schedule any jobs1993NOTICE: trigger "trigger_97893debd1d4" for relation "design_management_versions" does not exist, skipping1994NOTICE: trigger "trigger_4821f661bf92" for relation "application_settings" does not exist, skipping1995DEPRECATION WARNING: Class level methods will no longer inherit scoping from `with_unique_issue_ids` in Rails 6.1. To continue using the scoped relation, pass it into the block directly. To instead access the full set of models, as Rails 6.1 will, use `BackfillVersionAuthorAndCreatedAt::Version.default_scoped`. (called from block in <class:Version> at /builds/gitlab-org/gitlab/db/post_migrate/20191030223057_backfill_version_author_and_created_at.rb:32)1996NOTICE: trigger "trigger_5299882abc4c" for relation "software_license_policies" does not exist, skipping1997NOTICE: trigger "trigger_e856257b2421" for relation "commit_user_mentions" does not exist, skipping1998NOTICE: trigger "trigger_5e971e2e2c26" for relation "pages_domains" does not exist, skipping1999NOTICE: table "deployment_clusters" does not exist, skipping2000NOTICE: trigger "trigger_27c6ea5cb43e" for relation "vulnerabilities" does not exist, skipping2001NOTICE: trigger "trigger_9ab19b89128a" for relation "vulnerabilities" does not exist, skipping2002NOTICE: constraint "lfs_objects_file_store_not_null" of relation "lfs_objects" does not exist, skipping2003NOTICE: constraint "ci_job_artifacts_file_store_not_null" of relation "ci_job_artifacts" does not exist, skipping2004NOTICE: constraint "uploads_store_not_null" of relation "uploads" does not exist, skipping2005NOTICE: trigger "trigger_f14363ffbcd3" for relation "sprints" does not exist, skipping2006NOTICE: schema "partitions_dynamic" does not exist, skipping2007NOTICE: table "untracked_files_for_uploads" does not exist, skipping2008NOTICE: trigger "trigger_d5eb03a59792" for relation "packages_pypi_metadata" does not exist, skipping2009NOTICE: trigger "trigger_8fe85065a3f9" for relation "application_settings" does not exist, skipping2010NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_project_authorizations_on_user_id_project_id_access_level" to "project_authorizations_pkey"2011NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "analytics_repository_languages_unique_index" to "analytics_language_trend_repository_languages_pkey"2012NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_approval_project_rules_protected_branches_unique" to "approval_project_rules_protected_branches_pkey"2013NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_ci_build_trace_sections_on_build_id_and_section_name_id" to "ci_build_trace_sections_pkey"2014NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "idx_deployment_merge_requests_unique_index" to "deployment_merge_requests_pkey"2015NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_issue_assignees_on_issue_id_and_user_id" to "issue_assignees_pkey"2016NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "issue_id_prometheus_alert_event_id_index" to "issues_prometheus_alert_events_pkey"2017NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "issue_id_self_managed_prometheus_alert_event_id_index" to "issues_self_managed_prometheus_alert_events_pkey"2018NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_merge_request_diff_commits_on_mr_diff_id_and_order" to "merge_request_diff_commits_pkey"2019NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_merge_request_diff_files_on_mr_diff_id_and_order" to "merge_request_diff_files_pkey"2020NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_miletone_releases_on_milestone_and_release" to "milestone_releases_pkey"2021NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_project_pages_metadata_on_project_id" to "project_pages_metadata_pkey"2022NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_push_event_payloads_on_event_id" to "push_event_payloads_pkey"2023NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_repository_languages_on_project_and_languages_id" to "repository_languages_pkey"2024NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_user_interacted_projects_on_project_id_and_user_id" to "user_interacted_projects_pkey"2025NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "users_security_dashboard_projects_unique_index" to "users_security_dashboard_projects_pkey"2026NOTICE: trigger "trigger_1f0ae12498d3" for relation "application_settings" does not exist, skipping2027NOTICE: trigger "trigger_72b785aa2f14" for relation "application_settings" does not exist, skipping2028NOTICE: trigger "trigger_3d531acd472b" for relation "application_settings" does not exist, skipping2029NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_elasticsearch_indexed_projects_on_project_id" to "elasticsearch_indexed_projects_pkey"2030NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_elasticsearch_indexed_namespaces_on_namespace_id" to "elasticsearch_indexed_namespaces_pkey"2031NOTICE: trigger "trigger_448e14608510" for relation "pages_deployments" does not exist, skipping2032NOTICE: trigger "trigger_9a96291bb38d" for relation "application_settings" does not exist, skipping2033NOTICE: trigger "trigger_22a39c5c25f3" for relation "application_settings" does not exist, skipping2034NOTICE: trigger "trigger_1572cbc9a15f" for relation "application_settings" does not exist, skipping2035MigrateEpicNotesMentionsToDb2036NOTICE: trigger "trigger_9a96291bb38d" for relation "application_settings" does not exist, skipping2037NOTICE: trigger "trigger_22a39c5c25f3" for relation "application_settings" does not exist, skipping2038NOTICE: trigger "trigger_1572cbc9a15f" for relation "application_settings" does not exist, skipping2039NOTICE: trigger "trigger_448e14608510" for relation "pages_deployments" does not exist, skipping2040NOTICE: trigger "trigger_1f0ae12498d3" for relation "application_settings" does not exist, skipping2041NOTICE: trigger "trigger_72b785aa2f14" for relation "application_settings" does not exist, skipping2042NOTICE: trigger "trigger_3d531acd472b" for relation "application_settings" does not exist, skipping2043NOTICE: trigger "trigger_8fe85065a3f9" for relation "application_settings" does not exist, skipping2044NOTICE: trigger "trigger_d5eb03a59792" for relation "packages_pypi_metadata" does not exist, skipping2045NOTICE: constraint "check_fcfb4a93ff" of relation "epics" does not exist, skipping2046NOTICE: constraint "check_970d272570" of relation "merge_requests" does not exist, skipping2047NOTICE: constraint "check_fba63f706d" of relation "issues" does not exist, skipping2048NOTICE: constraint "check_81b431e49b" of relation "ci_stages" does not exist, skipping2049NOTICE: constraint "check_1e2fbd1b39" of relation "ci_builds" does not exist, skipping2050NOTICE: constraint "check_d7e99a025e" of relation "ci_pipelines" does not exist, skipping2051NOTICE: constraint "check_242f0cc65c" of relation "webauthn_registrations" does not exist, skipping2052NOTICE: trigger "trigger_f14363ffbcd3" for relation "sprints" does not exist, skipping2053NOTICE: trigger "trigger_9ab19b89128a" for relation "vulnerabilities" does not exist, skipping2054NOTICE: trigger "trigger_27c6ea5cb43e" for relation "vulnerabilities" does not exist, skipping2055NOTICE: trigger "trigger_5e971e2e2c26" for relation "pages_domains" does not exist, skipping2056NOTICE: trigger "trigger_e856257b2421" for relation "commit_user_mentions" does not exist, skipping2057NOTICE: trigger "trigger_5299882abc4c" for relation "software_license_policies" does not exist, skipping2058 behaves like schedules resource mentions migration2059== 20191115115522 MigrateEpicNotesMentionsToDb: migrating =====================2060-- transaction_open?()2061 -> 0.0000s2062-- index_exists?(:notes, :id, {:where=>"note LIKE '%@%'::text AND notes.noteable_type = 'Epic'", :name=>"epic_mentions_temp_index", :algorithm=>:concurrently})2063 -> 0.0093s2064== 20191115115522 MigrateEpicNotesMentionsToDb: migrated (0.0536s) ============2065 schedules background migrations2066NOTICE: trigger "trigger_5299882abc4c" for relation "software_license_policies" does not exist, skipping2067NOTICE: trigger "trigger_e856257b2421" for relation "commit_user_mentions" does not exist, skipping2068NOTICE: trigger "trigger_5e971e2e2c26" for relation "pages_domains" does not exist, skipping2069NOTICE: table "deployment_clusters" does not exist, skipping2070NOTICE: trigger "trigger_27c6ea5cb43e" for relation "vulnerabilities" does not exist, skipping2071NOTICE: trigger "trigger_9ab19b89128a" for relation "vulnerabilities" does not exist, skipping2072NOTICE: constraint "lfs_objects_file_store_not_null" of relation "lfs_objects" does not exist, skipping2073NOTICE: constraint "ci_job_artifacts_file_store_not_null" of relation "ci_job_artifacts" does not exist, skipping2074NOTICE: constraint "uploads_store_not_null" of relation "uploads" does not exist, skipping2075NOTICE: trigger "trigger_f14363ffbcd3" for relation "sprints" does not exist, skipping2076NOTICE: schema "partitions_dynamic" does not exist, skipping2077NOTICE: table "untracked_files_for_uploads" does not exist, skipping2078NOTICE: trigger "trigger_d5eb03a59792" for relation "packages_pypi_metadata" does not exist, skipping2079NOTICE: trigger "trigger_8fe85065a3f9" for relation "application_settings" does not exist, skipping2080NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_project_authorizations_on_user_id_project_id_access_level" to "project_authorizations_pkey"2081NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "analytics_repository_languages_unique_index" to "analytics_language_trend_repository_languages_pkey"2082NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_approval_project_rules_protected_branches_unique" to "approval_project_rules_protected_branches_pkey"2083NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_ci_build_trace_sections_on_build_id_and_section_name_id" to "ci_build_trace_sections_pkey"2084NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "idx_deployment_merge_requests_unique_index" to "deployment_merge_requests_pkey"2085NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_issue_assignees_on_issue_id_and_user_id" to "issue_assignees_pkey"2086NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "issue_id_prometheus_alert_event_id_index" to "issues_prometheus_alert_events_pkey"2087NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "issue_id_self_managed_prometheus_alert_event_id_index" to "issues_self_managed_prometheus_alert_events_pkey"2088NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_merge_request_diff_commits_on_mr_diff_id_and_order" to "merge_request_diff_commits_pkey"2089NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_merge_request_diff_files_on_mr_diff_id_and_order" to "merge_request_diff_files_pkey"2090NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_miletone_releases_on_milestone_and_release" to "milestone_releases_pkey"2091NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_project_pages_metadata_on_project_id" to "project_pages_metadata_pkey"2092NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_push_event_payloads_on_event_id" to "push_event_payloads_pkey"2093NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_repository_languages_on_project_and_languages_id" to "repository_languages_pkey"2094NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_user_interacted_projects_on_project_id_and_user_id" to "user_interacted_projects_pkey"2095NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "users_security_dashboard_projects_unique_index" to "users_security_dashboard_projects_pkey"2096NOTICE: trigger "trigger_1f0ae12498d3" for relation "application_settings" does not exist, skipping2097NOTICE: trigger "trigger_72b785aa2f14" for relation "application_settings" does not exist, skipping2098NOTICE: trigger "trigger_3d531acd472b" for relation "application_settings" does not exist, skipping2099NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_elasticsearch_indexed_projects_on_project_id" to "elasticsearch_indexed_projects_pkey"2100NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_elasticsearch_indexed_namespaces_on_namespace_id" to "elasticsearch_indexed_namespaces_pkey"2101NOTICE: trigger "trigger_448e14608510" for relation "pages_deployments" does not exist, skipping2102NOTICE: trigger "trigger_9a96291bb38d" for relation "application_settings" does not exist, skipping2103NOTICE: trigger "trigger_22a39c5c25f3" for relation "application_settings" does not exist, skipping2104NOTICE: trigger "trigger_1572cbc9a15f" for relation "application_settings" does not exist, skipping2105The application_settings table has 1209 columns.2106Recreating the database2107Dropped database 'gitlabhq_test'2108Created database 'gitlabhq_test'2109Database re-creation done in 4.7861275970008142110Gitlab::BackgroundMigration::UpdateLocationFingerprintForContainerScanningFindings2111NOTICE: trigger "trigger_9a96291bb38d" for relation "application_settings" does not exist, skipping2112NOTICE: trigger "trigger_22a39c5c25f3" for relation "application_settings" does not exist, skipping2113NOTICE: trigger "trigger_1572cbc9a15f" for relation "application_settings" does not exist, skipping2114NOTICE: trigger "trigger_448e14608510" for relation "pages_deployments" does not exist, skipping2115NOTICE: trigger "trigger_1f0ae12498d3" for relation "application_settings" does not exist, skipping2116NOTICE: trigger "trigger_72b785aa2f14" for relation "application_settings" does not exist, skipping2117NOTICE: trigger "trigger_3d531acd472b" for relation "application_settings" does not exist, skipping2118NOTICE: trigger "trigger_8fe85065a3f9" for relation "application_settings" does not exist, skipping2119NOTICE: trigger "trigger_d5eb03a59792" for relation "packages_pypi_metadata" does not exist, skipping2120 updates location fingerprint2121 updates the rest when there is a collision2122NOTICE: trigger "trigger_8fe85065a3f9" for relation "application_settings" does not exist, skipping2123NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_project_authorizations_on_user_id_project_id_access_level" to "project_authorizations_pkey"2124NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "analytics_repository_languages_unique_index" to "analytics_language_trend_repository_languages_pkey"2125NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_approval_project_rules_protected_branches_unique" to "approval_project_rules_protected_branches_pkey"2126NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_ci_build_trace_sections_on_build_id_and_section_name_id" to "ci_build_trace_sections_pkey"2127NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "idx_deployment_merge_requests_unique_index" to "deployment_merge_requests_pkey"2128NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_issue_assignees_on_issue_id_and_user_id" to "issue_assignees_pkey"2129NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "issue_id_prometheus_alert_event_id_index" to "issues_prometheus_alert_events_pkey"2130NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "issue_id_self_managed_prometheus_alert_event_id_index" to "issues_self_managed_prometheus_alert_events_pkey"2131NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_merge_request_diff_commits_on_mr_diff_id_and_order" to "merge_request_diff_commits_pkey"2132NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_merge_request_diff_files_on_mr_diff_id_and_order" to "merge_request_diff_files_pkey"2133NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_miletone_releases_on_milestone_and_release" to "milestone_releases_pkey"2134NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_project_pages_metadata_on_project_id" to "project_pages_metadata_pkey"2135NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_push_event_payloads_on_event_id" to "push_event_payloads_pkey"2136NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_repository_languages_on_project_and_languages_id" to "repository_languages_pkey"2137NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_user_interacted_projects_on_project_id_and_user_id" to "user_interacted_projects_pkey"2138NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "users_security_dashboard_projects_unique_index" to "users_security_dashboard_projects_pkey"2139NOTICE: trigger "trigger_1f0ae12498d3" for relation "application_settings" does not exist, skipping2140NOTICE: trigger "trigger_72b785aa2f14" for relation "application_settings" does not exist, skipping2141NOTICE: trigger "trigger_3d531acd472b" for relation "application_settings" does not exist, skipping2142NOTICE: constraint "check_242f0cc65c" of relation "webauthn_registrations" does not exist, skipping2143NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_elasticsearch_indexed_projects_on_project_id" to "elasticsearch_indexed_projects_pkey"2144NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_elasticsearch_indexed_namespaces_on_namespace_id" to "elasticsearch_indexed_namespaces_pkey"2145NOTICE: trigger "trigger_448e14608510" for relation "pages_deployments" does not exist, skipping2146NOTICE: trigger "trigger_9a96291bb38d" for relation "application_settings" does not exist, skipping2147NOTICE: trigger "trigger_22a39c5c25f3" for relation "application_settings" does not exist, skipping2148NOTICE: trigger "trigger_1572cbc9a15f" for relation "application_settings" does not exist, skipping2149ScheduleUuidPopulationForSecurityFindings22150== 20210111075206 ScheduleUuidPopulationForSecurityFindings2: migrating =======2151== 20210111075206 ScheduleUuidPopulationForSecurityFindings2: migrated (0.0212s) 2152 schedules the background jobs2153Gitlab::BackgroundMigration::RemoveDuplicateCsFindings2154NOTICE: trigger "trigger_9a96291bb38d" for relation "application_settings" does not exist, skipping2155NOTICE: trigger "trigger_22a39c5c25f3" for relation "application_settings" does not exist, skipping2156NOTICE: trigger "trigger_1572cbc9a15f" for relation "application_settings" does not exist, skipping2157NOTICE: trigger "trigger_448e14608510" for relation "pages_deployments" does not exist, skipping2158NOTICE: trigger "trigger_1f0ae12498d3" for relation "application_settings" does not exist, skipping2159NOTICE: trigger "trigger_72b785aa2f14" for relation "application_settings" does not exist, skipping2160NOTICE: trigger "trigger_3d531acd472b" for relation "application_settings" does not exist, skipping2161NOTICE: trigger "trigger_8fe85065a3f9" for relation "application_settings" does not exist, skipping2162 removes duplicate findings and vulnerabilities2163NOTICE: trigger "trigger_8fe85065a3f9" for relation "application_settings" does not exist, skipping2164NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_project_authorizations_on_user_id_project_id_access_level" to "project_authorizations_pkey"2165NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "analytics_repository_languages_unique_index" to "analytics_language_trend_repository_languages_pkey"2166NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_approval_project_rules_protected_branches_unique" to "approval_project_rules_protected_branches_pkey"2167NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_ci_build_trace_sections_on_build_id_and_section_name_id" to "ci_build_trace_sections_pkey"2168NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "idx_deployment_merge_requests_unique_index" to "deployment_merge_requests_pkey"2169NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_issue_assignees_on_issue_id_and_user_id" to "issue_assignees_pkey"2170NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "issue_id_prometheus_alert_event_id_index" to "issues_prometheus_alert_events_pkey"2171NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "issue_id_self_managed_prometheus_alert_event_id_index" to "issues_self_managed_prometheus_alert_events_pkey"2172NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_merge_request_diff_commits_on_mr_diff_id_and_order" to "merge_request_diff_commits_pkey"2173NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_merge_request_diff_files_on_mr_diff_id_and_order" to "merge_request_diff_files_pkey"2174NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_miletone_releases_on_milestone_and_release" to "milestone_releases_pkey"2175NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_project_pages_metadata_on_project_id" to "project_pages_metadata_pkey"2176NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_push_event_payloads_on_event_id" to "push_event_payloads_pkey"2177NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_repository_languages_on_project_and_languages_id" to "repository_languages_pkey"2178NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_user_interacted_projects_on_project_id_and_user_id" to "user_interacted_projects_pkey"2179NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "users_security_dashboard_projects_unique_index" to "users_security_dashboard_projects_pkey"2180NOTICE: trigger "trigger_1f0ae12498d3" for relation "application_settings" does not exist, skipping2181NOTICE: trigger "trigger_72b785aa2f14" for relation "application_settings" does not exist, skipping2182NOTICE: trigger "trigger_3d531acd472b" for relation "application_settings" does not exist, skipping2183NOTICE: constraint "check_242f0cc65c" of relation "webauthn_registrations" does not exist, skipping2184NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_elasticsearch_indexed_projects_on_project_id" to "elasticsearch_indexed_projects_pkey"2185NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_elasticsearch_indexed_namespaces_on_namespace_id" to "elasticsearch_indexed_namespaces_pkey"2186NOTICE: trigger "trigger_448e14608510" for relation "pages_deployments" does not exist, skipping2187NOTICE: trigger "trigger_9a96291bb38d" for relation "application_settings" does not exist, skipping2188NOTICE: trigger "trigger_22a39c5c25f3" for relation "application_settings" does not exist, skipping2189NOTICE: trigger "trigger_1572cbc9a15f" for relation "application_settings" does not exist, skipping2190Gitlab::BackgroundMigration::RemoveUndefinedVulnerabilityConfidenceLevel2191NOTICE: trigger "trigger_9a96291bb38d" for relation "application_settings" does not exist, skipping2192NOTICE: trigger "trigger_22a39c5c25f3" for relation "application_settings" does not exist, skipping2193NOTICE: trigger "trigger_1572cbc9a15f" for relation "application_settings" does not exist, skipping2194NOTICE: trigger "trigger_448e14608510" for relation "pages_deployments" does not exist, skipping2195NOTICE: trigger "trigger_1f0ae12498d3" for relation "application_settings" does not exist, skipping2196NOTICE: trigger "trigger_72b785aa2f14" for relation "application_settings" does not exist, skipping2197NOTICE: trigger "trigger_3d531acd472b" for relation "application_settings" does not exist, skipping2198NOTICE: trigger "trigger_8fe85065a3f9" for relation "application_settings" does not exist, skipping2199NOTICE: trigger "trigger_d5eb03a59792" for relation "packages_pypi_metadata" does not exist, skipping2200 updates undefined confidence level to unknown2201NOTICE: constraint "check_5ebd0515a0" of relation "ci_instance_variables" does not exist, skipping2202NOTICE: schema "partitions_dynamic" does not exist, skipping2203NOTICE: table "untracked_files_for_uploads" does not exist, skipping2204NOTICE: trigger "trigger_d5eb03a59792" for relation "packages_pypi_metadata" does not exist, skipping2205NOTICE: trigger "trigger_8fe85065a3f9" for relation "application_settings" does not exist, skipping2206NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_project_authorizations_on_user_id_project_id_access_level" to "project_authorizations_pkey"2207NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "analytics_repository_languages_unique_index" to "analytics_language_trend_repository_languages_pkey"2208NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_approval_project_rules_protected_branches_unique" to "approval_project_rules_protected_branches_pkey"2209NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_ci_build_trace_sections_on_build_id_and_section_name_id" to "ci_build_trace_sections_pkey"2210NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "idx_deployment_merge_requests_unique_index" to "deployment_merge_requests_pkey"2211NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_issue_assignees_on_issue_id_and_user_id" to "issue_assignees_pkey"2212NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "issue_id_prometheus_alert_event_id_index" to "issues_prometheus_alert_events_pkey"2213NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "issue_id_self_managed_prometheus_alert_event_id_index" to "issues_self_managed_prometheus_alert_events_pkey"2214NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_merge_request_diff_commits_on_mr_diff_id_and_order" to "merge_request_diff_commits_pkey"2215NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_merge_request_diff_files_on_mr_diff_id_and_order" to "merge_request_diff_files_pkey"2216NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_miletone_releases_on_milestone_and_release" to "milestone_releases_pkey"2217NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_project_pages_metadata_on_project_id" to "project_pages_metadata_pkey"2218NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_push_event_payloads_on_event_id" to "push_event_payloads_pkey"2219NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_repository_languages_on_project_and_languages_id" to "repository_languages_pkey"2220NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_user_interacted_projects_on_project_id_and_user_id" to "user_interacted_projects_pkey"2221NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "users_security_dashboard_projects_unique_index" to "users_security_dashboard_projects_pkey"2222NOTICE: trigger "trigger_1f0ae12498d3" for relation "application_settings" does not exist, skipping2223NOTICE: trigger "trigger_72b785aa2f14" for relation "application_settings" does not exist, skipping2224NOTICE: trigger "trigger_3d531acd472b" for relation "application_settings" does not exist, skipping2225NOTICE: constraint "check_242f0cc65c" of relation "webauthn_registrations" does not exist, skipping2226NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_elasticsearch_indexed_projects_on_project_id" to "elasticsearch_indexed_projects_pkey"2227NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_elasticsearch_indexed_namespaces_on_namespace_id" to "elasticsearch_indexed_namespaces_pkey"2228NOTICE: trigger "trigger_448e14608510" for relation "pages_deployments" does not exist, skipping2229NOTICE: trigger "trigger_9a96291bb38d" for relation "application_settings" does not exist, skipping2230NOTICE: trigger "trigger_22a39c5c25f3" for relation "application_settings" does not exist, skipping2231NOTICE: trigger "trigger_1572cbc9a15f" for relation "application_settings" does not exist, skipping2232MigrateDesignNotesMentionsToDb2233NOTICE: trigger "trigger_9a96291bb38d" for relation "application_settings" does not exist, skipping2234NOTICE: trigger "trigger_22a39c5c25f3" for relation "application_settings" does not exist, skipping2235NOTICE: trigger "trigger_1572cbc9a15f" for relation "application_settings" does not exist, skipping2236NOTICE: trigger "trigger_448e14608510" for relation "pages_deployments" does not exist, skipping2237NOTICE: trigger "trigger_1f0ae12498d3" for relation "application_settings" does not exist, skipping2238NOTICE: trigger "trigger_72b785aa2f14" for relation "application_settings" does not exist, skipping2239NOTICE: trigger "trigger_3d531acd472b" for relation "application_settings" does not exist, skipping2240NOTICE: trigger "trigger_8fe85065a3f9" for relation "application_settings" does not exist, skipping2241NOTICE: trigger "trigger_d5eb03a59792" for relation "packages_pypi_metadata" does not exist, skipping2242NOTICE: constraint "check_fcfb4a93ff" of relation "epics" does not exist, skipping2243NOTICE: constraint "check_970d272570" of relation "merge_requests" does not exist, skipping2244NOTICE: constraint "check_fba63f706d" of relation "issues" does not exist, skipping2245NOTICE: constraint "check_81b431e49b" of relation "ci_stages" does not exist, skipping2246NOTICE: constraint "check_1e2fbd1b39" of relation "ci_builds" does not exist, skipping2247NOTICE: constraint "check_d7e99a025e" of relation "ci_pipelines" does not exist, skipping2248NOTICE: constraint "check_242f0cc65c" of relation "webauthn_registrations" does not exist, skipping2249NOTICE: trigger "trigger_f14363ffbcd3" for relation "sprints" does not exist, skipping2250NOTICE: trigger "trigger_9ab19b89128a" for relation "vulnerabilities" does not exist, skipping2251NOTICE: trigger "trigger_27c6ea5cb43e" for relation "vulnerabilities" does not exist, skipping2252NOTICE: trigger "trigger_5e971e2e2c26" for relation "pages_domains" does not exist, skipping2253 behaves like schedules resource mentions migration2254== 20200124110831 MigrateDesignNotesMentionsToDb: migrating ===================2255-- transaction_open?()2256 -> 0.0000s2257-- index_exists?(:notes, :id, {:where=>"note LIKE '%@%'::text AND notes.noteable_type = 'DesignManagement::Design'", :name=>"design_mentions_temp_index", :algorithm=>:concurrently})2258 -> 0.0092s2259== 20200124110831 MigrateDesignNotesMentionsToDb: migrated (0.0576s) ==========2260 schedules background migrations2261NOTICE: trigger "trigger_5e971e2e2c26" for relation "pages_domains" does not exist, skipping2262NOTICE: table "deployment_clusters" does not exist, skipping2263NOTICE: trigger "trigger_27c6ea5cb43e" for relation "vulnerabilities" does not exist, skipping2264NOTICE: trigger "trigger_9ab19b89128a" for relation "vulnerabilities" does not exist, skipping2265NOTICE: constraint "lfs_objects_file_store_not_null" of relation "lfs_objects" does not exist, skipping2266NOTICE: constraint "ci_job_artifacts_file_store_not_null" of relation "ci_job_artifacts" does not exist, skipping2267NOTICE: constraint "uploads_store_not_null" of relation "uploads" does not exist, skipping2268NOTICE: trigger "trigger_f14363ffbcd3" for relation "sprints" does not exist, skipping2269NOTICE: schema "partitions_dynamic" does not exist, skipping2270NOTICE: table "untracked_files_for_uploads" does not exist, skipping2271NOTICE: trigger "trigger_d5eb03a59792" for relation "packages_pypi_metadata" does not exist, skipping2272NOTICE: trigger "trigger_8fe85065a3f9" for relation "application_settings" does not exist, skipping2273NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_project_authorizations_on_user_id_project_id_access_level" to "project_authorizations_pkey"2274NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "analytics_repository_languages_unique_index" to "analytics_language_trend_repository_languages_pkey"2275NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_approval_project_rules_protected_branches_unique" to "approval_project_rules_protected_branches_pkey"2276NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_ci_build_trace_sections_on_build_id_and_section_name_id" to "ci_build_trace_sections_pkey"2277NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "idx_deployment_merge_requests_unique_index" to "deployment_merge_requests_pkey"2278NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_issue_assignees_on_issue_id_and_user_id" to "issue_assignees_pkey"2279NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "issue_id_prometheus_alert_event_id_index" to "issues_prometheus_alert_events_pkey"2280NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "issue_id_self_managed_prometheus_alert_event_id_index" to "issues_self_managed_prometheus_alert_events_pkey"2281NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_merge_request_diff_commits_on_mr_diff_id_and_order" to "merge_request_diff_commits_pkey"2282NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_merge_request_diff_files_on_mr_diff_id_and_order" to "merge_request_diff_files_pkey"2283NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_miletone_releases_on_milestone_and_release" to "milestone_releases_pkey"2284NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_project_pages_metadata_on_project_id" to "project_pages_metadata_pkey"2285NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_push_event_payloads_on_event_id" to "push_event_payloads_pkey"2286NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_repository_languages_on_project_and_languages_id" to "repository_languages_pkey"2287NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_user_interacted_projects_on_project_id_and_user_id" to "user_interacted_projects_pkey"2288NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "users_security_dashboard_projects_unique_index" to "users_security_dashboard_projects_pkey"2289NOTICE: trigger "trigger_1f0ae12498d3" for relation "application_settings" does not exist, skipping2290NOTICE: trigger "trigger_72b785aa2f14" for relation "application_settings" does not exist, skipping2291NOTICE: trigger "trigger_3d531acd472b" for relation "application_settings" does not exist, skipping2292NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_elasticsearch_indexed_projects_on_project_id" to "elasticsearch_indexed_projects_pkey"2293NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_elasticsearch_indexed_namespaces_on_namespace_id" to "elasticsearch_indexed_namespaces_pkey"2294NOTICE: trigger "trigger_448e14608510" for relation "pages_deployments" does not exist, skipping2295NOTICE: trigger "trigger_9a96291bb38d" for relation "application_settings" does not exist, skipping2296NOTICE: trigger "trigger_22a39c5c25f3" for relation "application_settings" does not exist, skipping2297NOTICE: trigger "trigger_1572cbc9a15f" for relation "application_settings" does not exist, skipping2298NullifyFeatureFlagPlaintextTokens2299NOTICE: trigger "trigger_9a96291bb38d" for relation "application_settings" does not exist, skipping2300NOTICE: trigger "trigger_22a39c5c25f3" for relation "application_settings" does not exist, skipping2301NOTICE: trigger "trigger_1572cbc9a15f" for relation "application_settings" does not exist, skipping2302NOTICE: trigger "trigger_448e14608510" for relation "pages_deployments" does not exist, skipping2303NOTICE: trigger "trigger_1f0ae12498d3" for relation "application_settings" does not exist, skipping2304NOTICE: trigger "trigger_72b785aa2f14" for relation "application_settings" does not exist, skipping2305NOTICE: trigger "trigger_3d531acd472b" for relation "application_settings" does not exist, skipping2306NOTICE: trigger "trigger_8fe85065a3f9" for relation "application_settings" does not exist, skipping2307NOTICE: trigger "trigger_d5eb03a59792" for relation "packages_pypi_metadata" does not exist, skipping2308NOTICE: constraint "check_fcfb4a93ff" of relation "epics" does not exist, skipping2309NOTICE: constraint "check_970d272570" of relation "merge_requests" does not exist, skipping2310NOTICE: constraint "check_fba63f706d" of relation "issues" does not exist, skipping2311NOTICE: constraint "check_81b431e49b" of relation "ci_stages" does not exist, skipping2312NOTICE: constraint "check_1e2fbd1b39" of relation "ci_builds" does not exist, skipping2313NOTICE: constraint "check_d7e99a025e" of relation "ci_pipelines" does not exist, skipping2314NOTICE: constraint "check_242f0cc65c" of relation "webauthn_registrations" does not exist, skipping2315NOTICE: trigger "trigger_f14363ffbcd3" for relation "sprints" does not exist, skipping2316NOTICE: trigger "trigger_9ab19b89128a" for relation "vulnerabilities" does not exist, skipping2317NOTICE: trigger "trigger_27c6ea5cb43e" for relation "vulnerabilities" does not exist, skipping2318NOTICE: trigger "trigger_5e971e2e2c26" for relation "pages_domains" does not exist, skipping2319NOTICE: trigger "trigger_e856257b2421" for relation "commit_user_mentions" does not exist, skipping2320NOTICE: trigger "trigger_5299882abc4c" for relation "software_license_policies" does not exist, skipping2321NOTICE: trigger "trigger_4821f661bf92" for relation "application_settings" does not exist, skipping2322== 20191022113635 NullifyFeatureFlagPlaintextTokens: migrating ================2323== 20191022113635 NullifyFeatureFlagPlaintextTokens: migrated (0.0109s) =======2324 correctly migrates up and down2325NOTICE: trigger "trigger_4821f661bf92" for relation "application_settings" does not exist, skipping2326DEPRECATION WARNING: Class level methods will no longer inherit scoping from `with_unique_issue_ids` in Rails 6.1. To continue using the scoped relation, pass it into the block directly. To instead access the full set of models, as Rails 6.1 will, use `BackfillVersionAuthorAndCreatedAt::Version.default_scoped`. (called from block in <class:Version> at /builds/gitlab-org/gitlab/db/post_migrate/20191030223057_backfill_version_author_and_created_at.rb:32)2327NOTICE: trigger "trigger_5299882abc4c" for relation "software_license_policies" does not exist, skipping2328NOTICE: trigger "trigger_e856257b2421" for relation "commit_user_mentions" does not exist, skipping2329NOTICE: trigger "trigger_5e971e2e2c26" for relation "pages_domains" does not exist, skipping2330NOTICE: table "deployment_clusters" does not exist, skipping2331NOTICE: trigger "trigger_27c6ea5cb43e" for relation "vulnerabilities" does not exist, skipping2332NOTICE: trigger "trigger_9ab19b89128a" for relation "vulnerabilities" does not exist, skipping2333NOTICE: constraint "lfs_objects_file_store_not_null" of relation "lfs_objects" does not exist, skipping2334NOTICE: constraint "ci_job_artifacts_file_store_not_null" of relation "ci_job_artifacts" does not exist, skipping2335NOTICE: constraint "uploads_store_not_null" of relation "uploads" does not exist, skipping2336NOTICE: trigger "trigger_f14363ffbcd3" for relation "sprints" does not exist, skipping2337NOTICE: schema "partitions_dynamic" does not exist, skipping2338NOTICE: table "untracked_files_for_uploads" does not exist, skipping2339NOTICE: trigger "trigger_d5eb03a59792" for relation "packages_pypi_metadata" does not exist, skipping2340NOTICE: trigger "trigger_8fe85065a3f9" for relation "application_settings" does not exist, skipping2341NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_project_authorizations_on_user_id_project_id_access_level" to "project_authorizations_pkey"2342NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "analytics_repository_languages_unique_index" to "analytics_language_trend_repository_languages_pkey"2343NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_approval_project_rules_protected_branches_unique" to "approval_project_rules_protected_branches_pkey"2344NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_ci_build_trace_sections_on_build_id_and_section_name_id" to "ci_build_trace_sections_pkey"2345NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "idx_deployment_merge_requests_unique_index" to "deployment_merge_requests_pkey"2346NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_issue_assignees_on_issue_id_and_user_id" to "issue_assignees_pkey"2347NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "issue_id_prometheus_alert_event_id_index" to "issues_prometheus_alert_events_pkey"2348NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "issue_id_self_managed_prometheus_alert_event_id_index" to "issues_self_managed_prometheus_alert_events_pkey"2349NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_merge_request_diff_commits_on_mr_diff_id_and_order" to "merge_request_diff_commits_pkey"2350NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_merge_request_diff_files_on_mr_diff_id_and_order" to "merge_request_diff_files_pkey"2351NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_miletone_releases_on_milestone_and_release" to "milestone_releases_pkey"2352NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_project_pages_metadata_on_project_id" to "project_pages_metadata_pkey"2353NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_push_event_payloads_on_event_id" to "push_event_payloads_pkey"2354NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_repository_languages_on_project_and_languages_id" to "repository_languages_pkey"2355NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_user_interacted_projects_on_project_id_and_user_id" to "user_interacted_projects_pkey"2356NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "users_security_dashboard_projects_unique_index" to "users_security_dashboard_projects_pkey"2357NOTICE: trigger "trigger_1f0ae12498d3" for relation "application_settings" does not exist, skipping2358NOTICE: trigger "trigger_72b785aa2f14" for relation "application_settings" does not exist, skipping2359NOTICE: trigger "trigger_3d531acd472b" for relation "application_settings" does not exist, skipping2360NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_elasticsearch_indexed_projects_on_project_id" to "elasticsearch_indexed_projects_pkey"2361NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_elasticsearch_indexed_namespaces_on_namespace_id" to "elasticsearch_indexed_namespaces_pkey"2362NOTICE: trigger "trigger_448e14608510" for relation "pages_deployments" does not exist, skipping2363NOTICE: trigger "trigger_9a96291bb38d" for relation "application_settings" does not exist, skipping2364NOTICE: trigger "trigger_22a39c5c25f3" for relation "application_settings" does not exist, skipping2365NOTICE: trigger "trigger_1572cbc9a15f" for relation "application_settings" does not exist, skipping2366ScheduleRemoveInaccessibleEpicTodos2367NOTICE: trigger "trigger_9a96291bb38d" for relation "application_settings" does not exist, skipping2368NOTICE: trigger "trigger_22a39c5c25f3" for relation "application_settings" does not exist, skipping2369NOTICE: trigger "trigger_1572cbc9a15f" for relation "application_settings" does not exist, skipping2370NOTICE: trigger "trigger_448e14608510" for relation "pages_deployments" does not exist, skipping2371== 20201109114603 ScheduleRemoveInaccessibleEpicTodos: migrating ==============2372-- Scheduled 2 RemoveInaccessibleEpicTodos jobs with a maximum of 1 records per batch and an interval of 120 seconds.2373The migration is expected to take at least 240 seconds. Expect all jobs to have completed after 2021-03-03 12:24:37 UTC."2374== 20201109114603 ScheduleRemoveInaccessibleEpicTodos: migrated (0.0476s) =====2375 schedules jobs for confidental epic todos2376NOTICE: constraint "check_242f0cc65c" of relation "webauthn_registrations" does not exist, skipping2377NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_elasticsearch_indexed_projects_on_project_id" to "elasticsearch_indexed_projects_pkey"2378NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_elasticsearch_indexed_namespaces_on_namespace_id" to "elasticsearch_indexed_namespaces_pkey"2379NOTICE: trigger "trigger_448e14608510" for relation "pages_deployments" does not exist, skipping2380NOTICE: trigger "trigger_9a96291bb38d" for relation "application_settings" does not exist, skipping2381NOTICE: trigger "trigger_22a39c5c25f3" for relation "application_settings" does not exist, skipping2382NOTICE: trigger "trigger_1572cbc9a15f" for relation "application_settings" does not exist, skipping2383FixAnyApproverRuleForProjects2384NOTICE: trigger "trigger_9a96291bb38d" for relation "application_settings" does not exist, skipping2385NOTICE: trigger "trigger_22a39c5c25f3" for relation "application_settings" does not exist, skipping2386NOTICE: trigger "trigger_1572cbc9a15f" for relation "application_settings" does not exist, skipping2387NOTICE: trigger "trigger_448e14608510" for relation "pages_deployments" does not exist, skipping2388NOTICE: trigger "trigger_1f0ae12498d3" for relation "application_settings" does not exist, skipping2389NOTICE: trigger "trigger_72b785aa2f14" for relation "application_settings" does not exist, skipping2390NOTICE: trigger "trigger_3d531acd472b" for relation "application_settings" does not exist, skipping2391NOTICE: trigger "trigger_8fe85065a3f9" for relation "application_settings" does not exist, skipping2392NOTICE: trigger "trigger_d5eb03a59792" for relation "packages_pypi_metadata" does not exist, skipping2393NOTICE: constraint "check_fcfb4a93ff" of relation "epics" does not exist, skipping2394NOTICE: constraint "check_970d272570" of relation "merge_requests" does not exist, skipping2395NOTICE: constraint "check_fba63f706d" of relation "issues" does not exist, skipping2396NOTICE: constraint "check_81b431e49b" of relation "ci_stages" does not exist, skipping2397NOTICE: constraint "check_1e2fbd1b39" of relation "ci_builds" does not exist, skipping2398NOTICE: constraint "check_d7e99a025e" of relation "ci_pipelines" does not exist, skipping2399NOTICE: constraint "check_242f0cc65c" of relation "webauthn_registrations" does not exist, skipping2400NOTICE: trigger "trigger_f14363ffbcd3" for relation "sprints" does not exist, skipping2401NOTICE: trigger "trigger_9ab19b89128a" for relation "vulnerabilities" does not exist, skipping2402NOTICE: trigger "trigger_27c6ea5cb43e" for relation "vulnerabilities" does not exist, skipping2403NOTICE: trigger "trigger_5e971e2e2c26" for relation "pages_domains" does not exist, skipping2404NOTICE: trigger "trigger_e856257b2421" for relation "commit_user_mentions" does not exist, skipping2405NOTICE: trigger "trigger_5299882abc4c" for relation "software_license_policies" does not exist, skipping2406NOTICE: trigger "trigger_4821f661bf92" for relation "application_settings" does not exist, skipping2407NOTICE: trigger "trigger_97893debd1d4" for relation "design_management_versions" does not exist, skipping2408== 20191008143850 FixAnyApproverRuleForProjects: migrating ====================2409== 20191008143850 FixAnyApproverRuleForProjects: migrated (0.0193s) ===========2410 sets all rule types to 3 and removes duplicates2411NOTICE: trigger "trigger_97893debd1d4" for relation "design_management_versions" does not exist, skipping2412NOTICE: trigger "trigger_4821f661bf92" for relation "application_settings" does not exist, skipping2413DEPRECATION WARNING: Class level methods will no longer inherit scoping from `with_unique_issue_ids` in Rails 6.1. To continue using the scoped relation, pass it into the block directly. To instead access the full set of models, as Rails 6.1 will, use `BackfillVersionAuthorAndCreatedAt::Version.default_scoped`. (called from block in <class:Version> at /builds/gitlab-org/gitlab/db/post_migrate/20191030223057_backfill_version_author_and_created_at.rb:32)2414NOTICE: trigger "trigger_5299882abc4c" for relation "software_license_policies" does not exist, skipping2415NOTICE: trigger "trigger_e856257b2421" for relation "commit_user_mentions" does not exist, skipping2416NOTICE: trigger "trigger_5e971e2e2c26" for relation "pages_domains" does not exist, skipping2417NOTICE: table "deployment_clusters" does not exist, skipping2418NOTICE: trigger "trigger_27c6ea5cb43e" for relation "vulnerabilities" does not exist, skipping2419NOTICE: trigger "trigger_9ab19b89128a" for relation "vulnerabilities" does not exist, skipping2420NOTICE: constraint "lfs_objects_file_store_not_null" of relation "lfs_objects" does not exist, skipping2421NOTICE: constraint "ci_job_artifacts_file_store_not_null" of relation "ci_job_artifacts" does not exist, skipping2422NOTICE: constraint "uploads_store_not_null" of relation "uploads" does not exist, skipping2423NOTICE: trigger "trigger_f14363ffbcd3" for relation "sprints" does not exist, skipping2424NOTICE: schema "partitions_dynamic" does not exist, skipping2425NOTICE: table "untracked_files_for_uploads" does not exist, skipping2426NOTICE: trigger "trigger_d5eb03a59792" for relation "packages_pypi_metadata" does not exist, skipping2427NOTICE: trigger "trigger_8fe85065a3f9" for relation "application_settings" does not exist, skipping2428NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_project_authorizations_on_user_id_project_id_access_level" to "project_authorizations_pkey"2429NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "analytics_repository_languages_unique_index" to "analytics_language_trend_repository_languages_pkey"2430NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_approval_project_rules_protected_branches_unique" to "approval_project_rules_protected_branches_pkey"2431NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_ci_build_trace_sections_on_build_id_and_section_name_id" to "ci_build_trace_sections_pkey"2432NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "idx_deployment_merge_requests_unique_index" to "deployment_merge_requests_pkey"2433NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_issue_assignees_on_issue_id_and_user_id" to "issue_assignees_pkey"2434NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "issue_id_prometheus_alert_event_id_index" to "issues_prometheus_alert_events_pkey"2435NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "issue_id_self_managed_prometheus_alert_event_id_index" to "issues_self_managed_prometheus_alert_events_pkey"2436NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_merge_request_diff_commits_on_mr_diff_id_and_order" to "merge_request_diff_commits_pkey"2437NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_merge_request_diff_files_on_mr_diff_id_and_order" to "merge_request_diff_files_pkey"2438NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_miletone_releases_on_milestone_and_release" to "milestone_releases_pkey"2439NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_project_pages_metadata_on_project_id" to "project_pages_metadata_pkey"2440NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_push_event_payloads_on_event_id" to "push_event_payloads_pkey"2441NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_repository_languages_on_project_and_languages_id" to "repository_languages_pkey"2442NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_user_interacted_projects_on_project_id_and_user_id" to "user_interacted_projects_pkey"2443NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "users_security_dashboard_projects_unique_index" to "users_security_dashboard_projects_pkey"2444NOTICE: trigger "trigger_1f0ae12498d3" for relation "application_settings" does not exist, skipping2445NOTICE: trigger "trigger_72b785aa2f14" for relation "application_settings" does not exist, skipping2446NOTICE: trigger "trigger_3d531acd472b" for relation "application_settings" does not exist, skipping2447NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_elasticsearch_indexed_projects_on_project_id" to "elasticsearch_indexed_projects_pkey"2448NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_elasticsearch_indexed_namespaces_on_namespace_id" to "elasticsearch_indexed_namespaces_pkey"2449NOTICE: trigger "trigger_448e14608510" for relation "pages_deployments" does not exist, skipping2450NOTICE: trigger "trigger_9a96291bb38d" for relation "application_settings" does not exist, skipping2451NOTICE: trigger "trigger_22a39c5c25f3" for relation "application_settings" does not exist, skipping2452NOTICE: trigger "trigger_1572cbc9a15f" for relation "application_settings" does not exist, skipping2453RemoveCycleAnalyticsTotalStageData2454NOTICE: trigger "trigger_9a96291bb38d" for relation "application_settings" does not exist, skipping2455NOTICE: trigger "trigger_22a39c5c25f3" for relation "application_settings" does not exist, skipping2456NOTICE: trigger "trigger_1572cbc9a15f" for relation "application_settings" does not exist, skipping2457NOTICE: trigger "trigger_448e14608510" for relation "pages_deployments" does not exist, skipping2458NOTICE: trigger "trigger_1f0ae12498d3" for relation "application_settings" does not exist, skipping2459NOTICE: trigger "trigger_72b785aa2f14" for relation "application_settings" does not exist, skipping2460NOTICE: trigger "trigger_3d531acd472b" for relation "application_settings" does not exist, skipping2461== 20200916081749 RemoveCycleAnalyticsTotalStageData: migrating ===============2462-- execute("DELETE FROM analytics_cycle_analytics_group_stages WHERE name='production'")2463 -> 0.0013s2464-- execute("DELETE FROM analytics_cycle_analytics_project_stages WHERE name='production'")2465 -> 0.0008s2466== 20200916081749 RemoveCycleAnalyticsTotalStageData: migrated (0.0025s) ======2467 removes "production" stage info and keeps other stages2468NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_project_authorizations_on_user_id_project_id_access_level" to "project_authorizations_pkey"2469NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "analytics_repository_languages_unique_index" to "analytics_language_trend_repository_languages_pkey"2470NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_approval_project_rules_protected_branches_unique" to "approval_project_rules_protected_branches_pkey"2471NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_ci_build_trace_sections_on_build_id_and_section_name_id" to "ci_build_trace_sections_pkey"2472NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "idx_deployment_merge_requests_unique_index" to "deployment_merge_requests_pkey"2473NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_issue_assignees_on_issue_id_and_user_id" to "issue_assignees_pkey"2474NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "issue_id_prometheus_alert_event_id_index" to "issues_prometheus_alert_events_pkey"2475NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "issue_id_self_managed_prometheus_alert_event_id_index" to "issues_self_managed_prometheus_alert_events_pkey"2476NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_merge_request_diff_commits_on_mr_diff_id_and_order" to "merge_request_diff_commits_pkey"2477NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_merge_request_diff_files_on_mr_diff_id_and_order" to "merge_request_diff_files_pkey"2478NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_miletone_releases_on_milestone_and_release" to "milestone_releases_pkey"2479NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_project_pages_metadata_on_project_id" to "project_pages_metadata_pkey"2480NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_push_event_payloads_on_event_id" to "push_event_payloads_pkey"2481NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_repository_languages_on_project_and_languages_id" to "repository_languages_pkey"2482NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_user_interacted_projects_on_project_id_and_user_id" to "user_interacted_projects_pkey"2483NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "users_security_dashboard_projects_unique_index" to "users_security_dashboard_projects_pkey"2484NOTICE: trigger "trigger_1f0ae12498d3" for relation "application_settings" does not exist, skipping2485NOTICE: trigger "trigger_72b785aa2f14" for relation "application_settings" does not exist, skipping2486NOTICE: trigger "trigger_3d531acd472b" for relation "application_settings" does not exist, skipping2487NOTICE: constraint "check_242f0cc65c" of relation "webauthn_registrations" does not exist, skipping2488NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_elasticsearch_indexed_projects_on_project_id" to "elasticsearch_indexed_projects_pkey"2489NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_elasticsearch_indexed_namespaces_on_namespace_id" to "elasticsearch_indexed_namespaces_pkey"2490NOTICE: trigger "trigger_448e14608510" for relation "pages_deployments" does not exist, skipping2491NOTICE: trigger "trigger_9a96291bb38d" for relation "application_settings" does not exist, skipping2492NOTICE: trigger "trigger_22a39c5c25f3" for relation "application_settings" does not exist, skipping2493NOTICE: trigger "trigger_1572cbc9a15f" for relation "application_settings" does not exist, skipping2494UpdateCsVulnerabilityConfidenceColumn2495NOTICE: trigger "trigger_9a96291bb38d" for relation "application_settings" does not exist, skipping2496NOTICE: trigger "trigger_22a39c5c25f3" for relation "application_settings" does not exist, skipping2497NOTICE: trigger "trigger_1572cbc9a15f" for relation "application_settings" does not exist, skipping2498NOTICE: trigger "trigger_448e14608510" for relation "pages_deployments" does not exist, skipping2499NOTICE: trigger "trigger_1f0ae12498d3" for relation "application_settings" does not exist, skipping2500NOTICE: trigger "trigger_72b785aa2f14" for relation "application_settings" does not exist, skipping2501NOTICE: trigger "trigger_3d531acd472b" for relation "application_settings" does not exist, skipping2502NOTICE: trigger "trigger_8fe85065a3f9" for relation "application_settings" does not exist, skipping2503NOTICE: trigger "trigger_d5eb03a59792" for relation "packages_pypi_metadata" does not exist, skipping2504NOTICE: constraint "check_fcfb4a93ff" of relation "epics" does not exist, skipping2505NOTICE: constraint "check_970d272570" of relation "merge_requests" does not exist, skipping2506NOTICE: constraint "check_fba63f706d" of relation "issues" does not exist, skipping2507NOTICE: constraint "check_81b431e49b" of relation "ci_stages" does not exist, skipping2508NOTICE: constraint "check_1e2fbd1b39" of relation "ci_builds" does not exist, skipping2509NOTICE: constraint "check_d7e99a025e" of relation "ci_pipelines" does not exist, skipping2510NOTICE: constraint "check_242f0cc65c" of relation "webauthn_registrations" does not exist, skipping2511NOTICE: trigger "trigger_f14363ffbcd3" for relation "sprints" does not exist, skipping2512NOTICE: trigger "trigger_9ab19b89128a" for relation "vulnerabilities" does not exist, skipping2513NOTICE: trigger "trigger_27c6ea5cb43e" for relation "vulnerabilities" does not exist, skipping2514NOTICE: trigger "trigger_5e971e2e2c26" for relation "pages_domains" does not exist, skipping2515NOTICE: trigger "trigger_e856257b2421" for relation "commit_user_mentions" does not exist, skipping2516NOTICE: trigger "trigger_5299882abc4c" for relation "software_license_policies" does not exist, skipping2517NOTICE: trigger "trigger_4821f661bf92" for relation "application_settings" does not exist, skipping2518NOTICE: trigger "trigger_97893debd1d4" for relation "design_management_versions" does not exist, skipping2519== 20190909141517 UpdateCsVulnerabilityConfidenceColumn: migrating ============2520-- Scheduled 1 UpdateVulnerabilityConfidence jobs with a maximum of 2 records per batch and an interval of 300 seconds.2521The migration is expected to take at least 300 seconds. Expect all jobs to have completed after 2021-03-03 12:27:02 UTC."2522== 20190909141517 UpdateCsVulnerabilityConfidenceColumn: migrated (0.0289s) ===2523 updates confidence levels for container scanning reports2524NOTICE: trigger "trigger_97893debd1d4" for relation "design_management_versions" does not exist, skipping2525NOTICE: trigger "trigger_4821f661bf92" for relation "application_settings" does not exist, skipping2526DEPRECATION WARNING: Class level methods will no longer inherit scoping from `with_unique_issue_ids` in Rails 6.1. To continue using the scoped relation, pass it into the block directly. To instead access the full set of models, as Rails 6.1 will, use `BackfillVersionAuthorAndCreatedAt::Version.default_scoped`. (called from block in <class:Version> at /builds/gitlab-org/gitlab/db/post_migrate/20191030223057_backfill_version_author_and_created_at.rb:32)2527NOTICE: trigger "trigger_5299882abc4c" for relation "software_license_policies" does not exist, skipping2528NOTICE: trigger "trigger_e856257b2421" for relation "commit_user_mentions" does not exist, skipping2529NOTICE: trigger "trigger_5e971e2e2c26" for relation "pages_domains" does not exist, skipping2530NOTICE: table "deployment_clusters" does not exist, skipping2531NOTICE: trigger "trigger_27c6ea5cb43e" for relation "vulnerabilities" does not exist, skipping2532NOTICE: trigger "trigger_9ab19b89128a" for relation "vulnerabilities" does not exist, skipping2533NOTICE: constraint "lfs_objects_file_store_not_null" of relation "lfs_objects" does not exist, skipping2534NOTICE: constraint "ci_job_artifacts_file_store_not_null" of relation "ci_job_artifacts" does not exist, skipping2535NOTICE: constraint "uploads_store_not_null" of relation "uploads" does not exist, skipping2536NOTICE: trigger "trigger_f14363ffbcd3" for relation "sprints" does not exist, skipping2537NOTICE: schema "partitions_dynamic" does not exist, skipping2538NOTICE: table "untracked_files_for_uploads" does not exist, skipping2539NOTICE: trigger "trigger_d5eb03a59792" for relation "packages_pypi_metadata" does not exist, skipping2540NOTICE: trigger "trigger_8fe85065a3f9" for relation "application_settings" does not exist, skipping2541NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_project_authorizations_on_user_id_project_id_access_level" to "project_authorizations_pkey"2542NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "analytics_repository_languages_unique_index" to "analytics_language_trend_repository_languages_pkey"2543NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_approval_project_rules_protected_branches_unique" to "approval_project_rules_protected_branches_pkey"2544NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_ci_build_trace_sections_on_build_id_and_section_name_id" to "ci_build_trace_sections_pkey"2545NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "idx_deployment_merge_requests_unique_index" to "deployment_merge_requests_pkey"2546NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_issue_assignees_on_issue_id_and_user_id" to "issue_assignees_pkey"2547NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "issue_id_prometheus_alert_event_id_index" to "issues_prometheus_alert_events_pkey"2548NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "issue_id_self_managed_prometheus_alert_event_id_index" to "issues_self_managed_prometheus_alert_events_pkey"2549NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_merge_request_diff_commits_on_mr_diff_id_and_order" to "merge_request_diff_commits_pkey"2550NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_merge_request_diff_files_on_mr_diff_id_and_order" to "merge_request_diff_files_pkey"2551NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_miletone_releases_on_milestone_and_release" to "milestone_releases_pkey"2552NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_project_pages_metadata_on_project_id" to "project_pages_metadata_pkey"2553NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_push_event_payloads_on_event_id" to "push_event_payloads_pkey"2554NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_repository_languages_on_project_and_languages_id" to "repository_languages_pkey"2555NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_user_interacted_projects_on_project_id_and_user_id" to "user_interacted_projects_pkey"2556NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "users_security_dashboard_projects_unique_index" to "users_security_dashboard_projects_pkey"2557NOTICE: trigger "trigger_1f0ae12498d3" for relation "application_settings" does not exist, skipping2558NOTICE: trigger "trigger_72b785aa2f14" for relation "application_settings" does not exist, skipping2559NOTICE: trigger "trigger_3d531acd472b" for relation "application_settings" does not exist, skipping2560NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_elasticsearch_indexed_projects_on_project_id" to "elasticsearch_indexed_projects_pkey"2561NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_elasticsearch_indexed_namespaces_on_namespace_id" to "elasticsearch_indexed_namespaces_pkey"2562NOTICE: trigger "trigger_448e14608510" for relation "pages_deployments" does not exist, skipping2563NOTICE: trigger "trigger_9a96291bb38d" for relation "application_settings" does not exist, skipping2564NOTICE: trigger "trigger_22a39c5c25f3" for relation "application_settings" does not exist, skipping2565NOTICE: trigger "trigger_1572cbc9a15f" for relation "application_settings" does not exist, skipping2566Gitlab::BackgroundMigration::RemoveDuplicatedCsFindingsWithoutVulnerabilityId2567NOTICE: trigger "trigger_9a96291bb38d" for relation "application_settings" does not exist, skipping2568NOTICE: trigger "trigger_22a39c5c25f3" for relation "application_settings" does not exist, skipping2569NOTICE: trigger "trigger_1572cbc9a15f" for relation "application_settings" does not exist, skipping2570NOTICE: trigger "trigger_448e14608510" for relation "pages_deployments" does not exist, skipping2571NOTICE: trigger "trigger_1f0ae12498d3" for relation "application_settings" does not exist, skipping2572NOTICE: trigger "trigger_72b785aa2f14" for relation "application_settings" does not exist, skipping2573NOTICE: trigger "trigger_3d531acd472b" for relation "application_settings" does not exist, skipping2574 removes duplicate findings and vulnerabilities2575NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_project_authorizations_on_user_id_project_id_access_level" to "project_authorizations_pkey"2576NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "analytics_repository_languages_unique_index" to "analytics_language_trend_repository_languages_pkey"2577NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_approval_project_rules_protected_branches_unique" to "approval_project_rules_protected_branches_pkey"2578NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_ci_build_trace_sections_on_build_id_and_section_name_id" to "ci_build_trace_sections_pkey"2579NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "idx_deployment_merge_requests_unique_index" to "deployment_merge_requests_pkey"2580NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_issue_assignees_on_issue_id_and_user_id" to "issue_assignees_pkey"2581NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "issue_id_prometheus_alert_event_id_index" to "issues_prometheus_alert_events_pkey"2582NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "issue_id_self_managed_prometheus_alert_event_id_index" to "issues_self_managed_prometheus_alert_events_pkey"2583NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_merge_request_diff_commits_on_mr_diff_id_and_order" to "merge_request_diff_commits_pkey"2584NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_merge_request_diff_files_on_mr_diff_id_and_order" to "merge_request_diff_files_pkey"2585NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_miletone_releases_on_milestone_and_release" to "milestone_releases_pkey"2586NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_project_pages_metadata_on_project_id" to "project_pages_metadata_pkey"2587NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_push_event_payloads_on_event_id" to "push_event_payloads_pkey"2588NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_repository_languages_on_project_and_languages_id" to "repository_languages_pkey"2589NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_user_interacted_projects_on_project_id_and_user_id" to "user_interacted_projects_pkey"2590NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "users_security_dashboard_projects_unique_index" to "users_security_dashboard_projects_pkey"2591NOTICE: trigger "trigger_1f0ae12498d3" for relation "application_settings" does not exist, skipping2592NOTICE: trigger "trigger_72b785aa2f14" for relation "application_settings" does not exist, skipping2593NOTICE: trigger "trigger_3d531acd472b" for relation "application_settings" does not exist, skipping2594NOTICE: constraint "check_242f0cc65c" of relation "webauthn_registrations" does not exist, skipping2595NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_elasticsearch_indexed_projects_on_project_id" to "elasticsearch_indexed_projects_pkey"2596NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_elasticsearch_indexed_namespaces_on_namespace_id" to "elasticsearch_indexed_namespaces_pkey"2597NOTICE: trigger "trigger_448e14608510" for relation "pages_deployments" does not exist, skipping2598NOTICE: trigger "trigger_9a96291bb38d" for relation "application_settings" does not exist, skipping2599NOTICE: trigger "trigger_22a39c5c25f3" for relation "application_settings" does not exist, skipping2600NOTICE: trigger "trigger_1572cbc9a15f" for relation "application_settings" does not exist, skipping2601ScheduleFixOrphanPromotedIssues2602NOTICE: trigger "trigger_9a96291bb38d" for relation "application_settings" does not exist, skipping2603NOTICE: trigger "trigger_22a39c5c25f3" for relation "application_settings" does not exist, skipping2604NOTICE: trigger "trigger_1572cbc9a15f" for relation "application_settings" does not exist, skipping2605NOTICE: trigger "trigger_448e14608510" for relation "pages_deployments" does not exist, skipping2606NOTICE: trigger "trigger_1f0ae12498d3" for relation "application_settings" does not exist, skipping2607NOTICE: trigger "trigger_72b785aa2f14" for relation "application_settings" does not exist, skipping2608NOTICE: trigger "trigger_3d531acd472b" for relation "application_settings" does not exist, skipping2609NOTICE: trigger "trigger_8fe85065a3f9" for relation "application_settings" does not exist, skipping2610NOTICE: trigger "trigger_d5eb03a59792" for relation "packages_pypi_metadata" does not exist, skipping2611NOTICE: constraint "check_fcfb4a93ff" of relation "epics" does not exist, skipping2612NOTICE: constraint "check_970d272570" of relation "merge_requests" does not exist, skipping2613NOTICE: constraint "check_fba63f706d" of relation "issues" does not exist, skipping2614NOTICE: constraint "check_81b431e49b" of relation "ci_stages" does not exist, skipping2615NOTICE: constraint "check_1e2fbd1b39" of relation "ci_builds" does not exist, skipping2616NOTICE: constraint "check_d7e99a025e" of relation "ci_pipelines" does not exist, skipping2617NOTICE: constraint "check_242f0cc65c" of relation "webauthn_registrations" does not exist, skipping2618NOTICE: trigger "trigger_f14363ffbcd3" for relation "sprints" does not exist, skipping2619NOTICE: trigger "trigger_9ab19b89128a" for relation "vulnerabilities" does not exist, skipping2620NOTICE: trigger "trigger_27c6ea5cb43e" for relation "vulnerabilities" does not exist, skipping2621== 20200207185149 ScheduleFixOrphanPromotedIssues: migrating ==================2622== 20200207185149 ScheduleFixOrphanPromotedIssues: migrated (0.0411s) =========2623 correctly schedules background migrations2624NOTICE: trigger "trigger_27c6ea5cb43e" for relation "vulnerabilities" does not exist, skipping2625NOTICE: trigger "trigger_9ab19b89128a" for relation "vulnerabilities" does not exist, skipping2626NOTICE: constraint "lfs_objects_file_store_not_null" of relation "lfs_objects" does not exist, skipping2627NOTICE: constraint "ci_job_artifacts_file_store_not_null" of relation "ci_job_artifacts" does not exist, skipping2628NOTICE: constraint "uploads_store_not_null" of relation "uploads" does not exist, skipping2629NOTICE: trigger "trigger_f14363ffbcd3" for relation "sprints" does not exist, skipping2630NOTICE: schema "partitions_dynamic" does not exist, skipping2631NOTICE: table "untracked_files_for_uploads" does not exist, skipping2632NOTICE: trigger "trigger_d5eb03a59792" for relation "packages_pypi_metadata" does not exist, skipping2633NOTICE: trigger "trigger_8fe85065a3f9" for relation "application_settings" does not exist, skipping2634NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_project_authorizations_on_user_id_project_id_access_level" to "project_authorizations_pkey"2635NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "analytics_repository_languages_unique_index" to "analytics_language_trend_repository_languages_pkey"2636NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_approval_project_rules_protected_branches_unique" to "approval_project_rules_protected_branches_pkey"2637NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_ci_build_trace_sections_on_build_id_and_section_name_id" to "ci_build_trace_sections_pkey"2638NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "idx_deployment_merge_requests_unique_index" to "deployment_merge_requests_pkey"2639NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_issue_assignees_on_issue_id_and_user_id" to "issue_assignees_pkey"2640NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "issue_id_prometheus_alert_event_id_index" to "issues_prometheus_alert_events_pkey"2641NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "issue_id_self_managed_prometheus_alert_event_id_index" to "issues_self_managed_prometheus_alert_events_pkey"2642NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_merge_request_diff_commits_on_mr_diff_id_and_order" to "merge_request_diff_commits_pkey"2643NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_merge_request_diff_files_on_mr_diff_id_and_order" to "merge_request_diff_files_pkey"2644NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_miletone_releases_on_milestone_and_release" to "milestone_releases_pkey"2645NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_project_pages_metadata_on_project_id" to "project_pages_metadata_pkey"2646NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_push_event_payloads_on_event_id" to "push_event_payloads_pkey"2647NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_repository_languages_on_project_and_languages_id" to "repository_languages_pkey"2648NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_user_interacted_projects_on_project_id_and_user_id" to "user_interacted_projects_pkey"2649NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "users_security_dashboard_projects_unique_index" to "users_security_dashboard_projects_pkey"2650NOTICE: trigger "trigger_1f0ae12498d3" for relation "application_settings" does not exist, skipping2651NOTICE: trigger "trigger_72b785aa2f14" for relation "application_settings" does not exist, skipping2652NOTICE: trigger "trigger_3d531acd472b" for relation "application_settings" does not exist, skipping2653NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_elasticsearch_indexed_projects_on_project_id" to "elasticsearch_indexed_projects_pkey"2654NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_elasticsearch_indexed_namespaces_on_namespace_id" to "elasticsearch_indexed_namespaces_pkey"2655NOTICE: trigger "trigger_448e14608510" for relation "pages_deployments" does not exist, skipping2656NOTICE: trigger "trigger_9a96291bb38d" for relation "application_settings" does not exist, skipping2657NOTICE: trigger "trigger_22a39c5c25f3" for relation "application_settings" does not exist, skipping2658NOTICE: trigger "trigger_1572cbc9a15f" for relation "application_settings" does not exist, skipping2659CleanupDeployAccessLevelsForRemovedGroups2660NOTICE: trigger "trigger_9a96291bb38d" for relation "application_settings" does not exist, skipping2661NOTICE: trigger "trigger_22a39c5c25f3" for relation "application_settings" does not exist, skipping2662NOTICE: trigger "trigger_1572cbc9a15f" for relation "application_settings" does not exist, skipping2663NOTICE: trigger "trigger_448e14608510" for relation "pages_deployments" does not exist, skipping2664NOTICE: trigger "trigger_1f0ae12498d3" for relation "application_settings" does not exist, skipping2665NOTICE: trigger "trigger_72b785aa2f14" for relation "application_settings" does not exist, skipping2666NOTICE: trigger "trigger_3d531acd472b" for relation "application_settings" does not exist, skipping2667NOTICE: trigger "trigger_8fe85065a3f9" for relation "application_settings" does not exist, skipping2668NOTICE: trigger "trigger_d5eb03a59792" for relation "packages_pypi_metadata" does not exist, skipping2669NOTICE: constraint "check_fcfb4a93ff" of relation "epics" does not exist, skipping2670NOTICE: constraint "check_970d272570" of relation "merge_requests" does not exist, skipping2671NOTICE: constraint "check_fba63f706d" of relation "issues" does not exist, skipping2672NOTICE: constraint "check_81b431e49b" of relation "ci_stages" does not exist, skipping2673NOTICE: constraint "check_1e2fbd1b39" of relation "ci_builds" does not exist, skipping2674NOTICE: constraint "check_d7e99a025e" of relation "ci_pipelines" does not exist, skipping2675NOTICE: constraint "check_242f0cc65c" of relation "webauthn_registrations" does not exist, skipping2676NOTICE: trigger "trigger_f14363ffbcd3" for relation "sprints" does not exist, skipping2677NOTICE: trigger "trigger_9ab19b89128a" for relation "vulnerabilities" does not exist, skipping2678NOTICE: trigger "trigger_27c6ea5cb43e" for relation "vulnerabilities" does not exist, skipping2679NOTICE: trigger "trigger_5e971e2e2c26" for relation "pages_domains" does not exist, skipping2680NOTICE: trigger "trigger_e856257b2421" for relation "commit_user_mentions" does not exist, skipping2681== 20191125024005 CleanupDeployAccessLevelsForRemovedGroups: migrating ========2682-- execute("DELETE FROM protected_environment_deploy_access_levels d\nUSING protected_environments p\nWHERE d.protected_environment_id=p.id\n AND d.group_id IS NOT NULL\n AND NOT EXISTS (SELECT 1 FROM project_group_links WHERE project_id=p.project_id AND group_id=d.group_id)\nRETURNING *\n")2683 -> 0.0017s2684== 20191125024005 CleanupDeployAccessLevelsForRemovedGroups: migrated (0.0025s) 2685 removes deploy access levels for removed groups and keeps the rest2686NOTICE: trigger "trigger_e856257b2421" for relation "commit_user_mentions" does not exist, skipping2687NOTICE: trigger "trigger_5e971e2e2c26" for relation "pages_domains" does not exist, skipping2688NOTICE: table "deployment_clusters" does not exist, skipping2689NOTICE: trigger "trigger_27c6ea5cb43e" for relation "vulnerabilities" does not exist, skipping2690NOTICE: trigger "trigger_9ab19b89128a" for relation "vulnerabilities" does not exist, skipping2691NOTICE: constraint "lfs_objects_file_store_not_null" of relation "lfs_objects" does not exist, skipping2692NOTICE: constraint "ci_job_artifacts_file_store_not_null" of relation "ci_job_artifacts" does not exist, skipping2693NOTICE: constraint "uploads_store_not_null" of relation "uploads" does not exist, skipping2694NOTICE: trigger "trigger_f14363ffbcd3" for relation "sprints" does not exist, skipping2695NOTICE: schema "partitions_dynamic" does not exist, skipping2696NOTICE: table "untracked_files_for_uploads" does not exist, skipping2697NOTICE: trigger "trigger_d5eb03a59792" for relation "packages_pypi_metadata" does not exist, skipping2698NOTICE: trigger "trigger_8fe85065a3f9" for relation "application_settings" does not exist, skipping2699NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_project_authorizations_on_user_id_project_id_access_level" to "project_authorizations_pkey"2700NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "analytics_repository_languages_unique_index" to "analytics_language_trend_repository_languages_pkey"2701NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_approval_project_rules_protected_branches_unique" to "approval_project_rules_protected_branches_pkey"2702NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_ci_build_trace_sections_on_build_id_and_section_name_id" to "ci_build_trace_sections_pkey"2703NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "idx_deployment_merge_requests_unique_index" to "deployment_merge_requests_pkey"2704NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_issue_assignees_on_issue_id_and_user_id" to "issue_assignees_pkey"2705NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "issue_id_prometheus_alert_event_id_index" to "issues_prometheus_alert_events_pkey"2706NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "issue_id_self_managed_prometheus_alert_event_id_index" to "issues_self_managed_prometheus_alert_events_pkey"2707NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_merge_request_diff_commits_on_mr_diff_id_and_order" to "merge_request_diff_commits_pkey"2708NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_merge_request_diff_files_on_mr_diff_id_and_order" to "merge_request_diff_files_pkey"2709NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_miletone_releases_on_milestone_and_release" to "milestone_releases_pkey"2710NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_project_pages_metadata_on_project_id" to "project_pages_metadata_pkey"2711NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_push_event_payloads_on_event_id" to "push_event_payloads_pkey"2712NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_repository_languages_on_project_and_languages_id" to "repository_languages_pkey"2713NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_user_interacted_projects_on_project_id_and_user_id" to "user_interacted_projects_pkey"2714NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "users_security_dashboard_projects_unique_index" to "users_security_dashboard_projects_pkey"2715NOTICE: trigger "trigger_1f0ae12498d3" for relation "application_settings" does not exist, skipping2716NOTICE: trigger "trigger_72b785aa2f14" for relation "application_settings" does not exist, skipping2717NOTICE: trigger "trigger_3d531acd472b" for relation "application_settings" does not exist, skipping2718NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_elasticsearch_indexed_projects_on_project_id" to "elasticsearch_indexed_projects_pkey"2719NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_elasticsearch_indexed_namespaces_on_namespace_id" to "elasticsearch_indexed_namespaces_pkey"2720NOTICE: trigger "trigger_448e14608510" for relation "pages_deployments" does not exist, skipping2721NOTICE: trigger "trigger_9a96291bb38d" for relation "application_settings" does not exist, skipping2722NOTICE: trigger "trigger_22a39c5c25f3" for relation "application_settings" does not exist, skipping2723NOTICE: trigger "trigger_1572cbc9a15f" for relation "application_settings" does not exist, skipping2724The application_settings table has 1210 columns.2725Recreating the database2726Dropped database 'gitlabhq_test'2727Created database 'gitlabhq_test'2728Database re-creation done in 4.5893770309994582729CreateElasticReindexingSubtasks2730NOTICE: trigger "trigger_9a96291bb38d" for relation "application_settings" does not exist, skipping2731NOTICE: trigger "trigger_22a39c5c25f3" for relation "application_settings" does not exist, skipping2732NOTICE: trigger "trigger_1572cbc9a15f" for relation "application_settings" does not exist, skipping2733 #up2734== 20201217132603 CreateElasticReindexingSubtasks: migrating ==================2735-- table_exists?(:elastic_reindexing_subtasks)2736 -> 0.0012s2737-- create_table(:elastic_reindexing_subtasks)2738 -> 0.0065s2739-- transaction_open?()2740 -> 0.0000s2741-- current_schema()2742 -> 0.0006s2743-- execute("ALTER TABLE elastic_reindexing_subtasks\nADD CONSTRAINT check_a1fbd9faa9\nCHECK ( char_length(index_name_from) <= 255 )\nNOT VALID;\n")2744 -> 0.0010s2745-- current_schema()2746 -> 0.0006s2747-- execute("ALTER TABLE elastic_reindexing_subtasks VALIDATE CONSTRAINT check_a1fbd9faa9;")2748 -> 0.0007s2749-- transaction_open?()2750 -> 0.0000s2751-- current_schema()2752 -> 0.0005s2753-- execute("ALTER TABLE elastic_reindexing_subtasks\nADD CONSTRAINT check_f456494bd8\nCHECK ( char_length(index_name_to) <= 255 )\nNOT VALID;\n")2754 -> 0.0008s2755-- current_schema()2756 -> 0.0007s2757-- execute("ALTER TABLE elastic_reindexing_subtasks VALIDATE CONSTRAINT check_f456494bd8;")2758 -> 0.0007s2759-- transaction_open?()2760 -> 0.0000s2761-- current_schema()2762 -> 0.0005s2763-- execute("ALTER TABLE elastic_reindexing_subtasks\nADD CONSTRAINT check_4910adc798\nCHECK ( char_length(elastic_task) <= 255 )\nNOT VALID;\n")2764 -> 0.0008s2765-- current_schema()2766 -> 0.0006s2767-- execute("ALTER TABLE elastic_reindexing_subtasks VALIDATE CONSTRAINT check_4910adc798;")2768 -> 0.0007s2769-- transaction_open?()2770 -> 0.0000s2771-- current_schema()2772 -> 0.0005s2773-- execute("ALTER TABLE elastic_reindexing_subtasks\nADD CONSTRAINT check_88f56216a4\nCHECK ( char_length(alias_name) <= 255 )\nNOT VALID;\n")2774 -> 0.0008s2775-- current_schema()2776 -> 0.0006s2777-- execute("ALTER TABLE elastic_reindexing_subtasks VALIDATE CONSTRAINT check_88f56216a4;")2778 -> 0.0007s2779== 20201217132603 CreateElasticReindexingSubtasks: migrated (0.0979s) =========2780 migrates old reindexing tasks2781NOTICE: trigger "trigger_9a96291bb38d" for relation "application_settings" does not exist, skipping2782NOTICE: trigger "trigger_22a39c5c25f3" for relation "application_settings" does not exist, skipping2783NOTICE: trigger "trigger_1572cbc9a15f" for relation "application_settings" does not exist, skipping2784Gitlab::BackgroundMigration::MigrateApproverToApprovalRulesCheckProgress2785 when there is MigrateApproverToApprovalRulesInBatch jobs2786 reschedules check2787 when there is no more MigrateApproverToApprovalRulesInBatch jobs2788 enables feature2789ScheduleFixRubyObjectInAuditEvents2790NOTICE: trigger "trigger_9a96291bb38d" for relation "application_settings" does not exist, skipping2791NOTICE: trigger "trigger_22a39c5c25f3" for relation "application_settings" does not exist, skipping2792NOTICE: trigger "trigger_1572cbc9a15f" for relation "application_settings" does not exist, skipping2793NOTICE: trigger "trigger_448e14608510" for relation "pages_deployments" does not exist, skipping2794NOTICE: trigger "trigger_1f0ae12498d3" for relation "application_settings" does not exist, skipping2795NOTICE: trigger "trigger_72b785aa2f14" for relation "application_settings" does not exist, skipping2796NOTICE: trigger "trigger_3d531acd472b" for relation "application_settings" does not exist, skipping2797NOTICE: trigger "trigger_8fe85065a3f9" for relation "application_settings" does not exist, skipping2798NOTICE: trigger "trigger_d5eb03a59792" for relation "packages_pypi_metadata" does not exist, skipping2799== 20200518114540 ScheduleFixRubyObjectInAuditEvents: migrating ===============2800-- transaction_open?()2801 -> 0.0000s2802-- index_exists?(:audit_events, :id, {:where=>"details ~~ '%ruby/object%'", :name=>"index_audit_events_on_ruby_object_in_details", :algorithm=>:concurrently})2803 -> 0.0028s2804-- add_index(:audit_events, :id, {:where=>"details ~~ '%ruby/object%'", :name=>"index_audit_events_on_ruby_object_in_details", :algorithm=>:concurrently})2805 -> 0.0031s2806-- Scheduled 1 FixRubyObjectInAuditEvents jobs with a maximum of 1 records per batch and an interval of 120 seconds.2807The migration is expected to take at least 120 seconds. Expect all jobs to have completed after 2021-03-03 12:26:29 UTC."2808== 20200518114540 ScheduleFixRubyObjectInAuditEvents: migrated (0.0229s) ======2809 schedules background migrations2810NOTICE: constraint "check_5ebd0515a0" of relation "ci_instance_variables" does not exist, skipping2811NOTICE: schema "partitions_dynamic" does not exist, skipping2812NOTICE: table "untracked_files_for_uploads" does not exist, skipping2813NOTICE: trigger "trigger_d5eb03a59792" for relation "packages_pypi_metadata" does not exist, skipping2814NOTICE: trigger "trigger_8fe85065a3f9" for relation "application_settings" does not exist, skipping2815NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_project_authorizations_on_user_id_project_id_access_level" to "project_authorizations_pkey"2816NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "analytics_repository_languages_unique_index" to "analytics_language_trend_repository_languages_pkey"2817NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_approval_project_rules_protected_branches_unique" to "approval_project_rules_protected_branches_pkey"2818NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_ci_build_trace_sections_on_build_id_and_section_name_id" to "ci_build_trace_sections_pkey"2819NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "idx_deployment_merge_requests_unique_index" to "deployment_merge_requests_pkey"2820NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_issue_assignees_on_issue_id_and_user_id" to "issue_assignees_pkey"2821NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "issue_id_prometheus_alert_event_id_index" to "issues_prometheus_alert_events_pkey"2822NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "issue_id_self_managed_prometheus_alert_event_id_index" to "issues_self_managed_prometheus_alert_events_pkey"2823NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_merge_request_diff_commits_on_mr_diff_id_and_order" to "merge_request_diff_commits_pkey"2824NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_merge_request_diff_files_on_mr_diff_id_and_order" to "merge_request_diff_files_pkey"2825NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_miletone_releases_on_milestone_and_release" to "milestone_releases_pkey"2826NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_project_pages_metadata_on_project_id" to "project_pages_metadata_pkey"2827NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_push_event_payloads_on_event_id" to "push_event_payloads_pkey"2828NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_repository_languages_on_project_and_languages_id" to "repository_languages_pkey"2829NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_user_interacted_projects_on_project_id_and_user_id" to "user_interacted_projects_pkey"2830NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "users_security_dashboard_projects_unique_index" to "users_security_dashboard_projects_pkey"2831NOTICE: trigger "trigger_1f0ae12498d3" for relation "application_settings" does not exist, skipping2832NOTICE: trigger "trigger_72b785aa2f14" for relation "application_settings" does not exist, skipping2833NOTICE: trigger "trigger_3d531acd472b" for relation "application_settings" does not exist, skipping2834NOTICE: constraint "check_242f0cc65c" of relation "webauthn_registrations" does not exist, skipping2835NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_elasticsearch_indexed_projects_on_project_id" to "elasticsearch_indexed_projects_pkey"2836NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_elasticsearch_indexed_namespaces_on_namespace_id" to "elasticsearch_indexed_namespaces_pkey"2837NOTICE: trigger "trigger_448e14608510" for relation "pages_deployments" does not exist, skipping2838NOTICE: trigger "trigger_9a96291bb38d" for relation "application_settings" does not exist, skipping2839NOTICE: trigger "trigger_22a39c5c25f3" for relation "application_settings" does not exist, skipping2840NOTICE: trigger "trigger_1572cbc9a15f" for relation "application_settings" does not exist, skipping2841Gitlab::BackgroundMigration::PopulateAnyApprovalRuleForProjects2842NOTICE: trigger "trigger_9a96291bb38d" for relation "application_settings" does not exist, skipping2843NOTICE: trigger "trigger_22a39c5c25f3" for relation "application_settings" does not exist, skipping2844NOTICE: trigger "trigger_1572cbc9a15f" for relation "application_settings" does not exist, skipping2845NOTICE: trigger "trigger_448e14608510" for relation "pages_deployments" does not exist, skipping2846NOTICE: trigger "trigger_1f0ae12498d3" for relation "application_settings" does not exist, skipping2847NOTICE: trigger "trigger_72b785aa2f14" for relation "application_settings" does not exist, skipping2848NOTICE: trigger "trigger_3d531acd472b" for relation "application_settings" does not exist, skipping2849NOTICE: trigger "trigger_8fe85065a3f9" for relation "application_settings" does not exist, skipping2850NOTICE: trigger "trigger_d5eb03a59792" for relation "packages_pypi_metadata" does not exist, skipping2851NOTICE: constraint "check_fcfb4a93ff" of relation "epics" does not exist, skipping2852NOTICE: constraint "check_970d272570" of relation "merge_requests" does not exist, skipping2853NOTICE: constraint "check_fba63f706d" of relation "issues" does not exist, skipping2854NOTICE: constraint "check_81b431e49b" of relation "ci_stages" does not exist, skipping2855NOTICE: constraint "check_1e2fbd1b39" of relation "ci_builds" does not exist, skipping2856NOTICE: constraint "check_d7e99a025e" of relation "ci_pipelines" does not exist, skipping2857NOTICE: constraint "check_242f0cc65c" of relation "webauthn_registrations" does not exist, skipping2858NOTICE: trigger "trigger_f14363ffbcd3" for relation "sprints" does not exist, skipping2859NOTICE: trigger "trigger_9ab19b89128a" for relation "vulnerabilities" does not exist, skipping2860NOTICE: trigger "trigger_27c6ea5cb43e" for relation "vulnerabilities" does not exist, skipping2861NOTICE: trigger "trigger_5e971e2e2c26" for relation "pages_domains" does not exist, skipping2862NOTICE: trigger "trigger_e856257b2421" for relation "commit_user_mentions" does not exist, skipping2863NOTICE: trigger "trigger_5299882abc4c" for relation "software_license_policies" does not exist, skipping2864NOTICE: trigger "trigger_4821f661bf92" for relation "application_settings" does not exist, skipping2865NOTICE: trigger "trigger_97893debd1d4" for relation "design_management_versions" does not exist, skipping2866 #perform2867 creates approval_project_rules rows according to projects2868NOTICE: trigger "trigger_97893debd1d4" for relation "design_management_versions" does not exist, skipping2869NOTICE: trigger "trigger_4821f661bf92" for relation "application_settings" does not exist, skipping2870DEPRECATION WARNING: Class level methods will no longer inherit scoping from `with_unique_issue_ids` in Rails 6.1. To continue using the scoped relation, pass it into the block directly. To instead access the full set of models, as Rails 6.1 will, use `BackfillVersionAuthorAndCreatedAt::Version.default_scoped`. (called from block in <class:Version> at /builds/gitlab-org/gitlab/db/post_migrate/20191030223057_backfill_version_author_and_created_at.rb:32)2871NOTICE: trigger "trigger_5299882abc4c" for relation "software_license_policies" does not exist, skipping2872NOTICE: trigger "trigger_e856257b2421" for relation "commit_user_mentions" does not exist, skipping2873NOTICE: trigger "trigger_5e971e2e2c26" for relation "pages_domains" does not exist, skipping2874NOTICE: table "deployment_clusters" does not exist, skipping2875NOTICE: trigger "trigger_27c6ea5cb43e" for relation "vulnerabilities" does not exist, skipping2876NOTICE: trigger "trigger_9ab19b89128a" for relation "vulnerabilities" does not exist, skipping2877NOTICE: constraint "lfs_objects_file_store_not_null" of relation "lfs_objects" does not exist, skipping2878NOTICE: constraint "ci_job_artifacts_file_store_not_null" of relation "ci_job_artifacts" does not exist, skipping2879NOTICE: constraint "uploads_store_not_null" of relation "uploads" does not exist, skipping2880NOTICE: trigger "trigger_f14363ffbcd3" for relation "sprints" does not exist, skipping2881NOTICE: schema "partitions_dynamic" does not exist, skipping2882NOTICE: table "untracked_files_for_uploads" does not exist, skipping2883NOTICE: trigger "trigger_d5eb03a59792" for relation "packages_pypi_metadata" does not exist, skipping2884NOTICE: trigger "trigger_8fe85065a3f9" for relation "application_settings" does not exist, skipping2885NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_project_authorizations_on_user_id_project_id_access_level" to "project_authorizations_pkey"2886NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "analytics_repository_languages_unique_index" to "analytics_language_trend_repository_languages_pkey"2887NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_approval_project_rules_protected_branches_unique" to "approval_project_rules_protected_branches_pkey"2888NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_ci_build_trace_sections_on_build_id_and_section_name_id" to "ci_build_trace_sections_pkey"2889NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "idx_deployment_merge_requests_unique_index" to "deployment_merge_requests_pkey"2890NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_issue_assignees_on_issue_id_and_user_id" to "issue_assignees_pkey"2891NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "issue_id_prometheus_alert_event_id_index" to "issues_prometheus_alert_events_pkey"2892NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "issue_id_self_managed_prometheus_alert_event_id_index" to "issues_self_managed_prometheus_alert_events_pkey"2893NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_merge_request_diff_commits_on_mr_diff_id_and_order" to "merge_request_diff_commits_pkey"2894NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_merge_request_diff_files_on_mr_diff_id_and_order" to "merge_request_diff_files_pkey"2895NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_miletone_releases_on_milestone_and_release" to "milestone_releases_pkey"2896NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_project_pages_metadata_on_project_id" to "project_pages_metadata_pkey"2897NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_push_event_payloads_on_event_id" to "push_event_payloads_pkey"2898NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_repository_languages_on_project_and_languages_id" to "repository_languages_pkey"2899NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_user_interacted_projects_on_project_id_and_user_id" to "user_interacted_projects_pkey"2900NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "users_security_dashboard_projects_unique_index" to "users_security_dashboard_projects_pkey"2901NOTICE: trigger "trigger_1f0ae12498d3" for relation "application_settings" does not exist, skipping2902NOTICE: trigger "trigger_72b785aa2f14" for relation "application_settings" does not exist, skipping2903NOTICE: trigger "trigger_3d531acd472b" for relation "application_settings" does not exist, skipping2904NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_elasticsearch_indexed_projects_on_project_id" to "elasticsearch_indexed_projects_pkey"2905NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_elasticsearch_indexed_namespaces_on_namespace_id" to "elasticsearch_indexed_namespaces_pkey"2906NOTICE: trigger "trigger_448e14608510" for relation "pages_deployments" does not exist, skipping2907NOTICE: trigger "trigger_9a96291bb38d" for relation "application_settings" does not exist, skipping2908NOTICE: trigger "trigger_22a39c5c25f3" for relation "application_settings" does not exist, skipping2909NOTICE: trigger "trigger_1572cbc9a15f" for relation "application_settings" does not exist, skipping2910Gitlab::BackgroundMigration::RemoveUndefinedVulnerabilitySeverityLevel2911NOTICE: trigger "trigger_9a96291bb38d" for relation "application_settings" does not exist, skipping2912NOTICE: trigger "trigger_22a39c5c25f3" for relation "application_settings" does not exist, skipping2913NOTICE: trigger "trigger_1572cbc9a15f" for relation "application_settings" does not exist, skipping2914NOTICE: trigger "trigger_448e14608510" for relation "pages_deployments" does not exist, skipping2915NOTICE: trigger "trigger_1f0ae12498d3" for relation "application_settings" does not exist, skipping2916NOTICE: trigger "trigger_72b785aa2f14" for relation "application_settings" does not exist, skipping2917NOTICE: trigger "trigger_3d531acd472b" for relation "application_settings" does not exist, skipping2918NOTICE: trigger "trigger_8fe85065a3f9" for relation "application_settings" does not exist, skipping2919NOTICE: trigger "trigger_d5eb03a59792" for relation "packages_pypi_metadata" does not exist, skipping2920NOTICE: constraint "check_fcfb4a93ff" of relation "epics" does not exist, skipping2921NOTICE: constraint "check_970d272570" of relation "merge_requests" does not exist, skipping2922NOTICE: constraint "check_fba63f706d" of relation "issues" does not exist, skipping2923NOTICE: constraint "check_81b431e49b" of relation "ci_stages" does not exist, skipping2924NOTICE: constraint "check_1e2fbd1b39" of relation "ci_builds" does not exist, skipping2925NOTICE: constraint "check_d7e99a025e" of relation "ci_pipelines" does not exist, skipping2926NOTICE: constraint "check_242f0cc65c" of relation "webauthn_registrations" does not exist, skipping2927NOTICE: trigger "trigger_f14363ffbcd3" for relation "sprints" does not exist, skipping2928 updates undefined severity level to unknown2929NOTICE: constraint "lfs_objects_file_store_not_null" of relation "lfs_objects" does not exist, skipping2930NOTICE: constraint "ci_job_artifacts_file_store_not_null" of relation "ci_job_artifacts" does not exist, skipping2931NOTICE: constraint "uploads_store_not_null" of relation "uploads" does not exist, skipping2932NOTICE: trigger "trigger_f14363ffbcd3" for relation "sprints" does not exist, skipping2933NOTICE: schema "partitions_dynamic" does not exist, skipping2934NOTICE: table "untracked_files_for_uploads" does not exist, skipping2935NOTICE: trigger "trigger_d5eb03a59792" for relation "packages_pypi_metadata" does not exist, skipping2936NOTICE: trigger "trigger_8fe85065a3f9" for relation "application_settings" does not exist, skipping2937NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_project_authorizations_on_user_id_project_id_access_level" to "project_authorizations_pkey"2938NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "analytics_repository_languages_unique_index" to "analytics_language_trend_repository_languages_pkey"2939NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_approval_project_rules_protected_branches_unique" to "approval_project_rules_protected_branches_pkey"2940NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_ci_build_trace_sections_on_build_id_and_section_name_id" to "ci_build_trace_sections_pkey"2941NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "idx_deployment_merge_requests_unique_index" to "deployment_merge_requests_pkey"2942NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_issue_assignees_on_issue_id_and_user_id" to "issue_assignees_pkey"2943NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "issue_id_prometheus_alert_event_id_index" to "issues_prometheus_alert_events_pkey"2944NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "issue_id_self_managed_prometheus_alert_event_id_index" to "issues_self_managed_prometheus_alert_events_pkey"2945NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_merge_request_diff_commits_on_mr_diff_id_and_order" to "merge_request_diff_commits_pkey"2946NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_merge_request_diff_files_on_mr_diff_id_and_order" to "merge_request_diff_files_pkey"2947NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_miletone_releases_on_milestone_and_release" to "milestone_releases_pkey"2948NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_project_pages_metadata_on_project_id" to "project_pages_metadata_pkey"2949NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_push_event_payloads_on_event_id" to "push_event_payloads_pkey"2950NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_repository_languages_on_project_and_languages_id" to "repository_languages_pkey"2951NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_user_interacted_projects_on_project_id_and_user_id" to "user_interacted_projects_pkey"2952NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "users_security_dashboard_projects_unique_index" to "users_security_dashboard_projects_pkey"2953NOTICE: trigger "trigger_1f0ae12498d3" for relation "application_settings" does not exist, skipping2954NOTICE: trigger "trigger_72b785aa2f14" for relation "application_settings" does not exist, skipping2955NOTICE: trigger "trigger_3d531acd472b" for relation "application_settings" does not exist, skipping2956NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_elasticsearch_indexed_projects_on_project_id" to "elasticsearch_indexed_projects_pkey"2957NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_elasticsearch_indexed_namespaces_on_namespace_id" to "elasticsearch_indexed_namespaces_pkey"2958NOTICE: trigger "trigger_448e14608510" for relation "pages_deployments" does not exist, skipping2959NOTICE: trigger "trigger_9a96291bb38d" for relation "application_settings" does not exist, skipping2960NOTICE: trigger "trigger_22a39c5c25f3" for relation "application_settings" does not exist, skipping2961NOTICE: trigger "trigger_1572cbc9a15f" for relation "application_settings" does not exist, skipping2962Gitlab::BackgroundMigration::PopulateAnyApprovalRuleForMergeRequests2963NOTICE: trigger "trigger_9a96291bb38d" for relation "application_settings" does not exist, skipping2964NOTICE: trigger "trigger_22a39c5c25f3" for relation "application_settings" does not exist, skipping2965NOTICE: trigger "trigger_1572cbc9a15f" for relation "application_settings" does not exist, skipping2966NOTICE: trigger "trigger_448e14608510" for relation "pages_deployments" does not exist, skipping2967NOTICE: trigger "trigger_1f0ae12498d3" for relation "application_settings" does not exist, skipping2968NOTICE: trigger "trigger_72b785aa2f14" for relation "application_settings" does not exist, skipping2969NOTICE: trigger "trigger_3d531acd472b" for relation "application_settings" does not exist, skipping2970NOTICE: trigger "trigger_8fe85065a3f9" for relation "application_settings" does not exist, skipping2971NOTICE: trigger "trigger_d5eb03a59792" for relation "packages_pypi_metadata" does not exist, skipping2972NOTICE: constraint "check_fcfb4a93ff" of relation "epics" does not exist, skipping2973NOTICE: constraint "check_970d272570" of relation "merge_requests" does not exist, skipping2974NOTICE: constraint "check_fba63f706d" of relation "issues" does not exist, skipping2975NOTICE: constraint "check_81b431e49b" of relation "ci_stages" does not exist, skipping2976NOTICE: constraint "check_1e2fbd1b39" of relation "ci_builds" does not exist, skipping2977NOTICE: constraint "check_d7e99a025e" of relation "ci_pipelines" does not exist, skipping2978NOTICE: constraint "check_242f0cc65c" of relation "webauthn_registrations" does not exist, skipping2979NOTICE: trigger "trigger_f14363ffbcd3" for relation "sprints" does not exist, skipping2980NOTICE: trigger "trigger_9ab19b89128a" for relation "vulnerabilities" does not exist, skipping2981NOTICE: trigger "trigger_27c6ea5cb43e" for relation "vulnerabilities" does not exist, skipping2982NOTICE: trigger "trigger_5e971e2e2c26" for relation "pages_domains" does not exist, skipping2983NOTICE: trigger "trigger_e856257b2421" for relation "commit_user_mentions" does not exist, skipping2984NOTICE: trigger "trigger_5299882abc4c" for relation "software_license_policies" does not exist, skipping2985NOTICE: trigger "trigger_4821f661bf92" for relation "application_settings" does not exist, skipping2986NOTICE: trigger "trigger_97893debd1d4" for relation "design_management_versions" does not exist, skipping2987 #perform2988 creates approval_merge_request_rules rows according to merge_requests2989NOTICE: trigger "trigger_97893debd1d4" for relation "design_management_versions" does not exist, skipping2990NOTICE: trigger "trigger_4821f661bf92" for relation "application_settings" does not exist, skipping2991DEPRECATION WARNING: Class level methods will no longer inherit scoping from `with_unique_issue_ids` in Rails 6.1. To continue using the scoped relation, pass it into the block directly. To instead access the full set of models, as Rails 6.1 will, use `BackfillVersionAuthorAndCreatedAt::Version.default_scoped`. (called from block in <class:Version> at /builds/gitlab-org/gitlab/db/post_migrate/20191030223057_backfill_version_author_and_created_at.rb:32)2992NOTICE: trigger "trigger_5299882abc4c" for relation "software_license_policies" does not exist, skipping2993NOTICE: trigger "trigger_e856257b2421" for relation "commit_user_mentions" does not exist, skipping2994NOTICE: trigger "trigger_5e971e2e2c26" for relation "pages_domains" does not exist, skipping2995NOTICE: table "deployment_clusters" does not exist, skipping2996NOTICE: trigger "trigger_27c6ea5cb43e" for relation "vulnerabilities" does not exist, skipping2997NOTICE: trigger "trigger_9ab19b89128a" for relation "vulnerabilities" does not exist, skipping2998NOTICE: constraint "lfs_objects_file_store_not_null" of relation "lfs_objects" does not exist, skipping2999NOTICE: constraint "ci_job_artifacts_file_store_not_null" of relation "ci_job_artifacts" does not exist, skipping3000NOTICE: constraint "uploads_store_not_null" of relation "uploads" does not exist, skipping3001NOTICE: trigger "trigger_f14363ffbcd3" for relation "sprints" does not exist, skipping3002NOTICE: schema "partitions_dynamic" does not exist, skipping3003NOTICE: table "untracked_files_for_uploads" does not exist, skipping3004NOTICE: trigger "trigger_d5eb03a59792" for relation "packages_pypi_metadata" does not exist, skipping3005NOTICE: trigger "trigger_8fe85065a3f9" for relation "application_settings" does not exist, skipping3006NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_project_authorizations_on_user_id_project_id_access_level" to "project_authorizations_pkey"3007NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "analytics_repository_languages_unique_index" to "analytics_language_trend_repository_languages_pkey"3008NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_approval_project_rules_protected_branches_unique" to "approval_project_rules_protected_branches_pkey"3009NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_ci_build_trace_sections_on_build_id_and_section_name_id" to "ci_build_trace_sections_pkey"3010NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "idx_deployment_merge_requests_unique_index" to "deployment_merge_requests_pkey"3011NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_issue_assignees_on_issue_id_and_user_id" to "issue_assignees_pkey"3012NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "issue_id_prometheus_alert_event_id_index" to "issues_prometheus_alert_events_pkey"3013NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "issue_id_self_managed_prometheus_alert_event_id_index" to "issues_self_managed_prometheus_alert_events_pkey"3014NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_merge_request_diff_commits_on_mr_diff_id_and_order" to "merge_request_diff_commits_pkey"3015NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_merge_request_diff_files_on_mr_diff_id_and_order" to "merge_request_diff_files_pkey"3016NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_miletone_releases_on_milestone_and_release" to "milestone_releases_pkey"3017NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_project_pages_metadata_on_project_id" to "project_pages_metadata_pkey"3018NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_push_event_payloads_on_event_id" to "push_event_payloads_pkey"3019NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_repository_languages_on_project_and_languages_id" to "repository_languages_pkey"3020NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_user_interacted_projects_on_project_id_and_user_id" to "user_interacted_projects_pkey"3021NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "users_security_dashboard_projects_unique_index" to "users_security_dashboard_projects_pkey"3022NOTICE: trigger "trigger_1f0ae12498d3" for relation "application_settings" does not exist, skipping3023NOTICE: trigger "trigger_72b785aa2f14" for relation "application_settings" does not exist, skipping3024NOTICE: trigger "trigger_3d531acd472b" for relation "application_settings" does not exist, skipping3025NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_elasticsearch_indexed_projects_on_project_id" to "elasticsearch_indexed_projects_pkey"3026NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_elasticsearch_indexed_namespaces_on_namespace_id" to "elasticsearch_indexed_namespaces_pkey"3027NOTICE: trigger "trigger_448e14608510" for relation "pages_deployments" does not exist, skipping3028NOTICE: trigger "trigger_9a96291bb38d" for relation "application_settings" does not exist, skipping3029NOTICE: trigger "trigger_22a39c5c25f3" for relation "application_settings" does not exist, skipping3030NOTICE: trigger "trigger_1572cbc9a15f" for relation "application_settings" does not exist, skipping3031Gitlab::BackgroundMigration::RemoveUndefinedOccurrenceConfidenceLevel3032NOTICE: trigger "trigger_9a96291bb38d" for relation "application_settings" does not exist, skipping3033NOTICE: trigger "trigger_22a39c5c25f3" for relation "application_settings" does not exist, skipping3034NOTICE: trigger "trigger_1572cbc9a15f" for relation "application_settings" does not exist, skipping3035NOTICE: trigger "trigger_448e14608510" for relation "pages_deployments" does not exist, skipping3036NOTICE: trigger "trigger_1f0ae12498d3" for relation "application_settings" does not exist, skipping3037NOTICE: trigger "trigger_72b785aa2f14" for relation "application_settings" does not exist, skipping3038NOTICE: trigger "trigger_3d531acd472b" for relation "application_settings" does not exist, skipping3039NOTICE: trigger "trigger_8fe85065a3f9" for relation "application_settings" does not exist, skipping3040NOTICE: trigger "trigger_d5eb03a59792" for relation "packages_pypi_metadata" does not exist, skipping3041NOTICE: constraint "check_fcfb4a93ff" of relation "epics" does not exist, skipping3042NOTICE: constraint "check_970d272570" of relation "merge_requests" does not exist, skipping3043NOTICE: constraint "check_fba63f706d" of relation "issues" does not exist, skipping3044NOTICE: constraint "check_81b431e49b" of relation "ci_stages" does not exist, skipping3045NOTICE: constraint "check_1e2fbd1b39" of relation "ci_builds" does not exist, skipping3046NOTICE: constraint "check_d7e99a025e" of relation "ci_pipelines" does not exist, skipping3047NOTICE: constraint "check_242f0cc65c" of relation "webauthn_registrations" does not exist, skipping3048 updates undefined Confidence level to unknown3049NOTICE: constraint "check_5ebd0515a0" of relation "ci_instance_variables" does not exist, skipping3050NOTICE: schema "partitions_dynamic" does not exist, skipping3051NOTICE: table "untracked_files_for_uploads" does not exist, skipping3052NOTICE: trigger "trigger_d5eb03a59792" for relation "packages_pypi_metadata" does not exist, skipping3053NOTICE: trigger "trigger_8fe85065a3f9" for relation "application_settings" does not exist, skipping3054NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_project_authorizations_on_user_id_project_id_access_level" to "project_authorizations_pkey"3055NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "analytics_repository_languages_unique_index" to "analytics_language_trend_repository_languages_pkey"3056NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_approval_project_rules_protected_branches_unique" to "approval_project_rules_protected_branches_pkey"3057NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_ci_build_trace_sections_on_build_id_and_section_name_id" to "ci_build_trace_sections_pkey"3058NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "idx_deployment_merge_requests_unique_index" to "deployment_merge_requests_pkey"3059NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_issue_assignees_on_issue_id_and_user_id" to "issue_assignees_pkey"3060NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "issue_id_prometheus_alert_event_id_index" to "issues_prometheus_alert_events_pkey"3061NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "issue_id_self_managed_prometheus_alert_event_id_index" to "issues_self_managed_prometheus_alert_events_pkey"3062NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_merge_request_diff_commits_on_mr_diff_id_and_order" to "merge_request_diff_commits_pkey"3063NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_merge_request_diff_files_on_mr_diff_id_and_order" to "merge_request_diff_files_pkey"3064NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_miletone_releases_on_milestone_and_release" to "milestone_releases_pkey"3065NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_project_pages_metadata_on_project_id" to "project_pages_metadata_pkey"3066NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_push_event_payloads_on_event_id" to "push_event_payloads_pkey"3067NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_repository_languages_on_project_and_languages_id" to "repository_languages_pkey"3068NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_user_interacted_projects_on_project_id_and_user_id" to "user_interacted_projects_pkey"3069NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "users_security_dashboard_projects_unique_index" to "users_security_dashboard_projects_pkey"3070NOTICE: trigger "trigger_1f0ae12498d3" for relation "application_settings" does not exist, skipping3071NOTICE: trigger "trigger_72b785aa2f14" for relation "application_settings" does not exist, skipping3072NOTICE: trigger "trigger_3d531acd472b" for relation "application_settings" does not exist, skipping3073NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_elasticsearch_indexed_projects_on_project_id" to "elasticsearch_indexed_projects_pkey"3074NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_elasticsearch_indexed_namespaces_on_namespace_id" to "elasticsearch_indexed_namespaces_pkey"3075NOTICE: trigger "trigger_448e14608510" for relation "pages_deployments" does not exist, skipping3076NOTICE: trigger "trigger_9a96291bb38d" for relation "application_settings" does not exist, skipping3077NOTICE: trigger "trigger_22a39c5c25f3" for relation "application_settings" does not exist, skipping3078NOTICE: trigger "trigger_1572cbc9a15f" for relation "application_settings" does not exist, skipping3079Gitlab::BackgroundMigration::RemoveUndefinedOccurrenceSeverityLevel3080NOTICE: trigger "trigger_9a96291bb38d" for relation "application_settings" does not exist, skipping3081NOTICE: trigger "trigger_22a39c5c25f3" for relation "application_settings" does not exist, skipping3082NOTICE: trigger "trigger_1572cbc9a15f" for relation "application_settings" does not exist, skipping3083NOTICE: trigger "trigger_448e14608510" for relation "pages_deployments" does not exist, skipping3084NOTICE: trigger "trigger_1f0ae12498d3" for relation "application_settings" does not exist, skipping3085NOTICE: trigger "trigger_72b785aa2f14" for relation "application_settings" does not exist, skipping3086NOTICE: trigger "trigger_3d531acd472b" for relation "application_settings" does not exist, skipping3087NOTICE: trigger "trigger_8fe85065a3f9" for relation "application_settings" does not exist, skipping3088NOTICE: trigger "trigger_d5eb03a59792" for relation "packages_pypi_metadata" does not exist, skipping3089NOTICE: constraint "check_fcfb4a93ff" of relation "epics" does not exist, skipping3090NOTICE: constraint "check_970d272570" of relation "merge_requests" does not exist, skipping3091NOTICE: constraint "check_fba63f706d" of relation "issues" does not exist, skipping3092NOTICE: constraint "check_81b431e49b" of relation "ci_stages" does not exist, skipping3093NOTICE: constraint "check_1e2fbd1b39" of relation "ci_builds" does not exist, skipping3094NOTICE: constraint "check_d7e99a025e" of relation "ci_pipelines" does not exist, skipping3095NOTICE: constraint "check_242f0cc65c" of relation "webauthn_registrations" does not exist, skipping3096NOTICE: trigger "trigger_f14363ffbcd3" for relation "sprints" does not exist, skipping3097 updates undefined severity level to unknown3098NOTICE: constraint "lfs_objects_file_store_not_null" of relation "lfs_objects" does not exist, skipping3099NOTICE: constraint "ci_job_artifacts_file_store_not_null" of relation "ci_job_artifacts" does not exist, skipping3100NOTICE: constraint "uploads_store_not_null" of relation "uploads" does not exist, skipping3101NOTICE: trigger "trigger_f14363ffbcd3" for relation "sprints" does not exist, skipping3102NOTICE: schema "partitions_dynamic" does not exist, skipping3103NOTICE: table "untracked_files_for_uploads" does not exist, skipping3104NOTICE: trigger "trigger_d5eb03a59792" for relation "packages_pypi_metadata" does not exist, skipping3105NOTICE: trigger "trigger_8fe85065a3f9" for relation "application_settings" does not exist, skipping3106NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_project_authorizations_on_user_id_project_id_access_level" to "project_authorizations_pkey"3107NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "analytics_repository_languages_unique_index" to "analytics_language_trend_repository_languages_pkey"3108NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_approval_project_rules_protected_branches_unique" to "approval_project_rules_protected_branches_pkey"3109NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_ci_build_trace_sections_on_build_id_and_section_name_id" to "ci_build_trace_sections_pkey"3110NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "idx_deployment_merge_requests_unique_index" to "deployment_merge_requests_pkey"3111NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_issue_assignees_on_issue_id_and_user_id" to "issue_assignees_pkey"3112NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "issue_id_prometheus_alert_event_id_index" to "issues_prometheus_alert_events_pkey"3113NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "issue_id_self_managed_prometheus_alert_event_id_index" to "issues_self_managed_prometheus_alert_events_pkey"3114NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_merge_request_diff_commits_on_mr_diff_id_and_order" to "merge_request_diff_commits_pkey"3115NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_merge_request_diff_files_on_mr_diff_id_and_order" to "merge_request_diff_files_pkey"3116NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_miletone_releases_on_milestone_and_release" to "milestone_releases_pkey"3117NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_project_pages_metadata_on_project_id" to "project_pages_metadata_pkey"3118NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_push_event_payloads_on_event_id" to "push_event_payloads_pkey"3119NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_repository_languages_on_project_and_languages_id" to "repository_languages_pkey"3120NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_user_interacted_projects_on_project_id_and_user_id" to "user_interacted_projects_pkey"3121NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "users_security_dashboard_projects_unique_index" to "users_security_dashboard_projects_pkey"3122NOTICE: trigger "trigger_1f0ae12498d3" for relation "application_settings" does not exist, skipping3123NOTICE: trigger "trigger_72b785aa2f14" for relation "application_settings" does not exist, skipping3124NOTICE: trigger "trigger_3d531acd472b" for relation "application_settings" does not exist, skipping3125NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_elasticsearch_indexed_projects_on_project_id" to "elasticsearch_indexed_projects_pkey"3126NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_elasticsearch_indexed_namespaces_on_namespace_id" to "elasticsearch_indexed_namespaces_pkey"3127NOTICE: trigger "trigger_448e14608510" for relation "pages_deployments" does not exist, skipping3128NOTICE: trigger "trigger_9a96291bb38d" for relation "application_settings" does not exist, skipping3129NOTICE: trigger "trigger_22a39c5c25f3" for relation "application_settings" does not exist, skipping3130NOTICE: trigger "trigger_1572cbc9a15f" for relation "application_settings" does not exist, skipping3131Gitlab::BackgroundMigration::UpdateVulnerabilityConfidence3132NOTICE: trigger "trigger_9a96291bb38d" for relation "application_settings" does not exist, skipping3133NOTICE: trigger "trigger_22a39c5c25f3" for relation "application_settings" does not exist, skipping3134NOTICE: trigger "trigger_1572cbc9a15f" for relation "application_settings" does not exist, skipping3135NOTICE: trigger "trigger_448e14608510" for relation "pages_deployments" does not exist, skipping3136NOTICE: trigger "trigger_1f0ae12498d3" for relation "application_settings" does not exist, skipping3137NOTICE: trigger "trigger_72b785aa2f14" for relation "application_settings" does not exist, skipping3138NOTICE: trigger "trigger_3d531acd472b" for relation "application_settings" does not exist, skipping3139NOTICE: trigger "trigger_8fe85065a3f9" for relation "application_settings" does not exist, skipping3140NOTICE: trigger "trigger_d5eb03a59792" for relation "packages_pypi_metadata" does not exist, skipping3141NOTICE: constraint "check_fcfb4a93ff" of relation "epics" does not exist, skipping3142NOTICE: constraint "check_970d272570" of relation "merge_requests" does not exist, skipping3143NOTICE: constraint "check_fba63f706d" of relation "issues" does not exist, skipping3144NOTICE: constraint "check_81b431e49b" of relation "ci_stages" does not exist, skipping3145NOTICE: constraint "check_1e2fbd1b39" of relation "ci_builds" does not exist, skipping3146NOTICE: constraint "check_d7e99a025e" of relation "ci_pipelines" does not exist, skipping3147NOTICE: constraint "check_242f0cc65c" of relation "webauthn_registrations" does not exist, skipping3148NOTICE: trigger "trigger_f14363ffbcd3" for relation "sprints" does not exist, skipping3149NOTICE: trigger "trigger_9ab19b89128a" for relation "vulnerabilities" does not exist, skipping3150NOTICE: trigger "trigger_27c6ea5cb43e" for relation "vulnerabilities" does not exist, skipping3151NOTICE: trigger "trigger_5e971e2e2c26" for relation "pages_domains" does not exist, skipping3152NOTICE: trigger "trigger_e856257b2421" for relation "commit_user_mentions" does not exist, skipping3153NOTICE: trigger "trigger_5299882abc4c" for relation "software_license_policies" does not exist, skipping3154NOTICE: trigger "trigger_4821f661bf92" for relation "application_settings" does not exist, skipping3155NOTICE: trigger "trigger_97893debd1d4" for relation "design_management_versions" does not exist, skipping3156 updates confidence level for container scanning reports3157NOTICE: trigger "trigger_97893debd1d4" for relation "design_management_versions" does not exist, skipping3158NOTICE: trigger "trigger_4821f661bf92" for relation "application_settings" does not exist, skipping3159DEPRECATION WARNING: Class level methods will no longer inherit scoping from `with_unique_issue_ids` in Rails 6.1. To continue using the scoped relation, pass it into the block directly. To instead access the full set of models, as Rails 6.1 will, use `BackfillVersionAuthorAndCreatedAt::Version.default_scoped`. (called from block in <class:Version> at /builds/gitlab-org/gitlab/db/post_migrate/20191030223057_backfill_version_author_and_created_at.rb:32)3160NOTICE: trigger "trigger_5299882abc4c" for relation "software_license_policies" does not exist, skipping3161NOTICE: trigger "trigger_e856257b2421" for relation "commit_user_mentions" does not exist, skipping3162NOTICE: trigger "trigger_5e971e2e2c26" for relation "pages_domains" does not exist, skipping3163NOTICE: table "deployment_clusters" does not exist, skipping3164NOTICE: trigger "trigger_27c6ea5cb43e" for relation "vulnerabilities" does not exist, skipping3165NOTICE: trigger "trigger_9ab19b89128a" for relation "vulnerabilities" does not exist, skipping3166NOTICE: constraint "lfs_objects_file_store_not_null" of relation "lfs_objects" does not exist, skipping3167NOTICE: constraint "ci_job_artifacts_file_store_not_null" of relation "ci_job_artifacts" does not exist, skipping3168NOTICE: constraint "uploads_store_not_null" of relation "uploads" does not exist, skipping3169NOTICE: trigger "trigger_f14363ffbcd3" for relation "sprints" does not exist, skipping3170NOTICE: schema "partitions_dynamic" does not exist, skipping3171NOTICE: table "untracked_files_for_uploads" does not exist, skipping3172NOTICE: trigger "trigger_d5eb03a59792" for relation "packages_pypi_metadata" does not exist, skipping3173NOTICE: trigger "trigger_8fe85065a3f9" for relation "application_settings" does not exist, skipping3174NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_project_authorizations_on_user_id_project_id_access_level" to "project_authorizations_pkey"3175NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "analytics_repository_languages_unique_index" to "analytics_language_trend_repository_languages_pkey"3176NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_approval_project_rules_protected_branches_unique" to "approval_project_rules_protected_branches_pkey"3177NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_ci_build_trace_sections_on_build_id_and_section_name_id" to "ci_build_trace_sections_pkey"3178NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "idx_deployment_merge_requests_unique_index" to "deployment_merge_requests_pkey"3179NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_issue_assignees_on_issue_id_and_user_id" to "issue_assignees_pkey"3180NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "issue_id_prometheus_alert_event_id_index" to "issues_prometheus_alert_events_pkey"3181NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "issue_id_self_managed_prometheus_alert_event_id_index" to "issues_self_managed_prometheus_alert_events_pkey"3182NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_merge_request_diff_commits_on_mr_diff_id_and_order" to "merge_request_diff_commits_pkey"3183NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_merge_request_diff_files_on_mr_diff_id_and_order" to "merge_request_diff_files_pkey"3184NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_miletone_releases_on_milestone_and_release" to "milestone_releases_pkey"3185NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_project_pages_metadata_on_project_id" to "project_pages_metadata_pkey"3186NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_push_event_payloads_on_event_id" to "push_event_payloads_pkey"3187NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_repository_languages_on_project_and_languages_id" to "repository_languages_pkey"3188NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_user_interacted_projects_on_project_id_and_user_id" to "user_interacted_projects_pkey"3189NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "users_security_dashboard_projects_unique_index" to "users_security_dashboard_projects_pkey"3190NOTICE: trigger "trigger_1f0ae12498d3" for relation "application_settings" does not exist, skipping3191NOTICE: trigger "trigger_72b785aa2f14" for relation "application_settings" does not exist, skipping3192NOTICE: trigger "trigger_3d531acd472b" for relation "application_settings" does not exist, skipping3193NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_elasticsearch_indexed_projects_on_project_id" to "elasticsearch_indexed_projects_pkey"3194NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_elasticsearch_indexed_namespaces_on_namespace_id" to "elasticsearch_indexed_namespaces_pkey"3195NOTICE: trigger "trigger_448e14608510" for relation "pages_deployments" does not exist, skipping3196NOTICE: trigger "trigger_9a96291bb38d" for relation "application_settings" does not exist, skipping3197NOTICE: trigger "trigger_22a39c5c25f3" for relation "application_settings" does not exist, skipping3198NOTICE: trigger "trigger_1572cbc9a15f" for relation "application_settings" does not exist, skipping3199Gitlab::BackgroundMigration::FixRubyObjectInAuditEvents3200NOTICE: trigger "trigger_9a96291bb38d" for relation "application_settings" does not exist, skipping3201NOTICE: trigger "trigger_22a39c5c25f3" for relation "application_settings" does not exist, skipping3202NOTICE: trigger "trigger_1572cbc9a15f" for relation "application_settings" does not exist, skipping3203NOTICE: trigger "trigger_448e14608510" for relation "pages_deployments" does not exist, skipping3204NOTICE: trigger "trigger_1f0ae12498d3" for relation "application_settings" does not exist, skipping3205NOTICE: trigger "trigger_72b785aa2f14" for relation "application_settings" does not exist, skipping3206NOTICE: trigger "trigger_3d531acd472b" for relation "application_settings" does not exist, skipping3207NOTICE: trigger "trigger_8fe85065a3f9" for relation "application_settings" does not exist, skipping3208NOTICE: trigger "trigger_d5eb03a59792" for relation "packages_pypi_metadata" does not exist, skipping3209NOTICE: constraint "check_fcfb4a93ff" of relation "epics" does not exist, skipping3210NOTICE: constraint "check_970d272570" of relation "merge_requests" does not exist, skipping3211NOTICE: constraint "check_fba63f706d" of relation "issues" does not exist, skipping3212NOTICE: constraint "check_81b431e49b" of relation "ci_stages" does not exist, skipping3213NOTICE: constraint "check_1e2fbd1b39" of relation "ci_builds" does not exist, skipping3214NOTICE: constraint "check_d7e99a025e" of relation "ci_pipelines" does not exist, skipping3215 cleans up ruby/object in details field3216NOTICE: constraint "check_5ebd0515a0" of relation "ci_instance_variables" does not exist, skipping3217NOTICE: schema "partitions_dynamic" does not exist, skipping3218NOTICE: table "untracked_files_for_uploads" does not exist, skipping3219NOTICE: trigger "trigger_d5eb03a59792" for relation "packages_pypi_metadata" does not exist, skipping3220NOTICE: trigger "trigger_8fe85065a3f9" for relation "application_settings" does not exist, skipping3221NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_project_authorizations_on_user_id_project_id_access_level" to "project_authorizations_pkey"3222NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "analytics_repository_languages_unique_index" to "analytics_language_trend_repository_languages_pkey"3223NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_approval_project_rules_protected_branches_unique" to "approval_project_rules_protected_branches_pkey"3224NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_ci_build_trace_sections_on_build_id_and_section_name_id" to "ci_build_trace_sections_pkey"3225NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "idx_deployment_merge_requests_unique_index" to "deployment_merge_requests_pkey"3226NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_issue_assignees_on_issue_id_and_user_id" to "issue_assignees_pkey"3227NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "issue_id_prometheus_alert_event_id_index" to "issues_prometheus_alert_events_pkey"3228NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "issue_id_self_managed_prometheus_alert_event_id_index" to "issues_self_managed_prometheus_alert_events_pkey"3229NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_merge_request_diff_commits_on_mr_diff_id_and_order" to "merge_request_diff_commits_pkey"3230NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_merge_request_diff_files_on_mr_diff_id_and_order" to "merge_request_diff_files_pkey"3231NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_miletone_releases_on_milestone_and_release" to "milestone_releases_pkey"3232NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_project_pages_metadata_on_project_id" to "project_pages_metadata_pkey"3233NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_push_event_payloads_on_event_id" to "push_event_payloads_pkey"3234NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_repository_languages_on_project_and_languages_id" to "repository_languages_pkey"3235NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_user_interacted_projects_on_project_id_and_user_id" to "user_interacted_projects_pkey"3236NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "users_security_dashboard_projects_unique_index" to "users_security_dashboard_projects_pkey"3237NOTICE: trigger "trigger_1f0ae12498d3" for relation "application_settings" does not exist, skipping3238NOTICE: trigger "trigger_72b785aa2f14" for relation "application_settings" does not exist, skipping3239NOTICE: trigger "trigger_3d531acd472b" for relation "application_settings" does not exist, skipping3240NOTICE: constraint "check_242f0cc65c" of relation "webauthn_registrations" does not exist, skipping3241NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_elasticsearch_indexed_projects_on_project_id" to "elasticsearch_indexed_projects_pkey"3242NOTICE: ALTER TABLE / ADD CONSTRAINT USING INDEX will rename index "index_elasticsearch_indexed_namespaces_on_namespace_id" to "elasticsearch_indexed_namespaces_pkey"3243NOTICE: trigger "trigger_448e14608510" for relation "pages_deployments" does not exist, skipping3244NOTICE: trigger "trigger_9a96291bb38d" for relation "application_settings" does not exist, skipping3245NOTICE: trigger "trigger_22a39c5c25f3" for relation "application_settings" does not exist, skipping3246NOTICE: trigger "trigger_1572cbc9a15f" for relation "application_settings" does not exist, skipping3247Knapsack report was generated. Preview:3248{3249 "ee/spec/lib/gitlab/background_migration/user_mentions/create_resource_user_mention_spec.rb": 6.500727415084839,3250 "ee/spec/lib/ee/gitlab/background_migration/remove_inaccessible_epic_todos_spec.rb": 4.770758152008057,3251 "ee/spec/lib/ee/gitlab/background_migration/populate_vulnerability_feedback_pipeline_id_spec.rb": 4.489903450012207,3252 "ee/spec/migrations/backfill_version_author_and_created_at_spec.rb": 3.541992425918579,3253 "ee/spec/migrations/backfill_operations_feature_flags_iid_spec.rb": 2.9300403594970703,3254 "ee/spec/lib/ee/gitlab/background_migration/update_vulnerabilities_to_dismissed_spec.rb": 2.846047878265381,3255 "ee/spec/lib/ee/gitlab/background_migration/move_epic_issues_after_epics_spec.rb": 2.9705588817596436,3256 "ee/spec/migrations/migrate_saml_identities_to_scim_identities_spec.rb": 2.9235894680023193,3257 "ee/spec/lib/ee/gitlab/background_migration/migrate_approver_to_approval_rules_in_batch_spec.rb": 2.650904417037964,3258 "ee/spec/migrations/migrate_vulnerability_dismissals_spec.rb": 2.2537786960601807,3259 "ee/spec/migrations/add_unique_constraint_to_software_licenses_spec.rb": 2.070291519165039,3260 "ee/spec/lib/ee/gitlab/background_migration/populate_resolved_on_default_branch_column_spec.rb": 1.822216272354126,3261 "ee/spec/migrations/update_undefined_confidence_from_vulnerabilities_spec.rb": 1.5067148208618164,3262 "ee/spec/migrations/update_location_fingerprint_column_for_cs_spec.rb": 1.6722333431243896,3263 "ee/spec/migrations/schedule_populate_vulnerability_historical_statistics_spec.rb": 1.7982792854309082,3264 "ee/spec/lib/ee/gitlab/background_migration/populate_vulnerability_historical_statistics_spec.rb": 1.5592727661132812,3265 "ee/spec/migrations/schedule_merge_request_any_approval_rule_migration_spec.rb": 1.2493047714233398,3266 "ee/spec/lib/gitlab/background_migration/fix_orphan_promoted_issues_spec.rb": 1.1739485263824463,3267 "ee/spec/migrations/update_occurrence_severity_column_spec.rb": 1.2828567028045654,3268 "ee/spec/migrations/backfill_software_licenses_spdx_identifiers_spec.rb": 1.2655527591705322,3269 "ee/spec/migrations/schedule_sync_blocking_issues_count_spec.rb": 1.0345041751861572,3270 "ee/spec/migrations/update_undefined_confidence_from_occurrences_spec.rb": 1.3197388648986816,3271 "ee/spec/migrations/schedule_populate_dismissed_state_for_vulnerabilities_spec.rb": 0.9209160804748535,3272 "ee/spec/migrations/migrate_epic_mentions_to_db_spec.rb": 0.9614717960357666,3273 "ee/spec/migrations/schedule_project_any_approval_rule_migration_spec.rb": 1.0852885246276855,3274 "ee/spec/migrations/migrate_epic_notes_mentions_to_db_spec.rb": 0.9037051200866699,3275 "ee/spec/lib/ee/gitlab/background_migration/update_location_fingerprint_for_container_scanning_findings_spec.rb": 1.1703288555145264,3276 "ee/spec/migrations/schedule_uuid_population_for_security_findings2_spec.rb": 0.7879323959350586,3277 "ee/spec/lib/ee/gitlab/background_migration/remove_duplicate_cs_findings_spec.rb": 0.973740816116333,3278 "ee/spec/lib/ee/gitlab/background_migration/remove_undefined_vulnerability_confidence_level_spec.rb": 0.5851809978485107,3279 "ee/spec/migrations/migrate_design_notes_mentions_to_db_spec.rb": 0.8296682834625244,3280 "ee/spec/migrations/nullify_feature_flag_plaintext_tokens_spec.rb": 0.9364290237426758,3281 "ee/spec/migrations/schedule_remove_inaccessible_epic_todos_spec.rb": 0.7375357151031494,3282 "ee/spec/migrations/fix_any_approver_rule_for_projects_spec.rb": 0.7022740840911865,3283 "ee/spec/migrations/remove_cycle_analytics_total_stage_data_spec.rb": 1.1602118015289307,3284 "ee/spec/migrations/update_cs_vulnerability_confidence_column_spec.rb": 0.5480630397796631,3285 "ee/spec/lib/ee/gitlab/background_migration/remove_duplicated_cs_findings_without_vulnerability_id_spec.rb": 0.5729410648345947,3286 "ee/spec/migrations/schedule_fix_orphan_promoted_issues_spec.rb": 0.5313706398010254,3287 "ee/spec/migrations/cleanup_deploy_access_levels_for_removed_groups_spec.rb": 0.6266088485717773,3288 "ee/spec/migrations/create_elastic_reindexing_subtasks_spec.rb": 0.5258083343505859,3289 "ee/spec/lib/ee/gitlab/background_migration/migrate_approver_to_approval_rules_check_progress_spec.rb": 0.4659864902496338,3290 "ee/spec/migrations/schedule_fix_ruby_object_in_audit_events_spec.rb": 0.445270299911499,3291 "ee/spec/lib/ee/gitlab/background_migration/populate_any_approval_rule_for_projects_spec.rb": 0.354933500289917,3292 "ee/spec/lib/ee/gitlab/background_migration/remove_undefined_vulnerability_severity_level_spec.rb": 0.43833017349243164,3293 "ee/spec/lib/ee/gitlab/background_migration/populate_any_approval_rule_for_merge_requests_spec.rb": 0.419069766998291,3294 "ee/spec/lib/ee/gitlab/background_migration/remove_undefined_occurrence_confidence_level_spec.rb": 0.3806724548339844,3295 "ee/spec/lib/ee/gitlab/background_migration/remove_undefined_occurrence_severity_level_spec.rb": 0.38147926330566406,3296 "ee/spec/lib/ee/gitlab/background_migration/update_vulnerability_confidence_spec.rb": 0.3759796619415283,3297 "ee/spec/lib/ee/gitlab/background_migration/fix_ruby_object_in_audit_events_spec.rb": 0.29635357856750493298}3299Knapsack global time execution for tests: 01m 11s3300Finished in 25 minutes 16 seconds (files took 54.87 seconds to load)3301106 examples, 0 failures3302Wed 03 Mar 2021 12:29:14 PM UTC3304Not uploading cache rails-v4-3 due to policy3306Uploading artifacts...3307coverage/: found 5 matching files and directories 3308WARNING: crystalball/: no matching files 3309deprecations/: found 23 matching files and directories 3310knapsack/: found 3 matching files and directories 3311rspec_flaky/: found 4 matching files and directories 3312rspec_profiling/: found 1 matching files and directories 3313WARNING: tmp/capybara/: no matching files 3314tmp/memory_test/: found 2 matching files and directories 3315tmp/feature_flags/: found 16 matching files and directories 3316log/*.log: found 14 matching files and directories 3317Uploading artifacts as "archive" to coordinator... ok id=1069712355 responseStatus=201 Created token=6HH3xEzF3318Uploading artifacts...3319junit_rspec.xml: found 1 matching files and directories 3320Uploading artifacts as "junit" to coordinator... ok id=1069712355 responseStatus=201 Created token=6HH3xEzF3322Job succeeded