There was an error fetching the job.
rspec background_migration pg13 1/4
Passed Started
by
@gitlab-bot

🤖 GitLab Bot 🤖
1Running with gitlab-runner 15.9.0~beta.115.g598a7c91 (598a7c91)2 on green-3.shared-gitlab-org.runners-manager.gitlab.com/default EuhiQzPR, system ID: s_360bc95445273 feature flags: FF_NETWORK_PER_BUILD:true, FF_USE_FASTZIP:true, FF_USE_IMPROVED_URL_MASKING:true6Using Docker executor with image registry.gitlab.com/gitlab-org/gitlab-build-images/debian-bullseye-ruby-3.0.patched-golang-1.18-rust-1.65-node-16.14-postgresql-13:rubygems-3.4-git-2.36-lfs-2.9-chrome-109-yarn-1.22-graphicsmagick-1.3.36 ...7Starting service postgres:13 ...8Pulling docker image postgres:13 ...9Using docker image sha256:dd421ca1f7f13d81c5c145d77d97d8d84cd0e6f1e045936ee506ce0f50ee397a for postgres:13 with digest postgres@sha256:00f455399f30cc3f2fe4185476601438b7a4959c74653665582d7c313a783d51 ...10Starting service redis:6.2-alpine ...11Pulling docker image redis:6.2-alpine ...12Using docker image sha256:3616f0c0705d2a35d30dde109daf3cbe58ae7284121aafa6f5cfa987db98d1a8 for redis:6.2-alpine with digest redis@sha256:edddbcad5a41d58df2f142d68439922f1860ea902903d016257337c3342f30fc ...13Waiting for services to be up and running (timeout 30 seconds)...14Authenticating with credentials from job payload (GitLab Registry)15Pulling docker image registry.gitlab.com/gitlab-org/gitlab-build-images/debian-bullseye-ruby-3.0.patched-golang-1.18-rust-1.65-node-16.14-postgresql-13:rubygems-3.4-git-2.36-lfs-2.9-chrome-109-yarn-1.22-graphicsmagick-1.3.36 ...16Using docker image sha256:7a1b51158a1ee23b080b514ce6ebbf52ac51585877198fb52709e5cd01805a77 for registry.gitlab.com/gitlab-org/gitlab-build-images/debian-bullseye-ruby-3.0.patched-golang-1.18-rust-1.65-node-16.14-postgresql-13:rubygems-3.4-git-2.36-lfs-2.9-chrome-109-yarn-1.22-graphicsmagick-1.3.36 with digest registry.gitlab.com/gitlab-org/gitlab-build-images/debian-bullseye-ruby-3.0.patched-golang-1.18-rust-1.65-node-16.14-postgresql-13@sha256:412d55913d43377094427ced549cb422ed2f2c7223e6a605d0d3e0151cb892b0 ...18Running on runner-euhiqzpr-project-278964-concurrent-0 via runner-euhiqzpr-shared-gitlab-org-1680172210-f992277e...20$ eval "$CI_PRE_CLONE_SCRIPT"21Fetching changes with git depth set to 20...22Initialized empty Git repository in /builds/gitlab-org/gitlab/.git/23Created fresh repository.24remote: Enumerating objects: 135903, done. 25remote: Counting objects: 100% (135903/135903), done. 26remote: Compressing objects: 100% (88560/88560), done. 27remote: Total 135903 (delta 58315), reused 94618 (delta 42152), pack-reused 0 28Receiving objects: 100% (135903/135903), 121.35 MiB | 32.45 MiB/s, done.29Resolving deltas: 100% (58315/58315), done.31 * [new ref] refs/pipelines/822866544 -> refs/pipelines/82286654432Checking out 523abdde as detached HEAD (ref is refs/merge-requests/116270/merge)...33Skipping Git submodules setup34$ git remote set-url origin "${CI_REPOSITORY_URL}"36Checking cache for ruby-gems-debian-bullseye-ruby-3.0-16...37cache.zip is up to date 38Successfully extracted cache39Checking cache for gitaly-ruby-gems-debian-bullseye-ruby-3.0-16...40cache.zip is up to date 41Successfully extracted cache43Downloading artifacts for compile-test-assets (4031138198)...44Downloading artifacts from coordinator... ok host=storage.googleapis.com id=4031138198 responseStatus=200 OK token=64_poD3E45Downloading artifacts for detect-tests (4031138213)...46Downloading artifacts from coordinator... ok host=storage.googleapis.com id=4031138213 responseStatus=200 OK token=64_poD3E47Downloading artifacts for retrieve-tests-metadata (4031138217)...48Downloading artifacts from coordinator... ok host=storage.googleapis.com id=4031138217 responseStatus=200 OK token=64_poD3E49Downloading artifacts for setup-test-env (4031138204)...50Downloading artifacts from coordinator... ok host=storage.googleapis.com id=4031138204 responseStatus=200 OK token=64_poD3E52Using docker image sha256:7a1b51158a1ee23b080b514ce6ebbf52ac51585877198fb52709e5cd01805a77 for registry.gitlab.com/gitlab-org/gitlab-build-images/debian-bullseye-ruby-3.0.patched-golang-1.18-rust-1.65-node-16.14-postgresql-13:rubygems-3.4-git-2.36-lfs-2.9-chrome-109-yarn-1.22-graphicsmagick-1.3.36 with digest registry.gitlab.com/gitlab-org/gitlab-build-images/debian-bullseye-ruby-3.0.patched-golang-1.18-rust-1.65-node-16.14-postgresql-13@sha256:412d55913d43377094427ced549cb422ed2f2c7223e6a605d0d3e0151cb892b0 ...53$ echo $FOSS_ONLY54$ [ "$FOSS_ONLY" = "1" ] && rm -rf ee/ qa/spec/ee/ qa/qa/specs/features/ee/ qa/qa/ee/ qa/qa/ee.rb55$ export GOPATH=$CI_PROJECT_DIR/.go56$ mkdir -p $GOPATH57$ source scripts/utils.sh58$ source scripts/prepare_build.sh709Using decomposed database config (config/database.yml.decomposed-postgresql)710Geo DB won't be set up.711$ setup_db_user_only712CREATE ROLE713GRANT714==> 'setup_db_user_only' succeeded in 1 seconds.715$ bundle exec rake db:drop db:create db:schema:load db:migrate gitlab:db:lock_writes716Dropped database 'gitlabhq_test'717Dropped database 'gitlabhq_test_ci'718Created database 'gitlabhq_test'719Created database 'gitlabhq_test_ci'720==> 'bundle exec rake db:drop db:create db:schema:load db:migrate gitlab:db:lock_writes' succeeded in 58 seconds.721$ setup_db_praefect722SELECT pg_catalog.set_config('search_path', '', false);723CREATE DATABASE praefect_test ENCODING 'UTF8';724==> 'setup_db_praefect' succeeded in 0 seconds.725$ source ./scripts/rspec_helpers.sh726$ run_timed_command "gem install knapsack --no-document"727$ gem install knapsack --no-document728Successfully installed knapsack-4.0.07291 gem installed730==> 'gem install knapsack --no-document' succeeded in 1 seconds.731$ echo -e "\e[0Ksection_start:`date +%s`:gitaly-test-spawn[collapsed=true]\r\e[0KStarting Gitaly"835$ rspec_paralellized_job "--tag ~quarantine --tag ~zoekt"836SKIP_FLAKY_TESTS_AUTOMATICALLY: false837RETRY_FAILED_TESTS_IN_NEW_PROCESS: true838KNAPSACK_GENERATE_REPORT: true839FLAKY_RSPEC_GENERATE_REPORT: true840KNAPSACK_TEST_FILE_PATTERN: spec/{lib/gitlab/background_migration,lib/ee/gitlab/background_migration}{,/**/}*_spec.rb841KNAPSACK_LOG_LEVEL: debug842KNAPSACK_REPORT_PATH: knapsack/rspec_background_migration_pg13_1_4_report.json843FLAKY_RSPEC_SUITE_REPORT_PATH: rspec/flaky/report-suite.json844FLAKY_RSPEC_REPORT_PATH: rspec/flaky/all_rspec_background_migration_pg13_1_4_report.json845NEW_FLAKY_RSPEC_REPORT_PATH: rspec/flaky/new_rspec_background_migration_pg13_1_4_report.json846SKIPPED_FLAKY_TESTS_REPORT_PATH: rspec/flaky/skipped_flaky_tests_rspec_background_migration_pg13_1_4_report.txt847CRYSTALBALL: 848Knapsack report generator started!849Run options: exclude {:quarantine=>true, :zoekt=>true}850Test environment set up in 0.920651767 seconds851Gitlab::BackgroundMigration::BackfillEnvironmentTiers852 # order random853 same behavior with guess tier854 name: "review/feature", tier: 3855 backfill tiers for all environments in range856 name: "review/product", tier: 3857 backfill tiers for all environments in range858 name: "DEV", tier: 3859 backfill tiers for all environments in range860 name: "development", tier: 3861 backfill tiers for all environments in range862 name: "trunk", tier: 3863 backfill tiers for all environments in range864 name: "dev", tier: 3865 backfill tiers for all environments in range866 name: "review/app", tier: 3867 backfill tiers for all environments in range868 name: "PRODUCTION", tier: 0869 backfill tiers for all environments in range870 name: "prod", tier: 0871 backfill tiers for all environments in range872 name: "prod-east-2", tier: 0873 backfill tiers for all environments in range874 name: "us-prod-east", tier: 0875 backfill tiers for all environments in range876 name: "fe-production", tier: 0877 backfill tiers for all environments in range878 name: "test", tier: 2879 backfill tiers for all environments in range880 name: "TEST", tier: 2881 backfill tiers for all environments in range882 name: "testing", tier: 2883 backfill tiers for all environments in range884 name: "testing-prd", tier: 2885 backfill tiers for all environments in range886 name: "acceptance-testing", tier: 2887 backfill tiers for all environments in range888 name: "production-test", tier: 2889 backfill tiers for all environments in range890 name: "test-production", tier: 2891 backfill tiers for all environments in range892 name: "QC", tier: 2893 backfill tiers for all environments in range894 name: "qa-env-2", tier: 2895 backfill tiers for all environments in range896 name: "gstg", tier: 1897 backfill tiers for all environments in range898 name: "staging", tier: 1899 backfill tiers for all environments in range900 name: "stage", tier: 1901 backfill tiers for all environments in range902 name: "Model", tier: 1903 backfill tiers for all environments in range904 name: "MODL", tier: 1905 backfill tiers for all environments in range906 name: "Pre-production", tier: 1907 backfill tiers for all environments in range908 name: "pre", tier: 1909 backfill tiers for all environments in range910 name: "Demo", tier: 1911 backfill tiers for all environments in range912 name: "staging", tier: 1913 backfill tiers for all environments in range914 name: "pre-prod", tier: 1915 backfill tiers for all environments in range916 name: "blue-kit-stage", tier: 1917 backfill tiers for all environments in range918 name: "nonprod", tier: 1919 backfill tiers for all environments in range920 name: "nonlive", tier: 1921 backfill tiers for all environments in range922 name: "non-prod", tier: 1923 backfill tiers for all environments in range924 name: "non-live", tier: 1925 backfill tiers for all environments in range926 name: "gprd", tier: 0927 backfill tiers for all environments in range928 name: "gprd-cny", tier: 0929 backfill tiers for all environments in range930 name: "production", tier: 0931 backfill tiers for all environments in range932 name: "Production", tier: 0933 backfill tiers for all environments in range934 name: "PRODUCTION", tier: 0935 backfill tiers for all environments in range936 name: "Production/eu", tier: 0937 backfill tiers for all environments in range938 name: "production/eu", tier: 0939 backfill tiers for all environments in range940 name: "PRODUCTION/EU", tier: 0941 backfill tiers for all environments in range942 name: "productioneu", tier: 0943 backfill tiers for all environments in range944 name: "store-produce", tier: 0945 backfill tiers for all environments in range946 name: "unproductive", tier: 0947 backfill tiers for all environments in range948 name: "production/www.gitlab.com", tier: 0949 backfill tiers for all environments in range950 name: "prod", tier: 0951 backfill tiers for all environments in range952 name: "PROD", tier: 0953 backfill tiers for all environments in range954 name: "Live", tier: 0955 backfill tiers for all environments in range956 name: "canary", tier: 4957 backfill tiers for all environments in range958 name: "other", tier: 4959 backfill tiers for all environments in range960 name: "EXP", tier: 4961 backfill tiers for all environments in range962 name: "something-else", tier: 4963 backfill tiers for all environments in range964 #perform965 backfill tiers for all environments in range966I, [2023-03-30T11:43:09.751056 #359] INFO -- : Database: 'main', Table: 'ci_runner_machines': Lock Writes967I, [2023-03-30T11:43:17.278330 #359] INFO -- : Database: 'main', Table: 'p_ci_runner_machine_builds': Lock Writes968I, [2023-03-30T11:43:17.585454 #359] INFO -- : Database: 'main', Table: 'ci_cost_settings': Lock Writes969Gitlab::BackgroundMigration::BatchedMigrationJob970 .generic_instance971 defines generic instance with only some of the attributes set972 .job_arguments973 defines methods974 when no job arguments are defined975 job_arguments_count is 0976 .operation_name977 defines method978 when `operation_name` is not defined979 raises an exception980 .scope_to981 when additional scoping is defined982 applies additional scope to the provided relation983 when there is no additional scoping defined984 returns provided relation as is985 .feature_category986 when jobs does not have feature_category attribute set987 returns :database as default988 when jobs have feature_category attribute set989 returns the provided value990 descendants991 have the same method signature for #perform992 do not use .batching_scope993 #perform994 raises an error if not overridden995 when the subclass uses sub-batching996 calls the operation for each sub-batch997 instruments the batch operation998 pauses after each sub-batch999 with additional scoping1000 respects #filter_batch1001 when using a sub batch exception for timeouts1002 raises the expected error type1003 when batching_arguments are given1004 forwards them for batching1005 when the subclass uses distinct each batch1006 calls the operation for each distinct batch1007 stores the affected rows1008 when used in combination with scope_to1009 raises an error1010Gitlab::BackgroundMigration::BackfillProjectRepositories1011 Gitlab::BackgroundMigration::BackfillProjectRepositories::ShardFinder1012 #find_shard_id1013 creates a new shard when it does not exist yet1014 returns the shard when it exists1015 only queries the database once to retrieve shards1016 Gitlab::BackgroundMigration::BackfillProjectRepositories::Project1017 .on_hashed_storage1018 finds projects with repository on hashed storage1019 .on_legacy_storage1020 finds projects with repository on legacy storage1021 .without_project_repository1022 finds projects which do not have a projects_repositories entry1023 #disk_path1024 for projects on hashed storage1025 returns the correct disk_path1026 for projects on legacy storage1027 returns the correct disk_path1028 returns the correct disk_path using the route entry1029 raises OrphanedNamespaceError when any parent namespace does not exist1030Gitlab::BackgroundMigration::BackfillIssueSearchData1031 backfills search data for the specified records1032WARNING: Active Record does not support composite primary key.1033issue_search_data has composite primary key. Composite primary key is ignored.1034 skips issues that already have search data1035 rescues batch with bad data and inserts other rows1036 re-raises other errors1037I, [2023-03-30T11:46:14.080844 #359] INFO -- : Database: 'main', Table: 'ci_runner_machines': Lock Writes1038I, [2023-03-30T11:46:21.154906 #359] INFO -- : Database: 'main', Table: 'p_ci_runner_machine_builds': Lock Writes1039I, [2023-03-30T11:46:21.446037 #359] INFO -- : Database: 'main', Table: 'ci_cost_settings': Lock Writes1040Gitlab::BackgroundMigration::MigrateU2fWebauthn1041 migrates all records1042I, [2023-03-30T11:47:31.716978 #359] INFO -- : Database: 'main', Table: 'ci_runner_machines': Lock Writes1043I, [2023-03-30T11:47:38.616199 #359] INFO -- : Database: 'main', Table: 'p_ci_runner_machine_builds': Lock Writes1044I, [2023-03-30T11:47:38.874751 #359] INFO -- : Database: 'main', Table: 'ci_cost_settings': Lock Writes1045Gitlab::BackgroundMigration::UpdateTimelogsNullSpentAt1046 #perform1047 sets correct spent_at1048I, [2023-03-30T11:48:49.043408 #359] INFO -- : Database: 'main', Table: 'ci_runner_machines': Lock Writes1049I, [2023-03-30T11:48:56.132397 #359] INFO -- : Database: 'main', Table: 'p_ci_runner_machine_builds': Lock Writes1050I, [2023-03-30T11:48:56.404968 #359] INFO -- : Database: 'main', Table: 'ci_cost_settings': Lock Writes1051Gitlab::BackgroundMigration::ResetTooManyTagsSkippedRegistryImports1052 #up1053 resets only qualified container repositories1054I, [2023-03-30T11:49:56.968682 #359] INFO -- : Database: 'main', Table: 'ci_runner_machines': Lock Writes1055I, [2023-03-30T11:50:04.493195 #359] INFO -- : Database: 'main', Table: 'p_ci_runner_machine_builds': Lock Writes1056I, [2023-03-30T11:50:04.769558 #359] INFO -- : Database: 'main', Table: 'ci_cost_settings': Lock Writes1057Gitlab::BackgroundMigration::PopulateTopicsNonPrivateProjectsCount1058 correctly populates the non private projects counters1059I, [2023-03-30T11:51:13.448201 #359] INFO -- : Database: 'main', Table: 'ci_runner_machines': Lock Writes1060I, [2023-03-30T11:51:20.694018 #359] INFO -- : Database: 'main', Table: 'p_ci_runner_machine_builds': Lock Writes1061I, [2023-03-30T11:51:20.998719 #359] INFO -- : Database: 'main', Table: 'ci_cost_settings': Lock Writes1062Gitlab::BackgroundMigration::BackfillWorkItemTypeIdForIssues1063 sets work_item_type_id only for the given type1064 tracks timings of queries1065 when database timeouts1066 error_class: ActiveRecord::StatementTimeout1067 retries on timeout error1068 error_class: ActiveRecord::QueryCanceled1069 retries on timeout error1070I, [2023-03-30T11:52:11.802265 #359] INFO -- : Database: 'main', Table: 'ci_runner_machines': Lock Writes1071I, [2023-03-30T11:52:19.396548 #359] INFO -- : Database: 'main', Table: 'p_ci_runner_machine_builds': Lock Writes1072I, [2023-03-30T11:52:19.690128 #359] INFO -- : Database: 'main', Table: 'ci_cost_settings': Lock Writes1073Gitlab::BackgroundMigration::BackfillProjectSettings1074 backfills project settings when it does not exist1075I, [2023-03-30T11:53:23.084859 #359] INFO -- : Database: 'main', Table: 'ci_runner_machines': Lock Writes1076I, [2023-03-30T11:53:30.855337 #359] INFO -- : Database: 'main', Table: 'p_ci_runner_machine_builds': Lock Writes1077I, [2023-03-30T11:53:31.164093 #359] INFO -- : Database: 'main', Table: 'ci_cost_settings': Lock Writes1078Gitlab::BackgroundMigration::BackfillGroupFeatures1079 #perform1080 creates settings for all group namespaces in range1081The application_settings (main) table has 1256 columns.1082Recreating the database1083Dropped database 'gitlabhq_test'1084Dropped database 'gitlabhq_test_ci'1085Created database 'gitlabhq_test'1086Created database 'gitlabhq_test_ci'1087Databases re-creation done in 11.5373616950000721088Gitlab::BackgroundMigration::FixDuplicateProjectNameAndPath1089 #up1090 backfills namespace_id for the selected records1091I, [2023-03-30T11:55:19.286984 #359] INFO -- : Database: 'main', Table: 'ci_runner_machines': Lock Writes1092I, [2023-03-30T11:55:26.720335 #359] INFO -- : Database: 'main', Table: 'p_ci_runner_machine_builds': Lock Writes1093I, [2023-03-30T11:55:27.004438 #359] INFO -- : Database: 'main', Table: 'ci_cost_settings': Lock Writes1094Gitlab::BackgroundMigration::RemoveSelfManagedWikiNotes1095 removes all wiki notes1096I, [2023-03-30T11:56:22.306374 #359] INFO -- : Database: 'main', Table: 'ci_runner_machines': Lock Writes1097I, [2023-03-30T11:56:29.844725 #359] INFO -- : Database: 'main', Table: 'p_ci_runner_machine_builds': Lock Writes1098I, [2023-03-30T11:56:30.141426 #359] INFO -- : Database: 'main', Table: 'ci_cost_settings': Lock Writes1099Gitlab::BackgroundMigration::DisableLegacyOpenSourceLicenseForOneMemberNoRepoProjects1100WARNING: Active Record does not support composite primary key.1101project_authorizations has composite primary key. Composite primary key is ignored.1102 sets `legacy_open_source_license_available` to false only for public projects with 1 member and no repo1103I, [2023-03-30T11:57:16.834543 #359] INFO -- : Database: 'main', Table: 'ci_runner_machines': Lock Writes1104I, [2023-03-30T11:57:24.051399 #359] INFO -- : Database: 'main', Table: 'p_ci_runner_machine_builds': Lock Writes1105I, [2023-03-30T11:57:24.392829 #359] INFO -- : Database: 'main', Table: 'ci_cost_settings': Lock Writes1106Gitlab::BackgroundMigration::SetLegacyOpenSourceLicenseAvailableForNonPublicProjects1107 sets `legacy_open_source_license_available` attribute to false for non-public projects1108I, [2023-03-30T11:58:11.505822 #359] INFO -- : Database: 'main', Table: 'ci_runner_machines': Lock Writes1109I, [2023-03-30T11:58:18.813871 #359] INFO -- : Database: 'main', Table: 'p_ci_runner_machine_builds': Lock Writes1110I, [2023-03-30T11:58:19.092675 #359] INFO -- : Database: 'main', Table: 'ci_cost_settings': Lock Writes1111Gitlab::BackgroundMigration::BatchingStrategies::PrimaryKeyBatchingStrategy#next_batch1112 is expected to be < Gitlab::BackgroundMigration::BatchingStrategies::BaseStrategy1113 when starting on the first batch1114 returns the bounds of the next batch1115 when additional batches remain1116 returns the bounds of the next batch1117 when on the final batch1118 returns the bounds of the next batch1119 when no additional batches remain1120 returns nil1121 when job class supports batch scope DSL1122 applies the additional scope1123 when scope has a join which makes the column name ambiguous1124 executes the correct query1125Gitlab::BackgroundMigration::BatchingStrategies::LooseIndexScanBatchingStrategy#next_batch1126 is expected to be < Gitlab::BackgroundMigration::BatchingStrategies::BaseStrategy1127 when starting on the first batch1128 returns the bounds of the next batch1129 when additional batches remain1130 returns the bounds of the next batch1131 when on the final batch1132 returns the bounds of the next batch1133 when no additional batches remain1134 returns nil1135Gitlab::BackgroundMigration::RemoveBackfilledJobArtifactsExpireAt1136 # order random1137 is expected to be < Gitlab::BackgroundMigration::BatchedMigrationJob1138 #perform1139 with artifacts that has backfilled expire_at1140WARNING: Active Record does not support composite primary key.1141ci_builds has composite primary key. Composite primary key is ignored.1142WARNING: Active Record does not support composite primary key.1143ci_builds has composite primary key. Composite primary key is ignored.1144WARNING: Active Record does not support composite primary key.1145ci_builds has composite primary key. Composite primary key is ignored.1146WARNING: Active Record does not support composite primary key.1147ci_builds has composite primary key. Composite primary key is ignored.1148WARNING: Active Record does not support composite primary key.1149ci_builds has composite primary key. Composite primary key is ignored.1150WARNING: Active Record does not support composite primary key.1151ci_builds has composite primary key. Composite primary key is ignored.1152WARNING: Active Record does not support composite primary key.1153ci_builds has composite primary key. Composite primary key is ignored.1154WARNING: Active Record does not support composite primary key.1155ci_builds has composite primary key. Composite primary key is ignored.1156WARNING: Active Record does not support composite primary key.1157ci_builds has composite primary key. Composite primary key is ignored.1158WARNING: Active Record does not support composite primary key.1159ci_builds has composite primary key. Composite primary key is ignored.1160WARNING: Active Record does not support composite primary key.1161ci_builds has composite primary key. Composite primary key is ignored.1162WARNING: Active Record does not support composite primary key.1163ci_builds has composite primary key. Composite primary key is ignored.1164WARNING: Active Record does not support composite primary key.1165ci_builds has composite primary key. Composite primary key is ignored.1166WARNING: Active Record does not support composite primary key.1167ci_builds has composite primary key. Composite primary key is ignored.1168WARNING: Active Record does not support composite primary key.1169ci_builds has composite primary key. Composite primary key is ignored.1170WARNING: Active Record does not support composite primary key.1171ci_builds has composite primary key. Composite primary key is ignored.1172 removes expire_at on job artifacts that have expire_at on 00, 30 or 45 minute of 21, 22, 23 of the month1173WARNING: Active Record does not support composite primary key.1174ci_builds has composite primary key. Composite primary key is ignored.1175WARNING: Active Record does not support composite primary key.1176ci_builds has composite primary key. Composite primary key is ignored.1177WARNING: Active Record does not support composite primary key.1178ci_builds has composite primary key. Composite primary key is ignored.1179WARNING: Active Record does not support composite primary key.1180ci_builds has composite primary key. Composite primary key is ignored.1181WARNING: Active Record does not support composite primary key.1182ci_builds has composite primary key. Composite primary key is ignored.1183WARNING: Active Record does not support composite primary key.1184ci_builds has composite primary key. Composite primary key is ignored.1185WARNING: Active Record does not support composite primary key.1186ci_builds has composite primary key. Composite primary key is ignored.1187WARNING: Active Record does not support composite primary key.1188ci_builds has composite primary key. Composite primary key is ignored.1189WARNING: Active Record does not support composite primary key.1190ci_builds has composite primary key. Composite primary key is ignored.1191WARNING: Active Record does not support composite primary key.1192ci_builds has composite primary key. Composite primary key is ignored.1193WARNING: Active Record does not support composite primary key.1194ci_builds has composite primary key. Composite primary key is ignored.1195WARNING: Active Record does not support composite primary key.1196ci_builds has composite primary key. Composite primary key is ignored.1197WARNING: Active Record does not support composite primary key.1198ci_builds has composite primary key. Composite primary key is ignored.1199WARNING: Active Record does not support composite primary key.1200ci_builds has composite primary key. Composite primary key is ignored.1201WARNING: Active Record does not support composite primary key.1202ci_builds has composite primary key. Composite primary key is ignored.1203WARNING: Active Record does not support composite primary key.1204ci_builds has composite primary key. Composite primary key is ignored.1205 keeps expire_at on other job artifacts1206 with trace artifacts that has backfilled expire_at1207WARNING: Active Record does not support composite primary key.1208ci_builds has composite primary key. Composite primary key is ignored.1209WARNING: Active Record does not support composite primary key.1210ci_builds has composite primary key. Composite primary key is ignored.1211 removes expire_at on trace job artifacts1212Gitlab::BackgroundMigration::RenameTaskSystemNoteToChecklistItem1213 # order random1214 renames task to checklist item in task system notes that match1215 updates in batches1216 tracks timings of queries1217Gitlab::BackgroundMigration::BackfillPreparedAtMergeRequests1218 # order random1219 updates merge requests with prepared_at nil1220I, [2023-03-30T12:00:00.028957 #359] INFO -- : Database: 'main', Table: 'p_ci_runner_machine_builds': Lock Writes1221I, [2023-03-30T12:00:00.326870 #359] INFO -- : Database: 'main', Table: 'ci_cost_settings': Lock Writes1222Gitlab::BackgroundMigration::BackfillProjectWikiRepositories1223 # order random1224 #perform1225 creates project_wiki_repositories entries for all projects in range1226 does nothing if project_id already exist in project_wiki_repositories1227Gitlab::BackgroundMigration::DeleteOrphanedOperationalVulnerabilities1228 # order random1229 drops Cluster Image Scanning and Custom Vulnerabilities without any Findings1230Gitlab::BackgroundMigration::PruneStaleProjectExportJobs1231 # order random1232 removes export jobs and associated relations older than 7 days1233Gitlab::BackgroundMigration::BackfillProjectFeaturePackageRegistryAccessLevel1234 backfills project_features.package_registry_access_level1235Gitlab::BackgroundMigration::BackfillNoteDiscussionId1236 updates records in the specified batch1237Gitlab::BackgroundMigration::BatchingStrategies::BackfillProjectStatisticsWithContainerRegistrySizeBatchingStrategy1238 is expected to be < Gitlab::BackgroundMigration::BatchingStrategies::PrimaryKeyBatchingStrategy1239Knapsack report was generated. Preview:1240{1241 "spec/lib/gitlab/background_migration/backfill_environment_tiers_spec.rb": 154.52084526399995,1242 "spec/lib/gitlab/background_migration/batched_migration_job_spec.rb": 50.80459470200003,1243 "spec/lib/gitlab/background_migration/backfill_project_repositories_spec.rb": 42.706356632999814,1244 "spec/lib/gitlab/background_migration/backfill_issue_search_data_spec.rb": 37.35208672800036,1245 "spec/lib/gitlab/background_migration/migrate_u2f_webauthn_spec.rb": 32.391310812000484,1246 "spec/lib/gitlab/background_migration/update_timelogs_null_spent_at_spec.rb": 31.927652269000646,1247 "spec/lib/gitlab/background_migration/reset_too_many_tags_skipped_registry_imports_spec.rb": 28.22250508900015,1248 "spec/lib/gitlab/background_migration/populate_topics_non_private_projects_count_spec.rb": 31.03606504399977,1249 "spec/lib/gitlab/background_migration/backfill_work_item_type_id_for_issues_spec.rb": 27.854034381999554,1250 "spec/lib/gitlab/background_migration/backfill_project_settings_spec.rb": 28.70535595399997,1251 "spec/lib/gitlab/background_migration/backfill_group_features_spec.rb": 32.15814553100063,1252 "spec/lib/gitlab/background_migration/fix_duplicate_project_name_and_path_spec.rb": 30.409972968999682,1253 "spec/lib/gitlab/background_migration/remove_self_managed_wiki_notes_spec.rb": 25.339497150999705,1254 "spec/lib/gitlab/background_migration/disable_legacy_open_source_license_for_one_member_no_repo_projects_spec.rb": 21.807966890999523,1255 "spec/lib/gitlab/background_migration/set_legacy_open_source_license_available_for_non_public_projects_spec.rb": 21.61599928599935,1256 "spec/lib/gitlab/background_migration/batching_strategies/primary_key_batching_strategy_spec.rb": 17.39127524899959,1257 "spec/lib/gitlab/background_migration/batching_strategies/loose_index_scan_batching_strategy_spec.rb": 13.605164309000429,1258 "spec/lib/gitlab/background_migration/remove_backfilled_job_artifacts_expire_at_spec.rb": 12.855298075999599,1259 "spec/lib/gitlab/background_migration/rename_task_system_note_to_checklist_item_spec.rb": 8.606242021000071,1260 "spec/lib/gitlab/background_migration/backfill_prepared_at_merge_requests_spec.rb": 8.557815754999865,1261 "spec/lib/gitlab/background_migration/backfill_project_wiki_repositories_spec.rb": 7.72701182900073,1262 "spec/lib/gitlab/background_migration/delete_orphaned_operational_vulnerabilities_spec.rb": 3.341732003999823,1263 "spec/lib/gitlab/background_migration/prune_stale_project_export_jobs_spec.rb": 3.09885283299991,1264 "spec/lib/gitlab/background_migration/backfill_project_feature_package_registry_access_level_spec.rb": 3.0699214249998477,1265 "spec/lib/gitlab/background_migration/backfill_note_discussion_id_spec.rb": 2.7387141210001573,1266 "spec/lib/gitlab/background_migration/batching_strategies/backfill_project_statistics_with_container_registry_size_batching_strategy_spec.rb": 2.7095854020008121267}1268Knapsack global time execution for tests: 11m 20s1269Finished in 20 minutes 48 seconds (files took 43.39 seconds to load)1270132 examples, 0 failures1271Randomized with seed 218271272[TEST PROF INFO] Time spent in factories: 00:20.140 (1.61% of total time)1273RSpec exited with 0.1274No examples to retry, congrats!1276Not uploading cache ruby-gems-debian-bullseye-ruby-3.0-16 due to policy1277Not uploading cache gitaly-ruby-gems-debian-bullseye-ruby-3.0-16 due to policy1279Uploading artifacts...1280coverage/: found 5 matching artifact files and directories 1281crystalball/: found 2 matching artifact files and directories 1282WARNING: deprecations/: no matching files. Ensure that the artifact path is relative to the working directory (/builds/gitlab-org/gitlab) 1283knapsack/: found 3 matching artifact files and directories 1284WARNING: query_recorder/: no matching files. Ensure that the artifact path is relative to the working directory (/builds/gitlab-org/gitlab) 1285rspec/: found 14 matching artifact files and directories 1286WARNING: tmp/capybara/: no matching files. Ensure that the artifact path is relative to the working directory (/builds/gitlab-org/gitlab) 1287log/*.log: found 13 matching artifact files and directories 1288WARNING: Upload request redirected location=https://gitlab.com/api/v4/jobs/4031138369/artifacts?artifact_format=zip&artifact_type=archive&expire_in=31d new-url=https://gitlab.com1289WARNING: Retrying... context=artifacts-uploader error=request redirected1290Uploading artifacts as "archive" to coordinator... 201 Created id=4031138369 responseStatus=201 Created token=64_poD3E1291Uploading artifacts...1292rspec/junit_rspec.xml: found 1 matching artifact files and directories 1293WARNING: Upload request redirected location=https://gitlab.com/api/v4/jobs/4031138369/artifacts?artifact_format=gzip&artifact_type=junit&expire_in=31d new-url=https://gitlab.com1294WARNING: Retrying... context=artifacts-uploader error=request redirected1295Uploading artifacts as "junit" to coordinator... 201 Created id=4031138369 responseStatus=201 Created token=64_poD3E1297Job succeeded