rspec-ee background_migration pg14 single-db 2/2
Passed Started
by
@rkadam3

Rajendra Kadam
1Running with gitlab-runner 16.9.1 (782c6ecb)2 on green-6.private.runners-manager.gitlab.com/gitlab.com/gitlab-org vHriyjxu, system ID: s_44fde8db605e3 feature flags: FF_NETWORK_PER_BUILD:true, FF_USE_IMPROVED_URL_MASKING:true6Using Docker executor with image registry.gitlab.com/gitlab-org/gitlab-build-images/debian-bookworm-ruby-3.1.patched-golang-1.20-rust-1.73-node-18.17-postgresql-14:rubygems-3.4-git-2.36-lfs-2.9-chrome-120-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:b6c412dc298714b5c26feca1330d8f743b48caf0b1feeadfd554d7d446f985a5 for redis:6.2-alpine with digest redis@sha256:51d6c56749a4243096327e3fb964a48ed92254357108449cb6e23999c37773c5 ...20WARNING: Service registry.gitlab.com/gitlab-org/gitlab-build-images:zoekt-ci-image-1.7 is already created. Ignoring.21WARNING: Service registry.gitlab.com/gitlab-org/gitlab-build-images:zoekt-ci-image-1.7 is already created. Ignoring.22Starting service registry.gitlab.com/gitlab-org/gitlab-build-images:zoekt-ci-image-1.7 ...23Authenticating with credentials from job payload (GitLab Registry)24Pulling docker image registry.gitlab.com/gitlab-org/gitlab-build-images:zoekt-ci-image-1.7 ...25Using docker image sha256:eee5f6d07e4f2f80f030d31b1c9844c6057211b1a1cad05dff01b339defbce64 for registry.gitlab.com/gitlab-org/gitlab-build-images:zoekt-ci-image-1.7 with digest registry.gitlab.com/gitlab-org/gitlab-build-images@sha256:60d4e4e44378e9c60ceacbe66e86d63ef49f8036d3b20ed60452348c7739ec5e ...26Starting service elasticsearch:7.17.6 ...27Pulling docker image elasticsearch:7.17.6 ...28Using docker image sha256:5fad10241ffd65d817ed0ddfaf6e87eee1f7dc2a7db33db1047835560ea71fda for elasticsearch:7.17.6 with digest elasticsearch@sha256:6c128de5d01c0c130a806022d6bd99b3e4c27a9af5bfc33b6b81861ae117d028 ...29Waiting for services to be up and running (timeout 30 seconds)...30Authenticating with credentials from job payload (GitLab Registry)31Pulling docker image registry.gitlab.com/gitlab-org/gitlab-build-images/debian-bookworm-ruby-3.1.patched-golang-1.20-rust-1.73-node-18.17-postgresql-14:rubygems-3.4-git-2.36-lfs-2.9-chrome-120-yarn-1.22-graphicsmagick-1.3.36 ...32Using docker image sha256:fc7435a87025ef82fcd7c3a7df1e52121e8a88ab05430c94ba7ad5920fecc0d0 for registry.gitlab.com/gitlab-org/gitlab-build-images/debian-bookworm-ruby-3.1.patched-golang-1.20-rust-1.73-node-18.17-postgresql-14:rubygems-3.4-git-2.36-lfs-2.9-chrome-120-yarn-1.22-graphicsmagick-1.3.36 with digest registry.gitlab.com/gitlab-org/gitlab-build-images/debian-bookworm-ruby-3.1.patched-golang-1.20-rust-1.73-node-18.17-postgresql-14@sha256:c129fa1214137f01be7f1412c5233ac179604d32d9d852cbe06113596fb24504 ...34Running on runner-vhriyjxu-project-278964-concurrent-0 via runner-vhriyjxu-private-1709558798-945f72b3...36Skipping Git repository setup37Skipping Git checkout38Skipping Git submodules setup40Checking cache for ruby-gems-debian-bookworm-ruby-3.1-17...41Downloading cache from https://storage.googleapis.com/gitlab-com-runners-cache/project/278964/ruby-gems-debian-bookworm-ruby-3.1-17 42Successfully extracted cache44Downloading artifacts for clone-gitlab-repo (6311410718)...45Downloading artifacts from coordinator... ok host=storage.googleapis.com id=6311410718 responseStatus=200 OK token=glcbt-6546WARNING: Part of .git directory is on the list of files to extract 47WARNING: This may introduce unexpected problems 48Downloading artifacts for compile-test-assets (6311410765)...49Downloading artifacts from coordinator... ok host=storage.googleapis.com id=6311410765 responseStatus=200 OK token=glcbt-6550Downloading artifacts for detect-tests (6311410787)...51Downloading artifacts from coordinator... ok host=storage.googleapis.com id=6311410787 responseStatus=200 OK token=glcbt-6552Downloading artifacts for retrieve-tests-metadata (6311410799)...53Downloading artifacts from coordinator... ok host=storage.googleapis.com id=6311410799 responseStatus=200 OK token=glcbt-6554Downloading artifacts for setup-test-env (6311410773)...55Downloading artifacts from coordinator... ok host=storage.googleapis.com id=6311410773 responseStatus=200 OK token=glcbt-6557Using docker image sha256:fc7435a87025ef82fcd7c3a7df1e52121e8a88ab05430c94ba7ad5920fecc0d0 for registry.gitlab.com/gitlab-org/gitlab-build-images/debian-bookworm-ruby-3.1.patched-golang-1.20-rust-1.73-node-18.17-postgresql-14:rubygems-3.4-git-2.36-lfs-2.9-chrome-120-yarn-1.22-graphicsmagick-1.3.36 with digest registry.gitlab.com/gitlab-org/gitlab-build-images/debian-bookworm-ruby-3.1.patched-golang-1.20-rust-1.73-node-18.17-postgresql-14@sha256:c129fa1214137f01be7f1412c5233ac179604d32d9d852cbe06113596fb24504 ...58$ echo $FOSS_ONLY59$ [ "$FOSS_ONLY" = "1" ] && rm -rf ee/ qa/spec/ee/ qa/qa/specs/features/ee/ qa/qa/ee/ qa/qa/ee.rb60$ export GOPATH=$CI_PROJECT_DIR/.go61$ mkdir -p $GOPATH62$ source scripts/utils.sh63$ source scripts/prepare_build.sh741Using two connections, single database config (config/database.yml.postgresql)742Disabling ci connection in config/database.yml743Geo DB will be set up.744Embedding DB will be set up.769$ source ./scripts/rspec_helpers.sh770$ run_timed_command "gem install knapsack --no-document"771$ gem install knapsack --no-document772Successfully installed knapsack-4.0.07731 gem installed774==> 'gem install knapsack --no-document' succeeded in 1 seconds.775$ section_start "gitaly-test-spawn" "Spawning Gitaly"; scripts/gitaly-test-spawn; section_end "gitaly-test-spawn"780$ export RSPEC_SKIPPED_TESTS_REPORT_PATH="rspec/skipped_tests-${CI_JOB_ID}.txt"781$ export RSPEC_RETRIED_TESTS_REPORT_PATH="rspec/retried_tests-${CI_JOB_ID}.txt"782$ tooling/bin/create_job_metrics_file || true783[job-metrics] Creating the job metrics file for the CI/CD job.784$ rspec_parallelized_job "--fail-fast=${RSPEC_FAIL_FAST_THRESHOLD} --tag ~quarantine --tag ~zoekt --tag ~click_house"785[13:32:18] Starting rspec_parallelized_job786RETRY_FAILED_TESTS_IN_NEW_PROCESS: true787KNAPSACK_GENERATE_REPORT: true788FLAKY_RSPEC_GENERATE_REPORT: true789KNAPSACK_TEST_FILE_PATTERN: {ee/}spec/{lib/gitlab/background_migration,lib/ee/gitlab/background_migration}{,/**/}*_spec.rb790KNAPSACK_LOG_LEVEL: debug791KNAPSACK_REPORT_PATH: knapsack/rspec-ee_background_migration_pg14_single-db_2_2_278964_report.json792FLAKY_RSPEC_SUITE_REPORT_PATH: rspec/flaky/report-suite.json793FLAKY_RSPEC_REPORT_PATH: rspec/flaky/all_rspec-ee_background_migration_pg14_single-db_2_2_278964_report.json794NEW_FLAKY_RSPEC_REPORT_PATH: rspec/flaky/new_rspec-ee_background_migration_pg14_single-db_2_2_278964_report.json795RSPEC_SKIPPED_TESTS_REPORT_PATH: rspec/skipped_tests-6311412160.txt796CRYSTALBALL: 797RSPEC_TESTS_MAPPING_ENABLED: 798RSPEC_TESTS_FILTER_FILE: 799Shell set options (set -o) enabled:800braceexpand on801hashall on802interactive-comments on803pipefail on804Knapsack report generator started!805 ██ ██ █████ ██████ ███ ██ ██ ███ ██ ██████ 806 ██ ██ ██ ██ ██ ██ ████ ██ ██ ████ ██ ██ 807 ██ █ ██ ███████ ██████ ██ ██ ██ ██ ██ ██ ██ ██ ███ 808 ██ ███ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ 809 ███ ███ ██ ██ ██ ██ ██ ████ ██ ██ ████ ██████ 810******************************************************************************811 Your database has a single connection, and single connections were812 deprecated in GitLab 15.9 https://docs.gitlab.com/ee/update/deprecations.html#single-database-connection-is-deprecated.813 Please add a :ci section to your database, following these instructions:815******************************************************************************816 ██ ██ █████ ██████ ███ ██ ██ ███ ██ ██████ 817 ██ ██ ██ ██ ██ ██ ████ ██ ██ ████ ██ ██ 818 ██ █ ██ ███████ ██████ ██ ██ ██ ██ ██ ██ ██ ██ ███ 819 ██ ███ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ 820 ███ ███ ██ ██ ██ ██ ██ ████ ██ ██ ████ ██████ 821******************************************************************************822 Your database has a single connection, and single connections were823 deprecated in GitLab 15.9 https://docs.gitlab.com/ee/update/deprecations.html#single-database-connection-is-deprecated.824 Please add a :ci section to your database, following these instructions:826******************************************************************************827Run options: exclude {:quarantine=>true, :zoekt=>true, :click_house=>true}828# [RSpecRunTime] Starting RSpec timer...829[TEST PROF INFO] EventProf enabled (sql.active_record)830unknown OID 2249: failed to recognize type of 'pg_stat_file'. It will be treated as String.831Test environment set up in 2.318677507 seconds832# [RSpecRunTime] Starting example group ee/spec/lib/ee/gitlab/background_migration/migrate_approver_to_approval_rules_spec.rb. Expected to take 1 minute 41.95 seconds.833Gitlab::BackgroundMigration::MigrateApproverToApprovalRules834 sync approval rule and its members835 merge request836 behaves like sync approval member837 when member in old schema but not in new schema838 creates in new schema839 when rule is not created yet840 creates rule in new schema841 when member not in old schema but in new schema842 removes in new schema843# [RSpecRunTime] RSpec elapsed time: 19.62 seconds. Current RSS: ~1356M. load average: 1.16 1.25 0.68 1/374 419844 when approver has user_id which no longer exists845 ignores broken reference when assigning846# [RSpecRunTime] RSpec elapsed time: 24.57 seconds. Current RSS: ~1356M. load average: 1.15 1.24 0.68 1/375 421847 when project rule is present848 sets MR rule's source to project rule without duplication849# [RSpecRunTime] RSpec elapsed time: 28.42 seconds. Current RSS: ~1360M. load average: 1.13 1.24 0.68 1/375 422850 when project rule is absent851 has MR rule's source as nil852# [RSpecRunTime] RSpec elapsed time: 32.28 seconds. Current RSS: ~1355M. load average: 1.04 1.22 0.68 1/375 423853 when approvals_before_merge is nil854 updates with project's approvals_required855# [RSpecRunTime] RSpec elapsed time: 36.26 seconds. Current RSS: ~1352M. load average: 1.04 1.21 0.68 1/376 424856 when approvals_before_merge is too big857 caps at allowed maximum858# [RSpecRunTime] RSpec elapsed time: 40.19 seconds. Current RSS: ~1349M. load average: 1.04 1.21 0.68 1/376 425859 when approver is no longer overwritten860 removes rule861# [RSpecRunTime] RSpec elapsed time: 44.08 seconds. Current RSS: ~1353M. load average: 1.04 1.21 0.68 1/376 426862 #sync_code_owners_with_approvers863 when merge request is merged864 does nothing865# [RSpecRunTime] RSpec elapsed time: 48.59 seconds. Current RSS: ~1365M. load average: 1.11 1.22 0.69 1/376 433866 when code owner rule does not exist867 creates rule868# [RSpecRunTime] RSpec elapsed time: 52.38 seconds. Current RSS: ~1365M. load average: 1.10 1.22 0.69 1/376 434869 when code owner rule exists870 reuses and updates existing rule871 when there is no code owner872 removes rule873# [RSpecRunTime] RSpec elapsed time: 1 minute 0.05 second. Current RSS: ~1357M. load average: 1.10 1.21 0.70 1/376 435874 project875 behaves like sync approval member876 when member in old schema but not in new schema877 creates in new schema878 when rule is not created yet879 creates rule in new schema880# [RSpecRunTime] RSpec elapsed time: 1 minute 7.54 seconds. Current RSS: ~1357M. load average: 1.16 1.22 0.70 1/376 436881 when member not in old schema but in new schema882 removes in new schema883# [RSpecRunTime] RSpec elapsed time: 1 minute 11.8 seconds. Current RSS: ~1352M. load average: 1.15 1.22 0.71 1/376 437884 when approver has user_id which no longer exists885 ignores broken reference when assigning886# [RSpecRunTime] RSpec elapsed time: 1 minute 16.0 seconds. Current RSS: ~1338M. load average: 1.14 1.21 0.71 1/376 438887 when target is deleted888 does not err889# [RSpecRunTime] RSpec elapsed time: 1 minute 19.75 seconds. Current RSS: ~1344M. load average: 1.14 1.21 0.71 1/374 439890 when project has no repository891 does not err892# [RSpecRunTime] RSpec elapsed time: 1 minute 23.48 seconds. Current RSS: ~1347M. load average: 1.12 1.21 0.71 1/374 440893# [RSpecRunTime] Finishing example group ee/spec/lib/ee/gitlab/background_migration/migrate_approver_to_approval_rules_spec.rb. It took 1 minute 22.33 seconds. Expected to take 1 minute 41.95 seconds.894# [RSpecRunTime] RSpec elapsed time: 1 minute 26.94 seconds. Current RSS: ~1339M. load average: 1.11 1.21 0.71 1/373 441895# [RSpecRunTime] Starting example group ee/spec/lib/ee/gitlab/background_migration/backfill_project_statistics_storage_size_without_uploads_size_spec.rb. Expected to take 1 minute 36.11 seconds.896Gitlab::BackgroundMigration::BackfillProjectStatisticsStorageSizeWithoutUploadsSize897 with many project statistics records898 #filter_batch899 filters out project_statistics out of scope900# [RSpecRunTime] RSpec elapsed time: 2 minutes 44.15 seconds. Current RSS: ~1344M. load average: 1.11 1.20 0.75 1/374 442901 #perform902 when project_statistics backfill runs903 when storage_size includes uploads_size904 removes uploads_size from storage_size905# [RSpecRunTime] RSpec elapsed time: 2 minutes 46.82 seconds. Current RSS: ~1355M. load average: 1.18 1.21 0.76 1/374 443906 when storage_size does not include uploads_size907 does not update the record908# [RSpecRunTime] RSpec elapsed time: 2 minutes 49.35 seconds. Current RSS: ~1354M. load average: 1.18 1.21 0.76 1/374 444909 when not checking the namespace plan910 does not run911# [RSpecRunTime] RSpec elapsed time: 2 minutes 51.73 seconds. Current RSS: ~1357M. load average: 1.17 1.21 0.76 1/374 445912 #perform913 coerces a null wiki_size to 0914 coerces a null snippets_size to 0915# [RSpecRunTime] RSpec elapsed time: 2 minutes 56.39 seconds. Current RSS: ~1350M. load average: 1.15 1.20 0.76 1/374 446916INFO: analyzing "public.p_ci_builds" inheritance tree917INFO: analyzing "public.ci_builds"918INFO: "ci_builds": scanned 0 of 0 pages, containing 0 live rows and 0 dead rows; 0 rows in sample, 0 estimated total rows919INFO: analyzing "public.p_ci_runner_machine_builds" inheritance tree920INFO: analyzing "gitlab_partitions_dynamic.ci_runner_machine_builds_100"921INFO: "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 rows922INFO: analyzing "gitlab_partitions_dynamic.ci_runner_machine_builds_101"923INFO: "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 rows924INFO: analyzing "public.p_ci_job_annotations" inheritance tree925INFO: analyzing "gitlab_partitions_dynamic.ci_job_annotations_100"926INFO: "ci_job_annotations_100": scanned 0 of 0 pages, containing 0 live rows and 0 dead rows; 0 rows in sample, 0 estimated total rows927INFO: analyzing "public.p_ci_builds_metadata" inheritance tree928INFO: analyzing "public.ci_builds_metadata"929INFO: "ci_builds_metadata": scanned 0 of 0 pages, containing 0 live rows and 0 dead rows; 0 rows in sample, 0 estimated total rows930INFO: analyzing "gitlab_partitions_dynamic.ci_builds_metadata_101"931INFO: "ci_builds_metadata_101": scanned 0 of 0 pages, containing 0 live rows and 0 dead rows; 0 rows in sample, 0 estimated total rows932INFO: analyzing "public.p_ci_builds" inheritance tree933INFO: analyzing "public.ci_builds"934INFO: "ci_builds": scanned 0 of 0 pages, containing 0 live rows and 0 dead rows; 0 rows in sample, 0 estimated total rows935INFO: analyzing "public.p_ci_pipeline_variables" inheritance tree936INFO: analyzing "public.ci_pipeline_variables"937INFO: "ci_pipeline_variables": scanned 0 of 0 pages, containing 0 live rows and 0 dead rows; 0 rows in sample, 0 estimated total rows938INFO: analyzing "public.p_ci_job_artifacts" inheritance tree939INFO: analyzing "public.ci_job_artifacts"940INFO: "ci_job_artifacts": scanned 0 of 0 pages, containing 0 live rows and 0 dead rows; 0 rows in sample, 0 estimated total rows941INFO: analyzing "public.p_ci_pipeline_variables" inheritance tree942INFO: analyzing "public.ci_pipeline_variables"943INFO: "ci_pipeline_variables": scanned 0 of 0 pages, containing 0 live rows and 0 dead rows; 0 rows in sample, 0 estimated total rows944INFO: analyzing "public.p_ci_stages" inheritance tree945INFO: analyzing "public.ci_stages"946INFO: "ci_stages": scanned 0 of 0 pages, containing 0 live rows and 0 dead rows; 0 rows in sample, 0 estimated total rows947# [RSpecRunTime] Finishing example group ee/spec/lib/ee/gitlab/background_migration/backfill_project_statistics_storage_size_without_uploads_size_spec.rb. It took 2 minutes 57.03 seconds. Expected to take 1 minute 36.11 seconds.948# [RSpecRunTime] RSpec elapsed time: 4 minutes 24.01 seconds. Current RSS: ~1328M. load average: 1.08 1.17 0.79 1/374 447949# [RSpecRunTime] Starting example group ee/spec/lib/ee/gitlab/background_migration/backfill_dismissal_reason_in_vulnerability_reads_spec.rb. Expected to take 1 minute 9.26 seconds.950Gitlab::BackgroundMigration::BackfillDismissalReasonInVulnerabilityReads951 populates dismissal_reason for vulnerability_reads records that need it952 creates new Vulnerability::StateTransition entries for dismissed Vulnerabilities without one953 uses the latest dismissal state transition954 does not insert new rows955 does not populate dismissal_reason for vulnerability_reads records that do not need it956 when dismissed_at is not filled in and no state transition exists957 fills in a default dismissed_at value958# [RSpecRunTime] RSpec elapsed time: 5 minutes 26.83 seconds. Current RSS: ~1344M. load average: 1.28 1.22 0.84 1/371 448959INFO: analyzing "public.p_ci_runner_machine_builds" inheritance tree960INFO: analyzing "gitlab_partitions_dynamic.ci_runner_machine_builds_100"961INFO: "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 rows962INFO: analyzing "gitlab_partitions_dynamic.ci_runner_machine_builds_101"963INFO: "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 rows964INFO: analyzing "public.p_ci_job_annotations" inheritance tree965INFO: analyzing "gitlab_partitions_dynamic.ci_job_annotations_100"966INFO: "ci_job_annotations_100": scanned 0 of 0 pages, containing 0 live rows and 0 dead rows; 0 rows in sample, 0 estimated total rows967INFO: analyzing "public.p_ci_builds_metadata" inheritance tree968INFO: analyzing "public.ci_builds_metadata"969INFO: "ci_builds_metadata": scanned 0 of 0 pages, containing 0 live rows and 0 dead rows; 0 rows in sample, 0 estimated total rows970INFO: analyzing "gitlab_partitions_dynamic.ci_builds_metadata_101"971INFO: "ci_builds_metadata_101": scanned 0 of 0 pages, containing 0 live rows and 0 dead rows; 0 rows in sample, 0 estimated total rows972INFO: analyzing "public.p_ci_builds" inheritance tree973INFO: analyzing "public.ci_builds"974INFO: "ci_builds": scanned 0 of 0 pages, containing 0 live rows and 0 dead rows; 0 rows in sample, 0 estimated total rows975INFO: analyzing "public.p_ci_pipeline_variables" inheritance tree976INFO: analyzing "public.ci_pipeline_variables"977INFO: "ci_pipeline_variables": scanned 0 of 0 pages, containing 0 live rows and 0 dead rows; 0 rows in sample, 0 estimated total rows978INFO: analyzing "public.p_ci_job_artifacts" inheritance tree979INFO: analyzing "public.ci_job_artifacts"980INFO: "ci_job_artifacts": scanned 0 of 0 pages, containing 0 live rows and 0 dead rows; 0 rows in sample, 0 estimated total rows981INFO: analyzing "public.p_ci_pipeline_variables" inheritance tree982INFO: analyzing "public.ci_pipeline_variables"983INFO: "ci_pipeline_variables": scanned 0 of 0 pages, containing 0 live rows and 0 dead rows; 0 rows in sample, 0 estimated total rows984INFO: analyzing "public.p_ci_stages" inheritance tree985INFO: analyzing "public.ci_stages"986INFO: "ci_stages": scanned 0 of 0 pages, containing 0 live rows and 0 dead rows; 0 rows in sample, 0 estimated total rows987# [RSpecRunTime] Finishing example group ee/spec/lib/ee/gitlab/background_migration/backfill_dismissal_reason_in_vulnerability_reads_spec.rb. It took 2 minutes 2.17 seconds. Expected to take 1 minute 9.26 seconds.988# [RSpecRunTime] RSpec elapsed time: 6 minutes 26.23 seconds. Current RSS: ~1321M. load average: 1.14 1.19 0.86 1/372 449989# [RSpecRunTime] Starting example group ee/spec/lib/ee/gitlab/background_migration/backfill_missing_vulnerability_dismissal_details_spec.rb. Expected to take 59.78 seconds.990Gitlab::BackgroundMigration::BackfillMissingVulnerabilityDismissalDetails991 when the vulnerability is not correctly dismissed992 applies the applicable state transition information to malformed state transitions993 logs a succesful outcome994 and does not have a corresponding vst995 does not modify the vulnerability996 logs an appropriate warning997# [RSpecRunTime] RSpec elapsed time: 7 minutes 20.31 seconds. Current RSS: ~1341M. load average: 1.12 1.18 0.87 1/375 450998 when the vulnerability is correctly dismissed999 does not modify correct vulnerabilities1000# [RSpecRunTime] RSpec elapsed time: 7 minutes 22.92 seconds. Current RSS: ~1340M. load average: 1.11 1.17 0.87 1/375 4511001INFO: analyzing "public.p_ci_runner_machine_builds" inheritance tree1002INFO: analyzing "gitlab_partitions_dynamic.ci_runner_machine_builds_100"1003INFO: "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 rows1004INFO: analyzing "gitlab_partitions_dynamic.ci_runner_machine_builds_101"1005INFO: "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 rows1006INFO: analyzing "public.p_ci_job_annotations" inheritance tree1007INFO: analyzing "gitlab_partitions_dynamic.ci_job_annotations_100"1008INFO: "ci_job_annotations_100": scanned 0 of 0 pages, containing 0 live rows and 0 dead rows; 0 rows in sample, 0 estimated total rows1009INFO: analyzing "public.p_ci_builds_metadata" inheritance tree1010INFO: analyzing "public.ci_builds_metadata"1011INFO: "ci_builds_metadata": scanned 0 of 0 pages, containing 0 live rows and 0 dead rows; 0 rows in sample, 0 estimated total rows1012INFO: analyzing "gitlab_partitions_dynamic.ci_builds_metadata_101"1013INFO: "ci_builds_metadata_101": scanned 0 of 0 pages, containing 0 live rows and 0 dead rows; 0 rows in sample, 0 estimated total rows1014INFO: analyzing "public.p_ci_builds" inheritance tree1015INFO: analyzing "public.ci_builds"1016INFO: "ci_builds": scanned 0 of 0 pages, containing 0 live rows and 0 dead rows; 0 rows in sample, 0 estimated total rows1017INFO: analyzing "public.p_ci_pipeline_variables" inheritance tree1018INFO: analyzing "public.ci_pipeline_variables"1019INFO: "ci_pipeline_variables": scanned 0 of 0 pages, containing 0 live rows and 0 dead rows; 0 rows in sample, 0 estimated total rows1020INFO: analyzing "public.p_ci_job_artifacts" inheritance tree1021INFO: analyzing "public.ci_job_artifacts"1022INFO: "ci_job_artifacts": scanned 0 of 0 pages, containing 0 live rows and 0 dead rows; 0 rows in sample, 0 estimated total rows1023INFO: analyzing "public.p_ci_pipeline_variables" inheritance tree1024INFO: analyzing "public.ci_pipeline_variables"1025INFO: "ci_pipeline_variables": scanned 0 of 0 pages, containing 0 live rows and 0 dead rows; 0 rows in sample, 0 estimated total rows1026INFO: analyzing "public.p_ci_stages" inheritance tree1027INFO: analyzing "public.ci_stages"1028INFO: "ci_stages": scanned 0 of 0 pages, containing 0 live rows and 0 dead rows; 0 rows in sample, 0 estimated total rows1029# [RSpecRunTime] Finishing example group ee/spec/lib/ee/gitlab/background_migration/backfill_missing_vulnerability_dismissal_details_spec.rb. It took 1 minute 51.04 seconds. Expected to take 59.78 seconds.1030# [RSpecRunTime] RSpec elapsed time: 8 minutes 17.32 seconds. Current RSS: ~1317M. load average: 1.28 1.21 0.90 1/375 4521031# [RSpecRunTime] Starting example group ee/spec/lib/ee/gitlab/background_migration/migrate_shared_vulnerability_scanners_spec.rb. Expected to take 53.33 seconds.1032Gitlab::BackgroundMigration::MigrateSharedVulnerabilityScanners1033 EE::Gitlab::BackgroundMigration::MigrateSharedVulnerabilityScanners::Finding1034 .to_process1035 returns findings with report type cluster image scanning or generic1036# [RSpecRunTime] RSpec elapsed time: 8 minutes 20.5 seconds. Current RSS: ~1320M. load average: 1.26 1.20 0.91 1/376 4531037 EE::Gitlab::BackgroundMigration::MigrateSharedVulnerabilityScanners::Scanner1038 ::find_or_create_id_for1039 when finding has matching scanner1040 does not create a new scanner1041 returns the scanner ID1042# [RSpecRunTime] RSpec elapsed time: 8 minutes 26.85 seconds. Current RSS: ~1344M. load average: 1.24 1.20 0.91 1/376 4541043 when finding has mismatching scanner1044 creates a new scanner1045 sets attributes1046# [RSpecRunTime] RSpec elapsed time: 8 minutes 32.18 seconds. Current RSS: ~1371M. load average: 1.22 1.20 0.91 1/376 4551047 #perform1048 creates new scanners for incorrect findings1049 creates scanners with correct attributes1050 updates erroneous associations1051 does not alter correct findings1052 with existing scanner1053 with matching external ID1054 does not create a new scanner1055 reuses the scanner1056# [RSpecRunTime] RSpec elapsed time: 8 minutes 48.13 seconds. Current RSS: ~1371M. load average: 1.33 1.22 0.92 1/378 4561057 with mismatching external ID1058 creates a new scanner1059 does not reuse the scanner1060# [RSpecRunTime] RSpec elapsed time: 8 minutes 53.43 seconds. Current RSS: ~1371M. load average: 1.30 1.21 0.92 1/378 4571061 with associated vulnerability1062 updates vulnerability reads1063# [RSpecRunTime] RSpec elapsed time: 8 minutes 56.28 seconds. Current RSS: ~1369M. load average: 1.28 1.21 0.92 1/378 4581064# [RSpecRunTime] Finishing example group ee/spec/lib/ee/gitlab/background_migration/migrate_shared_vulnerability_scanners_spec.rb. It took 42.42 seconds. Expected to take 53.33 seconds.1065# [RSpecRunTime] RSpec elapsed time: 8 minutes 59.78 seconds. Current RSS: ~1361M. load average: 1.28 1.21 0.92 1/378 4591066# [RSpecRunTime] Starting example group ee/spec/lib/ee/gitlab/background_migration/delete_orphaned_transferred_project_approval_rules_spec.rb. Expected to take 48.03 seconds.1067Gitlab::BackgroundMigration::DeleteOrphanedTransferredProjectApprovalRules1068 #perform1069 delete only outdated approval project rules where report_type equals to 4 and 21070 enqueues a worker to sync the affected project1071# [RSpecRunTime] RSpec elapsed time: 9 minutes 46.06 seconds. Current RSS: ~1383M. load average: 1.20 1.19 0.93 1/378 4601072INFO: analyzing "public.p_ci_runner_machine_builds" inheritance tree1073INFO: analyzing "gitlab_partitions_dynamic.ci_runner_machine_builds_100"1074INFO: "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 rows1075INFO: analyzing "gitlab_partitions_dynamic.ci_runner_machine_builds_101"1076INFO: "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 rows1077INFO: analyzing "public.p_ci_job_annotations" inheritance tree1078INFO: analyzing "gitlab_partitions_dynamic.ci_job_annotations_100"1079INFO: "ci_job_annotations_100": scanned 0 of 0 pages, containing 0 live rows and 0 dead rows; 0 rows in sample, 0 estimated total rows1080INFO: analyzing "public.p_ci_builds_metadata" inheritance tree1081INFO: analyzing "public.ci_builds_metadata"1082INFO: "ci_builds_metadata": scanned 0 of 0 pages, containing 0 live rows and 0 dead rows; 0 rows in sample, 0 estimated total rows1083INFO: analyzing "gitlab_partitions_dynamic.ci_builds_metadata_101"1084INFO: "ci_builds_metadata_101": scanned 0 of 0 pages, containing 0 live rows and 0 dead rows; 0 rows in sample, 0 estimated total rows1085INFO: analyzing "public.p_ci_builds" inheritance tree1086INFO: analyzing "public.ci_builds"1087INFO: "ci_builds": scanned 0 of 0 pages, containing 0 live rows and 0 dead rows; 0 rows in sample, 0 estimated total rows1088INFO: analyzing "public.p_ci_pipeline_variables" inheritance tree1089INFO: analyzing "public.ci_pipeline_variables"1090INFO: "ci_pipeline_variables": scanned 0 of 0 pages, containing 0 live rows and 0 dead rows; 0 rows in sample, 0 estimated total rows1091INFO: analyzing "public.p_ci_job_artifacts" inheritance tree1092INFO: analyzing "public.ci_job_artifacts"1093INFO: "ci_job_artifacts": scanned 0 of 0 pages, containing 0 live rows and 0 dead rows; 0 rows in sample, 0 estimated total rows1094INFO: analyzing "public.p_ci_pipeline_variables" inheritance tree1095INFO: analyzing "public.ci_pipeline_variables"1096INFO: "ci_pipeline_variables": scanned 0 of 0 pages, containing 0 live rows and 0 dead rows; 0 rows in sample, 0 estimated total rows1097INFO: analyzing "public.p_ci_stages" inheritance tree1098INFO: analyzing "public.ci_stages"1099INFO: "ci_stages": scanned 0 of 0 pages, containing 0 live rows and 0 dead rows; 0 rows in sample, 0 estimated total rows1100# [RSpecRunTime] Finishing example group ee/spec/lib/ee/gitlab/background_migration/delete_orphaned_transferred_project_approval_rules_spec.rb. It took 1 minute 37.85 seconds. Expected to take 48.03 seconds.1101# [RSpecRunTime] RSpec elapsed time: 10 minutes 37.68 seconds. Current RSS: ~1356M. load average: 1.08 1.16 0.94 1/378 4611102# [RSpecRunTime] Starting example group ee/spec/lib/ee/gitlab/background_migration/backfill_project_statistics_storage_size_with_recent_size_spec.rb. Expected to take 37.7 seconds.1103Gitlab::BackgroundMigration::BackfillProjectStatisticsStorageSizeWithRecentSize1104 #perform1105 when project_statistics backfill runs1106 when on should_check_namespace_plan? returns true1107 does not include uploads_size in the storage_size1108# [RSpecRunTime] RSpec elapsed time: 11 minutes 11.79 seconds. Current RSS: ~1362M. load average: 1.13 1.17 0.95 1/378 4621109 when on should_check_namespace_plan? returns false1110 includes uploads_size in the storage_size1111# [RSpecRunTime] RSpec elapsed time: 11 minutes 14.51 seconds. Current RSS: ~1364M. load average: 1.13 1.17 0.95 1/378 4631112INFO: analyzing "public.p_ci_runner_machine_builds" inheritance tree1113INFO: analyzing "gitlab_partitions_dynamic.ci_runner_machine_builds_100"1114INFO: "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 rows1115INFO: analyzing "gitlab_partitions_dynamic.ci_runner_machine_builds_101"1116INFO: "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 rows1117INFO: analyzing "public.p_ci_job_annotations" inheritance tree1118INFO: analyzing "gitlab_partitions_dynamic.ci_job_annotations_100"1119INFO: "ci_job_annotations_100": scanned 0 of 0 pages, containing 0 live rows and 0 dead rows; 0 rows in sample, 0 estimated total rows1120INFO: analyzing "public.p_ci_builds_metadata" inheritance tree1121INFO: analyzing "public.ci_builds_metadata"1122INFO: "ci_builds_metadata": scanned 0 of 0 pages, containing 0 live rows and 0 dead rows; 0 rows in sample, 0 estimated total rows1123INFO: analyzing "gitlab_partitions_dynamic.ci_builds_metadata_101"1124INFO: "ci_builds_metadata_101": scanned 0 of 0 pages, containing 0 live rows and 0 dead rows; 0 rows in sample, 0 estimated total rows1125INFO: analyzing "public.p_ci_builds" inheritance tree1126INFO: analyzing "public.ci_builds"1127INFO: "ci_builds": scanned 0 of 0 pages, containing 0 live rows and 0 dead rows; 0 rows in sample, 0 estimated total rows1128INFO: analyzing "public.p_ci_pipeline_variables" inheritance tree1129INFO: analyzing "public.ci_pipeline_variables"1130INFO: "ci_pipeline_variables": scanned 0 of 0 pages, containing 0 live rows and 0 dead rows; 0 rows in sample, 0 estimated total rows1131INFO: analyzing "public.p_ci_job_artifacts" inheritance tree1132INFO: analyzing "public.ci_job_artifacts"1133INFO: "ci_job_artifacts": scanned 0 of 0 pages, containing 0 live rows and 0 dead rows; 0 rows in sample, 0 estimated total rows1134INFO: analyzing "public.p_ci_pipeline_variables" inheritance tree1135INFO: analyzing "public.ci_pipeline_variables"1136INFO: "ci_pipeline_variables": scanned 0 of 0 pages, containing 0 live rows and 0 dead rows; 0 rows in sample, 0 estimated total rows1137INFO: analyzing "public.p_ci_stages" inheritance tree1138INFO: analyzing "public.ci_stages"1139INFO: "ci_stages": scanned 0 of 0 pages, containing 0 live rows and 0 dead rows; 0 rows in sample, 0 estimated total rows1140# [RSpecRunTime] Finishing example group ee/spec/lib/ee/gitlab/background_migration/backfill_project_statistics_storage_size_with_recent_size_spec.rb. It took 1 minute 14.28 seconds. Expected to take 37.7 seconds.1141# [RSpecRunTime] RSpec elapsed time: 11 minutes 52.0 seconds. Current RSS: ~1350M. load average: 1.16 1.18 0.96 1/380 4641142# [RSpecRunTime] Starting example group ee/spec/lib/gitlab/background_migration/update_workspaces_config_version_spec.rb. Expected to take 18.63 seconds.1143Gitlab::BackgroundMigration::UpdateWorkspacesConfigVersion1144 #perform1145 updates config_version and force_include_all_resources for existing non-terminated workspaces1146 does not update workspaces with different config_version or actual_state1147# [RSpecRunTime] RSpec elapsed time: 12 minutes 9.54 seconds. Current RSS: ~1362M. load average: 1.05 1.15 0.96 1/380 4651148INFO: analyzing "public.p_ci_pipeline_variables" inheritance tree1149INFO: analyzing "public.ci_pipeline_variables"1150INFO: "ci_pipeline_variables": scanned 0 of 0 pages, containing 0 live rows and 0 dead rows; 0 rows in sample, 0 estimated total rows1151INFO: analyzing "public.p_ci_job_artifacts" inheritance tree1152INFO: analyzing "public.ci_job_artifacts"1153INFO: "ci_job_artifacts": scanned 0 of 0 pages, containing 0 live rows and 0 dead rows; 0 rows in sample, 0 estimated total rows1154INFO: analyzing "public.p_ci_pipeline_variables" inheritance tree1155INFO: analyzing "public.ci_pipeline_variables"1156INFO: "ci_pipeline_variables": scanned 0 of 0 pages, containing 0 live rows and 0 dead rows; 0 rows in sample, 0 estimated total rows1157INFO: analyzing "public.p_ci_stages" inheritance tree1158INFO: analyzing "public.ci_stages"1159INFO: "ci_stages": scanned 0 of 0 pages, containing 0 live rows and 0 dead rows; 0 rows in sample, 0 estimated total rows1160# [RSpecRunTime] Finishing example group ee/spec/lib/gitlab/background_migration/update_workspaces_config_version_spec.rb. It took 34.64 seconds. Expected to take 18.63 seconds.1161# [RSpecRunTime] RSpec elapsed time: 12 minutes 26.68 seconds. Current RSS: ~1336M. load average: 1.03 1.14 0.96 1/381 4661162# [RSpecRunTime] Starting example group ee/spec/lib/ee/gitlab/background_migration/delete_invalid_epic_issues_spec.rb. Expected to take 12.77 seconds.1163Gitlab::BackgroundMigration::DeleteInvalidEpicIssues1164 #perform1165 removes invalid epic issues1166 logs deleted records1167 prevents N+1 queries1168# [RSpecRunTime] RSpec elapsed time: 12 minutes 35.96 seconds. Current RSS: ~1361M. load average: 1.03 1.14 0.96 1/381 4671169# [RSpecRunTime] Finishing example group ee/spec/lib/ee/gitlab/background_migration/delete_invalid_epic_issues_spec.rb. It took 12.94 seconds. Expected to take 12.77 seconds.1170# [RSpecRunTime] RSpec elapsed time: 12 minutes 39.66 seconds. Current RSS: ~1353M. load average: 1.03 1.14 0.96 1/381 4681171# [RSpecRunTime] Starting example group ee/spec/lib/ee/gitlab/background_migration/backfill_epic_cache_counts_spec.rb. Expected to take 8.79 seconds.1172Gitlab::BackgroundMigration::BackfillEpicCacheCounts1173 #perform1174 updates cache counts recursively from most nested subepics1175 when there are too many nested levels1176 aborts update when reaching max depth and logs error1177# [RSpecRunTime] RSpec elapsed time: 12 minutes 45.76 seconds. Current RSS: ~1364M. load average: 1.18 1.17 0.97 1/382 4691178# [RSpecRunTime] Finishing example group ee/spec/lib/ee/gitlab/background_migration/backfill_epic_cache_counts_spec.rb. It took 9.82 seconds. Expected to take 8.79 seconds.1179# [RSpecRunTime] RSpec elapsed time: 12 minutes 49.52 seconds. Current RSS: ~1354M. load average: 1.18 1.17 0.97 1/381 4701180# [RSpecRunTime] Starting example group ee/spec/lib/ee/gitlab/background_migration/purge_security_scans_with_empty_finding_data_spec.rb. Expected to take 8.34 seconds.1181Gitlab::BackgroundMigration::PurgeSecurityScansWithEmptyFindingData1182WARNING: Active Record does not support composite primary key.1183p_ci_builds has composite primary key. Composite primary key is ignored.1184WARNING: Active Record does not support composite primary key.1185security_findings has composite primary key. Composite primary key is ignored.1186WARNING: Active Record does not support composite primary key.1187security_findings has composite primary key. Composite primary key is ignored.1188 purges the correct `security_scans` records1189 when migration encounters with an existing `finding_data`1190WARNING: Active Record does not support composite primary key.1191p_ci_builds has composite primary key. Composite primary key is ignored.1192WARNING: Active Record does not support composite primary key.1193security_findings has composite primary key. Composite primary key is ignored.1194 marks the migration as finished and does not purge the related `security_scans` record1195# [RSpecRunTime] RSpec elapsed time: 12 minutes 55.33 seconds. Current RSS: ~1357M. load average: 1.16 1.16 0.97 1/381 4711196# [RSpecRunTime] Finishing example group ee/spec/lib/ee/gitlab/background_migration/purge_security_scans_with_empty_finding_data_spec.rb. It took 9.45 seconds. Expected to take 8.34 seconds.1197# [RSpecRunTime] RSpec elapsed time: 12 minutes 59.02 seconds. Current RSS: ~1337M. load average: 1.15 1.16 0.97 1/381 4721198# [RSpecRunTime] Starting example group ee/spec/lib/gitlab/background_migration/update_workspaces_config_version3_spec.rb. Expected to take 8.31 seconds.1199Gitlab::BackgroundMigration::UpdateWorkspacesConfigVersion31200 #perform1201 updates config_version and force_include_all_resources for existing non-terminated workspaces1202 does not update workspaces with different config_version or actual_state1203# [RSpecRunTime] RSpec elapsed time: 13 minutes 4.65 seconds. Current RSS: ~1349M. load average: 1.30 1.19 0.99 1/381 4731204# [RSpecRunTime] Finishing example group ee/spec/lib/gitlab/background_migration/update_workspaces_config_version3_spec.rb. It took 9.28 seconds. Expected to take 8.31 seconds.1205# [RSpecRunTime] RSpec elapsed time: 13 minutes 8.34 seconds. Current RSS: ~1334M. load average: 1.27 1.19 0.99 1/381 4741206# [RSpecRunTime] Starting example group ee/spec/lib/ee/gitlab/background_migration/fix_approval_project_rules_without_protected_branches_spec.rb. Expected to take 7.61 seconds.1207Gitlab::BackgroundMigration::FixApprovalProjectRulesWithoutProtectedBranches1208 #perform1209WARNING: Active Record does not support composite primary key.1210approval_project_rules_protected_branches has composite primary key. Composite primary key is ignored.1211 updates only approval rules without protected branches and report_type equals to 41212WARNING: Active Record does not support composite primary key.1213approval_project_rules_protected_branches has composite primary key. Composite primary key is ignored.1214 filters approval rules from scope1215# [RSpecRunTime] RSpec elapsed time: 13 minutes 13.71 seconds. Current RSS: ~1348M. load average: 1.25 1.19 0.99 1/381 4751216# [RSpecRunTime] Finishing example group ee/spec/lib/ee/gitlab/background_migration/fix_approval_project_rules_without_protected_branches_spec.rb. It took 8.97 seconds. Expected to take 7.61 seconds.1217# [RSpecRunTime] RSpec elapsed time: 13 minutes 17.35 seconds. Current RSS: ~1335M. load average: 1.23 1.18 0.99 1/381 4761218# [RSpecRunTime] Starting example group ee/spec/lib/ee/gitlab/background_migration/fix_namespace_ids_of_vulnerability_reads_spec.rb. Expected to take 4.43 seconds.1219Gitlab::BackgroundMigration::FixNamespaceIdsOfVulnerabilityReads1220 fixes the `namespace_id` data integrity issue1221# [RSpecRunTime] Finishing example group ee/spec/lib/ee/gitlab/background_migration/fix_namespace_ids_of_vulnerability_reads_spec.rb. It took 6.73 seconds. Expected to take 4.43 seconds.1222# [RSpecRunTime] RSpec elapsed time: 13 minutes 24.12 seconds. Current RSS: ~1339M. load average: 1.29 1.20 0.99 1/381 4771223# [RSpecRunTime] Starting example group ee/spec/lib/ee/gitlab/background_migration/fix_security_scan_statuses_spec.rb. Expected to take 4.28 seconds.1224Gitlab::BackgroundMigration::FixSecurityScanStatuses1225 #perform1226 fixes the scan statuses1227# [RSpecRunTime] RSpec elapsed time: 13 minutes 27.3 seconds. Current RSS: ~1325M. load average: 1.27 1.19 0.99 1/381 4781228# [RSpecRunTime] Finishing example group ee/spec/lib/ee/gitlab/background_migration/fix_security_scan_statuses_spec.rb. It took 6.86 seconds. Expected to take 4.28 seconds.1229# [RSpecRunTime] RSpec elapsed time: 13 minutes 31.02 seconds. Current RSS: ~1333M. load average: 1.25 1.19 0.99 1/381 4791230# [RSpecRunTime] Starting example group ee/spec/lib/ee/gitlab/background_migration/sync_scan_result_policies_spec.rb. Expected to take 3.99 seconds.1231Gitlab::BackgroundMigration::SyncScanResultPolicies1232 #perform1233 enqueues Security::SyncScanPoliciesWorker for each project of policy configuration1234# [RSpecRunTime] RSpec elapsed time: 13 minutes 34.06 seconds. Current RSS: ~1323M. load average: 1.25 1.19 0.99 1/381 4801235# [RSpecRunTime] Finishing example group ee/spec/lib/ee/gitlab/background_migration/sync_scan_result_policies_spec.rb. It took 6.62 seconds. Expected to take 3.99 seconds.1236# [RSpecRunTime] RSpec elapsed time: 13 minutes 37.69 seconds. Current RSS: ~1331M. load average: 1.31 1.20 1.00 1/381 4811237auto_explain log contains 1092 entries for main, writing to /builds/gitlab-org/gitlab/auto_explain/rspec-ee-background-migration-pg14-single-db-2-2.341.main.ndjson.gz1238took 18.7717837931239[TEST PROF INFO] EventProf results for sql.active_record1240Total time: 08:56.296 of 13:33.114 (65.96%)1241Total events: 3517731242Top 5 slowest suites (by time):1243Gitlab::Backg...outUploadsSize (./ee/spec/lib/ee/gitlab/background_migration/backfill_project_statistics_storage_size_without_uploads_size_spec.rb:5) – 02:06.318 (73774 / 6) of 02:57.075 (71.34%)1244Gitlab::Backg...erabilityReads (./ee/spec/lib/ee/gitlab/background_migration/backfill_dismissal_reason_in_vulnerability_reads_spec.rb:5) – 01:29.325 (51158 / 6) of 02:02.215 (73.09%)1245Gitlab::Backg...smissalDetails (./ee/spec/lib/ee/gitlab/background_migration/backfill_missing_vulnerability_dismissal_details_spec.rb:5) – 01:22.562 (44168 / 5) of 01:51.085 (74.32%)1246Gitlab::Backg...tApprovalRules (./ee/spec/lib/ee/gitlab/background_migration/delete_orphaned_transferred_project_approval_rules_spec.rb:5) – 01:15.199 (37616 / 2) of 01:37.892 (76.82%)1247Gitlab::Backg...WithRecentSize (./ee/spec/lib/ee/gitlab/background_migration/backfill_project_statistics_storage_size_with_recent_size_spec.rb:5) – 00:54.311 (32866 / 2) of 01:14.322 (73.08%)1248Knapsack report was generated. Preview:1249{1250 "ee/spec/lib/ee/gitlab/background_migration/migrate_approver_to_approval_rules_spec.rb": 79.02870800200003,1251 "ee/spec/lib/ee/gitlab/background_migration/backfill_project_statistics_storage_size_without_uploads_size_spec.rb": 89.503113982,1252 "ee/spec/lib/ee/gitlab/background_migration/backfill_dismissal_reason_in_vulnerability_reads_spec.rb": 62.911083545,1253 "ee/spec/lib/ee/gitlab/background_migration/backfill_missing_vulnerability_dismissal_details_spec.rb": 56.77945814599991,1254 "ee/spec/lib/ee/gitlab/background_migration/migrate_shared_vulnerability_scanners_spec.rb": 39.07445461299994,1255 "ee/spec/lib/ee/gitlab/background_migration/delete_orphaned_transferred_project_approval_rules_spec.rb": 46.35453020299997,1256 "ee/spec/lib/ee/gitlab/background_migration/backfill_project_statistics_storage_size_with_recent_size_spec.rb": 36.927218681999875,1257 "ee/spec/lib/gitlab/background_migration/update_workspaces_config_version_spec.rb": 17.622371826000062,1258 "ee/spec/lib/ee/gitlab/background_migration/delete_invalid_epic_issues_spec.rb": 9.394650119999824,1259 "ee/spec/lib/ee/gitlab/background_migration/backfill_epic_cache_counts_spec.rb": 6.23389840599998,1260 "ee/spec/lib/ee/gitlab/background_migration/purge_security_scans_with_empty_finding_data_spec.rb": 5.923120548999805,1261 "ee/spec/lib/gitlab/background_migration/update_workspaces_config_version3_spec.rb": 5.735770832999833,1262 "ee/spec/lib/ee/gitlab/background_migration/fix_approval_project_rules_without_protected_branches_spec.rb": 5.483084471999973,1263 "ee/spec/lib/ee/gitlab/background_migration/fix_namespace_ids_of_vulnerability_reads_spec.rb": 3.2729337559999294,1264 "ee/spec/lib/ee/gitlab/background_migration/fix_security_scan_statuses_spec.rb": 3.304946444000052,1265 "ee/spec/lib/ee/gitlab/background_migration/sync_scan_result_policies_spec.rb": 3.1395618760000161266}1267Knapsack global time execution for tests: 07m 50s1268Finished in 13 minutes 57 seconds (files took 1 minute 34.39 seconds to load)126970 examples, 0 failures1270Randomized with seed 377961271[TEST PROF INFO] Time spent in factories: 00:14.368 (1.65% of total time)1272RSpec exited with 0.1273No examples to retry, congrats! 1274 Running after_script 1275Running after script...1276$ echo -e "\e[0Ksection_start:`date +%s`:report_results_section[collapsed=true]\r\e[0KReport results"1285WARNING: after_script failed, but job will continue unaffected: exit code 11287Not uploading cache ruby-gems-debian-bookworm-ruby-3.1-17 due to policy1289Uploading artifacts...1290auto_explain/: found 2 matching artifact files and directories 1291coverage/: found 5 matching artifact files and directories 1292crystalball/: found 2 matching artifact files and directories 1293WARNING: deprecations/: no matching files. Ensure that the artifact path is relative to the working directory (/builds/gitlab-org/gitlab) 1294knapsack/: found 4 matching artifact files and directories 1295rspec/: found 16 matching artifact files and directories 1296WARNING: tmp/capybara/: no matching files. Ensure that the artifact path is relative to the working directory (/builds/gitlab-org/gitlab) 1297log/*.log: found 13 matching artifact files and directories 1298WARNING: Upload request redirected location=https://gitlab.com/api/v4/jobs/6311412160/artifacts?artifact_format=zip&artifact_type=archive&expire_in=31d new-url=https://gitlab.com1299WARNING: Retrying... context=artifacts-uploader error=request redirected1300Uploading artifacts as "archive" to coordinator... 201 Created id=6311412160 responseStatus=201 Created token=glcbt-651301Uploading artifacts...1302rspec/rspec-*.xml: found 1 matching artifact files and directories 1303WARNING: Upload request redirected location=https://gitlab.com/api/v4/jobs/6311412160/artifacts?artifact_format=gzip&artifact_type=junit&expire_in=31d new-url=https://gitlab.com1304WARNING: Retrying... context=artifacts-uploader error=request redirected1305Uploading artifacts as "junit" to coordinator... 201 Created id=6311412160 responseStatus=201 Created token=glcbt-651307Job succeeded