rspec-ee background_migration pg13 1/2
Passed Started
by
@alipniagov

Aleksei Lipniagov
1Running with gitlab-runner 15.9.0~beta.115.g598a7c91 (598a7c91)2 on green-4.shared-gitlab-org.runners-manager.gitlab.com/default x5QiHUKw, system ID: s_b9637080a79e3 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.19-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:ab3945c8cf7160ed1381efd47c6a203ba9a84fc7327a17e4a389601eb3738b3b for postgres:13 with digest postgres@sha256:67edfda7deeecfda8e40c9b00818eae76573a9e9466ba7edbc536662d128173b ...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:63e95f069a7ee668f1fcd0b0f8865e473510f98b56e5db4c8517d6cfbd073470 ...13Starting service elasticsearch:7.17.6 ...14Pulling docker image elasticsearch:7.17.6 ...15Using docker image sha256:5fad10241ffd65d817ed0ddfaf6e87eee1f7dc2a7db33db1047835560ea71fda for elasticsearch:7.17.6 with digest elasticsearch@sha256:6c128de5d01c0c130a806022d6bd99b3e4c27a9af5bfc33b6b81861ae117d028 ...16Starting service registry.gitlab.com/gitlab-org/gitlab-build-images:zoekt-ci-image-1.0 ...17Authenticating with credentials from job payload (GitLab Registry)18Pulling docker image registry.gitlab.com/gitlab-org/gitlab-build-images:zoekt-ci-image-1.0 ...19Using docker image sha256:4777ec1fa89def7d692d4979d05cb05234df25da1c6a3f67a564a433ec5ba1c8 for registry.gitlab.com/gitlab-org/gitlab-build-images:zoekt-ci-image-1.0 with digest registry.gitlab.com/gitlab-org/gitlab-build-images@sha256:80c0cee4566aefe4f1f287e1091263e08b0ebc41ed3dc4e76930df3634ccb9aa ...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-bullseye-ruby-3.0.patched-golang-1.19-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 ...23Using docker image sha256:667531aab48d3d73584a6ae24a2aea1de3972ab11b24d34d65740089d1635940 for registry.gitlab.com/gitlab-org/gitlab-build-images/debian-bullseye-ruby-3.0.patched-golang-1.19-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.19-rust-1.65-node-16.14-postgresql-13@sha256:32a5178f22d0b62740cacea13dc02b6d5a1c9528c0a9af52124abe4455dd0a15 ...25Running on runner-x5qihukw-project-278964-concurrent-0 via runner-x5qihukw-shared-gitlab-org-1681307961-9402d670...27$ eval "$CI_PRE_CLONE_SCRIPT"28Fetching changes with git depth set to 20...29Initialized empty Git repository in /builds/gitlab-org/gitlab/.git/30Created fresh repository.31remote: Enumerating objects: 141454, done. 32remote: Counting objects: 100% (141454/141454), done. 33remote: Compressing objects: 100% (90405/90405), done. 34remote: Total 141454 (delta 62786), reused 98969 (delta 45741), pack-reused 0 35Receiving objects: 100% (141454/141454), 122.89 MiB | 31.74 MiB/s, done.36Resolving deltas: 100% (62786/62786), done.38 * [new ref] refs/pipelines/835170457 -> refs/pipelines/83517045739Checking out aa21306d as detached HEAD (ref is refs/merge-requests/116974/merge)...40Skipping Git submodules setup41$ git remote set-url origin "${CI_REPOSITORY_URL}"43Checking cache for ruby-gems-debian-bullseye-ruby-3.0-16...44Downloading cache.zip from https://storage.googleapis.com/gitlab-com-runners-cache/project/278964/ruby-gems-debian-bullseye-ruby-3.0-16 45Successfully extracted cache46Checking cache for gitaly-ruby-gems-debian-bullseye-ruby-3.0-16...47Downloading cache.zip from https://storage.googleapis.com/gitlab-com-runners-cache/project/278964/gitaly-ruby-gems-debian-bullseye-ruby-3.0-16 48Successfully extracted cache50Downloading artifacts for compile-test-assets (4101394559)...51Downloading artifacts from coordinator... ok host=storage.googleapis.com id=4101394559 responseStatus=200 OK token=64_F34tC52Downloading artifacts for detect-tests (4101394577)...53Downloading artifacts from coordinator... ok host=storage.googleapis.com id=4101394577 responseStatus=200 OK token=64_F34tC54Downloading artifacts for retrieve-tests-metadata (4101394581)...55Downloading artifacts from coordinator... ok host=storage.googleapis.com id=4101394581 responseStatus=200 OK token=64_F34tC56Downloading artifacts for setup-test-env (4101394571)...57Downloading artifacts from coordinator... ok host=storage.googleapis.com id=4101394571 responseStatus=200 OK token=64_F34tC59Using docker image sha256:667531aab48d3d73584a6ae24a2aea1de3972ab11b24d34d65740089d1635940 for registry.gitlab.com/gitlab-org/gitlab-build-images/debian-bullseye-ruby-3.0.patched-golang-1.19-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.19-rust-1.65-node-16.14-postgresql-13@sha256:32a5178f22d0b62740cacea13dc02b6d5a1c9528c0a9af52124abe4455dd0a15 ...60$ echo $FOSS_ONLY61$ [ "$FOSS_ONLY" = "1" ] && rm -rf ee/ qa/spec/ee/ qa/qa/specs/features/ee/ qa/qa/ee/ qa/qa/ee.rb62$ export GOPATH=$CI_PROJECT_DIR/.go63$ mkdir -p $GOPATH64$ source scripts/utils.sh65$ source scripts/prepare_build.sh718Using decomposed database config (config/database.yml.decomposed-postgresql)719Geo DB will be set up.720$ setup_db_user_only721CREATE ROLE722GRANT723==> 'setup_db_user_only' succeeded in 0 seconds.724$ bundle exec rake db:drop db:create db:schema:load db:migrate gitlab:db:lock_writes725Dropped database 'gitlabhq_test'726Dropped database 'gitlabhq_test_ci'727Dropped database 'gitlabhq_geo_test'728Created database 'gitlabhq_test'729Created database 'gitlabhq_test_ci'730Created database 'gitlabhq_geo_test'731main: == [advisory_lock_connection] object_id: 274240, pg_backend_pid: 109732main: == [advisory_lock_connection] object_id: 274240, pg_backend_pid: 109733ci: == [advisory_lock_connection] object_id: 274340, pg_backend_pid: 111734ci: == [advisory_lock_connection] object_id: 274340, pg_backend_pid: 111735geo: == [advisory_lock_connection] object_id: 274420, pg_backend_pid: 113736geo: == [advisory_lock_connection] object_id: 274420, pg_backend_pid: 113737==> 'bundle exec rake db:drop db:create db:schema:load db:migrate gitlab:db:lock_writes' succeeded in 60 seconds.738$ setup_db_praefect739SELECT pg_catalog.set_config('search_path', '', false);740CREATE DATABASE praefect_test ENCODING 'UTF8';741==> 'setup_db_praefect' succeeded in 0 seconds.742$ source ./scripts/rspec_helpers.sh743$ run_timed_command "gem install knapsack --no-document"744$ gem install knapsack --no-document745Successfully installed knapsack-4.0.07461 gem installed747==> 'gem install knapsack --no-document' succeeded in 0 seconds.748$ echo -e "\e[0Ksection_start:`date +%s`:gitaly-test-spawn[collapsed=true]\r\e[0KStarting Gitaly"768$ rspec_paralellized_job "--tag ~quarantine --tag ~zoekt"769SKIP_FLAKY_TESTS_AUTOMATICALLY: false770RETRY_FAILED_TESTS_IN_NEW_PROCESS: true771KNAPSACK_GENERATE_REPORT: true772FLAKY_RSPEC_GENERATE_REPORT: true773KNAPSACK_TEST_FILE_PATTERN: {ee/}spec/{lib/gitlab/background_migration,lib/ee/gitlab/background_migration}{,/**/}*_spec.rb774KNAPSACK_LOG_LEVEL: debug775KNAPSACK_REPORT_PATH: knapsack/rspec-ee_background_migration_pg13_1_2_report.json776FLAKY_RSPEC_SUITE_REPORT_PATH: rspec/flaky/report-suite.json777FLAKY_RSPEC_REPORT_PATH: rspec/flaky/all_rspec-ee_background_migration_pg13_1_2_report.json778NEW_FLAKY_RSPEC_REPORT_PATH: rspec/flaky/new_rspec-ee_background_migration_pg13_1_2_report.json779SKIPPED_FLAKY_TESTS_REPORT_PATH: rspec/flaky/skipped_flaky_tests_rspec-ee_background_migration_pg13_1_2_report.txt780CRYSTALBALL: 781Knapsack report generator started!782warning: parser/current is loading parser/ruby30, which recognizes 3.0.5-compliant syntax, but you are running 3.0.6.784Run options: exclude {:quarantine=>true, :zoekt=>true}785Test environment set up in 0.714771533 seconds786Gitlab::BackgroundMigration::CreateVulnerabilityLinks787 # order random788main: == [advisory_lock_connection] object_id: 401080, pg_backend_pid: 163789main: == [advisory_lock_connection] object_id: 401080, pg_backend_pid: 163790 #perform791 for vulnerability feedback issues792 when a Finding has no Vulnerability793main: == [advisory_lock_connection] object_id: 401300, pg_backend_pid: 164794main: == [advisory_lock_connection] object_id: 401300, pg_backend_pid: 164795 creates a Vulnerability from the Vulnerabilities::Finding796 behaves like when there was a problem saving the Vulnerability797main: == [advisory_lock_connection] object_id: 625180, pg_backend_pid: 165798main: == [advisory_lock_connection] object_id: 625180, pg_backend_pid: 165799 doesn't create a Vulnerability record800main: == [advisory_lock_connection] object_id: 1006880, pg_backend_pid: 166801main: == [advisory_lock_connection] object_id: 1006880, pg_backend_pid: 166802 logs an error803 when the feedback is associated with a non-existent issue804main: == [advisory_lock_connection] object_id: 1452960, pg_backend_pid: 167805main: == [advisory_lock_connection] object_id: 1452960, pg_backend_pid: 167806 doesn't create a Vulnerability record807 behaves like a migration creating a vulnerability issue link808main: == [advisory_lock_connection] object_id: 1898860, pg_backend_pid: 168809main: == [advisory_lock_connection] object_id: 1898860, pg_backend_pid: 168810 creates a Vulnerabilities::IssueLink from the Vulnerabilities::Feedback811 when there's only a Security::Finding812main: == [advisory_lock_connection] object_id: 2441820, pg_backend_pid: 170813main: == [advisory_lock_connection] object_id: 2441820, pg_backend_pid: 170814WARNING: Active Record does not support composite primary key.815security_findings has composite primary key. Composite primary key is ignored.816 creates a Vulnerability from the Security::Finding817main: == [advisory_lock_connection] object_id: 3064220, pg_backend_pid: 171818main: == [advisory_lock_connection] object_id: 3064220, pg_backend_pid: 171819WARNING: Active Record does not support composite primary key.820security_findings has composite primary key. Composite primary key is ignored.821 creates a Vulnerabilities::IssueLink from the Vulnerabilities::Feedback822 behaves like when creating any associated record fails823main: == [advisory_lock_connection] object_id: 3756440, pg_backend_pid: 172824main: == [advisory_lock_connection] object_id: 3756440, pg_backend_pid: 172825WARNING: Active Record does not support composite primary key.826security_findings has composite primary key. Composite primary key is ignored.827 doesn't create a Vulnerability record828main: == [advisory_lock_connection] object_id: 4351860, pg_backend_pid: 173829main: == [advisory_lock_connection] object_id: 4351860, pg_backend_pid: 173830WARNING: Active Record does not support composite primary key.831security_findings has composite primary key. Composite primary key is ignored.832 logs an error833 when there is a vulnerability834 behaves like when the link is invalid835main: == [advisory_lock_connection] object_id: 4898520, pg_backend_pid: 175836main: == [advisory_lock_connection] object_id: 4898520, pg_backend_pid: 175837 doesn't create a IssueLink838main: == [advisory_lock_connection] object_id: 5401580, pg_backend_pid: 176839main: == [advisory_lock_connection] object_id: 5401580, pg_backend_pid: 176840 logs an error841 behaves like a migration creating a vulnerability issue link842main: == [advisory_lock_connection] object_id: 5899580, pg_backend_pid: 177843main: == [advisory_lock_connection] object_id: 5899580, pg_backend_pid: 177844 creates a Vulnerabilities::IssueLink from the Vulnerabilities::Feedback845 for vulnerability feedback merge requests846 when a Finding has no Vulnerability847main: == [advisory_lock_connection] object_id: 6412320, pg_backend_pid: 178848main: == [advisory_lock_connection] object_id: 6412320, pg_backend_pid: 178849 creates a Vulnerability from the Vulnerabilities::Finding850 behaves like when there was a problem saving the Vulnerability851main: == [advisory_lock_connection] object_id: 7011840, pg_backend_pid: 180852main: == [advisory_lock_connection] object_id: 7011840, pg_backend_pid: 180853 doesn't create a Vulnerability record854main: == [advisory_lock_connection] object_id: 7564900, pg_backend_pid: 181855main: == [advisory_lock_connection] object_id: 7564900, pg_backend_pid: 181856 logs an error857 when the feedback is associated with a non-existent merge request858main: == [advisory_lock_connection] object_id: 8067720, pg_backend_pid: 182859main: == [advisory_lock_connection] object_id: 8067720, pg_backend_pid: 182860 doesn't create a Vulnerability record861 behaves like a migration creating a vulnerability merge request link862main: == [advisory_lock_connection] object_id: 8524280, pg_backend_pid: 183863main: == [advisory_lock_connection] object_id: 8524280, pg_backend_pid: 183864 creates a Vulnerabilities::MergeRequestLink from the Vulnerabilities::Feedback865 when there's only a Security::Finding866main: == [advisory_lock_connection] object_id: 9092940, pg_backend_pid: 185867main: == [advisory_lock_connection] object_id: 9092940, pg_backend_pid: 185868WARNING: Active Record does not support composite primary key.869security_findings has composite primary key. Composite primary key is ignored.870 creates a Vulnerability from the Security::Finding871main: == [advisory_lock_connection] object_id: 9499040, pg_backend_pid: 186872main: == [advisory_lock_connection] object_id: 9499040, pg_backend_pid: 186873WARNING: Active Record does not support composite primary key.874security_findings has composite primary key. Composite primary key is ignored.875 creates a Vulnerabilities::MergeRequestLink from the Vulnerabilities::Feedback876 behaves like when creating any associated record fails877main: == [advisory_lock_connection] object_id: 10166120, pg_backend_pid: 187878main: == [advisory_lock_connection] object_id: 10166120, pg_backend_pid: 187879WARNING: Active Record does not support composite primary key.880security_findings has composite primary key. Composite primary key is ignored.881 doesn't create a Vulnerability record882main: == [advisory_lock_connection] object_id: 10795360, pg_backend_pid: 189883main: == [advisory_lock_connection] object_id: 10795360, pg_backend_pid: 189884WARNING: Active Record does not support composite primary key.885security_findings has composite primary key. Composite primary key is ignored.886 logs an error887 when there is a vulnerability888 behaves like when the link is invalid889main: == [advisory_lock_connection] object_id: 11324360, pg_backend_pid: 190890main: == [advisory_lock_connection] object_id: 11324360, pg_backend_pid: 190891 doesn't create a MergeRequestLink892main: == [advisory_lock_connection] object_id: 11846800, pg_backend_pid: 191893main: == [advisory_lock_connection] object_id: 11846800, pg_backend_pid: 191894 logs an error895 behaves like a migration creating a vulnerability merge request link896main: == [advisory_lock_connection] object_id: 12343180, pg_backend_pid: 192897main: == [advisory_lock_connection] object_id: 12343180, pg_backend_pid: 192898 creates a Vulnerabilities::MergeRequestLink from the Vulnerabilities::Feedback899main: == [advisory_lock_connection] object_id: 13005380, pg_backend_pid: 197900main: == [advisory_lock_connection] object_id: 13005380, pg_backend_pid: 197901ci: == [advisory_lock_connection] object_id: 13339200, pg_backend_pid: 201902ci: == [advisory_lock_connection] object_id: 13339200, pg_backend_pid: 201903geo: == [advisory_lock_connection] object_id: 13339440, pg_backend_pid: 205904geo: == [advisory_lock_connection] object_id: 13339440, pg_backend_pid: 205905Gitlab::BackgroundMigration::BackfillIterationCadenceIdForBoards906main: == [advisory_lock_connection] object_id: 13339560, pg_backend_pid: 206907main: == [advisory_lock_connection] object_id: 13339560, pg_backend_pid: 206908 up909 when group does not have cadences910 back-fill project boards911 behaves like resets iteration_id to nil912main: == [advisory_lock_connection] object_id: 13339640, pg_backend_pid: 207913main: == [advisory_lock_connection] object_id: 13339640, pg_backend_pid: 207914 resets iteration_id to nil915 with pagination916main: == [advisory_lock_connection] object_id: 13582940, pg_backend_pid: 208917main: == [advisory_lock_connection] object_id: 13582940, pg_backend_pid: 208918 expect batched updates919 behaves like resets iteration_id to nil920main: == [advisory_lock_connection] object_id: 14284380, pg_backend_pid: 210921main: == [advisory_lock_connection] object_id: 14284380, pg_backend_pid: 210922 resets iteration_id to nil923 back-fill group boards924 behaves like resets iteration_id to nil925main: == [advisory_lock_connection] object_id: 15015180, pg_backend_pid: 211926main: == [advisory_lock_connection] object_id: 15015180, pg_backend_pid: 211927 resets iteration_id to nil928 with pagination929main: == [advisory_lock_connection] object_id: 15698020, pg_backend_pid: 212930main: == [advisory_lock_connection] object_id: 15698020, pg_backend_pid: 212931 expect batched updates932 behaves like resets iteration_id to nil933main: == [advisory_lock_connection] object_id: 16371620, pg_backend_pid: 213934main: == [advisory_lock_connection] object_id: 16371620, pg_backend_pid: 213935 resets iteration_id to nil936 when group has cadences937 when group does not have cadences938 back-fill project boards939 behaves like sets the correct cadence id940main: == [advisory_lock_connection] object_id: 17088920, pg_backend_pid: 215941main: == [advisory_lock_connection] object_id: 17088920, pg_backend_pid: 215942 sets correct cadence id943 with pagination944main: == [advisory_lock_connection] object_id: 17540200, pg_backend_pid: 216945main: == [advisory_lock_connection] object_id: 17540200, pg_backend_pid: 216946 expect batched updates947 behaves like sets the correct cadence id948main: == [advisory_lock_connection] object_id: 18243880, pg_backend_pid: 217949main: == [advisory_lock_connection] object_id: 18243880, pg_backend_pid: 217950 sets correct cadence id951 back-fill group boards952 behaves like sets the correct cadence id953main: == [advisory_lock_connection] object_id: 18943120, pg_backend_pid: 219954main: == [advisory_lock_connection] object_id: 18943120, pg_backend_pid: 219955 sets correct cadence id956 with pagination957main: == [advisory_lock_connection] object_id: 19632380, pg_backend_pid: 220958main: == [advisory_lock_connection] object_id: 19632380, pg_backend_pid: 220959 expect batched updates960 behaves like sets the correct cadence id961main: == [advisory_lock_connection] object_id: 20320640, pg_backend_pid: 221962main: == [advisory_lock_connection] object_id: 20320640, pg_backend_pid: 221963 sets correct cadence id964 down965main: == [advisory_lock_connection] object_id: 21018680, pg_backend_pid: 222966main: == [advisory_lock_connection] object_id: 21018680, pg_backend_pid: 222967 resets cadence id to nil968 batched969main: == [advisory_lock_connection] object_id: 21706520, pg_backend_pid: 224970main: == [advisory_lock_connection] object_id: 21706520, pg_backend_pid: 224971 resets cadence id to nil972main: == [advisory_lock_connection] object_id: 22579940, pg_backend_pid: 228973main: == [advisory_lock_connection] object_id: 22579940, pg_backend_pid: 228974ci: == [advisory_lock_connection] object_id: 22905960, pg_backend_pid: 232975ci: == [advisory_lock_connection] object_id: 22905960, pg_backend_pid: 232976geo: == [advisory_lock_connection] object_id: 22906200, pg_backend_pid: 237977geo: == [advisory_lock_connection] object_id: 22906200, pg_backend_pid: 237978Gitlab::BackgroundMigration::MigrateSharedVulnerabilityIdentifiers979 # order random980main: == [advisory_lock_connection] object_id: 22906320, pg_backend_pid: 238981main: == [advisory_lock_connection] object_id: 22906320, pg_backend_pid: 238982 EE::Gitlab::BackgroundMigration::MigrateSharedVulnerabilityIdentifiers::Identifier983 ::find_or_create_id_for984 with matching identifier985main: == [advisory_lock_connection] object_id: 22906400, pg_backend_pid: 239986main: == [advisory_lock_connection] object_id: 22906400, pg_backend_pid: 239987 does not create a new identifier988main: == [advisory_lock_connection] object_id: 22907960, pg_backend_pid: 240989main: == [advisory_lock_connection] object_id: 22907960, pg_backend_pid: 240990 returns the identifier ID991 without matching identifier992main: == [advisory_lock_connection] object_id: 23346320, pg_backend_pid: 241993main: == [advisory_lock_connection] object_id: 23346320, pg_backend_pid: 241994 creates a new identifier995main: == [advisory_lock_connection] object_id: 23792780, pg_backend_pid: 242996main: == [advisory_lock_connection] object_id: 23792780, pg_backend_pid: 242997 returns the identifier ID998main: == [advisory_lock_connection] object_id: 24233580, pg_backend_pid: 243999main: == [advisory_lock_connection] object_id: 24233580, pg_backend_pid: 2431000 copies attributes1001 #perform1002main: == [advisory_lock_connection] object_id: 24672000, pg_backend_pid: 2451003main: == [advisory_lock_connection] object_id: 24672000, pg_backend_pid: 2451004 creates new identifiers1005main: == [advisory_lock_connection] object_id: 25115220, pg_backend_pid: 2461006main: == [advisory_lock_connection] object_id: 25115220, pg_backend_pid: 2461007 creates identifiers with correct attributes1008main: == [advisory_lock_connection] object_id: 25575180, pg_backend_pid: 2471009main: == [advisory_lock_connection] object_id: 25575180, pg_backend_pid: 2471010 updates associations1011main: == [advisory_lock_connection] object_id: 26045340, pg_backend_pid: 2481012main: == [advisory_lock_connection] object_id: 26045340, pg_backend_pid: 2481013 does not alter correct findings1014main: == [advisory_lock_connection] object_id: 26457520, pg_backend_pid: 2491015main: == [advisory_lock_connection] object_id: 26457520, pg_backend_pid: 2491016 does not alter correct identifiers1017 with existing identifier and matching fingerprint1018main: == [advisory_lock_connection] object_id: 26771360, pg_backend_pid: 2511019main: == [advisory_lock_connection] object_id: 26771360, pg_backend_pid: 2511020 does not create a new identifier1021main: == [advisory_lock_connection] object_id: 27245660, pg_backend_pid: 2521022main: == [advisory_lock_connection] object_id: 27245660, pg_backend_pid: 2521023 reuses the identifier1024 when finding has multiple identifiers1025main: == [advisory_lock_connection] object_id: 27709460, pg_backend_pid: 2531026main: == [advisory_lock_connection] object_id: 27709460, pg_backend_pid: 2531027 preserves identifier count1028main: == [advisory_lock_connection] object_id: 28181480, pg_backend_pid: 2541029main: == [advisory_lock_connection] object_id: 28181480, pg_backend_pid: 2541030 corrects all affected identifiers1031 EE::Gitlab::BackgroundMigration::MigrateSharedVulnerabilityIdentifiers::Finding1032 .to_process1033main: == [advisory_lock_connection] object_id: 28655220, pg_backend_pid: 2551034main: == [advisory_lock_connection] object_id: 28655220, pg_backend_pid: 2551035 returns affected occurrences1036main: == [advisory_lock_connection] object_id: 29196560, pg_backend_pid: 2601037main: == [advisory_lock_connection] object_id: 29196560, pg_backend_pid: 2601038ci: == [advisory_lock_connection] object_id: 29617900, pg_backend_pid: 2641039ci: == [advisory_lock_connection] object_id: 29617900, pg_backend_pid: 2641040geo: == [advisory_lock_connection] object_id: 29618100, pg_backend_pid: 2681041geo: == [advisory_lock_connection] object_id: 29618100, pg_backend_pid: 2681042Gitlab::BackgroundMigration::MigrateSharedVulnerabilityScanners1043main: == [advisory_lock_connection] object_id: 29618360, pg_backend_pid: 2691044main: == [advisory_lock_connection] object_id: 29618360, pg_backend_pid: 2691045 EE::Gitlab::BackgroundMigration::MigrateSharedVulnerabilityScanners::Finding1046 .to_process1047main: == [advisory_lock_connection] object_id: 29618400, pg_backend_pid: 2701048main: == [advisory_lock_connection] object_id: 29618400, pg_backend_pid: 2701049 returns findings with report type cluster image scanning or generic1050 EE::Gitlab::BackgroundMigration::MigrateSharedVulnerabilityScanners::Scanner1051 ::find_or_create_id_for1052 when finding has matching scanner1053main: == [advisory_lock_connection] object_id: 29618640, pg_backend_pid: 2711054main: == [advisory_lock_connection] object_id: 29618640, pg_backend_pid: 2711055 does not create a new scanner1056main: == [advisory_lock_connection] object_id: 29976960, pg_backend_pid: 2731057main: == [advisory_lock_connection] object_id: 29976960, pg_backend_pid: 2731058 returns the scanner ID1059 when finding has mismatching scanner1060main: == [advisory_lock_connection] object_id: 30418720, pg_backend_pid: 2741061main: == [advisory_lock_connection] object_id: 30418720, pg_backend_pid: 2741062 creates a new scanner1063main: == [advisory_lock_connection] object_id: 30844200, pg_backend_pid: 2751064main: == [advisory_lock_connection] object_id: 30844200, pg_backend_pid: 2751065 sets attributes1066 #perform1067main: == [advisory_lock_connection] object_id: 31277080, pg_backend_pid: 2761068main: == [advisory_lock_connection] object_id: 31277080, pg_backend_pid: 2761069 creates new scanners for incorrect findings1070main: == [advisory_lock_connection] object_id: 31712980, pg_backend_pid: 2771071main: == [advisory_lock_connection] object_id: 31712980, pg_backend_pid: 2771072 creates scanners with correct attributes1073main: == [advisory_lock_connection] object_id: 32160580, pg_backend_pid: 2781074main: == [advisory_lock_connection] object_id: 32160580, pg_backend_pid: 2781075 updates erroneous associations1076main: == [advisory_lock_connection] object_id: 32607040, pg_backend_pid: 2801077main: == [advisory_lock_connection] object_id: 32607040, pg_backend_pid: 2801078 does not alter correct findings1079 with existing scanner1080 with matching external ID1081main: == [advisory_lock_connection] object_id: 33051540, pg_backend_pid: 2811082main: == [advisory_lock_connection] object_id: 33051540, pg_backend_pid: 2811083 does not create a new scanner1084main: == [advisory_lock_connection] object_id: 33492400, pg_backend_pid: 2821085main: == [advisory_lock_connection] object_id: 33492400, pg_backend_pid: 2821086 reuses the scanner1087 with mismatching external ID1088main: == [advisory_lock_connection] object_id: 33932900, pg_backend_pid: 2831089main: == [advisory_lock_connection] object_id: 33932900, pg_backend_pid: 2831090 creates a new scanner1091main: == [advisory_lock_connection] object_id: 34373320, pg_backend_pid: 2841092main: == [advisory_lock_connection] object_id: 34373320, pg_backend_pid: 2841093 does not reuse the scanner1094 with associated vulnerability1095main: == [advisory_lock_connection] object_id: 34813820, pg_backend_pid: 2861096main: == [advisory_lock_connection] object_id: 34813820, pg_backend_pid: 2861097 updates vulnerability reads1098main: == [advisory_lock_connection] object_id: 35365840, pg_backend_pid: 2901099main: == [advisory_lock_connection] object_id: 35365840, pg_backend_pid: 2901100ci: == [advisory_lock_connection] object_id: 35720000, pg_backend_pid: 2941101ci: == [advisory_lock_connection] object_id: 35720000, pg_backend_pid: 2941102geo: == [advisory_lock_connection] object_id: 35720520, pg_backend_pid: 2981103geo: == [advisory_lock_connection] object_id: 35720520, pg_backend_pid: 2981104Gitlab::BackgroundMigration::MigrateRequirementsToWorkItems1105main: == [advisory_lock_connection] object_id: 35720660, pg_backend_pid: 3001106main: == [advisory_lock_connection] object_id: 35720660, pg_backend_pid: 3001107main: == [advisory_lock_connection] object_id: 42333620, pg_backend_pid: 3031108main: == [advisory_lock_connection] object_id: 42333620, pg_backend_pid: 3031109 creates work items for not synced requirements1110main: == [advisory_lock_connection] object_id: 43783260, pg_backend_pid: 3041111main: == [advisory_lock_connection] object_id: 43783260, pg_backend_pid: 3041112 creates requirement work items with correct attributes1113main: == [advisory_lock_connection] object_id: 44220080, pg_backend_pid: 3051114main: == [advisory_lock_connection] object_id: 44220080, pg_backend_pid: 3051115 populates iid correctly1116main: == [advisory_lock_connection] object_id: 44674500, pg_backend_pid: 3061117main: == [advisory_lock_connection] object_id: 44674500, pg_backend_pid: 3061118 tracks iid greatest value1119main: == [advisory_lock_connection] object_id: 45285800, pg_backend_pid: 3111120I, [2023-04-12T14:45:18.572695 #356] INFO -- : Database: 'main', Table: 'ci_runner_machines': Lock Writes1121I, [2023-04-12T14:45:26.593503 #356] INFO -- : Database: 'main', Table: 'p_ci_runner_machine_builds': Lock Writes1122I, [2023-04-12T14:45:26.948372 #356] INFO -- : Database: 'main', Table: 'ci_cost_settings': Lock Writes1123main: == [advisory_lock_connection] object_id: 45285800, pg_backend_pid: 3111124ci: == [advisory_lock_connection] object_id: 56071860, pg_backend_pid: 3181125ci: == [advisory_lock_connection] object_id: 56071860, pg_backend_pid: 3181126geo: == [advisory_lock_connection] object_id: 56469540, pg_backend_pid: 3221127geo: == [advisory_lock_connection] object_id: 56469540, pg_backend_pid: 3221128Gitlab::BackgroundMigration::PopulateTestReportsIssueId1129main: == [advisory_lock_connection] object_id: 56470320, pg_backend_pid: 3231130main: == [advisory_lock_connection] object_id: 56470320, pg_backend_pid: 3231131main: == [advisory_lock_connection] object_id: 64870740, pg_backend_pid: 3261132main: == [advisory_lock_connection] object_id: 64870740, pg_backend_pid: 3261133 links test reports to requirement issues1134main: == [advisory_lock_connection] object_id: 65015300, pg_backend_pid: 3311135I, [2023-04-12T14:46:56.714387 #356] INFO -- : Database: 'main', Table: 'ci_runner_machines': Lock Writes1136I, [2023-04-12T14:47:05.645239 #356] INFO -- : Database: 'main', Table: 'p_ci_runner_machine_builds': Lock Writes1137I, [2023-04-12T14:47:05.975940 #356] INFO -- : Database: 'main', Table: 'ci_cost_settings': Lock Writes1138main: == [advisory_lock_connection] object_id: 65015300, pg_backend_pid: 3311139ci: == [advisory_lock_connection] object_id: 76133280, pg_backend_pid: 3381140ci: == [advisory_lock_connection] object_id: 76133280, pg_backend_pid: 3381141geo: == [advisory_lock_connection] object_id: 76133520, pg_backend_pid: 3421142geo: == [advisory_lock_connection] object_id: 76133520, pg_backend_pid: 3421143Gitlab::BackgroundMigration::BackfillProjectStatisticsStorageSizeWithoutUploadsSize1144 # order random1145main: == [advisory_lock_connection] object_id: 76600460, pg_backend_pid: 3431146main: == [advisory_lock_connection] object_id: 76600460, pg_backend_pid: 3431147 with many project statistics records1148 #filter_batch1149main: == [advisory_lock_connection] object_id: 79253360, pg_backend_pid: 3461150main: == [advisory_lock_connection] object_id: 79253360, pg_backend_pid: 3461151 filters out project_statistics out of scope1152 #perform1153 when project_statistics backfill runs1154 when storage_size includes uploads_size1155main: == [advisory_lock_connection] object_id: 80202480, pg_backend_pid: 3471156main: == [advisory_lock_connection] object_id: 80202480, pg_backend_pid: 3471157 removes uploads_size from storage_size1158 when storage_size does not include uploads_size1159main: == [advisory_lock_connection] object_id: 80747540, pg_backend_pid: 3481160main: == [advisory_lock_connection] object_id: 80747540, pg_backend_pid: 3481161 does not update the record1162 when not checking the namespace plan1163main: == [advisory_lock_connection] object_id: 81154560, pg_backend_pid: 3491164main: == [advisory_lock_connection] object_id: 81154560, pg_backend_pid: 3491165 does not run1166 #perform1167main: == [advisory_lock_connection] object_id: 81556640, pg_backend_pid: 3511168main: == [advisory_lock_connection] object_id: 81556640, pg_backend_pid: 3511169 coerces a null wiki_size to 01170main: == [advisory_lock_connection] object_id: 81965540, pg_backend_pid: 3521171main: == [advisory_lock_connection] object_id: 81965540, pg_backend_pid: 3521172 coerces a null snippets_size to 01173main: == [advisory_lock_connection] object_id: 82526160, pg_backend_pid: 3561174I, [2023-04-12T14:48:08.159272 #356] INFO -- : Database: 'main', Table: 'ci_runner_machines': Lock Writes1175I, [2023-04-12T14:48:16.370363 #356] INFO -- : Database: 'main', Table: 'p_ci_runner_machine_builds': Lock Writes1176I, [2023-04-12T14:48:16.690303 #356] INFO -- : Database: 'main', Table: 'ci_cost_settings': Lock Writes1177main: == [advisory_lock_connection] object_id: 82526160, pg_backend_pid: 3561178ci: == [advisory_lock_connection] object_id: 87836640, pg_backend_pid: 3621179ci: == [advisory_lock_connection] object_id: 87836640, pg_backend_pid: 3621180geo: == [advisory_lock_connection] object_id: 88162380, pg_backend_pid: 3661181geo: == [advisory_lock_connection] object_id: 88162380, pg_backend_pid: 3661182Gitlab::BackgroundMigration::PurgeStaleSecurityScans1183main: == [advisory_lock_connection] object_id: 88303900, pg_backend_pid: 3671184main: == [advisory_lock_connection] object_id: 88303900, pg_backend_pid: 3671185 #perform1186main: == [advisory_lock_connection] object_id: 95195560, pg_backend_pid: 3701187main: == [advisory_lock_connection] object_id: 95195560, pg_backend_pid: 3701188 changes the status of the security_scan records and writes the log message1189main: == [advisory_lock_connection] object_id: 96861820, pg_backend_pid: 3751190I, [2023-04-12T14:49:34.904255 #356] INFO -- : Database: 'main', Table: 'ci_runner_machines': Lock Writes1191I, [2023-04-12T14:49:43.257027 #356] INFO -- : Database: 'main', Table: 'p_ci_runner_machine_builds': Lock Writes1192I, [2023-04-12T14:49:43.624827 #356] INFO -- : Database: 'main', Table: 'ci_cost_settings': Lock Writes1193main: == [advisory_lock_connection] object_id: 96861820, pg_backend_pid: 3751194ci: == [advisory_lock_connection] object_id: 107950780, pg_backend_pid: 3821195ci: == [advisory_lock_connection] object_id: 107950780, pg_backend_pid: 3821196geo: == [advisory_lock_connection] object_id: 108414660, pg_backend_pid: 3861197geo: == [advisory_lock_connection] object_id: 108414660, pg_backend_pid: 3861198Gitlab::BackgroundMigration::FixIncorrectMaxSeatsUsed1199main: == [advisory_lock_connection] object_id: 108414780, pg_backend_pid: 3871200main: == [advisory_lock_connection] object_id: 108414780, pg_backend_pid: 3871201 #perform1202 when gitlab subscription does not have renew history1203 does not reset max_seats_used and seats_owed1204 when gitlab subscription has one renew history1205 behaves like gitlab subscription has one or more renew history1206 resets max_seats_used and seats_owed1207 when max_seats_used has already been correctly reset during renew1208 does not reset max_seats_used and seats_owed1209 when start_date is before 2021-08-021210 does not reset max_seats_used and seats_owed1211 when start_date is 2021-08-021212 resets max_seats_used and seats_owed1213 when start_date is 2021-11-201214 resets max_seats_used and seats_owed1215 when start_date is after 2021-11-201216 does not reset max_seats_used and seats_owed1217 when batch_2_for_start_date_before_02_aug_20211218 when start_date is before 2021-08-021219 resets max_seats_used and seats_owed1220 when start_date is 2021-08-021221 does not reset max_seats_used and seats_owed1222 when start_date is after 2021-08-021223 does not reset max_seats_used and seats_owed1224 when max_seats_used is 01225 does not reset max_seats_used and seats_owed1226 when max_seats_used equals to seats_in_use1227 does not reset max_seats_used and seats_owed1228 when max_seats_used is less than seats_in_use1229 does not reset max_seats_used and seats_owed1230 when max_seats_used equals to seats1231 does not reset max_seats_used and seats_owed1232 when max_seats_used is less than seats1233 does not reset max_seats_used and seats_owed1234 when max_seats_used increases after renew1235 does not reset max_seats_used and seats_owed1236 when seats_in_use increased to max_seats_used1237 does not reset max_seats_used and seats_owed1238 when seats_in_use increased to greater than max_seats_used1239 does not reset max_seats_used and seats_owed1240 gitlab subscription has more than one renew histories1241 behaves like gitlab subscription has one or more renew history1242 resets max_seats_used and seats_owed1243 when max_seats_used has already been correctly reset during renew1244 does not reset max_seats_used and seats_owed1245 when start_date is before 2021-08-021246 does not reset max_seats_used and seats_owed1247 when start_date is 2021-08-021248 resets max_seats_used and seats_owed1249 when start_date is 2021-11-201250 resets max_seats_used and seats_owed1251 when start_date is after 2021-11-201252 does not reset max_seats_used and seats_owed1253 when batch_2_for_start_date_before_02_aug_20211254 when start_date is before 2021-08-021255 resets max_seats_used and seats_owed1256 when start_date is 2021-08-021257 does not reset max_seats_used and seats_owed1258 when start_date is after 2021-08-021259 does not reset max_seats_used and seats_owed1260 when max_seats_used is 01261 does not reset max_seats_used and seats_owed1262 when max_seats_used equals to seats_in_use1263 does not reset max_seats_used and seats_owed1264 when max_seats_used is less than seats_in_use1265 does not reset max_seats_used and seats_owed1266 when max_seats_used equals to seats1267 does not reset max_seats_used and seats_owed1268 when max_seats_used is less than seats1269 does not reset max_seats_used and seats_owed1270 when max_seats_used increases after renew1271 does not reset max_seats_used and seats_owed1272 when seats_in_use increased to max_seats_used1273 does not reset max_seats_used and seats_owed1274 when seats_in_use increased to greater than max_seats_used1275 does not reset max_seats_used and seats_owed1276 when gitlab subscription has non-renewal update history1277 when gitlab subscription does not have renew history1278 does not reset max_seats_used and seats_owed1279 when gitlab subscription has one renew history1280 behaves like gitlab subscription has one or more renew history1281 resets max_seats_used and seats_owed1282 when max_seats_used has already been correctly reset during renew1283 does not reset max_seats_used and seats_owed1284 when start_date is before 2021-08-021285 does not reset max_seats_used and seats_owed1286 when start_date is 2021-08-021287 resets max_seats_used and seats_owed1288 when start_date is 2021-11-201289 resets max_seats_used and seats_owed1290 when start_date is after 2021-11-201291 does not reset max_seats_used and seats_owed1292 when batch_2_for_start_date_before_02_aug_20211293 when start_date is before 2021-08-021294 resets max_seats_used and seats_owed1295 when start_date is 2021-08-021296 does not reset max_seats_used and seats_owed1297 when start_date is after 2021-08-021298 does not reset max_seats_used and seats_owed1299 when max_seats_used is 01300 does not reset max_seats_used and seats_owed1301 when max_seats_used equals to seats_in_use1302 does not reset max_seats_used and seats_owed1303 when max_seats_used is less than seats_in_use1304 does not reset max_seats_used and seats_owed1305 when max_seats_used equals to seats1306 does not reset max_seats_used and seats_owed1307 when max_seats_used is less than seats1308 does not reset max_seats_used and seats_owed1309 when max_seats_used increases after renew1310 does not reset max_seats_used and seats_owed1311 when seats_in_use increased to max_seats_used1312 does not reset max_seats_used and seats_owed1313 when seats_in_use increased to greater than max_seats_used1314 does not reset max_seats_used and seats_owed1315 gitlab subscription has more than one renew histories1316 behaves like gitlab subscription has one or more renew history1317 resets max_seats_used and seats_owed1318 when max_seats_used has already been correctly reset during renew1319 does not reset max_seats_used and seats_owed1320 when start_date is before 2021-08-021321 does not reset max_seats_used and seats_owed1322 when start_date is 2021-08-021323 resets max_seats_used and seats_owed1324 when start_date is 2021-11-201325 resets max_seats_used and seats_owed1326 when start_date is after 2021-11-201327 does not reset max_seats_used and seats_owed1328 when batch_2_for_start_date_before_02_aug_20211329 when start_date is before 2021-08-021330 resets max_seats_used and seats_owed1331 when start_date is 2021-08-021332 does not reset max_seats_used and seats_owed1333 when start_date is after 2021-08-021334 does not reset max_seats_used and seats_owed1335 when max_seats_used is 01336 does not reset max_seats_used and seats_owed1337 when max_seats_used equals to seats_in_use1338 does not reset max_seats_used and seats_owed1339 when max_seats_used is less than seats_in_use1340 does not reset max_seats_used and seats_owed1341 when max_seats_used equals to seats1342 does not reset max_seats_used and seats_owed1343 when max_seats_used is less than seats1344 does not reset max_seats_used and seats_owed1345 when max_seats_used increases after renew1346 does not reset max_seats_used and seats_owed1347 when seats_in_use increased to max_seats_used1348 does not reset max_seats_used and seats_owed1349 when seats_in_use increased to greater than max_seats_used1350 does not reset max_seats_used and seats_owed1351main: == [advisory_lock_connection] object_id: 109477220, pg_backend_pid: 3941352main: == [advisory_lock_connection] object_id: 109477220, pg_backend_pid: 3941353ci: == [advisory_lock_connection] object_id: 109648140, pg_backend_pid: 3981354ci: == [advisory_lock_connection] object_id: 109648140, pg_backend_pid: 3981355geo: == [advisory_lock_connection] object_id: 109648400, pg_backend_pid: 4021356geo: == [advisory_lock_connection] object_id: 109648400, pg_backend_pid: 4021357EE::Gitlab::BackgroundMigration::FixIncorrectMaxSeatsUsed::FixIncorrectMaxSeatsUsedJsonLogger1358main: == [advisory_lock_connection] object_id: 109648520, pg_backend_pid: 4031359main: == [advisory_lock_connection] object_id: 109648520, pg_backend_pid: 4031360 logs a hash as a JSON1361 logs a string as a JSON1362 logs into the expected file1363main: == [advisory_lock_connection] object_id: 109648980, pg_backend_pid: 4081364main: == [advisory_lock_connection] object_id: 109648980, pg_backend_pid: 4081365ci: == [advisory_lock_connection] object_id: 109658020, pg_backend_pid: 4121366ci: == [advisory_lock_connection] object_id: 109658020, pg_backend_pid: 4121367geo: == [advisory_lock_connection] object_id: 109658260, pg_backend_pid: 4161368geo: == [advisory_lock_connection] object_id: 109658260, pg_backend_pid: 4161369Gitlab::BackgroundMigration::BackfillEpicCacheCounts1370 # order random1371main: == [advisory_lock_connection] object_id: 109658500, pg_backend_pid: 4171372main: == [advisory_lock_connection] object_id: 109658500, pg_backend_pid: 4171373 #perform1374main: == [advisory_lock_connection] object_id: 109658580, pg_backend_pid: 4181375main: == [advisory_lock_connection] object_id: 109658580, pg_backend_pid: 4181376 updates cache counts recursively from most nested subepics1377 when there are too many nested levels1378main: == [advisory_lock_connection] object_id: 109660200, pg_backend_pid: 4191379main: == [advisory_lock_connection] object_id: 109660200, pg_backend_pid: 4191380 aborts update when reaching max depth and logs error1381main: == [advisory_lock_connection] object_id: 110326280, pg_backend_pid: 4241382main: == [advisory_lock_connection] object_id: 110326280, pg_backend_pid: 4241383ci: == [advisory_lock_connection] object_id: 110614760, pg_backend_pid: 4281384ci: == [advisory_lock_connection] object_id: 110614760, pg_backend_pid: 4281385geo: == [advisory_lock_connection] object_id: 110615120, pg_backend_pid: 4321386geo: == [advisory_lock_connection] object_id: 110615120, pg_backend_pid: 4321387Gitlab::BackgroundMigration::FixApprovalProjectRulesWithoutProtectedBranches1388 # order random1389main: == [advisory_lock_connection] object_id: 110615360, pg_backend_pid: 4331390main: == [advisory_lock_connection] object_id: 110615360, pg_backend_pid: 4331391 #perform1392main: == [advisory_lock_connection] object_id: 110615440, pg_backend_pid: 4341393main: == [advisory_lock_connection] object_id: 110615440, pg_backend_pid: 4341394WARNING: Active Record does not support composite primary key.1395approval_project_rules_protected_branches has composite primary key. Composite primary key is ignored.1396 updates only approval rules without protected branches and report_type equals to 41397main: == [advisory_lock_connection] object_id: 110616880, pg_backend_pid: 4351398main: == [advisory_lock_connection] object_id: 110616880, pg_backend_pid: 4351399WARNING: Active Record does not support composite primary key.1400approval_project_rules_protected_branches has composite primary key. Composite primary key is ignored.1401 filters approval rules from scope1402main: == [advisory_lock_connection] object_id: 111225620, pg_backend_pid: 4401403main: == [advisory_lock_connection] object_id: 111225620, pg_backend_pid: 4401404ci: == [advisory_lock_connection] object_id: 111465940, pg_backend_pid: 4441405ci: == [advisory_lock_connection] object_id: 111465940, pg_backend_pid: 4441406geo: == [advisory_lock_connection] object_id: 111466220, pg_backend_pid: 4481407geo: == [advisory_lock_connection] object_id: 111466220, pg_backend_pid: 4481408Gitlab::BackgroundMigration::MigrateApproverToApprovalRulesCheckProgress1409main: == [advisory_lock_connection] object_id: 111466320, pg_backend_pid: 4491410main: == [advisory_lock_connection] object_id: 111466320, pg_backend_pid: 4491411 when there is MigrateApproverToApprovalRulesInBatch jobs1412main: == [advisory_lock_connection] object_id: 111466380, pg_backend_pid: 4501413main: == [advisory_lock_connection] object_id: 111466380, pg_backend_pid: 4501414 reschedules check1415 when there is no more MigrateApproverToApprovalRulesInBatch jobs1416main: == [advisory_lock_connection] object_id: 111467820, pg_backend_pid: 4511417main: == [advisory_lock_connection] object_id: 111467820, pg_backend_pid: 4511418 enables feature1419main: == [advisory_lock_connection] object_id: 112006780, pg_backend_pid: 4551420main: == [advisory_lock_connection] object_id: 112006780, pg_backend_pid: 4551421ci: == [advisory_lock_connection] object_id: 112211640, pg_backend_pid: 4601422ci: == [advisory_lock_connection] object_id: 112211640, pg_backend_pid: 4601423geo: == [advisory_lock_connection] object_id: 112211920, pg_backend_pid: 4641424geo: == [advisory_lock_connection] object_id: 112211920, pg_backend_pid: 4641425Gitlab::BackgroundMigration::PopulateApprovalProjectRulesWithSecurityOrchestration1426 # order random1427main: == [advisory_lock_connection] object_id: 112212060, pg_backend_pid: 4651428main: == [advisory_lock_connection] object_id: 112212060, pg_backend_pid: 4651429 #perform1430main: == [advisory_lock_connection] object_id: 112212240, pg_backend_pid: 4661431main: == [advisory_lock_connection] object_id: 112212240, pg_backend_pid: 4661432 updates only approval rules with projects linked to a security project and report_type equals to 41433main: == [advisory_lock_connection] object_id: 112279120, pg_backend_pid: 4701434main: == [advisory_lock_connection] object_id: 112279120, pg_backend_pid: 4701435ci: == [advisory_lock_connection] object_id: 112634940, pg_backend_pid: 4741436ci: == [advisory_lock_connection] object_id: 112634940, pg_backend_pid: 4741437geo: == [advisory_lock_connection] object_id: 112635160, pg_backend_pid: 4791438geo: == [advisory_lock_connection] object_id: 112635160, pg_backend_pid: 4791439Gitlab::BackgroundMigration::FixSecurityScanStatuses1440 # order random1441main: == [advisory_lock_connection] object_id: 112635520, pg_backend_pid: 4801442main: == [advisory_lock_connection] object_id: 112635520, pg_backend_pid: 4801443 #perform1444main: == [advisory_lock_connection] object_id: 112635560, pg_backend_pid: 4811445main: == [advisory_lock_connection] object_id: 112635560, pg_backend_pid: 4811446 fixes the scan statuses1447main: == [advisory_lock_connection] object_id: 112700080, pg_backend_pid: 4851448main: == [advisory_lock_connection] object_id: 112700080, pg_backend_pid: 4851449ci: == [advisory_lock_connection] object_id: 113076540, pg_backend_pid: 4891450ci: == [advisory_lock_connection] object_id: 113076540, pg_backend_pid: 4891451geo: == [advisory_lock_connection] object_id: 113076800, pg_backend_pid: 4931452geo: == [advisory_lock_connection] object_id: 113076800, pg_backend_pid: 4931453Knapsack report was generated. Preview:1454{1455 "ee/spec/lib/gitlab/background_migration/create_vulnerability_links_spec.rb": 91.04360582199979,1456 "ee/spec/lib/ee/gitlab/background_migration/backfill_iteration_cadence_id_for_boards_spec.rb": 60.81466610799998,1457 "ee/spec/lib/ee/gitlab/background_migration/migrate_shared_vulnerability_identifiers_spec.rb": 45.77370930200004,1458 "ee/spec/lib/ee/gitlab/background_migration/migrate_shared_vulnerability_scanners_spec.rb": 40.69177890400033,1459 "ee/spec/lib/gitlab/background_migration/migrate_requirements_to_work_items_spec.rb": 45.29897468699983,1460 "ee/spec/lib/gitlab/background_migration/populate_test_reports_issue_id_spec.rb": 39.45968869299986,1461 "ee/spec/lib/ee/gitlab/background_migration/backfill_project_statistics_storage_size_without_uploads_size_spec.rb": 36.79196121299992,1462 "ee/spec/lib/ee/gitlab/background_migration/purge_stale_security_scans_spec.rb": 34.12500781100016,1463 "ee/spec/lib/ee/gitlab/background_migration/fix_incorrect_max_seats_used_spec.rb": 14.181480319000457,1464 "ee/spec/lib/ee/gitlab/background_migration/backfill_epic_cache_counts_spec.rb": 7.011973183999999,1465 "ee/spec/lib/ee/gitlab/background_migration/fix_approval_project_rules_without_protected_branches_spec.rb": 6.184748416000275,1466 "ee/spec/lib/ee/gitlab/background_migration/migrate_approver_to_approval_rules_check_progress_spec.rb": 5.350448839999899,1467 "ee/spec/lib/ee/gitlab/background_migration/populate_approval_project_rules_with_security_orchestration_spec.rb": 4.328869884000142,1468 "ee/spec/lib/ee/gitlab/background_migration/fix_security_scan_statuses_spec.rb": 3.3779281209999681469}1470Knapsack global time execution for tests: 07m 14s1471Finished in 12 minutes 4 seconds (files took 1 minute 28.86 seconds to load)1472160 examples, 0 failures1473Randomized with seed 385751474[TEST PROF INFO] Time spent in factories: 00:26.742 (3.52% of total time)1475RSpec exited with 0.1476No examples to retry, congrats!1478Not uploading cache ruby-gems-debian-bullseye-ruby-3.0-16 due to policy1479Not uploading cache gitaly-ruby-gems-debian-bullseye-ruby-3.0-16 due to policy1481Uploading artifacts...1482coverage/: found 5 matching artifact files and directories 1483crystalball/: found 2 matching artifact files and directories 1484WARNING: deprecations/: no matching files. Ensure that the artifact path is relative to the working directory (/builds/gitlab-org/gitlab) 1485knapsack/: found 3 matching artifact files and directories 1486WARNING: query_recorder/: no matching files. Ensure that the artifact path is relative to the working directory (/builds/gitlab-org/gitlab) 1487rspec/: found 14 matching artifact files and directories 1488WARNING: tmp/capybara/: no matching files. Ensure that the artifact path is relative to the working directory (/builds/gitlab-org/gitlab) 1489log/*.log: found 13 matching artifact files and directories 1490WARNING: Upload request redirected location=https://gitlab.com/api/v4/jobs/4101394912/artifacts?artifact_format=zip&artifact_type=archive&expire_in=31d new-url=https://gitlab.com1491WARNING: Retrying... context=artifacts-uploader error=request redirected1492Uploading artifacts as "archive" to coordinator... 201 Created id=4101394912 responseStatus=201 Created token=64_F34tC1493Uploading artifacts...1494rspec/junit_rspec.xml: found 1 matching artifact files and directories 1495WARNING: Upload request redirected location=https://gitlab.com/api/v4/jobs/4101394912/artifacts?artifact_format=gzip&artifact_type=junit&expire_in=31d new-url=https://gitlab.com1496WARNING: Retrying... context=artifacts-uploader error=request redirected1497Uploading artifacts as "junit" to coordinator... 201 Created id=4101394912 responseStatus=201 Created token=64_F34tC1499Job succeeded