rspec migration pg14 no_gitaly_transactions 6/26
Passed Started
by
@gitlab-bot

🤖 GitLab Bot 🤖
1Running with gitlab-runner 17.0.0~pre.88.g761ae5dd (761ae5dd)2 on green-1.private.runners-manager.gitlab.com/gitlab.com/gitlab-org 4bq1s9yM, system ID: s_9d15f3e4e7ae3 feature flags: FF_NETWORK_PER_BUILD:true4Resolving secrets6Using Docker executor with image registry.gitlab.com/gitlab-org/gitlab-build-images/debian-bookworm-ruby-3.1.5-golang-1.22-rust-1.73-node-20.12-postgresql-14:rubygems-3.4-git-2.36-lfs-2.9-chrome-123-yarn-1.22-graphicsmagick-1.3.36 ...7Starting service registry.gitlab.com/gitlab-org/gitlab-build-images:postgres-14-pgvector-0.4.1 ...8Authenticating with credentials from job payload (GitLab Registry)9Pulling docker image registry.gitlab.com/gitlab-org/gitlab-build-images:postgres-14-pgvector-0.4.1 ...10Using docker image sha256:82f132c22567f8ce17cc132c14b2f9aa3eaf9bb5424d91c2d966912433f0257d for registry.gitlab.com/gitlab-org/gitlab-build-images:postgres-14-pgvector-0.4.1 with digest registry.gitlab.com/gitlab-org/gitlab-build-images@sha256:c55e1364ee4327b244a9cfa1750f19feea14fc774eaf792b725967d146eb45f5 ...11WARNING: Service registry.gitlab.com/gitlab-org/gitlab-build-images:redis-cluster-6.2.12 is already created. Ignoring.12WARNING: Service registry.gitlab.com/gitlab-org/gitlab-build-images:redis-cluster-6.2.12 is already created. Ignoring.13Starting service registry.gitlab.com/gitlab-org/gitlab-build-images:redis-cluster-6.2.12 ...14Authenticating with credentials from job payload (GitLab Registry)15Pulling docker image registry.gitlab.com/gitlab-org/gitlab-build-images:redis-cluster-6.2.12 ...16Using docker image sha256:5c5ba5b83d6c60cb0b225bd670b7a43be8c238cc72347d24af57e5027c3648f3 for registry.gitlab.com/gitlab-org/gitlab-build-images:redis-cluster-6.2.12 with digest registry.gitlab.com/gitlab-org/gitlab-build-images@sha256:46aceab84c42d0e819c8e7940f2f98ce9e184785cd7b22d95872024a35f52407 ...17Starting service redis:6.2-alpine ...18Pulling docker image redis:6.2-alpine ...19Using docker image sha256:36c1d3cfe18f4b12d4640576f7048068acbfc3625027b6bbb46bba0e31b11831 for redis:6.2-alpine with digest redis@sha256:e3b17ba9479deec4b7d1eeec1548a253acc5374d68d3b27937fcfe4df8d18c7e ...20Waiting for services to be up and running (timeout 30 seconds)...21Authenticating with credentials from job payload (GitLab Registry)22Pulling docker image registry.gitlab.com/gitlab-org/gitlab-build-images/debian-bookworm-ruby-3.1.5-golang-1.22-rust-1.73-node-20.12-postgresql-14:rubygems-3.4-git-2.36-lfs-2.9-chrome-123-yarn-1.22-graphicsmagick-1.3.36 ...23Using docker image sha256:b26253b493531cada33f45ef568f38c50a310442d05c39f517656e0f7d305dc7 for registry.gitlab.com/gitlab-org/gitlab-build-images/debian-bookworm-ruby-3.1.5-golang-1.22-rust-1.73-node-20.12-postgresql-14:rubygems-3.4-git-2.36-lfs-2.9-chrome-123-yarn-1.22-graphicsmagick-1.3.36 with digest registry.gitlab.com/gitlab-org/gitlab-build-images/debian-bookworm-ruby-3.1.5-golang-1.22-rust-1.73-node-20.12-postgresql-14@sha256:543339542a02edc250c2c0424c5077b673f1fca2877024fdc5fb670eff44f8cf ...25Running on runner-4bq1s9ym-project-278964-concurrent-0 via runner-4bq1s9ym-private-1722411511-4b57d4df...27Skipping Git repository setup28Skipping Git checkout29Skipping Git submodules setup31Checking cache for ruby-gems-debian-bookworm-ruby-3.1.5-17...32Downloading cache from https://storage.googleapis.com/gitlab-com-runners-cache/project/278964/ruby-gems-debian-bookworm-ruby-3.1.5-17 33Successfully extracted cache35Downloading artifacts for clone-gitlab-repo (7471344368)...36Downloading artifacts from coordinator... ok host=storage.googleapis.com id=7471344368 responseStatus=200 OK token=glcbt-6637WARNING: Part of .git directory is on the list of files to extract 38WARNING: This may introduce unexpected problems 39Downloading artifacts for compile-test-assets (7471344747)...40Downloading artifacts from coordinator... ok host=storage.googleapis.com id=7471344747 responseStatus=200 OK token=glcbt-6641Downloading artifacts for retrieve-tests-metadata (7471344898)...42Downloading artifacts from coordinator... ok host=storage.googleapis.com id=7471344898 responseStatus=200 OK token=glcbt-6643Downloading artifacts for setup-test-env (7471344810)...44Downloading artifacts from coordinator... ok host=storage.googleapis.com id=7471344810 responseStatus=200 OK token=glcbt-66 45 Executing "step_script" stage of the job script 46Using docker image sha256:b26253b493531cada33f45ef568f38c50a310442d05c39f517656e0f7d305dc7 for registry.gitlab.com/gitlab-org/gitlab-build-images/debian-bookworm-ruby-3.1.5-golang-1.22-rust-1.73-node-20.12-postgresql-14:rubygems-3.4-git-2.36-lfs-2.9-chrome-123-yarn-1.22-graphicsmagick-1.3.36 with digest registry.gitlab.com/gitlab-org/gitlab-build-images/debian-bookworm-ruby-3.1.5-golang-1.22-rust-1.73-node-20.12-postgresql-14@sha256:543339542a02edc250c2c0424c5077b673f1fca2877024fdc5fb670eff44f8cf ...47$ echo $FOSS_ONLY48$ [ "$FOSS_ONLY" = "1" ] && rm -rf ee/ qa/spec/ee/ qa/qa/specs/features/ee/ qa/qa/ee/ qa/qa/ee.rb49$ export GOPATH=$CI_PROJECT_DIR/.go50$ mkdir -p $GOPATH51$ source scripts/utils.sh52$ source scripts/prepare_build.sh82Using decomposed database config (config/database.yml.decomposed-postgresql)83Geo DB won't be set up.84Embedding DB won't be set up.96$ source ./scripts/rspec_helpers.sh97$ run_timed_command "gem install knapsack --no-document"98$ gem install knapsack --no-document99Successfully installed knapsack-4.0.01001 gem installed101$ section_start "gitaly-test-spawn" "Spawning Gitaly"; scripts/gitaly-test-spawn; section_end "gitaly-test-spawn"102==> 'gem install knapsack --no-document' succeeded in 1 seconds.107$ export RSPEC_SKIPPED_TESTS_REPORT_PATH="rspec/skipped_tests-${CI_JOB_ID}.txt"108$ export RSPEC_RETRIED_TESTS_REPORT_PATH="rspec/retried_tests-${CI_JOB_ID}.txt"109$ tooling/bin/create_job_metrics_file || true110[job-metrics] Creating the job metrics file for the CI/CD job.111$ rspec_section rspec_parallelized_job "--fail-fast=${RSPEC_FAIL_FAST_THRESHOLD} --tag ~quarantine --tag ~zoekt --tag ~click_house"113[10:14:26] Starting rspec_parallelized_job114RETRY_FAILED_TESTS_IN_NEW_PROCESS: true115KNAPSACK_GENERATE_REPORT: true116FLAKY_RSPEC_GENERATE_REPORT: true117KNAPSACK_TEST_FILE_PATTERN: spec/{migrations}{,/**/}*_spec.rb118KNAPSACK_LOG_LEVEL: debug119KNAPSACK_REPORT_PATH: knapsack/rspec_migration_pg14_no_gitaly_transactions_6_26_278964_report.json120FLAKY_RSPEC_SUITE_REPORT_PATH: rspec/flaky/report-suite.json121FLAKY_RSPEC_REPORT_PATH: rspec/flaky/all_rspec_migration_pg14_no_gitaly_transactions_6_26_278964_report.json122NEW_FLAKY_RSPEC_REPORT_PATH: rspec/flaky/new_rspec_migration_pg14_no_gitaly_transactions_6_26_278964_report.json123RSPEC_SKIPPED_TESTS_REPORT_PATH: rspec/skipped_tests-7471346370.txt124CRYSTALBALL: true125RSPEC_TESTS_MAPPING_ENABLED: 126RSPEC_TESTS_FILTER_FILE: 127Shell set options (set -o) enabled:128braceexpand on129hashall on130interactive-comments on131pipefail on132Knapsack report generator started!133warning: parser/current is loading parser/ruby31, which recognizes 3.1.6-compliant syntax, but you are running 3.1.5.135Run options: exclude {:quarantine=>true, :zoekt=>true, :click_house=>true}136# [RSpecRunTime] Starting RSpec timer...137[TEST PROF INFO] EventProf enabled (sql.active_record)138unknown OID 2249: failed to recognize type of 'pg_stat_file'. It will be treated as String.139unknown OID 2249: failed to recognize type of 'pg_stat_file'. It will be treated as String.140Test environment set up in 1.498343811 seconds141# [RSpecRunTime] Starting example group spec/migrations/20230801150214_retry_cleanup_bigint_conversion_for_events_for_gitlab_com_spec.rb. Expected to take 2 minutes 53.61 seconds.142RetryCleanupBigintConversionForEventsForGitlabCom143 #up144 when column still exists145 when is GitLab.com, dev, or test146 drop the temporary columns147 when is a self-managed instance148 behaves like skips the up migration149 doesn't calls cleanup_conversion_of_integer_to_bigint method150# [RSpecRunTime] RSpec elapsed time: 1 minute 54.26 seconds. Current RSS: ~1458M. Threads: 2. load average: 1.21 1.02 1.04 1/273 401151.152 when column not exists153 when is GitLab.com, dev, or test154 behaves like skips the up migration155 doesn't calls cleanup_conversion_of_integer_to_bigint method156# [RSpecRunTime] RSpec elapsed time: 2 minutes 6.51 seconds. Current RSS: ~1473M. Threads: 2. load average: 1.24 1.04 1.04 1/273 402157.158 when is a self-managed instance159 behaves like skips the up migration160 doesn't calls cleanup_conversion_of_integer_to_bigint method161# [RSpecRunTime] RSpec elapsed time: 2 minutes 17.39 seconds. Current RSS: ~1480M. Threads: 2. load average: 1.20 1.04 1.04 1/273 403162.163 #down164 when column still exists165 when is GitLab.com, dev, or test166 behaves like skips the down migration167 doesn't calls restore_conversion_of_integer_to_bigint method168# [RSpecRunTime] RSpec elapsed time: 2 minutes 28.33 seconds. Current RSS: ~1463M. Threads: 2. load average: 1.17 1.04 1.04 1/275 405169.170 when is a self-managed instance171 behaves like skips the down migration172 doesn't calls restore_conversion_of_integer_to_bigint method173# [RSpecRunTime] RSpec elapsed time: 2 minutes 40.55 seconds. Current RSS: ~1488M. Threads: 2. load average: 1.29 1.07 1.05 1/275 406174.175 when column not exists176 when is GitLab.com, dev, or test177 restore the temporary columns178# [RSpecRunTime] RSpec elapsed time: 2 minutes 51.87 seconds. Current RSS: ~1490M. Threads: 2. load average: 1.25 1.06 1.05 1/275 407179.180 when is a self-managed instance181 behaves like skips the down migration182 doesn't calls restore_conversion_of_integer_to_bigint method183# [RSpecRunTime] RSpec elapsed time: 3 minutes 2.66 seconds. Current RSS: ~1483M. Threads: 2. load average: 1.29 1.08 1.05 1/275 408184.185INFO: analyzing "public.p_ci_runner_machine_builds" inheritance tree186INFO: analyzing "gitlab_partitions_dynamic.ci_runner_machine_builds_100"187INFO: "ci_runner_machine_builds_100": scanned 0 of 0 pages, containing 0 live rows and 0 dead rows; 0 rows in sample, 0 estimated total rows188INFO: analyzing "gitlab_partitions_dynamic.ci_runner_machine_builds_101"189INFO: "ci_runner_machine_builds_101": scanned 0 of 0 pages, containing 0 live rows and 0 dead rows; 0 rows in sample, 0 estimated total rows190INFO: analyzing "gitlab_partitions_dynamic.ci_runner_machine_builds_102"191INFO: "ci_runner_machine_builds_102": scanned 0 of 0 pages, containing 0 live rows and 0 dead rows; 0 rows in sample, 0 estimated total rows192INFO: analyzing "public.p_ci_job_annotations" inheritance tree193INFO: analyzing "gitlab_partitions_dynamic.ci_job_annotations_100"194INFO: "ci_job_annotations_100": scanned 0 of 0 pages, containing 0 live rows and 0 dead rows; 0 rows in sample, 0 estimated total rows195INFO: analyzing "gitlab_partitions_dynamic.ci_job_annotations_101"196INFO: "ci_job_annotations_101": scanned 0 of 0 pages, containing 0 live rows and 0 dead rows; 0 rows in sample, 0 estimated total rows197INFO: analyzing "gitlab_partitions_dynamic.ci_job_annotations_102"198INFO: "ci_job_annotations_102": scanned 0 of 0 pages, containing 0 live rows and 0 dead rows; 0 rows in sample, 0 estimated total rows199INFO: analyzing "public.p_ci_builds_metadata" inheritance tree200INFO: analyzing "public.ci_builds_metadata"201INFO: "ci_builds_metadata": scanned 0 of 0 pages, containing 0 live rows and 0 dead rows; 0 rows in sample, 0 estimated total rows202INFO: analyzing "gitlab_partitions_dynamic.ci_builds_metadata_101"203INFO: "ci_builds_metadata_101": scanned 0 of 0 pages, containing 0 live rows and 0 dead rows; 0 rows in sample, 0 estimated total rows204INFO: analyzing "gitlab_partitions_dynamic.ci_builds_metadata_102"205INFO: "ci_builds_metadata_102": scanned 0 of 0 pages, containing 0 live rows and 0 dead rows; 0 rows in sample, 0 estimated total rows206INFO: analyzing "public.p_ci_builds" inheritance tree207INFO: analyzing "public.ci_builds"208INFO: "ci_builds": scanned 0 of 0 pages, containing 0 live rows and 0 dead rows; 0 rows in sample, 0 estimated total rows209INFO: analyzing "gitlab_partitions_dynamic.ci_builds_101"210INFO: "ci_builds_101": scanned 0 of 0 pages, containing 0 live rows and 0 dead rows; 0 rows in sample, 0 estimated total rows211INFO: analyzing "gitlab_partitions_dynamic.ci_builds_102"212INFO: "ci_builds_102": scanned 0 of 0 pages, containing 0 live rows and 0 dead rows; 0 rows in sample, 0 estimated total rows213I, [2024-07-31T10:19:13.330353 #324] INFO -- : Database: 'main', Table: 'p_ci_finished_build_ch_sync_events': Lock Writes214I, [2024-07-31T10:19:33.163490 #324] INFO -- : Database: 'main', Table: 'ci_job_token_group_scope_links': Lock Writes215INFO: analyzing "public.p_ci_pipeline_variables" inheritance tree216INFO: analyzing "public.ci_pipeline_variables"217INFO: "ci_pipeline_variables": scanned 0 of 0 pages, containing 0 live rows and 0 dead rows; 0 rows in sample, 0 estimated total rows218I, [2024-07-31T10:19:34.791760 #324] INFO -- : Database: 'main', Table: 'p_ci_pipeline_variables': Lock Writes219I, [2024-07-31T10:19:34.793561 #324] INFO -- : {:method=>"with_lock_retries", :class=>"gitlab:db:lock_writes", :message=>"Lock timeout is set", :current_iteration=>1, :lock_timeout_in_ms=>100}220I, [2024-07-31T10:19:34.794512 #324] INFO -- : {:method=>"with_lock_retries", :class=>"gitlab:db:lock_writes", :message=>"Migration finished", :current_iteration=>1, :lock_timeout_in_ms=>100}221INFO: analyzing "public.p_ci_pipeline_variables" inheritance tree222INFO: analyzing "public.ci_pipeline_variables"223INFO: "ci_pipeline_variables": scanned 0 of 0 pages, containing 0 live rows and 0 dead rows; 0 rows in sample, 0 estimated total rows224INFO: analyzing "public.p_ci_job_artifacts" inheritance tree225INFO: analyzing "public.ci_job_artifacts"226INFO: "ci_job_artifacts": scanned 0 of 0 pages, containing 0 live rows and 0 dead rows; 0 rows in sample, 0 estimated total rows227I, [2024-07-31T10:19:40.788387 #324] INFO -- : Database: 'main', Table: 'p_ci_job_artifacts': Lock Writes228I, [2024-07-31T10:19:40.789580 #324] INFO -- : {:method=>"with_lock_retries", :class=>"gitlab:db:lock_writes", :message=>"Lock timeout is set", :current_iteration=>1, :lock_timeout_in_ms=>100}229I, [2024-07-31T10:19:40.790458 #324] INFO -- : {:method=>"with_lock_retries", :class=>"gitlab:db:lock_writes", :message=>"Migration finished", :current_iteration=>1, :lock_timeout_in_ms=>100}230INFO: analyzing "public.p_ci_stages" inheritance tree231INFO: analyzing "public.ci_stages"232INFO: "ci_stages": scanned 0 of 0 pages, containing 0 live rows and 0 dead rows; 0 rows in sample, 0 estimated total rows233I, [2024-07-31T10:19:44.154453 #324] INFO -- : Database: 'main', Table: 'p_ci_stages': Lock Writes234I, [2024-07-31T10:19:44.155598 #324] INFO -- : {:method=>"with_lock_retries", :class=>"gitlab:db:lock_writes", :message=>"Lock timeout is set", :current_iteration=>1, :lock_timeout_in_ms=>100}235I, [2024-07-31T10:19:44.156868 #324] INFO -- : {:method=>"with_lock_retries", :class=>"gitlab:db:lock_writes", :message=>"Migration finished", :current_iteration=>1, :lock_timeout_in_ms=>100}236I, [2024-07-31T10:19:45.333219 #324] INFO -- : Database: 'main', Table: 'p_ci_build_names': Lock Writes237I, [2024-07-31T10:19:51.674884 #324] INFO -- : Database: 'main', Table: 'p_ci_builds_execution_configs': Lock Writes238I, [2024-07-31T10:20:05.596733 #324] INFO -- : Database: 'main', Table: 'p_ci_build_sources': Lock Writes239I, [2024-07-31T10:20:05.598522 #324] INFO -- : {:method=>"with_lock_retries", :class=>"gitlab:db:lock_writes", :message=>"Lock timeout is set", :current_iteration=>1, :lock_timeout_in_ms=>100}240I, [2024-07-31T10:20:05.599721 #324] INFO -- : {:method=>"with_lock_retries", :class=>"gitlab:db:lock_writes", :message=>"Migration finished", :current_iteration=>1, :lock_timeout_in_ms=>100}241I, [2024-07-31T10:20:17.224907 #324] INFO -- : Database: 'main', Table: 'p_ci_finished_pipeline_ch_sync_events': Lock Writes242I, [2024-07-31T10:20:24.098157 #324] INFO -- : Database: 'main', Table: 'p_ci_build_tags': Lock Writes243# [RSpecRunTime] Finishing example group spec/migrations/20230801150214_retry_cleanup_bigint_conversion_for_events_for_gitlab_com_spec.rb. It took 4 minutes 27.52 seconds. Expected to take 2 minutes 53.61 seconds.244# [RSpecRunTime] RSpec elapsed time: 4 minutes 32.08 seconds. Current RSS: ~1383M. Threads: 2. load average: 1.06 1.05 1.05 1/274 409245.246# [RSpecRunTime] Starting example group spec/migrations/20230810124545_schedule_fixing_namespace_ids_of_vulnerability_reads_spec.rb. Expected to take 1 minute 42.63 seconds.247ScheduleFixingNamespaceIdsOfVulnerabilityReads248main: == [advisory_lock_connection] object_id: 63902440, pg_backend_pid: 182249main: == 20230810124545 ScheduleFixingNamespaceIdsOfVulnerabilityReads: migrating ===250main: == 20230810124545 ScheduleFixingNamespaceIdsOfVulnerabilityReads: migrated (0.0624s) 251main: == [advisory_lock_connection] object_id: 63902440, pg_backend_pid: 182252 schedules a new batched migration253INFO: analyzing "public.p_ci_runner_machine_builds" inheritance tree254INFO: analyzing "gitlab_partitions_dynamic.ci_runner_machine_builds_100"255INFO: "ci_runner_machine_builds_100": scanned 0 of 0 pages, containing 0 live rows and 0 dead rows; 0 rows in sample, 0 estimated total rows256INFO: analyzing "gitlab_partitions_dynamic.ci_runner_machine_builds_101"257INFO: "ci_runner_machine_builds_101": scanned 0 of 0 pages, containing 0 live rows and 0 dead rows; 0 rows in sample, 0 estimated total rows258INFO: analyzing "gitlab_partitions_dynamic.ci_runner_machine_builds_102"259INFO: "ci_runner_machine_builds_102": scanned 0 of 0 pages, containing 0 live rows and 0 dead rows; 0 rows in sample, 0 estimated total rows260INFO: analyzing "public.p_ci_job_annotations" inheritance tree261INFO: analyzing "gitlab_partitions_dynamic.ci_job_annotations_100"262INFO: "ci_job_annotations_100": scanned 0 of 0 pages, containing 0 live rows and 0 dead rows; 0 rows in sample, 0 estimated total rows263INFO: analyzing "gitlab_partitions_dynamic.ci_job_annotations_101"264INFO: "ci_job_annotations_101": scanned 0 of 0 pages, containing 0 live rows and 0 dead rows; 0 rows in sample, 0 estimated total rows265INFO: analyzing "gitlab_partitions_dynamic.ci_job_annotations_102"266INFO: "ci_job_annotations_102": scanned 0 of 0 pages, containing 0 live rows and 0 dead rows; 0 rows in sample, 0 estimated total rows267INFO: analyzing "public.p_ci_builds_metadata" inheritance tree268INFO: analyzing "public.ci_builds_metadata"269INFO: "ci_builds_metadata": scanned 0 of 0 pages, containing 0 live rows and 0 dead rows; 0 rows in sample, 0 estimated total rows270INFO: analyzing "gitlab_partitions_dynamic.ci_builds_metadata_101"271INFO: "ci_builds_metadata_101": scanned 0 of 0 pages, containing 0 live rows and 0 dead rows; 0 rows in sample, 0 estimated total rows272INFO: analyzing "gitlab_partitions_dynamic.ci_builds_metadata_102"273INFO: "ci_builds_metadata_102": scanned 0 of 0 pages, containing 0 live rows and 0 dead rows; 0 rows in sample, 0 estimated total rows274INFO: analyzing "public.p_ci_builds" inheritance tree275INFO: analyzing "public.ci_builds"276INFO: "ci_builds": scanned 0 of 0 pages, containing 0 live rows and 0 dead rows; 0 rows in sample, 0 estimated total rows277INFO: analyzing "gitlab_partitions_dynamic.ci_builds_101"278INFO: "ci_builds_101": scanned 0 of 0 pages, containing 0 live rows and 0 dead rows; 0 rows in sample, 0 estimated total rows279INFO: analyzing "gitlab_partitions_dynamic.ci_builds_102"280INFO: "ci_builds_102": scanned 0 of 0 pages, containing 0 live rows and 0 dead rows; 0 rows in sample, 0 estimated total rows281I, [2024-07-31T10:22:05.748253 #324] INFO -- : Database: 'main', Table: 'p_ci_finished_build_ch_sync_events': Lock Writes282I, [2024-07-31T10:22:25.450688 #324] INFO -- : Database: 'main', Table: 'ci_job_token_group_scope_links': Lock Writes283INFO: analyzing "public.p_ci_pipeline_variables" inheritance tree284INFO: analyzing "public.ci_pipeline_variables"285INFO: "ci_pipeline_variables": scanned 0 of 0 pages, containing 0 live rows and 0 dead rows; 0 rows in sample, 0 estimated total rows286I, [2024-07-31T10:22:27.174963 #324] INFO -- : Database: 'main', Table: 'p_ci_pipeline_variables': Lock Writes287I, [2024-07-31T10:22:27.176162 #324] INFO -- : {:method=>"with_lock_retries", :class=>"gitlab:db:lock_writes", :message=>"Lock timeout is set", :current_iteration=>1, :lock_timeout_in_ms=>100}288I, [2024-07-31T10:22:27.176992 #324] INFO -- : {:method=>"with_lock_retries", :class=>"gitlab:db:lock_writes", :message=>"Migration finished", :current_iteration=>1, :lock_timeout_in_ms=>100}289INFO: analyzing "public.p_ci_pipeline_variables" inheritance tree290INFO: analyzing "public.ci_pipeline_variables"291INFO: "ci_pipeline_variables": scanned 0 of 0 pages, containing 0 live rows and 0 dead rows; 0 rows in sample, 0 estimated total rows292INFO: analyzing "public.p_ci_job_artifacts" inheritance tree293INFO: analyzing "public.ci_job_artifacts"294INFO: "ci_job_artifacts": scanned 0 of 0 pages, containing 0 live rows and 0 dead rows; 0 rows in sample, 0 estimated total rows295I, [2024-07-31T10:22:33.078707 #324] INFO -- : Database: 'main', Table: 'p_ci_job_artifacts': Lock Writes296I, [2024-07-31T10:22:33.080089 #324] INFO -- : {:method=>"with_lock_retries", :class=>"gitlab:db:lock_writes", :message=>"Lock timeout is set", :current_iteration=>1, :lock_timeout_in_ms=>100}297I, [2024-07-31T10:22:33.080961 #324] INFO -- : {:method=>"with_lock_retries", :class=>"gitlab:db:lock_writes", :message=>"Migration finished", :current_iteration=>1, :lock_timeout_in_ms=>100}298INFO: analyzing "public.p_ci_stages" inheritance tree299INFO: analyzing "public.ci_stages"300INFO: "ci_stages": scanned 0 of 0 pages, containing 0 live rows and 0 dead rows; 0 rows in sample, 0 estimated total rows301I, [2024-07-31T10:22:36.448565 #324] INFO -- : Database: 'main', Table: 'p_ci_stages': Lock Writes302I, [2024-07-31T10:22:36.449660 #324] INFO -- : {:method=>"with_lock_retries", :class=>"gitlab:db:lock_writes", :message=>"Lock timeout is set", :current_iteration=>1, :lock_timeout_in_ms=>100}303I, [2024-07-31T10:22:36.450444 #324] INFO -- : {:method=>"with_lock_retries", :class=>"gitlab:db:lock_writes", :message=>"Migration finished", :current_iteration=>1, :lock_timeout_in_ms=>100}304I, [2024-07-31T10:22:37.679663 #324] INFO -- : Database: 'main', Table: 'p_ci_build_names': Lock Writes305I, [2024-07-31T10:22:44.153454 #324] INFO -- : Database: 'main', Table: 'p_ci_builds_execution_configs': Lock Writes306I, [2024-07-31T10:22:57.679197 #324] INFO -- : Database: 'main', Table: 'p_ci_build_sources': Lock Writes307I, [2024-07-31T10:22:57.680290 #324] INFO -- : {:method=>"with_lock_retries", :class=>"gitlab:db:lock_writes", :message=>"Lock timeout is set", :current_iteration=>1, :lock_timeout_in_ms=>100}308I, [2024-07-31T10:22:57.681029 #324] INFO -- : {:method=>"with_lock_retries", :class=>"gitlab:db:lock_writes", :message=>"Migration finished", :current_iteration=>1, :lock_timeout_in_ms=>100}309I, [2024-07-31T10:23:09.497736 #324] INFO -- : Database: 'main', Table: 'p_ci_finished_pipeline_ch_sync_events': Lock Writes310I, [2024-07-31T10:23:16.133770 #324] INFO -- : Database: 'main', Table: 'p_ci_build_tags': Lock Writes311# [RSpecRunTime] Finishing example group spec/migrations/20230810124545_schedule_fixing_namespace_ids_of_vulnerability_reads_spec.rb. It took 2 minutes 52.0 seconds. Expected to take 1 minute 42.63 seconds.312# [RSpecRunTime] RSpec elapsed time: 7 minutes 24.13 seconds. Current RSS: ~1368M. Threads: 2. load average: 0.77 1.01 1.03 1/276 410313.314# [RSpecRunTime] Starting example group spec/migrations/20240116211138_update_max_code_indexing_concurrency_in_application_settings_for_gitlab_com_spec.rb. Expected to take 1 minute 33.31 seconds.315UpdateMaxCodeIndexingConcurrencyInApplicationSettingsForGitlabCom316 #down317main: == [advisory_lock_connection] object_id: 100259340, pg_backend_pid: 199318main: == 20240116211138 UpdateMaxCodeIndexingConcurrencyInApplicationSettingsForGitlabCom: migrating 319main: == 20240116211138 UpdateMaxCodeIndexingConcurrencyInApplicationSettingsForGitlabCom: migrated (0.0095s) 320main: == [advisory_lock_connection] object_id: 100259340, pg_backend_pid: 199321 does nothing when not in gitlab.com322main: == [advisory_lock_connection] object_id: 101201860, pg_backend_pid: 203323main: == 20240116211138 UpdateMaxCodeIndexingConcurrencyInApplicationSettingsForGitlabCom: migrating 324main: -- execute("UPDATE application_settings SET elasticsearch_max_code_indexing_concurrency = 60")325main: -> 0.0035s326main: == 20240116211138 UpdateMaxCodeIndexingConcurrencyInApplicationSettingsForGitlabCom: migrated (0.0131s) 327main: == [advisory_lock_connection] object_id: 101201860, pg_backend_pid: 203328 updates elasticsearch_worker_number_of_shards when gitlab.com329# [RSpecRunTime] RSpec elapsed time: 8 minutes 34.31 seconds. Current RSS: ~1405M. Threads: 2. load average: 0.90 0.99 1.02 1/276 411330.331 #up332main: == [advisory_lock_connection] object_id: 102088480, pg_backend_pid: 206333main: == 20240116211138 UpdateMaxCodeIndexingConcurrencyInApplicationSettingsForGitlabCom: migrating 334main: == 20240116211138 UpdateMaxCodeIndexingConcurrencyInApplicationSettingsForGitlabCom: migrated (0.0075s) 335main: == [advisory_lock_connection] object_id: 102088480, pg_backend_pid: 206336 does nothing when not in gitlab.com337main: == [advisory_lock_connection] object_id: 102678900, pg_backend_pid: 209338main: == 20240116211138 UpdateMaxCodeIndexingConcurrencyInApplicationSettingsForGitlabCom: migrating 339main: -- execute("UPDATE application_settings SET elasticsearch_max_code_indexing_concurrency = 60")340main: -> 0.0034s341main: == 20240116211138 UpdateMaxCodeIndexingConcurrencyInApplicationSettingsForGitlabCom: migrated (0.0124s) 342main: == [advisory_lock_connection] object_id: 102678900, pg_backend_pid: 209343 updates elasticsearch_worker_number_of_shards when gitlab.com344# [RSpecRunTime] RSpec elapsed time: 8 minutes 47.63 seconds. Current RSS: ~1438M. Threads: 2. load average: 1.00 1.01 1.02 1/276 412345.346I, [2024-07-31T10:24:51.046895 #324] INFO -- : Database: 'main', Table: 'ci_job_token_group_scope_links': Lock Writes347INFO: analyzing "public.p_ci_pipeline_variables" inheritance tree348INFO: analyzing "public.ci_pipeline_variables"349INFO: "ci_pipeline_variables": scanned 0 of 0 pages, containing 0 live rows and 0 dead rows; 0 rows in sample, 0 estimated total rows350I, [2024-07-31T10:24:52.750807 #324] INFO -- : Database: 'main', Table: 'p_ci_pipeline_variables': Lock Writes351I, [2024-07-31T10:24:52.752029 #324] INFO -- : {:method=>"with_lock_retries", :class=>"gitlab:db:lock_writes", :message=>"Lock timeout is set", :current_iteration=>1, :lock_timeout_in_ms=>100}352I, [2024-07-31T10:24:52.752848 #324] INFO -- : {:method=>"with_lock_retries", :class=>"gitlab:db:lock_writes", :message=>"Migration finished", :current_iteration=>1, :lock_timeout_in_ms=>100}353INFO: analyzing "public.p_ci_pipeline_variables" inheritance tree354INFO: analyzing "public.ci_pipeline_variables"355INFO: "ci_pipeline_variables": scanned 0 of 0 pages, containing 0 live rows and 0 dead rows; 0 rows in sample, 0 estimated total rows356INFO: analyzing "public.p_ci_job_artifacts" inheritance tree357INFO: analyzing "public.ci_job_artifacts"358INFO: "ci_job_artifacts": scanned 0 of 0 pages, containing 0 live rows and 0 dead rows; 0 rows in sample, 0 estimated total rows359I, [2024-07-31T10:24:58.912251 #324] INFO -- : Database: 'main', Table: 'p_ci_job_artifacts': Lock Writes360I, [2024-07-31T10:24:58.913643 #324] INFO -- : {:method=>"with_lock_retries", :class=>"gitlab:db:lock_writes", :message=>"Lock timeout is set", :current_iteration=>1, :lock_timeout_in_ms=>100}361I, [2024-07-31T10:24:58.914464 #324] INFO -- : {:method=>"with_lock_retries", :class=>"gitlab:db:lock_writes", :message=>"Migration finished", :current_iteration=>1, :lock_timeout_in_ms=>100}362INFO: analyzing "public.p_ci_stages" inheritance tree363INFO: analyzing "public.ci_stages"364INFO: "ci_stages": scanned 0 of 0 pages, containing 0 live rows and 0 dead rows; 0 rows in sample, 0 estimated total rows365I, [2024-07-31T10:25:02.390591 #324] INFO -- : Database: 'main', Table: 'p_ci_stages': Lock Writes366I, [2024-07-31T10:25:02.391640 #324] INFO -- : {:method=>"with_lock_retries", :class=>"gitlab:db:lock_writes", :message=>"Lock timeout is set", :current_iteration=>1, :lock_timeout_in_ms=>100}367I, [2024-07-31T10:25:02.392424 #324] INFO -- : {:method=>"with_lock_retries", :class=>"gitlab:db:lock_writes", :message=>"Migration finished", :current_iteration=>1, :lock_timeout_in_ms=>100}368I, [2024-07-31T10:25:03.706309 #324] INFO -- : Database: 'main', Table: 'p_ci_build_names': Lock Writes369I, [2024-07-31T10:25:09.800499 #324] INFO -- : Database: 'main', Table: 'p_ci_builds_execution_configs': Lock Writes370I, [2024-07-31T10:25:23.165913 #324] INFO -- : Database: 'main', Table: 'p_ci_build_sources': Lock Writes371I, [2024-07-31T10:25:23.166957 #324] INFO -- : {:method=>"with_lock_retries", :class=>"gitlab:db:lock_writes", :message=>"Lock timeout is set", :current_iteration=>1, :lock_timeout_in_ms=>100}372I, [2024-07-31T10:25:23.168176 #324] INFO -- : {:method=>"with_lock_retries", :class=>"gitlab:db:lock_writes", :message=>"Migration finished", :current_iteration=>1, :lock_timeout_in_ms=>100}373I, [2024-07-31T10:25:34.255460 #324] INFO -- : Database: 'main', Table: 'p_ci_finished_pipeline_ch_sync_events': Lock Writes374I, [2024-07-31T10:25:40.801197 #324] INFO -- : Database: 'main', Table: 'p_ci_build_tags': Lock Writes375# [RSpecRunTime] Finishing example group spec/migrations/20240116211138_update_max_code_indexing_concurrency_in_application_settings_for_gitlab_com_spec.rb. It took 2 minutes 24.4 seconds. Expected to take 1 minute 33.31 seconds.376# [RSpecRunTime] RSpec elapsed time: 9 minutes 48.58 seconds. Current RSS: ~1367M. Threads: 2. load average: 0.86 0.97 1.01 1/276 413377.378# [RSpecRunTime] Starting example group spec/migrations/20231107092912_queue_backfill_branch_protection_namespace_setting_spec.rb. Expected to take 1 minute 15.37 seconds.379QueueBackfillBranchProtectionNamespaceSetting380main: == [advisory_lock_connection] object_id: 135128600, pg_backend_pid: 224381main: == 20231107092912 QueueBackfillBranchProtectionNamespaceSetting: migrating ====382main: == 20231107092912 QueueBackfillBranchProtectionNamespaceSetting: migrated (0.0551s) 383main: == [advisory_lock_connection] object_id: 135128600, pg_backend_pid: 224384 schedules a new batched migration385I, [2024-07-31T10:27:10.808459 #324] INFO -- : Database: 'main', Table: 'ci_job_token_group_scope_links': Lock Writes386INFO: analyzing "public.p_ci_pipeline_variables" inheritance tree387INFO: analyzing "public.ci_pipeline_variables"388INFO: "ci_pipeline_variables": scanned 0 of 0 pages, containing 0 live rows and 0 dead rows; 0 rows in sample, 0 estimated total rows389I, [2024-07-31T10:27:12.514759 #324] INFO -- : Database: 'main', Table: 'p_ci_pipeline_variables': Lock Writes390I, [2024-07-31T10:27:12.515886 #324] INFO -- : {:method=>"with_lock_retries", :class=>"gitlab:db:lock_writes", :message=>"Lock timeout is set", :current_iteration=>1, :lock_timeout_in_ms=>100}391I, [2024-07-31T10:27:12.516624 #324] INFO -- : {:method=>"with_lock_retries", :class=>"gitlab:db:lock_writes", :message=>"Migration finished", :current_iteration=>1, :lock_timeout_in_ms=>100}392INFO: analyzing "public.p_ci_pipeline_variables" inheritance tree393INFO: analyzing "public.ci_pipeline_variables"394INFO: "ci_pipeline_variables": scanned 0 of 0 pages, containing 0 live rows and 0 dead rows; 0 rows in sample, 0 estimated total rows395INFO: analyzing "public.p_ci_job_artifacts" inheritance tree396INFO: analyzing "public.ci_job_artifacts"397INFO: "ci_job_artifacts": scanned 0 of 0 pages, containing 0 live rows and 0 dead rows; 0 rows in sample, 0 estimated total rows398I, [2024-07-31T10:27:18.408696 #324] INFO -- : Database: 'main', Table: 'p_ci_job_artifacts': Lock Writes399I, [2024-07-31T10:27:18.409781 #324] INFO -- : {:method=>"with_lock_retries", :class=>"gitlab:db:lock_writes", :message=>"Lock timeout is set", :current_iteration=>1, :lock_timeout_in_ms=>100}400I, [2024-07-31T10:27:18.410548 #324] INFO -- : {:method=>"with_lock_retries", :class=>"gitlab:db:lock_writes", :message=>"Migration finished", :current_iteration=>1, :lock_timeout_in_ms=>100}401INFO: analyzing "public.p_ci_stages" inheritance tree402INFO: analyzing "public.ci_stages"403INFO: "ci_stages": scanned 0 of 0 pages, containing 0 live rows and 0 dead rows; 0 rows in sample, 0 estimated total rows404I, [2024-07-31T10:27:21.894390 #324] INFO -- : Database: 'main', Table: 'p_ci_stages': Lock Writes405I, [2024-07-31T10:27:21.895559 #324] INFO -- : {:method=>"with_lock_retries", :class=>"gitlab:db:lock_writes", :message=>"Lock timeout is set", :current_iteration=>1, :lock_timeout_in_ms=>100}406I, [2024-07-31T10:27:21.896373 #324] INFO -- : {:method=>"with_lock_retries", :class=>"gitlab:db:lock_writes", :message=>"Migration finished", :current_iteration=>1, :lock_timeout_in_ms=>100}407I, [2024-07-31T10:27:23.047338 #324] INFO -- : Database: 'main', Table: 'p_ci_build_names': Lock Writes408I, [2024-07-31T10:27:28.997388 #324] INFO -- : Database: 'main', Table: 'p_ci_builds_execution_configs': Lock Writes409I, [2024-07-31T10:27:41.893011 #324] INFO -- : Database: 'main', Table: 'p_ci_build_sources': Lock Writes410I, [2024-07-31T10:27:41.894179 #324] INFO -- : {:method=>"with_lock_retries", :class=>"gitlab:db:lock_writes", :message=>"Lock timeout is set", :current_iteration=>1, :lock_timeout_in_ms=>100}411I, [2024-07-31T10:27:41.894952 #324] INFO -- : {:method=>"with_lock_retries", :class=>"gitlab:db:lock_writes", :message=>"Migration finished", :current_iteration=>1, :lock_timeout_in_ms=>100}412I, [2024-07-31T10:27:53.109839 #324] INFO -- : Database: 'main', Table: 'p_ci_finished_pipeline_ch_sync_events': Lock Writes413I, [2024-07-31T10:27:59.502787 #324] INFO -- : Database: 'main', Table: 'p_ci_build_tags': Lock Writes414# [RSpecRunTime] Finishing example group spec/migrations/20231107092912_queue_backfill_branch_protection_namespace_setting_spec.rb. It took 2 minutes 18.87 seconds. Expected to take 1 minute 15.37 seconds.415# [RSpecRunTime] RSpec elapsed time: 12 minutes 7.5 seconds. Current RSS: ~1365M. Threads: 2. load average: 1.00 1.00 1.00 1/276 414416.417# [RSpecRunTime] Starting example group spec/migrations/swap_columns_for_system_note_metadata_id_spec.rb. Expected to take 1 minute 3.55 seconds.418SwapColumnsForSystemNoteMetadataId419 #up420 swaps the integer and bigint columns with correct constraint names421# [RSpecRunTime] RSpec elapsed time: 13 minutes 4.57 seconds. Current RSS: ~1370M. Threads: 2. load average: 0.93 0.98 1.00 1/276 415422.423INFO: analyzing "public.p_ci_pipeline_variables" inheritance tree424INFO: analyzing "public.ci_pipeline_variables"425INFO: "ci_pipeline_variables": scanned 0 of 0 pages, containing 0 live rows and 0 dead rows; 0 rows in sample, 0 estimated total rows426INFO: analyzing "public.p_ci_job_artifacts" inheritance tree427INFO: analyzing "public.ci_job_artifacts"428INFO: "ci_job_artifacts": scanned 0 of 0 pages, containing 0 live rows and 0 dead rows; 0 rows in sample, 0 estimated total rows429I, [2024-07-31T10:29:13.560641 #324] INFO -- : Database: 'main', Table: 'p_ci_job_artifacts': Lock Writes430I, [2024-07-31T10:29:13.561779 #324] INFO -- : {:method=>"with_lock_retries", :class=>"gitlab:db:lock_writes", :message=>"Lock timeout is set", :current_iteration=>1, :lock_timeout_in_ms=>100}431I, [2024-07-31T10:29:13.562606 #324] INFO -- : {:method=>"with_lock_retries", :class=>"gitlab:db:lock_writes", :message=>"Migration finished", :current_iteration=>1, :lock_timeout_in_ms=>100}432INFO: analyzing "public.p_ci_stages" inheritance tree433INFO: analyzing "public.ci_stages"434INFO: "ci_stages": scanned 0 of 0 pages, containing 0 live rows and 0 dead rows; 0 rows in sample, 0 estimated total rows435I, [2024-07-31T10:29:17.072331 #324] INFO -- : Database: 'main', Table: 'p_ci_stages': Lock Writes436I, [2024-07-31T10:29:17.073839 #324] INFO -- : {:method=>"with_lock_retries", :class=>"gitlab:db:lock_writes", :message=>"Lock timeout is set", :current_iteration=>1, :lock_timeout_in_ms=>100}437I, [2024-07-31T10:29:17.074710 #324] INFO -- : {:method=>"with_lock_retries", :class=>"gitlab:db:lock_writes", :message=>"Migration finished", :current_iteration=>1, :lock_timeout_in_ms=>100}438I, [2024-07-31T10:29:18.191025 #324] INFO -- : Database: 'main', Table: 'p_ci_build_names': Lock Writes439I, [2024-07-31T10:29:24.488723 #324] INFO -- : Database: 'main', Table: 'p_ci_builds_execution_configs': Lock Writes440I, [2024-07-31T10:29:38.157219 #324] INFO -- : Database: 'main', Table: 'p_ci_build_sources': Lock Writes441I, [2024-07-31T10:29:38.158625 #324] INFO -- : {:method=>"with_lock_retries", :class=>"gitlab:db:lock_writes", :message=>"Lock timeout is set", :current_iteration=>1, :lock_timeout_in_ms=>100}442I, [2024-07-31T10:29:38.159393 #324] INFO -- : {:method=>"with_lock_retries", :class=>"gitlab:db:lock_writes", :message=>"Migration finished", :current_iteration=>1, :lock_timeout_in_ms=>100}443I, [2024-07-31T10:29:49.138551 #324] INFO -- : Database: 'main', Table: 'p_ci_finished_pipeline_ch_sync_events': Lock Writes444I, [2024-07-31T10:29:55.419133 #324] INFO -- : Database: 'main', Table: 'p_ci_build_tags': Lock Writes445# [RSpecRunTime] Finishing example group spec/migrations/swap_columns_for_system_note_metadata_id_spec.rb. It took 1 minute 56.05 seconds. Expected to take 1 minute 3.55 seconds.446# [RSpecRunTime] RSpec elapsed time: 14 minutes 3.6 seconds. Current RSS: ~1337M. Threads: 2. load average: 0.89 0.96 0.99 1/276 416447.448# [RSpecRunTime] Starting example group spec/migrations/db/post_migrate/20240423235307_swap_columns_for_p_ci_builds_project_id_spec.rb. Expected to take 50.8 seconds.449SwapColumnsForPCiBuildsProjectId450 behaves like swap conversion columns451main: == [advisory_lock_connection] object_id: 191133640, pg_backend_pid: 255452main: == 20240423235307 SwapColumnsForPCiBuildsProjectId: migrating =================453main: -- index_name_exists?(:p_ci_builds, :p_ci_builds_project_id_id_idx)454main: -> 0.0026s455main: -- quote_table_name(:p_ci_builds)456main: -> 0.0000s457main: -- execute("LOCK TABLE \"p_ci_builds\" IN ACCESS EXCLUSIVE MODE")458main: -> 0.0012s459main: -- clear_cache!(nil)460main: -> 0.0000s461main: -- quote_table_name(:p_ci_builds)462main: -> 0.0000s463main: -- quote_column_name(:project_id_convert_to_bigint)464main: -> 0.0000s465main: -- quote_column_name(:temp_name_for_renaming)466main: -> 0.0000s467main: -- execute("ALTER TABLE \"p_ci_builds\"\n RENAME COLUMN \"project_id_convert_to_bigint\" TO \"temp_name_for_renaming\"\n")468main: -> 0.0015s469main: -- clear_cache!(nil)470main: -> 0.0000s471main: -- quote_table_name(:p_ci_builds)472main: -> 0.0000s473main: -- quote_column_name(:project_id)474main: -> 0.0000s475main: -- quote_column_name(:project_id_convert_to_bigint)476main: -> 0.0000s477main: -- execute("ALTER TABLE \"p_ci_builds\"\n RENAME COLUMN \"project_id\" TO \"project_id_convert_to_bigint\"\n")478main: -> 0.0015s479main: -- clear_cache!(nil)480main: -> 0.0000s481main: -- quote_table_name(:p_ci_builds)482main: -> 0.0000s483main: -- quote_column_name(:temp_name_for_renaming)484main: -> 0.0000s485main: -- quote_column_name(:project_id)486main: -> 0.0000s487main: -- execute("ALTER TABLE \"p_ci_builds\"\n RENAME COLUMN \"temp_name_for_renaming\" TO \"project_id\"\n")488main: -> 0.0012s489main: -- quote_table_name(:trigger_10ee1357e825)490main: -> 0.0000s491main: -- execute("ALTER FUNCTION \"trigger_10ee1357e825\" RESET ALL")492main: -> 0.0009s493main: -- indexes("p_ci_builds")494main: -> 0.0428s495main: -- indexes("p_ci_builds")496main: -> 0.0429s497main: -- indexes("public.ci_builds")498main: -> 0.0418s499main: -- indexes("public.ci_builds")500main: -> 0.0440s501main: -- quote_table_name("public.index_3591adffe4")502main: -> 0.0000s503main: -- quote_table_name("temp_1bdabdb3ec")504main: -> 0.0000s505main: -- execute("ALTER INDEX \"public\".\"index_3591adffe4\" RENAME TO \"temp_1bdabdb3ec\"")506main: -> 0.0016s507main: -- quote_table_name("public.index_ci_builds_on_project_id_and_id")508main: -> 0.0000s509main: -- quote_table_name("index_3591adffe4")510main: -> 0.0000s511main: -- execute("ALTER INDEX \"public\".\"index_ci_builds_on_project_id_and_id\" RENAME TO \"index_3591adffe4\"")512main: -> 0.0011s513main: -- quote_table_name("public.temp_1bdabdb3ec")514main: -> 0.0000s515main: -- quote_table_name("index_ci_builds_on_project_id_and_id")516main: -> 0.0000s517main: -- execute("ALTER INDEX \"public\".\"temp_1bdabdb3ec\" RENAME TO \"index_ci_builds_on_project_id_and_id\"")518main: -> 0.0010s519main: -- indexes("gitlab_partitions_dynamic.ci_builds_101")520main: -> 0.0397s521main: -- indexes("gitlab_partitions_dynamic.ci_builds_101")522main: -> 0.0404s523main: -- quote_table_name("gitlab_partitions_dynamic.index_10eae1e8cf")524main: -> 0.0000s525main: -- quote_table_name("temp_a321ab91cd")526main: -> 0.0001s527main: -- execute("ALTER INDEX \"gitlab_partitions_dynamic\".\"index_10eae1e8cf\" RENAME TO \"temp_a321ab91cd\"")528main: -> 0.0016s529main: -- quote_table_name("gitlab_partitions_dynamic.ci_builds_101_project_id_id_idx")530main: -> 0.0000s531main: -- quote_table_name("index_10eae1e8cf")532main: -> 0.0000s533main: -- execute("ALTER INDEX \"gitlab_partitions_dynamic\".\"ci_builds_101_project_id_id_idx\" RENAME TO \"index_10eae1e8cf\"")534main: -> 0.0011s535main: -- quote_table_name("gitlab_partitions_dynamic.temp_a321ab91cd")536main: -> 0.0000s537main: -- quote_table_name("ci_builds_101_project_id_id_idx")538main: -> 0.0000s539main: -- execute("ALTER INDEX \"gitlab_partitions_dynamic\".\"temp_a321ab91cd\" RENAME TO \"ci_builds_101_project_id_id_idx\"")540main: -> 0.0011s541main: -- indexes("gitlab_partitions_dynamic.ci_builds_102")542main: -> 0.0420s543main: -- indexes("gitlab_partitions_dynamic.ci_builds_102")544main: -> 0.0412s545main: -- quote_table_name("gitlab_partitions_dynamic.index_214b33570d")546main: -> 0.0000s547main: -- quote_table_name("temp_48a0b416de")548main: -> 0.0000s549main: -- execute("ALTER INDEX \"gitlab_partitions_dynamic\".\"index_214b33570d\" RENAME TO \"temp_48a0b416de\"")550main: -> 0.0012s551main: -- quote_table_name("gitlab_partitions_dynamic.ci_builds_102_project_id_id_idx")552main: -> 0.0000s553main: -- quote_table_name("index_214b33570d")554main: -> 0.0000s555main: -- execute("ALTER INDEX \"gitlab_partitions_dynamic\".\"ci_builds_102_project_id_id_idx\" RENAME TO \"index_214b33570d\"")556main: -> 0.0012s557main: -- quote_table_name("gitlab_partitions_dynamic.temp_48a0b416de")558main: -> 0.0000s559main: -- quote_table_name("ci_builds_102_project_id_id_idx")560main: -> 0.0000s561main: -- execute("ALTER INDEX \"gitlab_partitions_dynamic\".\"temp_48a0b416de\" RENAME TO \"ci_builds_102_project_id_id_idx\"")562main: -> 0.0010s563main: -- quote_table_name("p_ci_builds_project_id_bigint_id_idx")564main: -> 0.0000s565main: -- quote_table_name("temp_f2c2fe031f")566main: -> 0.0000s567main: -- execute("ALTER INDEX \"p_ci_builds_project_id_bigint_id_idx\" RENAME TO \"temp_f2c2fe031f\"")568main: -> 0.0010s569main: -- quote_table_name("p_ci_builds_project_id_id_idx")570main: -> 0.0000s571main: -- quote_table_name(:p_ci_builds_project_id_bigint_id_idx)572main: -> 0.0000s573main: -- execute("ALTER INDEX \"p_ci_builds_project_id_id_idx\" RENAME TO \"p_ci_builds_project_id_bigint_id_idx\"")574main: -> 0.0010s575main: -- quote_table_name("temp_f2c2fe031f")576main: -> 0.0001s577main: -- quote_table_name(:p_ci_builds_project_id_id_idx)578main: -> 0.0000s579main: -- execute("ALTER INDEX \"temp_f2c2fe031f\" RENAME TO \"p_ci_builds_project_id_id_idx\"")580main: -> 0.0013s581main: -- remove_index(:p_ci_builds, {:name=>:p_ci_builds_project_id_bigint_id_idx, :if_exists=>true})582main: -> 0.0871s583main: -- indexes("p_ci_builds")584main: -> 0.0418s585main: -- indexes("p_ci_builds")586main: -> 0.0422s587main: -- indexes("public.ci_builds")588main: -> 0.0403s589main: -- indexes("public.ci_builds")590main: -> 0.0413s591main: -- quote_table_name("public.index_66150954f7")592main: -> 0.0000s593main: -- quote_table_name("temp_b3fd8fe064")594main: -> 0.0000s595main: -- execute("ALTER INDEX \"public\".\"index_66150954f7\" RENAME TO \"temp_b3fd8fe064\"")596main: -> 0.0013s597main: -- quote_table_name("public.index_ci_builds_on_project_id_and_name_and_ref")598main: -> 0.0000s599main: -- quote_table_name("index_66150954f7")600main: -> 0.0000s601main: -- execute("ALTER INDEX \"public\".\"index_ci_builds_on_project_id_and_name_and_ref\" RENAME TO \"index_66150954f7\"")602main: -> 0.0011s603main: -- quote_table_name("public.temp_b3fd8fe064")604main: -> 0.0000s605main: -- quote_table_name("index_ci_builds_on_project_id_and_name_and_ref")606main: -> 0.0000s607main: -- execute("ALTER INDEX \"public\".\"temp_b3fd8fe064\" RENAME TO \"index_ci_builds_on_project_id_and_name_and_ref\"")608main: -> 0.0016s609main: -- indexes("gitlab_partitions_dynamic.ci_builds_101")610main: -> 0.0418s611main: -- indexes("gitlab_partitions_dynamic.ci_builds_101")612main: -> 0.0406s613main: -- quote_table_name("gitlab_partitions_dynamic.index_f875b45146")614main: -> 0.0000s615main: -- quote_table_name("temp_12772d8fed")616main: -> 0.0000s617main: -- execute("ALTER INDEX \"gitlab_partitions_dynamic\".\"index_f875b45146\" RENAME TO \"temp_12772d8fed\"")618main: -> 0.0013s619main: -- quote_table_name("gitlab_partitions_dynamic.ci_builds_101_project_id_name_ref_idx")620main: -> 0.0000s621main: -- quote_table_name("index_f875b45146")622main: -> 0.0000s623main: -- execute("ALTER INDEX \"gitlab_partitions_dynamic\".\"ci_builds_101_project_id_name_ref_idx\" RENAME TO \"index_f875b45146\"")624main: -> 0.0011s625main: -- quote_table_name("gitlab_partitions_dynamic.temp_12772d8fed")626main: -> 0.0000s627main: -- quote_table_name("ci_builds_101_project_id_name_ref_idx")628main: -> 0.0000s629main: -- execute("ALTER INDEX \"gitlab_partitions_dynamic\".\"temp_12772d8fed\" RENAME TO \"ci_builds_101_project_id_name_ref_idx\"")630main: -> 0.0012s631main: -- indexes("gitlab_partitions_dynamic.ci_builds_102")632main: -> 0.0422s633main: -- indexes("gitlab_partitions_dynamic.ci_builds_102")634main: -> 0.0399s635main: -- quote_table_name("gitlab_partitions_dynamic.index_cb092f7068")636main: -> 0.0000s637main: -- quote_table_name("temp_1a46589fa2")638main: -> 0.0000s639main: -- execute("ALTER INDEX \"gitlab_partitions_dynamic\".\"index_cb092f7068\" RENAME TO \"temp_1a46589fa2\"")640main: -> 0.0012s641main: -- quote_table_name("gitlab_partitions_dynamic.ci_builds_102_project_id_name_ref_idx")642main: -> 0.0000s643main: -- quote_table_name("index_cb092f7068")644main: -> 0.0000s645main: -- execute("ALTER INDEX \"gitlab_partitions_dynamic\".\"ci_builds_102_project_id_name_ref_idx\" RENAME TO \"index_cb092f7068\"")646main: -> 0.0011s647main: -- quote_table_name("gitlab_partitions_dynamic.temp_1a46589fa2")648main: -> 0.0000s649main: -- quote_table_name("ci_builds_102_project_id_name_ref_idx")650main: -> 0.0000s651main: -- execute("ALTER INDEX \"gitlab_partitions_dynamic\".\"temp_1a46589fa2\" RENAME TO \"ci_builds_102_project_id_name_ref_idx\"")652main: -> 0.0010s653main: -- quote_table_name("p_ci_builds_project_id_bigint_name_ref_idx")654main: -> 0.0000s655main: -- quote_table_name("temp_ba5bac6411")656main: -> 0.0000s657main: -- execute("ALTER INDEX \"p_ci_builds_project_id_bigint_name_ref_idx\" RENAME TO \"temp_ba5bac6411\"")658main: -> 0.0016s659main: -- quote_table_name("p_ci_builds_project_id_name_ref_idx")660main: -> 0.0000s661main: -- quote_table_name(:p_ci_builds_project_id_bigint_name_ref_idx)662main: -> 0.0000s663main: -- execute("ALTER INDEX \"p_ci_builds_project_id_name_ref_idx\" RENAME TO \"p_ci_builds_project_id_bigint_name_ref_idx\"")664main: -> 0.0010s665main: -- quote_table_name("temp_ba5bac6411")666main: -> 0.0000s667main: -- quote_table_name(:p_ci_builds_project_id_name_ref_idx)668main: -> 0.0000s669main: -- execute("ALTER INDEX \"temp_ba5bac6411\" RENAME TO \"p_ci_builds_project_id_name_ref_idx\"")670main: -> 0.0010s671main: -- remove_index(:p_ci_builds, {:name=>:p_ci_builds_project_id_bigint_name_ref_idx, :if_exists=>true})672main: -> 0.0839s673main: -- indexes("p_ci_builds")674main: -> 0.0420s675main: -- indexes("p_ci_builds")676main: -> 0.0392s677main: -- indexes("public.ci_builds")678main: -> 0.0401s679main: -- indexes("public.ci_builds")680main: -> 0.0396s681main: -- quote_table_name("public.index_491160ecb2")682main: -> 0.0000s683main: -- quote_table_name("temp_5402eff91e")684main: -> 0.0000s685main: -- execute("ALTER INDEX \"public\".\"index_491160ecb2\" RENAME TO \"temp_5402eff91e\"")686main: -> 0.0021s687main: -- quote_table_name("public.index_ci_builds_project_id_and_status_for_live_jobs_partial2")688main: -> 0.0000s689main: -- quote_table_name("index_491160ecb2")690main: -> 0.0000s691main: -- execute("ALTER INDEX \"public\".\"index_ci_builds_project_id_and_status_for_live_jobs_partial2\" RENAME TO \"index_491160ecb2\"")692main: -> 0.0011s693main: -- quote_table_name("public.temp_5402eff91e")694main: -> 0.0000s695main: -- quote_table_name("index_ci_builds_project_id_and_status_for_live_jobs_partial2")696main: -> 0.0000s697main: -- execute("ALTER INDEX \"public\".\"temp_5402eff91e\" RENAME TO \"index_ci_builds_project_id_and_status_for_live_jobs_partial2\"")698main: -> 0.0010s699main: -- indexes("gitlab_partitions_dynamic.ci_builds_101")700main: -> 0.0405s701main: -- indexes("gitlab_partitions_dynamic.ci_builds_101")702main: -> 0.0407s703main: -- quote_table_name("gitlab_partitions_dynamic.index_14c2ce1b32")704main: -> 0.0000s705main: -- quote_table_name("temp_1631c1f82e")706main: -> 0.0004s707main: -- execute("ALTER INDEX \"gitlab_partitions_dynamic\".\"index_14c2ce1b32\" RENAME TO \"temp_1631c1f82e\"")708main: -> 0.0012s709main: -- quote_table_name("gitlab_partitions_dynamic.ci_builds_101_project_id_status_idx")710main: -> 0.0000s711main: -- quote_table_name("index_14c2ce1b32")712main: -> 0.0000s713main: -- execute("ALTER INDEX \"gitlab_partitions_dynamic\".\"ci_builds_101_project_id_status_idx\" RENAME TO \"index_14c2ce1b32\"")714main: -> 0.0012s715main: -- quote_table_name("gitlab_partitions_dynamic.temp_1631c1f82e")716main: -> 0.0000s717main: -- quote_table_name("ci_builds_101_project_id_status_idx")718main: -> 0.0000s719main: -- execute("ALTER INDEX \"gitlab_partitions_dynamic\".\"temp_1631c1f82e\" RENAME TO \"ci_builds_101_project_id_status_idx\"")720main: -> 0.0012s721main: -- indexes("gitlab_partitions_dynamic.ci_builds_102")722main: -> 0.0416s723main: -- indexes("gitlab_partitions_dynamic.ci_builds_102")724main: -> 0.0410s725main: -- quote_table_name("gitlab_partitions_dynamic.index_e13be50c35")726main: -> 0.0000s727main: -- quote_table_name("temp_b55f3e85b3")728main: -> 0.0000s729main: -- execute("ALTER INDEX \"gitlab_partitions_dynamic\".\"index_e13be50c35\" RENAME TO \"temp_b55f3e85b3\"")730main: -> 0.0014s731main: -- quote_table_name("gitlab_partitions_dynamic.ci_builds_102_project_id_status_idx")732main: -> 0.0000s733main: -- quote_table_name("index_e13be50c35")734main: -> 0.0000s735main: -- execute("ALTER INDEX \"gitlab_partitions_dynamic\".\"ci_builds_102_project_id_status_idx\" RENAME TO \"index_e13be50c35\"")736main: -> 0.0012s737main: -- quote_table_name("gitlab_partitions_dynamic.temp_b55f3e85b3")738main: -> 0.0000s739main: -- quote_table_name("ci_builds_102_project_id_status_idx")740main: -> 0.0000s741main: -- execute("ALTER INDEX \"gitlab_partitions_dynamic\".\"temp_b55f3e85b3\" RENAME TO \"ci_builds_102_project_id_status_idx\"")742main: -> 0.0011s743main: -- quote_table_name("p_ci_builds_project_id_bigint_status_idx")744main: -> 0.0000s745main: -- quote_table_name("temp_92d8aac784")746main: -> 0.0000s747main: -- execute("ALTER INDEX \"p_ci_builds_project_id_bigint_status_idx\" RENAME TO \"temp_92d8aac784\"")748main: -> 0.0011s749main: -- quote_table_name("p_ci_builds_project_id_status_idx")750main: -> 0.0000s751main: -- quote_table_name(:p_ci_builds_project_id_bigint_status_idx)752main: -> 0.0000s753main: -- execute("ALTER INDEX \"p_ci_builds_project_id_status_idx\" RENAME TO \"p_ci_builds_project_id_bigint_status_idx\"")754main: -> 0.0010s755main: -- quote_table_name("temp_92d8aac784")756main: -> 0.0000s757main: -- quote_table_name(:p_ci_builds_project_id_status_idx)758main: -> 0.0001s759main: -- execute("ALTER INDEX \"temp_92d8aac784\" RENAME TO \"p_ci_builds_project_id_status_idx\"")760main: -> 0.0011s761main: -- remove_index(:p_ci_builds, {:name=>:p_ci_builds_project_id_bigint_status_idx, :if_exists=>true})762main: -> 0.0806s763main: -- indexes("p_ci_builds")764main: -> 0.0378s765main: -- indexes("p_ci_builds")766main: -> 0.0370s767main: -- indexes("public.ci_builds")768main: -> 0.0389s769main: -- indexes("public.ci_builds")770main: -> 0.0380s771main: -- quote_table_name("public.index_57533f9878")772main: -> 0.0000s773main: -- quote_table_name("temp_b1a2134956")774main: -> 0.0000s775main: -- execute("ALTER INDEX \"public\".\"index_57533f9878\" RENAME TO \"temp_b1a2134956\"")776main: -> 0.0013s777main: -- quote_table_name("public.ci_builds_gitlab_monitor_metrics")778main: -> 0.0000s779main: -- quote_table_name("index_57533f9878")780main: -> 0.0000s781main: -- execute("ALTER INDEX \"public\".\"ci_builds_gitlab_monitor_metrics\" RENAME TO \"index_57533f9878\"")782main: -> 0.0011s783main: -- quote_table_name("public.temp_b1a2134956")784main: -> 0.0000s785main: -- quote_table_name("ci_builds_gitlab_monitor_metrics")786main: -> 0.0000s787main: -- execute("ALTER INDEX \"public\".\"temp_b1a2134956\" RENAME TO \"ci_builds_gitlab_monitor_metrics\"")788main: -> 0.0010s789main: -- indexes("gitlab_partitions_dynamic.ci_builds_101")790main: -> 0.0379s791main: -- indexes("gitlab_partitions_dynamic.ci_builds_101")792main: -> 0.0380s793main: -- quote_table_name("gitlab_partitions_dynamic.index_80a14c0ae5")794main: -> 0.0000s795main: -- quote_table_name("temp_e12ee96737")796main: -> 0.0000s797main: -- execute("ALTER INDEX \"gitlab_partitions_dynamic\".\"index_80a14c0ae5\" RENAME TO \"temp_e12ee96737\"")798main: -> 0.0013s799main: -- quote_table_name("gitlab_partitions_dynamic.ci_builds_101_status_created_at_project_id_idx")800main: -> 0.0000s801main: -- quote_table_name("index_80a14c0ae5")802main: -> 0.0000s803main: -- execute("ALTER INDEX \"gitlab_partitions_dynamic\".\"ci_builds_101_status_created_at_project_id_idx\" RENAME TO \"index_80a14c0ae5\"")804main: -> 0.0015s805main: -- quote_table_name("gitlab_partitions_dynamic.temp_e12ee96737")806main: -> 0.0000s807main: -- quote_table_name("ci_builds_101_status_created_at_project_id_idx")808main: -> 0.0000s809main: -- execute("ALTER INDEX \"gitlab_partitions_dynamic\".\"temp_e12ee96737\" RENAME TO \"ci_builds_101_status_created_at_project_id_idx\"")810main: -> 0.0010s811main: -- indexes("gitlab_partitions_dynamic.ci_builds_102")812main: -> 0.0372s813main: -- indexes("gitlab_partitions_dynamic.ci_builds_102")814main: -> 0.0351s815main: -- quote_table_name("gitlab_partitions_dynamic.index_3ba7eeaff6")816main: -> 0.0000s817main: -- quote_table_name("temp_a95c1e4e0c")818main: -> 0.0000s819main: -- execute("ALTER INDEX \"gitlab_partitions_dynamic\".\"index_3ba7eeaff6\" RENAME TO \"temp_a95c1e4e0c\"")820main: -> 0.0013s821main: -- quote_table_name("gitlab_partitions_dynamic.ci_builds_102_status_created_at_project_id_idx")822main: -> 0.0000s823main: -- quote_table_name("index_3ba7eeaff6")824main: -> 0.0000s825main: -- execute("ALTER INDEX \"gitlab_partitions_dynamic\".\"ci_builds_102_status_created_at_project_id_idx\" RENAME TO \"index_3ba7eeaff6\"")826main: -> 0.0011s827main: -- quote_table_name("gitlab_partitions_dynamic.temp_a95c1e4e0c")828main: -> 0.0000s829main: -- quote_table_name("ci_builds_102_status_created_at_project_id_idx")830main: -> 0.0000s831main: -- execute("ALTER INDEX \"gitlab_partitions_dynamic\".\"temp_a95c1e4e0c\" RENAME TO \"ci_builds_102_status_created_at_project_id_idx\"")832main: -> 0.0010s833main: -- quote_table_name("p_ci_builds_status_created_at_project_id_bigint_idx")834main: -> 0.0000s835main: -- quote_table_name("temp_b3f32fed0f")836main: -> 0.0000s837main: -- execute("ALTER INDEX \"p_ci_builds_status_created_at_project_id_bigint_idx\" RENAME TO \"temp_b3f32fed0f\"")838main: -> 0.0011s839main: -- quote_table_name("p_ci_builds_status_created_at_project_id_idx")840main: -> 0.0000s841main: -- quote_table_name(:p_ci_builds_status_created_at_project_id_bigint_idx)842main: -> 0.0000s843main: -- execute("ALTER INDEX \"p_ci_builds_status_created_at_project_id_idx\" RENAME TO \"p_ci_builds_status_created_at_project_id_bigint_idx\"")844main: -> 0.0010s845main: -- quote_table_name("temp_b3f32fed0f")846main: -> 0.0000s847main: -- quote_table_name(:p_ci_builds_status_created_at_project_id_idx)848main: -> 0.0000s849main: -- execute("ALTER INDEX \"temp_b3f32fed0f\" RENAME TO \"p_ci_builds_status_created_at_project_id_idx\"")850main: -> 0.0010s851main: -- remove_index(:p_ci_builds, {:name=>:p_ci_builds_status_created_at_project_id_bigint_idx, :if_exists=>true})852main: -> 0.0740s853main: == 20240423235307 SwapColumnsForPCiBuildsProjectId: migrated (1.7929s) ========854main: == [advisory_lock_connection] object_id: 191133640, pg_backend_pid: 255855 correctly swaps conversion columns856# [RSpecRunTime] RSpec elapsed time: 14 minutes 40.07 seconds. Current RSS: ~1390M. Threads: 2. load average: 1.02 0.98 1.00 1/276 417857.858 when index is different859 behaves like swap conversion columns860main: -- execute("DROP INDEX IF EXISTS p_ci_builds_project_id_id_convert_to_bigint_idx;\nDROP INDEX IF EXISTS p_ci_builds_project_id_id_idx;\n")861main: -> 0.0033s862main: -- transaction_open?(nil)863main: -> 0.0001s864main: -- index_name_exists?(:p_ci_builds, :p_ci_builds_project_id_id_convert_to_bigint_idx)865main: -> 0.0036s866main: -- transaction_open?(nil)867main: -> 0.0002s868main: -- index_exists?("public.ci_builds", [:project_id, :id], {:name=>"index_9dec349661", :algorithm=>:concurrently})869main: -> 0.0440s870main: -- add_index("public.ci_builds", [:project_id, :id], {:name=>"index_9dec349661", :algorithm=>:concurrently})871main: -> 0.0031s872main: -- transaction_open?(nil)873main: -> 0.0001s874main: -- index_exists?("gitlab_partitions_dynamic.ci_builds_101", [:project_id, :id], {:name=>"index_2c2ee081ff", :algorithm=>:concurrently})875main: -> 0.0413s876main: -- add_index("gitlab_partitions_dynamic.ci_builds_101", [:project_id, :id], {:name=>"index_2c2ee081ff", :algorithm=>:concurrently})877main: -> 0.0029s878main: -- transaction_open?(nil)879main: -> 0.0001s880main: -- index_exists?("gitlab_partitions_dynamic.ci_builds_102", [:project_id, :id], {:name=>"index_8f1108e627", :algorithm=>:concurrently})881main: -> 0.0401s882main: -- add_index("gitlab_partitions_dynamic.ci_builds_102", [:project_id, :id], {:name=>"index_8f1108e627", :algorithm=>:concurrently})883main: -> 0.0025s884main: -- transaction_open?(nil)885main: -> 0.0001s886main: -- add_index(:p_ci_builds, [:project_id, :id], {:name=>:p_ci_builds_project_id_id_convert_to_bigint_idx})887main: -> 0.0027s888main: == [advisory_lock_connection] object_id: 196347860, pg_backend_pid: 259889main: == 20240423235307 SwapColumnsForPCiBuildsProjectId: migrating =================890main: -- index_name_exists?(:p_ci_builds, :p_ci_builds_project_id_id_idx)891main: -> 0.0034s892main: -- indexes("p_ci_builds")893main: -> 0.0469s894main: -- indexes("public.ci_builds")895main: -> 0.0425s896main: -- quote_table_name("public.index_9dec349661")897main: -> 0.0001s898main: -- quote_table_name("index_e4a5307529")899main: -> 0.0001s900main: -- execute("ALTER INDEX \"public\".\"index_9dec349661\" RENAME TO \"index_e4a5307529\"")901main: -> 0.0012s902main: -- indexes("gitlab_partitions_dynamic.ci_builds_101")903main: -> 0.0420s904main: -- quote_table_name("gitlab_partitions_dynamic.index_2c2ee081ff")905main: -> 0.0001s906main: -- quote_table_name("index_a2c19538cd")907main: -> 0.0000s908main: -- execute("ALTER INDEX \"gitlab_partitions_dynamic\".\"index_2c2ee081ff\" RENAME TO \"index_a2c19538cd\"")909main: -> 0.0012s910main: -- indexes("gitlab_partitions_dynamic.ci_builds_102")911main: -> 0.0420s912main: -- quote_table_name("gitlab_partitions_dynamic.index_8f1108e627")913main: -> 0.0001s914main: -- quote_table_name("index_75567f633a")915main: -> 0.0001s916main: -- execute("ALTER INDEX \"gitlab_partitions_dynamic\".\"index_8f1108e627\" RENAME TO \"index_75567f633a\"")917main: -> 0.0012s918main: -- quote_table_name("p_ci_builds_project_id_id_convert_to_bigint_idx")919main: -> 0.0000s920main: -- quote_table_name(:p_ci_builds_project_id_id_idx)921main: -> 0.0000s922main: -- execute("ALTER INDEX \"p_ci_builds_project_id_id_convert_to_bigint_idx\" RENAME TO \"p_ci_builds_project_id_id_idx\"")923main: -> 0.0013s924main: -- quote_table_name(:p_ci_builds)925main: -> 0.0000s926main: -- execute("LOCK TABLE \"p_ci_builds\" IN ACCESS EXCLUSIVE MODE")927main: -> 0.0010s928main: -- clear_cache!(nil)929main: -> 0.0000s930main: -- quote_table_name(:p_ci_builds)931main: -> 0.0000s932main: -- quote_column_name(:project_id_convert_to_bigint)933main: -> 0.0000s934main: -- quote_column_name(:temp_name_for_renaming)935main: -> 0.0000s936main: -- execute("ALTER TABLE \"p_ci_builds\"\n RENAME COLUMN \"project_id_convert_to_bigint\" TO \"temp_name_for_renaming\"\n")937main: -> 0.0011s938main: -- clear_cache!(nil)939main: -> 0.0000s940main: -- quote_table_name(:p_ci_builds)941main: -> 0.0000s942main: -- quote_column_name(:project_id)943main: -> 0.0000s944main: -- quote_column_name(:project_id_convert_to_bigint)945main: -> 0.0000s946main: -- execute("ALTER TABLE \"p_ci_builds\"\n RENAME COLUMN \"project_id\" TO \"project_id_convert_to_bigint\"\n")947main: -> 0.0017s948main: -- clear_cache!(nil)949main: -> 0.0000s950main: -- quote_table_name(:p_ci_builds)951main: -> 0.0000s952main: -- quote_column_name(:temp_name_for_renaming)953main: -> 0.0000s954main: -- quote_column_name(:project_id)955main: -> 0.0000s956main: -- execute("ALTER TABLE \"p_ci_builds\"\n RENAME COLUMN \"temp_name_for_renaming\" TO \"project_id\"\n")957main: -> 0.0013s958main: -- quote_table_name(:trigger_10ee1357e825)959main: -> 0.0000s960main: -- execute("ALTER FUNCTION \"trigger_10ee1357e825\" RESET ALL")961main: -> 0.0009s962main: -- indexes("p_ci_builds")963main: -> 0.0413s964main: -- indexes("p_ci_builds")965main: -> 0.0424s966main: -- indexes("public.ci_builds")967main: -> 0.0410s968main: -- indexes("public.ci_builds")969main: -> 0.0423s970main: -- quote_table_name("public.index_3591adffe4")971main: -> 0.0000s972main: -- quote_table_name("temp_1bdabdb3ec")973main: -> 0.0000s974main: -- execute("ALTER INDEX \"public\".\"index_3591adffe4\" RENAME TO \"temp_1bdabdb3ec\"")975main: -> 0.0016s976main: -- quote_table_name("public.index_e4a5307529")977main: -> 0.0000s978main: -- quote_table_name("index_3591adffe4")979main: -> 0.0000s980main: -- execute("ALTER INDEX \"public\".\"index_e4a5307529\" RENAME TO \"index_3591adffe4\"")981main: -> 0.0012s982main: -- quote_table_name("public.temp_1bdabdb3ec")983main: -> 0.0000s984main: -- quote_table_name("index_e4a5307529")985main: -> 0.0000s986main: -- execute("ALTER INDEX \"public\".\"temp_1bdabdb3ec\" RENAME TO \"index_e4a5307529\"")987main: -> 0.0011s988main: -- indexes("gitlab_partitions_dynamic.ci_builds_101")989main: -> 0.0429s990main: -- indexes("gitlab_partitions_dynamic.ci_builds_101")991main: -> 0.0427s992main: -- quote_table_name("gitlab_partitions_dynamic.index_10eae1e8cf")993main: -> 0.0000s994main: -- quote_table_name("temp_a321ab91cd")995main: -> 0.0000s996main: -- execute("ALTER INDEX \"gitlab_partitions_dynamic\".\"index_10eae1e8cf\" RENAME TO \"temp_a321ab91cd\"")997main: -> 0.0014s998main: -- quote_table_name("gitlab_partitions_dynamic.index_a2c19538cd")999main: -> 0.0001s1000main: -- quote_table_name("index_10eae1e8cf")1001main: -> 0.0000s1002main: -- execute("ALTER INDEX \"gitlab_partitions_dynamic\".\"index_a2c19538cd\" RENAME TO \"index_10eae1e8cf\"")1003main: -> 0.0012s1004main: -- quote_table_name("gitlab_partitions_dynamic.temp_a321ab91cd")1005main: -> 0.0000s1006main: -- quote_table_name("index_a2c19538cd")1007main: -> 0.0000s1008main: -- execute("ALTER INDEX \"gitlab_partitions_dynamic\".\"temp_a321ab91cd\" RENAME TO \"index_a2c19538cd\"")1009main: -> 0.0015s1010main: -- indexes("gitlab_partitions_dynamic.ci_builds_102")1011main: -> 0.0424s1012main: -- indexes("gitlab_partitions_dynamic.ci_builds_102")1013main: -> 0.0391s1014main: -- quote_table_name("gitlab_partitions_dynamic.index_214b33570d")1015main: -> 0.0000s1016main: -- quote_table_name("temp_48a0b416de")1017main: -> 0.0000s1018main: -- execute("ALTER INDEX \"gitlab_partitions_dynamic\".\"index_214b33570d\" RENAME TO \"temp_48a0b416de\"")1019main: -> 0.0017s1020main: -- quote_table_name("gitlab_partitions_dynamic.index_75567f633a")1021main: -> 0.0001s1022main: -- quote_table_name("index_214b33570d")1023main: -> 0.0000s1024main: -- execute("ALTER INDEX \"gitlab_partitions_dynamic\".\"index_75567f633a\" RENAME TO \"index_214b33570d\"")1025main: -> 0.0011s1026main: -- quote_table_name("gitlab_partitions_dynamic.temp_48a0b416de")1027main: -> 0.0000s1028main: -- quote_table_name("index_75567f633a")1029main: -> 0.0000s1030main: -- execute("ALTER INDEX \"gitlab_partitions_dynamic\".\"temp_48a0b416de\" RENAME TO \"index_75567f633a\"")1031main: -> 0.0010s1032main: -- quote_table_name("p_ci_builds_project_id_bigint_id_idx")1033main: -> 0.0000s1034main: -- quote_table_name("temp_f2c2fe031f")1035main: -> 0.0000s1036main: -- execute("ALTER INDEX \"p_ci_builds_project_id_bigint_id_idx\" RENAME TO \"temp_f2c2fe031f\"")1037main: -> 0.0009s1038main: -- quote_table_name("p_ci_builds_project_id_id_idx")1039main: -> 0.0000s1040main: -- quote_table_name(:p_ci_builds_project_id_bigint_id_idx)1041main: -> 0.0000s1042main: -- execute("ALTER INDEX \"p_ci_builds_project_id_id_idx\" RENAME TO \"p_ci_builds_project_id_bigint_id_idx\"")1043main: -> 0.0012s1044main: -- quote_table_name("temp_f2c2fe031f")1045main: -> 0.0000s1046main: -- quote_table_name(:p_ci_builds_project_id_id_idx)1047main: -> 0.0000s1048main: -- execute("ALTER INDEX \"temp_f2c2fe031f\" RENAME TO \"p_ci_builds_project_id_id_idx\"")1049main: -> 0.0010s1050main: -- remove_index(:p_ci_builds, {:name=>:p_ci_builds_project_id_bigint_id_idx, :if_exists=>true})1051main: -> 0.0806s1052main: -- indexes("p_ci_builds")1053main: -> 0.0386s1054main: -- indexes("p_ci_builds")1055main: -> 0.0378s1056main: -- indexes("public.ci_builds")1057main: -> 0.0381s1058main: -- indexes("public.ci_builds")1059main: -> 0.0397s1060main: -- quote_table_name("public.index_66150954f7")1061main: -> 0.0000s1062main: -- quote_table_name("temp_b3fd8fe064")1063main: -> 0.0000s1064main: -- execute("ALTER INDEX \"public\".\"index_66150954f7\" RENAME TO \"temp_b3fd8fe064\"")1065main: -> 0.0012s1066main: -- quote_table_name("public.index_ci_builds_on_project_id_and_name_and_ref")1067main: -> 0.0000s1068main: -- quote_table_name("index_66150954f7")1069main: -> 0.0000s1070main: -- execute("ALTER INDEX \"public\".\"index_ci_builds_on_project_id_and_name_and_ref\" RENAME TO \"index_66150954f7\"")1071main: -> 0.0013s1072main: -- quote_table_name("public.temp_b3fd8fe064")1073main: -> 0.0000s1074main: -- quote_table_name("index_ci_builds_on_project_id_and_name_and_ref")1075main: -> 0.0000s1076main: -- execute("ALTER INDEX \"public\".\"temp_b3fd8fe064\" RENAME TO \"index_ci_builds_on_project_id_and_name_and_ref\"")1077main: -> 0.0010s1078main: -- indexes("gitlab_partitions_dynamic.ci_builds_101")1079main: -> 0.0405s1080main: -- indexes("gitlab_partitions_dynamic.ci_builds_101")1081main: -> 0.0416s1082main: -- quote_table_name("gitlab_partitions_dynamic.index_f875b45146")1083main: -> 0.0000s1084main: -- quote_table_name("temp_12772d8fed")1085main: -> 0.0000s1086main: -- execute("ALTER INDEX \"gitlab_partitions_dynamic\".\"index_f875b45146\" RENAME TO \"temp_12772d8fed\"")1087main: -> 0.0013s1088main: -- quote_table_name("gitlab_partitions_dynamic.ci_builds_101_project_id_name_ref_idx")1089main: -> 0.0000s1090main: -- quote_table_name("index_f875b45146")1091main: -> 0.0000s1092main: -- execute("ALTER INDEX \"gitlab_partitions_dynamic\".\"ci_builds_101_project_id_name_ref_idx\" RENAME TO \"index_f875b45146\"")1093main: -> 0.0011s1094main: -- quote_table_name("gitlab_partitions_dynamic.temp_12772d8fed")1095main: -> 0.0000s1096main: -- quote_table_name("ci_builds_101_project_id_name_ref_idx")1097main: -> 0.0000s1098main: -- execute("ALTER INDEX \"gitlab_partitions_dynamic\".\"temp_12772d8fed\" RENAME TO \"ci_builds_101_project_id_name_ref_idx\"")1099main: -> 0.0013s1100main: -- indexes("gitlab_partitions_dynamic.ci_builds_102")1101main: -> 0.0399s1102main: -- indexes("gitlab_partitions_dynamic.ci_builds_102")1103main: -> 0.0396s1104main: -- quote_table_name("gitlab_partitions_dynamic.index_cb092f7068")1105main: -> 0.0000s1106main: -- quote_table_name("temp_1a46589fa2")1107main: -> 0.0000s1108main: -- execute("ALTER INDEX \"gitlab_partitions_dynamic\".\"index_cb092f7068\" RENAME TO \"temp_1a46589fa2\"")1109main: -> 0.0013s1110main: -- quote_table_name("gitlab_partitions_dynamic.ci_builds_102_project_id_name_ref_idx")1111main: -> 0.0000s1112main: -- quote_table_name("index_cb092f7068")1113main: -> 0.0000s1114main: -- execute("ALTER INDEX \"gitlab_partitions_dynamic\".\"ci_builds_102_project_id_name_ref_idx\" RENAME TO \"index_cb092f7068\"")1115main: -> 0.0011s1116main: -- quote_table_name("gitlab_partitions_dynamic.temp_1a46589fa2")1117main: -> 0.0000s1118main: -- quote_table_name("ci_builds_102_project_id_name_ref_idx")1119main: -> 0.0000s1120main: -- execute("ALTER INDEX \"gitlab_partitions_dynamic\".\"temp_1a46589fa2\" RENAME TO \"ci_builds_102_project_id_name_ref_idx\"")1121main: -> 0.0010s1122main: -- quote_table_name("p_ci_builds_project_id_bigint_name_ref_idx")1123main: -> 0.0000s1124main: -- quote_table_name("temp_ba5bac6411")1125main: -> 0.0000s1126main: -- execute("ALTER INDEX \"p_ci_builds_project_id_bigint_name_ref_idx\" RENAME TO \"temp_ba5bac6411\"")1127main: -> 0.0012s1128main: -- quote_table_name("p_ci_builds_project_id_name_ref_idx")1129main: -> 0.0000s1130main: -- quote_table_name(:p_ci_builds_project_id_bigint_name_ref_idx)1131main: -> 0.0000s1132main: -- execute("ALTER INDEX \"p_ci_builds_project_id_name_ref_idx\" RENAME TO \"p_ci_builds_project_id_bigint_name_ref_idx\"")1133main: -> 0.0010s1134main: -- quote_table_name("temp_ba5bac6411")1135main: -> 0.0000s1136main: -- quote_table_name(:p_ci_builds_project_id_name_ref_idx)1137main: -> 0.0000s1138main: -- execute("ALTER INDEX \"temp_ba5bac6411\" RENAME TO \"p_ci_builds_project_id_name_ref_idx\"")1139main: -> 0.0010s1140main: -- remove_index(:p_ci_builds, {:name=>:p_ci_builds_project_id_bigint_name_ref_idx, :if_exists=>true})1141main: -> 0.0816s1142main: -- indexes("p_ci_builds")1143main: -> 0.0413s1144main: -- indexes("p_ci_builds")1145main: -> 0.0413s1146main: -- indexes("public.ci_builds")1147main: -> 0.0395s1148main: -- indexes("public.ci_builds")1149main: -> 0.0401s1150main: -- quote_table_name("public.index_491160ecb2")1151main: -> 0.0000s1152main: -- quote_table_name("temp_5402eff91e")1153main: -> 0.0000s1154main: -- execute("ALTER INDEX \"public\".\"index_491160ecb2\" RENAME TO \"temp_5402eff91e\"")1155main: -> 0.0013s1156main: -- quote_table_name("public.index_ci_builds_project_id_and_status_for_live_jobs_partial2")1157main: -> 0.0000s1158main: -- quote_table_name("index_491160ecb2")1159main: -> 0.0000s1160main: -- execute("ALTER INDEX \"public\".\"index_ci_builds_project_id_and_status_for_live_jobs_partial2\" RENAME TO \"index_491160ecb2\"")1161main: -> 0.0013s1162main: -- quote_table_name("public.temp_5402eff91e")1163main: -> 0.0000s1164main: -- quote_table_name("index_ci_builds_project_id_and_status_for_live_jobs_partial2")1165main: -> 0.0000s1166main: -- execute("ALTER INDEX \"public\".\"temp_5402eff91e\" RENAME TO \"index_ci_builds_project_id_and_status_for_live_jobs_partial2\"")1167main: -> 0.0010s1168main: -- indexes("gitlab_partitions_dynamic.ci_builds_101")1169main: -> 0.0403s1170main: -- indexes("gitlab_partitions_dynamic.ci_builds_101")1171main: -> 0.0402s1172main: -- quote_table_name("gitlab_partitions_dynamic.index_14c2ce1b32")1173main: -> 0.0000s1174main: -- quote_table_name("temp_1631c1f82e")1175main: -> 0.0001s1176main: -- execute("ALTER INDEX \"gitlab_partitions_dynamic\".\"index_14c2ce1b32\" RENAME TO \"temp_1631c1f82e\"")1177main: -> 0.0014s1178main: -- quote_table_name("gitlab_partitions_dynamic.ci_builds_101_project_id_status_idx")1179main: -> 0.0000s1180main: -- quote_table_name("index_14c2ce1b32")1181main: -> 0.0000s1182main: -- execute("ALTER INDEX \"gitlab_partitions_dynamic\".\"ci_builds_101_project_id_status_idx\" RENAME TO \"index_14c2ce1b32\"")1183main: -> 0.0012s1184main: -- quote_table_name("gitlab_partitions_dynamic.temp_1631c1f82e")1185main: -> 0.0000s1186main: -- quote_table_name("ci_builds_101_project_id_status_idx")1187main: -> 0.0000s1188main: -- execute("ALTER INDEX \"gitlab_partitions_dynamic\".\"temp_1631c1f82e\" RENAME TO \"ci_builds_101_project_id_status_idx\"")1189main: -> 0.0011s1190main: -- indexes("gitlab_partitions_dynamic.ci_builds_102")1191main: -> 0.0392s1192main: -- indexes("gitlab_partitions_dynamic.ci_builds_102")1193main: -> 0.0393s1194main: -- quote_table_name("gitlab_partitions_dynamic.index_e13be50c35")1195main: -> 0.0001s1196main: -- quote_table_name("temp_b55f3e85b3")1197main: -> 0.0000s1198main: -- execute("ALTER INDEX \"gitlab_partitions_dynamic\".\"index_e13be50c35\" RENAME TO \"temp_b55f3e85b3\"")1199main: -> 0.0012s1200main: -- quote_table_name("gitlab_partitions_dynamic.ci_builds_102_project_id_status_idx")1201main: -> 0.0000s1202main: -- quote_table_name("index_e13be50c35")1203main: -> 0.0000s1204main: -- execute("ALTER INDEX \"gitlab_partitions_dynamic\".\"ci_builds_102_project_id_status_idx\" RENAME TO \"index_e13be50c35\"")1205main: -> 0.0012s1206main: -- quote_table_name("gitlab_partitions_dynamic.temp_b55f3e85b3")1207main: -> 0.0000s1208main: -- quote_table_name("ci_builds_102_project_id_status_idx")1209main: -> 0.0000s1210main: -- execute("ALTER INDEX \"gitlab_partitions_dynamic\".\"temp_b55f3e85b3\" RENAME TO \"ci_builds_102_project_id_status_idx\"")1211main: -> 0.0011s1212main: -- quote_table_name("p_ci_builds_project_id_bigint_status_idx")1213main: -> 0.0000s1214main: -- quote_table_name("temp_92d8aac784")1215main: -> 0.0000s1216main: -- execute("ALTER INDEX \"p_ci_builds_project_id_bigint_status_idx\" RENAME TO \"temp_92d8aac784\"")1217main: -> 0.0011s1218main: -- quote_table_name("p_ci_builds_project_id_status_idx")1219main: -> 0.0000s1220main: -- quote_table_name(:p_ci_builds_project_id_bigint_status_idx)1221main: -> 0.0000s1222main: -- execute("ALTER INDEX \"p_ci_builds_project_id_status_idx\" RENAME TO \"p_ci_builds_project_id_bigint_status_idx\"")1223main: -> 0.0011s1224main: -- quote_table_name("temp_92d8aac784")1225main: -> 0.0000s1226main: -- quote_table_name(:p_ci_builds_project_id_status_idx)1227main: -> 0.0000s1228main: -- execute("ALTER INDEX \"temp_92d8aac784\" RENAME TO \"p_ci_builds_project_id_status_idx\"")1229main: -> 0.0013s1230main: -- remove_index(:p_ci_builds, {:name=>:p_ci_builds_project_id_bigint_status_idx, :if_exists=>true})1231main: -> 0.0798s1232main: -- indexes("p_ci_builds")1233main: -> 0.0381s1234main: -- indexes("p_ci_builds")1235main: -> 0.0388s1236main: -- indexes("public.ci_builds")1237main: -> 0.0371s1238main: -- indexes("public.ci_builds")1239main: -> 0.0367s1240main: -- quote_table_name("public.index_57533f9878")1241main: -> 0.0000s1242main: -- quote_table_name("temp_b1a2134956")1243main: -> 0.0000s1244main: -- execute("ALTER INDEX \"public\".\"index_57533f9878\" RENAME TO \"temp_b1a2134956\"")1245main: -> 0.0012s1246main: -- quote_table_name("public.ci_builds_gitlab_monitor_metrics")1247main: -> 0.0000s1248main: -- quote_table_name("index_57533f9878")1249main: -> 0.0000s1250main: -- execute("ALTER INDEX \"public\".\"ci_builds_gitlab_monitor_metrics\" RENAME TO \"index_57533f9878\"")1251main: -> 0.0014s1252main: -- quote_table_name("public.temp_b1a2134956")1253main: -> 0.0000s1254main: -- quote_table_name("ci_builds_gitlab_monitor_metrics")1255main: -> 0.0000s1256main: -- execute("ALTER INDEX \"public\".\"temp_b1a2134956\" RENAME TO \"ci_builds_gitlab_monitor_metrics\"")1257main: -> 0.0013s1258main: -- indexes("gitlab_partitions_dynamic.ci_builds_101")1259main: -> 0.0362s1260main: -- indexes("gitlab_partitions_dynamic.ci_builds_101")1261main: -> 0.0376s1262main: -- quote_table_name("gitlab_partitions_dynamic.index_80a14c0ae5")1263main: -> 0.0000s1264main: -- quote_table_name("temp_e12ee96737")1265main: -> 0.0000s1266main: -- execute("ALTER INDEX \"gitlab_partitions_dynamic\".\"index_80a14c0ae5\" RENAME TO \"temp_e12ee96737\"")1267main: -> 0.0012s1268main: -- quote_table_name("gitlab_partitions_dynamic.ci_builds_101_status_created_at_project_id_idx")1269main: -> 0.0000s1270main: -- quote_table_name("index_80a14c0ae5")1271main: -> 0.0000s1272main: -- execute("ALTER INDEX \"gitlab_partitions_dynamic\".\"ci_builds_101_status_created_at_project_id_idx\" RENAME TO \"index_80a14c0ae5\"")1273main: -> 0.0010s1274main: -- quote_table_name("gitlab_partitions_dynamic.temp_e12ee96737")1275main: -> 0.0000s1276main: -- quote_table_name("ci_builds_101_status_created_at_project_id_idx")1277main: -> 0.0000s1278main: -- execute("ALTER INDEX \"gitlab_partitions_dynamic\".\"temp_e12ee96737\" RENAME TO \"ci_builds_101_status_created_at_project_id_idx\"")1279main: -> 0.0011s1280main: -- indexes("gitlab_partitions_dynamic.ci_builds_102")1281main: -> 0.0379s1282main: -- indexes("gitlab_partitions_dynamic.ci_builds_102")1283main: -> 0.0360s1284main: -- quote_table_name("gitlab_partitions_dynamic.index_3ba7eeaff6")1285main: -> 0.0000s1286main: -- quote_table_name("temp_a95c1e4e0c")1287main: -> 0.0000s1288main: -- execute("ALTER INDEX \"gitlab_partitions_dynamic\".\"index_3ba7eeaff6\" RENAME TO \"temp_a95c1e4e0c\"")1289main: -> 0.0012s1290main: -- quote_table_name("gitlab_partitions_dynamic.ci_builds_102_status_created_at_project_id_idx")1291main: -> 0.0000s1292main: -- quote_table_name("index_3ba7eeaff6")1293main: -> 0.0000s1294main: -- execute("ALTER INDEX \"gitlab_partitions_dynamic\".\"ci_builds_102_status_created_at_project_id_idx\" RENAME TO \"index_3ba7eeaff6\"")1295main: -> 0.0011s1296main: -- quote_table_name("gitlab_partitions_dynamic.temp_a95c1e4e0c")1297main: -> 0.0000s1298main: -- quote_table_name("ci_builds_102_status_created_at_project_id_idx")1299main: -> 0.0000s1300main: -- execute("ALTER INDEX \"gitlab_partitions_dynamic\".\"temp_a95c1e4e0c\" RENAME TO \"ci_builds_102_status_created_at_project_id_idx\"")1301main: -> 0.0010s1302main: -- quote_table_name("p_ci_builds_status_created_at_project_id_bigint_idx")1303main: -> 0.0000s1304main: -- quote_table_name("temp_b3f32fed0f")1305main: -> 0.0000s1306main: -- execute("ALTER INDEX \"p_ci_builds_status_created_at_project_id_bigint_idx\" RENAME TO \"temp_b3f32fed0f\"")1307main: -> 0.0010s1308main: -- quote_table_name("p_ci_builds_status_created_at_project_id_idx")1309main: -> 0.0000s1310main: -- quote_table_name(:p_ci_builds_status_created_at_project_id_bigint_idx)1311main: -> 0.0000s1312main: -- execute("ALTER INDEX \"p_ci_builds_status_created_at_project_id_idx\" RENAME TO \"p_ci_builds_status_created_at_project_id_bigint_idx\"")1313main: -> 0.0010s1314main: -- quote_table_name("temp_b3f32fed0f")1315main: -> 0.0000s1316main: -- quote_table_name(:p_ci_builds_status_created_at_project_id_idx)1317main: -> 0.0000s1318main: -- execute("ALTER INDEX \"temp_b3f32fed0f\" RENAME TO \"p_ci_builds_status_created_at_project_id_idx\"")1319main: -> 0.0011s1320main: -- remove_index(:p_ci_builds, {:name=>:p_ci_builds_status_created_at_project_id_bigint_idx, :if_exists=>true})1321main: -> 0.0776s1322main: == 20240423235307 SwapColumnsForPCiBuildsProjectId: migrated (2.0068s) ========1323main: == [advisory_lock_connection] object_id: 196347860, pg_backend_pid: 2591324 correctly swaps conversion columns1325# [RSpecRunTime] RSpec elapsed time: 14 minutes 51.97 seconds. Current RSS: ~1413M. Threads: 2. load average: 1.02 0.98 1.00 1/276 4181326.1327I, [2024-07-31T10:31:01.239108 #324] INFO -- : Database: 'main', Table: 'p_ci_build_sources': Lock Writes1328I, [2024-07-31T10:31:01.240374 #324] INFO -- : {:method=>"with_lock_retries", :class=>"gitlab:db:lock_writes", :message=>"Lock timeout is set", :current_iteration=>1, :lock_timeout_in_ms=>100}1329I, [2024-07-31T10:31:01.241170 #324] INFO -- : {:method=>"with_lock_retries", :class=>"gitlab:db:lock_writes", :message=>"Migration finished", :current_iteration=>1, :lock_timeout_in_ms=>100}1330I, [2024-07-31T10:31:12.208101 #324] INFO -- : Database: 'main', Table: 'p_ci_finished_pipeline_ch_sync_events': Lock Writes1331I, [2024-07-31T10:31:18.496377 #324] INFO -- : Database: 'main', Table: 'p_ci_build_tags': Lock Writes1332# [RSpecRunTime] Finishing example group spec/migrations/db/post_migrate/20240423235307_swap_columns_for_p_ci_builds_project_id_spec.rb. It took 1 minute 22.69 seconds. Expected to take 50.8 seconds.1333# [RSpecRunTime] RSpec elapsed time: 15 minutes 26.34 seconds. Current RSS: ~1385M. Threads: 2. load average: 0.89 0.96 0.99 1/276 4191334.1335# [RSpecRunTime] Starting example group spec/migrations/20240611122408_remove_project_statistics_wiki_size_and_project_id_index_spec.rb. Expected to take 27.88 seconds.1336RemoveProjectStatisticsWikiSizeAndProjectIdIndex1337 #up1338 does nothing when not on gitlab.com1339main: -- index_exists?(:project_statistics, [:wiki_size, :project_id], {:name=>"index_project_statistics_on_wiki_size_and_project_id"})1340main: -> 0.0137s1341main: -- quote_column_name("index_project_statistics_on_wiki_size_and_project_id")1342main: -> 0.0003s1343 prepares async index removal when on gitlab.com1344# [RSpecRunTime] RSpec elapsed time: 15 minutes 42.16 seconds. Current RSS: ~1489M. Threads: 2. load average: 0.98 0.97 1.00 1/276 4201345.1346 #down1347 does nothing when not on gitlab.com1348 unprepares async index removal when on gitlab.com1349# [RSpecRunTime] RSpec elapsed time: 15 minutes 50.69 seconds. Current RSS: ~1513M. Threads: 2. load average: 0.98 0.98 1.00 1/276 4211350.1351I, [2024-07-31T10:32:00.048434 #324] INFO -- : Database: 'main', Table: 'p_ci_build_tags': Lock Writes1352# [RSpecRunTime] Finishing example group spec/migrations/20240611122408_remove_project_statistics_wiki_size_and_project_id_index_spec.rb. It took 41.72 seconds. Expected to take 27.88 seconds.1353# [RSpecRunTime] RSpec elapsed time: 16 minutes 8.12 seconds. Current RSS: ~1351M. Threads: 2. load average: 0.92 0.96 0.99 1/276 4221354.1355# [RSpecRunTime] Starting example group spec/migrations/20240515155063_queue_backfill_design_management_designs_namespace_id_spec.rb. Expected to take 25.65 seconds.1356QueueBackfillDesignManagementDesignsNamespaceId1357main: == [advisory_lock_connection] object_id: 216920540, pg_backend_pid: 2851358main: == 20240515155063 QueueBackfillDesignManagementDesignsNamespaceId: migrating ==1359main: == 20240515155063 QueueBackfillDesignManagementDesignsNamespaceId: migrated (0.0576s) 1360main: == [advisory_lock_connection] object_id: 216920540, pg_backend_pid: 2851361 schedules a new batched migration1362I, [2024-07-31T10:32:43.873344 #324] INFO -- : Database: 'main', Table: 'p_ci_finished_pipeline_ch_sync_events': Lock Writes1363I, [2024-07-31T10:32:49.932441 #324] INFO -- : Database: 'main', Table: 'p_ci_build_tags': Lock Writes1364# [RSpecRunTime] Finishing example group spec/migrations/20240515155063_queue_backfill_design_management_designs_namespace_id_spec.rb. It took 49.45 seconds. Expected to take 25.65 seconds.1365# [RSpecRunTime] RSpec elapsed time: 16 minutes 57.64 seconds. Current RSS: ~1350M. Threads: 2. load average: 1.22 1.04 1.02 1/276 4231366.1367# [RSpecRunTime] Starting example group spec/migrations/20240605090456_queue_backfill_draft_notes_project_id_spec.rb. Expected to take 18.72 seconds.1368QueueBackfillDraftNotesProjectId1369main: == [advisory_lock_connection] object_id: 224176280, pg_backend_pid: 2971370main: == 20240605090456 QueueBackfillDraftNotesProjectId: migrating =================1371main: == 20240605090456 QueueBackfillDraftNotesProjectId: migrated (0.0536s) ========1372main: == [advisory_lock_connection] object_id: 224176280, pg_backend_pid: 2971373 schedules a new batched migration1374I, [2024-07-31T10:33:23.698102 #324] INFO -- : Database: 'main', Table: 'p_ci_finished_pipeline_ch_sync_events': Lock Writes1375I, [2024-07-31T10:33:29.758722 #324] INFO -- : Database: 'main', Table: 'p_ci_build_tags': Lock Writes1376# [RSpecRunTime] Finishing example group spec/migrations/20240605090456_queue_backfill_draft_notes_project_id_spec.rb. It took 39.43 seconds. Expected to take 18.72 seconds.1377# [RSpecRunTime] RSpec elapsed time: 17 minutes 37.12 seconds. Current RSS: ~1345M. Threads: 2. load average: 1.05 1.02 1.01 1/276 4241378.1379# [RSpecRunTime] Starting example group spec/migrations/20240619142934_queue_backfill_vulnerability_finding_signatures_project_id_spec.rb. Expected to take 13.76 seconds.1380QueueBackfillVulnerabilityFindingSignaturesProjectId1381main: == [advisory_lock_connection] object_id: 229295660, pg_backend_pid: 3091382main: == 20240619142934 QueueBackfillVulnerabilityFindingSignaturesProjectId: migrating 1383main: == 20240619142934 QueueBackfillVulnerabilityFindingSignaturesProjectId: migrated (0.0580s) 1384main: == [advisory_lock_connection] object_id: 229295660, pg_backend_pid: 3091385 schedules a new batched migration1386I, [2024-07-31T10:33:56.857625 #324] INFO -- : Database: 'main', Table: 'p_ci_build_tags': Lock Writes1387# [RSpecRunTime] Finishing example group spec/migrations/20240619142934_queue_backfill_vulnerability_finding_signatures_project_id_spec.rb. It took 27.45 seconds. Expected to take 13.76 seconds.1388# [RSpecRunTime] RSpec elapsed time: 18 minutes 4.61 seconds. Current RSS: ~1334M. Threads: 2. load average: 0.96 1.00 1.00 1/276 4251389.1390# [RSpecRunTime] Starting example group spec/migrations/20240628133958_queue_backfill_packages_debian_project_architectures_project_id_spec.rb. Expected to take 11.72 seconds.1391QueueBackfillPackagesDebianProjectArchitecturesProjectId1392main: == [advisory_lock_connection] object_id: 233133700, pg_backend_pid: 3201393main: == 20240628133958 QueueBackfillPackagesDebianProjectArchitecturesProjectId: migrating 1394main: == 20240628133958 QueueBackfillPackagesDebianProjectArchitecturesProjectId: migrated (0.0560s) 1395main: == [advisory_lock_connection] object_id: 233133700, pg_backend_pid: 3201396 schedules a new batched migration1397I, [2024-07-31T10:34:21.044997 #324] INFO -- : Database: 'main', Table: 'p_ci_build_tags': Lock Writes1398# [RSpecRunTime] Finishing example group spec/migrations/20240628133958_queue_backfill_packages_debian_project_architectures_project_id_spec.rb. It took 24.47 seconds. Expected to take 11.72 seconds.1399# [RSpecRunTime] RSpec elapsed time: 18 minutes 29.13 seconds. Current RSS: ~1339M. Threads: 2. load average: 0.90 0.98 1.00 1/276 4261400.1401auto_explain log contains 961 entries for main, writing to /builds/gitlab-org/gitlab/auto_explain/rspec-migration-pg14-no-gitaly-transactions-6-26.324.main.ndjson.gz1402took 21.5293734871403auto_explain log contains 962 entries for ci, writing to /builds/gitlab-org/gitlab/auto_explain/rspec-migration-pg14-no-gitaly-transactions-6-26.324.ci.ndjson.gz1404took 20.2423987531405[TEST PROF INFO] EventProf results for sql.active_record1406Total time: 11:29.553 of 18:24.615 (62.42%)1407Total events: 5499261408Top 5 slowest suites (by time):1409RetryCleanupB...tsForGitlabCom (./spec/migrations/20230801150214_retry_cleanup_bigint_conversion_for_events_for_gitlab_com_spec.rb:7) – 02:18.349 (105510 / 8) of 04:27.571 (51.71%)1410ScheduleFixin...erabilityReads (./spec/migrations/20230810124545_schedule_fixing_namespace_ids_of_vulnerability_reads_spec.rb:7) – 01:57.305 (89130 / 1) of 02:52.047 (68.18%)1411QueueBackfill...mespaceSetting (./spec/migrations/20231107092912_queue_backfill_branch_protection_namespace_setting_spec.rb:6) – 01:36.817 (75699 / 1) of 02:18.918 (69.69%)1412UpdateMaxCode...gsForGitlabCom (./spec/migrations/20240116211138_update_max_code_indexing_concurrency_in_application_settings_for_gitlab_com_spec.rb:6) – 01:31.019 (73670 / 4) of 02:24.446 (63.01%)1413SwapColumnsFo...NoteMetadataId (./spec/migrations/swap_columns_for_system_note_metadata_id_spec.rb:6) – 01:20.396 (65564 / 1) of 01:56.103 (69.25%)1414Knapsack report was generated. Preview:1415{1416 "spec/migrations/20230801150214_retry_cleanup_bigint_conversion_for_events_for_gitlab_com_spec.rb": 178.70407750099912,1417 "spec/migrations/20230810124545_schedule_fixing_namespace_ids_of_vulnerability_reads_spec.rb": 86.63411704899954,1418 "spec/migrations/20240116211138_update_max_code_indexing_concurrency_in_application_settings_for_gitlab_com_spec.rb": 83.62496680799995,1419 "spec/migrations/20231107092912_queue_backfill_branch_protection_namespace_setting_spec.rb": 70.16458226599934,1420 "spec/migrations/swap_columns_for_system_note_metadata_id_spec.rb": 57.20921157999874,1421 "spec/migrations/db/post_migrate/20240423235307_swap_columns_for_p_ci_builds_project_id_spec.rb": 48.506739627999195,1422 "spec/migrations/20240611122408_remove_project_statistics_wiki_size_and_project_id_index_spec.rb": 24.470492394999383,1423 "spec/migrations/20240515155063_queue_backfill_design_management_designs_namespace_id_spec.rb": 23.87228102700101,1424 "spec/migrations/20240605090456_queue_backfill_draft_notes_project_id_spec.rb": 17.68015471000035,1425 "spec/migrations/20240619142934_queue_backfill_vulnerability_finding_signatures_project_id_spec.rb": 12.080856454998866,1426 "spec/migrations/20240628133958_queue_backfill_packages_debian_project_architectures_project_id_spec.rb": 10.664215533000971427}1428Knapsack global time execution for tests: 10m 13s1429Finished in 19 minutes 11 seconds (files took 1 minute 32.65 seconds to load)143025 examples, 0 failures1431Randomized with seed 454241432[TEST PROF INFO] Time spent in factories: 00:00.177 (0.01% of total time)1433RSpec exited with 0.1434No examples to retry, congrats!1436Running after script...1437$ source scripts/utils.sh1438$ bundle exec gem list gitlab_quality-test_tooling1439gitlab_quality-test_tooling (1.33.0)1440$ section_start "failed-test-issues" "Report test failures" # collapsed multi-line command1444$ section_start "flaky-test-issues" "Report test flakiness" # collapsed multi-line command1447$ section_start "slow-test-issues" "Report test slowness" # collapsed multi-line command1451$ section_start "slow-test-merge-request-report-note" "Report test slowness in MR note" # collapsed multi-line command1454$ section_start "knapsack-report-issues" "Report test files close to timing out" # collapsed multi-line command1458$ tooling/bin/push_job_metrics || true1459[job-metrics] Pushing job metrics file for the CI/CD job.1460[job-metrics] Pushed 4 CI job metric entries to InfluxDB.1462Not uploading cache ruby-gems-debian-bookworm-ruby-3.1.5-17 due to policy1464Uploading artifacts...1465auto_explain/: found 3 matching artifact files and directories 1466coverage/: found 5 matching artifact files and directories 1467crystalball/: found 5 matching artifact files and directories 1468WARNING: deprecations/: no matching files. Ensure that the artifact path is relative to the working directory (/builds/gitlab-org/gitlab) 1469knapsack/: found 4 matching artifact files and directories 1470rspec/: found 12 matching artifact files and directories 1471WARNING: tmp/capybara/: no matching files. Ensure that the artifact path is relative to the working directory (/builds/gitlab-org/gitlab) 1472log/*.log: found 13 matching artifact files and directories 1473WARNING: Upload request redirected location=https://gitlab.com/api/v4/jobs/7471346370/artifacts?artifact_format=zip&artifact_type=archive&expire_in=31d new-url=https://gitlab.com1474WARNING: Retrying... context=artifacts-uploader error=request redirected1475Uploading artifacts as "archive" to coordinator... 201 Created id=7471346370 responseStatus=201 Created token=glcbt-661476Uploading artifacts...1477rspec/rspec-*.xml: found 1 matching artifact files and directories 1478WARNING: Upload request redirected location=https://gitlab.com/api/v4/jobs/7471346370/artifacts?artifact_format=gzip&artifact_type=junit&expire_in=31d new-url=https://gitlab.com1479WARNING: Retrying... context=artifacts-uploader error=request redirected1480Uploading artifacts as "junit" to coordinator... 201 Created id=7471346370 responseStatus=201 Created token=glcbt-661482Job succeeded