Running with gitlab-runner 16.9.1 (782c6ecb)
  on green-3.shared-gitlab-org.runners-manager.gitlab.com/default EuhiQzPR, system ID: s_360bc9544527
  feature flags: FF_NETWORK_PER_BUILD:true, FF_USE_IMPROVED_URL_MASKING:true
section_start:1710724929:resolve_secrets
Resolving secrets
section_end:1710724929:resolve_secrets
section_start:1710724929:prepare_executor
Preparing the "docker+machine" executor
Using 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 ...
Starting service registry.gitlab.com/gitlab-org/gitlab-build-images:postgres-14-pgvector-0.4.1 ...
Authenticating with credentials from job payload (GitLab Registry)
Pulling docker image registry.gitlab.com/gitlab-org/gitlab-build-images:postgres-14-pgvector-0.4.1 ...
Using 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 ...
WARNING: Service registry.gitlab.com/gitlab-org/gitlab-build-images:redis-cluster-6.2.12 is already created. Ignoring.
WARNING: Service registry.gitlab.com/gitlab-org/gitlab-build-images:redis-cluster-6.2.12 is already created. Ignoring.
Starting service registry.gitlab.com/gitlab-org/gitlab-build-images:redis-cluster-6.2.12 ...
Authenticating with credentials from job payload (GitLab Registry)
Pulling docker image registry.gitlab.com/gitlab-org/gitlab-build-images:redis-cluster-6.2.12 ...
Using 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 ...
Starting service redis:6.2-alpine ...
Pulling docker image redis:6.2-alpine ...
Using docker image sha256:57763d55554967cf0a9b05258512282482807d361c68b10fd9599ac9732bfb04 for redis:6.2-alpine with digest redis@sha256:fd3535746075ba01b73c3602c0704bc944dd064c0a4ac46341a4a351bec69db8 ...
Waiting for services to be up and running (timeout 30 seconds)...
Authenticating with credentials from job payload (GitLab Registry)
Pulling 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 ...
Using docker image sha256:c162b8fa17a58f014239a9b50abc767bdc8386e942cdea6cae2e6b397b8517c3 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:e573ddd38ed10fe9b9feed8d24fd63f6ea29b9ddf14e3bf208d8a74c0377eccc ...
section_end:1710724949:prepare_executor
section_start:1710724949:prepare_script
Preparing environment
Running on runner-euhiqzpr-project-278964-concurrent-0 via runner-euhiqzpr-shared-gitlab-org-1710720644-4c569891...
section_end:1710724950:prepare_script
section_start:1710724950:get_sources
Getting source from Git repository
Skipping Git repository setup
Skipping Git checkout
Skipping Git submodules setup
section_end:1710724950:get_sources
section_start:1710724950:restore_cache
Restoring cache
Checking cache for ruby-gems-debian-bookworm-ruby-3.1-17...
Downloading cache from https://storage.googleapis.com/gitlab-com-runners-cache/project/278964/ruby-gems-debian-bookworm-ruby-3.1-17 
Successfully extracted cache
section_end:1710724969:restore_cache
section_start:1710724969:download_artifacts
Downloading artifacts
Downloading artifacts for clone-gitlab-repo (6413139081)...
Downloading artifacts from coordinator... ok        host=storage.googleapis.com id=6413139081 responseStatus=200 OK token=glcbt-65
WARNING: Part of .git directory is on the list of files to extract 
WARNING: This may introduce unexpected problems    
Downloading artifacts for compile-test-assets (6413139101)...
Downloading artifacts from coordinator... ok        host=storage.googleapis.com id=6413139101 responseStatus=200 OK token=glcbt-65
Downloading artifacts for retrieve-tests-metadata (6413139154)...
Downloading artifacts from coordinator... ok        host=storage.googleapis.com id=6413139154 responseStatus=200 OK token=glcbt-65
Downloading artifacts for setup-test-env (6413139119)...
Downloading artifacts from coordinator... ok        host=storage.googleapis.com id=6413139119 responseStatus=200 OK token=glcbt-65
section_end:1710725005:download_artifacts
section_start:1710725005:step_script
Executing "step_script" stage of the job script
Using docker image sha256:c162b8fa17a58f014239a9b50abc767bdc8386e942cdea6cae2e6b397b8517c3 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:e573ddd38ed10fe9b9feed8d24fd63f6ea29b9ddf14e3bf208d8a74c0377eccc ...
$ echo $FOSS_ONLY

$ [ "$FOSS_ONLY" = "1" ] && rm -rf ee/ qa/spec/ee/ qa/qa/specs/features/ee/ qa/qa/ee/ qa/qa/ee.rb
$ export GOPATH=$CI_PROJECT_DIR/.go
$ mkdir -p $GOPATH
$ source scripts/utils.sh
$ source scripts/prepare_build.sh
section_start:1710725006:bundle-install[collapsed=true]
Installing gems
3.4.4
Bundler version 2.4.4
Successfully installed bundler-2.4.11
1 gem installed
production:development
Settings are listed in order of priority. The top value will be used.
clean
Set for your local app (/builds/gitlab-org/gitlab/.bundle/config): true

frozen
Set via BUNDLE_FROZEN: true

install_flags
Set via BUNDLE_INSTALL_FLAGS: "--jobs=$(nproc) --retry=3"

path
Set for your local app (/builds/gitlab-org/gitlab/.bundle/config): "/builds/gitlab-org/gitlab/vendor"

without
Set via BUNDLE_WITHOUT: [:production, :development]

$ bundle install --jobs=$(nproc) --retry=3 
Don't run Bundler as root. Installing your bundle as root will break this
application for all non-root users on this machine.
Patching bundler with bundler-checksum...
Using rake 13.0.6
Using rexml 3.2.6
Using CFPropertyList 3.0.5
Using RedCloth 4.3.3
Using faraday-em_http 1.0.0
Using faraday-em_synchrony 1.0.0
Using faraday-excon 1.1.0
Using faraday-httpclient 1.0.1
Using multipart-post 2.2.3
Using faraday-multipart 1.0.4
Using faraday-net_http 1.0.1
Using faraday-net_http_persistent 1.2.0
Using faraday-patron 1.0.0
Using faraday-rack 1.0.0
Using faraday-retry 1.0.3
Using ruby2_keywords 0.0.5
Using faraday 1.10.0
Using acme-client 2.0.11
Using concurrent-ruby 1.2.2
Using i18n 1.14.1
Using minitest 5.11.3
Using tzinfo 2.0.6
Using activesupport 7.0.8.1
Using builder 3.2.4
Using erubi 1.12.0
Using racc 1.6.2
Using nokogiri 1.16.0 (x86_64-linux)
Using rails-dom-testing 2.0.3
Using crass 1.0.6
Using loofah 2.22.0
Using rails-html-sanitizer 1.6.0
Using actionview 7.0.8.1
Using rack 2.2.8.1
Using rack-test 2.1.0
Using actionpack 7.0.8.1
Using nio4r 2.7.0
Using websocket-extensions 0.1.5
Using websocket-driver 0.7.6
Using actioncable 7.0.8.1
Using globalid 1.1.0
Using activejob 7.0.8.1
Using activemodel 7.0.8.1
Using activerecord 7.0.8.1
Using marcel 1.0.2
Using mini_mime 1.1.2
Using activestorage 7.0.8.1
Using date 3.3.3
Using timeout 0.3.2
Using net-protocol 0.1.3
Using net-imap 0.3.4
Using net-pop 0.1.2
Using net-smtp 0.3.3
Using mail 2.8.1
Using actionmailbox 7.0.8.1
Using actionmailer 7.0.8.1
Using actiontext 7.0.8.1
Using pg 1.5.6
Using activerecord-explain-analyze 0.1.0
Using activerecord-gitlab 0.2.0 from source at `gems/activerecord-gitlab`
Using acts-as-taggable-on 10.0.0
Using public_suffix 5.0.0
Using addressable 2.8.1
Using aes_key_wrap 1.1.0
Using akismet 3.0.0
Using http-accept 1.7.0
Using unf_ext 0.0.8.2
Using unf 0.1.4
Using domain_name 0.5.20190701
Using http-cookie 1.0.5
Using mime-types-data 3.2023.1003
Using mime-types 3.5.1
Using netrc 0.11.0
Using rest-client 2.1.0
Using aliyun-sdk 0.8.0
Using sexp_processor 4.17.1
Using ruby_parser 3.21.0
Using protocol 2.0.0
Using mize 0.4.1
Using sync 0.5.0
Using tins 1.31.1
Using amatch 0.4.1
Using android_key_attestation 0.3.0
Using graphql 2.2.5
Using apollo_upload_server 2.1.5
Using jwt 2.5.0
Using app_store_connect 0.29.0
Using arr-pm 0.0.12
Using asciidoctor 2.0.18
Using asciidoctor-include-ext 0.4.0
Using asciidoctor-kroki 0.8.0
Using asciidoctor-plantuml 0.0.16
Using ast 2.4.2
Using atlassian-jwt 0.2.1
Using encryptor 3.0.0
Using attr_encrypted 3.2.4 from source at `vendor/gems/attr_encrypted`
Using attr_required 1.0.1
Using awesome_print 1.9.2
Using awrence 1.2.1
Using aws-eventstream 1.3.0
Using aws-partitions 1.877.0
Using aws-sigv4 1.8.0
Using jmespath 1.6.2
Using aws-sdk-core 3.191.3
Using aws-sdk-cloudformation 1.41.0
Using aws-sdk-kms 1.76.0
Using aws-sdk-s3 1.144.0
Using dumb_delegator 1.0.0
Using thread_safe 0.3.6
Using descendants_tracker 0.0.4
Using ice_nine 0.11.2
Using axiom-types 0.1.1
Using coercible 1.0.0
Using virtus 2.0.0
Using axe-core-api 4.8.0
Using axe-core-rspec 4.8.2
Using faraday_middleware 1.2.0
Using connection_pool 2.4.1
Using net-http-persistent 4.0.1
Using azure-storage-common 2.0.4
Using azure-storage-blob 2.0.3
Using babosa 2.0.0
Using base32 0.3.2
Using base64 0.2.0
Using batch-loader 2.0.1
Using bcrypt 3.1.18
Using benchmark-ips 2.11.0
Using benchmark-malloc 0.2.0
Using memory_profiler 1.0.1
Using benchmark-memory 0.2.0
Using benchmark-perf 0.6.0
Using benchmark-trend 0.4.0
Using bindata 2.4.11
Using debug_inspector 1.1.0
Using binding_of_caller 1.0.0
Using msgpack 1.5.4
Using bootsnap 1.18.3
Using browser 5.3.1
Using uniform_notifier 1.16.0
Using bullet 7.1.2
Using bundler 2.4.11
Using thor 1.3.0
Using bundler-audit 0.9.1
Using bundler-checksum 0.1.0 from source at `vendor/gems/bundler-checksum` and installing its executables
Using byebug 11.1.3
Using matrix 0.4.2
Using regexp_parser 2.6.0
Using xpath 3.2.0
Using capybara 3.40.0
Using launchy 2.5.0
Using capybara-screenshot 1.0.26
Using ssrf_filter 1.0.8
Using carrierwave 1.3.4
Using cbor 0.5.9.8
Using character_set 1.8.0
Using charlock_holmes 0.7.7
Using chef-utils 18.3.0
Using fuzzyurl 0.9.0
Using tomlrb 1.3.0
Using mixlib-config 3.0.27
Using mixlib-shellout 3.2.7
Using chef-config 18.3.0
Using chunky_png 1.4.0
Using circuitbox 2.0.0
Using citrus 3.0.2
Using claide 1.1.0
Using colored2 3.1.2
Using cork 0.3.0
Using nap 1.1.0
Using open4 1.3.4
Using claide-plugins 0.9.2
Using json 2.6.3
Using click_house-client 0.1.0 from source at `gems/click_house-client`
Using google-protobuf 3.25.3 (x86_64-linux)
Using googleapis-common-protos-types 1.5.0
Using grpc 1.60.0 (x86_64-linux)
Using googleapis-common-protos 1.4.0
Using multi_json 1.14.1
Using os 1.1.4
Using signet 0.18.0
Using googleauth 1.8.1
Using gapic-common 0.20.0
Using google-cloud-errors 1.3.0
Using google-cloud-profiler-v2 0.4.0
Using stackprof 0.2.25
Using cloud_profiler_agent 0.0.1.pre from source at `vendor/gems/cloud_profiler_agent`
Using coderay 1.1.3
Using commonmarker 0.23.10
Using openssl 3.1.0
Using openssl-signature_algorithm 1.3.0
Using cose 1.3.0
Using i18n_data 0.13.1
Using sixarm_ruby_unaccent 1.2.0
Using countries 4.0.1
Using safe_yaml 1.0.4
Using crack 0.4.3
Using creole 0.5.0
Using rchardet 1.8.0
Using git 1.18.0
Using crystalball 0.7.0
Using css_parser 1.14.0
Using method_source 1.0.0
Using zeitwerk 2.6.7
Using railties 7.0.8.1
Using cssbundling-rails 1.4.0
Using csv_builder 0.1.0 from source at `gems/csv_builder`
Using cvss-suite 3.0.1
Using faraday-http-cache 2.5.0
Using kramdown 2.3.2
Using kramdown-parser-gfm 1.1.0
Using no_proxy_fix 0.1.2
Using sawyer 0.9.2
Using octokit 8.0.0
Using unicode-display_width 2.4.2
Using terminal-table 3.0.2
Using danger 9.4.2
Using multi_xml 0.6.0
Using httparty 0.21.0
Using gitlab 4.19.0
Using danger-gitlab 8.0.0
Using dartsass 1.49.8
Using database_cleaner-core 2.0.1
Using database_cleaner-active_record 2.1.0
Using dead_end 3.1.1
Using deb_version 1.0.2
Using html-pipeline 2.14.3
Using deckar01-task_list 2.3.4
Using declarative 0.0.20
Using declarative_policy 1.1.0
Using deprecation_toolkit 1.5.1
Using ffi 1.15.5
Using get_process_mem 0.2.7
Using heapy 0.2.0
Using mini_histogram 0.3.1
Using ruby-statistics 3.0.0
Using derailed_benchmarks 2.1.2
Using devfile 0.0.25.pre.alpha1 (x86_64-linux)
Using device_detector 1.0.0
Using orm_adapter 0.5.0
Using responders 3.0.1
Using warden 1.2.9
Using devise 4.9.3
Using rotp 6.3.0
Using devise-two-factor 4.1.1
Using devise-pbkdf2-encryptable 0.0.0 from source at `vendor/gems/devise-pbkdf2-encryptable`
Using diff-lcs 1.5.0
Using diff_match_patch 0.1.0 from source at `vendor/gems/diff_match_patch`
Using diffy 3.4.2
Using digest-crc 0.6.5
Using discordrb-webhooks 3.5.0
Using docile 1.4.0
Using doorkeeper 5.6.6
Using doorkeeper-openid_connect 1.8.7
Using dotenv 2.7.6
Using dry-cli 1.0.0
Using dry-core 1.0.1
Using dry-inflector 1.0.0
Using dry-logic 1.5.0
Using dry-types 1.7.1
Using duo_api 1.3.0
Using ecma-re-validator 0.3.0
Using ed25519 1.3.0
Using elasticsearch-api 7.13.3
Using elasticsearch-transport 7.13.3
Using elasticsearch 7.13.3
Using hashie 5.0.0
Using elasticsearch-model 7.2.0
Using elasticsearch-rails 7.2.1
Using email_reply_trimmer 0.1.6
Using htmlentities 4.3.4
Using email_spec 2.2.0
Using ethon 0.16.0
Using typhoeus 1.4.0
Using error_tracking_open_api 1.0.0 from source at `gems/error_tracking_open_api`
Using escape_utils 1.3.0
Using et-orbi 1.2.7
Using excon 0.99.0
Using execjs 2.8.1
Using parslet 1.8.2
Using expgen 0.1.1
Using expression_parser 0.9.0
Using extended-markdown-filter 0.7.0
Using factory_bot 6.4.5
Using factory_bot_rails 6.4.3
Using faraday_middleware-aws-sigv4 0.3.0
Using fast_blank 1.0.1
Using fast_gettext 2.3.0
Using ffaker 2.23.0
Using ffi-compiler 1.0.1
Using libyajl2 2.1.0
Using ffi-yajl 2.6.0
Using find_a_port 1.0.1
Using flipper 0.26.2
Using flipper-active_record 0.26.2
Using flipper-active_support_cache_store 0.26.2
Using formatador 0.2.5
Using fog-core 2.1.0
Using fog-json 1.2.0
Using ipaddress 0.8.3
Using xml-simple 1.1.9
Using fog-aliyun 0.4.0
Using fog-xml 0.1.3
Using fog-aws 3.18.0
Using httpclient 2.8.3
Using trailblazer-option 0.1.2
Using uber 0.1.0
Using representable 3.2.0
Using retriable 3.1.2
Using webrick 1.8.1
Using google-apis-core 0.11.2
Using google-apis-compute_v1 0.57.0
Using google-apis-dns_v1 0.28.0
Using google-apis-iamcredentials_v1 0.15.0
Using google-apis-monitoring_v3 0.37.0
Using google-apis-pubsub_v1 0.30.0
Using google-apis-sqladmin_v1beta4 0.41.0
Using google-apis-storage_v1 0.29.0
Using google-cloud-env 1.6.0
Using fog-google 1.19.0
Using fog-local 0.8.0
Using forwardable 1.3.3
Using raabro 1.4.0
Using fugit 1.8.1
Using rspec-support 3.12.0
Using rspec-core 3.12.2
Using ruby-progressbar 1.11.0
Using fuubar 2.2.0
Using gemoji 3.0.1
Using locale 2.1.3
Using singleton 0.1.1
Using prime 0.1.2
Using text 1.3.1
Using gettext 3.4.9
Using gettext_i18n_rails 1.11.0
Using gitaly 16.10.0.pre.rc1
Using gitlab-backup-cli 0.0.1 from source at `gems/gitlab-backup-cli`
Using numerizer 0.2.0
Using gitlab-chronic 0.10.5
Using gitlab-dangerfiles 4.7.0
Using request_store 1.5.1
Using gitlab-experiment 0.9.1
Using gitlab-fog-azure-rm 1.8.0
Using rb_sys 0.9.86
Using gitlab-glfm-markdown 0.0.13 (x86_64-linux)
Using language_server-protocol 3.17.0.3
Using parallel 1.22.1
Using parser 3.3.0.2
Using rainbow 3.1.1
Using rubocop-ast 1.29.0
Using rubocop 1.57.2
Using gitlab-housekeeper 0.1.0 from source at `gems/gitlab-housekeeper` and installing its executables
Using gitlab-http 0.1.0 from source at `gems/gitlab-http`
Using opentracing 0.5.0
Using thrift 0.16.0
Using jaeger-client 1.1.0
Using pg_query 5.1.0
Using redis-client 0.21.0
Using redis 5.0.8
Using gitlab-labkit 0.35.1
Using gitlab-license 2.4.0
Using version_gem 1.1.0
Using snaky_hash 2.0.0
Using oauth2 2.0.9
Using redis-namespace 1.10.0
Using gitlab-mail_room 0.0.24
Using gitlab-markup 1.9.0
Using gitlab-net-dns 0.9.2
Using rspec-expectations 3.12.3
Using rspec-mocks 3.12.6
Using rspec 3.12.0
Using gitlab-rspec 0.1.0 from source at `gems/gitlab-rspec`
Using gitlab-rspec_flaky 0.1.0 from source at `gems/gitlab-rspec_flaky`
Using gitlab-safe_request_store 0.1.0 from source at `gems/gitlab-safe_request_store`
Using gitlab-schema-validation 0.1.0 from source at `gems/gitlab-schema-validation`
Using snowplow-tracker 0.8.0
Using gitlab-sdk 0.3.0
Using re2 2.7.0 (x86_64-linux)
Using toml-rb 2.2.0
Using gitlab-secret_detection 0.1.0 from source at `gems/gitlab-secret_detection`
Using sidekiq 7.1.6 from source at `vendor/gems/sidekiq-7.1.6` and installing its executables
Using gitlab-sidekiq-fetcher 0.11.0 from source at `vendor/gems/sidekiq-reliable-fetch`
Using rubocop-graphql 0.19.0
Using rubocop-performance 1.19.1
Using rubocop-rails 2.22.1
Using rubocop-capybara 2.19.0
Using rubocop-factory_bot 2.24.0
Using rubocop-rspec 2.25.0
Using gitlab-styles 11.0.0
Using gitlab-utils 0.1.0 from source at `gems/gitlab-utils`
Using gitlab_chronic_duration 0.12.0
Using net-ldap 0.17.1
Using rack-protection 2.2.2
Using omniauth 2.1.0
Using pyu-ruby-sasl 0.0.3.3
Using rubyntlm 0.6.3
Using gitlab_omniauth-ldap 2.2.0
Using http-form_data 2.3.0
Using llhttp-ffi 0.4.0
Using http 5.1.1
Using unparser 0.6.7
Using proc_to_ast 0.1.0
Using rspec-parameterized-core 1.0.0
Using rspec-parameterized-table_syntax 1.0.0
Using rspec-parameterized 1.0.0
Using table_print 1.5.7
Using gitlab_quality-test_tooling 1.17.0
Using gon 6.4.0
Using google-apis-androidpublisher_v3 0.34.0
Using google-apis-cloudbilling_v1 0.21.0
Using google-apis-cloudresourcemanager_v1 0.31.0
Using google-apis-container_v1 0.43.0
Using google-apis-container_v1beta1 0.43.0
Using google-apis-iam_v1 0.36.0
Using google-apis-serviceusage_v1 0.28.0
Using google-cloud-location 0.6.0
Using grpc-google-iam-v1 1.5.0
Using google-cloud-artifact_registry-v1 0.11.0
Using google-cloud-common 1.1.0
Using google-cloud-compute-v1 2.6.0
Using google-cloud-core 1.6.0
Using google-cloud-storage 1.45.0
Using mini_portile2 2.8.5
Using gpgme 2.0.23
Using mustermann 3.0.0
Using mustermann-grape 1.0.2
Using rack-accept 0.4.5
Using grape 2.0.0
Using grape-entity 0.10.2
Using grape-path-helpers 2.0.1
Using grape-swagger 2.0.1
Using grape-swagger-entity 0.5.1
Using grape_logging 1.8.4
Using sprockets 3.7.2
Using sprockets-rails 3.4.2
Using graphiql-rails 1.8.0
Using graphql-client 0.19.0
Using graphlient 0.6.0
Using graphlyte 1.0.0
Using graphql-docs 4.0.0
Using gssapi 1.3.1
Using rb-fsevent 0.11.2
Using rb-inotify 0.10.1
Using listen 3.7.1
Using lumberjack 1.2.7
Using nenv 0.3.0
Using shellany 0.0.1
Using notiffany 0.1.3
Using pry 0.14.2
Using guard 2.16.2
Using guard-compat 1.2.1
Using guard-rspec 4.7.3
Using temple 0.8.2
Using tilt 2.0.11
Using haml 5.2.2
Using sysexits 1.2.0
Using haml_lint 0.53.0
Using hamlit 2.15.0
Using hana 1.3.7
Using hashdiff 1.0.1
Using health_check 3.1.0
Using html2text 0.2.0
Using ice_cube 0.16.4
Using icalendar 2.8.0
Using imagen 0.1.8
Using influxdb-client 2.9.0
Using rails 7.0.8.1
Using invisible_captcha 2.1.0
Using ipaddr 1.2.5
Using oj 3.13.23
Using ipynbdiff 0.4.7 from source at `gems/ipynbdiff`
Using oauth 0.5.6
Using jira-ruby 2.3.0
Using regexp_property_values 1.0.0
Using js_regex 3.8.0
Using json-jwt 1.15.3
Using uri_template 0.7.0
Using json_schemer 0.2.18
Using jsonb_accessor 1.3.10
Using jsonpath 1.1.2
Using kaminari-core 1.2.2
Using kaminari-actionview 1.2.2
Using kaminari-activerecord 1.2.2
Using kaminari 1.2.2
Using kas-grpc 0.4.0
Using knapsack 1.22.0
Using recursive-open-struct 1.1.3
Using kubeclient 4.11.0
Using rubyzip 2.3.2
Using with_env 1.1.0
Using license_finder 7.0.1
Using reverse_markdown 1.4.0
Using rugged 1.6.3
Using licensee 9.16.1
Using lockbox 1.3.0
Using lograge 0.11.2
Using lru_redux 1.1.0
Using mail-smtp_pool 0.1.0 from source at `vendor/gems/mail-smtp_pool`
Using marginalia 1.11.1
Using microsoft_graph_mailer 0.1.0 from source at `vendor/gems/microsoft_graph_mailer`
Using mini_magick 4.10.1
Using mixlib-cli 2.1.8
Using mixlib-log 3.0.9
Using murmurhash3 0.1.7
Using neighbor 0.2.3
Using uri 0.13.0
Using net-http 0.1.1
Using net-ntp 2.1.3
Using net-ssh 7.2.0
Using net-scp 4.0.0
Using plist 3.7.0
Using train-core 3.10.8
Using wmi-lite 1.0.7
Using ohai 18.1.3
Using oj-introspect 0.7.2
Using omniauth-oauth2 1.8.0
Using omniauth-alicloud 3.0.0
Using omniauth-atlassian-oauth2 0.2.0
Using omniauth-auth0 3.1.0
Using omniauth-azure-activedirectory-v2 2.0.0
Using omniauth-azure-oauth2 0.0.10 from source at `vendor/gems/omniauth-azure-oauth2`
Using omniauth-dingtalk-oauth2 1.0.1
Using omniauth-facebook 4.0.0
Using omniauth-github 2.0.1
Using omniauth-gitlab 4.0.0 from source at `vendor/gems/omniauth-gitlab`
Using omniauth-google-oauth2 1.1.1
Using omniauth-oauth 1.2.0
Using omniauth-oauth2-generic 0.2.8
Using omniauth-salesforce 1.0.5 from source at `vendor/gems/omniauth-salesforce`
Using ruby-saml 1.15.0
Using omniauth-saml 2.1.0
Using omniauth-shibboleth-redux 2.0.0
Using omniauth-twitter 1.4.0
Using omniauth_crowd 2.4.0 from source at `vendor/gems/omniauth_crowd`
Using rack-oauth2 1.21.3
Using swd 1.3.0
Using validate_email 0.1.6
Using validate_url 1.0.15
Using webfinger 1.2.0
Using openid_connect 1.3.0
Using omniauth_openid_connect 0.6.1
Using optimist 3.0.1
Using rubypants 0.2.0
Using org-ruby 0.9.12
Using pact-support 1.20.0
Using pact-mock_service 3.11.2
Using term-ansicolor 1.7.1
Using pact 1.64.0
Using tty-color 0.6.0
Using pastel 0.8.0
Using peek 1.1.0
Using png_quantizator 0.2.1
Using premailer 1.16.0
Using premailer-rails 1.10.3
Using prometheus-client-mmap 1.1.1 (x86_64-linux)
Using pry-byebug 3.10.1
Using pry-rails 0.3.9
Using rouge 4.2.0
Using strings-ansi 0.2.0
Using unicode_utils 1.4.0
Using strings 0.2.1
Using tty-screen 0.8.1
Using tty-markdown 0.7.2
Using tty-cursor 0.7.1
Using wisper 2.0.1
Using tty-reader 0.9.0
Using tty-prompt 0.23.1
Using pry-shell 0.6.4
Using puma 6.4.0
Using rack-attack 6.7.0
Using rack-cors 2.0.1
Using rack-proxy 0.7.7
Using rack-session 1.0.2
Using rack-timeout 0.6.3
Using rails-controller-testing 1.0.5
Using rails-i18n 7.0.3
Using rbtrace 0.5.1
Using recaptcha 5.12.3
Using redis-store 1.10.0
Using redis-rack 3.0.0
Using redis-actionpack 5.4.0
Using redis-cluster-client 0.7.5
Using redis-clustering 5.0.8
Using rinku 2.0.0
Using rqrcode_core 1.2.0
Using rqrcode 2.2.0
Using rspec-benchmark 0.6.0
Using rspec-rails 6.1.1
Using rspec-retry 0.6.2
Using rspec_junit_formatter 0.6.0
Using rspec_profiling 0.0.8
Using ruby-fogbugz 0.3.0
Using ruby-magic 0.6.0
Using ruby-openai 3.7.0
Using safety_net_attestation 0.4.0
Using sanitize 6.0.2
Using sd_notify 0.1.1
Using seed-fu 2.3.7
Using websocket 1.2.10
Using selenium-webdriver 4.18.1
Using tty-command 0.10.1
Using semver_dialects 1.6.2
Using sentry-ruby 5.10.0
Using sentry-rails 5.10.0
Using sentry-raven 3.1.2
Using sentry-sidekiq 5.10.0
Using shoulda-matchers 5.1.0
Using sidekiq-cron 1.12.0
Using sigdump 0.2.4
Using simple_po_parser 1.1.6
Using simplecov-html 0.12.3
Using simplecov_json_formatter 0.1.4
Using simplecov 0.22.0
Using simplecov-cobertura 2.1.0
Using simplecov-lcov 0.8.0
Using slack-messenger 2.3.4
Using spamcheck 1.3.0
Using spring 4.1.0
Using spring-commands-rspec 1.0.4
Using ssh_data 1.3.0
Using state_machines 0.5.0
Using state_machines-activemodel 0.8.0
Using state_machines-activerecord 0.8.0
Using sys-filesystem 1.4.3
Using tanuki_emoji 0.9.0
Using telesign 2.2.4
Using telesignenterprise 2.2.2
Using terser 1.0.2
Using test-prof 1.3.1
Using test_file_finder 0.2.1
Using timfel-krb5-auth 0.8.3
Using tpm-key_attestation 0.12.0
Using truncato 0.7.12
Using undercover 0.4.6
Using unleash 3.2.2
Using valid_email 0.1.3
Using validates_hostname 1.0.13
Using version_sorter 2.3.0
Using view_component 3.11.0
Using vite_ruby 3.5.0
Using vite_rails 3.0.17
Using vmstat 2.3.0
Using warning 1.3.0
Using webauthn 3.0.0
Using webmock 3.22.0
Using wikicloth 0.8.1
Using yajl-ruby 1.4.3
Bundle complete! 331 Gemfile dependencies, 645 gems now installed.
Gems in the groups 'production' and 'development' were not installed.
Bundled gems are installed into `./vendor`
2 installed gems you directly depend on are looking for funding.
  Run `bundle fund` for details
==> 'bundle install --jobs=$(nproc) --retry=3 ' succeeded in 2 seconds.
$ bundle pristine pg
Patching bundler with bundler-checksum...
Installing pg 1.5.6 with native extensions
==> 'bundle pristine pg' succeeded in 13 seconds.
section_end:1710725022:bundle-install

Using decomposed database config (config/database.yml.decomposed-postgresql)
Geo DB won't be set up.
Embedding DB won't be set up.
section_start:1710725022:setup-db[collapsed=true]
Setting up DBs
CREATE ROLE
GRANT
$ bundle exec rake db:drop db:create db:schema:load db:migrate gitlab:db:lock_writes
Dropped database 'gitlabhq_test'
Dropped database 'gitlabhq_test_ci'
Created database 'gitlabhq_test'
Created database 'gitlabhq_test_ci'
==> 'bundle exec rake db:drop db:create db:schema:load db:migrate gitlab:db:lock_writes' succeeded in 75 seconds.
SELECT pg_catalog.set_config('search_path', '', false);
CREATE DATABASE praefect_test ENCODING 'UTF8';
section_end:1710725099:setup-db

$ source ./scripts/rspec_helpers.sh
$ run_timed_command "gem install knapsack --no-document"
$ gem install knapsack --no-document
Successfully installed knapsack-4.0.0
1 gem installed
==> 'gem install knapsack --no-document' succeeded in 1 seconds.
$ section_start "gitaly-test-spawn" "Spawning Gitaly"; scripts/gitaly-test-spawn; section_end "gitaly-test-spawn"
section_start:1710725100:gitaly-test-spawn[collapsed=true]
Spawning Gitaly
Trying to connect to gitaly: .... OK
Trying to connect to gitaly2: ...... OK
Starting Praefect with in-memory election strategyTrying to connect to praefect: ..... OK
section_end:1710725104:gitaly-test-spawn

$ export RSPEC_SKIPPED_TESTS_REPORT_PATH="rspec/skipped_tests-${CI_JOB_ID}.txt"
$ export RSPEC_RETRIED_TESTS_REPORT_PATH="rspec/retried_tests-${CI_JOB_ID}.txt"
$ tooling/bin/create_job_metrics_file || true
[job-metrics] Creating the job metrics file for the CI/CD job.
$ rspec_section rspec_parallelized_job "--fail-fast=${RSPEC_FAIL_FAST_THRESHOLD} --tag ~quarantine --tag ~level:background_migration --tag ~click_house --tag ~real_ai_request"
section_start:1710725106:rspec[collapsed=false]
RSpec
[01:25:06] Starting rspec_parallelized_job
RETRY_FAILED_TESTS_IN_NEW_PROCESS: true
KNAPSACK_GENERATE_REPORT: true
FLAKY_RSPEC_GENERATE_REPORT: true
KNAPSACK_TEST_FILE_PATTERN: spec/{bin,channels,components,config,contracts,db,dependencies,elastic,elastic_integration,experiments,factories,finders,frontend,graphql,haml_lint,helpers,initializers,keeps,lib,metrics_server,models,policies,presenters,rack_servers,replicators,routing,rubocop,scripts,serializers,services,sidekiq,sidekiq_cluster,spam,support_specs,tasks,uploaders,validators,views,workers,tooling,dot_gitlab_ci}{,/**/}*_spec.rb
KNAPSACK_LOG_LEVEL: debug
KNAPSACK_REPORT_PATH: knapsack/rspec_unit_pg14_18_32_278964_report.json
FLAKY_RSPEC_SUITE_REPORT_PATH: rspec/flaky/report-suite.json
FLAKY_RSPEC_REPORT_PATH: rspec/flaky/all_rspec_unit_pg14_18_32_278964_report.json
NEW_FLAKY_RSPEC_REPORT_PATH: rspec/flaky/new_rspec_unit_pg14_18_32_278964_report.json
RSPEC_SKIPPED_TESTS_REPORT_PATH: rspec/skipped_tests-6413139483.txt
CRYSTALBALL: true
RSPEC_TESTS_MAPPING_ENABLED: 
RSPEC_TESTS_FILTER_FILE: 
Shell set options (set -o) enabled:
braceexpand    	on
hashall        	on
interactive-comments	on
pipefail       	on
Parsing expected rspec suite duration...
RSpec suite is expected to take 43 minutes 2.27 seconds.
Expected duration for tests:

{
  "spec/services/ci/pipeline_processing/atomic_processing_service_spec.rb": 349.2182445706497,
  "spec/rubocop/cop/rspec/feature_category_spec.rb": 195.65306748801427,
  "spec/tasks/gitlab/usage_data_rake_spec.rb": 127.70555759299374,
  "spec/lib/gitlab/background_migration/job_coordinator_spec.rb": 102.08320222055637,
  "spec/lib/gitlab/email/handler/service_desk_handler_spec.rb": 86.94392785915866,
  "spec/models/concerns/deployment_platform_spec.rb": 75.39920557254862,
  "spec/models/integrations/slack_spec.rb": 63.47263302001717,
  "spec/services/ci/drop_pipelines_and_disable_schedules_for_user_service_spec.rb": 57.88087728765018,
  "spec/finders/packages/group_packages_finder_spec.rb": 53.49561680492937,
  "spec/models/merge_request/cleanup_schedule_spec.rb": 50.30956453913477,
  "spec/lib/gitlab/background_migration/backfill_default_branch_protection_namespace_setting_spec.rb": 46.92215365175292,
  "spec/workers/projects/import_export/create_relation_exports_worker_spec.rb": 41.8228236604012,
  "spec/services/projects/unlink_fork_service_spec.rb": 38.22704023206629,
  "spec/models/label_spec.rb": 35.1099659612301,
  "spec/services/projects/lfs_pointers/lfs_download_service_spec.rb": 34.14676185627013,
  "spec/workers/database/batched_background_migration_worker_spec.rb": 32.11542196805063,
  "spec/models/blob_spec.rb": 30.30977976265021,
  "spec/services/merge_requests/squash_service_spec.rb": 29.337551605544093,
  "spec/models/merge_request_diff_commit_spec.rb": 27.44988669795271,
  "spec/services/web_hook_service_spec.rb": 26.357794464542508,
  "spec/policies/blob_policy_spec.rb": 25.77371375589194,
  "spec/models/ml/candidate_spec.rb": 24.482554496719363,
  "spec/services/projects/move_access_service_spec.rb": 23.46311839015209,
  "spec/graphql/mutations/issues/update_spec.rb": 23.054986945900346,
  "spec/lib/gitlab/email/receiver_spec.rb": 21.71328670800182,
  "spec/lib/gitlab/redis/shared_state_spec.rb": 21.27401292094379,
  "spec/rubocop/cop/rspec/factory_bot/strategy_in_callback_spec.rb": 20.757998380719666,
  "spec/services/merge_requests/conflicts/list_service_spec.rb": 19.35698647819988,
  "spec/tasks/gitlab/click_house/migration_rake_spec.rb": 19.01398112878553,
  "spec/lib/gitlab/auth/ldap/person_spec.rb": 18.141095120456555,
  "spec/lib/gitlab/issues/rebalancing/state_spec.rb": 17.599838350293396,
  "spec/lib/gitlab/import_export/json/streaming_serializer_spec.rb": 17.10047208592856,
  "spec/finders/environments/environments_by_deployments_finder_spec.rb": 16.314537113764764,
  "spec/services/ci/resource_groups/assign_resource_from_resource_group_service_spec.rb": 15.998196601136076,
  "spec/lib/gitlab/import_export/after_export_strategies/base_after_export_strategy_spec.rb": 15.272292101207231,
  "spec/lib/gitlab/metrics/rails_slis_spec.rb": 14.947853891413047,
  "spec/lib/gitlab/background_migration/backfill_partition_id_ci_pipeline_artifact_spec.rb": 14.56982528892261,
  "spec/lib/banzai/filter/references/feature_flag_reference_filter_spec.rb": 14.001281519424257,
  "spec/lib/gitlab/background_migration/backfill_branch_protection_namespace_setting_spec.rb": 13.603196889867753,
  "spec/tasks/gitlab/ldap_rake_spec.rb": 12.967088406739737,
  "spec/models/project_auto_devops_spec.rb": 12.955580030960789,
  "spec/lib/feature/gitaly_spec.rb": 12.383034872329706,
  "spec/services/labels/create_service_spec.rb": 12.168070729441446,
  "spec/models/incident_management/timeline_event_spec.rb": 11.88211549996815,
  "spec/models/ci/unit_test_failure_spec.rb": 11.566284605239627,
  "spec/lib/gitlab/discussions_diff/file_collection_spec.rb": 11.3560164484199,
  "spec/lib/gitlab/observability_spec.rb": 11.16219146893276,
  "spec/workers/delete_user_worker_spec.rb": 10.880237154886508,
  "spec/lib/gitlab/ci/reports/security/report_spec.rb": 10.761577749410689,
  "spec/helpers/projects/error_tracking_helper_spec.rb": 10.354391953892938,
  "spec/lib/gitlab/ci/config/header/input_spec.rb": 10.322517923692647,
  "spec/services/packages/conan/create_package_file_service_spec.rb": 9.941001395957798,
  "spec/lib/gitlab/instrumentation/redis_client_middleware_spec.rb": 9.906831963254794,
  "spec/views/shared/_label_row.html.haml_spec.rb": 9.568081562262131,
  "spec/lib/gitlab/pages_spec.rb": 9.432491003770275,
  "spec/policies/board_policy_spec.rb": 9.217183692079118,
  "spec/models/web_ide_terminal_spec.rb": 8.981342029730364,
  "spec/lib/gitlab/ci/templates/Verify/load_performance_testing_gitlab_ci_yaml_spec.rb": 8.886837308714016,
  "spec/lib/gitlab/database/namespace_each_batch_spec.rb": 8.617527541772414,
  "spec/lib/gitlab/suggestions/commit_message_spec.rb": 8.485792536664285,
  "spec/lib/gitlab/ci/pipeline/chain/config/content_spec.rb": 8.310090391928725,
  "spec/services/pages_domains/create_acme_order_service_spec.rb": 8.190748218462645,
  "spec/lib/google_api/cloud_platform/client_spec.rb": 8.049992182212428,
  "spec/services/security/ci_configuration/secret_detection_create_service_spec.rb": 7.859540772661726,
  "spec/lib/gitlab/gitaly_client/conflicts_service_spec.rb": 7.7668028232546,
  "spec/lib/gitlab/github_import/parallel_scheduling_spec.rb": 7.569176194357336,
  "spec/views/projects/commits/_commit.html.haml_spec.rb": 7.479998754836862,
  "spec/tasks/gitlab/password_rake_spec.rb": 7.327553434330487,
  "spec/lib/gitlab/gitaly_client/object_pool_service_spec.rb": 7.201436968538888,
  "spec/lib/sidebars/projects/super_sidebar_panel_spec.rb": 7.093416257325353,
  "spec/finders/repositories/tree_finder_spec.rb": 6.930951800081009,
  "spec/services/integrations/slack_installation/instance_service_spec.rb": 6.793695113206619,
  "spec/graphql/mutations/issues/set_locked_spec.rb": 6.709289965709706,
  "spec/presenters/label_presenter_spec.rb": 6.639575715206984,
  "spec/lib/gitlab/gon_helper_spec.rb": 6.466927414104691,
  "spec/services/groups/group_links/destroy_service_spec.rb": 6.393299569594275,
  "spec/tasks/gitlab/ci_secure_files/check_rake_spec.rb": 6.286331042810748,
  "spec/sidekiq_cluster/sidekiq_cluster_spec.rb": 6.153450678334839,
  "spec/models/authentication_event_spec.rb": 6.1381739776304,
  "spec/workers/gitlab/github_import/stage/import_issues_and_diff_notes_worker_spec.rb": 5.949914349994612,
  "spec/lib/gitlab/ci/templates/Jobs/code_quality_gitlab_ci_yaml_spec.rb": 5.946408635058619,
  "spec/lib/gitlab/ci/pipeline/chain/build_spec.rb": 5.797546088337653,
  "spec/views/projects/empty.html.haml_spec.rb": 5.720639746941742,
  "spec/models/packages/build_info_spec.rb": 5.5914557474222395,
  "spec/models/achievements/achievement_spec.rb": 5.504988859029178,
  "spec/services/packages/composer/version_parser_service_spec.rb": 5.427287756751715,
  "spec/graphql/resolvers/alert_management/integrations_resolver_spec.rb": 5.355193264406566,
  "spec/lib/gitlab/analytics/cycle_analytics/stage_events/issue_first_mentioned_in_commit_spec.rb": 5.243290064759821,
  "spec/policies/personal_access_token_policy_spec.rb": 5.199547205249675,
  "spec/tasks/gitlab/audit_event_types/check_docs_task_spec.rb": 5.06207105805863,
  "spec/services/ci/create_pipeline_service/parallel_spec.rb": 5.012555419220186,
  "spec/models/concerns/ignorable_columns_spec.rb": 4.918771167159916,
  "spec/lib/gitlab/import_export/snippets_repo_saver_spec.rb": 4.872565335252672,
  "spec/services/authorized_project_update/project_recalculate_per_user_service_spec.rb": 4.802318258154021,
  "spec/services/dependency_proxy/auth_token_service_spec.rb": 4.73191685320899,
  "spec/workers/gitlab/bitbucket_server_import/stage/import_users_worker_spec.rb": 4.627566374642723,
  "spec/serializers/diff_viewer_entity_spec.rb": 4.60494342435714,
  "spec/lib/file_size_validator_spec.rb": 4.499437747102592,
  "spec/models/ci/build_pending_state_spec.rb": 4.489405827363739,
  "spec/models/ref_matcher_spec.rb": 4.400009626738807,
  "spec/db/development/create_work_item_hierarchy_restrictions_spec.rb": 4.376579076483946,
  "spec/lib/gitlab/database/background_migration/batch_optimizer_spec.rb": 4.267046616359108,
  "spec/views/shared/issuable/_sidebar.html.haml_spec.rb": 4.241829065585292,
  "spec/services/projects/record_target_platforms_service_spec.rb": 4.1277854134259355,
  "spec/lib/api/entities/clusters/agents/authorizations/ci_access_spec.rb": 4.098977400824285,
  "spec/lib/sidebars/admin/menus/monitoring_menu_spec.rb": 4.060057710110902,
  "spec/lib/gitlab/database/partitioning/int_range_strategy_spec.rb": 4.001349312228349,
  "spec/models/ci/pipeline_message_spec.rb": 3.966552745790282,
  "spec/lib/gitlab/tracking/incident_management_spec.rb": 3.8913439320823215,
  "spec/graphql/subscriptions/issuable_updated_spec.rb": 3.8841352249113474,
  "spec/services/ml/create_model_service_spec.rb": 3.8104695867568363,
  "spec/workers/analytics/usage_trends/counter_job_worker_spec.rb": 3.790034801117124,
  "spec/lib/gitlab/background_migration/backup_and_remove_notes_with_null_noteable_type_spec.rb": 3.717653113711052,
  "spec/lib/gitlab/usage/metrics/instrumentations/project_imports_creators_metric_spec.rb": 3.692977912267828,
  "spec/workers/merge_requests/execute_approval_hooks_worker_spec.rb": 3.629623870903796,
  "spec/lib/gitlab/import_export/uploads_saver_spec.rb": 3.5941841708902755,
  "spec/finders/groups/custom_emoji_finder_spec.rb": 3.558966290660563,
  "spec/lib/gitlab/database/migration_helpers/swapping_spec.rb": 3.4938968803123025,
  "spec/lib/gitlab/plantuml_spec.rb": 3.452573138731527,
  "spec/graphql/resolvers/group_releases_resolver_spec.rb": 3.446381647924796,
  "spec/models/work_items/widgets/hierarchy_spec.rb": 3.3856764492114726,
  "spec/lib/gitlab/cleanup/orphan_job_artifact_files_batch_spec.rb": 3.334443459253878,
  "spec/models/integrations/chat_message/issue_message_spec.rb": 3.301422900401737,
  "spec/presenters/alert_management/alert_presenter_spec.rb": 3.2537599619452964,
  "spec/lib/gitlab/database/query_analyzers/prevent_set_operator_mismatch/columns_spec.rb": 3.215195656200404,
  "spec/graphql/resolvers/merge_request_pipelines_resolver_spec.rb": 3.173050492759838,
  "spec/services/note_summary_spec.rb": 3.1338567565394513,
  "spec/services/timelogs/delete_service_spec.rb": 3.1034421220582575,
  "spec/services/work_items/callbacks/award_emoji_spec.rb": 3.0509800717197084,
  "spec/graphql/resolvers/project_jobs_resolver_spec.rb": 3.0269379470948086,
  "spec/graphql/mutations/achievements/create_spec.rb": 2.9561996867352276,
  "spec/services/branch_rules/base_service_spec.rb": 2.9410008855898404,
  "spec/graphql/resolvers/project_resolver_spec.rb": 2.9070583384707755,
  "spec/models/concerns/optionally_search_spec.rb": 2.8515696517134907,
  "spec/lib/gitlab/memory/watchdog/event_reporter_spec.rb": 2.820012598356409,
  "spec/lib/gitlab/exceptions_app_spec.rb": 2.7911682753462816,
  "spec/graphql/resolvers/crm/organization_state_counts_resolver_spec.rb": 2.7474455186653275,
  "spec/helpers/listbox_helper_spec.rb": 2.714604408521285,
  "spec/lib/gitlab/crypto_helper_spec.rb": 2.6636578804963698,
  "spec/lib/gitlab/global_id/deprecations_spec.rb": 2.6468329701701454,
  "spec/models/badges/project_badge_spec.rb": 2.6057139752245,
  "spec/lib/gitlab/usage_data_counters/snippet_counter_spec.rb": 2.5767820116168325,
  "spec/lib/gitlab/cross_project_access_spec.rb": 2.5300417616857658,
  "spec/lib/gitlab/usage_data_counters/base_counter_spec.rb": 2.5161463625384677,
  "spec/services/award_emojis/collect_user_emoji_service_spec.rb": 2.4739433634960886,
  "spec/workers/user_status_cleanup/batch_worker_spec.rb": 2.4698530068534086,
  "spec/workers/releases/publish_event_worker_spec.rb": 2.4121882127145535,
  "spec/lib/banzai/filter/ascii_doc_sanitization_filter_spec.rb": 2.406706292241335,
  "spec/tooling/danger/gitlab_schema_validation_suggestion_spec.rb": 2.3517217116763063,
  "spec/lib/gitlab/github_import/importer/pull_requests/merged_by_importer_spec.rb": 2.3502985340034313,
  "spec/workers/authorized_keys_worker_spec.rb": 2.2853931170531547,
  "spec/workers/object_pool/join_worker_spec.rb": 2.278906064025258,
  "spec/graphql/resolvers/data_transfer/project_data_transfer_resolver_spec.rb": 2.2254100360016382,
  "spec/lib/gitlab/bitbucket_import/importers/pull_requests_notes_importer_spec.rb": 2.217198775426591,
  "spec/services/projects/hashed_storage/migration_service_spec.rb": 2.175019959930829,
  "spec/lib/gitlab/ci/config/external/mapper/location_expander_spec.rb": 2.1677903486210495,
  "spec/services/ml/find_or_create_model_version_service_spec.rb": 2.1145544355425008,
  "spec/rubocop/cop/gitlab/service_response_spec.rb": 2.1122552771893703,
  "spec/lib/sidebars/your_work/menus/todos_menu_spec.rb": 2.0594820539916903,
  "spec/lib/gitlab/source_spec.rb": 2.0474191346351645,
  "spec/workers/gitlab/github_import/import_pull_request_worker_spec.rb": 1.9943689318988702,
  "spec/lib/gitlab/changelog/generator_spec.rb": 1.9895377449220013,
  "spec/services/clusters/build_service_spec.rb": 1.9456250897363496,
  "spec/rubocop/cop/migration/sidekiq_queue_migrate_spec.rb": 1.93879586413951,
  "spec/presenters/prometheus_alert_presenter_spec.rb": 1.884535270807736,
  "spec/lib/gitlab/ci/config/entry/release/assets_spec.rb": 1.8442125847451676,
  "spec/lib/bulk_imports/groups/pipelines/group_attributes_pipeline_spec.rb": 1.8369980531021286,
  "spec/services/vs_code/settings/create_or_update_service_spec.rb": 1.7768683673319579,
  "spec/serializers/container_repository_entity_spec.rb": 1.7667842190744134,
  "spec/lib/gitlab/chat/responder/base_spec.rb": 1.7160869495899473,
  "spec/views/shared/milestones/_top.html.haml_spec.rb": 1.704153134984557,
  "spec/lib/gitlab/ci/config/entry/release/assets/links_spec.rb": 1.6576599224742108,
  "spec/models/users/banned_user_spec.rb": 1.6530056018827661,
  "spec/lib/bulk_imports/projects/pipelines/external_pull_requests_pipeline_spec.rb": 1.6118945123059725,
  "spec/lib/gitlab/ci/reports/security/link_spec.rb": 1.5984777253682214,
  "spec/routing/user_routing_spec.rb": 1.5410478592069468,
  "spec/lib/gitlab/database/async_indexes/index_base_spec.rb": 1.5368173880931069,
  "spec/serializers/project_access_token_entity_spec.rb": 1.4882027657184687,
  "spec/graphql/types/ci/pipeline_schedule_status_enum_spec.rb": 1.4769121102622635,
  "spec/helpers/projects/issues_helper_spec.rb": 1.4351084926234237,
  "spec/lib/gitlab/usage_data_counters/container_registry_event_counter_spec.rb": 1.410753527977769,
  "spec/services/packages/rpm/repository_metadata/build_filelist_xml_service_spec.rb": 1.3783406682248271,
  "spec/lib/gitlab/merge_requests/mergeability/results_store_spec.rb": 1.358702676424832,
  "spec/helpers/admin/abuse_reports_helper_spec.rb": 1.3255895122429202,
  "spec/lib/gitlab/ci/yaml_processor/dag_spec.rb": 1.3008126014052555,
  "spec/graphql/types/error_tracking/sentry_error_collection_type_spec.rb": 1.2651323693704355,
  "spec/scripts/database/schema_validator_spec.rb": 1.2521465324439864,
  "spec/serializers/import/bitbucket_server_provider_repo_entity_spec.rb": 1.2280904206970962,
  "spec/graphql/types/kas/agent_connection_type_spec.rb": 1.2036417273355342,
  "spec/rubocop/cop/code_reuse/finder_spec.rb": 1.1821820324198336,
  "spec/scripts/pipeline/average_reports_spec.rb": 1.1583793349468896,
  "spec/views/user_settings/user_settings/authentication_log.html.haml_spec.rb": 1.130035699932911,
  "spec/workers/jira_connect/send_uninstalled_hook_worker_spec.rb": 1.1038653233294808,
  "spec/workers/clusters/agents/notify_git_push_worker_spec.rb": 1.0738226807420337,
  "spec/tooling/lib/tooling/api/request_spec.rb": 1.0382154561159695,
  "spec/graphql/types/work_items/widgets/hierarchy_update_input_type_spec.rb": 1.027589833968235,
  "spec/rubocop/cop/migration/remove_concurrent_index_spec.rb": 0.9804052817738184,
  "spec/graphql/types/analytics/cycle_analytics/value_stream_type_spec.rb": 0.9689397441540006,
  "spec/lib/gitlab/checks/timed_logger_spec.rb": 0.9306072281771665,
  "spec/lib/gitlab/console_spec.rb": 0.9244920842512081,
  "spec/tooling/danger/config_files_spec.rb": 0.8944882804233751,
  "spec/views/admin/users/_form.html.haml_spec.rb": 0.8803649615209438,
  "spec/graphql/types/user_status_type_spec.rb": 0.8650544156105426,
  "spec/services/issues/issuable_base_service_spec.rb": 0.8129759520977712,
  "spec/models/organizations_spec.rb": 0.8071068028317702,
  "spec/lib/gitlab/ci/build/hook_spec.rb": 0.7582173944112656,
  "spec/lib/gitlab/ci/parsers/sbom/source/dependency_scanning_spec.rb": 0.754365461931915,
  "spec/lib/gitlab/usage/metrics/instrumentations/ldap_encrypted_secrets_metric_spec.rb": 0.7188862943107752,
  "spec/lib/sidebars/organizations/menus/scope_menu_spec.rb": 0.7070844469595936,
  "spec/graphql/types/visibility_pipeline_id_type_enum_spec.rb": 0.702087054689599,
  "spec/lib/gitlab/database/background_migration/batch_metrics_spec.rb": 0.6812531560120991,
  "spec/lib/gitlab/kubernetes/kubeconfig/entry/context_spec.rb": 0.6739182228695162,
  "spec/models/concerns/runners_token_prefixable_spec.rb": 0.6539286447876727,
  "spec/graphql/types/projects/repository_language_type_spec.rb": 0.64356463879964,
  "spec/graphql/types/ci/pipeline_message_type_spec.rb": 0.6210036431397702,
  "spec/graphql/types/merge_request_state_event_enum_spec.rb": 0.5603506104212357,
  "spec/graphql/types/work_items/widgets/designs_type_spec.rb": 0.509127449960944,
  "spec/lib/gitlab/ci/config/external/mapper/filter_spec.rb": 0.5006351923870482,
  "spec/graphql/types/packages/package_dependency_type_spec.rb": 0.46292442362071473,
  "spec/lib/gitlab/serializer/ci/variables_spec.rb": 0.45715155074109715,
  "spec/uploaders/metric_image_uploader_spec.rb": 0.4503863997066963,
  "spec/graphql/types/work_items/widgets/current_user_todos_type_spec.rb": 0.4389120485640374,
  "spec/initializers/rack_VULNDB-255039_patch_spec.rb": 0.43547180594976187,
  "spec/lib/gitlab/git/patches/patch_spec.rb": 0.4213329202094703,
  "spec/lib/gitlab/sidekiq_middleware/size_limiter/exceed_limit_error_spec.rb": 0.40907331999854774
}

Running command: bundle exec rspec -Ispec -rspec_helper --color --failure-exit-code 1 --error-exit-code 2 --format documentation --format Support::Formatters::JsonFormatter --out rspec/rspec-6413139483.json --format RspecJunitFormatter --out rspec/rspec-6413139483.xml --fail-fast=20 --tag ~quarantine --tag ~level:background_migration --tag ~click_house --tag ~real_ai_request -- spec/services/ci/pipeline_processing/atomic_processing_service_spec.rb spec/rubocop/cop/rspec/feature_category_spec.rb spec/tasks/gitlab/usage_data_rake_spec.rb spec/lib/gitlab/background_migration/job_coordinator_spec.rb spec/lib/gitlab/email/handler/service_desk_handler_spec.rb spec/models/concerns/deployment_platform_spec.rb spec/models/integrations/slack_spec.rb spec/services/ci/drop_pipelines_and_disable_schedules_for_user_service_spec.rb spec/finders/packages/group_packages_finder_spec.rb spec/models/merge_request/cleanup_schedule_spec.rb spec/lib/gitlab/background_migration/backfill_default_branch_protection_namespace_setting_spec.rb spec/workers/projects/import_export/create_relation_exports_worker_spec.rb spec/services/projects/unlink_fork_service_spec.rb spec/models/label_spec.rb spec/services/projects/lfs_pointers/lfs_download_service_spec.rb spec/workers/database/batched_background_migration_worker_spec.rb spec/models/blob_spec.rb spec/services/merge_requests/squash_service_spec.rb spec/models/merge_request_diff_commit_spec.rb spec/services/web_hook_service_spec.rb spec/policies/blob_policy_spec.rb spec/models/ml/candidate_spec.rb spec/services/projects/move_access_service_spec.rb spec/graphql/mutations/issues/update_spec.rb spec/lib/gitlab/email/receiver_spec.rb spec/lib/gitlab/redis/shared_state_spec.rb spec/rubocop/cop/rspec/factory_bot/strategy_in_callback_spec.rb spec/services/merge_requests/conflicts/list_service_spec.rb spec/tasks/gitlab/click_house/migration_rake_spec.rb spec/lib/gitlab/auth/ldap/person_spec.rb spec/lib/gitlab/issues/rebalancing/state_spec.rb spec/lib/gitlab/import_export/json/streaming_serializer_spec.rb spec/finders/environments/environments_by_deployments_finder_spec.rb spec/services/ci/resource_groups/assign_resource_from_resource_group_service_spec.rb spec/lib/gitlab/import_export/after_export_strategies/base_after_export_strategy_spec.rb spec/lib/gitlab/metrics/rails_slis_spec.rb spec/lib/gitlab/background_migration/backfill_partition_id_ci_pipeline_artifact_spec.rb spec/lib/banzai/filter/references/feature_flag_reference_filter_spec.rb spec/lib/gitlab/background_migration/backfill_branch_protection_namespace_setting_spec.rb spec/tasks/gitlab/ldap_rake_spec.rb spec/models/project_auto_devops_spec.rb spec/lib/feature/gitaly_spec.rb spec/services/labels/create_service_spec.rb spec/models/incident_management/timeline_event_spec.rb spec/models/ci/unit_test_failure_spec.rb spec/lib/gitlab/discussions_diff/file_collection_spec.rb spec/lib/gitlab/observability_spec.rb spec/workers/delete_user_worker_spec.rb spec/lib/gitlab/ci/reports/security/report_spec.rb spec/helpers/projects/error_tracking_helper_spec.rb spec/lib/gitlab/ci/config/header/input_spec.rb spec/services/packages/conan/create_package_file_service_spec.rb spec/lib/gitlab/instrumentation/redis_client_middleware_spec.rb spec/views/shared/_label_row.html.haml_spec.rb spec/lib/gitlab/pages_spec.rb spec/policies/board_policy_spec.rb spec/models/web_ide_terminal_spec.rb spec/lib/gitlab/ci/templates/Verify/load_performance_testing_gitlab_ci_yaml_spec.rb spec/lib/gitlab/database/namespace_each_batch_spec.rb spec/lib/gitlab/suggestions/commit_message_spec.rb spec/lib/gitlab/ci/pipeline/chain/config/content_spec.rb spec/services/pages_domains/create_acme_order_service_spec.rb spec/lib/google_api/cloud_platform/client_spec.rb spec/services/security/ci_configuration/secret_detection_create_service_spec.rb spec/lib/gitlab/gitaly_client/conflicts_service_spec.rb spec/lib/gitlab/github_import/parallel_scheduling_spec.rb spec/views/projects/commits/_commit.html.haml_spec.rb spec/tasks/gitlab/password_rake_spec.rb spec/lib/gitlab/gitaly_client/object_pool_service_spec.rb spec/lib/sidebars/projects/super_sidebar_panel_spec.rb spec/finders/repositories/tree_finder_spec.rb spec/services/integrations/slack_installation/instance_service_spec.rb spec/graphql/mutations/issues/set_locked_spec.rb spec/presenters/label_presenter_spec.rb spec/lib/gitlab/gon_helper_spec.rb spec/services/groups/group_links/destroy_service_spec.rb spec/tasks/gitlab/ci_secure_files/check_rake_spec.rb spec/sidekiq_cluster/sidekiq_cluster_spec.rb spec/models/authentication_event_spec.rb spec/workers/gitlab/github_import/stage/import_issues_and_diff_notes_worker_spec.rb spec/lib/gitlab/ci/templates/Jobs/code_quality_gitlab_ci_yaml_spec.rb spec/lib/gitlab/ci/pipeline/chain/build_spec.rb spec/views/projects/empty.html.haml_spec.rb spec/models/packages/build_info_spec.rb spec/models/achievements/achievement_spec.rb spec/services/packages/composer/version_parser_service_spec.rb spec/graphql/resolvers/alert_management/integrations_resolver_spec.rb spec/lib/gitlab/analytics/cycle_analytics/stage_events/issue_first_mentioned_in_commit_spec.rb spec/policies/personal_access_token_policy_spec.rb spec/tasks/gitlab/audit_event_types/check_docs_task_spec.rb spec/services/ci/create_pipeline_service/parallel_spec.rb spec/models/concerns/ignorable_columns_spec.rb spec/lib/gitlab/import_export/snippets_repo_saver_spec.rb spec/services/authorized_project_update/project_recalculate_per_user_service_spec.rb spec/services/dependency_proxy/auth_token_service_spec.rb spec/workers/gitlab/bitbucket_server_import/stage/import_users_worker_spec.rb spec/serializers/diff_viewer_entity_spec.rb spec/lib/file_size_validator_spec.rb spec/models/ci/build_pending_state_spec.rb spec/models/ref_matcher_spec.rb spec/db/development/create_work_item_hierarchy_restrictions_spec.rb spec/lib/gitlab/database/background_migration/batch_optimizer_spec.rb spec/views/shared/issuable/_sidebar.html.haml_spec.rb spec/services/projects/record_target_platforms_service_spec.rb spec/lib/api/entities/clusters/agents/authorizations/ci_access_spec.rb spec/lib/sidebars/admin/menus/monitoring_menu_spec.rb spec/lib/gitlab/database/partitioning/int_range_strategy_spec.rb spec/models/ci/pipeline_message_spec.rb spec/lib/gitlab/tracking/incident_management_spec.rb spec/graphql/subscriptions/issuable_updated_spec.rb spec/services/ml/create_model_service_spec.rb spec/workers/analytics/usage_trends/counter_job_worker_spec.rb spec/lib/gitlab/background_migration/backup_and_remove_notes_with_null_noteable_type_spec.rb spec/lib/gitlab/usage/metrics/instrumentations/project_imports_creators_metric_spec.rb spec/workers/merge_requests/execute_approval_hooks_worker_spec.rb spec/lib/gitlab/import_export/uploads_saver_spec.rb spec/finders/groups/custom_emoji_finder_spec.rb spec/lib/gitlab/database/migration_helpers/swapping_spec.rb spec/lib/gitlab/plantuml_spec.rb spec/graphql/resolvers/group_releases_resolver_spec.rb spec/models/work_items/widgets/hierarchy_spec.rb spec/lib/gitlab/cleanup/orphan_job_artifact_files_batch_spec.rb spec/models/integrations/chat_message/issue_message_spec.rb spec/presenters/alert_management/alert_presenter_spec.rb spec/lib/gitlab/database/query_analyzers/prevent_set_operator_mismatch/columns_spec.rb spec/graphql/resolvers/merge_request_pipelines_resolver_spec.rb spec/services/note_summary_spec.rb spec/services/timelogs/delete_service_spec.rb spec/services/work_items/callbacks/award_emoji_spec.rb spec/graphql/resolvers/project_jobs_resolver_spec.rb spec/graphql/mutations/achievements/create_spec.rb spec/services/branch_rules/base_service_spec.rb spec/graphql/resolvers/project_resolver_spec.rb spec/models/concerns/optionally_search_spec.rb spec/lib/gitlab/memory/watchdog/event_reporter_spec.rb spec/lib/gitlab/exceptions_app_spec.rb spec/graphql/resolvers/crm/organization_state_counts_resolver_spec.rb spec/helpers/listbox_helper_spec.rb spec/lib/gitlab/crypto_helper_spec.rb spec/lib/gitlab/global_id/deprecations_spec.rb spec/models/badges/project_badge_spec.rb spec/lib/gitlab/usage_data_counters/snippet_counter_spec.rb spec/lib/gitlab/cross_project_access_spec.rb spec/lib/gitlab/usage_data_counters/base_counter_spec.rb spec/services/award_emojis/collect_user_emoji_service_spec.rb spec/workers/user_status_cleanup/batch_worker_spec.rb spec/workers/releases/publish_event_worker_spec.rb spec/lib/banzai/filter/ascii_doc_sanitization_filter_spec.rb spec/tooling/danger/gitlab_schema_validation_suggestion_spec.rb spec/lib/gitlab/github_import/importer/pull_requests/merged_by_importer_spec.rb spec/workers/authorized_keys_worker_spec.rb spec/workers/object_pool/join_worker_spec.rb spec/graphql/resolvers/data_transfer/project_data_transfer_resolver_spec.rb spec/lib/gitlab/bitbucket_import/importers/pull_requests_notes_importer_spec.rb spec/services/projects/hashed_storage/migration_service_spec.rb spec/lib/gitlab/ci/config/external/mapper/location_expander_spec.rb spec/services/ml/find_or_create_model_version_service_spec.rb spec/rubocop/cop/gitlab/service_response_spec.rb spec/lib/sidebars/your_work/menus/todos_menu_spec.rb spec/lib/gitlab/source_spec.rb spec/workers/gitlab/github_import/import_pull_request_worker_spec.rb spec/lib/gitlab/changelog/generator_spec.rb spec/services/clusters/build_service_spec.rb spec/rubocop/cop/migration/sidekiq_queue_migrate_spec.rb spec/presenters/prometheus_alert_presenter_spec.rb spec/lib/gitlab/ci/config/entry/release/assets_spec.rb spec/lib/bulk_imports/groups/pipelines/group_attributes_pipeline_spec.rb spec/services/vs_code/settings/create_or_update_service_spec.rb spec/serializers/container_repository_entity_spec.rb spec/lib/gitlab/chat/responder/base_spec.rb spec/views/shared/milestones/_top.html.haml_spec.rb spec/lib/gitlab/ci/config/entry/release/assets/links_spec.rb spec/models/users/banned_user_spec.rb spec/lib/bulk_imports/projects/pipelines/external_pull_requests_pipeline_spec.rb spec/lib/gitlab/ci/reports/security/link_spec.rb spec/routing/user_routing_spec.rb spec/lib/gitlab/database/async_indexes/index_base_spec.rb spec/serializers/project_access_token_entity_spec.rb spec/graphql/types/ci/pipeline_schedule_status_enum_spec.rb spec/helpers/projects/issues_helper_spec.rb spec/lib/gitlab/usage_data_counters/container_registry_event_counter_spec.rb spec/services/packages/rpm/repository_metadata/build_filelist_xml_service_spec.rb spec/lib/gitlab/merge_requests/mergeability/results_store_spec.rb spec/helpers/admin/abuse_reports_helper_spec.rb spec/lib/gitlab/ci/yaml_processor/dag_spec.rb spec/graphql/types/error_tracking/sentry_error_collection_type_spec.rb spec/scripts/database/schema_validator_spec.rb spec/serializers/import/bitbucket_server_provider_repo_entity_spec.rb spec/graphql/types/kas/agent_connection_type_spec.rb spec/rubocop/cop/code_reuse/finder_spec.rb spec/scripts/pipeline/average_reports_spec.rb spec/views/user_settings/user_settings/authentication_log.html.haml_spec.rb spec/workers/jira_connect/send_uninstalled_hook_worker_spec.rb spec/workers/clusters/agents/notify_git_push_worker_spec.rb spec/tooling/lib/tooling/api/request_spec.rb spec/graphql/types/work_items/widgets/hierarchy_update_input_type_spec.rb spec/rubocop/cop/migration/remove_concurrent_index_spec.rb spec/graphql/types/analytics/cycle_analytics/value_stream_type_spec.rb spec/lib/gitlab/checks/timed_logger_spec.rb spec/lib/gitlab/console_spec.rb spec/tooling/danger/config_files_spec.rb spec/views/admin/users/_form.html.haml_spec.rb spec/graphql/types/user_status_type_spec.rb spec/services/issues/issuable_base_service_spec.rb spec/models/organizations_spec.rb spec/lib/gitlab/ci/build/hook_spec.rb spec/lib/gitlab/ci/parsers/sbom/source/dependency_scanning_spec.rb spec/lib/gitlab/usage/metrics/instrumentations/ldap_encrypted_secrets_metric_spec.rb spec/lib/sidebars/organizations/menus/scope_menu_spec.rb spec/graphql/types/visibility_pipeline_id_type_enum_spec.rb spec/lib/gitlab/database/background_migration/batch_metrics_spec.rb spec/lib/gitlab/kubernetes/kubeconfig/entry/context_spec.rb spec/models/concerns/runners_token_prefixable_spec.rb spec/graphql/types/projects/repository_language_type_spec.rb spec/graphql/types/ci/pipeline_message_type_spec.rb spec/graphql/types/merge_request_state_event_enum_spec.rb spec/graphql/types/work_items/widgets/designs_type_spec.rb spec/lib/gitlab/ci/config/external/mapper/filter_spec.rb spec/graphql/types/packages/package_dependency_type_spec.rb spec/lib/gitlab/serializer/ci/variables_spec.rb spec/uploaders/metric_image_uploader_spec.rb spec/graphql/types/work_items/widgets/current_user_todos_type_spec.rb spec/initializers/rack_VULNDB-255039_patch_spec.rb spec/lib/gitlab/git/patches/patch_spec.rb spec/lib/gitlab/sidekiq_middleware/size_limiter/exceed_limit_error_spec.rbKnapsack report generator started!
RSpec's reporter has already been initialized with #<IO:<STDERR>> as the deprecation stream, so your change to `deprecation_stream` will be ignored. You should configure it earlier for it to take effect, or use the `--deprecation-out` CLI option. (Called from /builds/gitlab-org/gitlab/spec/support/rspec.rb:59:in `block in <top (required)>')
Run options: exclude {:quarantine=>true, :level=>"background_migration", :click_house=>true, :real_ai_request=>true}

# [RSpecRunTime] Starting RSpec timer...
[TEST PROF INFO] EventProf enabled (sql.active_record)
unknown OID 2249: failed to recognize type of 'pg_stat_file'. It will be treated as String.
unknown OID 2249: failed to recognize type of 'pg_stat_file'. It will be treated as String.

Test environment set up in 2.741559905 seconds
# [RSpecRunTime] Starting example group spec/services/ci/pipeline_processing/atomic_processing_service_spec.rb. Expected to take 5 minutes 49.22 seconds.

Ci::PipelineProcessing::AtomicProcessingService
  Pipeline Processing Service Tests With Yaml
    test_file_path: "/builds/gitlab-org/gitlab/spec/services/ci/pipeline_processing/test_cases/dag_build2_build1_rules_out_test_needs_build1_with_optional.yml"
rspec_profiling couldn't collect an example: key not found: :seed. Further warnings suppressed.
      follows transitions
    test_file_path: "/builds/gitlab-org/gitlab/spec/services/ci/pipeline_processing/test_cases/dag_build_fails.yml"
      follows transitions
# [RSpecRunTime] RSpec elapsed time: 18.29 seconds. Current RSS: ~1443M. load average: 1.14 0.86 0.42 1/280 485


    test_file_path: "/builds/gitlab-org/gitlab/spec/services/ci/pipeline_processing/test_cases/dag_build_fails_deploy_is_delayed_and_needs_test.yml"
      follows transitions
# [RSpecRunTime] RSpec elapsed time: 21.57 seconds. Current RSS: ~1477M. load average: 1.14 0.86 0.42 1/280 507


    test_file_path: "/builds/gitlab-org/gitlab/spec/services/ci/pipeline_processing/test_cases/dag_build_fails_deploy_is_manual_and_needs_test.yml"
      follows transitions
# [RSpecRunTime] RSpec elapsed time: 24.22 seconds. Current RSS: ~1492M. load average: 1.13 0.87 0.42 1/280 529


    test_file_path: "/builds/gitlab-org/gitlab/spec/services/ci/pipeline_processing/test_cases/dag_build_fails_deploy_needs_test.yml"
      follows transitions
# [RSpecRunTime] RSpec elapsed time: 26.95 seconds. Current RSS: ~1489M. load average: 1.13 0.87 0.42 1/280 551


    test_file_path: "/builds/gitlab-org/gitlab/spec/services/ci/pipeline_processing/test_cases/dag_build_fails_deploy_needs_test_when_always.yml"
      follows transitions
# [RSpecRunTime] RSpec elapsed time: 30.53 seconds. Current RSS: ~1499M. load average: 1.12 0.87 0.42 1/280 573


    test_file_path: "/builds/gitlab-org/gitlab/spec/services/ci/pipeline_processing/test_cases/dag_build_fails_other_build_succeeds_deploy_needs_one_build_and_test.yml"
      follows transitions
# [RSpecRunTime] RSpec elapsed time: 33.85 seconds. Current RSS: ~1485M. load average: 1.11 0.87 0.43 1/280 597


    test_file_path: "/builds/gitlab-org/gitlab/spec/services/ci/pipeline_processing/test_cases/dag_build_fails_other_build_succeeds_deploy_needs_one_build_and_test_when_always.yml"
      follows transitions
# [RSpecRunTime] RSpec elapsed time: 36.72 seconds. Current RSS: ~1490M. load average: 1.11 0.87 0.43 1/280 621


    test_file_path: "/builds/gitlab-org/gitlab/spec/services/ci/pipeline_processing/test_cases/dag_build_fails_test_always.yml"
      follows transitions
# [RSpecRunTime] RSpec elapsed time: 39.02 seconds. Current RSS: ~1496M. load average: 1.10 0.87 0.43 1/280 643


    test_file_path: "/builds/gitlab-org/gitlab/spec/services/ci/pipeline_processing/test_cases/dag_build_fails_test_fails_with_allow_failure.yml"
      follows transitions
# [RSpecRunTime] RSpec elapsed time: 41.75 seconds. Current RSS: ~1490M. load average: 1.10 0.87 0.43 1/280 665


    test_file_path: "/builds/gitlab-org/gitlab/spec/services/ci/pipeline_processing/test_cases/dag_build_fails_test_on_failure.yml"
      follows transitions
# [RSpecRunTime] RSpec elapsed time: 43.89 seconds. Current RSS: ~1497M. load average: 1.09 0.88 0.43 1/280 687


    test_file_path: "/builds/gitlab-org/gitlab/spec/services/ci/pipeline_processing/test_cases/dag_build_fails_test_on_failure_deploy_needs_test.yml"
      follows transitions
# [RSpecRunTime] RSpec elapsed time: 47.88 seconds. Current RSS: ~1495M. load average: 1.09 0.88 0.44 1/280 715


    test_file_path: "/builds/gitlab-org/gitlab/spec/services/ci/pipeline_processing/test_cases/dag_build_fails_test_skips_rollback_on_failure.yml"
      follows transitions
# [RSpecRunTime] RSpec elapsed time: 50.76 seconds. Current RSS: ~1498M. load average: 1.09 0.88 0.44 1/280 737


    test_file_path: "/builds/gitlab-org/gitlab/spec/services/ci/pipeline_processing/test_cases/dag_build_fails_with_allow_failure_test_on_failure.yml"
      follows transitions
# [RSpecRunTime] RSpec elapsed time: 53.64 seconds. Current RSS: ~1495M. load average: 1.16 0.90 0.45 1/280 759


    test_file_path: "/builds/gitlab-org/gitlab/spec/services/ci/pipeline_processing/test_cases/dag_build_rules_out_test_needs_build_with_optional.yml"
      follows transitions
# [RSpecRunTime] RSpec elapsed time: 55.98 seconds. Current RSS: ~1507M. load average: 1.16 0.90 0.45 1/280 779


    test_file_path: "/builds/gitlab-org/gitlab/spec/services/ci/pipeline_processing/test_cases/dag_build_succeds_test_manual_allow_failure_true_deploy_needs_both.yml"
      follows transitions
# [RSpecRunTime] RSpec elapsed time: 58.97 seconds. Current RSS: ~1508M. load average: 1.15 0.90 0.45 1/280 801


    test_file_path: "/builds/gitlab-org/gitlab/spec/services/ci/pipeline_processing/test_cases/dag_build_succeds_test_manual_allow_failure_true_deploy_needs_test.yml"
      follows transitions
# [RSpecRunTime] RSpec elapsed time: 1 minute 2.07 seconds. Current RSS: ~1507M. load average: 1.15 0.90 0.45 1/280 823


    test_file_path: "/builds/gitlab-org/gitlab/spec/services/ci/pipeline_processing/test_cases/dag_build_succeeds_test_on_failure.yml"
      follows transitions
# [RSpecRunTime] RSpec elapsed time: 1 minute 4.88 seconds. Current RSS: ~1508M. load average: 1.13 0.90 0.45 1/280 845


    test_file_path: "/builds/gitlab-org/gitlab/spec/services/ci/pipeline_processing/test_cases/dag_build_succeeds_test_on_failure_deploy_needs_test.yml"
      follows transitions
# [RSpecRunTime] RSpec elapsed time: 1 minute 7.78 seconds. Current RSS: ~1500M. load average: 1.12 0.90 0.46 1/280 867


    test_file_path: "/builds/gitlab-org/gitlab/spec/services/ci/pipeline_processing/test_cases/dag_build_test_manual_review_deploy.yml"
      follows transitions
# [RSpecRunTime] RSpec elapsed time: 1 minute 11.56 seconds. Current RSS: ~1488M. load average: 1.12 0.90 0.46 1/281 891


    test_file_path: "/builds/gitlab-org/gitlab/spec/services/ci/pipeline_processing/test_cases/dag_build_test_two_manual_review_test_staging_production.yml"
      follows transitions
# [RSpecRunTime] RSpec elapsed time: 1 minute 19.04 seconds. Current RSS: ~1467M. load average: 1.10 0.91 0.46 1/281 927


    test_file_path: "/builds/gitlab-org/gitlab/spec/services/ci/pipeline_processing/test_cases/dag_builds_succeed_test_on_failure_deploy_needs_one_build_and_test.yml"
      follows transitions
# [RSpecRunTime] RSpec elapsed time: 1 minute 22.51 seconds. Current RSS: ~1471M. load average: 1.10 0.91 0.46 1/281 949


    test_file_path: "/builds/gitlab-org/gitlab/spec/services/ci/pipeline_processing/test_cases/dag_builds_succeed_test_on_failure_deploy_needs_one_build_and_test_when_always.yml"
      follows transitions
# [RSpecRunTime] RSpec elapsed time: 1 minute 26.54 seconds. Current RSS: ~1482M. load average: 1.10 0.91 0.46 1/282 974


    test_file_path: "/builds/gitlab-org/gitlab/spec/services/ci/pipeline_processing/test_cases/dag_deploy_needs_empty.yml"
      follows transitions
# [RSpecRunTime] RSpec elapsed time: 1 minute 28.07 seconds. Current RSS: ~1489M. load average: 1.09 0.91 0.47 1/282 992


    test_file_path: "/builds/gitlab-org/gitlab/spec/services/ci/pipeline_processing/test_cases/dag_same_stage_with_fail_and_retry_1.yml"
      follows transitions
# [RSpecRunTime] RSpec elapsed time: 1 minute 32.26 seconds. Current RSS: ~1489M. load average: 1.09 0.91 0.47 1/282 1025


    test_file_path: "/builds/gitlab-org/gitlab/spec/services/ci/pipeline_processing/test_cases/dag_same_stage_with_fail_and_retry_2.yml"
      follows transitions
# [RSpecRunTime] RSpec elapsed time: 1 minute 36.39 seconds. Current RSS: ~1492M. load average: 1.08 0.91 0.47 1/282 1058


    test_file_path: "/builds/gitlab-org/gitlab/spec/services/ci/pipeline_processing/test_cases/dag_same_stage_with_subsequent_manual_jobs.yml"
      follows transitions
# [RSpecRunTime] RSpec elapsed time: 1 minute 40.93 seconds. Current RSS: ~1480M. load average: 1.15 0.93 0.48 1/282 1086


    test_file_path: "/builds/gitlab-org/gitlab/spec/services/ci/pipeline_processing/test_cases/dag_same_stages.yml"
      follows transitions
# [RSpecRunTime] RSpec elapsed time: 1 minute 43.71 seconds. Current RSS: ~1482M. load average: 1.22 0.95 0.49 1/282 1112


    test_file_path: "/builds/gitlab-org/gitlab/spec/services/ci/pipeline_processing/test_cases/dag_test_fails_with_allow_failure.yml"
      follows transitions
# [RSpecRunTime] RSpec elapsed time: 1 minute 46.64 seconds. Current RSS: ~1505M. load average: 1.22 0.95 0.49 1/282 1136


    test_file_path: "/builds/gitlab-org/gitlab/spec/services/ci/pipeline_processing/test_cases/dag_test_manual_allow_failure_false.yml"
      follows transitions
# [RSpecRunTime] RSpec elapsed time: 1 minute 50.61 seconds. Current RSS: ~1471M. load average: 1.20 0.95 0.49 1/282 1165


    test_file_path: "/builds/gitlab-org/gitlab/spec/services/ci/pipeline_processing/test_cases/dag_test_manual_allow_failure_false_deploy_always.yml"
      follows transitions
# [RSpecRunTime] RSpec elapsed time: 1 minute 53.54 seconds. Current RSS: ~1466M. load average: 1.19 0.95 0.49 1/282 1189


    test_file_path: "/builds/gitlab-org/gitlab/spec/services/ci/pipeline_processing/test_cases/dag_test_manual_allow_failure_false_deploy_on_failure.yml"
      follows transitions
# [RSpecRunTime] RSpec elapsed time: 1 minute 56.36 seconds. Current RSS: ~1481M. load average: 1.19 0.95 0.49 1/282 1213


    test_file_path: "/builds/gitlab-org/gitlab/spec/services/ci/pipeline_processing/test_cases/dag_test_manual_allow_failure_false_other_test_succeeds_deploy_needs_both.yml"
      follows transitions
# [RSpecRunTime] RSpec elapsed time: 1 minute 58.53 seconds. Current RSS: ~1482M. load average: 1.17 0.95 0.50 1/282 1233


    test_file_path: "/builds/gitlab-org/gitlab/spec/services/ci/pipeline_processing/test_cases/dag_test_manual_allow_failure_true_deploy_always.yml"
      follows transitions
# [RSpecRunTime] RSpec elapsed time: 2 minutes 0.04 second. Current RSS: ~1501M. load average: 1.17 0.95 0.50 1/282 1251


    test_file_path: "/builds/gitlab-org/gitlab/spec/services/ci/pipeline_processing/test_cases/dag_test_manual_allow_failure_true_deploy_on_failure.yml"
      follows transitions
# [RSpecRunTime] RSpec elapsed time: 2 minutes 3.81 seconds. Current RSS: ~1506M. load average: 1.16 0.95 0.50 1/282 1275


    test_file_path: "/builds/gitlab-org/gitlab/spec/services/ci/pipeline_processing/test_cases/dag_test_manual_allow_failure_true_fails.yml"
      follows transitions
# [RSpecRunTime] RSpec elapsed time: 2 minutes 8.25 seconds. Current RSS: ~1491M. load average: 1.14 0.95 0.50 1/282 1304


    test_file_path: "/builds/gitlab-org/gitlab/spec/services/ci/pipeline_processing/test_cases/dag_test_manual_allow_failure_true_other_test_succeeds_deploy_needs_both.yml"
      follows transitions
# [RSpecRunTime] RSpec elapsed time: 2 minutes 10.93 seconds. Current RSS: ~1476M. load average: 1.14 0.95 0.50 1/282 1324


    test_file_path: "/builds/gitlab-org/gitlab/spec/services/ci/pipeline_processing/test_cases/dag_test_manual_allow_failure_true_succeeds.yml"
      follows transitions
# [RSpecRunTime] RSpec elapsed time: 2 minutes 15.33 seconds. Current RSS: ~1475M. load average: 1.13 0.95 0.50 1/282 1353


    test_file_path: "/builds/gitlab-org/gitlab/spec/services/ci/pipeline_processing/test_cases/dag_test_manual_post_test_needs_deploy_is_stage.yml"
      follows transitions
# [RSpecRunTime] RSpec elapsed time: 2 minutes 17.72 seconds. Current RSS: ~1472M. load average: 1.13 0.95 0.50 1/282 1375


    test_file_path: "/builds/gitlab-org/gitlab/spec/services/ci/pipeline_processing/test_cases/dag_test_manual_same_and_different_stage_needs.yml"
      follows transitions
# [RSpecRunTime] RSpec elapsed time: 2 minutes 20.39 seconds. Current RSS: ~1474M. load average: 1.12 0.96 0.51 1/282 1395


    test_file_path: "/builds/gitlab-org/gitlab/spec/services/ci/pipeline_processing/test_cases/dag_test_manual_same_stage_needs.yml"
      follows transitions
# [RSpecRunTime] RSpec elapsed time: 2 minutes 24.15 seconds. Current RSS: ~1478M. load average: 1.19 0.97 0.52 1/282 1419


    test_file_path: "/builds/gitlab-org/gitlab/spec/services/ci/pipeline_processing/test_cases/dag_test_on_failure_no_needs.yml"
      follows transitions
# [RSpecRunTime] RSpec elapsed time: 2 minutes 26.51 seconds. Current RSS: ~1477M. load average: 1.19 0.97 0.52 1/282 1439


    test_file_path: "/builds/gitlab-org/gitlab/spec/services/ci/pipeline_processing/test_cases/stage_build_cancels_test1_and_test2_have_when.yml"
      follows transitions
# [RSpecRunTime] RSpec elapsed time: 2 minutes 29.08 seconds. Current RSS: ~1480M. load average: 1.18 0.97 0.52 1/282 1461


    test_file_path: "/builds/gitlab-org/gitlab/spec/services/ci/pipeline_processing/test_cases/stage_build_cancels_with_allow_failure_test1_and_test2_have_when.yml"
      follows transitions
# [RSpecRunTime] RSpec elapsed time: 2 minutes 31.23 seconds. Current RSS: ~1484M. load average: 1.18 0.97 0.52 1/282 1483


    test_file_path: "/builds/gitlab-org/gitlab/spec/services/ci/pipeline_processing/test_cases/stage_build_fails.yml"
      follows transitions
# [RSpecRunTime] RSpec elapsed time: 2 minutes 33.83 seconds. Current RSS: ~1486M. load average: 1.16 0.97 0.52 1/282 1505


    test_file_path: "/builds/gitlab-org/gitlab/spec/services/ci/pipeline_processing/test_cases/stage_build_fails_test_on_failure.yml"
      follows transitions
# [RSpecRunTime] RSpec elapsed time: 2 minutes 37.2 seconds. Current RSS: ~1479M. load average: 1.16 0.97 0.52 1/282 1531


    test_file_path: "/builds/gitlab-org/gitlab/spec/services/ci/pipeline_processing/test_cases/stage_build_fails_with_allow_failure_test_on_failure.yml"
      follows transitions
# [RSpecRunTime] RSpec elapsed time: 2 minutes 40.19 seconds. Current RSS: ~1483M. load average: 1.15 0.97 0.52 1/282 1555


    test_file_path: "/builds/gitlab-org/gitlab/spec/services/ci/pipeline_processing/test_cases/stage_build_succeeds_test_manual_allow_failure_true.yml"
      follows transitions
# [RSpecRunTime] RSpec elapsed time: 2 minutes 42.88 seconds. Current RSS: ~1474M. load average: 1.22 0.99 0.53 1/282 1577


    test_file_path: "/builds/gitlab-org/gitlab/spec/services/ci/pipeline_processing/test_cases/stage_build_succeeds_test_on_failure.yml"
      follows transitions
# [RSpecRunTime] RSpec elapsed time: 2 minutes 46.22 seconds. Current RSS: ~1474M. load average: 1.22 0.99 0.53 1/282 1601


    test_file_path: "/builds/gitlab-org/gitlab/spec/services/ci/pipeline_processing/test_cases/stage_build_test_manual_review_deploy.yml"
      follows transitions
# [RSpecRunTime] RSpec elapsed time: 2 minutes 49.62 seconds. Current RSS: ~1473M. load average: 1.20 0.99 0.54 1/282 1627


    test_file_path: "/builds/gitlab-org/gitlab/spec/services/ci/pipeline_processing/test_cases/stage_one_test_succeeds_one_manual_test_fails_and_retry_manual_build.yml"
      follows transitions
# [RSpecRunTime] RSpec elapsed time: 2 minutes 54.4 seconds. Current RSS: ~1467M. load average: 1.18 0.99 0.54 1/282 1656


    test_file_path: "/builds/gitlab-org/gitlab/spec/services/ci/pipeline_processing/test_cases/stage_one_test_succeeds_one_manual_test_fails_and_retry_pipeline.yml"
      follows transitions
# [RSpecRunTime] RSpec elapsed time: 2 minutes 59.27 seconds. Current RSS: ~1442M. load average: 1.17 0.99 0.54 1/282 1683


    test_file_path: "/builds/gitlab-org/gitlab/spec/services/ci/pipeline_processing/test_cases/stage_test_manual_allow_failure_false.yml"
      follows transitions
# [RSpecRunTime] RSpec elapsed time: 3 minutes 3.32 seconds. Current RSS: ~1450M. load average: 1.16 0.99 0.54 1/282 1712


    test_file_path: "/builds/gitlab-org/gitlab/spec/services/ci/pipeline_processing/test_cases/stage_test_manual_allow_failure_true.yml"
      follows transitions
# [RSpecRunTime] RSpec elapsed time: 3 minutes 7.5 seconds. Current RSS: ~1453M. load average: 1.16 0.99 0.54 1/282 1736


    test_file_path: "/builds/gitlab-org/gitlab/spec/services/ci/pipeline_processing/test_cases/stage_test_manual_allow_failure_true_deploy_always.yml"
      follows transitions
# [RSpecRunTime] RSpec elapsed time: 3 minutes 9.0 seconds. Current RSS: ~1460M. load average: 1.14 0.99 0.55 1/282 1754


    test_file_path: "/builds/gitlab-org/gitlab/spec/services/ci/pipeline_processing/test_cases/stage_test_manual_allow_failure_true_deploy_on_failure.yml"
      follows transitions
# [RSpecRunTime] RSpec elapsed time: 3 minutes 12.74 seconds. Current RSS: ~1469M. load average: 1.14 0.99 0.55 1/282 1778


    test_file_path: "/builds/gitlab-org/gitlab/spec/services/ci/pipeline_processing/test_cases/stage_test_on_failure_no_prev_stage.yml"
      follows transitions
# [RSpecRunTime] RSpec elapsed time: 3 minutes 15.17 seconds. Current RSS: ~1468M. load average: 1.13 1.00 0.55 1/282 1798


  Pipeline Processing Service
    when simple pipeline is defined
      processes a pipeline
      does not process pipeline if existing stage is running
# [RSpecRunTime] RSpec elapsed time: 3 minutes 21.85 seconds. Current RSS: ~1488M. load average: 1.12 1.00 0.55 1/283 1849


    custom stage with first job allowed to fail
      automatically triggers a next stage when build finishes
# [RSpecRunTime] RSpec elapsed time: 3 minutes 25.22 seconds. Current RSS: ~1486M. load average: 1.11 1.00 0.56 1/283 1874


    when optional manual actions are defined
      when builds are successful
        properly processes the pipeline
# [RSpecRunTime] RSpec elapsed time: 3 minutes 30.41 seconds. Current RSS: ~1477M. load average: 1.10 1.00 0.56 1/283 1907


      when test job fails
        properly processes the pipeline
# [RSpecRunTime] RSpec elapsed time: 3 minutes 35.61 seconds. Current RSS: ~1456M. load average: 1.09 1.00 0.56 1/283 1940


      when test and test_failure jobs fail
        properly processes the pipeline
# [RSpecRunTime] RSpec elapsed time: 3 minutes 40.79 seconds. Current RSS: ~1461M. load average: 1.08 1.00 0.56 1/284 1973


      when deploy job fails
        properly processes the pipeline
# [RSpecRunTime] RSpec elapsed time: 3 minutes 45.93 seconds. Current RSS: ~1460M. load average: 1.16 1.01 0.57 1/284 2006


      when build is canceled in the second stage
        does not schedule builds after build has been canceled
# [RSpecRunTime] RSpec elapsed time: 3 minutes 49.94 seconds. Current RSS: ~1463M. load average: 1.15 1.01 0.57 1/284 2033


      when listing optional manual actions
        returns only for skipped builds
# [RSpecRunTime] RSpec elapsed time: 3 minutes 54.11 seconds. Current RSS: ~1455M. load average: 1.13 1.01 0.58 1/284 2063


    when delayed jobs are defined
      when the scene is timed incremental rollout
        when builds are successful
          properly processes the pipeline
# [RSpecRunTime] RSpec elapsed time: 4 minutes 0.04 second. Current RSS: ~1453M. load average: 1.12 1.01 0.58 1/284 2100


        when build job fails
          properly processes the pipeline
# [RSpecRunTime] RSpec elapsed time: 4 minutes 3.16 seconds. Current RSS: ~1468M. load average: 1.11 1.01 0.58 1/284 2123


        when rollout 10% is unscheduled
          properly processes the pipeline
          when user plays rollout 10%
            schedules rollout100%
# [RSpecRunTime] RSpec elapsed time: 4 minutes 10.28 seconds. Current RSS: ~1494M. load average: 1.18 1.03 0.59 1/284 2178


        when rollout 10% fails
          properly processes the pipeline
          when user retries rollout 10%
            does not schedule rollout10% again
# [RSpecRunTime] RSpec elapsed time: 4 minutes 19.59 seconds. Current RSS: ~1457M. load average: 1.24 1.05 0.60 1/284 2249


        when rollout 10% is played immidiately
          properly processes the pipeline
# [RSpecRunTime] RSpec elapsed time: 4 minutes 22.75 seconds. Current RSS: ~1464M. load average: 1.24 1.05 0.60 1/284 2274


      when only one scheduled job exists in a pipeline
        properly processes the pipeline
# [RSpecRunTime] RSpec elapsed time: 4 minutes 24.45 seconds. Current RSS: ~1474M. load average: 1.22 1.04 0.60 1/284 2294


      when there are two delayed jobs in a stage
        blocks the stage until all scheduled jobs finished
# [RSpecRunTime] RSpec elapsed time: 4 minutes 26.63 seconds. Current RSS: ~1492M. load average: 1.22 1.04 0.60 1/284 2316


      when a delayed job is allowed to fail
        blocks the stage and continues after it failed
# [RSpecRunTime] RSpec elapsed time: 4 minutes 29.26 seconds. Current RSS: ~1486M. load average: 1.20 1.04 0.60 1/284 2342


    when an exception is raised during a persistent ref creation
      process the pipeline
# [RSpecRunTime] RSpec elapsed time: 4 minutes 30.87 seconds. Current RSS: ~1488M. load average: 1.20 1.04 0.60 1/284 2363


    when there are manual action in earlier stages
      when first stage has only optional manual actions
        starts from the second stage
# [RSpecRunTime] RSpec elapsed time: 4 minutes 32.47 seconds. Current RSS: ~1501M. load average: 1.20 1.04 0.60 1/284 2381


      when second stage has only optional manual actions
        skips second stage and continues on third stage
# [RSpecRunTime] RSpec elapsed time: 4 minutes 34.93 seconds. Current RSS: ~1512M. load average: 1.18 1.04 0.61 1/284 2403


    when there are only manual actions in stages
      processes all jobs until blocking actions encountered
# [RSpecRunTime] RSpec elapsed time: 4 minutes 36.74 seconds. Current RSS: ~1508M. load average: 1.18 1.04 0.61 1/284 2424


    when there is only one manual action
      skips the pipeline
      when the action was played
        queues the action and pipeline
# [RSpecRunTime] RSpec elapsed time: 4 minutes 40.65 seconds. Current RSS: ~1517M. load average: 1.25 1.06 0.61 1/284 2467


    when blocking manual actions are defined
      when first stage succeeds
        blocks pipeline on stage with first manual action
# [RSpecRunTime] RSpec elapsed time: 4 minutes 44.5 seconds. Current RSS: ~1505M. load average: 1.23 1.06 0.62 1/284 2490


      when first stage fails
        does not take blocking action into account
# [RSpecRunTime] RSpec elapsed time: 4 minutes 48.13 seconds. Current RSS: ~1511M. load average: 1.21 1.06 0.62 1/284 2515


      when pipeline is promoted sequentially up to the end
        properly processes entire pipeline
# [RSpecRunTime] RSpec elapsed time: 4 minutes 55.1 seconds. Current RSS: ~1499M. load average: 1.11 1.04 0.61 1/284 2556


    when second stage has only on_failure jobs
      skips second stage and continues on third stage
# [RSpecRunTime] RSpec elapsed time: 4 minutes 57.66 seconds. Current RSS: ~1505M. load average: 1.11 1.04 0.61 1/284 2578


    when failed build in the middle stage is retried
      when failed build is the only unsuccessful build in the stage
        does trigger builds in the next stage
# [RSpecRunTime] RSpec elapsed time: 5 minutes 3.88 seconds. Current RSS: ~1512M. load average: 1.10 1.04 0.62 1/284 2627


    when builds with auto-retries are configured
      automatically retries builds in a valid order
# [RSpecRunTime] RSpec elapsed time: 5 minutes 8.35 seconds. Current RSS: ~1498M. load average: 1.09 1.04 0.62 1/284 2660


    when pipeline with needs is created
      when linux:* finishes first it runs it out of order
      when one of the jobs is run on a failure
        when another job in build phase fails first
          does skip linux:notify
# [RSpecRunTime] RSpec elapsed time: 5 minutes 17.27 seconds. Current RSS: ~1498M. load average: 1.08 1.04 0.62 1/282 2721


        when linux:build job fails first
          does run linux:notify
# [RSpecRunTime] RSpec elapsed time: 5 minutes 20.1 seconds. Current RSS: ~1507M. load average: 1.07 1.03 0.63 1/282 2743


      when there is a job scheduled with dag but no need (needs: [])
        runs deploy_pages without waiting prior stages
# [RSpecRunTime] RSpec elapsed time: 5 minutes 25.83 seconds. Current RSS: ~1492M. load average: 1.15 1.05 0.63 1/282 2781


    when a needed job is skipped
      skips the jobs depending on it
# [RSpecRunTime] RSpec elapsed time: 5 minutes 28.79 seconds. Current RSS: ~1497M. load average: 1.14 1.05 0.64 1/282 2804


    when a needed job is manual
      makes deploy DAG to be skipped
# [RSpecRunTime] RSpec elapsed time: 5 minutes 30.85 seconds. Current RSS: ~1501M. load average: 1.14 1.05 0.64 1/282 2825


    when jobs change from stopped to alive status during pipeline processing
      runs ResetSkippedJobsService on the new alive jobs and logs event (FAILED - 1)
      logs event
      when the new alive jobs belong to different users
        runs ResetSkippedJobsService on the new alive jobs (FAILED - 2)
        assigns the correct user to the dependent jobs
        logs event
# [RSpecRunTime] RSpec elapsed time: 5 minutes 43.99 seconds. Current RSS: ~1549M. load average: 1.10 1.05 0.64 1/282 2949


    when a bridge job has parallel:matrix config
      creates pipeline with bridges, then passes the matrix variables to downstream jobs
# [RSpecRunTime] RSpec elapsed time: 5 minutes 50.48 seconds. Current RSS: ~1537M. load average: 1.02 1.03 0.64 1/283 3069


    when a bridge job has invalid downstream project
      creates a pipeline, then fails the bridge job
# [RSpecRunTime] RSpec elapsed time: 5 minutes 54.28 seconds. Current RSS: ~1514M. load average: 1.09 1.05 0.65 1/283 3103


    when the dependency is stage-independent
      processes subsequent jobs in the correct order when playing first job
# [RSpecRunTime] RSpec elapsed time: 5 minutes 57.81 seconds. Current RSS: ~1516M. load average: 1.09 1.04 0.65 1/283 3139


    when the exclusive lease is taken
      skips pipeline processing
# [RSpecRunTime] RSpec elapsed time: 5 minutes 59.02 seconds. Current RSS: ~1538M. load average: 1.09 1.04 0.65 1/283 3150


    deployments creation
      creates deployment records for the deploy jobs
# [RSpecRunTime] RSpec elapsed time: 6 minutes 4.53 seconds. Current RSS: ~1525M. load average: 1.08 1.04 0.65 1/283 3228



# [RSpecRunTime] Finishing example group spec/services/ci/pipeline_processing/atomic_processing_service_spec.rb. It took 5 minutes 59.63 seconds. Expected to take 5 minutes 49.22 seconds.
# [RSpecRunTime] RSpec elapsed time: 6 minutes 5.77 seconds. Current RSS: ~1523M. load average: 1.08 1.04 0.65 1/283 3229


# [RSpecRunTime] Starting example group spec/rubocop/cop/rspec/feature_category_spec.rb. Expected to take 3 minutes 15.65 seconds.

RuboCop::Cop::RSpec::FeatureCategory
  flags invalid feature category for non-symbols
  flags missing feature category in top level example group
  does not flag use of invalid categories in non-example code
  with defined in config/feature_categories.yml and custom categories
    valid_category: "acquisition"
      behaves like feature category validation
        flags invalid feature category in top level example group
        flags invalid feature category in nested context
        flags invalid feature category in examples
        does not flag if feature category is valid
        suggests an alternative
# [RSpecRunTime] RSpec elapsed time: 6 minutes 9.68 seconds. Current RSS: ~1697M. load average: 1.07 1.04 0.65 1/283 3254


    valid_category: "activation"
      behaves like feature category validation
        flags invalid feature category in top level example group
        flags invalid feature category in nested context
        flags invalid feature category in examples
        does not flag if feature category is valid
        suggests an alternative
# [RSpecRunTime] RSpec elapsed time: 6 minutes 11.95 seconds. Current RSS: ~1768M. load average: 1.07 1.04 0.65 1/283 3270


    valid_category: "advisory_database"
      behaves like feature category validation
        flags invalid feature category in top level example group
        flags invalid feature category in nested context
        flags invalid feature category in examples
        does not flag if feature category is valid
        suggests an alternative
# [RSpecRunTime] RSpec elapsed time: 6 minutes 15.38 seconds. Current RSS: ~1864M. load average: 1.07 1.04 0.65 1/278 3286


    valid_category: "ai_abstraction_layer"
      behaves like feature category validation
        flags invalid feature category in top level example group
        flags invalid feature category in nested context
        flags invalid feature category in examples
        does not flag if feature category is valid
        suggests an alternative
# [RSpecRunTime] RSpec elapsed time: 6 minutes 17.62 seconds. Current RSS: ~1884M. load average: 1.07 1.04 0.65 1/278 3302


    valid_category: "ai_evaluation"
      behaves like feature category validation
        flags invalid feature category in top level example group
        flags invalid feature category in nested context
        flags invalid feature category in examples
        does not flag if feature category is valid
        suggests an alternative
# [RSpecRunTime] RSpec elapsed time: 6 minutes 19.95 seconds. Current RSS: ~1908M. load average: 1.06 1.04 0.66 1/278 3318


    valid_category: "ai_research"
      behaves like feature category validation
        flags invalid feature category in top level example group
        flags invalid feature category in nested context
        flags invalid feature category in examples
        does not flag if feature category is valid
        suggests an alternative
# [RSpecRunTime] RSpec elapsed time: 6 minutes 22.21 seconds. Current RSS: ~1924M. load average: 1.06 1.04 0.66 1/278 3334


    valid_category: "api"
      behaves like feature category validation
        flags invalid feature category in top level example group
        flags invalid feature category in nested context
        flags invalid feature category in examples
        does not flag if feature category is valid
        suggests an alternative
# [RSpecRunTime] RSpec elapsed time: 6 minutes 24.5 seconds. Current RSS: ~1929M. load average: 1.06 1.04 0.66 1/278 3350


    valid_category: "api_security"
      behaves like feature category validation
        flags invalid feature category in top level example group
        flags invalid feature category in nested context
        flags invalid feature category in examples
        does not flag if feature category is valid
        suggests an alternative
# [RSpecRunTime] RSpec elapsed time: 6 minutes 26.81 seconds. Current RSS: ~1932M. load average: 1.06 1.04 0.66 1/278 3366


    valid_category: "application_instrumentation"
      behaves like feature category validation
        flags invalid feature category in top level example group
        flags invalid feature category in nested context
        flags invalid feature category in examples
        does not flag if feature category is valid
        suggests an alternative
# [RSpecRunTime] RSpec elapsed time: 6 minutes 29.13 seconds. Current RSS: ~1926M. load average: 1.05 1.04 0.66 1/278 3382


    valid_category: "attack_emulation"
      behaves like feature category validation
        flags invalid feature category in top level example group
        flags invalid feature category in nested context
        flags invalid feature category in examples
        does not flag if feature category is valid
        suggests an alternative
# [RSpecRunTime] RSpec elapsed time: 6 minutes 31.56 seconds. Current RSS: ~1924M. load average: 1.05 1.04 0.66 1/278 3398


    valid_category: "audit_events"
      behaves like feature category validation
        flags invalid feature category in top level example group
        flags invalid feature category in nested context
        flags invalid feature category in examples
        does not flag if feature category is valid
        suggests an alternative
# [RSpecRunTime] RSpec elapsed time: 6 minutes 33.87 seconds. Current RSS: ~1922M. load average: 1.05 1.04 0.66 1/278 3414


    valid_category: "auto_devops"
      behaves like feature category validation
        flags invalid feature category in top level example group
        flags invalid feature category in nested context
        flags invalid feature category in examples
        does not flag if feature category is valid
        suggests an alternative
# [RSpecRunTime] RSpec elapsed time: 6 minutes 36.19 seconds. Current RSS: ~1918M. load average: 1.05 1.04 0.66 1/278 3430


    valid_category: "backup_restore"
      behaves like feature category validation
        flags invalid feature category in top level example group
        flags invalid feature category in nested context
        flags invalid feature category in examples
        does not flag if feature category is valid
        suggests an alternative
# [RSpecRunTime] RSpec elapsed time: 6 minutes 38.47 seconds. Current RSS: ~1917M. load average: 1.04 1.04 0.66 1/278 3446


    valid_category: "build"
      behaves like feature category validation
        flags invalid feature category in top level example group
        flags invalid feature category in nested context
        flags invalid feature category in examples
        does not flag if feature category is valid
        suggests an alternative
# [RSpecRunTime] RSpec elapsed time: 6 minutes 40.86 seconds. Current RSS: ~1914M. load average: 1.04 1.04 0.66 1/278 3462


    valid_category: "build_artifacts"
      behaves like feature category validation
        flags invalid feature category in top level example group
        flags invalid feature category in nested context
        flags invalid feature category in examples
        does not flag if feature category is valid
        suggests an alternative
# [RSpecRunTime] RSpec elapsed time: 6 minutes 43.11 seconds. Current RSS: ~1912M. load average: 1.04 1.04 0.67 1/278 3478


    valid_category: "capacity_planning"
      behaves like feature category validation
        flags invalid feature category in top level example group
        flags invalid feature category in nested context
        flags invalid feature category in examples
        does not flag if feature category is valid
        suggests an alternative
# [RSpecRunTime] RSpec elapsed time: 6 minutes 45.5 seconds. Current RSS: ~1909M. load average: 1.04 1.04 0.67 1/279 3494


    valid_category: "cell"
      behaves like feature category validation
        flags invalid feature category in top level example group
        flags invalid feature category in nested context
        flags invalid feature category in examples
        does not flag if feature category is valid
        suggests an alternative
# [RSpecRunTime] RSpec elapsed time: 6 minutes 47.79 seconds. Current RSS: ~1908M. load average: 1.04 1.03 0.67 1/279 3510


    valid_category: "cloud_connector"
      behaves like feature category validation
        flags invalid feature category in top level example group
        flags invalid feature category in nested context
        flags invalid feature category in examples
        does not flag if feature category is valid
        suggests an alternative
# [RSpecRunTime] RSpec elapsed time: 6 minutes 50.06 seconds. Current RSS: ~1907M. load average: 1.04 1.03 0.67 1/279 3526


    valid_category: "cloud_native_installation"
      behaves like feature category validation
        flags invalid feature category in top level example group
        flags invalid feature category in nested context
        flags invalid feature category in examples
        does not flag if feature category is valid
        suggests an alternative
# [RSpecRunTime] RSpec elapsed time: 6 minutes 52.34 seconds. Current RSS: ~1905M. load average: 1.04 1.03 0.67 1/279 3542


    valid_category: "code_quality"
      behaves like feature category validation
        flags invalid feature category in top level example group
        flags invalid feature category in nested context
        flags invalid feature category in examples
        does not flag if feature category is valid
        suggests an alternative
# [RSpecRunTime] RSpec elapsed time: 6 minutes 54.65 seconds. Current RSS: ~1906M. load average: 1.03 1.03 0.67 1/279 3558


    valid_category: "code_review_workflow"
      behaves like feature category validation
        flags invalid feature category in top level example group
        flags invalid feature category in nested context
        flags invalid feature category in examples
        does not flag if feature category is valid
        suggests an alternative
# [RSpecRunTime] RSpec elapsed time: 6 minutes 56.97 seconds. Current RSS: ~1904M. load average: 1.03 1.03 0.67 2/279 3574


    valid_category: "code_search"
      behaves like feature category validation
        flags invalid feature category in top level example group
        flags invalid feature category in nested context
        flags invalid feature category in examples
        does not flag if feature category is valid
        suggests an alternative
# [RSpecRunTime] RSpec elapsed time: 6 minutes 59.23 seconds. Current RSS: ~1904M. load average: 1.03 1.03 0.67 1/279 3590


    valid_category: "code_suggestions"
      behaves like feature category validation
        flags invalid feature category in top level example group
        flags invalid feature category in nested context
        flags invalid feature category in examples
        does not flag if feature category is valid
        suggests an alternative
# [RSpecRunTime] RSpec elapsed time: 7 minutes 1.66 seconds. Current RSS: ~1901M. load average: 1.03 1.03 0.67 1/279 3606


    valid_category: "code_testing"
      behaves like feature category validation
        flags invalid feature category in top level example group
        flags invalid feature category in nested context
        flags invalid feature category in examples
        does not flag if feature category is valid
        suggests an alternative
# [RSpecRunTime] RSpec elapsed time: 7 minutes 3.99 seconds. Current RSS: ~1904M. load average: 1.03 1.03 0.67 1/279 3622


    valid_category: "commerce_integrations"
      behaves like feature category validation
        flags invalid feature category in top level example group
        flags invalid feature category in nested context
        flags invalid feature category in examples
        does not flag if feature category is valid
        suggests an alternative
# [RSpecRunTime] RSpec elapsed time: 7 minutes 6.3 seconds. Current RSS: ~1919M. load average: 1.03 1.03 0.67 1/279 3638


    valid_category: "compliance_management"
      behaves like feature category validation
        flags invalid feature category in top level example group
        flags invalid feature category in nested context
        flags invalid feature category in examples
        does not flag if feature category is valid
        suggests an alternative
# [RSpecRunTime] RSpec elapsed time: 7 minutes 8.7 seconds. Current RSS: ~1920M. load average: 1.02 1.03 0.68 1/279 3654


    valid_category: "consumables_cost_management"
      behaves like feature category validation
        flags invalid feature category in top level example group
        flags invalid feature category in nested context
        flags invalid feature category in examples
        does not flag if feature category is valid
        suggests an alternative
# [RSpecRunTime] RSpec elapsed time: 7 minutes 11.01 seconds. Current RSS: ~1915M. load average: 1.02 1.03 0.68 1/279 3670


    valid_category: "container_registry"
      behaves like feature category validation
        flags invalid feature category in top level example group
        flags invalid feature category in nested context
        flags invalid feature category in examples
        does not flag if feature category is valid
        suggests an alternative
# [RSpecRunTime] RSpec elapsed time: 7 minutes 13.39 seconds. Current RSS: ~1915M. load average: 1.02 1.03 0.68 1/279 3686


    valid_category: "container_scanning"
      behaves like feature category validation
        flags invalid feature category in top level example group
        flags invalid feature category in nested context
        flags invalid feature category in examples
        does not flag if feature category is valid
        suggests an alternative
# [RSpecRunTime] RSpec elapsed time: 7 minutes 15.7 seconds. Current RSS: ~1911M. load average: 1.02 1.03 0.68 1/279 3702


    valid_category: "continuous_delivery"
      behaves like feature category validation
        flags invalid feature category in top level example group
        flags invalid feature category in nested context
        flags invalid feature category in examples
        does not flag if feature category is valid
        suggests an alternative
# [RSpecRunTime] RSpec elapsed time: 7 minutes 18.16 seconds. Current RSS: ~1921M. load average: 1.02 1.03 0.68 1/279 3718


    valid_category: "continuous_integration"
      behaves like feature category validation
        flags invalid feature category in top level example group
        flags invalid feature category in nested context
        flags invalid feature category in examples
        does not flag if feature category is valid
        suggests an alternative
# [RSpecRunTime] RSpec elapsed time: 7 minutes 20.55 seconds. Current RSS: ~1922M. load average: 1.02 1.03 0.68 1/279 3734


    valid_category: "customersdot_application"
      behaves like feature category validation
        flags invalid feature category in top level example group
        flags invalid feature category in nested context
        flags invalid feature category in examples
        does not flag if feature category is valid
        suggests an alternative
# [RSpecRunTime] RSpec elapsed time: 7 minutes 22.9 seconds. Current RSS: ~1919M. load average: 1.02 1.03 0.68 1/279 3750


    valid_category: "database"
      behaves like feature category validation
        flags invalid feature category in top level example group
        flags invalid feature category in nested context
        flags invalid feature category in examples
        does not flag if feature category is valid
        suggests an alternative
# [RSpecRunTime] RSpec elapsed time: 7 minutes 25.29 seconds. Current RSS: ~1921M. load average: 1.02 1.03 0.68 1/279 3766


    valid_category: "dataops"
      behaves like feature category validation
        flags invalid feature category in top level example group
        flags invalid feature category in nested context
        flags invalid feature category in examples
        does not flag if feature category is valid
        suggests an alternative
# [RSpecRunTime] RSpec elapsed time: 7 minutes 27.6 seconds. Current RSS: ~1925M. load average: 1.02 1.03 0.68 1/279 3782


    valid_category: "dedicated"
      behaves like feature category validation
        flags invalid feature category in top level example group
        flags invalid feature category in nested context
        flags invalid feature category in examples
        does not flag if feature category is valid
        suggests an alternative
# [RSpecRunTime] RSpec elapsed time: 7 minutes 29.97 seconds. Current RSS: ~1922M. load average: 1.02 1.03 0.68 1/279 3798


    valid_category: "delivery"
      behaves like feature category validation
        flags invalid feature category in top level example group
        flags invalid feature category in nested context
        flags invalid feature category in examples
        does not flag if feature category is valid
        suggests an alternative
# [RSpecRunTime] RSpec elapsed time: 7 minutes 32.33 seconds. Current RSS: ~1918M. load average: 1.02 1.03 0.68 1/279 3814


    valid_category: "dependency_firewall"
      behaves like feature category validation
        flags invalid feature category in top level example group
        flags invalid feature category in nested context
        flags invalid feature category in examples
        does not flag if feature category is valid
        suggests an alternative
# [RSpecRunTime] RSpec elapsed time: 7 minutes 34.67 seconds. Current RSS: ~1920M. load average: 1.02 1.03 0.69 1/279 3830


    valid_category: "dependency_management"
      behaves like feature category validation
        flags invalid feature category in top level example group
        flags invalid feature category in nested context
        flags invalid feature category in examples
        does not flag if feature category is valid
        suggests an alternative
# [RSpecRunTime] RSpec elapsed time: 7 minutes 37.04 seconds. Current RSS: ~1917M. load average: 1.02 1.03 0.69 1/279 3846


    valid_category: "dependency_proxy"
      behaves like feature category validation
        flags invalid feature category in top level example group
        flags invalid feature category in nested context
        flags invalid feature category in examples
        does not flag if feature category is valid
        suggests an alternative
# [RSpecRunTime] RSpec elapsed time: 7 minutes 39.41 seconds. Current RSS: ~1915M. load average: 1.01 1.03 0.69 1/279 3862


    valid_category: "deployment_management"
      behaves like feature category validation
        flags invalid feature category in top level example group
        flags invalid feature category in nested context
        flags invalid feature category in examples
        does not flag if feature category is valid
        suggests an alternative
# [RSpecRunTime] RSpec elapsed time: 7 minutes 41.82 seconds. Current RSS: ~1918M. load average: 1.01 1.03 0.69 1/279 3878


    valid_category: "design_management"
      behaves like feature category validation
        flags invalid feature category in top level example group
        flags invalid feature category in nested context
        flags invalid feature category in examples
        does not flag if feature category is valid
        suggests an alternative
# [RSpecRunTime] RSpec elapsed time: 7 minutes 44.25 seconds. Current RSS: ~1917M. load average: 1.01 1.03 0.69 1/279 3894


    valid_category: "design_system"
      behaves like feature category validation
        flags invalid feature category in top level example group
        flags invalid feature category in nested context
        flags invalid feature category in examples
        does not flag if feature category is valid
        suggests an alternative
# [RSpecRunTime] RSpec elapsed time: 7 minutes 46.59 seconds. Current RSS: ~1914M. load average: 1.01 1.03 0.69 1/279 3910


    valid_category: "devops_reports"
      behaves like feature category validation
        flags invalid feature category in top level example group
        flags invalid feature category in nested context
        flags invalid feature category in examples
        does not flag if feature category is valid
        suggests an alternative
# [RSpecRunTime] RSpec elapsed time: 7 minutes 48.95 seconds. Current RSS: ~1914M. load average: 1.01 1.03 0.69 1/279 3926


    valid_category: "disaster_recovery"
      behaves like feature category validation
        flags invalid feature category in top level example group
        flags invalid feature category in nested context
        flags invalid feature category in examples
        does not flag if feature category is valid
        suggests an alternative
# [RSpecRunTime] RSpec elapsed time: 7 minutes 51.32 seconds. Current RSS: ~1916M. load average: 1.01 1.03 0.69 1/279 3942


    valid_category: "dora_metrics"
      behaves like feature category validation
        flags invalid feature category in top level example group
        flags invalid feature category in nested context
        flags invalid feature category in examples
        does not flag if feature category is valid
        suggests an alternative
# [RSpecRunTime] RSpec elapsed time: 7 minutes 53.77 seconds. Current RSS: ~1913M. load average: 1.01 1.03 0.69 1/279 3958


    valid_category: "duo_chat"
      behaves like feature category validation
        flags invalid feature category in top level example group
        flags invalid feature category in nested context
        flags invalid feature category in examples
        does not flag if feature category is valid
        suggests an alternative
# [RSpecRunTime] RSpec elapsed time: 7 minutes 56.15 seconds. Current RSS: ~1906M. load average: 1.01 1.03 0.69 1/279 3974


    valid_category: "dynamic_application_security_testing"
      behaves like feature category validation
        flags invalid feature category in top level example group
        flags invalid feature category in nested context
        flags invalid feature category in examples
        does not flag if feature category is valid
        suggests an alternative
# [RSpecRunTime] RSpec elapsed time: 7 minutes 58.58 seconds. Current RSS: ~1909M. load average: 1.01 1.02 0.70 1/279 3990


    valid_category: "editor_extensions"
      behaves like feature category validation
        flags invalid feature category in top level example group
        flags invalid feature category in nested context
        flags invalid feature category in examples
        does not flag if feature category is valid
        suggests an alternative
# [RSpecRunTime] RSpec elapsed time: 8 minutes 0.97 second. Current RSS: ~1910M. load average: 1.01 1.02 0.70 1/279 4006


    valid_category: "environment_management"
      behaves like feature category validation
        flags invalid feature category in top level example group
        flags invalid feature category in nested context
        flags invalid feature category in examples
        does not flag if feature category is valid
        suggests an alternative
# [RSpecRunTime] RSpec elapsed time: 8 minutes 3.35 seconds. Current RSS: ~1908M. load average: 1.01 1.02 0.70 1/279 4022


    valid_category: "error_budgets"
      behaves like feature category validation
        flags invalid feature category in top level example group
        flags invalid feature category in nested context
        flags invalid feature category in examples
        does not flag if feature category is valid
        suggests an alternative
# [RSpecRunTime] RSpec elapsed time: 8 minutes 5.74 seconds. Current RSS: ~1906M. load average: 1.01 1.02 0.70 1/279 4038


    valid_category: "error_tracking"
      behaves like feature category validation
        flags invalid feature category in top level example group
        flags invalid feature category in nested context
        flags invalid feature category in examples
        does not flag if feature category is valid
        suggests an alternative
# [RSpecRunTime] RSpec elapsed time: 8 minutes 8.09 seconds. Current RSS: ~1907M. load average: 1.01 1.02 0.70 1/279 4054


    valid_category: "feature_flags"
      behaves like feature category validation
        flags invalid feature category in top level example group
        flags invalid feature category in nested context
        flags invalid feature category in examples
        does not flag if feature category is valid
        suggests an alternative
# [RSpecRunTime] RSpec elapsed time: 8 minutes 10.49 seconds. Current RSS: ~1909M. load average: 1.01 1.02 0.70 1/279 4070


    valid_category: "five_minute_production_app"
      behaves like feature category validation
        flags invalid feature category in top level example group
        flags invalid feature category in nested context
        flags invalid feature category in examples
        does not flag if feature category is valid
        suggests an alternative
# [RSpecRunTime] RSpec elapsed time: 8 minutes 12.84 seconds. Current RSS: ~1904M. load average: 1.17 1.06 0.71 1/279 4086


    valid_category: "fleet_visibility"
      behaves like feature category validation
        flags invalid feature category in top level example group
        flags invalid feature category in nested context
        flags invalid feature category in examples
        does not flag if feature category is valid
        suggests an alternative
# [RSpecRunTime] RSpec elapsed time: 8 minutes 15.24 seconds. Current RSS: ~1903M. load average: 1.17 1.06 0.71 1/279 4102


    valid_category: "fulfillment_admin_tooling"
      behaves like feature category validation
        flags invalid feature category in top level example group
        flags invalid feature category in nested context
        flags invalid feature category in examples
        does not flag if feature category is valid
        suggests an alternative
# [RSpecRunTime] RSpec elapsed time: 8 minutes 17.64 seconds. Current RSS: ~1905M. load average: 1.17 1.06 0.71 1/279 4118


    valid_category: "fulfillment_infrastructure"
      behaves like feature category validation
        flags invalid feature category in top level example group
        flags invalid feature category in nested context
        flags invalid feature category in examples
        does not flag if feature category is valid
        suggests an alternative
# [RSpecRunTime] RSpec elapsed time: 8 minutes 20.0 seconds. Current RSS: ~1903M. load average: 1.15 1.06 0.71 1/279 4134


    valid_category: "fuzz_testing"
      behaves like feature category validation
        flags invalid feature category in top level example group
        flags invalid feature category in nested context
        flags invalid feature category in examples
        does not flag if feature category is valid
        suggests an alternative
# [RSpecRunTime] RSpec elapsed time: 8 minutes 22.43 seconds. Current RSS: ~1898M. load average: 1.15 1.06 0.71 1/279 4150


    valid_category: "geo_replication"
      behaves like feature category validation
        flags invalid feature category in top level example group
        flags invalid feature category in nested context
        flags invalid feature category in examples
        does not flag if feature category is valid
        suggests an alternative
# [RSpecRunTime] RSpec elapsed time: 8 minutes 24.77 seconds. Current RSS: ~1899M. load average: 1.14 1.06 0.72 1/279 4166


    valid_category: "gitaly"
      behaves like feature category validation
        flags invalid feature category in top level example group
        flags invalid feature category in nested context
        flags invalid feature category in examples
        does not flag if feature category is valid
        suggests an alternative
# [RSpecRunTime] RSpec elapsed time: 8 minutes 27.1 seconds. Current RSS: ~1901M. load average: 1.14 1.06 0.72 1/279 4182


    valid_category: "gitlab_cli"
      behaves like feature category validation
        flags invalid feature category in top level example group
        flags invalid feature category in nested context
        flags invalid feature category in examples
        does not flag if feature category is valid
        suggests an alternative
# [RSpecRunTime] RSpec elapsed time: 8 minutes 29.48 seconds. Current RSS: ~1902M. load average: 1.13 1.05 0.72 1/279 4198


    valid_category: "gitlab_docs"
      behaves like feature category validation
        flags invalid feature category in top level example group
        flags invalid feature category in nested context
        flags invalid feature category in examples
        does not flag if feature category is valid
        suggests an alternative
# [RSpecRunTime] RSpec elapsed time: 8 minutes 31.79 seconds. Current RSS: ~1899M. load average: 1.13 1.05 0.72 1/279 4214


    valid_category: "global_search"
      behaves like feature category validation
        flags invalid feature category in top level example group
        flags invalid feature category in nested context
        flags invalid feature category in examples
        does not flag if feature category is valid
        suggests an alternative
# [RSpecRunTime] RSpec elapsed time: 8 minutes 34.19 seconds. Current RSS: ~1900M. load average: 1.12 1.05 0.72 1/279 4230


    valid_category: "groups_and_projects"
      behaves like feature category validation
        flags invalid feature category in top level example group
        flags invalid feature category in nested context
        flags invalid feature category in examples
        does not flag if feature category is valid
        suggests an alternative
# [RSpecRunTime] RSpec elapsed time: 8 minutes 36.59 seconds. Current RSS: ~1899M. load average: 1.12 1.05 0.72 1/279 4246


    valid_category: "helm_chart_registry"
      behaves like feature category validation
        flags invalid feature category in top level example group
        flags invalid feature category in nested context
        flags invalid feature category in examples
        does not flag if feature category is valid
        suggests an alternative
# [RSpecRunTime] RSpec elapsed time: 8 minutes 38.96 seconds. Current RSS: ~1898M. load average: 1.11 1.05 0.72 1/279 4262


    valid_category: "importers"
      behaves like feature category validation
        flags invalid feature category in top level example group
        flags invalid feature category in nested context
        flags invalid feature category in examples
        does not flag if feature category is valid
        suggests an alternative
# [RSpecRunTime] RSpec elapsed time: 8 minutes 41.36 seconds. Current RSS: ~1898M. load average: 1.11 1.05 0.72 1/279 4278


    valid_category: "incident_management"
      behaves like feature category validation
        flags invalid feature category in top level example group
        flags invalid feature category in nested context
        flags invalid feature category in examples
        does not flag if feature category is valid
        suggests an alternative
# [RSpecRunTime] RSpec elapsed time: 8 minutes 43.72 seconds. Current RSS: ~1892M. load average: 1.10 1.05 0.72 1/279 4294


    valid_category: "infrastructure_as_code"
      behaves like feature category validation
        flags invalid feature category in top level example group
        flags invalid feature category in nested context
        flags invalid feature category in examples
        does not flag if feature category is valid
        suggests an alternative
# [RSpecRunTime] RSpec elapsed time: 8 minutes 46.09 seconds. Current RSS: ~1886M. load average: 1.10 1.05 0.72 1/279 4310


    valid_category: "infrastructure_cost_data"
      behaves like feature category validation
        flags invalid feature category in top level example group
        flags invalid feature category in nested context
        flags invalid feature category in examples
        does not flag if feature category is valid
        suggests an alternative
# [RSpecRunTime] RSpec elapsed time: 8 minutes 48.47 seconds. Current RSS: ~1886M. load average: 1.09 1.05 0.73 1/279 4326


    valid_category: "insider_threat"
      behaves like feature category validation
        flags invalid feature category in top level example group
        flags invalid feature category in nested context
        flags invalid feature category in examples
        does not flag if feature category is valid
        suggests an alternative
# [RSpecRunTime] RSpec elapsed time: 8 minutes 50.81 seconds. Current RSS: ~1885M. load average: 1.09 1.05 0.73 1/279 4342


    valid_category: "instance_resiliency"
      behaves like feature category validation
        flags invalid feature category in top level example group
        flags invalid feature category in nested context
        flags invalid feature category in examples
        does not flag if feature category is valid
        suggests an alternative
# [RSpecRunTime] RSpec elapsed time: 8 minutes 53.19 seconds. Current RSS: ~1882M. load average: 1.08 1.05 0.73 1/279 4358


    valid_category: "integrations"
      behaves like feature category validation
        flags invalid feature category in top level example group
        flags invalid feature category in nested context
        flags invalid feature category in examples
        does not flag if feature category is valid
        suggests an alternative
# [RSpecRunTime] RSpec elapsed time: 8 minutes 55.53 seconds. Current RSS: ~1882M. load average: 1.08 1.05 0.73 1/279 4374


    valid_category: "internationalization"
      behaves like feature category validation
        flags invalid feature category in top level example group
        flags invalid feature category in nested context
        flags invalid feature category in examples
        does not flag if feature category is valid
        suggests an alternative
# [RSpecRunTime] RSpec elapsed time: 8 minutes 57.87 seconds. Current RSS: ~1882M. load average: 1.08 1.05 0.73 1/279 4390


    valid_category: "logging"
      behaves like feature category validation
        flags invalid feature category in top level example group
        flags invalid feature category in nested context
        flags invalid feature category in examples
        does not flag if feature category is valid
        suggests an alternative
# [RSpecRunTime] RSpec elapsed time: 9 minutes 0.27 second. Current RSS: ~1879M. load average: 1.08 1.05 0.73 1/279 4406


    valid_category: "measurement_and_locking"
      behaves like feature category validation
        flags invalid feature category in top level example group
        flags invalid feature category in nested context
        flags invalid feature category in examples
        does not flag if feature category is valid
        suggests an alternative
# [RSpecRunTime] RSpec elapsed time: 9 minutes 2.62 seconds. Current RSS: ~1878M. load average: 1.08 1.05 0.73 1/279 4422


    valid_category: "merge_trains"
      behaves like feature category validation
        flags invalid feature category in top level example group
        flags invalid feature category in nested context
        flags invalid feature category in examples
        does not flag if feature category is valid
        suggests an alternative
# [RSpecRunTime] RSpec elapsed time: 9 minutes 5.0 seconds. Current RSS: ~1879M. load average: 1.07 1.05 0.73 1/280 4438


    valid_category: "metrics"
      behaves like feature category validation
        flags invalid feature category in top level example group
        flags invalid feature category in nested context
        flags invalid feature category in examples
        does not flag if feature category is valid
        suggests an alternative
# [RSpecRunTime] RSpec elapsed time: 9 minutes 7.41 seconds. Current RSS: ~1878M. load average: 1.07 1.05 0.73 1/280 4454


    valid_category: "mlops"
      behaves like feature category validation
        flags invalid feature category in top level example group
        flags invalid feature category in nested context
        flags invalid feature category in examples
        does not flag if feature category is valid
        suggests an alternative
# [RSpecRunTime] RSpec elapsed time: 9 minutes 9.72 seconds. Current RSS: ~1877M. load average: 1.06 1.05 0.73 1/280 4470


    valid_category: "mobile_devops"
      behaves like feature category validation
        flags invalid feature category in top level example group
        flags invalid feature category in nested context
        flags invalid feature category in examples
        does not flag if feature category is valid
        suggests an alternative
# [RSpecRunTime] RSpec elapsed time: 9 minutes 12.07 seconds. Current RSS: ~1879M. load average: 1.06 1.05 0.73 1/280 4486


    valid_category: "navigation"
      behaves like feature category validation
        flags invalid feature category in top level example group
        flags invalid feature category in nested context
        flags invalid feature category in examples
        does not flag if feature category is valid
        suggests an alternative
# [RSpecRunTime] RSpec elapsed time: 9 minutes 14.45 seconds. Current RSS: ~1877M. load average: 1.06 1.05 0.73 1/280 4502


    valid_category: "okr_management"
      behaves like feature category validation
        flags invalid feature category in top level example group
        flags invalid feature category in nested context
        flags invalid feature category in examples
        does not flag if feature category is valid
        suggests an alternative
# [RSpecRunTime] RSpec elapsed time: 9 minutes 16.75 seconds. Current RSS: ~1876M. load average: 1.06 1.05 0.73 1/280 4518


    valid_category: "omnibus_package"
      behaves like feature category validation
        flags invalid feature category in top level example group
        flags invalid feature category in nested context
        flags invalid feature category in examples
        does not flag if feature category is valid
        suggests an alternative
# [RSpecRunTime] RSpec elapsed time: 9 minutes 19.12 seconds. Current RSS: ~1876M. load average: 1.05 1.04 0.73 1/280 4534


    valid_category: "on_call_schedule_management"
      behaves like feature category validation
        flags invalid feature category in top level example group
        flags invalid feature category in nested context
        flags invalid feature category in examples
        does not flag if feature category is valid
        suggests an alternative
# [RSpecRunTime] RSpec elapsed time: 9 minutes 21.49 seconds. Current RSS: ~1877M. load average: 1.05 1.04 0.73 1/280 4550


    valid_category: "onboarding"
      behaves like feature category validation
        flags invalid feature category in top level example group
        flags invalid feature category in nested context
        flags invalid feature category in examples
        does not flag if feature category is valid
        suggests an alternative
# [RSpecRunTime] RSpec elapsed time: 9 minutes 23.81 seconds. Current RSS: ~1875M. load average: 1.05 1.04 0.74 1/280 4566


    valid_category: "organization"
      behaves like feature category validation
        flags invalid feature category in top level example group
        flags invalid feature category in nested context
        flags invalid feature category in examples
        does not flag if feature category is valid
        suggests an alternative
# [RSpecRunTime] RSpec elapsed time: 9 minutes 26.22 seconds. Current RSS: ~1876M. load average: 1.05 1.04 0.74 1/280 4582


    valid_category: "package_registry"
      behaves like feature category validation
        flags invalid feature category in top level example group
        flags invalid feature category in nested context
        flags invalid feature category in examples
        does not flag if feature category is valid
        suggests an alternative
# [RSpecRunTime] RSpec elapsed time: 9 minutes 28.49 seconds. Current RSS: ~1875M. load average: 1.05 1.04 0.74 1/280 4598


    valid_category: "pages"
      behaves like feature category validation
        flags invalid feature category in top level example group
        flags invalid feature category in nested context
        flags invalid feature category in examples
        does not flag if feature category is valid
        suggests an alternative
# [RSpecRunTime] RSpec elapsed time: 9 minutes 30.89 seconds. Current RSS: ~1874M. load average: 1.05 1.04 0.74 1/280 4614


    valid_category: "permissions"
      behaves like feature category validation
        flags invalid feature category in top level example group
        flags invalid feature category in nested context
        flags invalid feature category in examples
        does not flag if feature category is valid
        suggests an alternative
# [RSpecRunTime] RSpec elapsed time: 9 minutes 33.25 seconds. Current RSS: ~1874M. load average: 1.04 1.04 0.74 1/280 4630


    valid_category: "pipeline_composition"
      behaves like feature category validation
        flags invalid feature category in top level example group
        flags invalid feature category in nested context
        flags invalid feature category in examples
        does not flag if feature category is valid
        suggests an alternative
# [RSpecRunTime] RSpec elapsed time: 9 minutes 35.59 seconds. Current RSS: ~1875M. load average: 1.04 1.04 0.74 1/280 4646


    valid_category: "portfolio_management"
      behaves like feature category validation
        flags invalid feature category in top level example group
        flags invalid feature category in nested context
        flags invalid feature category in examples
        does not flag if feature category is valid
        suggests an alternative
# [RSpecRunTime] RSpec elapsed time: 9 minutes 37.96 seconds. Current RSS: ~1872M. load average: 1.04 1.04 0.74 1/280 4662


    valid_category: "product_analytics_data_management"
      behaves like feature category validation
        flags invalid feature category in top level example group
        flags invalid feature category in nested context
        flags invalid feature category in examples
        does not flag if feature category is valid
        suggests an alternative
# [RSpecRunTime] RSpec elapsed time: 9 minutes 40.28 seconds. Current RSS: ~1873M. load average: 1.04 1.04 0.74 1/280 4678


    valid_category: "product_analytics_visualization"
      behaves like feature category validation
        flags invalid feature category in top level example group
        flags invalid feature category in nested context
        flags invalid feature category in examples
        does not flag if feature category is valid
        suggests an alternative
# [RSpecRunTime] RSpec elapsed time: 9 minutes 42.6 seconds. Current RSS: ~1873M. load average: 1.04 1.04 0.74 1/280 4694


    valid_category: "pubsec_services"
      behaves like feature category validation
        flags invalid feature category in top level example group
        flags invalid feature category in nested context
        flags invalid feature category in examples
        does not flag if feature category is valid
        suggests an alternative
# [RSpecRunTime] RSpec elapsed time: 9 minutes 45.01 seconds. Current RSS: ~1869M. load average: 1.12 1.06 0.75 1/280 4710


    valid_category: "purchase"
      behaves like feature category validation
        flags invalid feature category in top level example group
        flags invalid feature category in nested context
        flags invalid feature category in examples
        does not flag if feature category is valid
        suggests an alternative
# [RSpecRunTime] RSpec elapsed time: 9 minutes 47.39 seconds. Current RSS: ~1867M. load average: 1.12 1.06 0.75 1/280 4726


    valid_category: "quality_management"
      behaves like feature category validation
        flags invalid feature category in top level example group
        flags invalid feature category in nested context
        flags invalid feature category in examples
        does not flag if feature category is valid
        suggests an alternative
# [RSpecRunTime] RSpec elapsed time: 9 minutes 49.76 seconds. Current RSS: ~1868M. load average: 1.11 1.06 0.75 1/280 4742


    valid_category: "rate_limiting"
      behaves like feature category validation
        flags invalid feature category in top level example group
        flags invalid feature category in nested context
        flags invalid feature category in examples
        does not flag if feature category is valid
        suggests an alternative
# [RSpecRunTime] RSpec elapsed time: 9 minutes 52.21 seconds. Current RSS: ~1866M. load average: 1.11 1.06 0.75 1/280 4758


    valid_category: "redis"
      behaves like feature category validation
        flags invalid feature category in top level example group
        flags invalid feature category in nested context
        flags invalid feature category in examples
        does not flag if feature category is valid
        suggests an alternative
# [RSpecRunTime] RSpec elapsed time: 9 minutes 54.56 seconds. Current RSS: ~1865M. load average: 1.10 1.05 0.75 1/280 4774


    valid_category: "release_evidence"
      behaves like feature category validation
        flags invalid feature category in top level example group
        flags invalid feature category in nested context
        flags invalid feature category in examples
        does not flag if feature category is valid
        suggests an alternative
# [RSpecRunTime] RSpec elapsed time: 9 minutes 56.97 seconds. Current RSS: ~1866M. load average: 1.10 1.05 0.75 1/280 4790


    valid_category: "release_orchestration"
      behaves like feature category validation
        flags invalid feature category in top level example group
        flags invalid feature category in nested context
        flags invalid feature category in examples
        does not flag if feature category is valid
        suggests an alternative
# [RSpecRunTime] RSpec elapsed time: 9 minutes 59.36 seconds. Current RSS: ~1865M. load average: 1.09 1.05 0.75 1/280 4806


    valid_category: "remote_development"
      behaves like feature category validation
        flags invalid feature category in top level example group
        flags invalid feature category in nested context
        flags invalid feature category in examples
        does not flag if feature category is valid
        suggests an alternative
# [RSpecRunTime] RSpec elapsed time: 10 minutes 1.76 seconds. Current RSS: ~1864M. load average: 1.09 1.05 0.75 1/280 4822


    valid_category: "requirements_management"
      behaves like feature category validation
        flags invalid feature category in top level example group
        flags invalid feature category in nested context
        flags invalid feature category in examples
        does not flag if feature category is valid
        suggests an alternative
# [RSpecRunTime] RSpec elapsed time: 10 minutes 4.17 seconds. Current RSS: ~1862M. load average: 1.08 1.05 0.75 1/280 4838


    valid_category: "review_apps"
      behaves like feature category validation
        flags invalid feature category in top level example group
        flags invalid feature category in nested context
        flags invalid feature category in examples
        does not flag if feature category is valid
        suggests an alternative
# [RSpecRunTime] RSpec elapsed time: 10 minutes 6.56 seconds. Current RSS: ~1861M. load average: 1.08 1.05 0.75 1/280 4854


    valid_category: "runner"
      behaves like feature category validation
        flags invalid feature category in top level example group
        flags invalid feature category in nested context
        flags invalid feature category in examples
        does not flag if feature category is valid
        suggests an alternative
# [RSpecRunTime] RSpec elapsed time: 10 minutes 8.96 seconds. Current RSS: ~1863M. load average: 1.08 1.05 0.75 1/280 4870


    valid_category: "runner_saas"
      behaves like feature category validation
        flags invalid feature category in top level example group
        flags invalid feature category in nested context
        flags invalid feature category in examples
        does not flag if feature category is valid
        suggests an alternative
# [RSpecRunTime] RSpec elapsed time: 10 minutes 11.37 seconds. Current RSS: ~1861M. load average: 1.08 1.05 0.75 1/280 4886


    valid_category: "saas_provisioning"
      behaves like feature category validation
        flags invalid feature category in top level example group
        flags invalid feature category in nested context
        flags invalid feature category in examples
        does not flag if feature category is valid
        suggests an alternative
# [RSpecRunTime] RSpec elapsed time: 10 minutes 13.71 seconds. Current RSS: ~1861M. load average: 1.07 1.05 0.76 1/280 4902


    valid_category: "sbom"
      behaves like feature category validation
        flags invalid feature category in top level example group
        flags invalid feature category in nested context
        flags invalid feature category in examples
        does not flag if feature category is valid
        suggests an alternative
# [RSpecRunTime] RSpec elapsed time: 10 minutes 16.09 seconds. Current RSS: ~1855M. load average: 1.07 1.05 0.76 1/280 4918


    valid_category: "scalability"
      behaves like feature category validation
        flags invalid feature category in top level example group
        flags invalid feature category in nested context
        flags invalid feature category in examples
        does not flag if feature category is valid
        suggests an alternative
# [RSpecRunTime] RSpec elapsed time: 10 minutes 18.46 seconds. Current RSS: ~1855M. load average: 1.06 1.05 0.76 1/280 4934


    valid_category: "seat_cost_management"
      behaves like feature category validation
        flags invalid feature category in top level example group
        flags invalid feature category in nested context
        flags invalid feature category in examples
        does not flag if feature category is valid
        suggests an alternative
# [RSpecRunTime] RSpec elapsed time: 10 minutes 20.75 seconds. Current RSS: ~1856M. load average: 1.06 1.05 0.76 1/280 4950


    valid_category: "secret_detection"
      behaves like feature category validation
        flags invalid feature category in top level example group
        flags invalid feature category in nested context
        flags invalid feature category in examples
        does not flag if feature category is valid
        suggests an alternative
# [RSpecRunTime] RSpec elapsed time: 10 minutes 23.12 seconds. Current RSS: ~1852M. load average: 1.06 1.05 0.76 1/280 4966


    valid_category: "secrets_management"
      behaves like feature category validation
        flags invalid feature category in top level example group
        flags invalid feature category in nested context
        flags invalid feature category in examples
        does not flag if feature category is valid
        suggests an alternative
# [RSpecRunTime] RSpec elapsed time: 10 minutes 25.43 seconds. Current RSS: ~1850M. load average: 1.06 1.05 0.76 1/280 4982


    valid_category: "security_policy_management"
      behaves like feature category validation
        flags invalid feature category in top level example group
        flags invalid feature category in nested context
        flags invalid feature category in examples
        does not flag if feature category is valid
        suggests an alternative
# [RSpecRunTime] RSpec elapsed time: 10 minutes 27.79 seconds. Current RSS: ~1852M. load average: 1.06 1.05 0.76 1/280 4998


    valid_category: "service_desk"
      behaves like feature category validation
        flags invalid feature category in top level example group
        flags invalid feature category in nested context
        flags invalid feature category in examples
        does not flag if feature category is valid
        suggests an alternative
# [RSpecRunTime] RSpec elapsed time: 10 minutes 30.19 seconds. Current RSS: ~1852M. load average: 1.21 1.08 0.77 1/280 5014


    valid_category: "service_ping"
      behaves like feature category validation
        flags invalid feature category in top level example group
        flags invalid feature category in nested context
        flags invalid feature category in examples
        does not flag if feature category is valid
        suggests an alternative
# [RSpecRunTime] RSpec elapsed time: 10 minutes 32.55 seconds. Current RSS: ~1850M. load average: 1.21 1.08 0.77 1/280 5030


    valid_category: "sm_provisioning"
      behaves like feature category validation
        flags invalid feature category in top level example group
        flags invalid feature category in nested context
        flags invalid feature category in examples
        does not flag if feature category is valid
        suggests an alternative
# [RSpecRunTime] RSpec elapsed time: 10 minutes 34.92 seconds. Current RSS: ~1850M. load average: 1.20 1.08 0.77 1/280 5046


    valid_category: "software_composition_analysis"
      behaves like feature category validation
        flags invalid feature category in top level example group
        flags invalid feature category in nested context
        flags invalid feature category in examples
        does not flag if feature category is valid
        suggests an alternative
# [RSpecRunTime] RSpec elapsed time: 10 minutes 37.32 seconds. Current RSS: ~1846M. load average: 1.20 1.08 0.77 1/280 5062


    valid_category: "source_code_management"
      behaves like feature category validation
        flags invalid feature category in top level example group
        flags invalid feature category in nested context
        flags invalid feature category in examples
        does not flag if feature category is valid
        suggests an alternative
# [RSpecRunTime] RSpec elapsed time: 10 minutes 39.69 seconds. Current RSS: ~1845M. load average: 1.18 1.08 0.77 1/280 5078


    valid_category: "static_application_security_testing"
      behaves like feature category validation
        flags invalid feature category in top level example group
        flags invalid feature category in nested context
        flags invalid feature category in examples
        does not flag if feature category is valid
        suggests an alternative
# [RSpecRunTime] RSpec elapsed time: 10 minutes 42.08 seconds. Current RSS: ~1862M. load average: 1.18 1.08 0.77 1/280 5094


    valid_category: "subscription_management"
      behaves like feature category validation
        flags invalid feature category in top level example group
        flags invalid feature category in nested context
        flags invalid feature category in examples
        does not flag if feature category is valid
        suggests an alternative
# [RSpecRunTime] RSpec elapsed time: 10 minutes 44.5 seconds. Current RSS: ~1864M. load average: 1.17 1.08 0.78 1/280 5110


    valid_category: "switchboard"
      behaves like feature category validation
        flags invalid feature category in top level example group
        flags invalid feature category in nested context
        flags invalid feature category in examples
        does not flag if feature category is valid
        suggests an alternative
# [RSpecRunTime] RSpec elapsed time: 10 minutes 46.84 seconds. Current RSS: ~1861M. load average: 1.17 1.08 0.78 1/280 5126


    valid_category: "system_access"
      behaves like feature category validation
        flags invalid feature category in top level example group
        flags invalid feature category in nested context
        flags invalid feature category in examples
        does not flag if feature category is valid
        suggests an alternative
# [RSpecRunTime] RSpec elapsed time: 10 minutes 49.29 seconds. Current RSS: ~1864M. load average: 1.15 1.08 0.78 1/280 5142


    valid_category: "team_planning"
      behaves like feature category validation
        flags invalid feature category in top level example group
        flags invalid feature category in nested context
        flags invalid feature category in examples
        does not flag if feature category is valid
        suggests an alternative
# [RSpecRunTime] RSpec elapsed time: 10 minutes 51.69 seconds. Current RSS: ~1856M. load average: 1.15 1.08 0.78 1/280 5158


    valid_category: "tracing"
      behaves like feature category validation
        flags invalid feature category in top level example group
        flags invalid feature category in nested context
        flags invalid feature category in examples
        does not flag if feature category is valid
        suggests an alternative
# [RSpecRunTime] RSpec elapsed time: 10 minutes 54.08 seconds. Current RSS: ~1858M. load average: 1.14 1.07 0.78 1/280 5174


    valid_category: "user_management"
      behaves like feature category validation
        flags invalid feature category in top level example group
        flags invalid feature category in nested context
        flags invalid feature category in examples
        does not flag if feature category is valid
        suggests an alternative
# [RSpecRunTime] RSpec elapsed time: 10 minutes 56.54 seconds. Current RSS: ~1858M. load average: 1.14 1.07 0.78 1/280 5190


    valid_category: "user_profile"
      behaves like feature category validation
        flags invalid feature category in top level example group
        flags invalid feature category in nested context
        flags invalid feature category in examples
        does not flag if feature category is valid
        suggests an alternative
# [RSpecRunTime] RSpec elapsed time: 10 minutes 58.96 seconds. Current RSS: ~1858M. load average: 1.13 1.07 0.78 1/280 5206


    valid_category: "value_stream_management"
      behaves like feature category validation
        flags invalid feature category in top level example group
        flags invalid feature category in nested context
        flags invalid feature category in examples
        does not flag if feature category is valid
        suggests an alternative
# [RSpecRunTime] RSpec elapsed time: 11 minutes 1.33 seconds. Current RSS: ~1859M. load average: 1.13 1.07 0.78 1/280 5222


    valid_category: "vulnerability_management"
      behaves like feature category validation
        flags invalid feature category in top level example group
        flags invalid feature category in nested context
        flags invalid feature category in examples
        does not flag if feature category is valid
        suggests an alternative
# [RSpecRunTime] RSpec elapsed time: 11 minutes 3.72 seconds. Current RSS: ~1859M. load average: 1.12 1.07 0.78 1/280 5238


    valid_category: "web_ide"
      behaves like feature category validation
        flags invalid feature category in top level example group
        flags invalid feature category in nested context
        flags invalid feature category in examples
        does not flag if feature category is valid
        suggests an alternative
# [RSpecRunTime] RSpec elapsed time: 11 minutes 6.12 seconds. Current RSS: ~1857M. load average: 1.12 1.07 0.78 1/280 5254


    valid_category: "webhooks"
      behaves like feature category validation
        flags invalid feature category in top level example group
        flags invalid feature category in nested context
        flags invalid feature category in examples
        does not flag if feature category is valid
        suggests an alternative
# [RSpecRunTime] RSpec elapsed time: 11 minutes 8.53 seconds. Current RSS: ~1855M. load average: 1.11 1.07 0.78 1/280 5270


    valid_category: "wiki"
      behaves like feature category validation
        flags invalid feature category in top level example group
        flags invalid feature category in nested context
        flags invalid feature category in examples
        does not flag if feature category is valid
        suggests an alternative
# [RSpecRunTime] RSpec elapsed time: 11 minutes 10.93 seconds. Current RSS: ~1855M. load average: 1.11 1.07 0.78 1/279 5286


    valid_category: "tooling"
      behaves like feature category validation
        flags invalid feature category in top level example group
        flags invalid feature category in nested context
        flags invalid feature category in examples
        does not flag if feature category is valid
        suggests an alternative
# [RSpecRunTime] RSpec elapsed time: 11 minutes 13.3 seconds. Current RSS: ~1856M. load average: 1.10 1.07 0.78 1/279 5302


    valid_category: "shared"
      behaves like feature category validation
        flags invalid feature category in top level example group
        flags invalid feature category in nested context
        flags invalid feature category in examples
        does not flag if feature category is valid
        suggests an alternative
# [RSpecRunTime] RSpec elapsed time: 11 minutes 15.63 seconds. Current RSS: ~1858M. load average: 1.10 1.07 0.78 1/279 5318


  #external_dependency_checksum
    returns a SHA256 digest used by RuboCop to invalid cache

# [RSpecRunTime] Finishing example group spec/rubocop/cop/rspec/feature_category_spec.rb. It took 5 minutes 10.41 seconds. Expected to take 3 minutes 15.65 seconds.
# [RSpecRunTime] Starting example group spec/tasks/gitlab/usage_data_rake_spec.rb. Expected to take 2 minutes 7.71 seconds.

gitlab:usage data take tasks
  dump_sql_in_yaml
    dumps SQL queries in yaml format
# [RSpecRunTime] RSpec elapsed time: 11 minutes 40.7 seconds. Current RSS: ~1537M. load average: 1.06 1.06 0.79 1/280 5347


  dump_sql_in_json
    dumps SQL queries in json format
# [RSpecRunTime] RSpec elapsed time: 12 minutes 4.48 seconds. Current RSS: ~1528M. load average: 1.12 1.07 0.80 1/280 5373


  dump_non_sql_in_json
    dumps non SQL data in json format
# [RSpecRunTime] RSpec elapsed time: 12 minutes 28.44 seconds. Current RSS: ~1516M. load average: 1.08 1.06 0.81 1/280 5399


  generate_sql_metrics_fixture
    generates fixture file correctly
# [RSpecRunTime] RSpec elapsed time: 12 minutes 51.74 seconds. Current RSS: ~1509M. load average: 1.13 1.08 0.82 1/280 5425


  generate_and_send
    generates and sends Service Ping payload
# [RSpecRunTime] RSpec elapsed time: 13 minutes 16.89 seconds. Current RSS: ~1529M. load average: 0.74 0.99 0.80 1/280 5429



# [RSpecRunTime] Finishing example group spec/tasks/gitlab/usage_data_rake_spec.rb. It took 2 minutes 3.39 seconds. Expected to take 2 minutes 7.71 seconds.
# [RSpecRunTime] RSpec elapsed time: 13 minutes 19.62 seconds. Current RSS: ~1537M. load average: 0.84 1.01 0.81 1/280 5430


# [RSpecRunTime] Starting example group spec/lib/gitlab/email/handler/service_desk_handler_spec.rb. Expected to take 1 minute 26.94 seconds.

Gitlab::Email::Handler::ServiceDeskHandler
  service desk is enabled for the project
    when encoding of an email is iso-8859-2
      creates a new issue with readable subject and body
# [RSpecRunTime] RSpec elapsed time: 13 minutes 22.36 seconds. Current RSS: ~1532M. load average: 0.84 1.01 0.81 1/281 5448


    when everything is fine
      attaches existing CRM contacts
      behaves like a new issue request
        creates a new issue
        creates an issue_email_participant
        sends thank you email
        adds metric events for incoming and reply emails
# [RSpecRunTime] RSpec elapsed time: 13 minutes 29.84 seconds. Current RSS: ~1606M. load average: 0.87 1.00 0.81 1/285 5472


      when add_external_participants_from_cc is true
        behaves like a new issue request
          creates a new issue
          creates an issue_email_participant
          sends thank you email
          adds metric events for incoming and reply emails
# [RSpecRunTime] RSpec elapsed time: 13 minutes 34.79 seconds. Current RSS: ~1613M. load average: 0.88 1.00 0.81 1/285 5493


        when more than the defined limit of participants are in Cc header
          behaves like a new issue request
            creates a new issue
            creates an issue_email_participant
            sends thank you email
            adds metric events for incoming and reply emails
# [RSpecRunTime] RSpec elapsed time: 13 minutes 39.69 seconds. Current RSS: ~1609M. load average: 0.89 1.00 0.81 1/285 5514


        when no CC header is present
          behaves like does not add CC address
            creates a new issue and adds issue_email_participant from From header
# [RSpecRunTime] RSpec elapsed time: 13 minutes 40.92 seconds. Current RSS: ~1607M. load average: 0.89 1.00 0.81 1/285 5518


        when service desk system address is in CC
          behaves like does not add CC address
            creates a new issue and adds issue_email_participant from From header
# [RSpecRunTime] RSpec elapsed time: 13 minutes 42.1 seconds. Current RSS: ~1602M. load average: 0.89 1.00 0.81 1/285 5522


          when service_desk_email is part of CC
            behaves like does not add CC address
              creates a new issue and adds issue_email_participant from From header
# [RSpecRunTime] RSpec elapsed time: 13 minutes 43.34 seconds. Current RSS: ~1602M. load average: 0.90 1.00 0.81 1/285 5526


          when custom email is part of CC
            behaves like does not add CC address
              creates a new issue and adds issue_email_participant from From header
# [RSpecRunTime] RSpec elapsed time: 13 minutes 44.65 seconds. Current RSS: ~1618M. load average: 0.90 1.00 0.81 1/285 5530


      with legacy incoming email address
        behaves like a new issue request
          creates a new issue
          creates an issue_email_participant
          sends thank you email
          adds metric events for incoming and reply emails
# [RSpecRunTime] RSpec elapsed time: 13 minutes 49.41 seconds. Current RSS: ~1614M. load average: 0.82 0.99 0.81 1/285 5551


      when replying to issue creation email
        when an issue with message_id has been found
          does not create an additional issue
          adds a comment to the created issue
          does not send thank you email
          creates issue_email_participants for author and reply author
          when issue_email_participants FF is disabled
            creates issue_email_participant for the author
# [RSpecRunTime] RSpec elapsed time: 13 minutes 56.74 seconds. Current RSS: ~1585M. load average: 0.84 0.99 0.81 1/283 5567


        when an issue with message_id has not been found
          creates a new issue correctly
          sends thank you email once
          creates issue_email_participant for the author
# [RSpecRunTime] RSpec elapsed time: 14 minutes 0.23 second. Current RSS: ~1592M. load average: 0.85 0.99 0.81 1/280 5577


      when using issue templates
        and template is present
          appends template text to issue description
          when quick actions are present
            applies quick action commands present on templates
            applies group labels using quick actions
            redacts quick actions present on user email body
            when issues are set to private
              applies quick action commands present on templates
# [RSpecRunTime] RSpec elapsed time: 14 minutes 8.63 seconds. Current RSS: ~1585M. load average: 0.88 0.99 0.82 1/285 5731


        and template cannot be found
          does not append template text to issue description
          creates support bot note on issue
          does not send warning note email
# [RSpecRunTime] RSpec elapsed time: 14 minutes 13.36 seconds. Current RSS: ~1569M. load average: 0.97 1.00 0.82 1/285 5767


      when all lines of email are quoted
        creates email with correct body
# [RSpecRunTime] RSpec elapsed time: 14 minutes 14.59 seconds. Current RSS: ~1567M. load average: 0.97 1.00 0.82 1/285 5771


      when using additional service desk alias address
        when using project key
          behaves like a new issue request
            creates a new issue
            creates an issue_email_participant
            sends thank you email
            adds metric events for incoming and reply emails
# [RSpecRunTime] RSpec elapsed time: 14 minutes 19.54 seconds. Current RSS: ~1581M. load average: 1.05 1.02 0.83 1/285 5792


          when there is no project with the key
            bounces the email
          when the project slug does not match
            bounces the email
          when there are multiple projects with same key
            process email for project with matching slug
# [RSpecRunTime] RSpec elapsed time: 14 minutes 22.05 seconds. Current RSS: ~1619M. load average: 1.05 1.02 0.83 1/285 5802


        when project key is not set
          behaves like a new issue request
            creates a new issue
            creates an issue_email_participant
            sends thank you email
            adds metric events for incoming and reply emails
# [RSpecRunTime] RSpec elapsed time: 14 minutes 26.71 seconds. Current RSS: ~1596M. load average: 1.04 1.02 0.83 1/285 5823


      when receiving a service desk custom email address verification email
        when using incoming_email address
          behaves like an early exiting handler
            does not trigger the verification process and does not add an issue
          with valid service desk settings
            successfully verifies the custom email address
            and custom email address is not the configured subaddress of the project
              behaves like an early exiting handler
                does not trigger the verification process and does not add an issue
# [RSpecRunTime] RSpec elapsed time: 14 minutes 28.52 seconds. Current RSS: ~1635M. load average: 1.04 1.02 0.83 1/285 5833


            and verification tokens do not match
              behaves like a handler that does not verify the custom email
                does not verify the custom email address
            and verification email ingested too late
              behaves like a handler that does not verify the custom email
                does not verify the custom email address
            and from header differs from custom email address
              behaves like a handler that does not verify the custom email
                does not verify the custom email address
        when using service_desk_email address
          behaves like an early exiting handler
            does not trigger the verification process and does not add an issue
          with valid service desk settings
            behaves like a handler that does not verify the custom email
              does not verify the custom email address
    when issue email creation fails
      still creates a new issue
      does not create issue email record
# [RSpecRunTime] RSpec elapsed time: 14 minutes 33.68 seconds. Current RSS: ~1659M. load average: 1.04 1.02 0.83 1/283 5855


    when rate limiting is in effect
      when too many requests are sent by one user
        raises an error
        creates 1 issue
# [RSpecRunTime] RSpec elapsed time: 14 minutes 35.97 seconds. Current RSS: ~1620M. load average: 1.04 1.02 0.83 1/283 5878


      when requests are sent by different users
        creates 2 issues
# [RSpecRunTime] RSpec elapsed time: 14 minutes 37.82 seconds. Current RSS: ~1604M. load average: 1.04 1.02 0.83 1/283 5890


      when limit is higher than sent emails
        creates 2 issues
# [RSpecRunTime] RSpec elapsed time: 14 minutes 39.5 seconds. Current RSS: ~1590M. load average: 1.03 1.02 0.83 1/284 5902


    #can_handle?
      handles the new email key format
      handles the legacy email key format
      doesn't handle invalid email key
# [RSpecRunTime] RSpec elapsed time: 14 minutes 40.99 seconds. Current RSS: ~1617M. load average: 1.03 1.02 0.83 1/284 5912


    when there is no to address
      behaves like a new issue request
        creates a new issue
        creates an issue_email_participant
        sends thank you email
        adds metric events for incoming and reply emails
# [RSpecRunTime] RSpec elapsed time: 14 minutes 45.74 seconds. Current RSS: ~1603M. load average: 1.03 1.02 0.83 1/285 5941


    when there is no from address
      creates a new issue
      does not send thank you email
# [RSpecRunTime] RSpec elapsed time: 14 minutes 47.99 seconds. Current RSS: ~1602M. load average: 1.03 1.02 0.83 1/285 5948


    when there is a sender address and a from address
      prefers the from address
# [RSpecRunTime] RSpec elapsed time: 14 minutes 49.22 seconds. Current RSS: ~1600M. load average: 1.03 1.02 0.83 1/285 5954


    when service desk is not enabled for project
      does not create an issue
      does not send thank you email
# [RSpecRunTime] RSpec elapsed time: 14 minutes 50.26 seconds. Current RSS: ~1607M. load average: 1.03 1.02 0.83 1/285 5961


    when the email is forwarded through an alias
      behaves like a new issue request
        creates a new issue
        creates an issue_email_participant
        sends thank you email
        adds metric events for incoming and reply emails
# [RSpecRunTime] RSpec elapsed time: 14 minutes 56.07 seconds. Current RSS: ~1602M. load average: 1.03 1.02 0.84 1/285 5982


    when the email is forwarded
      behaves like a new issue request
        creates a new issue
        creates an issue_email_participant
        sends thank you email
        adds metric events for incoming and reply emails
# [RSpecRunTime] RSpec elapsed time: 15 minutes 0.84 second. Current RSS: ~1603M. load average: 1.02 1.02 0.84 1/285 6003


  service desk is disabled for the project
    bounces the email
    doesn't create an issue
# [RSpecRunTime] RSpec elapsed time: 15 minutes 2.94 seconds. Current RSS: ~1608M. load average: 1.02 1.02 0.84 1/285 6010



# [RSpecRunTime] Finishing example group spec/lib/gitlab/email/handler/service_desk_handler_spec.rb. It took 1 minute 43.43 seconds. Expected to take 1 minute 26.94 seconds.
# [RSpecRunTime] Starting example group spec/models/concerns/deployment_platform_spec.rb. Expected to take 1 minute 15.4 seconds.

DeploymentPlatform
  does not allow STI
  #deployment_platform
    multiple clusters
      multiple clusters use the same management project
        behaves like matching environment scope
          returns environment specific cluster
          behaves like certificate_based_clusters is disabled
            is expected to be nil
# [RSpecRunTime] RSpec elapsed time: 15 minutes 7.62 seconds. Current RSS: ~1625M. load average: 1.02 1.02 0.84 1/283 6020


      when project does not have a cluster but has group clusters
        when environment scope is exactly matched
          behaves like matching environment scope
            returns environment specific cluster
            behaves like certificate_based_clusters is disabled
              is expected to be nil
# [RSpecRunTime] RSpec elapsed time: 15 minutes 11.43 seconds. Current RSS: ~1607M. load average: 1.02 1.02 0.84 1/280 6027


        when environment scope is matched by wildcard
          behaves like matching environment scope
            returns environment specific cluster
            behaves like certificate_based_clusters is disabled
              is expected to be nil
# [RSpecRunTime] RSpec elapsed time: 15 minutes 15.17 seconds. Current RSS: ~1575M. load average: 1.02 1.02 0.84 1/282 6034


        when environment scope does not match
          behaves like not matching environment scope
            returns default cluster
            behaves like certificate_based_clusters is disabled
              is expected to be nil
# [RSpecRunTime] RSpec elapsed time: 15 minutes 18.9 seconds. Current RSS: ~1573M. load average: 1.02 1.02 0.84 1/280 6041


        when group belongs to a parent group
          when parent_group has a cluster with default scope
            behaves like matching environment scope
              returns environment specific cluster
              behaves like certificate_based_clusters is disabled
                is expected to be nil
# [RSpecRunTime] RSpec elapsed time: 15 minutes 23.95 seconds. Current RSS: ~1572M. load average: 1.01 1.02 0.84 1/280 6048


          when parent_group has a cluster that is an exact match
            behaves like matching environment scope
              returns environment specific cluster
              behaves like certificate_based_clusters is disabled
                is expected to be nil
# [RSpecRunTime] RSpec elapsed time: 15 minutes 28.93 seconds. Current RSS: ~1555M. load average: 1.09 1.03 0.85 1/280 6055


      with instance clusters
        when environment scope is exactly matched
          behaves like matching environment scope
            returns environment specific cluster
            behaves like certificate_based_clusters is disabled
              is expected to be nil
# [RSpecRunTime] RSpec elapsed time: 15 minutes 32.79 seconds. Current RSS: ~1565M. load average: 1.09 1.03 0.85 1/280 6062


        when environment scope is matched by wildcard
          behaves like matching environment scope
            returns environment specific cluster
            behaves like certificate_based_clusters is disabled
              is expected to be nil
# [RSpecRunTime] RSpec elapsed time: 15 minutes 36.68 seconds. Current RSS: ~1557M. load average: 1.09 1.03 0.85 1/280 6069


        when environment scope does not match
          behaves like not matching environment scope
            returns default cluster
            behaves like certificate_based_clusters is disabled
              is expected to be nil
# [RSpecRunTime] RSpec elapsed time: 15 minutes 40.42 seconds. Current RSS: ~1560M. load average: 1.08 1.03 0.85 1/280 6076


      when environment is specified
        when environment scope is exactly matched
          behaves like matching environment scope
            returns environment specific cluster
            behaves like certificate_based_clusters is disabled
              is expected to be nil
# [RSpecRunTime] RSpec elapsed time: 15 minutes 45.07 seconds. Current RSS: ~1548M. load average: 1.07 1.03 0.85 1/280 6083


        when environment scope is matched by wildcard
          behaves like matching environment scope
            returns environment specific cluster
            behaves like certificate_based_clusters is disabled
              is expected to be nil
# [RSpecRunTime] RSpec elapsed time: 15 minutes 50.91 seconds. Current RSS: ~1550M. load average: 1.07 1.03 0.85 1/280 6090


        when environment scope does not match
          behaves like not matching environment scope
            returns default cluster
            behaves like certificate_based_clusters is disabled
              is expected to be nil
# [RSpecRunTime] RSpec elapsed time: 15 minutes 55.85 seconds. Current RSS: ~1544M. load average: 1.06 1.03 0.85 1/280 6097


        when environment scope has _
          does not treat it as wildcard
          when environment name contains an underscore
            matches literally for _
# [RSpecRunTime] RSpec elapsed time: 16 minutes 0.59 second. Current RSS: ~1555M. load average: 1.06 1.03 0.85 1/280 6104


        when environment scope has %
          does not treat it as wildcard
          when environment name contains a percent char
            matches literally for %
# [RSpecRunTime] RSpec elapsed time: 16 minutes 5.46 seconds. Current RSS: ~1550M. load average: 1.13 1.04 0.86 1/280 6111


        when perfectly matched cluster exists
          returns perfectly matched cluster as highest precedence
# [RSpecRunTime] RSpec elapsed time: 16 minutes 8.31 seconds. Current RSS: ~1545M. load average: 1.12 1.04 0.86 1/280 6115


      with multiple clusters and multiple environments
        returns the appropriate cluster
# [RSpecRunTime] RSpec elapsed time: 16 minutes 10.35 seconds. Current RSS: ~1541M. load average: 1.12 1.04 0.86 1/280 6119


    with no Kubernetes configuration on CI/CD, no Kubernetes Service
      is expected to be nil
# [RSpecRunTime] RSpec elapsed time: 16 minutes 11.48 seconds. Current RSS: ~1549M. load average: 1.12 1.04 0.86 1/280 6123


    when project is the cluster's management project
      returns the cluster with management project
# [RSpecRunTime] RSpec elapsed time: 16 minutes 13.23 seconds. Current RSS: ~1579M. load average: 1.11 1.04 0.86 1/280 6127


    when project has configured kubernetes from CI/CD > Clusters
      returns the Kubernetes platform
      with a group level kubernetes cluster
        returns the Kubernetes platform from the project cluster
# [RSpecRunTime] RSpec elapsed time: 16 minutes 16.96 seconds. Current RSS: ~1569M. load average: 1.11 1.04 0.86 1/280 6134


    when group has configured kubernetes cluster
      returns the Kubernetes platform
      when project is the cluster's management project
        returns the cluster with management project
# [RSpecRunTime] RSpec elapsed time: 16 minutes 21.26 seconds. Current RSS: ~1566M. load average: 1.10 1.04 0.86 1/280 6141


      when project is not the cluster's management project
        returns the group cluster
# [RSpecRunTime] RSpec elapsed time: 16 minutes 23.84 seconds. Current RSS: ~1565M. load average: 1.09 1.04 0.86 1/280 6145


      when child group has configured kubernetes cluster
        returns the Kubernetes platform for the child group
        deeply nested group
          returns most nested group cluster Kubernetes platform
          cluster in the middle of hierarchy is disabled
            returns closest enabled Kubenetes platform
# [RSpecRunTime] RSpec elapsed time: 16 minutes 33.2 seconds. Current RSS: ~1527M. load average: 1.08 1.04 0.87 1/280 6155


    when instance has configured kubernetes cluster
      returns the Kubernetes platform
# [RSpecRunTime] RSpec elapsed time: 16 minutes 34.6 seconds. Current RSS: ~1529M. load average: 1.08 1.04 0.87 1/280 6159



# [RSpecRunTime] Finishing example group spec/models/concerns/deployment_platform_spec.rb. It took 1 minute 31.66 seconds. Expected to take 1 minute 15.4 seconds.
# [RSpecRunTime] Starting example group spec/models/integrations/slack_spec.rb. Expected to take 1 minute 3.47 seconds.

Integrations::Slack
  does not allow STI
  behaves like Integrations::SlackMattermostNotifier
    Associations
      is expected to belong to project required: false
# [RSpecRunTime] RSpec elapsed time: 16 minutes 35.92 seconds. Current RSS: ~1547M. load average: 1.08 1.04 0.87 1/280 6166


    Validations
      when integration is active
        is expected to validate that :webhook cannot be empty/falsy
        behaves like issue tracker integration URL attribute
          is expected to allow :webhook to be ‹"https://example.com"›
          is expected not to allow :webhook to be ‹"example.com"›
          is expected not to allow :webhook to be ‹"ftp://example.com"›
          is expected not to allow :webhook to be ‹"herp-and-derp"›
# [RSpecRunTime] RSpec elapsed time: 16 minutes 38.85 seconds. Current RSS: ~1626M. load average: 1.07 1.04 0.87 1/279 6182


      when integration is inactive
        is expected not to validate that :webhook cannot be empty/falsy
    #execute
      with username for slack configured
        uses the username as an option
# [RSpecRunTime] RSpec elapsed time: 16 minutes 40.71 seconds. Current RSS: ~1650M. load average: 1.07 1.04 0.87 1/281 6216


      push events
        behaves like calls the integration API with the event message
          is expected to request POST https://8.8.8.9/ 1 time
        with event channel
          uses the right channel for push event
      tag_push events
        behaves like calls the integration API with the event message
          is expected to request POST https://8.8.8.9/ 1 time
# [RSpecRunTime] RSpec elapsed time: 16 minutes 43.6 seconds. Current RSS: ~1703M. load average: 1.07 1.04 0.87 1/284 6254


      issue events
        behaves like calls the integration API with the event message
          is expected to request POST https://8.8.8.9/ 1 time
        whith event channel
          uses the right channel for issue event
          for confidential issues
            falls back to issue channel
            and confidential_issue_channel is defined
              uses the confidential issue channel when it is defined
# [RSpecRunTime] RSpec elapsed time: 16 minutes 46.02 seconds. Current RSS: ~1711M. load average: 1.07 1.04 0.87 1/284 6267


      merge request events
        behaves like calls the integration API with the event message
          is expected to request POST https://8.8.8.9/ 1 time
# [RSpecRunTime] RSpec elapsed time: 16 minutes 47.19 seconds. Current RSS: ~1708M. load average: 1.07 1.04 0.87 1/285 6303


        with event channel
          uses the right channel for merge request event
      wiki page events
        behaves like calls the integration API with the event message
          is expected to request POST https://8.8.8.9/ 1 time
        with event channel
          uses the right channel for wiki event
      deployment events
        behaves like calls the integration API with the event message
          is expected to request POST https://8.8.8.9/ 1 time
# [RSpecRunTime] RSpec elapsed time: 16 minutes 50.13 seconds. Current RSS: ~1745M. load average: 1.06 1.04 0.87 1/284 6361


      note event
        behaves like calls the integration API with the event message
          is expected to request POST https://8.8.8.9/ 1 time
        with event channel
          uses the right channel
          for confidential notes
            falls back to note channel
            and confidential_note_channel is defined
              uses confidential channel
# [RSpecRunTime] RSpec elapsed time: 16 minutes 52.42 seconds. Current RSS: ~1745M. load average: 1.06 1.04 0.87 1/284 6374


    Push events
      on default branch
        pushing tags
          behaves like triggered Slack integration
            notifies about push events
            when the response is not successful
              logs an error
# [RSpecRunTime] RSpec elapsed time: 16 minutes 54.16 seconds. Current RSS: ~1756M. load average: 1.06 1.03 0.87 1/284 6405


        notification enabled only for default branch
          behaves like triggered Slack integration
            notifies about push events
            when the response is not successful
              logs an error
# [RSpecRunTime] RSpec elapsed time: 16 minutes 55.33 seconds. Current RSS: ~1758M. load average: 1.06 1.03 0.87 1/284 6412


        notification enabled only for protected branches
          behaves like untriggered Slack integration
            does not notify about push events
        notification enabled only for default and protected branches
          behaves like triggered Slack integration
            notifies about push events
            when the response is not successful
              logs an error
# [RSpecRunTime] RSpec elapsed time: 16 minutes 56.96 seconds. Current RSS: ~1763M. load average: 1.06 1.03 0.87 1/284 6422


        notification enabled for all branches
          behaves like triggered Slack integration
            notifies about push events
            when the response is not successful
              logs an error
# [RSpecRunTime] RSpec elapsed time: 16 minutes 58.12 seconds. Current RSS: ~1767M. load average: 1.05 1.03 0.87 1/284 6429


      on a protected branch
        pushing tags
          behaves like triggered Slack integration
            notifies about push events
            when the response is not successful
              logs an error
# [RSpecRunTime] RSpec elapsed time: 16 minutes 59.31 seconds. Current RSS: ~1766M. load average: 1.05 1.03 0.87 1/284 6449


        notification enabled only for default branch
          behaves like untriggered Slack integration
            does not notify about push events
        notification enabled only for protected branches
          behaves like triggered Slack integration
            notifies about push events
            when the response is not successful
              logs an error
# [RSpecRunTime] RSpec elapsed time: 17 minutes 0.93 second. Current RSS: ~1767M. load average: 1.05 1.03 0.87 1/285 6459


        notification enabled only for default and protected branches
          behaves like triggered Slack integration
            notifies about push events
            when the response is not successful
              logs an error
# [RSpecRunTime] RSpec elapsed time: 17 minutes 2.12 seconds. Current RSS: ~1768M. load average: 1.05 1.03 0.87 1/285 6466


        notification enabled for all branches
          behaves like triggered Slack integration
            notifies about push events
            when the response is not successful
              logs an error
# [RSpecRunTime] RSpec elapsed time: 17 minutes 3.28 seconds. Current RSS: ~1769M. load average: 1.05 1.03 0.87 1/285 6473


      on a protected branch with protected branches defined using wildcards
        pushing tags
          behaves like triggered Slack integration
            notifies about push events
            when the response is not successful
              logs an error
# [RSpecRunTime] RSpec elapsed time: 17 minutes 4.46 seconds. Current RSS: ~1765M. load average: 1.05 1.03 0.87 1/284 6493


        notification enabled only for default branch
          behaves like untriggered Slack integration
            does not notify about push events
        notification enabled only for protected branches
          behaves like triggered Slack integration
            notifies about push events
            when the response is not successful
              logs an error
# [RSpecRunTime] RSpec elapsed time: 17 minutes 6.22 seconds. Current RSS: ~1760M. load average: 1.05 1.03 0.87 1/284 6503


        notification enabled only for default and protected branches
          behaves like triggered Slack integration
            notifies about push events
            when the response is not successful
              logs an error
# [RSpecRunTime] RSpec elapsed time: 17 minutes 7.36 seconds. Current RSS: ~1759M. load average: 1.05 1.03 0.87 1/284 6510


        notification enabled for all branches
          behaves like triggered Slack integration
            notifies about push events
            when the response is not successful
              logs an error
# [RSpecRunTime] RSpec elapsed time: 17 minutes 8.51 seconds. Current RSS: ~1755M. load average: 1.04 1.03 0.87 1/284 6517


      on a neither protected nor default branch
        pushing tags
          behaves like triggered Slack integration
            notifies about push events
            when the response is not successful
              logs an error
# [RSpecRunTime] RSpec elapsed time: 17 minutes 9.68 seconds. Current RSS: ~1755M. load average: 1.04 1.03 0.87 1/284 6532


        notification enabled only for default branch
          behaves like untriggered Slack integration
            does not notify about push events
        notification enabled only for protected branches
          behaves like untriggered Slack integration
            does not notify about push events
        notification enabled only for default and protected branches
          behaves like untriggered Slack integration
            does not notify about push events
        notification enabled for all branches
          behaves like triggered Slack integration
            notifies about push events
            when the response is not successful
              logs an error
# [RSpecRunTime] RSpec elapsed time: 17 minutes 12.42 seconds. Current RSS: ~1754M. load average: 1.04 1.03 0.87 1/283 6548


    Note events
      when commit comment event executed
        behaves like triggered Slack integration
          notifies about commit comment events
          when the response is not successful
            logs an error
# [RSpecRunTime] RSpec elapsed time: 17 minutes 14.26 seconds. Current RSS: ~1756M. load average: 1.04 1.03 0.87 1/284 6581


      when merge request comment event executed
        behaves like triggered Slack integration
          notifies about merge request comment events
          when the response is not successful
            logs an error
# [RSpecRunTime] RSpec elapsed time: 17 minutes 16.28 seconds. Current RSS: ~1745M. load average: 1.04 1.03 0.87 1/285 6648


      when issue comment event executed
        behaves like triggered Slack integration
          notifies about issue comment events
          when the response is not successful
            logs an error
# [RSpecRunTime] RSpec elapsed time: 17 minutes 17.68 seconds. Current RSS: ~1736M. load average: 1.04 1.03 0.87 1/285 6655


      when snippet comment event executed
        behaves like triggered Slack integration
          notifies about snippet comment events
          when the response is not successful
            logs an error
# [RSpecRunTime] RSpec elapsed time: 17 minutes 18.95 seconds. Current RSS: ~1729M. load average: 1.04 1.03 0.87 1/284 6662


    Pipeline events
      with succeeded pipeline
        with default to notify_only_broken_pipelines
          behaves like untriggered Slack integration
            does not notify about pipeline events
# [RSpecRunTime] RSpec elapsed time: 17 minutes 20.3 seconds. Current RSS: ~1719M. load average: 1.04 1.03 0.87 1/284 6688


        with setting notify_only_broken_pipelines to false
          behaves like triggered Slack integration
            notifies about pipeline events
            when the response is not successful
              logs an error
# [RSpecRunTime] RSpec elapsed time: 17 minutes 21.72 seconds. Current RSS: ~1701M. load average: 1.04 1.03 0.87 1/284 6711


      with failed pipeline
        on default branch
          notification enabled only for default branch
            behaves like triggered Slack integration
              notifies about pipeline events
              when the response is not successful
                logs an error
# [RSpecRunTime] RSpec elapsed time: 17 minutes 23.23 seconds. Current RSS: ~1696M. load average: 1.03 1.03 0.88 1/284 6734


          notification enabled only for protected branches
            behaves like untriggered Slack integration
              does not notify about pipeline events
          notification enabled only for default and protected branches
            behaves like triggered Slack integration
              notifies about pipeline events
              when the response is not successful
                logs an error
# [RSpecRunTime] RSpec elapsed time: 17 minutes 25.35 seconds. Current RSS: ~1696M. load average: 1.03 1.03 0.88 1/284 6766


          notification enabled for all branches
            behaves like triggered Slack integration
              notifies about pipeline events
              when the response is not successful
                logs an error
# [RSpecRunTime] RSpec elapsed time: 17 minutes 26.78 seconds. Current RSS: ~1697M. load average: 1.03 1.03 0.88 1/284 6789


        on a protected branch
          notification enabled only for default branch
            behaves like untriggered Slack integration
              does not notify about pipeline events
          notification enabled only for protected branches
            behaves like triggered Slack integration
              notifies about pipeline events
              when the response is not successful
                logs an error
# [RSpecRunTime] RSpec elapsed time: 17 minutes 28.87 seconds. Current RSS: ~1695M. load average: 1.03 1.03 0.88 1/284 6826


          notification enabled only for default and protected branches
            behaves like triggered Slack integration
              notifies about pipeline events
              when the response is not successful
                logs an error
# [RSpecRunTime] RSpec elapsed time: 17 minutes 30.39 seconds. Current RSS: ~1693M. load average: 1.03 1.03 0.88 1/284 6849


          notification enabled for all branches
            behaves like triggered Slack integration
              notifies about pipeline events
              when the response is not successful
                logs an error
# [RSpecRunTime] RSpec elapsed time: 17 minutes 31.78 seconds. Current RSS: ~1693M. load average: 1.03 1.03 0.88 1/284 6872


        on a protected branch with protected branches defined usin wildcards
          notification enabled only for default branch
            behaves like untriggered Slack integration
              does not notify about pipeline events
          notification enabled only for protected branches
            behaves like triggered Slack integration
              notifies about pipeline events
              when the response is not successful
                logs an error
# [RSpecRunTime] RSpec elapsed time: 17 minutes 33.92 seconds. Current RSS: ~1690M. load average: 1.03 1.03 0.88 1/284 6909


          notification enabled only for default and protected branches
            behaves like triggered Slack integration
              notifies about pipeline events
              when the response is not successful
                logs an error
# [RSpecRunTime] RSpec elapsed time: 17 minutes 35.33 seconds. Current RSS: ~1688M. load average: 1.03 1.03 0.88 1/284 6932


          notification enabled for all branches
            behaves like triggered Slack integration
              notifies about pipeline events
              when the response is not successful
                logs an error
# [RSpecRunTime] RSpec elapsed time: 17 minutes 36.75 seconds. Current RSS: ~1686M. load average: 1.03 1.03 0.88 1/284 6955


        on a neither protected nor default branch
          notification enabled only for default branch
            behaves like untriggered Slack integration
              does not notify about pipeline events
          notification enabled only for protected branches
            behaves like untriggered Slack integration
              does not notify about pipeline events
          notification enabled only for default and protected branches
            behaves like untriggered Slack integration
              does not notify about pipeline events
          notification enabled for all branches
            behaves like triggered Slack integration
              notifies about pipeline events
              when the response is not successful
                logs an error
# [RSpecRunTime] RSpec elapsed time: 17 minutes 40.08 seconds. Current RSS: ~1690M. load average: 1.02 1.03 0.88 1/284 7005


    Deployment events
      behaves like triggered Slack integration
        notifies about deployment events
        when the response is not successful
          logs an error
# [RSpecRunTime] RSpec elapsed time: 17 minutes 42.4 seconds. Current RSS: ~1694M. load average: 1.02 1.03 0.88 1/284 7043


      on a protected branch
        notification enabled only for default branch
          behaves like untriggered Slack integration
            does not notify about pipeline events
# [RSpecRunTime] RSpec elapsed time: 17 minutes 43.65 seconds. Current RSS: ~1696M. load average: 1.02 1.03 0.88 1/284 7067


        notification enabled only for protected branches
          behaves like triggered Slack integration
            notifies about pipeline events
            when the response is not successful
              logs an error
# [RSpecRunTime] RSpec elapsed time: 17 minutes 44.79 seconds. Current RSS: ~1696M. load average: 1.02 1.03 0.88 1/284 7074


        notification enabled only for default and protected branches
          behaves like triggered Slack integration
            notifies about pipeline events
            when the response is not successful
              logs an error
# [RSpecRunTime] RSpec elapsed time: 17 minutes 45.93 seconds. Current RSS: ~1698M. load average: 1.02 1.03 0.88 1/284 7081


        notification enabled for all branches
          behaves like triggered Slack integration
            notifies about pipeline events
            when the response is not successful
              logs an error
# [RSpecRunTime] RSpec elapsed time: 17 minutes 47.04 seconds. Current RSS: ~1703M. load average: 1.02 1.03 0.88 1/284 7088


  behaves like Integrations::BaseSlackNotification
    #execute
      uses only known events
      when hook data includes a user object
        when event is not supported for usage log
          does not increase the usage data counter
# [RSpecRunTime] RSpec elapsed time: 17 minutes 48.95 seconds. Current RSS: ~1708M. load average: 1.02 1.03 0.88 1/284 7117


        for issue notification
          behaves like increases the usage data counter
            increases the usage data counter
            behaves like Snowplow event tracking with RedisHLL context
              behaves like Snowplow event tracking
                is emitted
# [RSpecRunTime] RSpec elapsed time: 17 minutes 50.09 seconds. Current RSS: ~1707M. load average: 1.02 1.03 0.88 1/284 7124


        for push notification
          behaves like increases the usage data counter
            increases the usage data counter
            behaves like Snowplow event tracking with RedisHLL context
              behaves like Snowplow event tracking
                is emitted
# [RSpecRunTime] RSpec elapsed time: 17 minutes 51.22 seconds. Current RSS: ~1713M. load average: 1.02 1.03 0.88 1/284 7149


        for deployment notification
          behaves like increases the usage data counter
            increases the usage data counter
            behaves like Snowplow event tracking with RedisHLL context
              behaves like Snowplow event tracking
                is emitted
# [RSpecRunTime] RSpec elapsed time: 17 minutes 52.94 seconds. Current RSS: ~1714M. load average: 1.02 1.03 0.88 1/285 7169


        for wiki_page notification
          behaves like increases the usage data counter
            increases the usage data counter
            behaves like Snowplow event tracking with RedisHLL context
              behaves like Snowplow event tracking
                is emitted
# [RSpecRunTime] RSpec elapsed time: 17 minutes 54.17 seconds. Current RSS: ~1714M. load average: 1.02 1.03 0.88 1/285 7208


        for merge_request notification
          behaves like increases the usage data counter
            increases the usage data counter
            behaves like Snowplow event tracking with RedisHLL context
              behaves like Snowplow event tracking
                is emitted
# [RSpecRunTime] RSpec elapsed time: 17 minutes 55.78 seconds. Current RSS: ~1709M. load average: 1.02 1.03 0.88 1/286 7247


        for note notification
          behaves like increases the usage data counter
            increases the usage data counter
            behaves like Snowplow event tracking with RedisHLL context
              behaves like Snowplow event tracking
                is emitted
# [RSpecRunTime] RSpec elapsed time: 17 minutes 56.94 seconds. Current RSS: ~1706M. load average: 1.02 1.03 0.88 1/286 7254


        for tag_push notification
          behaves like increases the usage data counter
            increases the usage data counter
            behaves like Snowplow event tracking with RedisHLL context
              behaves like Snowplow event tracking
                is emitted
# [RSpecRunTime] RSpec elapsed time: 17 minutes 58.44 seconds. Current RSS: ~1703M. load average: 1.02 1.03 0.88 1/285 7281


        for confidential note notification
          behaves like increases the usage data counter
            increases the usage data counter
            behaves like Snowplow event tracking with RedisHLL context
              behaves like Snowplow event tracking
                is emitted
# [RSpecRunTime] RSpec elapsed time: 17 minutes 59.6 seconds. Current RSS: ~1701M. load average: 1.02 1.03 0.88 1/285 7288


        for confidential issue notification
          behaves like increases the usage data counter
            increases the usage data counter
            behaves like Snowplow event tracking with RedisHLL context
              behaves like Snowplow event tracking
                is emitted
# [RSpecRunTime] RSpec elapsed time: 18 minutes 0.68 second. Current RSS: ~1700M. load average: 1.02 1.03 0.88 1/285 7295


      when hook data does not include a user
        does not increase the usage data counter
  behaves like supports group mentions
    supports group mentions
    #supported_events
      when used in a project
        does not support group mentions
# [RSpecRunTime] RSpec elapsed time: 18 minutes 2.62 seconds. Current RSS: ~1706M. load average: 1.02 1.03 0.88 1/285 7309


      when used in a group
        supports group mentions

# [RSpecRunTime] Finishing example group spec/models/integrations/slack_spec.rb. It took 1 minute 28.62 seconds. Expected to take 1 minute 3.47 seconds.
# [RSpecRunTime] Starting example group spec/services/ci/drop_pipelines_and_disable_schedules_for_user_service_spec.rb. Expected to take 57.88 seconds.

Ci::DropPipelinesAndDisableSchedulesForUserService
  #execute
    when user owns pipelines/schedules and groups with other users also owning pipelines/schedules
      drops running pipelines/disabled active schedules owned by user
      avoids N+1 queries when reading data
      when include_owned_projects_and_groups is true
        drops running pipelines/disabled active schedules owned by user and/or in their owned groups/descendants
        avoids N+1 queries when reading data
# [RSpecRunTime] RSpec elapsed time: 19 minutes 7.1 seconds. Current RSS: ~1519M. load average: 1.05 1.02 0.89 1/284 7589



# [RSpecRunTime] Finishing example group spec/services/ci/drop_pipelines_and_disable_schedules_for_user_service_spec.rb. It took 1 minute 3.9 seconds. Expected to take 57.88 seconds.
# [RSpecRunTime] Starting example group spec/finders/packages/group_packages_finder_spec.rb. Expected to take 53.5 seconds.

Packages::GroupPackagesFinder
  #execute
    group has packages
      is expected to contain exactly #<Packages::Package id: 2, project_id: 122, created_at: "2024-03-18 01:46:22.036222400 +0000", update...age_type: "maven", creator_id: 457, status: "default", last_downloaded_at: nil, status_message: nil> and #<Packages::Package id: 4, project_id: 122, created_at: "2024-03-18 01:46:22.451709413 +0000", update...age_type: "maven", creator_id: 457, status: "default", last_downloaded_at: nil, status_message: nil>
      subgroup has packages
        is expected to contain exactly #<Packages::Package id: 2, project_id: 122, created_at: "2024-03-18 01:46:22.036222400 +0000", update...age_type: "maven", creator_id: 457, status: "default", last_downloaded_at: nil, status_message: nil>, #<Packages::Package id: 4, project_id: 122, created_at: "2024-03-18 01:46:22.451709413 +0000", update...age_type: "maven", creator_id: 457, status: "default", last_downloaded_at: nil, status_message: nil>, and #<Packages::Package id: 7, project_id: 127, created_at: "2024-03-18 01:46:24.302931196 +0000", update...ckage_type: "npm", creator_id: 462, status: "default", last_downloaded_at: nil, status_message: nil>
        excluding subgroups
          is expected to contain exactly #<Packages::Package id: 2, project_id: 122, created_at: "2024-03-18 01:46:22.036222400 +0000", update...age_type: "maven", creator_id: 457, status: "default", last_downloaded_at: nil, status_message: nil> and #<Packages::Package id: 4, project_id: 122, created_at: "2024-03-18 01:46:22.451709413 +0000", update...age_type: "maven", creator_id: 457, status: "default", last_downloaded_at: nil, status_message: nil>
# [RSpecRunTime] RSpec elapsed time: 19 minutes 11.76 seconds. Current RSS: ~1561M. load average: 1.04 1.02 0.90 1/281 7599


        permissions
          role: :anonymous, project_visibility: :public, repository_visibility: :enabled, packages_returned: :all
            is expected to contain exactly #<Packages::Package id: 2, project_id: 122, created_at: "2024-03-18 01:46:22.036222400 +0000", update...age_type: "maven", creator_id: 457, status: "default", last_downloaded_at: nil, status_message: nil>, #<Packages::Package id: 4, project_id: 122, created_at: "2024-03-18 01:46:22.451709413 +0000", update...age_type: "maven", creator_id: 457, status: "default", last_downloaded_at: nil, status_message: nil>, and #<Packages::Package id: 7, project_id: 127, created_at: "2024-03-18 01:46:24.302931196 +0000", update...ckage_type: "npm", creator_id: 462, status: "default", last_downloaded_at: nil, status_message: nil>
          role: :guest, project_visibility: :public, repository_visibility: :enabled, packages_returned: :all
            is expected to contain exactly #<Packages::Package id: 2, project_id: 122, created_at: "2024-03-18 01:46:22.036222400 +0000", update...age_type: "maven", creator_id: 457, status: "default", last_downloaded_at: nil, status_message: nil>, #<Packages::Package id: 4, project_id: 122, created_at: "2024-03-18 01:46:22.451709413 +0000", update...age_type: "maven", creator_id: 457, status: "default", last_downloaded_at: nil, status_message: nil>, and #<Packages::Package id: 7, project_id: 127, created_at: "2024-03-18 01:46:24.302931196 +0000", update...ckage_type: "npm", creator_id: 462, status: "default", last_downloaded_at: nil, status_message: nil>
# [RSpecRunTime] RSpec elapsed time: 19 minutes 13.67 seconds. Current RSS: ~1575M. load average: 1.04 1.02 0.90 1/281 7606


          role: :reporter, project_visibility: :public, repository_visibility: :enabled, packages_returned: :all
            is expected to contain exactly #<Packages::Package id: 2, project_id: 122, created_at: "2024-03-18 01:46:22.036222400 +0000", update...age_type: "maven", creator_id: 457, status: "default", last_downloaded_at: nil, status_message: nil>, #<Packages::Package id: 4, project_id: 122, created_at: "2024-03-18 01:46:22.451709413 +0000", update...age_type: "maven", creator_id: 457, status: "default", last_downloaded_at: nil, status_message: nil>, and #<Packages::Package id: 7, project_id: 127, created_at: "2024-03-18 01:46:24.302931196 +0000", update...ckage_type: "npm", creator_id: 462, status: "default", last_downloaded_at: nil, status_message: nil>
# [RSpecRunTime] RSpec elapsed time: 19 minutes 14.73 seconds. Current RSS: ~1595M. load average: 1.04 1.02 0.90 1/281 7610


          role: :developer, project_visibility: :public, repository_visibility: :enabled, packages_returned: :all
            is expected to contain exactly #<Packages::Package id: 2, project_id: 122, created_at: "2024-03-18 01:46:22.036222400 +0000", update...age_type: "maven", creator_id: 457, status: "default", last_downloaded_at: nil, status_message: nil>, #<Packages::Package id: 4, project_id: 122, created_at: "2024-03-18 01:46:22.451709413 +0000", update...age_type: "maven", creator_id: 457, status: "default", last_downloaded_at: nil, status_message: nil>, and #<Packages::Package id: 7, project_id: 127, created_at: "2024-03-18 01:46:24.302931196 +0000", update...ckage_type: "npm", creator_id: 462, status: "default", last_downloaded_at: nil, status_message: nil>
# [RSpecRunTime] RSpec elapsed time: 19 minutes 15.92 seconds. Current RSS: ~1600M. load average: 1.04 1.02 0.90 1/281 7614


          role: :maintainer, project_visibility: :public, repository_visibility: :enabled, packages_returned: :all
            is expected to contain exactly #<Packages::Package id: 2, project_id: 122, created_at: "2024-03-18 01:46:22.036222400 +0000", update...age_type: "maven", creator_id: 457, status: "default", last_downloaded_at: nil, status_message: nil>, #<Packages::Package id: 4, project_id: 122, created_at: "2024-03-18 01:46:22.451709413 +0000", update...age_type: "maven", creator_id: 457, status: "default", last_downloaded_at: nil, status_message: nil>, and #<Packages::Package id: 7, project_id: 127, created_at: "2024-03-18 01:46:24.302931196 +0000", update...ckage_type: "npm", creator_id: 462, status: "default", last_downloaded_at: nil, status_message: nil>
# [RSpecRunTime] RSpec elapsed time: 19 minutes 17.0 seconds. Current RSS: ~1600M. load average: 1.04 1.02 0.90 1/281 7618


          role: :anonymous, project_visibility: :public, repository_visibility: :private, packages_returned: :none
            is expected to contain exactly
          role: :guest, project_visibility: :public, repository_visibility: :private, packages_returned: :all
            is expected to contain exactly #<Packages::Package id: 2, project_id: 122, created_at: "2024-03-18 01:46:22.036222400 +0000", update...age_type: "maven", creator_id: 457, status: "default", last_downloaded_at: nil, status_message: nil>, #<Packages::Package id: 4, project_id: 122, created_at: "2024-03-18 01:46:22.451709413 +0000", update...age_type: "maven", creator_id: 457, status: "default", last_downloaded_at: nil, status_message: nil>, and #<Packages::Package id: 7, project_id: 127, created_at: "2024-03-18 01:46:24.302931196 +0000", update...ckage_type: "npm", creator_id: 462, status: "default", last_downloaded_at: nil, status_message: nil>
# [RSpecRunTime] RSpec elapsed time: 19 minutes 20.19 seconds. Current RSS: ~1604M. load average: 1.04 1.02 0.90 1/281 7625


          role: :reporter, project_visibility: :public, repository_visibility: :private, packages_returned: :all
            is expected to contain exactly #<Packages::Package id: 2, project_id: 122, created_at: "2024-03-18 01:46:22.036222400 +0000", update...age_type: "maven", creator_id: 457, status: "default", last_downloaded_at: nil, status_message: nil>, #<Packages::Package id: 4, project_id: 122, created_at: "2024-03-18 01:46:22.451709413 +0000", update...age_type: "maven", creator_id: 457, status: "default", last_downloaded_at: nil, status_message: nil>, and #<Packages::Package id: 7, project_id: 127, created_at: "2024-03-18 01:46:24.302931196 +0000", update...ckage_type: "npm", creator_id: 462, status: "default", last_downloaded_at: nil, status_message: nil>
# [RSpecRunTime] RSpec elapsed time: 19 minutes 21.46 seconds. Current RSS: ~1607M. load average: 1.04 1.02 0.90 1/281 7629


          role: :developer, project_visibility: :public, repository_visibility: :private, packages_returned: :all
            is expected to contain exactly #<Packages::Package id: 2, project_id: 122, created_at: "2024-03-18 01:46:22.036222400 +0000", update...age_type: "maven", creator_id: 457, status: "default", last_downloaded_at: nil, status_message: nil>, #<Packages::Package id: 4, project_id: 122, created_at: "2024-03-18 01:46:22.451709413 +0000", update...age_type: "maven", creator_id: 457, status: "default", last_downloaded_at: nil, status_message: nil>, and #<Packages::Package id: 7, project_id: 127, created_at: "2024-03-18 01:46:24.302931196 +0000", update...ckage_type: "npm", creator_id: 462, status: "default", last_downloaded_at: nil, status_message: nil>
# [RSpecRunTime] RSpec elapsed time: 19 minutes 22.6 seconds. Current RSS: ~1606M. load average: 1.04 1.02 0.90 1/281 7633


          role: :maintainer, project_visibility: :public, repository_visibility: :private, packages_returned: :all
            is expected to contain exactly #<Packages::Package id: 2, project_id: 122, created_at: "2024-03-18 01:46:22.036222400 +0000", update...age_type: "maven", creator_id: 457, status: "default", last_downloaded_at: nil, status_message: nil>, #<Packages::Package id: 4, project_id: 122, created_at: "2024-03-18 01:46:22.451709413 +0000", update...age_type: "maven", creator_id: 457, status: "default", last_downloaded_at: nil, status_message: nil>, and #<Packages::Package id: 7, project_id: 127, created_at: "2024-03-18 01:46:24.302931196 +0000", update...ckage_type: "npm", creator_id: 462, status: "default", last_downloaded_at: nil, status_message: nil>
# [RSpecRunTime] RSpec elapsed time: 19 minutes 23.8 seconds. Current RSS: ~1604M. load average: 1.03 1.02 0.90 2/281 7637


          role: :anonymous, project_visibility: :private, repository_visibility: :enabled, packages_returned: :none
            is expected to contain exactly
          role: :guest, project_visibility: :private, repository_visibility: :enabled, packages_returned: :none
            is expected to contain exactly
# [RSpecRunTime] RSpec elapsed time: 19 minutes 25.91 seconds. Current RSS: ~1616M. load average: 1.03 1.02 0.90 1/282 7649


          role: :reporter, project_visibility: :private, repository_visibility: :enabled, packages_returned: :all
            is expected to contain exactly #<Packages::Package id: 2, project_id: 122, created_at: "2024-03-18 01:46:22.036222400 +0000", update...age_type: "maven", creator_id: 457, status: "default", last_downloaded_at: nil, status_message: nil>, #<Packages::Package id: 4, project_id: 122, created_at: "2024-03-18 01:46:22.451709413 +0000", update...age_type: "maven", creator_id: 457, status: "default", last_downloaded_at: nil, status_message: nil>, and #<Packages::Package id: 7, project_id: 127, created_at: "2024-03-18 01:46:24.302931196 +0000", update...ckage_type: "npm", creator_id: 462, status: "default", last_downloaded_at: nil, status_message: nil>
# [RSpecRunTime] RSpec elapsed time: 19 minutes 27.16 seconds. Current RSS: ~1615M. load average: 1.03 1.02 0.90 1/282 7655


          role: :developer, project_visibility: :private, repository_visibility: :enabled, packages_returned: :all
            is expected to contain exactly #<Packages::Package id: 2, project_id: 122, created_at: "2024-03-18 01:46:22.036222400 +0000", update...age_type: "maven", creator_id: 457, status: "default", last_downloaded_at: nil, status_message: nil>, #<Packages::Package id: 4, project_id: 122, created_at: "2024-03-18 01:46:22.451709413 +0000", update...age_type: "maven", creator_id: 457, status: "default", last_downloaded_at: nil, status_message: nil>, and #<Packages::Package id: 7, project_id: 127, created_at: "2024-03-18 01:46:24.302931196 +0000", update...ckage_type: "npm", creator_id: 462, status: "default", last_downloaded_at: nil, status_message: nil>
# [RSpecRunTime] RSpec elapsed time: 19 minutes 28.4 seconds. Current RSS: ~1607M. load average: 1.03 1.02 0.90 1/282 7661


          role: :maintainer, project_visibility: :private, repository_visibility: :enabled, packages_returned: :all
            is expected to contain exactly #<Packages::Package id: 2, project_id: 122, created_at: "2024-03-18 01:46:22.036222400 +0000", update...age_type: "maven", creator_id: 457, status: "default", last_downloaded_at: nil, status_message: nil>, #<Packages::Package id: 4, project_id: 122, created_at: "2024-03-18 01:46:22.451709413 +0000", update...age_type: "maven", creator_id: 457, status: "default", last_downloaded_at: nil, status_message: nil>, and #<Packages::Package id: 7, project_id: 127, created_at: "2024-03-18 01:46:24.302931196 +0000", update...ckage_type: "npm", creator_id: 462, status: "default", last_downloaded_at: nil, status_message: nil>
# [RSpecRunTime] RSpec elapsed time: 19 minutes 29.53 seconds. Current RSS: ~1601M. load average: 1.03 1.02 0.90 1/282 7667


          role: :anonymous, project_visibility: :private, repository_visibility: :private, packages_returned: :none
            is expected to contain exactly
          role: :guest, project_visibility: :private, repository_visibility: :private, packages_returned: :none
            is expected to contain exactly
# [RSpecRunTime] RSpec elapsed time: 19 minutes 31.45 seconds. Current RSS: ~1608M. load average: 1.03 1.02 0.90 1/282 7678


          role: :reporter, project_visibility: :private, repository_visibility: :private, packages_returned: :all
            is expected to contain exactly #<Packages::Package id: 2, project_id: 122, created_at: "2024-03-18 01:46:22.036222400 +0000", update...age_type: "maven", creator_id: 457, status: "default", last_downloaded_at: nil, status_message: nil>, #<Packages::Package id: 4, project_id: 122, created_at: "2024-03-18 01:46:22.451709413 +0000", update...age_type: "maven", creator_id: 457, status: "default", last_downloaded_at: nil, status_message: nil>, and #<Packages::Package id: 7, project_id: 127, created_at: "2024-03-18 01:46:24.302931196 +0000", update...ckage_type: "npm", creator_id: 462, status: "default", last_downloaded_at: nil, status_message: nil>
# [RSpecRunTime] RSpec elapsed time: 19 minutes 32.61 seconds. Current RSS: ~1608M. load average: 1.03 1.02 0.90 1/282 7684


          role: :developer, project_visibility: :private, repository_visibility: :private, packages_returned: :all
            is expected to contain exactly #<Packages::Package id: 2, project_id: 122, created_at: "2024-03-18 01:46:22.036222400 +0000", update...age_type: "maven", creator_id: 457, status: "default", last_downloaded_at: nil, status_message: nil>, #<Packages::Package id: 4, project_id: 122, created_at: "2024-03-18 01:46:22.451709413 +0000", update...age_type: "maven", creator_id: 457, status: "default", last_downloaded_at: nil, status_message: nil>, and #<Packages::Package id: 7, project_id: 127, created_at: "2024-03-18 01:46:24.302931196 +0000", update...ckage_type: "npm", creator_id: 462, status: "default", last_downloaded_at: nil, status_message: nil>
# [RSpecRunTime] RSpec elapsed time: 19 minutes 33.82 seconds. Current RSS: ~1607M. load average: 1.03 1.02 0.90 1/282 7690


          role: :maintainer, project_visibility: :private, repository_visibility: :private, packages_returned: :all
            is expected to contain exactly #<Packages::Package id: 2, project_id: 122, created_at: "2024-03-18 01:46:22.036222400 +0000", update...age_type: "maven", creator_id: 457, status: "default", last_downloaded_at: nil, status_message: nil>, #<Packages::Package id: 4, project_id: 122, created_at: "2024-03-18 01:46:22.451709413 +0000", update...age_type: "maven", creator_id: 457, status: "default", last_downloaded_at: nil, status_message: nil>, and #<Packages::Package id: 7, project_id: 127, created_at: "2024-03-18 01:46:24.302931196 +0000", update...ckage_type: "npm", creator_id: 462, status: "default", last_downloaded_at: nil, status_message: nil>
# [RSpecRunTime] RSpec elapsed time: 19 minutes 34.98 seconds. Current RSS: ~1604M. load average: 1.03 1.02 0.90 1/282 7696


        deploy tokens
          group deploy token
            is expected to contain exactly #<Packages::Package id: 2, project_id: 122, created_at: "2024-03-18 01:46:22.036222400 +0000", update...age_type: "maven", creator_id: 457, status: "default", last_downloaded_at: nil, status_message: nil>, #<Packages::Package id: 4, project_id: 122, created_at: "2024-03-18 01:46:22.451709413 +0000", update...age_type: "maven", creator_id: 457, status: "default", last_downloaded_at: nil, status_message: nil>, and #<Packages::Package id: 7, project_id: 127, created_at: "2024-03-18 01:46:24.302931196 +0000", update...ckage_type: "npm", creator_id: 462, status: "default", last_downloaded_at: nil, status_message: nil>
            behaves like disabling package registry for project
              is expected to contain exactly #<Packages::Package id: 7, project_id: 127, created_at: "2024-03-18 01:46:24.302931196 +0000", update...ckage_type: "npm", creator_id: 462, status: "default", last_downloaded_at: nil, status_message: nil>
# [RSpecRunTime] RSpec elapsed time: 19 minutes 36.11 seconds. Current RSS: ~1621M. load average: 1.03 1.02 0.90 1/282 7703


          project deploy token
            is expected to contain exactly #<Packages::Package id: 7, project_id: 127, created_at: "2024-03-18 01:46:24.302931196 +0000", update...ckage_type: "npm", creator_id: 462, status: "default", last_downloaded_at: nil, status_message: nil>
            behaves like disabling package registry for project
              is expected to contain exactly
# [RSpecRunTime] RSpec elapsed time: 19 minutes 37.29 seconds. Current RSS: ~1641M. load average: 1.03 1.02 0.90 1/282 7710


        avoid N+1 query
          avoids N+1 database queries
# [RSpecRunTime] RSpec elapsed time: 19 minutes 43.94 seconds. Current RSS: ~1536M. load average: 1.02 1.02 0.90 1/282 7714


      when there are processing packages
        is expected to contain exactly #<Packages::Package id: 2, project_id: 122, created_at: "2024-03-18 01:46:22.036222400 +0000", update...age_type: "maven", creator_id: 457, status: "default", last_downloaded_at: nil, status_message: nil> and #<Packages::Package id: 4, project_id: 122, created_at: "2024-03-18 01:46:22.451709413 +0000", update...age_type: "maven", creator_id: 457, status: "default", last_downloaded_at: nil, status_message: nil>
      preload_pipelines
        preloads pipelines by default
        set to false
          does not preload pipelines
# [RSpecRunTime] RSpec elapsed time: 19 minutes 46.1 seconds. Current RSS: ~1566M. load average: 1.02 1.02 0.90 1/282 7724


      with package_name
        as complete name
          is expected to eq [#<Packages::Package id: 26, project_id: 122, created_at: "2024-03-18 01:47:00.374771474 +0000", upda...ge_type: "maven", creator_id: 457, status: "default", last_downloaded_at: nil, status_message: nil>]
# [RSpecRunTime] RSpec elapsed time: 19 minutes 48.46 seconds. Current RSS: ~1595M. load average: 1.02 1.02 0.90 1/282 7728


        for fuzzy filter aven
          is expected to eq [#<Packages::Package id: 26, project_id: 122, created_at: "2024-03-18 01:47:00.374771474 +0000", upda...ge_type: "maven", creator_id: 457, status: "default", last_downloaded_at: nil, status_message: nil>]
        for fuzzy filter mav
          is expected to eq [#<Packages::Package id: 26, project_id: 122, created_at: "2024-03-18 01:47:00.374771474 +0000", upda...ge_type: "maven", creator_id: 457, status: "default", last_downloaded_at: nil, status_message: nil>]
        for fuzzy filter ave
          is expected to eq [#<Packages::Package id: 26, project_id: 122, created_at: "2024-03-18 01:47:00.374771474 +0000", upda...ge_type: "maven", creator_id: 457, status: "default", last_downloaded_at: nil, status_message: nil>]
      with exact package_name
        as complete name
          is expected to contain exactly #<Packages::Package id: 28, project_id: 122, created_at: "2024-03-18 01:47:04.773422574 +0000", updat...age_type: "maven", creator_id: 457, status: "default", last_downloaded_at: nil, status_message: nil>
# [RSpecRunTime] RSpec elapsed time: 19 minutes 51.96 seconds. Current RSS: ~1632M. load average: 1.02 1.02 0.90 1/282 7741


      behaves like concerning versionless param
        is expected not to include #<Packages::Package id: 32, project_id: 122, created_at: "2024-03-18 01:47:06.269875562 +0000", updat...age_type: "maven", creator_id: 457, status: "default", last_downloaded_at: nil, status_message: nil>
        with valid include_versionless param
          is expected to include #<Packages::Package id: 32, project_id: 122, created_at: "2024-03-18 01:47:06.269875562 +0000", updat...age_type: "maven", creator_id: 457, status: "default", last_downloaded_at: nil, status_message: nil>
# [RSpecRunTime] RSpec elapsed time: 19 minutes 53.71 seconds. Current RSS: ~1629M. load average: 1.02 1.01 0.90 1/282 7748


        with empty include_versionless param
          is expected not to include #<Packages::Package id: 32, project_id: 122, created_at: "2024-03-18 01:47:06.269875562 +0000", updat...age_type: "maven", creator_id: 457, status: "default", last_downloaded_at: nil, status_message: nil>
      behaves like concerning package statuses
        displayable packages
          is expected not to include #<Packages::Package id: 34, project_id: 122, created_at: "2024-03-18 01:47:08.668895175 +0000", updat...kage_type: "maven", creator_id: 457, status: "hidden", last_downloaded_at: nil, status_message: nil>
          is expected to include #<Packages::Package id: 36, project_id: 122, created_at: "2024-03-18 01:47:09.041821775 +0000", updat...ckage_type: "maven", creator_id: 457, status: "error", last_downloaded_at: nil, status_message: nil>
# [RSpecRunTime] RSpec elapsed time: 19 minutes 56.5 seconds. Current RSS: ~1636M. load average: 1.02 1.01 0.90 1/282 7758


        with status param
          is expected to contain exactly #<Packages::Package id: 34, project_id: 122, created_at: "2024-03-18 01:47:08.668895175 +0000", updat...kage_type: "maven", creator_id: 457, status: "hidden", last_downloaded_at: nil, status_message: nil>
        with invalid status param
          is expected to raise Packages::FinderHelper::InvalidStatusError
      behaves like disabling package registry for project
        is expected to contain exactly
    group has package of all types
      behaves like with package type
        is expected to contain exactly #<Packages::Package id: 38, project_id: 122, created_at: "2024-03-18 01:47:12.866634478 +0000", updat...age_type: "maven", creator_id: 457, status: "default", last_downloaded_at: nil, status_message: nil>
# [RSpecRunTime] RSpec elapsed time: 20 minutes 0.41 second. Current RSS: ~1623M. load average: 1.10 1.03 0.91 1/282 7771


      behaves like with package type
        is expected to contain exactly #<Packages::Package id: 39, project_id: 122, created_at: "2024-03-18 01:47:12.924045019 +0000", updat...ckage_type: "npm", creator_id: 457, status: "default", last_downloaded_at: nil, status_message: nil>
      behaves like with package type
        is expected to contain exactly #<Packages::Package id: 41, project_id: 122, created_at: "2024-03-18 01:47:13.251466876 +0000", updat...age_type: "conan", creator_id: 457, status: "default", last_downloaded_at: nil, status_message: nil>
      behaves like with package type
        is expected to contain exactly #<Packages::Package id: 42, project_id: 122, created_at: "2024-03-18 01:47:13.335642362 +0000", updat...age_type: "nuget", creator_id: 457, status: "default", last_downloaded_at: nil, status_message: nil>
      behaves like with package type
        is expected to contain exactly #<Packages::Package id: 43, project_id: 122, created_at: "2024-03-18 01:47:13.353208220 +0000", updat...kage_type: "pypi", creator_id: 457, status: "default", last_downloaded_at: nil, status_message: nil>
      behaves like with package type
        is expected to contain exactly #<Packages::Package id: 44, project_id: 122, created_at: "2024-03-18 01:47:13.379151395 +0000", updat..._type: "composer", creator_id: 457, status: "default", last_downloaded_at: nil, status_message: nil>
      behaves like with package type
        is expected to contain exactly #<Packages::Package id: 45, project_id: 122, created_at: "2024-03-18 01:47:13.385930684 +0000", updat...e_type: "generic", creator_id: 457, status: "default", last_downloaded_at: nil, status_message: nil>
      behaves like with package type
        is expected to contain exactly #<Packages::Go::Package id: 46, project_id: 122, created_at: "2024-03-18 01:47:13.392362523 +0000", u...ge_type: "golang", creator_id: 457, status: "default", last_downloaded_at: nil, status_message: nil>
      behaves like with package type
        is expected to contain exactly #<Packages::Package id: 47, project_id: 122, created_at: "2024-03-18 01:47:13.407315131 +0000", updat...ge_type: "debian", creator_id: 457, status: "default", last_downloaded_at: nil, status_message: nil>
      behaves like with package type
        is expected to contain exactly #<Packages::Rubygems::Package id: 48, project_id: 122, created_at: "2024-03-18 01:47:13.559663876 +00..._type: "rubygems", creator_id: 457, status: "default", last_downloaded_at: nil, status_message: nil>
      behaves like with package type
        is expected to contain exactly #<Packages::Package id: 49, project_id: 122, created_at: "2024-03-18 01:47:13.599234060 +0000", updat...kage_type: "helm", creator_id: 457, status: "default", last_downloaded_at: nil, status_message: nil>
      behaves like with package type
        is expected to contain exactly #<Packages::Package id: 50, project_id: 122, created_at: "2024-03-18 01:47:13.623441476 +0000", updat...terraform_module", creator_id: 457, status: "default", last_downloaded_at: nil, status_message: nil>
      behaves like with package type
        is expected to contain exactly #<Packages::Package id: 51, project_id: 122, created_at: "2024-03-18 01:47:13.645350673 +0000", updat...ckage_type: "rpm", creator_id: 457, status: "default", last_downloaded_at: nil, status_message: nil>
      behaves like with package type
        is expected to contain exactly #<Packages::MlModel::Package id: 52, project_id: 122, created_at: "2024-03-18 01:47:13.652222561 +000..._type: "ml_model", creator_id: 457, status: "default", last_downloaded_at: nil, status_message: nil>
    group has no packages
      is expected to be empty
    group is nil
      is expected to be empty
    package type is nil
      is expected to contain exactly #<Packages::Package id: 54, project_id: 122, created_at: "2024-03-18 01:47:24.926938151 +0000", updat...age_type: "maven", creator_id: 457, status: "default", last_downloaded_at: nil, status_message: nil>
# [RSpecRunTime] RSpec elapsed time: 20 minutes 11.76 seconds. Current RSS: ~1670M. load average: 1.08 1.03 0.91 1/282 7820


    with invalid package_type
      is expected to raise Packages::FinderHelper::InvalidPackageTypeError

# [RSpecRunTime] Finishing example group spec/finders/packages/group_packages_finder_spec.rb. It took 1 minute 5.25 seconds. Expected to take 53.5 seconds.
# [RSpecRunTime] Starting example group spec/models/merge_request/cleanup_schedule_spec.rb. Expected to take 50.31 seconds.

MergeRequest::CleanupSchedule
  does not allow STI
  associations
    is expected to belong to merge_request required: false
  validations
    is expected to validate that :scheduled_at cannot be empty/falsy
  state machine transitions
    sets status to unstarted by default
    #run
      sets the status to running
      when previous status is not unstarted
        does not change status
# [RSpecRunTime] RSpec elapsed time: 20 minutes 18.33 seconds. Current RSS: ~1678M. load average: 1.07 1.03 0.91 1/288 7960


    #retry
      sets the status to unstarted
      increments failed_count
      when previous status is not running
        does not change status
# [RSpecRunTime] RSpec elapsed time: 20 minutes 22.81 seconds. Current RSS: ~1650M. load average: 1.07 1.03 0.91 1/288 8087


    #complete
      sets the status to completed
      sets the completed_at
      when previous status is not running
        does not change status
# [RSpecRunTime] RSpec elapsed time: 20 minutes 27.49 seconds. Current RSS: ~1607M. load average: 1.06 1.03 0.91 1/288 8214


    #mark_as_failed
      sets the status to failed
      increments failed_count
      when previous status is not running
        does not change status
# [RSpecRunTime] RSpec elapsed time: 20 minutes 33.19 seconds. Current RSS: ~1612M. load average: 1.13 1.04 0.92 1/288 8341


  .scheduled_and_unstarted
    returns records that are scheduled before or on current time and unstarted (ordered by scheduled first)
# [RSpecRunTime] RSpec elapsed time: 20 minutes 40.84 seconds. Current RSS: ~1600M. load average: 1.20 1.06 0.93 1/289 8619


  .stuck
    returns records that has been in running state for more than 6 hours
# [RSpecRunTime] RSpec elapsed time: 20 minutes 46.58 seconds. Current RSS: ~1580M. load average: 1.19 1.06 0.93 1/289 8818


  .stuck_retry!
    sets stuck records to unstarted
    when there are more than 5 stuck schedules
      only retries 5 stuck schedules at once
# [RSpecRunTime] RSpec elapsed time: 20 minutes 57.96 seconds. Current RSS: ~1573M. load average: 1.14 1.06 0.93 1/289 9176


  .start_next
    finds the next scheduled and unstarted then marked it as running
# [RSpecRunTime] RSpec elapsed time: 21 minutes 3.69 seconds. Current RSS: ~1548M. load average: 1.21 1.07 0.93 1/290 9375



# [RSpecRunTime] Finishing example group spec/models/merge_request/cleanup_schedule_spec.rb. It took 51.45 seconds. Expected to take 50.31 seconds.
# [RSpecRunTime] Starting example group spec/workers/projects/import_export/create_relation_exports_worker_spec.rb. Expected to take 41.82 seconds.

Projects::ImportExport::CreateRelationExportsWorker
  creates relation export records and enqueues a worker for each relation to be exported
  enqueues a WaitRelationExportsWorker
  creates a export_job and sets the status to `started`
  behaves like an idempotent worker
    is labeled as idempotent
    performs multiple times sequentially without raising an exception
# [RSpecRunTime] RSpec elapsed time: 21 minutes 27.05 seconds. Current RSS: ~1473M. load average: 1.21 1.08 0.94 1/286 9808


  when job is re-enqueued after an interuption and same JID is used
    does not start the export process twice
    behaves like an idempotent worker
      is labeled as idempotent
      performs multiple times sequentially without raising an exception
# [RSpecRunTime] RSpec elapsed time: 21 minutes 46.87 seconds. Current RSS: ~1470M. load average: 1.31 1.11 0.95 1/287 10232



# [RSpecRunTime] Finishing example group spec/workers/projects/import_export/create_relation_exports_worker_spec.rb. It took 43.04 seconds. Expected to take 41.82 seconds.
# [RSpecRunTime] Starting example group spec/services/projects/unlink_fork_service_spec.rb. Expected to take 38.23 seconds.

Projects::UnlinkForkService
  removes the link to the fork network
  refreshes the forks count cache of the source project
  refreshes the project statistics of the forked project
  does not refresh project statistics when refresh_statistics is false
  with opened merge request on the source project
    close all pending merge requests
    does not close merge requests for the project being unlinked
# [RSpecRunTime] RSpec elapsed time: 21 minutes 59.43 seconds. Current RSS: ~1623M. load average: 1.24 1.10 0.95 1/284 10251


  when the original project was deleted
    does not fail when the original project is deleted
# [RSpecRunTime] RSpec elapsed time: 22 minutes 1.28 seconds. Current RSS: ~1624M. load average: 1.24 1.10 0.95 1/284 10255


  when given project is a source of forks
    removes its link to the fork network and updates direct network members
    refreshes the forks count cache of the given project
    with opened merge requests from fork back to root project
      closes all pending merge requests
      does not close merge requests that do not come from the project being unlinked
# [RSpecRunTime] RSpec elapsed time: 22 minutes 13.82 seconds. Current RSS: ~1745M. load average: 1.12 1.08 0.95 1/284 10268


    and is node with a parent
      refreshes the forks count cache of the parent and the given project
      removes its link to the fork network and updates direct network members
      with opened merge requests from and to given project
        close all pending merge requests
        does not close merge requests which do not come from the project being unlinked
# [RSpecRunTime] RSpec elapsed time: 22 minutes 27.61 seconds. Current RSS: ~1802M. load average: 1.18 1.10 0.96 1/284 10281


  a project with pool repository
    when unlinked leaves pool repository
# [RSpecRunTime] RSpec elapsed time: 22 minutes 29.7 seconds. Current RSS: ~1836M. load average: 1.25 1.11 0.96 1/284 10297


  when given project is not part of a fork network
    does not raise errors
# [RSpecRunTime] RSpec elapsed time: 22 minutes 31.73 seconds. Current RSS: ~1863M. load average: 1.25 1.11 0.96 1/284 10301



# [RSpecRunTime] Finishing example group spec/services/projects/unlink_fork_service_spec.rb. It took 44.87 seconds. Expected to take 38.23 seconds.
# [RSpecRunTime] Starting example group spec/models/label_spec.rb. Expected to take 35.11 seconds.

Label
  does not allow STI
  modules
    is expected to includes the Referable module
    is expected to includes the Subscribable module
# [RSpecRunTime] RSpec elapsed time: 22 minutes 33.79 seconds. Current RSS: ~1922M. load average: 1.23 1.11 0.96 1/284 10311


  associations
    is expected to have many issues through label_links source => target
    is expected to have many label_links dependent => destroy
    is expected to have many lists dependent => destroy
    is expected to have many priorities class_name => LabelPriority
# [RSpecRunTime] RSpec elapsed time: 22 minutes 35.89 seconds. Current RSS: ~1994M. load average: 1.23 1.11 0.96 1/284 10324


  validation
    is expected to validate that :title is case-sensitively unique within the scope of :group_id and :project_id
    validates color code
    validates title
    description length
      when label is a new record
        when description exceeds the maximum size
          adds a description too long error
# [RSpecRunTime] RSpec elapsed time: 22 minutes 38.11 seconds. Current RSS: ~2010M. load average: 1.21 1.11 0.96 1/284 10337


        when description is within the allowed limits
          does not add a validation error
      when label is an existing record
        when record already had a valid description
          when new description exceeds the maximum size
            adds a description too long error
          when new description is within the allowed limits
            does not add a validation error
        when record existed with an invalid description
          when description is not changed
            does not add a validation error
          when new description exceeds the maximum size
            when new description is shorter than existing description
              allows updating descriptions that already existed above the limit
            when new description is longer than existing description
              adds a description too long error
          when new description is within the allowed limits
            does not add a validation error
# [RSpecRunTime] RSpec elapsed time: 22 minutes 44.83 seconds. Current RSS: ~2122M. load average: 1.19 1.11 0.96 1/284 10359


  ensure_lock_on_merge_allowed
    when creating a label
      template: false, lock_on_merge: false, valid: true, errors: []
        validates lock_on_merge on label creation
      template: false, lock_on_merge: true, valid: true, errors: []
        validates lock_on_merge on label creation
      template: true, lock_on_merge: false, valid: true, errors: []
        validates lock_on_merge on label creation
      template: true, lock_on_merge: true, valid: false, errors: ["can not be set for template labels"]
        validates lock_on_merge on label creation
      template: false, lock_on_merge: true, valid: true, errors: []
        validates lock_on_merge on label creation
    when updating a label
      lock_on_merge: true, valid: false, errors: ["can not be set for template labels"]
        validates lock_on_merge value if label is a template
      lock_on_merge: false, valid: true, errors: []
        validates lock_on_merge value if label is a template
  scopes
    .on_board
      returns only the board labels
    .with_lock_on_merge
      return only locked labels
  destroying labels
    when lock_on_merge is true
      prevents label from being destroyed
    when lock_on_merge is false
      allows label to be destroyed
  #color
    strips color
    uses default color if color is missing
  #text_color
    uses default color if color is missing
  #title
    sanitizes title
    strips title
# [RSpecRunTime] RSpec elapsed time: 22 minutes 55.42 seconds. Current RSS: ~1997M. load average: 1.23 1.12 0.97 1/284 10408


  #description
    sanitizes description
    accepts an empty string
# [RSpecRunTime] RSpec elapsed time: 22 minutes 56.52 seconds. Current RSS: ~1997M. load average: 1.23 1.12 0.97 1/284 10415


  priorization
    #prioritize!
      when label is not prioritized
        creates a label priority
        sets label priority
# [RSpecRunTime] RSpec elapsed time: 22 minutes 57.59 seconds. Current RSS: ~1997M. load average: 1.23 1.12 0.97 1/284 10422


      when label is prioritized
        does not create a label priority
        updates label priority
# [RSpecRunTime] RSpec elapsed time: 22 minutes 58.76 seconds. Current RSS: ~1997M. load average: 1.22 1.12 0.97 1/284 10429


    #unprioritize!
      removes label priority
    #priority
      when label is not prioritized
        returns nil
      when label is prioritized
        returns label priority
  .search
    returns labels with a partially matching title
    returns labels with a partially matching description
    returns nothing
# [RSpecRunTime] RSpec elapsed time: 23 minutes 2.58 seconds. Current RSS: ~1979M. load average: 1.22 1.12 0.97 1/285 10448


  .subscribed_by
    returns subscribed labels
    returns nothing
# [RSpecRunTime] RSpec elapsed time: 23 minutes 7.08 seconds. Current RSS: ~1992M. load average: 1.20 1.12 0.97 1/284 10455


  .top_labels_by_target
    returns distinct labels, ordered by usage in the given target relation
    excludes labels that are not assigned to any records in the given target relation
# [RSpecRunTime] RSpec elapsed time: 23 minutes 13.9 seconds. Current RSS: ~1736M. load average: 1.24 1.13 0.98 1/290 10619


  .sorted_by_similarity_desc
    when sorted by similarity
      returns most relevant labels first
# [RSpecRunTime] RSpec elapsed time: 23 minutes 15.8 seconds. Current RSS: ~1740M. load average: 1.24 1.13 0.98 1/290 10623


  .optionally_subscribed_by
    returns subscribed labels
    returns all labels if user_id is nil
# [RSpecRunTime] RSpec elapsed time: 23 minutes 18.64 seconds. Current RSS: ~1806M. load average: 1.22 1.13 0.98 1/289 10630


  #templates
    with invalid template labels
      returns only valid template labels
# [RSpecRunTime] RSpec elapsed time: 23 minutes 20.03 seconds. Current RSS: ~1847M. load average: 1.22 1.13 0.98 1/289 10634


  .pluck_titles
    returns the audit event type of the event type filter
# [RSpecRunTime] RSpec elapsed time: 23 minutes 22.2 seconds. Current RSS: ~1908M. load average: 1.22 1.13 0.98 1/289 10638



# [RSpecRunTime] Finishing example group spec/models/label_spec.rb. It took 50.52 seconds. Expected to take 35.11 seconds.
# [RSpecRunTime] Starting example group spec/services/projects/lfs_pointers/lfs_download_service_spec.rb. Expected to take 34.15 seconds.

Projects::LfsPointers::LfsDownloadService
  #execute
    when file download succeeds
      has the same oid
      has the same size
      stores the content
      streams the download
      skips read_total_timeout
      behaves like lfs object is created
        creates and associate the LFS object to project
        returns success result
        behaves like lfs temporal file is removed
          is expected to equal false
# [RSpecRunTime] RSpec elapsed time: 23 minutes 28.51 seconds. Current RSS: ~1949M. load average: 1.19 1.12 0.98 1/284 10663


    when file downloading response code is not success
      raise StandardError exception
      behaves like no lfs object is created
        is expected not to change `LfsObject.count`
        returns error result
        an error is logged
        behaves like lfs temporal file is removed
          is expected to equal false
# [RSpecRunTime] RSpec elapsed time: 23 minutes 32.74 seconds. Current RSS: ~1893M. load average: 1.19 1.12 0.98 1/284 10679


    when file downloading request timeout few times
      retries to get LFS object 3 times before raising exception
      behaves like no lfs object is created
        is expected not to change `LfsObject.count`
        returns error result
        an error is logged
        behaves like lfs temporal file is removed
          is expected to equal false
# [RSpecRunTime] RSpec elapsed time: 23 minutes 35.5 seconds. Current RSS: ~1886M. load average: 1.17 1.12 0.98 1/284 10695


    when file download returns a redirect
      correctly stores lfs object
      behaves like lfs object is created
        creates and associate the LFS object to project
        returns success result
        behaves like lfs temporal file is removed
          is expected to equal false
# [RSpecRunTime] RSpec elapsed time: 23 minutes 37.81 seconds. Current RSS: ~1870M. load average: 1.17 1.12 0.98 1/284 10708


    when downloaded lfs file has a different size
      raise SizeError exception
      behaves like no lfs object is created
        is expected not to change `LfsObject.count`
        returns error result
        an error is logged
        behaves like lfs temporal file is removed
          is expected to equal false
# [RSpecRunTime] RSpec elapsed time: 23 minutes 42.03 seconds. Current RSS: ~1964M. load average: 1.16 1.12 0.98 1/284 10724


    when downloaded lfs file has a different oid
      raise OidError exception
      behaves like no lfs object is created
        is expected not to change `LfsObject.count`
        returns error result
        an error is logged
        behaves like lfs temporal file is removed
          is expected to equal false
# [RSpecRunTime] RSpec elapsed time: 23 minutes 44.89 seconds. Current RSS: ~1928M. load average: 1.14 1.11 0.98 1/284 10740


    when an lfs object with the same oid already exists
      does not update the file attached to the existing LfsObject
      behaves like no lfs object is created
        is expected not to change `LfsObject.count`
        returns error result
        an error is logged
        behaves like lfs temporal file is removed
          is expected to equal false
# [RSpecRunTime] RSpec elapsed time: 23 minutes 47.67 seconds. Current RSS: ~1938M. load average: 1.14 1.11 0.98 1/284 10756


    when credentials present
      the request adds authorization headers
      when Authorization header is present
        request uses the header auth
# [RSpecRunTime] RSpec elapsed time: 23 minutes 50.26 seconds. Current RSS: ~1939M. load average: 1.13 1.11 0.98 1/284 10763


    when localhost requests are allowed
      behaves like lfs object is created
        creates and associate the LFS object to project
        returns success result
        behaves like lfs temporal file is removed
          is expected to equal false
# [RSpecRunTime] RSpec elapsed time: 23 minutes 52.13 seconds. Current RSS: ~1939M. load average: 1.13 1.11 0.98 1/284 10773


    when a bad URL is used
      download_link: "/etc/passwd"
        does not download the file
      download_link: "ftp://example.com"
        does not download the file
      download_link: "http://127.0.0.2"
        does not download the file
      download_link: "http://192.168.2.120"
        does not download the file
    when the URL points to a redirected URL
      that is blocked
        redirect_link: "ftp://example.com"
          behaves like no lfs object is created
            is expected not to change `LfsObject.count`
            returns error result
            an error is logged
            behaves like lfs temporal file is removed
              is expected to equal false
# [RSpecRunTime] RSpec elapsed time: 23 minutes 56.4 seconds. Current RSS: ~1883M. load average: 1.12 1.11 0.98 1/284 10798


        redirect_link: "http://127.0.0.2"
          behaves like no lfs object is created
            is expected not to change `LfsObject.count`
            returns error result
            an error is logged
            behaves like lfs temporal file is removed
              is expected to equal false
# [RSpecRunTime] RSpec elapsed time: 24 minutes 0.12 second. Current RSS: ~1918M. load average: 1.11 1.11 0.98 1/284 10811


        redirect_link: "http://192.168.2.120"
          behaves like no lfs object is created
            is expected not to change `LfsObject.count`
            returns error result
            an error is logged
            behaves like lfs temporal file is removed
              is expected to equal false
# [RSpecRunTime] RSpec elapsed time: 24 minutes 2.33 seconds. Current RSS: ~1918M. load average: 1.11 1.11 0.98 1/285 10824


      that is not blocked
        behaves like lfs object is created
          creates and associate the LFS object to project
          returns success result
          behaves like lfs temporal file is removed
            is expected to equal false
# [RSpecRunTime] RSpec elapsed time: 24 minutes 4.15 seconds. Current RSS: ~1851M. load average: 1.10 1.11 0.98 1/285 10834


    when the lfs object attributes are invalid
      does not download the file
      behaves like no lfs object is created
        is expected not to change `LfsObject.count`
        returns error result
        an error is logged
        behaves like lfs temporal file is removed
          is expected to equal false
# [RSpecRunTime] RSpec elapsed time: 24 minutes 8.3 seconds. Current RSS: ~1952M. load average: 1.09 1.10 0.98 1/284 10850


    when a large lfs object with the same oid already exists
      and first fragments are the same
        returns success
        links existing lfs object to the project
        when lfs_link_existing_object feature flag disabled
          does not call link_existing_lfs_object!
# [RSpecRunTime] RSpec elapsed time: 24 minutes 10.19 seconds. Current RSS: ~1952M. load average: 1.09 1.10 0.98 1/284 10860


      and first fragments diverges
        raises oid mismatch error
        does not change lfs objects
# [RSpecRunTime] RSpec elapsed time: 24 minutes 11.39 seconds. Current RSS: ~1952M. load average: 1.09 1.10 0.98 1/284 10867



# [RSpecRunTime] Finishing example group spec/services/projects/lfs_pointers/lfs_download_service_spec.rb. It took 49.14 seconds. Expected to take 34.15 seconds.
# [RSpecRunTime] Starting example group spec/workers/database/batched_background_migration_worker_spec.rb. Expected to take 32.12 seconds.

Database::BatchedBackgroundMigrationWorker
  behaves like it runs batched background migration jobs
    defining the job attributes
      defines the data_consistency as always
      defines the feature_category as database
      defines the idempotency as true
# [RSpecRunTime] RSpec elapsed time: 24 minutes 13.17 seconds. Current RSS: ~1901M. load average: 1.09 1.10 0.98 1/284 10877


    .tracking_database
      does not raise an error
      overrides the method to return the tracking database
    .lease_key
      does not raise an error
      returns the lease key
    .enabled?
      returns true when execute_batched_migrations_on_schedule feature flag is enabled
      returns false when execute_batched_migrations_on_schedule feature flag is disabled
      returns false when disallow_database_ddl_feature_flags feature flag is enabled
# [RSpecRunTime] RSpec elapsed time: 24 minutes 17.78 seconds. Current RSS: ~1939M. load average: 1.09 1.10 0.98 1/284 10899


    #perform
      when the base model does not exist
        does nothing (PENDING: because the base model for main exists)
        logs a message indicating execution is skipped (PENDING: because the base model for main exists)
      when the base model does exist
        when the tracking database is shared
          does nothing (PENDING: Skipping because database main exists)
        when the tracking database is not shared
          when the execute_batched_migrations_on_schedule feature flag is disabled
            does nothing
          when the disallow_database_ddl_feature_flags feature flag is enabled
            does nothing
          when the execute_batched_migrations_on_schedule feature flag is enabled
            when database config is shared
              does nothing
            when no active migrations exist
              does nothing
            when active migrations exist
              delegetes the execution to ExecutionWorker
    executing an entire migration
      marks the migration record as finished
      creates job records for each processed batch
      marks all job records as succeeded
      updates matching records in the range
      does not update non-matching records in the range
      health status
        puts migration on hold when the pending WAL count is above the limit
        with skip_autovacuum_health_check_for_ci_builds FF disabled
          puts migration on hold when there is autovaccum activity on related tables
# [RSpecRunTime] RSpec elapsed time: 24 minutes 48.34 seconds. Current RSS: ~1671M. load average: 0.94 1.06 0.97 1/284 10936



# [RSpecRunTime] Finishing example group spec/workers/database/batched_background_migration_worker_spec.rb. It took 36.93 seconds. Expected to take 32.12 seconds.
# [RSpecRunTime] Starting example group spec/models/blob_spec.rb. Expected to take 30.31 seconds.

Blob
  does not allow STI
  .decorate
    returns NilClass when given nil
# [RSpecRunTime] RSpec elapsed time: 24 minutes 49.51 seconds. Current RSS: ~1710M. load average: 0.94 1.06 0.97 1/284 10943


  .lazy
    when increase_diff_file_performance is turned off
      with project
        behaves like .lazy checks
          does not fetch blobs when none are accessed
          fetches all blobs for the same repository when one is accessed
          does not include blobs from previous requests in later requests
# [RSpecRunTime] RSpec elapsed time: 24 minutes 52.02 seconds. Current RSS: ~1740M. load average: 0.94 1.06 0.97 1/287 10974


      with personal snippet
        behaves like .lazy checks
          does not fetch blobs when none are accessed
          fetches all blobs for the same repository when one is accessed
          does not include blobs from previous requests in later requests
# [RSpecRunTime] RSpec elapsed time: 24 minutes 53.98 seconds. Current RSS: ~1827M. load average: 0.95 1.06 0.98 1/289 11003


      with project snippet
        behaves like .lazy checks
          does not fetch blobs when none are accessed
          fetches all blobs for the same repository when one is accessed
          does not include blobs from previous requests in later requests
# [RSpecRunTime] RSpec elapsed time: 24 minutes 57.8 seconds. Current RSS: ~1931M. load average: 0.95 1.06 0.98 1/289 11032


    when increase_diff_file_performance is turned on
      with project
        behaves like .lazy checks
          does not fetch blobs when none are accessed
          fetches all blobs for the same repository when one is accessed
          does not include blobs from previous requests in later requests
# [RSpecRunTime] RSpec elapsed time: 25 minutes 0.27 second. Current RSS: ~1926M. load average: 1.11 1.09 0.99 1/289 11063


        when the blob size limit is different
          fetches all blobs for the same repository and same blob size limit when one is accessed
      with personal snippet
        behaves like .lazy checks
          does not fetch blobs when none are accessed
          fetches all blobs for the same repository when one is accessed
          does not include blobs from previous requests in later requests
# [RSpecRunTime] RSpec elapsed time: 25 minutes 2.82 seconds. Current RSS: ~1848M. load average: 1.11 1.09 0.99 1/289 11101


      with project snippet
        behaves like .lazy checks
          does not fetch blobs when none are accessed
          fetches all blobs for the same repository when one is accessed
          does not include blobs from previous requests in later requests
# [RSpecRunTime] RSpec elapsed time: 25 minutes 5.19 seconds. Current RSS: ~1817M. load average: 1.10 1.09 0.99 1/289 11130


  #data
    with project
      behaves like #data checks
        using a binary blob
          returns the data as-is
        using a text blob
          converts the data to UTF-8
# [RSpecRunTime] RSpec elapsed time: 25 minutes 7.52 seconds. Current RSS: ~1916M. load average: 1.10 1.09 0.99 1/289 11137


    with personal snippet
      behaves like #data checks
        using a binary blob
          returns the data as-is
        using a text blob
          converts the data to UTF-8
    with project snippet
      behaves like #data checks
        using a binary blob
          returns the data as-is
        using a text blob
          converts the data to UTF-8
  #external_storage_error?
    if the blob is stored in LFS
      when LFS is enabled
        is expected to be falsy
      when LFS is not enabled
        is expected to be truthy
    if the blob is not stored in LFS
      is expected to be falsy
  #stored_externally?
    if the blob is stored in LFS
      when LFS is enabled
        is expected to be truthy
      when LFS is not enabled
        is expected to be falsy
    if the blob is not stored in LFS
      is expected to be falsy
  #binary?
    an lfs object
      filename: "file.pdf", is_binary: true
        is expected to eq true
      filename: "file.md", is_binary: false
        is expected to eq false
      filename: "file.txt", is_binary: false
        is expected to eq false
      filename: "file.ics", is_binary: false
        is expected to eq false
      filename: "file.rb", is_binary: false
        is expected to eq false
# [RSpecRunTime] RSpec elapsed time: 25 minutes 15.94 seconds. Current RSS: ~1956M. load average: 1.09 1.08 0.99 1/284 11183


      filename: "file.exe", is_binary: true
        is expected to eq true
      filename: "file.ini", is_binary: false
        is expected to eq false
      filename: "file.wtf", is_binary: true
        is expected to eq true
    a non-lfs object
      delegates to binary_in_repo?
  #symlink?
    is true for symlinks
    is false for non-symlinks
  #executable?
    is true for executables
    is false for non-executables
  #extension
    returns the extension
  #file_type
    returns the file type
  #simple_viewer
    when the blob is empty
      returns an empty viewer
    when the file represented by the blob is binary
      returns a download viewer
    when the file represented by the blob is text-based
      returns a text viewer
  #rich_viewer
    when the blob has an external storage error
      returns nil
    when the blob is empty
      returns nil
    when the blob is stored externally
      returns a matching viewer
# [RSpecRunTime] RSpec elapsed time: 25 minutes 24.7 seconds. Current RSS: ~1967M. load average: 1.07 1.08 0.99 1/284 11232


    when the blob is binary
      returns a matching binary viewer
    when the blob is text-based
      returns a matching text-based viewer
    when the blob is video
      returns a video viewer
    when the blob is audio
      returns an audio viewer
  #auxiliary_viewer
    when the blob has an external storage error
      returns nil
    when the blob is empty
      returns nil
    when the blob is stored externally
      returns a matching viewer
    when the blob is binary
      returns nil
    when the blob is text-based
      returns a matching text-based viewer
    when the blob is GitlabCiYml
      returns a matching viewer for .gitlab-ci.yml
      returns nil for non .gitlab-ci.yml
      when the project has a custom CI config path
        returns a matching viewer for the custom CI file
        returns nil for the incorrect CI file
# [RSpecRunTime] RSpec elapsed time: 25 minutes 30.82 seconds. Current RSS: ~1940M. load average: 1.07 1.08 0.99 1/284 11272


  #rendered_as_text?
    when ignoring errors
      when the simple viewer is text-based
        is expected to be truthy
# [RSpecRunTime] RSpec elapsed time: 25 minutes 32.72 seconds. Current RSS: ~1940M. load average: 1.07 1.08 0.99 1/284 11276


      when the simple viewer is binary
        is expected to be falsy
    when not ignoring errors
      when the viewer has render errors
        is expected to be falsy
      when the viewer doesn't have render errors
        is expected to be truthy
  policy
    works with policy
    when project is nil
      does not err

# [RSpecRunTime] Finishing example group spec/models/blob_spec.rb. It took 46.77 seconds. Expected to take 30.31 seconds.
# [RSpecRunTime] Starting example group spec/services/merge_requests/squash_service_spec.rb. Expected to take 29.34 seconds.

MergeRequests::SquashService
  #execute
    when there is only one commit in the merge request
      returns the squashed commit SHA
      cleans up the temporary directory
      does not keep the branch push event
      when there is a single commit in the merge request
        will still perform the squash
        when squash message matches commit message
          returns that commit SHA
          does not perform any git actions
# [RSpecRunTime] RSpec elapsed time: 25 minutes 39.68 seconds. Current RSS: ~1850M. load average: 1.06 1.08 0.99 1/289 11423


        when squash message matches commit message but without trailing new line
          returns that commit SHA
          does not perform any git actions
      the squashed commit
        copies the author info from the merge request
        sets the current user as the committer
        has the same diff as the merge request, but a different SHA
        has a default squash commit message if no message was provided
        if a message was provided
          has the same message as the message provided
# [RSpecRunTime] RSpec elapsed time: 25 minutes 44.52 seconds. Current RSS: ~1957M. load average: 1.05 1.08 0.99 1/289 11484


    when squashing only new files
      returns the squashed commit SHA
      cleans up the temporary directory
      does not keep the branch push event
      when there is a single commit in the merge request
        will still perform the squash
        when squash message matches commit message
          returns that commit SHA
          does not perform any git actions
# [RSpecRunTime] RSpec elapsed time: 25 minutes 47.49 seconds. Current RSS: ~1923M. load average: 1.05 1.08 0.99 1/289 11518


        when squash message matches commit message but without trailing new line
          returns that commit SHA
          does not perform any git actions
      the squashed commit
        copies the author info from the merge request
        sets the current user as the committer
        has the same diff as the merge request, but a different SHA
        has a default squash commit message if no message was provided
        if a message was provided
          has the same message as the message provided
# [RSpecRunTime] RSpec elapsed time: 25 minutes 52.2 seconds. Current RSS: ~1968M. load average: 1.05 1.07 0.99 1/289 11579


    when squashing is disabled by default on the project
      returns the squashed commit SHA
      cleans up the temporary directory
      does not keep the branch push event
      when there is a single commit in the merge request
        will still perform the squash
        when squash message matches commit message
          returns that commit SHA
          does not perform any git actions
# [RSpecRunTime] RSpec elapsed time: 25 minutes 55.16 seconds. Current RSS: ~1969M. load average: 1.04 1.07 0.99 1/289 11613


        when squash message matches commit message but without trailing new line
          returns that commit SHA
          does not perform any git actions
      the squashed commit
        copies the author info from the merge request
        sets the current user as the committer
        has the same diff as the merge request, but a different SHA
        has a default squash commit message if no message was provided
        if a message was provided
          has the same message as the message provided
# [RSpecRunTime] RSpec elapsed time: 25 minutes 59.87 seconds. Current RSS: ~1937M. load average: 1.04 1.07 0.99 1/289 11674


    when squashing is forbidden on the project
      raises a squash error
    when squashing is enabled by default on the project
      returns the squashed commit SHA
      cleans up the temporary directory
      does not keep the branch push event
      when there is a single commit in the merge request
        will still perform the squash
        when squash message matches commit message
          returns that commit SHA
          does not perform any git actions
# [RSpecRunTime] RSpec elapsed time: 26 minutes 3.24 seconds. Current RSS: ~1939M. load average: 1.04 1.07 0.99 1/289 11711


        when squash message matches commit message but without trailing new line
          returns that commit SHA
          does not perform any git actions
      the squashed commit
        copies the author info from the merge request
        sets the current user as the committer
        has the same diff as the merge request, but a different SHA
        has a default squash commit message if no message was provided
        if a message was provided
          has the same message as the message provided
# [RSpecRunTime] RSpec elapsed time: 26 minutes 6.61 seconds. Current RSS: ~1913M. load average: 1.04 1.07 0.99 1/289 11772


    when squashing with files too large to display
      returns the squashed commit SHA
      cleans up the temporary directory
      does not keep the branch push event
      when there is a single commit in the merge request
        will still perform the squash
        when squash message matches commit message
          returns that commit SHA
          does not perform any git actions
# [RSpecRunTime] RSpec elapsed time: 26 minutes 10.97 seconds. Current RSS: ~1959M. load average: 1.03 1.07 0.99 1/289 11806


        when squash message matches commit message but without trailing new line
          returns that commit SHA
          does not perform any git actions
      the squashed commit
        copies the author info from the merge request
        sets the current user as the committer
        has the same diff as the merge request, but a different SHA
        has a default squash commit message if no message was provided
        if a message was provided
          has the same message as the message provided
# [RSpecRunTime] RSpec elapsed time: 26 minutes 14.42 seconds. Current RSS: ~1913M. load average: 1.03 1.07 0.99 1/289 11867


    git errors
      with an error in Gitaly UserSquash RPC
        logs the error
        returns an error
    when any other exception is thrown
      logs the error
      returns an error
      cleans up the temporary directory
# [RSpecRunTime] RSpec elapsed time: 26 minutes 18.12 seconds. Current RSS: ~1963M. load average: 1.03 1.07 0.99 1/289 11883



# [RSpecRunTime] Finishing example group spec/services/merge_requests/squash_service_spec.rb. It took 43.04 seconds. Expected to take 29.34 seconds.
# [RSpecRunTime] Starting example group spec/models/merge_request_diff_commit_spec.rb. Expected to take 27.45 seconds.

MergeRequestDiffCommit
  does not allow STI
  behaves like a BulkInsertSafe model
    when calling class methods directly
      raises an error when method is not bulk-insert safe
      does not raise an error when method is bulk-insert safe
# [RSpecRunTime] RSpec elapsed time: 26 minutes 19.8 seconds. Current RSS: ~1963M. load average: 1.03 1.07 0.99 1/289 11893


    .bulk_insert!
      when all items are valid
        inserts them all
        returns an empty array
# [RSpecRunTime] RSpec elapsed time: 26 minutes 37.47 seconds. Current RSS: ~1833M. load average: 1.02 1.06 1.00 1/289 12220


      when some items are invalid
        does not insert any of them and raises an error
        inserts them anyway when bypassing validations
  associations
    is expected to belong to commit_author required: false
    is expected to belong to committer required: false
  #to_hash
    returns the same results as Commit#to_hash, except for parent_ids
# [RSpecRunTime] RSpec elapsed time: 26 minutes 40.93 seconds. Current RSS: ~1757M. load average: 1.02 1.06 1.00 1/289 12278


  .create_bulk
    inserts the commits into the database en masse
    creates diff commit users
    with dates larger than the DB limit
      uses a sanitized date
# [RSpecRunTime] RSpec elapsed time: 26 minutes 45.36 seconds. Current RSS: ~1862M. load average: 1.02 1.06 1.00 1/289 12421


  .prepare_commits_for_bulk_insert
    returns the commit hashes and unique user tuples
# [RSpecRunTime] RSpec elapsed time: 26 minutes 47.37 seconds. Current RSS: ~1904M. load average: 1.02 1.06 1.00 1/289 12425



# [RSpecRunTime] Finishing example group spec/models/merge_request_diff_commit_spec.rb. It took 29.28 seconds. Expected to take 27.45 seconds.
# [RSpecRunTime] Starting example group spec/services/web_hook_service_spec.rb. Expected to take 26.36 seconds.

WebHookService
  #initialize
    when SystemHook
      when local requests are allowed
        is expected to be truthy
      when local requests are not allowed
        is expected to be falsey
    when ProjectHook
      when local requests are allowed
        is expected to be truthy
      when local requests are not allowed
        is expected to be falsey
  #disabled?
    forced: false, executable: true, disabled: false
      is expected to have attributes {:disabled? => false}
    forced: false, executable: false, disabled: true
      is expected to have attributes {:disabled? => true}
    forced: true, executable: true, disabled: false
      is expected to have attributes {:disabled? => false}
    forced: true, executable: false, disabled: false
      is expected to have attributes {:disabled? => false}
  #execute
    POSTs the data as JSON and returns expected headers
    catches exceptions
    does not execute disabled hooks
    executes and registers the hook with the recursion detection
    blocks and logs if a recursive web hook is detected
    blocks and logs if the recursion count limit would be exceeded
    handles exceptions
    handles 200 status code
    handles 2xx status codes
    when there is an interpolation error
      logs the error
# [RSpecRunTime] RSpec elapsed time: 26 minutes 59.47 seconds. Current RSS: ~2016M. load average: 1.09 1.07 1.00 1/283 12480


    when there are URL variables
      POSTs to the interpolated URL, and logs the hook.url
      there is userinfo
        POSTs to the interpolated URL, and logs the hook.url
# [RSpecRunTime] RSpec elapsed time: 27 minutes 0.87 second. Current RSS: ~2015M. load average: 1.09 1.07 1.00 1/283 12487


    when token is defined
      POSTs to the webhook URL
    with SystemHook
      POSTs to the webhook URL with correct headers
    when the data is a Gitlab::DataBuilder::Pipeline
      can log the request payload
    when auth credentials are present
      uses the credentials
    when auth credentials are partial present
      uses the credentials anyways
    when silent mode is enabled
      blocks and logs an error
    when url is not encoded
      handles exceptions
    when request body size is too big
      does not perform the request
    when custom_webhook_template is set
      when template is valid
        renders custom_webhook_template for body
        when using nested values
          renders custom_webhook_template for body
# [RSpecRunTime] RSpec elapsed time: 27 minutes 8.33 seconds. Current RSS: ~1894M. load average: 1.07 1.07 1.00 1/284 12518


        when feature flag is disabled
          does not render custom template
      when template is invalid
        renders without problems
      when template renders invalid json
        handles the error
    execution logging
      with success
        queues LogExecutionWorker correctly
        queues LogExecutionWorker correctly, resulting in a log record (integration-style test)
        does not log in the service itself
        when forced
          logs execution inline
# [RSpecRunTime] RSpec elapsed time: 27 minutes 11.73 seconds. Current RSS: ~1894M. load average: 1.07 1.07 1.00 1/284 12540


      with bad request
        queues LogExecutionWorker correctly
      with exception
        queues LogExecutionWorker correctly
      with unsafe response body
        queues LogExecutionWorker with sanitized response_body
      with oversize response body
        queues LogExecutionWorker with stripped response_body
      with massive amount of headers
        queues LogExecutionWorker with limited amount of headers
      with oversize header
        queues LogExecutionWorker with stripped header value
      with log data exceeding Sidekiq limit
        queues LogExecutionWorker with request_data overrided in the second attempt
        new log data still exceeds limit
          raises an exception
# [RSpecRunTime] RSpec elapsed time: 27 minutes 16.76 seconds. Current RSS: ~1948M. load average: 1.07 1.07 1.00 1/284 12565


  #async_execute
    when rate limiting is not configured
      queues a worker without tracking the call
    when rate limiting is configured
      queues a worker and tracks the call
      when the hook is throttled (via mock)
        does not queue a worker and logs an error
# [RSpecRunTime] RSpec elapsed time: 27 minutes 18.46 seconds. Current RSS: ~1949M. load average: 1.06 1.07 1.00 1/284 12575


      when the hook is throttled (via Redis)
        stops queueing workers and logs errors
        still queues workers for other hooks
# [RSpecRunTime] RSpec elapsed time: 27 minutes 20.07 seconds. Current RSS: ~1952M. load average: 1.06 1.07 1.00 1/284 12582


    recursion detection
      does not queue a worker and logs an error if the call chain limit would be exceeded
      does not queue a worker and logs an error if a recursive call chain is detected
# [RSpecRunTime] RSpec elapsed time: 27 minutes 22.61 seconds. Current RSS: ~1769M. load average: 1.06 1.07 1.00 1/283 12589


    when silent mode is enabled
      does not queue a worker and logs an error
    when hook has custom context attributes
      includes the attributes in the worker context

# [RSpecRunTime] Finishing example group spec/services/web_hook_service_spec.rb. It took 36.06 seconds. Expected to take 26.36 seconds.
# [RSpecRunTime] Starting example group spec/policies/blob_policy_spec.rb. Expected to take 25.77 seconds.

BlobPolicy
  project_level: :public, feature_access_level: :enabled, membership: :admin, admin_mode: true, expected_count: 1
    grants permission
# [RSpecRunTime] RSpec elapsed time: 27 minutes 26.35 seconds. Current RSS: ~1804M. load average: 1.06 1.06 1.00 1/284 12608


  project_level: :public, feature_access_level: :enabled, membership: :admin, admin_mode: false, expected_count: 1
    grants permission
  project_level: :public, feature_access_level: :enabled, membership: :reporter, admin_mode: nil, expected_count: 1
    grants permission
  project_level: :public, feature_access_level: :enabled, membership: :guest, admin_mode: nil, expected_count: 1
    grants permission
  project_level: :public, feature_access_level: :enabled, membership: :non_member, admin_mode: nil, expected_count: 1
    grants permission
  project_level: :public, feature_access_level: :enabled, membership: :anonymous, admin_mode: nil, expected_count: 1
    grants permission
  project_level: :public, feature_access_level: :private, membership: :admin, admin_mode: true, expected_count: 1
    grants permission
  project_level: :public, feature_access_level: :private, membership: :admin, admin_mode: false, expected_count: 0
    grants permission
  project_level: :public, feature_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 1
    grants permission
  project_level: :public, feature_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 1
    grants permission
  project_level: :public, feature_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 0
    grants permission
  project_level: :public, feature_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 0
    grants permission
  project_level: :public, feature_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 0
    grants permission
  project_level: :public, feature_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 0
    grants permission
# [RSpecRunTime] RSpec elapsed time: 27 minutes 36.74 seconds. Current RSS: ~1900M. load average: 0.97 1.05 1.00 1/288 12687


  project_level: :public, feature_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 0
    grants permission
  project_level: :public, feature_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 0
    grants permission
  project_level: :internal, feature_access_level: :enabled, membership: :admin, admin_mode: true, expected_count: 1
    grants permission
  project_level: :internal, feature_access_level: :enabled, membership: :admin, admin_mode: false, expected_count: 1
    grants permission
  project_level: :internal, feature_access_level: :enabled, membership: :reporter, admin_mode: nil, expected_count: 1
    grants permission
  project_level: :internal, feature_access_level: :enabled, membership: :guest, admin_mode: nil, expected_count: 1
    grants permission
  project_level: :internal, feature_access_level: :enabled, membership: :non_member, admin_mode: nil, expected_count: 1
    grants permission
  project_level: :internal, feature_access_level: :enabled, membership: :anonymous, admin_mode: nil, expected_count: 0
    grants permission
  project_level: :internal, feature_access_level: :private, membership: :admin, admin_mode: true, expected_count: 1
    grants permission
  project_level: :internal, feature_access_level: :private, membership: :admin, admin_mode: false, expected_count: 0
    grants permission
  project_level: :internal, feature_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 1
    grants permission
  project_level: :internal, feature_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 1
    grants permission
  project_level: :internal, feature_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 0
    grants permission
  project_level: :internal, feature_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 0
    grants permission
# [RSpecRunTime] RSpec elapsed time: 27 minutes 47.39 seconds. Current RSS: ~1948M. load average: 0.98 1.04 1.00 1/288 12772


  project_level: :internal, feature_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 0
    grants permission
  project_level: :internal, feature_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 0
    grants permission
  project_level: :internal, feature_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 0
    grants permission
  project_level: :internal, feature_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 0
    grants permission
  project_level: :private, feature_access_level: :private, membership: :admin, admin_mode: true, expected_count: 1
    grants permission
  project_level: :private, feature_access_level: :private, membership: :admin, admin_mode: false, expected_count: 0
    grants permission
  project_level: :private, feature_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 1
    grants permission
  project_level: :private, feature_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 0
    grants permission
  project_level: :private, feature_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 0
    grants permission
  project_level: :private, feature_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 0
    grants permission
  project_level: :private, feature_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 0
    grants permission
  project_level: :private, feature_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 0
    grants permission
  project_level: :private, feature_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 0
    grants permission
# [RSpecRunTime] RSpec elapsed time: 27 minutes 57.7 seconds. Current RSS: ~1903M. load average: 0.98 1.04 1.00 1/288 12851


  project_level: :private, feature_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 0
    grants permission

# [RSpecRunTime] Finishing example group spec/policies/blob_policy_spec.rb. It took 34.78 seconds. Expected to take 25.77 seconds.
# [RSpecRunTime] Starting example group spec/models/ml/candidate_spec.rb. Expected to take 24.48 seconds.

Ml::Candidate
  does not allow STI
  associations
    is expected to belong to experiment required: false
    is expected to belong to project required: false
    is expected to belong to user required: false
    is expected to belong to package required: false
    is expected to belong to ci_build class_name => Ci::Build required: false
    is expected to belong to model_version class_name => Ml::ModelVersion required: false
    is expected to have many params
    is expected to have many metrics
    is expected to have many metadata
# [RSpecRunTime] RSpec elapsed time: 28 minutes 3.99 seconds. Current RSS: ~1848M. load average: 0.98 1.04 1.00 1/289 12888


  modules
    behaves like AtomicInternalId
      .has_internal_id
        Module inclusion
          is expected to includes the AtomicInternalId module
        Validation
          when presence validation is required
            when creating an object
              raises an error if the internal id is blank
            when updating an object
              raises an error if the internal id is blank
# [RSpecRunTime] RSpec elapsed time: 28 minutes 7.24 seconds. Current RSS: ~1925M. load average: 0.98 1.04 1.00 1/285 12898


          when presence validation is not required
            when creating an object
              does not raise an error if the internal id is blank (PENDING: No reason given)
            when updating an object
              does not raise an error if the internal id is blank (PENDING: No reason given)
        Creating an instance
          saves a new instance properly
        internal id generation
          calls InternalId.generate_next and sets internal id attribute
          does not overwrite an existing internal id
          when the instance has an internal ID set
            calls InternalId.update_last_value and sets the `last_value` to that of the instance
# [RSpecRunTime] RSpec elapsed time: 28 minutes 10.88 seconds. Current RSS: ~1927M. load average: 0.99 1.04 1.00 1/284 12911


        unsetting the instance internal id on rollback
          when the internal id has been changed
            when the internal id is automatically set
              clears it on the instance
            when the internal id is manually set
              does not clear it on the instance
          when the internal id has not been changed
            preserves the value on the instance
        supply of internal ids
          provides a persistent supply of IID values, sensitive to the current state
        #reset_scope_internal_id_attribute
          rewinds the allocated IID
          allocates the same IID
# [RSpecRunTime] RSpec elapsed time: 28 minutes 16.59 seconds. Current RSS: ~1921M. load average: 0.99 1.04 1.00 1/283 12930


  default values
    is expected to be present
  validation
    model_version
      when model_version is nil
        is expected not to include :model_version_id
      when no other candidate is associated to the model_version
        is expected not to include :model_version_id
      when another candidate has model_version_id
        is expected to include :model_version_id
  .destroy
    destroys metrics, params and metadata, but not the artifact
  .artifact_root
    is expected to eq "/ml_experiment_1/1/"
  .package_version
    is expected to eq 1
  .eid
    is expected to eq "a73022e1-593b-4aa9-a637-3c008a285059"
  .artifact
    when has logged artifacts
      returns the package
    when does not have logged artifacts
      is expected to be nil
  #by_project_id_and_eid
    when eid exists and belongs to project
      is expected to eq #<Ml::Candidate id: 1, created_at: "2024-03-18 01:55:12.825244292 +0000", updated_at: "2024-03-18 01:...5-4c7d-99b2-4867e4076c63", project_id: 321, internal_id: 1, ci_build_id: nil, model_version_id: nil>
    when eid exists and does not belong to project
      is expected to be nil
    when eid does not exist
      is expected to be nil
  #by_project_id_and_iid
    when internal_id exists and belongs to project
      is expected to eq #<Ml::Candidate id: 1, created_at: "2024-03-18 01:55:12.825244292 +0000", updated_at: "2024-03-18 01:...5-4c7d-99b2-4867e4076c63", project_id: 321, internal_id: 1, ci_build_id: nil, model_version_id: nil>
    when internal_id exists and does not belong to project
      is expected to be nil
# [RSpecRunTime] RSpec elapsed time: 28 minutes 25.68 seconds. Current RSS: ~1972M. load average: 1.06 1.05 1.00 1/283 12976


    when internal_id does not exist
      is expected to be nil
  #latest_metrics
    fetches only the last metric for the name
  #including_relationships
    loads latest metrics and params
  #by_name
    when name matches
      gets the correct candidates
    when name matches partially
      gets the correct candidates
    when name does not match
      does not fetch any candidate
  #without_model_version
    finds only candidates without model version
  from_ci?
    is false if candidate does not have ci_build_id
    is true if candidate does has ci_build_id
  #order_by_metric
    orders correctly
    when direction is asc
      orders correctly
  with loose foreign key on ml_candidates.ci_build_id
    behaves like cleanup by a loose foreign key
      cleans up (delete or nullify) the model
# [RSpecRunTime] RSpec elapsed time: 28 minutes 32.77 seconds. Current RSS: ~1906M. load average: 1.06 1.05 1.00 1/283 13013



# [RSpecRunTime] Finishing example group spec/models/ml/candidate_spec.rb. It took 34.51 seconds. Expected to take 24.48 seconds.
# [RSpecRunTime] Starting example group spec/services/projects/move_access_service_spec.rb. Expected to take 23.46 seconds.

Projects::MoveAccessService
  #execute
    when both projects are in the same namespace
      does not refresh project owner authorized projects
      behaves like move the accesses
        moves the accesses
        rollbacks if an exception is raised
# [RSpecRunTime] RSpec elapsed time: 28 minutes 41.78 seconds. Current RSS: ~1739M. load average: 1.05 1.05 1.00 1/284 13023


    when projects are in different namespaces
      refreshes both project owner authorized projects
      behaves like move the accesses
        moves the accesses
        rollbacks if an exception is raised
# [RSpecRunTime] RSpec elapsed time: 28 minutes 49.92 seconds. Current RSS: ~1756M. load average: 0.96 1.03 1.00 1/284 13033


    when remove_remaining_elements is false
      does not remove remaining memberships
      does not remove remaining group links
      does not remove remaining authorizations
# [RSpecRunTime] RSpec elapsed time: 28 minutes 58.0 seconds. Current RSS: ~1845M. load average: 0.96 1.03 1.00 1/284 13043



# [RSpecRunTime] Finishing example group spec/services/projects/move_access_service_spec.rb. It took 25.22 seconds. Expected to take 23.46 seconds.
# [RSpecRunTime] Starting example group spec/graphql/mutations/issues/update_spec.rb. Expected to take 23.05 seconds.

Mutations::Issues::Update
  is expected to require graphql authorizations :update_issue
  #resolve
    behaves like permission level for issue mutation is correctly verified
      when the user is not a project member
        behaves like when the user does not have access to the resource
          raises an error
          even if assigned to the issue
            does not modify issue
# [RSpecRunTime] RSpec elapsed time: 29 minutes 0.51 second. Current RSS: ~1929M. load average: 1.05 1.05 1.00 1/284 13053


          even if author of the issue
            does not modify issue
      when the user is a project member
        with guest role
          behaves like when the user does not have access to the resource
            raises an error
            even if assigned to the issue
              does not modify issue
# [RSpecRunTime] RSpec elapsed time: 29 minutes 3.28 seconds. Current RSS: ~1998M. load average: 1.04 1.05 1.00 1/285 13063


            even if author of the issue
              does not modify issue
# [RSpecRunTime] RSpec elapsed time: 29 minutes 4.29 seconds. Current RSS: ~1999M. load average: 1.04 1.05 1.00 1/285 13067


    when the user can update the issue
      when all attributes except timeEstimate are provided
        updates issue with correct values
# [RSpecRunTime] RSpec elapsed time: 29 minutes 5.42 seconds. Current RSS: ~2007M. load average: 1.04 1.05 1.00 1/285 13071


      when iid does not exist
        raises resource not available error
# [RSpecRunTime] RSpec elapsed time: 29 minutes 7.62 seconds. Current RSS: ~1991M. load average: 1.04 1.05 1.00 1/285 13075


      when setting milestone to nil
        changes the milestone corrrectly
      when changing state
        closes issue
        reopens issue
# [RSpecRunTime] RSpec elapsed time: 29 minutes 11.23 seconds. Current RSS: ~1883M. load average: 1.04 1.04 1.00 1/285 13085


      when changing labels
        adds and removes labels correctly
        does not add label if label id is nil
        does not add label if label is not found
        does not modify labels if label is already present
        does not modify labels if label is addded and removed in the same request
        when setting labels with label_ids
          replaces existing labels with provided ones
          raises error when label_ids is combined with remove_label_ids
          raises error when label_ids is combined with add_label_ids
# [RSpecRunTime] RSpec elapsed time: 29 minutes 20.51 seconds. Current RSS: ~1932M. load average: 1.11 1.06 1.01 1/285 13110


      when changing type
        changes the type of the issue
# [RSpecRunTime] RSpec elapsed time: 29 minutes 21.87 seconds. Current RSS: ~1933M. load average: 1.11 1.06 1.01 1/285 13114


      when timeEstimate attribute is provided
        when timeEstimate is invalid
          raises an argument error and changes are not applied
        when timeEstimate is negative
          raises an argument error and changes are not applied
        when timeEstimate is 0
          resets the time estimate
        when timeEstimate is a valid human readable time
          updates the time estimate

# [RSpecRunTime] Finishing example group spec/graphql/mutations/issues/update_spec.rb. It took 27.16 seconds. Expected to take 23.05 seconds.
# [RSpecRunTime] Starting example group spec/lib/gitlab/email/receiver_spec.rb. Expected to take 21.71 seconds.

Gitlab::Email::Receiver
  requires all handlers to have a unique metric_event
  requires all handlers to respond to #project
  when the email contains a valid email address in a header
    when in a Delivered-To header
      behaves like successful receive
        correctly finds the mail key
        adds metric event
        returns valid metadata
# [RSpecRunTime] RSpec elapsed time: 29 minutes 28.11 seconds. Current RSS: ~1858M. load average: 1.10 1.06 1.01 1/284 13142


    when in an Envelope-To header
      behaves like successful receive
        correctly finds the mail key
        adds metric event
        returns valid metadata
# [RSpecRunTime] RSpec elapsed time: 29 minutes 29.53 seconds. Current RSS: ~1955M. load average: 1.10 1.06 1.01 1/284 13152


    when in an X-Envelope-To header
      behaves like successful receive
        correctly finds the mail key
        adds metric event
        returns valid metadata
# [RSpecRunTime] RSpec elapsed time: 29 minutes 32.46 seconds. Current RSS: ~2007M. load average: 1.10 1.06 1.01 1/284 13162


    when enclosed with angle brackets in an Envelope-To header
      behaves like successful receive
        correctly finds the mail key
        adds metric event
        returns valid metadata
# [RSpecRunTime] RSpec elapsed time: 29 minutes 34.01 seconds. Current RSS: ~2007M. load average: 1.09 1.06 1.01 1/284 13172


    when mail key is in the references header with a comma
      behaves like successful receive
        correctly finds the mail key
        adds metric event
        returns valid metadata
# [RSpecRunTime] RSpec elapsed time: 29 minutes 35.5 seconds. Current RSS: ~2008M. load average: 1.09 1.06 1.01 1/284 13182


    when all other headers are missing
      it uses receive headers to find the key
        behaves like successful receive
          correctly finds the mail key
          adds metric event
          returns valid metadata
# [RSpecRunTime] RSpec elapsed time: 29 minutes 36.95 seconds. Current RSS: ~1956M. load average: 1.09 1.06 1.01 1/284 13192


    when in a Cc header
      behaves like successful receive
        correctly finds the mail key
        adds metric event
        returns valid metadata
# [RSpecRunTime] RSpec elapsed time: 29 minutes 38.32 seconds. Current RSS: ~1965M. load average: 1.08 1.06 1.00 1/284 13202


    when Service Desk custom email reply address in To header and no References header exists
      when custom email is enabled
        behaves like successful receive
          correctly finds the mail key
          adds metric event
          returns valid metadata
# [RSpecRunTime] RSpec elapsed time: 29 minutes 41.56 seconds. Current RSS: ~2014M. load average: 1.08 1.06 1.00 1/284 13212


        when also Service Desk incoming address in To header
          behaves like successful receive
            correctly finds the mail key
            adds metric event
            returns valid metadata
# [RSpecRunTime] RSpec elapsed time: 29 minutes 43.36 seconds. Current RSS: ~2013M. load average: 1.07 1.05 1.00 1/284 13222


  when we cannot find a capable handler
    behaves like failed receive with event
      adds metric event
  when the email is blank
    behaves like failed receive without event
      adds metric event
  when the email was auto generated with Auto-Submitted header
    behaves like failed receive without event
      adds metric event
  when the email's To field is blank
    behaves like successful receive
      correctly finds the mail key
      adds metric event
      returns valid metadata
# [RSpecRunTime] RSpec elapsed time: 29 minutes 46.28 seconds. Current RSS: ~1943M. load average: 1.07 1.05 1.00 1/284 13241


  when the email's From field is blank
    behaves like successful receive
      correctly finds the mail key
      adds metric event
      returns valid metadata
# [RSpecRunTime] RSpec elapsed time: 29 minutes 47.69 seconds. Current RSS: ~1962M. load average: 1.07 1.05 1.00 1/284 13251


  when the email was auto generated with X-Autoreply header
    behaves like failed receive without event
      adds metric event
  event raising via errors
    handling errors which do not raise events
      expected_error: Gitlab::Email::AutoGeneratedEmailError
        behaves like failed receive without event
          adds metric event
# [RSpecRunTime] RSpec elapsed time: 29 minutes 50.08 seconds. Current RSS: ~2040M. load average: 1.07 1.05 1.00 1/283 13258


      expected_error: Gitlab::Email::ProjectNotFound
        behaves like failed receive without event
          adds metric event
      expected_error: Gitlab::Email::EmptyEmailError
        behaves like failed receive without event
          adds metric event
      expected_error: Gitlab::Email::UserNotFoundError
        behaves like failed receive without event
          adds metric event
      expected_error: Gitlab::Email::UserBlockedError
        behaves like failed receive without event
          adds metric event
      expected_error: Gitlab::Email::UserNotAuthorizedError
        behaves like failed receive without event
          adds metric event
      expected_error: Gitlab::Email::NoteableNotFoundError
        behaves like failed receive without event
          adds metric event
      expected_error: Gitlab::Email::InvalidAttachment
        behaves like failed receive without event
          adds metric event
      expected_error: Gitlab::Email::InvalidRecordError
        behaves like failed receive without event
          adds metric event
      expected_error: Gitlab::Email::EmailTooLarge
        behaves like failed receive without event
          adds metric event
    handling errors which do raise events
      expected_error: Gitlab::Email::EmailUnparsableError
        behaves like failed receive with event
          adds metric event
      expected_error: Gitlab::Email::UnknownIncomingEmail
        behaves like failed receive with event
          adds metric event
      expected_error: ArgumentError
        behaves like failed receive with event
          adds metric event
      expected_error: StandardError
        behaves like failed receive with event
          adds metric event
  when the received field is malformed
    mail_metadata has no ReDos issue
# [RSpecRunTime] RSpec elapsed time: 29 minutes 58.06 seconds. Current RSS: ~1979M. load average: 1.06 1.05 1.00 1/283 13301



# [RSpecRunTime] Finishing example group spec/lib/gitlab/email/receiver_spec.rb. It took 32.9 seconds. Expected to take 21.71 seconds.
# [RSpecRunTime] Starting example group spec/lib/gitlab/redis/shared_state_spec.rb. Expected to take 21.27 seconds.

Gitlab::Redis::SharedState
  .config_file_name
    when there is no config file anywhere
      is expected to be nil
  .store
    with old format
      behaves like redis store
        instantiates Redis::Store
        with the namespace
          uses specified namespace
    with new format
      behaves like redis store
        instantiates Redis::Store
        with the namespace
          uses specified namespace
  .params
    withstands mutation
    with command to generate extra config specified
      when the command returns valid yaml
        merges config from command on top of config from file
      when the command returns invalid yaml
        raises error
      when the parsed external command output returns invalid hash
        raises an error
      when the command fails
        raises error
    when url contains unix socket reference
      with old format
        returns path key instead
      with new format
        returns path key instead
    when url is host based
      with old format
        returns hash with host, port, db, and password
      with new format
        rails_env: "development", host: "development-host"
          returns hash with host, port, db, and password
          does not raise ArgumentError for invalid keywords in SentinelConfig
# [RSpecRunTime] RSpec elapsed time: 30 minutes 6.63 seconds. Current RSS: ~1973M. load average: 1.05 1.05 1.00 1/283 13347


        rails_env: "test", host: "test-host"
          returns hash with host, port, db, and password
          does not raise ArgumentError for invalid keywords in SentinelConfig
# [RSpecRunTime] RSpec elapsed time: 30 minutes 7.64 seconds. Current RSS: ~1973M. load average: 1.05 1.05 1.00 1/283 13354


        rails_env: "production", host: "production-host"
          returns hash with host, port, db, and password
          does not raise ArgumentError for invalid keywords in SentinelConfig
        behaves like instrumentation_class in custom key
          moves instrumentation class into custom
      with redis cluster format
        rails_env: "development", host: "development-master"
          returns hash with cluster and password
          does not raise ArgumentError for invalid keywords in ClusterConfig
          behaves like instrumentation_class in custom key
            moves instrumentation class into custom
# [RSpecRunTime] RSpec elapsed time: 30 minutes 10.49 seconds. Current RSS: ~1974M. load average: 1.05 1.05 1.00 1/284 13373


        rails_env: "test", host: "test-master"
          returns hash with cluster and password
          does not raise ArgumentError for invalid keywords in ClusterConfig
          behaves like instrumentation_class in custom key
            moves instrumentation class into custom
# [RSpecRunTime] RSpec elapsed time: 30 minutes 11.84 seconds. Current RSS: ~1934M. load average: 1.05 1.05 1.00 1/284 13383


        rails_env: "production", host: "production-master"
          returns hash with cluster and password
          does not raise ArgumentError for invalid keywords in ClusterConfig
          behaves like instrumentation_class in custom key
            moves instrumentation class into custom
# [RSpecRunTime] RSpec elapsed time: 30 minutes 14.59 seconds. Current RSS: ~1993M. load average: 1.04 1.05 1.00 1/284 13393


  .url
    withstands mutation
    when yml file with env variable
      reads redis url from env variable
  .version
    returns a version
  .with
    yields a ::Redis
    when running on single-threaded runtime
      instantiates a connection pool with size 5
    when running on multi-threaded runtime
      instantiates a connection pool with a size based on the concurrency of the worker
    when there is no config at all
      can run an empty block
  #db
    with old format
      returns the correct db
    with new format
      returns the correct db
    with cluster-mode
      returns the correct db
  #sentinels
    when sentinels are defined
      rails_env: "development", hosts: ["development-replica1", "development-replica2"]
        returns an array of hashes with host and port keys
      rails_env: "test", hosts: ["test-replica1", "test-replica2"]
        returns an array of hashes with host and port keys
      rails_env: "production", hosts: ["production-replica1", "production-replica2"]
        returns an array of hashes with host and port keys
    when sentinels are not defined
      returns nil
# [RSpecRunTime] RSpec elapsed time: 30 minutes 22.59 seconds. Current RSS: ~1965M. load average: 1.04 1.05 1.00 1/284 13436


    when cluster is defined
      returns nil
  #sentinels?
    when sentinels are defined
      returns true
    when sentinels are not defined
      is expected to eq nil
    when cluster is defined
      returns false
  #raw_config_hash
    returns old-style single url config in a hash
    returns cluster config without url key in a hash
  #secret_file
    when explicitly specified in config file
      returns the absolute path of specified file inside Rails root
    when not explicitly specified
      returns the default path in the encrypted settings shared directory
  #parse_client_tls_options
    when configuration does not have TLS related options
      returns the coniguration as-is
    when specified certificate file does not exist
      raises error about missing certificate file
    when specified key file does not exist
      raises error about missing key file
    when only certificate file is specified
      renders resque.yml correctly
    when only key file is specified
      renders resque.yml correctly
    when configuration valid TLS related options
      converts cert_file and key_file appropriately
  #fetch_config
    raises an exception when the config file contains invalid yaml
    when redis.yml exists
      uses config/redis.yml
# [RSpecRunTime] RSpec elapsed time: 30 minutes 31.16 seconds. Current RSS: ~1987M. load average: 1.03 1.05 1.00 1/284 13485


    when no config file exsits
      returns nil
      when resque.yml exists
        returns the config from resque.yml
# [RSpecRunTime] RSpec elapsed time: 30 minutes 32.17 seconds. Current RSS: ~1987M. load average: 1.03 1.05 1.00 1/284 13492



# [RSpecRunTime] Finishing example group spec/lib/gitlab/redis/shared_state_spec.rb. It took 34.12 seconds. Expected to take 21.27 seconds.
# [RSpecRunTime] Starting example group spec/rubocop/cop/rspec/factory_bot/strategy_in_callback_spec.rb. Expected to take 20.76 seconds.

RuboCop::Cop::RSpec::FactoryBot::StrategyInCallback
  behaves like an offensive factory call
    registers an offence for multiple build(:ci_job_artifact, :archive) calls
    registers an offense for build(:ci_job_artifact, :archive) when is a send node
    registers an offense for build(:ci_job_artifact, :archive) when is assigned
    registers an offence for multiple build_list(:ci_job_artifact, :archive) calls
    registers an offense for build_list(:ci_job_artifact, :archive) when is a send node
    registers an offense for build_list(:ci_job_artifact, :archive) when is assigned
    registers an offence for multiple build_stubbed(:ci_job_artifact, :archive) calls
    registers an offense for build_stubbed(:ci_job_artifact, :archive) when is a send node
    registers an offense for build_stubbed(:ci_job_artifact, :archive) when is assigned
    registers an offence for multiple build_stubbed_list(:ci_job_artifact, :archive) calls
    registers an offense for build_stubbed_list(:ci_job_artifact, :archive) when is a send node
    registers an offense for build_stubbed_list(:ci_job_artifact, :archive) when is assigned
    registers an offence for multiple create(:ci_job_artifact, :archive) calls
    registers an offense for create(:ci_job_artifact, :archive) when is a send node
    registers an offense for create(:ci_job_artifact, :archive) when is assigned
    registers an offence for multiple create_list(:ci_job_artifact, :archive) calls
    registers an offense for create_list(:ci_job_artifact, :archive) when is a send node
    registers an offense for create_list(:ci_job_artifact, :archive) when is assigned
# [RSpecRunTime] RSpec elapsed time: 30 minutes 41.93 seconds. Current RSS: ~2009M. load average: 1.03 1.04 1.00 1/284 13547


  behaves like an offensive factory call
    registers an offence for multiple ::FactoryBot.build(:ci_job_artifact, :archive) calls
    registers an offense for ::FactoryBot.build(:ci_job_artifact, :archive) when is a send node
    registers an offense for ::FactoryBot.build(:ci_job_artifact, :archive) when is assigned
    registers an offence for multiple ::FactoryBot.build_list(:ci_job_artifact, :archive) calls
    registers an offense for ::FactoryBot.build_list(:ci_job_artifact, :archive) when is a send node
    registers an offense for ::FactoryBot.build_list(:ci_job_artifact, :archive) when is assigned
    registers an offence for multiple ::FactoryBot.build_stubbed(:ci_job_artifact, :archive) calls
    registers an offense for ::FactoryBot.build_stubbed(:ci_job_artifact, :archive) when is a send node
    registers an offense for ::FactoryBot.build_stubbed(:ci_job_artifact, :archive) when is assigned
    registers an offence for multiple ::FactoryBot.build_stubbed_list(:ci_job_artifact, :archive) calls
    registers an offense for ::FactoryBot.build_stubbed_list(:ci_job_artifact, :archive) when is a send node
    registers an offense for ::FactoryBot.build_stubbed_list(:ci_job_artifact, :archive) when is assigned
    registers an offence for multiple ::FactoryBot.create(:ci_job_artifact, :archive) calls
    registers an offense for ::FactoryBot.create(:ci_job_artifact, :archive) when is a send node
    registers an offense for ::FactoryBot.create(:ci_job_artifact, :archive) when is assigned
    registers an offence for multiple ::FactoryBot.create_list(:ci_job_artifact, :archive) calls
    registers an offense for ::FactoryBot.create_list(:ci_job_artifact, :archive) when is a send node
    registers an offense for ::FactoryBot.create_list(:ci_job_artifact, :archive) when is assigned
# [RSpecRunTime] RSpec elapsed time: 30 minutes 51.68 seconds. Current RSS: ~1985M. load average: 1.02 1.04 1.00 1/284 13602


  behaves like an offensive factory call
    registers an offence for multiple FactoryBot.build(:ci_job_artifact, :archive) calls
    registers an offense for FactoryBot.build(:ci_job_artifact, :archive) when is a send node
    registers an offense for FactoryBot.build(:ci_job_artifact, :archive) when is assigned
    registers an offence for multiple FactoryBot.build_list(:ci_job_artifact, :archive) calls
    registers an offense for FactoryBot.build_list(:ci_job_artifact, :archive) when is a send node
    registers an offense for FactoryBot.build_list(:ci_job_artifact, :archive) when is assigned
    registers an offence for multiple FactoryBot.build_stubbed(:ci_job_artifact, :archive) calls
    registers an offense for FactoryBot.build_stubbed(:ci_job_artifact, :archive) when is a send node
    registers an offense for FactoryBot.build_stubbed(:ci_job_artifact, :archive) when is assigned
    registers an offence for multiple FactoryBot.build_stubbed_list(:ci_job_artifact, :archive) calls
    registers an offense for FactoryBot.build_stubbed_list(:ci_job_artifact, :archive) when is a send node
    registers an offense for FactoryBot.build_stubbed_list(:ci_job_artifact, :archive) when is assigned
    registers an offence for multiple FactoryBot.create(:ci_job_artifact, :archive) calls
    registers an offense for FactoryBot.create(:ci_job_artifact, :archive) when is a send node
    registers an offense for FactoryBot.create(:ci_job_artifact, :archive) when is assigned
    registers an offence for multiple FactoryBot.create_list(:ci_job_artifact, :archive) calls
    registers an offense for FactoryBot.create_list(:ci_job_artifact, :archive) when is a send node
    registers an offense for FactoryBot.create_list(:ci_job_artifact, :archive) when is assigned
# [RSpecRunTime] RSpec elapsed time: 31 minutes 1.44 seconds. Current RSS: ~1965M. load average: 1.02 1.04 1.00 1/284 13657



# [RSpecRunTime] Finishing example group spec/rubocop/cop/rspec/factory_bot/strategy_in_callback_spec.rb. It took 29.26 seconds. Expected to take 20.76 seconds.
# [RSpecRunTime] Starting example group spec/services/merge_requests/conflicts/list_service_spec.rb. Expected to take 19.36 seconds.

MergeRequests::Conflicts::ListService
  #can_be_resolved_in_ui?
    returns a falsey value when the MR can be merged without conflicts
    returns a falsey value when the MR is marked as having conflicts, but has none
    returns a falsey value when one of the MR branches is missing
    returns a falsey value when the MR does not support new diff notes
    returns a falsey value when the conflicts contain a large file
    returns a falsey value when the conflicts contain a binary file
    returns a falsey value when the conflicts contain a file edited in one branch and deleted in another
    returns a truthy value when the conflicts are resolvable in the UI
    returns a truthy value when the conflicts have to be resolved in an editor
    returns a falsey value when the MR has a missing ref after a force push
    returns a falsey value when the MR has a missing revision after a force push
    returns a falsey value when the conflict is in a submodule revision
# [RSpecRunTime] RSpec elapsed time: 31 minutes 24.85 seconds. Current RSS: ~1894M. load average: 1.01 1.04 1.00 1/290 14358



# [RSpecRunTime] Finishing example group spec/services/merge_requests/conflicts/list_service_spec.rb. It took 23.44 seconds. Expected to take 19.36 seconds.
# [RSpecRunTime] Starting example group spec/lib/gitlab/auth/ldap/person_spec.rb. Expected to take 18.14 seconds.

Gitlab::Auth::Ldap::Person
  .normalize_dn
    behaves like normalizes a DN
      test_description: "strips extraneous whitespace", given: "uid     =John Smith ,  ou = People, dc=  example,dc =com", expected: "uid=john smith,ou=people,dc=example,dc=com"
        normalizes the DN
      test_description: "strips extraneous whitespace for a DN with a single RDN", given: "uid  =  John Smith", expected: "uid=john smith"
        normalizes the DN
      test_description: "unescapes non-reserved, non-special Unicode characters", given: "uid   =  Sebasti\\c3\\a1n\\ C.\\20Smith,   ou=People (aka. \\22humans\\\")  ,dc=example, dc=com", expected: "uid=sebastián c. smith,ou=people (aka. \\\"humans\\\"),dc=example,dc=com"
        normalizes the DN
      test_description: "downcases the whole string", given: "UID=John Smith,ou=People,dc=example,dc=com", expected: "uid=john smith,ou=people,dc=example,dc=com"
        normalizes the DN
      test_description: "for a null DN (empty string), returns empty string and does not error", given: "", expected: ""
        normalizes the DN
      test_description: "does not strip an escaped leading space in an attribute value", given: "uid=\\ John Smith,ou=People,dc=example,dc=com", expected: "uid=\\ john smith,ou=people,dc=example,dc=com"
        normalizes the DN
      test_description: "does not strip an escaped leading space in the last attribute value", given: "uid=\\ John Smith", expected: "uid=\\ john smith"
        normalizes the DN
      test_description: "does not strip an escaped trailing space in an attribute value", given: "uid=John Smith\\ ,ou=People,dc=example,dc=com", expected: "uid=john smith\\ ,ou=people,dc=example,dc=com"
        normalizes the DN
      test_description: "strips extraneous spaces after an escaped trailing space", given: "uid=John Smith\\   ,ou=People,dc=example,dc=com", expected: "uid=john smith\\ ,ou=people,dc=example,dc=com"
        normalizes the DN
      test_description: "strips extraneous spaces after an escaped trailing space at the end of the DN", given: "uid=John Smith,ou=People,dc=example,dc=com\\   ", expected: "uid=john smith,ou=people,dc=example,dc=com\\ "
        normalizes the DN
      test_description: "properly preserves escaped trailing space after unescaped trailing spaces", given: "uid=John Smith  \\  ,ou=People,dc=example,dc=com", expected: "uid=john smith  \\ ,ou=people,dc=example,dc=com"
        normalizes the DN
      test_description: "preserves multiple inner spaces in an attribute value", given: "uid=John   Smith,ou=People,dc=example,dc=com", expected: "uid=john   smith,ou=people,dc=example,dc=com"
        normalizes the DN
      test_description: "preserves inner spaces after an escaped space", given: "uid=John\\   Smith,ou=People,dc=example,dc=com", expected: "uid=john   smith,ou=people,dc=example,dc=com"
        normalizes the DN
      test_description: "hex-escapes an escaped leading newline in an attribute value", given: "uid=\\\nJohn Smith,ou=People,dc=example,dc=com", expected: "uid=\\0ajohn smith,ou=people,dc=example,dc=com"
        normalizes the DN
      test_description: "hex-escapes and does not strip an escaped trailing newline in an attribute value", given: "uid=John Smith\\\n,ou=People,dc=example,dc=com", expected: "uid=john smith\\0a,ou=people,dc=example,dc=com"
        normalizes the DN
      test_description: "hex-escapes an unescaped leading newline (actually an invalid DN?)", given: "uid=\nJohn Smith,ou=People,dc=example,dc=com", expected: "uid=\\0ajohn smith,ou=people,dc=example,dc=com"
        normalizes the DN
# [RSpecRunTime] RSpec elapsed time: 31 minutes 33.79 seconds. Current RSS: ~1994M. load average: 1.01 1.03 1.00 1/290 14407


      test_description: "strips an unescaped trailing newline (actually an invalid DN?)", given: "uid=John Smith\n,ou=People,dc=example,dc=com", expected: "uid=john smith,ou=people,dc=example,dc=com"
        normalizes the DN
      test_description: "does not strip if no extraneous whitespace", given: "uid=John Smith,ou=People,dc=example,dc=com", expected: "uid=john smith,ou=people,dc=example,dc=com"
        normalizes the DN
      test_description: "does not modify an escaped equal sign in an attribute value", given: "uid= foo  \\=  bar", expected: "uid=foo  \\=  bar"
        normalizes the DN
      test_description: "converts an escaped hex equal sign to an escaped equal sign in an attribute value", given: "uid= foo  \\3D  bar", expected: "uid=foo  \\=  bar"
        normalizes the DN
      test_description: "does not modify an escaped comma in an attribute value", given: "uid= John C. Smith, ou=San Francisco\\, CA", expected: "uid=john c. smith,ou=san francisco\\, ca"
        normalizes the DN
      test_description: "converts an escaped hex comma to an escaped comma in an attribute value", given: "uid= John C. Smith, ou=San Francisco\\2C CA", expected: "uid=john c. smith,ou=san francisco\\, ca"
        normalizes the DN
      test_description: "does not modify an escaped hex carriage return character in an attribute value", given: "uid= John C. Smith, ou=San Francisco\\,\\0DCA", expected: "uid=john c. smith,ou=san francisco\\,\\0dca"
        normalizes the DN
      test_description: "does not modify an escaped hex line feed character in an attribute value", given: "uid= John C. Smith, ou=San Francisco\\,\\0ACA", expected: "uid=john c. smith,ou=san francisco\\,\\0aca"
        normalizes the DN
      test_description: "does not modify an escaped hex CRLF in an attribute value", given: "uid= John C. Smith, ou=San Francisco\\,\\0D\\0ACA", expected: "uid=john c. smith,ou=san francisco\\,\\0d\\0aca"
        normalizes the DN
      test_description: "allows attribute type name OIDs", given: "0.9.2342.19200300.100.1.25=Example,0.9.2342.19200300.100.1.25=Com", expected: "0.9.2342.19200300.100.1.25=example,0.9.2342.19200300.100.1.25=com"
        normalizes the DN
      test_description: "strips extraneous whitespace from attribute type name OIDs", given: "0.9.2342.19200300.100.1.25 = Example, 0.9.2342.19200300.100.1.25 = Com", expected: "0.9.2342.19200300.100.1.25=example,0.9.2342.19200300.100.1.25=com"
        normalizes the DN
    with an exception during normalization
      returns the given DN unmodified
  .normalize_uid
    behaves like normalizes a DN attribute value
      test_description: "strips extraneous whitespace", given: "   John Smith   ", expected: "john smith"
        normalizes the DN attribute value
      test_description: "unescapes non-reserved, non-special Unicode characters", given: "Sebasti\\c3\\a1n\\ C.\\20Smith", expected: "sebastián c. smith"
        normalizes the DN attribute value
# [RSpecRunTime] RSpec elapsed time: 31 minutes 41.66 seconds. Current RSS: ~1955M. load average: 1.01 1.03 1.00 1/286 14450


      test_description: "downcases the whole string", given: "JoHn C. Smith", expected: "john c. smith"
        normalizes the DN attribute value
      test_description: "does not strip an escaped leading space in an attribute value", given: "\\ John Smith", expected: "\\ john smith"
        normalizes the DN attribute value
      test_description: "does not strip an escaped trailing space in an attribute value", given: "John Smith\\ ", expected: "john smith\\ "
        normalizes the DN attribute value
      test_description: "hex-escapes an escaped leading newline in an attribute value", given: "\\\nJohn Smith", expected: "\\0ajohn smith"
        normalizes the DN attribute value
      test_description: "hex-escapes and does not strip an escaped trailing newline in an attribute value", given: "John Smith\\\n", expected: "john smith\\0a"
        normalizes the DN attribute value
      test_description: "hex-escapes an unescaped leading newline (actually an invalid DN value?)", given: "\nJohn Smith", expected: "\\0ajohn smith"
        normalizes the DN attribute value
      test_description: "strips an unescaped trailing newline (actually an invalid DN value?)", given: "John Smith\n", expected: "john smith"
        normalizes the DN attribute value
      test_description: "does not strip if no extraneous whitespace", given: "John Smith", expected: "john smith"
        normalizes the DN attribute value
      test_description: "does not modify an escaped equal sign in an attribute value", given: " foo  \\=  bar", expected: "foo  \\=  bar"
        normalizes the DN attribute value
      test_description: "converts an escaped hex equal sign to an escaped equal sign in an attribute value", given: " foo  \\3D  bar", expected: "foo  \\=  bar"
        normalizes the DN attribute value
      test_description: "does not modify an escaped comma in an attribute value", given: "San Francisco\\, CA", expected: "san francisco\\, ca"
        normalizes the DN attribute value
      test_description: "converts an escaped hex comma to an escaped comma in an attribute value", given: "San Francisco\\2C CA", expected: "san francisco\\, ca"
        normalizes the DN attribute value
      test_description: "does not modify an escaped hex carriage return character in an attribute value", given: "San Francisco\\,\\0DCA", expected: "san francisco\\,\\0dca"
        normalizes the DN attribute value
      test_description: "does not modify an escaped hex line feed character in an attribute value", given: "San Francisco\\,\\0ACA", expected: "san francisco\\,\\0aca"
        normalizes the DN attribute value
# [RSpecRunTime] RSpec elapsed time: 31 minutes 49.54 seconds. Current RSS: ~1936M. load average: 1.01 1.03 1.00 1/286 14493


      test_description: "does not modify an escaped hex CRLF in an attribute value", given: "San Francisco\\,\\0D\\0ACA", expected: "san francisco\\,\\0d\\0aca"
        normalizes the DN attribute value
    with an exception during normalization
      returns the given UID unmodified
  .ldap_attributes
    returns a compact and unique array
  #name
    uses the configured name attribute and handles values as an array
  #email
    returns the value of mail, if present
    returns the value of userPrincipalName, if mail and email are not present
  #username
    with default uid username attribute
      returns the proper username value
    with a different username attribute
      returns the proper username value
    with a non-standard username attribute
      returns the proper username value
    if lowercase_usernames setting is
      enabled the username attribute is lower cased
      disabled the username attribute is not lower cased

# [RSpecRunTime] Finishing example group spec/lib/gitlab/auth/ldap/person_spec.rb. It took 29.72 seconds. Expected to take 18.14 seconds.
# [RSpecRunTime] Starting example group spec/lib/gitlab/issues/rebalancing/state_spec.rb. Expected to take 17.6 seconds.

Gitlab::Issues::Rebalancing::State
  rebalancing issues in namespace
    is expected to eq 1
    behaves like issues rebalance caching
      #track_new_running_rebalance
        caches a project id to track caching in progress
# [RSpecRunTime] RSpec elapsed time: 31 minutes 56.0 seconds. Current RSS: ~1893M. load average: 1.01 1.03 1.00 1/286 14533


      #set and get current_index
        returns zero as current index when index not cached
        returns cached current index
# [RSpecRunTime] RSpec elapsed time: 31 minutes 58.32 seconds. Current RSS: ~1959M. load average: 1.00 1.03 1.00 1/287 14540


      #set and get current_project
        returns nil if there is no project_id cached
        returns cached current project_id
      #rebalance_in_progress?
        return zero if no re-balances are running
        return false if no re-balances are running
        return true a re-balance for given project/namespace is running
# [RSpecRunTime] RSpec elapsed time: 32 minutes 0.7 second. Current RSS: ~1958M. load average: 1.00 1.03 1.00 1/287 14556


      caching issue ids
        with no issue ids cached
          returns zero when there are no cached issue ids
          returns empty array when there are no cached issue ids
# [RSpecRunTime] RSpec elapsed time: 32 minutes 1.7 seconds. Current RSS: ~1959M. load average: 1.00 1.03 1.00 1/288 14563


        with cached issue ids
          returns count of cached issue ids
          returns array of issue ids
          limits returned values
          when caching duplicate issue_ids
            does not cache duplicate issues
            returns cached issues with latest scores
# [RSpecRunTime] RSpec elapsed time: 32 minutes 4.0 seconds. Current RSS: ~1922M. load average: 1.00 1.03 1.00 1/288 14579


      when setting expiration
        when tracking new rebalance
          returns as expired for non existent key
          has expiration set
        when setting current index
          returns as expiring for non existent key
          has expiration set
# [RSpecRunTime] RSpec elapsed time: 32 minutes 7.32 seconds. Current RSS: ~1966M. load average: 1.00 1.03 1.00 1/287 14592


        when setting current project id
          returns as expired for non existent key
          has expiration set
# [RSpecRunTime] RSpec elapsed time: 32 minutes 8.35 seconds. Current RSS: ~1966M. load average: 1.00 1.03 1.00 1/287 14599


        when setting cached issue ids
          returns as expired for non existent key
          has expiration set
      cleanup cache
        removes cache keys
    .fetch_rebalancing_groups_and_projects
      caches recently finished rebalance key
  rebalancing issues in a project
    is expected to eq 2
    behaves like issues rebalance caching
      #track_new_running_rebalance
        caches a project id to track caching in progress
# [RSpecRunTime] RSpec elapsed time: 32 minutes 11.5 seconds. Current RSS: ~1923M. load average: 1.00 1.03 1.00 1/287 14618


      #set and get current_index
        returns zero as current index when index not cached
        returns cached current index
      #set and get current_project
        returns nil if there is no project_id cached
        returns cached current project_id
      #rebalance_in_progress?
        return zero if no re-balances are running
        return false if no re-balances are running
        return true a re-balance for given project/namespace is running
# [RSpecRunTime] RSpec elapsed time: 32 minutes 16.05 seconds. Current RSS: ~1951M. load average: 1.00 1.03 1.00 1/287 14640


      caching issue ids
        with no issue ids cached
          returns zero when there are no cached issue ids
          returns empty array when there are no cached issue ids
# [RSpecRunTime] RSpec elapsed time: 32 minutes 17.06 seconds. Current RSS: ~1952M. load average: 1.00 1.03 1.00 1/287 14647


        with cached issue ids
          returns count of cached issue ids
          returns array of issue ids
          limits returned values
          when caching duplicate issue_ids
            does not cache duplicate issues
            returns cached issues with latest scores
# [RSpecRunTime] RSpec elapsed time: 32 minutes 19.45 seconds. Current RSS: ~1954M. load average: 1.00 1.03 1.00 1/287 14663


      when setting expiration
        when tracking new rebalance
          returns as expired for non existent key
          has expiration set
        when setting current index
          returns as expiring for non existent key
          has expiration set
        when setting current project id
          returns as expired for non existent key
          has expiration set
        when setting cached issue ids
          returns as expired for non existent key
          has expiration set
# [RSpecRunTime] RSpec elapsed time: 32 minutes 24.51 seconds. Current RSS: ~1958M. load average: 1.00 1.03 1.00 1/287 14688


      cleanup cache
        removes cache keys
    .fetch_rebalancing_groups_and_projects
      caches recently finished rebalance key

# [RSpecRunTime] Finishing example group spec/lib/gitlab/issues/rebalancing/state_spec.rb. It took 30.89 seconds. Expected to take 17.6 seconds.
# [RSpecRunTime] Starting example group spec/lib/gitlab/import_export/json/streaming_serializer_spec.rb. Expected to take 17.1 seconds.

Gitlab::ImportExport::Json::StreamingSerializer
  #execute
    calls json_writer.write_attributes with proper params
    with many relations
      calls json_writer.write_relation_array with proper params and clears SafeRequestStore
      logs the relation name and the number of records to export
      default relation ordering
        orders exported issues by primary key(:id)
# [RSpecRunTime] RSpec elapsed time: 32 minutes 32.41 seconds. Current RSS: ~1727M. load average: 1.00 1.03 1.00 1/287 14713


      custom relation ordering ascending
        orders exported issues by custom column(relative_position)
# [RSpecRunTime] RSpec elapsed time: 32 minutes 34.04 seconds. Current RSS: ~1753M. load average: 1.00 1.03 1.00 1/287 14717


      custom relation ordering descending
        orders exported issues by custom column(relative_position)
# [RSpecRunTime] RSpec elapsed time: 32 minutes 35.94 seconds. Current RSS: ~1820M. load average: 1.00 1.03 1.00 1/287 14721


    with single relation
      calls json_writer.write_relation with proper params
      logs the relation name
# [RSpecRunTime] RSpec elapsed time: 32 minutes 38.27 seconds. Current RSS: ~1880M. load average: 1.00 1.02 1.00 1/287 14728


    with array relation
      calls json_writer.write_relation_array with proper params
      logs the relation name and the number of records to export
# [RSpecRunTime] RSpec elapsed time: 32 minutes 40.22 seconds. Current RSS: ~1882M. load average: 1.00 1.02 1.00 1/287 14735


    load balancing
      reads from replica
    with inaccessible associations
      conditional export of included associations
        when association is exportable
          behaves like record with exportable associations
            includes exportable association
        when an association is not exportable
          behaves like record with exportable associations
            includes exportable association
        when association does not respond to exportable_association?
          behaves like record with exportable associations
            includes exportable association
      export of included restricted associations
        when the association is restricted
          when some association records are exportable
            behaves like record with exportable associations
              includes exportable association
          when all association records are exportable
            behaves like record with exportable associations
              includes exportable association
          when the single association record is exportable
            behaves like record with exportable associations
              includes exportable association
          when the single association record is not exportable
            behaves like record with exportable associations
              includes exportable association
        when the associations are not restricted
          behaves like record with exportable associations
            includes exportable association
  #serialize_relation
    when record is a merge request
      removes cached external diff
    when export_reduce_relation_batch_size` feature flag is enabled
      when exported relation is included in SMALL_BATCH_RELATIONS
        export relations using a smaller batch size
      when exported relation is not included in SMALL_BATCH_RELATIONS
        export relations using the regular batch size
# [RSpecRunTime] RSpec elapsed time: 32 minutes 47.89 seconds. Current RSS: ~1980M. load average: 1.00 1.02 1.00 1/293 14806


    when export_reduce_relation_batch_size` feature flag is disabled
      export relations using the regular batch size

# [RSpecRunTime] Finishing example group spec/lib/gitlab/import_export/json/streaming_serializer_spec.rb. It took 22.84 seconds. Expected to take 17.1 seconds.
# [RSpecRunTime] Starting example group spec/finders/environments/environments_by_deployments_finder_spec.rb. Expected to take 16.31 seconds.

Environments::EnvironmentsByDeploymentsFinder
  #execute
    tagged deployment
      does not return environment when commit is not part of deployment
      only calls Gitaly twice when multiple environments are present
# [RSpecRunTime] RSpec elapsed time: 32 minutes 51.73 seconds. Current RSS: ~1908M. load average: 1.00 1.02 1.00 1/292 14847


    branch deployment
      returns environment when ref is set
      does not environment when ref is different
      does not return environment when commit is not part of deployment
      returns environment when commit constraint is not set
# [RSpecRunTime] RSpec elapsed time: 32 minutes 57.39 seconds. Current RSS: ~1732M. load average: 1.00 1.02 1.00 1/292 14920


    sha deployment
      returns environment
      does not return environment when sha is different
# [RSpecRunTime] RSpec elapsed time: 33 minutes 0.12 second. Current RSS: ~1869M. load average: 1.00 1.02 1.00 1/292 14955


    commit deployment
      returns environment
# [RSpecRunTime] RSpec elapsed time: 33 minutes 3.2 seconds. Current RSS: ~1884M. load average: 1.00 1.02 1.00 1/292 14974


    recently updated
      when last deployment to environment is the most recent one
        finds recently updated environment
# [RSpecRunTime] RSpec elapsed time: 33 minutes 4.73 seconds. Current RSS: ~1886M. load average: 1.00 1.02 1.00 1/292 14989


      when last deployment to environment is not the most recent
        does not find environment
# [RSpecRunTime] RSpec elapsed time: 33 minutes 6.32 seconds. Current RSS: ~1829M. load average: 1.00 1.02 1.00 1/292 15009


      when there are two environments that deploy to the same branch
        finds both environments
# [RSpecRunTime] RSpec elapsed time: 33 minutes 7.81 seconds. Current RSS: ~1796M. load average: 1.00 1.02 1.00 1/292 15029



# [RSpecRunTime] Finishing example group spec/finders/environments/environments_by_deployments_finder_spec.rb. It took 19.51 seconds. Expected to take 16.31 seconds.
# [RSpecRunTime] Starting example group spec/services/ci/resource_groups/assign_resource_from_resource_group_service_spec.rb. Expected to take 16.0 seconds.

Ci::ResourceGroups::AssignResourceFromResourceGroupService
  #execute
    when there is an available resource
      requests resource
      when failed to request resource
        has a build waiting for resource
# [RSpecRunTime] RSpec elapsed time: 33 minutes 10.92 seconds. Current RSS: ~1722M. load average: 1.00 1.02 1.00 1/292 15036


      when the build has already retained a resource
        has a pending build
# [RSpecRunTime] RSpec elapsed time: 33 minutes 11.99 seconds. Current RSS: ~1717M. load average: 1.00 1.02 1.00 1/292 15040


      when process mode is oldest_first
        requests resource
        when the other job exists in the newer pipeline
          requests resource for the job in the oldest pipeline
# [RSpecRunTime] RSpec elapsed time: 33 minutes 14.6 seconds. Current RSS: ~1814M. load average: 1.08 1.04 1.01 1/292 15047


        when build is not `waiting_for_resource` state
          attempts to request a resource
          does not change the job status
# [RSpecRunTime] RSpec elapsed time: 33 minutes 18.21 seconds. Current RSS: ~1896M. load average: 1.07 1.04 1.00 1/287 15054


      when process mode is newest_first
        requests resource
        when the other job exists in the newer pipeline
          requests resource for the job in the newest pipeline
# [RSpecRunTime] RSpec elapsed time: 33 minutes 21.1 seconds. Current RSS: ~1854M. load average: 1.07 1.04 1.00 3/288 15061


        when build is not `waiting_for_resource` state
          attempts to request a resource
          does not change the job status
# [RSpecRunTime] RSpec elapsed time: 33 minutes 23.3 seconds. Current RSS: ~1796M. load average: 1.07 1.04 1.00 1/287 15068


      when parallel services are running
        can run the same command in parallel
# [RSpecRunTime] RSpec elapsed time: 33 minutes 24.76 seconds. Current RSS: ~1730M. load average: 1.07 1.04 1.00 1/289 15074


    when there are no available resources
      does not request resource
      when there is a stale build assigned to a resource
        releases the resource from the stale build and assignes to the waiting build
# [RSpecRunTime] RSpec elapsed time: 33 minutes 27.82 seconds. Current RSS: ~1759M. load average: 1.07 1.04 1.00 1/287 15081



# [RSpecRunTime] Finishing example group spec/services/ci/resource_groups/assign_resource_from_resource_group_service_spec.rb. It took 19.98 seconds. Expected to take 16.0 seconds.
# [RSpecRunTime] Starting example group spec/lib/gitlab/import_export/after_export_strategies/base_after_export_strategy_spec.rb. Expected to take 15.27 seconds.

Gitlab::ImportExport::AfterExportStrategies::BaseAfterExportStrategy
  #execute
    returns if project exported file is not found
    creates a lock file in the export dir
    when the method succeeds
      removes the lock file
      removes the archive path
# [RSpecRunTime] RSpec elapsed time: 33 minutes 34.8 seconds. Current RSS: ~1826M. load average: 1.14 1.05 1.01 1/290 15109


    when the method fails
      when validation fails
        does not create the lock file
        does not execute main logic
        logs validation errors in shared context
        removes the archive path
# [RSpecRunTime] RSpec elapsed time: 33 minutes 40.28 seconds. Current RSS: ~1749M. load average: 1.13 1.05 1.01 1/290 15134


      when an exception is raised
        removes the lock
# [RSpecRunTime] RSpec elapsed time: 33 minutes 41.72 seconds. Current RSS: ~1752M. load average: 1.13 1.05 1.01 1/290 15141


  #log_validation_errors
    add the message to the shared context
# [RSpecRunTime] RSpec elapsed time: 33 minutes 43.11 seconds. Current RSS: ~1781M. load average: 1.12 1.05 1.01 1/290 15148


  #to_json
    adds the current strategy class to the serialized attributes
# [RSpecRunTime] RSpec elapsed time: 33 minutes 44.45 seconds. Current RSS: ~1831M. load average: 1.12 1.05 1.01 1/290 15155



# [RSpecRunTime] Finishing example group spec/lib/gitlab/import_export/after_export_strategies/base_after_export_strategy_spec.rb. It took 16.63 seconds. Expected to take 15.27 seconds.
# [RSpecRunTime] Starting example group spec/lib/gitlab/metrics/rails_slis_spec.rb. Expected to take 14.95 seconds.

Gitlab::Metrics::RailsSlis
  .initialize_request_slis!
    initializes the SLI for all possible endpoints if they weren't
    when initializeing for limited types
      git: true, api: true, web: true
        initializes only with the expected labels
# [RSpecRunTime] RSpec elapsed time: 33 minutes 52.28 seconds. Current RSS: ~1794M. load average: 1.11 1.05 1.01 1/287 15162


      git: true, api: true, web: false
        initializes only with the expected labels
# [RSpecRunTime] RSpec elapsed time: 33 minutes 53.54 seconds. Current RSS: ~1794M. load average: 1.10 1.05 1.01 1/287 15166


      git: true, api: false, web: true
        initializes only with the expected labels
# [RSpecRunTime] RSpec elapsed time: 33 minutes 54.85 seconds. Current RSS: ~1798M. load average: 1.10 1.05 1.01 1/287 15170


      git: true, api: false, web: false
        initializes only with the expected labels
# [RSpecRunTime] RSpec elapsed time: 33 minutes 55.94 seconds. Current RSS: ~1800M. load average: 1.10 1.05 1.01 1/287 15174


      git: false, api: true, web: true
        initializes only with the expected labels
# [RSpecRunTime] RSpec elapsed time: 33 minutes 57.16 seconds. Current RSS: ~1790M. load average: 1.10 1.05 1.01 1/287 15178


      git: false, api: true, web: false
        initializes only with the expected labels
# [RSpecRunTime] RSpec elapsed time: 33 minutes 58.32 seconds. Current RSS: ~1789M. load average: 1.09 1.05 1.01 1/287 15182


      git: false, api: false, web: true
        initializes only with the expected labels
# [RSpecRunTime] RSpec elapsed time: 33 minutes 59.48 seconds. Current RSS: ~1790M. load average: 1.09 1.05 1.01 1/287 15186


      git: false, api: false, web: false
        initializes only with the expected labels
# [RSpecRunTime] RSpec elapsed time: 34 minutes 1.98 seconds. Current RSS: ~1805M. load average: 1.09 1.05 1.01 1/287 15190


  .request_apdex
    returns the initialized request apdex SLI object
  .request_error
    returns the initialized request error rate SLI object
  .graphql_query_apdex
    returns the initialized request apdex SLI object

# [RSpecRunTime] Finishing example group spec/lib/gitlab/metrics/rails_slis_spec.rb. It took 20.39 seconds. Expected to take 14.95 seconds.
# [RSpecRunTime] Starting example group spec/lib/banzai/filter/references/feature_flag_reference_filter_spec.rb. Expected to take 14.0 seconds.

Banzai::Filter::References::FeatureFlagReferenceFilter
  requires project context
  ignores valid references contained inside 'pre' element
  ignores valid references contained inside 'code' element
  ignores valid references contained inside 'a' element
  ignores valid references contained inside 'style' element
  with internal reference
    links to a valid reference
    links with adjacent text
    ignores invalid feature flag IIDs
    includes a title attribute
    escapes the title attribute
    includes default classes
    includes a data-project attribute
    includes a data-feature-flag attribute
    supports an :only_path context
# [RSpecRunTime] RSpec elapsed time: 34 minutes 12.13 seconds. Current RSS: ~2051M. load average: 1.08 1.04 1.01 1/287 15242


  with cross-project / cross-namespace complete reference
    links to a valid reference
    produces a valid text in a link
    produces a valid text
    ignores invalid feature flag IIDs on the referenced project
# [RSpecRunTime] RSpec elapsed time: 34 minutes 16.05 seconds. Current RSS: ~2152M. load average: 1.07 1.04 1.01 1/287 15255


  with cross-project / same-namespace complete reference
    links to a valid reference
    produces a valid text in a link
    produces a valid text
    ignores invalid feature flag IIDs on the referenced project
# [RSpecRunTime] RSpec elapsed time: 34 minutes 18.65 seconds. Current RSS: ~2143M. load average: 1.06 1.04 1.00 1/287 15268


  with cross-project shorthand reference
    links to a valid reference
    produces a valid text in a link
    produces a valid text
    ignores invalid feature flag IDs on the referenced project
# [RSpecRunTime] RSpec elapsed time: 34 minutes 21.28 seconds. Current RSS: ~2075M. load average: 1.06 1.04 1.00 2/288 15281


  with cross-project URL reference
    links to a valid reference
    links with adjacent text
    ignores invalid feature flag IIDs on the referenced project
# [RSpecRunTime] RSpec elapsed time: 34 minutes 23.2 seconds. Current RSS: ~1931M. load average: 1.06 1.04 1.00 1/287 15291


  with group context
    links to a valid reference
    ignores internal references
# [RSpecRunTime] RSpec elapsed time: 34 minutes 24.25 seconds. Current RSS: ~1927M. load average: 1.06 1.04 1.00 1/287 15298



# [RSpecRunTime] Finishing example group spec/lib/banzai/filter/references/feature_flag_reference_filter_spec.rb. It took 19.42 seconds. Expected to take 14.0 seconds.
# [RSpecRunTime] Starting example group spec/tasks/gitlab/ldap_rake_spec.rb. Expected to take 12.97 seconds.

gitlab:ldap:rename_provider rake task
  completes without error

# [RSpecRunTime] Finishing example group spec/tasks/gitlab/ldap_rake_spec.rb. It took 3.35 seconds. Expected to take 12.97 seconds.
# [RSpecRunTime] RSpec elapsed time: 34 minutes 27.78 seconds. Current RSS: ~1974M. load average: 1.06 1.04 1.00 1/287 15302


# [RSpecRunTime] Starting example group spec/tasks/gitlab/ldap_rake_spec.rb. Expected to take 12.97 seconds.

gitlab:ldap:secret rake tasks
  :show
    displays error when file does not exist
    displays error when key does not exist
    displays error when key is changed
    outputs the unencrypted content when present
# [RSpecRunTime] RSpec elapsed time: 34 minutes 31.71 seconds. Current RSS: ~2056M. load average: 1.05 1.04 1.00 1/287 15315


  edit
# main:
#   password: '123'
#   bind_dn: 'gitlab-adm'
    creates encrypted file
    displays error when key does not exist
    displays error when key is changed
    displays error when write directory does not exist
somevalue    shows a warning when content is invalid
    displays error when $EDITOR is not set
# main:
#   password: '123'
#   bind_dn: 'gitlab-adm'
    when $EDITOR contains multiple arguments
    when $EDITOR is set to a non-existent binary
# [RSpecRunTime] RSpec elapsed time: 34 minutes 36.46 seconds. Current RSS: ~1925M. load average: 1.05 1.04 1.00 1/287 15344


  write
    creates encrypted file from stdin
    displays error when key does not exist
    displays error when write directory does not exist
somevalue    shows a warning when content is invalid
# [RSpecRunTime] RSpec elapsed time: 34 minutes 38.61 seconds. Current RSS: ~1967M. load average: 1.04 1.04 1.00 1/287 15358



# [RSpecRunTime] Finishing example group spec/tasks/gitlab/ldap_rake_spec.rb. It took 13.61 seconds. Expected to take 12.97 seconds.
# [RSpecRunTime] RSpec elapsed time: 34 minutes 41.46 seconds. Current RSS: ~2008M. load average: 1.04 1.04 1.00 1/287 15359


# [RSpecRunTime] Starting example group spec/models/project_auto_devops_spec.rb. Expected to take 12.96 seconds.

ProjectAutoDevops
  does not allow STI
  is expected to belong to project required: false
  is expected to define :deploy_strategy as an enum backed by an integer
  is expected to respond to #created_at
  is expected to respond to #updated_at
  behaves like having unique enum values
    has unique values in "deploy_strategy"
# [RSpecRunTime] RSpec elapsed time: 34 minutes 46.11 seconds. Current RSS: ~2012M. load average: 1.04 1.04 1.00 1/287 15378


  #predefined_variables
    when deploy_strategy is manual
      is expected to include {:key => "AUTO_DEVOPS_EXPLICITLY_ENABLED", :value => "1"}
    when deploy_strategy is continuous
      is expected to include {:key => "AUTO_DEVOPS_EXPLICITLY_ENABLED", :value => "1"}
      is expected not to include "STAGING_ENABLED" and "INCREMENTAL_ROLLOUT_ENABLED"
    when deploy_strategy is timed_incremental
      is expected to include {:key => "INCREMENTAL_ROLLOUT_MODE", :value => "timed"}
      is expected to include {:key => "AUTO_DEVOPS_EXPLICITLY_ENABLED", :value => "1"}
      is expected not to include "STAGING_ENABLED" and "INCREMENTAL_ROLLOUT_ENABLED"
# [RSpecRunTime] RSpec elapsed time: 34 minutes 49.04 seconds. Current RSS: ~1983M. load average: 1.04 1.04 1.00 1/287 15397


    when auto-devops is explicitly disabled
      is expected to be empty
  #create_gitlab_deploy_token
    when the project is public
      does not create a gitlab deploy token
# [RSpecRunTime] RSpec elapsed time: 34 minutes 50.66 seconds. Current RSS: ~1995M. load average: 1.04 1.04 1.00 1/287 15410


    when the project is internal
      creates a gitlab deploy token
# [RSpecRunTime] RSpec elapsed time: 34 minutes 53.36 seconds. Current RSS: ~1991M. load average: 1.03 1.04 1.00 1/287 15420


    when the project is private
      creates a gitlab deploy token
# [RSpecRunTime] RSpec elapsed time: 34 minutes 54.63 seconds. Current RSS: ~1991M. load average: 1.03 1.04 1.00 1/287 15430


    when autodevops is enabled at project level
      creates a deploy token
# [RSpecRunTime] RSpec elapsed time: 34 minutes 55.87 seconds. Current RSS: ~1974M. load average: 1.03 1.04 1.00 1/287 15440


    when autodevops is enabled at instance level
      creates a deploy token
# [RSpecRunTime] RSpec elapsed time: 34 minutes 57.05 seconds. Current RSS: ~1946M. load average: 1.03 1.04 1.00 1/287 15450


    when autodevops is disabled
      does not create a deploy token
# [RSpecRunTime] RSpec elapsed time: 34 minutes 58.29 seconds. Current RSS: ~1882M. load average: 1.03 1.04 1.00 1/287 15460


    when the project already has an active gitlab-deploy-token
      does not create a deploy token
# [RSpecRunTime] RSpec elapsed time: 34 minutes 59.53 seconds. Current RSS: ~1808M. load average: 1.03 1.04 1.00 1/287 15470


    when the project already has a revoked gitlab-deploy-token
      does not create a deploy token
# [RSpecRunTime] RSpec elapsed time: 35 minutes 0.68 second. Current RSS: ~1786M. load average: 1.03 1.04 1.00 1/287 15480



# [RSpecRunTime] Finishing example group spec/models/project_auto_devops_spec.rb. It took 19.32 seconds. Expected to take 12.96 seconds.
# [RSpecRunTime] Starting example group spec/lib/feature/gitaly_spec.rb. Expected to take 12.38 seconds.

Feature::Gitaly
  .enabled_for_any?
    when the flag is set globally
      when the gate is closed
DEPRECATION WARNING: Invalid Feature Flag gitaly_global_flag stubbed (called from each at /builds/gitlab-org/gitlab/spec/support/helpers/stub_feature_flags.rb:49)
        returns false
# [RSpecRunTime] RSpec elapsed time: 35 minutes 2.56 seconds. Current RSS: ~1808M. load average: 1.03 1.04 1.00 1/287 15484


      when the flag defaults to on
        returns true
    when the flag is enabled for a particular project
DEPRECATION WARNING: Invalid Feature Flag gitaly_project_flag stubbed (called from each at /builds/gitlab-org/gitlab/spec/support/helpers/stub_feature_flags.rb:49)
      returns true for that project
DEPRECATION WARNING: Invalid Feature Flag gitaly_project_flag stubbed (called from each at /builds/gitlab-org/gitlab/spec/support/helpers/stub_feature_flags.rb:49)
      returns false for any other project
DEPRECATION WARNING: Invalid Feature Flag gitaly_project_flag stubbed (called from each at /builds/gitlab-org/gitlab/spec/support/helpers/stub_feature_flags.rb:49)
      returns false when no project is passed
# [RSpecRunTime] RSpec elapsed time: 35 minutes 6.03 seconds. Current RSS: ~1912M. load average: 1.03 1.03 1.00 1/287 15497


    when the flag is enabled for a particular repository
DEPRECATION WARNING: Invalid Feature Flag gitaly_repository_flag stubbed (called from each at /builds/gitlab-org/gitlab/spec/support/helpers/stub_feature_flags.rb:49)
      returns true for that repository
DEPRECATION WARNING: Invalid Feature Flag gitaly_repository_flag stubbed (called from each at /builds/gitlab-org/gitlab/spec/support/helpers/stub_feature_flags.rb:49)
      returns false for any other repository
DEPRECATION WARNING: Invalid Feature Flag gitaly_repository_flag stubbed (called from each at /builds/gitlab-org/gitlab/spec/support/helpers/stub_feature_flags.rb:49)
      returns false when no repository is passed
# [RSpecRunTime] RSpec elapsed time: 35 minutes 7.6 seconds. Current RSS: ~1913M. load average: 1.03 1.03 1.00 1/287 15507


    when the flag is checked with multiple input actors
DEPRECATION WARNING: Invalid Feature Flag gitaly_flag stubbed (called from each at /builds/gitlab-org/gitlab/spec/support/helpers/stub_feature_flags.rb:49)
      returns true if any of the flag is enabled for any of the input actors
DEPRECATION WARNING: Invalid Feature Flag gitaly_flag stubbed (called from each at /builds/gitlab-org/gitlab/spec/support/helpers/stub_feature_flags.rb:49)
      returns false if any of the flag is not enabled for any of the input actors
# [RSpecRunTime] RSpec elapsed time: 35 minutes 8.64 seconds. Current RSS: ~1920M. load average: 1.03 1.03 1.00 1/287 15514


  .server_feature_flags
DEPRECATION WARNING: Invalid Feature Flag gitaly_global_flag stubbed (called from each at /builds/gitlab-org/gitlab/spec/support/helpers/stub_feature_flags.rb:49)
DEPRECATION WARNING: Invalid Feature Flag gitaly_project_flag stubbed (called from each at /builds/gitlab-org/gitlab/spec/support/helpers/stub_feature_flags.rb:49)
DEPRECATION WARNING: Invalid Feature Flag gitaly_repository_flag stubbed (called from each at /builds/gitlab-org/gitlab/spec/support/helpers/stub_feature_flags.rb:49)
DEPRECATION WARNING: Invalid Feature Flag gitaly_user_flag stubbed (called from each at /builds/gitlab-org/gitlab/spec/support/helpers/stub_feature_flags.rb:49)
DEPRECATION WARNING: Invalid Feature Flag gitaly_group_flag stubbed (called from each at /builds/gitlab-org/gitlab/spec/support/helpers/stub_feature_flags.rb:49)
DEPRECATION WARNING: Invalid Feature Flag non_gitaly_flag stubbed (called from each at /builds/gitlab-org/gitlab/spec/support/helpers/stub_feature_flags.rb:49)
    returns a hash of flags starting with the prefix, with dashes instead of underscores
    when a project is passed
DEPRECATION WARNING: Invalid Feature Flag gitaly_global_flag stubbed (called from each at /builds/gitlab-org/gitlab/spec/support/helpers/stub_feature_flags.rb:49)
DEPRECATION WARNING: Invalid Feature Flag gitaly_project_flag stubbed (called from each at /builds/gitlab-org/gitlab/spec/support/helpers/stub_feature_flags.rb:49)
DEPRECATION WARNING: Invalid Feature Flag gitaly_repository_flag stubbed (called from each at /builds/gitlab-org/gitlab/spec/support/helpers/stub_feature_flags.rb:49)
DEPRECATION WARNING: Invalid Feature Flag gitaly_user_flag stubbed (called from each at /builds/gitlab-org/gitlab/spec/support/helpers/stub_feature_flags.rb:49)
DEPRECATION WARNING: Invalid Feature Flag gitaly_group_flag stubbed (called from each at /builds/gitlab-org/gitlab/spec/support/helpers/stub_feature_flags.rb:49)
DEPRECATION WARNING: Invalid Feature Flag non_gitaly_flag stubbed (called from each at /builds/gitlab-org/gitlab/spec/support/helpers/stub_feature_flags.rb:49)
      returns the value for the flag on the given project
# [RSpecRunTime] RSpec elapsed time: 35 minutes 10.07 seconds. Current RSS: ~1894M. load average: 1.03 1.03 1.00 1/287 15521


    when a repository is passed
DEPRECATION WARNING: Invalid Feature Flag gitaly_global_flag stubbed (called from each at /builds/gitlab-org/gitlab/spec/support/helpers/stub_feature_flags.rb:49)
DEPRECATION WARNING: Invalid Feature Flag gitaly_project_flag stubbed (called from each at /builds/gitlab-org/gitlab/spec/support/helpers/stub_feature_flags.rb:49)
DEPRECATION WARNING: Invalid Feature Flag gitaly_repository_flag stubbed (called from each at /builds/gitlab-org/gitlab/spec/support/helpers/stub_feature_flags.rb:49)
DEPRECATION WARNING: Invalid Feature Flag gitaly_user_flag stubbed (called from each at /builds/gitlab-org/gitlab/spec/support/helpers/stub_feature_flags.rb:49)
DEPRECATION WARNING: Invalid Feature Flag gitaly_group_flag stubbed (called from each at /builds/gitlab-org/gitlab/spec/support/helpers/stub_feature_flags.rb:49)
DEPRECATION WARNING: Invalid Feature Flag non_gitaly_flag stubbed (called from each at /builds/gitlab-org/gitlab/spec/support/helpers/stub_feature_flags.rb:49)
      returns the value for the flag on the given repository
    when a user is passed
DEPRECATION WARNING: Invalid Feature Flag gitaly_global_flag stubbed (called from each at /builds/gitlab-org/gitlab/spec/support/helpers/stub_feature_flags.rb:49)
DEPRECATION WARNING: Invalid Feature Flag gitaly_project_flag stubbed (called from each at /builds/gitlab-org/gitlab/spec/support/helpers/stub_feature_flags.rb:49)
DEPRECATION WARNING: Invalid Feature Flag gitaly_repository_flag stubbed (called from each at /builds/gitlab-org/gitlab/spec/support/helpers/stub_feature_flags.rb:49)
DEPRECATION WARNING: Invalid Feature Flag gitaly_user_flag stubbed (called from each at /builds/gitlab-org/gitlab/spec/support/helpers/stub_feature_flags.rb:49)
DEPRECATION WARNING: Invalid Feature Flag gitaly_group_flag stubbed (called from each at /builds/gitlab-org/gitlab/spec/support/helpers/stub_feature_flags.rb:49)
DEPRECATION WARNING: Invalid Feature Flag non_gitaly_flag stubbed (called from each at /builds/gitlab-org/gitlab/spec/support/helpers/stub_feature_flags.rb:49)
      returns the value for the flag on the given user
    when a group is passed
DEPRECATION WARNING: Invalid Feature Flag gitaly_global_flag stubbed (called from each at /builds/gitlab-org/gitlab/spec/support/helpers/stub_feature_flags.rb:49)
DEPRECATION WARNING: Invalid Feature Flag gitaly_project_flag stubbed (called from each at /builds/gitlab-org/gitlab/spec/support/helpers/stub_feature_flags.rb:49)
DEPRECATION WARNING: Invalid Feature Flag gitaly_repository_flag stubbed (called from each at /builds/gitlab-org/gitlab/spec/support/helpers/stub_feature_flags.rb:49)
DEPRECATION WARNING: Invalid Feature Flag gitaly_user_flag stubbed (called from each at /builds/gitlab-org/gitlab/spec/support/helpers/stub_feature_flags.rb:49)
DEPRECATION WARNING: Invalid Feature Flag gitaly_group_flag stubbed (called from each at /builds/gitlab-org/gitlab/spec/support/helpers/stub_feature_flags.rb:49)
DEPRECATION WARNING: Invalid Feature Flag non_gitaly_flag stubbed (called from each at /builds/gitlab-org/gitlab/spec/support/helpers/stub_feature_flags.rb:49)
      returns the value for the flag on the given group
    when multiple actors are passed
DEPRECATION WARNING: Invalid Feature Flag gitaly_global_flag stubbed (called from each at /builds/gitlab-org/gitlab/spec/support/helpers/stub_feature_flags.rb:49)
DEPRECATION WARNING: Invalid Feature Flag gitaly_project_flag stubbed (called from each at /builds/gitlab-org/gitlab/spec/support/helpers/stub_feature_flags.rb:49)
DEPRECATION WARNING: Invalid Feature Flag gitaly_repository_flag stubbed (called from each at /builds/gitlab-org/gitlab/spec/support/helpers/stub_feature_flags.rb:49)
DEPRECATION WARNING: Invalid Feature Flag gitaly_user_flag stubbed (called from each at /builds/gitlab-org/gitlab/spec/support/helpers/stub_feature_flags.rb:49)
DEPRECATION WARNING: Invalid Feature Flag gitaly_group_flag stubbed (called from each at /builds/gitlab-org/gitlab/spec/support/helpers/stub_feature_flags.rb:49)
DEPRECATION WARNING: Invalid Feature Flag non_gitaly_flag stubbed (called from each at /builds/gitlab-org/gitlab/spec/support/helpers/stub_feature_flags.rb:49)
      returns the corresponding enablement status for actors
    when table does not exist
DEPRECATION WARNING: Invalid Feature Flag gitaly_global_flag stubbed (called from each at /builds/gitlab-org/gitlab/spec/support/helpers/stub_feature_flags.rb:49)
DEPRECATION WARNING: Invalid Feature Flag gitaly_project_flag stubbed (called from each at /builds/gitlab-org/gitlab/spec/support/helpers/stub_feature_flags.rb:49)
DEPRECATION WARNING: Invalid Feature Flag gitaly_repository_flag stubbed (called from each at /builds/gitlab-org/gitlab/spec/support/helpers/stub_feature_flags.rb:49)
DEPRECATION WARNING: Invalid Feature Flag gitaly_user_flag stubbed (called from each at /builds/gitlab-org/gitlab/spec/support/helpers/stub_feature_flags.rb:49)
DEPRECATION WARNING: Invalid Feature Flag gitaly_group_flag stubbed (called from each at /builds/gitlab-org/gitlab/spec/support/helpers/stub_feature_flags.rb:49)
DEPRECATION WARNING: Invalid Feature Flag non_gitaly_flag stubbed (called from each at /builds/gitlab-org/gitlab/spec/support/helpers/stub_feature_flags.rb:49)
      returns an empty Hash
# [RSpecRunTime] RSpec elapsed time: 35 minutes 15.17 seconds. Current RSS: ~1960M. load average: 1.02 1.03 1.00 1/287 15537


  .user_actor
    when user is passed in
      returns a actor wrapper from user
    when called without user and user_id is available in application context
      returns a actor wrapper from user_id
    when called without user and user_id is absent from application context
      returns nil
    when something else is passed
      returns nil
  .project_actor
    when project is passed in
      returns a actor wrapper from project
    when something else is passed in
      returns nil
  .group_actor
    when project is passed in
      returns a actor wrapper from project's group
    when something else is passed in
      returns nil

# [RSpecRunTime] Finishing example group spec/lib/feature/gitaly_spec.rb. It took 19.27 seconds. Expected to take 12.38 seconds.
# [RSpecRunTime] Starting example group spec/services/labels/create_service_spec.rb. Expected to take 12.17 seconds.

Labels::CreateService
  #execute
    in a project
      with color in hex-code
        creates a label
      with color in allowed name
        creates a label
      with color in up-case allowed name
        creates a label
      with color surrounded by spaces
        creates a label
      with unknown color
        doesn't create a label
# [RSpecRunTime] RSpec elapsed time: 35 minutes 26.39 seconds. Current RSS: ~1992M. load average: 1.02 1.03 1.00 1/287 15577


      with no color
        doesn't create a label
    in a group
      with color in hex-code
        creates a label
      with color in allowed name
        creates a label
      with color in up-case allowed name
        creates a label
      with color surrounded by spaces
        creates a label
      with unknown color
        doesn't create a label
      with no color
        doesn't create a label
    in admin area
      with color in hex-code
        creates a label
      with color in allowed name
        creates a label
      with color in up-case allowed name
        creates a label
      with color surrounded by spaces
        creates a label
      with unknown color
        doesn't create a label
      with no color
        doesn't create a label
    lock_on_merge
      when feature flag is disabled
        does not allow setting lock_on_merge
# [RSpecRunTime] RSpec elapsed time: 35 minutes 36.41 seconds. Current RSS: ~2021M. load average: 1.02 1.03 1.00 1/287 15620


      when feature flag is enabled
        allows setting lock_on_merge
        does not alow setting lock_on_merge for templates
# [RSpecRunTime] RSpec elapsed time: 35 minutes 38.05 seconds. Current RSS: ~2021M. load average: 1.02 1.03 1.00 1/287 15627



# [RSpecRunTime] Finishing example group spec/services/labels/create_service_spec.rb. It took 18.1 seconds. Expected to take 12.17 seconds.
# [RSpecRunTime] Starting example group spec/models/incident_management/timeline_event_spec.rb. Expected to take 11.88 seconds.

IncidentManagement::TimelineEvent
  does not allow STI
  .order_occurred_at_asc_id_asc
    sorts timeline events by occurred_at
    when two events occured at the same time
      sorts timeline events by occurred_at then sorts by id
# [RSpecRunTime] RSpec elapsed time: 35 minutes 43.28 seconds. Current RSS: ~1810M. load average: 1.09 1.04 1.00 3/287 15637


  #cache_markdown_field
    on create
      updates note_html
    on update
      updates note_html
# [RSpecRunTime] RSpec elapsed time: 35 minutes 44.97 seconds. Current RSS: ~1816M. load average: 1.09 1.04 1.00 1/287 15644


  validations
    is expected to validate that :project cannot be empty/falsy
    is expected to validate that :incident cannot be empty/falsy
    is expected to validate that :note cannot be empty/falsy
    is expected to validate that the length of :note is at most 280
    is expected to validate that the length of :note is at most 10000
    is expected to validate that the length of :note_html is at most 10000
    is expected to validate that :occurred_at cannot be empty/falsy
    is expected to validate that :action cannot be empty/falsy
    is expected to validate that the length of :action is at most 128
# [RSpecRunTime] RSpec elapsed time: 35 minutes 51.26 seconds. Current RSS: ~1986M. load average: 1.08 1.04 1.00 1/287 15672


  associations
    is expected to belong to project required: false
    is expected to belong to author required: false
    is expected to belong to incident required: false
    is expected to belong to updated_by_user required: false
    is expected to belong to promoted_from_note required: false
    is expected to have many timeline_event_tag_links class_name => IncidentManagement::TimelineEventTagLink
    is expected to have many timeline_event_tags class_name => IncidentManagement::TimelineEventTag through timeline_event_tag_links
# [RSpecRunTime] RSpec elapsed time: 35 minutes 54.65 seconds. Current RSS: ~1942M. load average: 0.99 1.03 1.00 1/287 15694



# [RSpecRunTime] Finishing example group spec/models/incident_management/timeline_event_spec.rb. It took 16.6 seconds. Expected to take 11.88 seconds.
# [RSpecRunTime] Starting example group spec/models/ci/unit_test_failure_spec.rb. Expected to take 11.57 seconds.

Ci::UnitTestFailure
  does not allow STI
  relationships
    is expected to belong to build required: false
    is expected to belong to unit_test required: false
# [RSpecRunTime] RSpec elapsed time: 35 minutes 56.34 seconds. Current RSS: ~1974M. load average: 0.99 1.03 1.00 1/287 15704


  validations
    is expected to validate that :unit_test cannot be empty/falsy
    is expected to validate that :build cannot be empty/falsy
    is expected to validate that :failed_at cannot be empty/falsy
# [RSpecRunTime] RSpec elapsed time: 36 minutes 0.61 second. Current RSS: ~2017M. load average: 0.99 1.03 1.00 1/287 15714


  .recent_failures_count
    when unit test failures are within the date range and are for the unit test keys
      returns the number of failures for each unit test key hash for the past 14 days by default
# [RSpecRunTime] RSpec elapsed time: 36 minutes 4.26 seconds. Current RSS: ~1875M. load average: 0.99 1.02 1.00 1/287 15718


    when unit test failures are within the date range but are not for the unit test keys
      excludes them from the count
# [RSpecRunTime] RSpec elapsed time: 36 minutes 5.44 seconds. Current RSS: ~1812M. load average: 0.99 1.02 1.00 1/287 15722


    when unit test failures are not within the date range but are for the unit test keys
      excludes them from the count
# [RSpecRunTime] RSpec elapsed time: 36 minutes 6.55 seconds. Current RSS: ~1763M. load average: 0.99 1.02 1.00 1/287 15726


  partitioning
    with build
      copies the partition_id from build
      when it is already set
        does not change the partition_id value
# [RSpecRunTime] RSpec elapsed time: 36 minutes 8.26 seconds. Current RSS: ~1802M. load average: 1.00 1.02 1.00 1/287 15733


    without build
      is expected to validate that :partition_id cannot be empty/falsy
      does not change the partition_id value

# [RSpecRunTime] Finishing example group spec/models/ci/unit_test_failure_spec.rb. It took 14.54 seconds. Expected to take 11.57 seconds.
# [RSpecRunTime] Starting example group spec/lib/gitlab/discussions_diff/file_collection_spec.rb. Expected to take 11.36 seconds.

Gitlab::DiscussionsDiff::FileCollection
  #load_highlight
    only takes into account for the specific diff note ids
    writes uncached diffs highlight
    does not write cache for already cached file
    does not write cache for empty mapping
    does not write cache for resolved notes
    loaded diff files have highlighted lines loaded
    not loaded diff files does not have highlighted lines loaded
# [RSpecRunTime] RSpec elapsed time: 36 minutes 23.49 seconds. Current RSS: ~1811M. load average: 1.06 1.04 1.00 1/293 16176



# [RSpecRunTime] Finishing example group spec/lib/gitlab/discussions_diff/file_collection_spec.rb. It took 14.31 seconds. Expected to take 11.36 seconds.
# [RSpecRunTime] Starting example group spec/lib/gitlab/observability_spec.rb. Expected to take 11.16 seconds.

Gitlab::Observability
  .should_enable_observability_auth_scopes?
    with feature flag state {:observability_tracing=>true, :observability_metrics=>true, :observability_logs=>true}
      when resource is group
        is expected to equal true
      when resource is project
        is expected to equal true
      when resource is not a group or project
        is expected to equal false
    with feature flag state {:observability_tracing=>true, :observability_metrics=>true, :observability_logs=>false}
      when resource is group
        is expected to equal true
      when resource is project
        is expected to equal true
# [RSpecRunTime] RSpec elapsed time: 36 minutes 27.97 seconds. Current RSS: ~1980M. load average: 1.06 1.04 1.00 1/292 16192


      when resource is not a group or project
        is expected to equal false
    with feature flag state {:observability_tracing=>true, :observability_metrics=>false, :observability_logs=>true}
      when resource is group
        is expected to equal true
      when resource is project
        is expected to equal true
      when resource is not a group or project
        is expected to equal false
    with feature flag state {:observability_tracing=>true, :observability_metrics=>false, :observability_logs=>false}
      when resource is group
        is expected to equal true
      when resource is project
        is expected to equal true
      when resource is not a group or project
        is expected to equal false
    with feature flag state {:observability_tracing=>false, :observability_metrics=>true, :observability_logs=>true}
      when resource is group
        is expected to equal true
      when resource is project
        is expected to equal true
      when resource is not a group or project
        is expected to equal false
    with feature flag state {:observability_tracing=>false, :observability_metrics=>true, :observability_logs=>false}
      when resource is group
        is expected to equal true
      when resource is project
        is expected to equal true
      when resource is not a group or project
        is expected to equal false
    with feature flag state {:observability_tracing=>false, :observability_metrics=>false, :observability_logs=>true}
      when resource is group
        is expected to equal true
# [RSpecRunTime] RSpec elapsed time: 36 minutes 36.12 seconds. Current RSS: ~2017M. load average: 1.05 1.04 1.00 1/287 16235


      when resource is project
        is expected to equal true
      when resource is not a group or project
        is expected to equal false
    with feature flag state {:observability_tracing=>false, :observability_metrics=>false, :observability_logs=>false}
      when resource is group
        is expected to equal false
      when resource is project
        is expected to equal false
      when resource is not a group or project
        is expected to equal false
  .provisioning_url
    is expected to eq "https://observe.gitlab.com/v3/tenant/477"
  .oauth_url
    is expected to eq "https://observe.gitlab.com/v1/auth/start"
  .observability_url
    is expected to eq "https://observe.gitlab.com"
    when on staging.gitlab.com
      is expected to eq "https://observe.staging.gitlab.com"
    when overriden via ENV
      is expected to eq "https://example.net"

# [RSpecRunTime] Finishing example group spec/lib/gitlab/observability_spec.rb. It took 17.48 seconds. Expected to take 11.16 seconds.
# [RSpecRunTime] Starting example group spec/workers/delete_user_worker_spec.rb. Expected to take 10.88 seconds.

DeleteUserWorker
  calls the DeleteUserWorker with the params it was given
  uses symbolized keys
  when user deleted their own account
    behaves like proceeds with deletion
      proceeds with deletion
# [RSpecRunTime] RSpec elapsed time: 36 minutes 43.05 seconds. Current RSS: ~1962M. load average: 1.05 1.04 1.00 1/287 16275


    when delay_delete_own_user feature flag is disabled
      behaves like proceeds with deletion
        proceeds with deletion
    when user is banned
      behaves like does nothing
        does not instantiate a DeleteUserWorker
# [RSpecRunTime] RSpec elapsed time: 36 minutes 45.93 seconds. Current RSS: ~2040M. load average: 1.04 1.04 1.00 1/287 16283


      behaves like logs
        logs
      behaves like updates the user's custom attributes
        destroys the user's DELETED_OWN_ACCOUNT_AT custom attribute
        creates a SKIPPED_ACCOUNT_DELETION_AT custom attribute for the user
        when custom attribute is not present
          does nothing
# [RSpecRunTime] RSpec elapsed time: 36 minutes 48.88 seconds. Current RSS: ~2030M. load average: 1.04 1.03 1.00 1/287 16300


    when user is not blocked (e.g. result of user reinstatement request)
      behaves like does nothing
        does not instantiate a DeleteUserWorker
      behaves like logs
        logs
      behaves like updates the user's custom attributes
        destroys the user's DELETED_OWN_ACCOUNT_AT custom attribute
        creates a SKIPPED_ACCOUNT_DELETION_AT custom attribute for the user
        when custom attribute is not present
          does nothing
# [RSpecRunTime] RSpec elapsed time: 36 minutes 52.27 seconds. Current RSS: ~1883M. load average: 1.04 1.03 1.00 1/287 16316


  when user to delete does not exist
    behaves like does nothing
      does not instantiate a DeleteUserWorker
  when current user does not exist
    behaves like does nothing
      does not instantiate a DeleteUserWorker
  when user to delete and current user do not exist
    behaves like does nothing
      does not instantiate a DeleteUserWorker

# [RSpecRunTime] Finishing example group spec/workers/delete_user_worker_spec.rb. It took 12.93 seconds. Expected to take 10.88 seconds.
# [RSpecRunTime] Starting example group spec/lib/gitlab/ci/reports/security/report_spec.rb. Expected to take 10.76 seconds.

Gitlab::Ci::Reports::Security::Report
  is expected to eq "sast"
  is expected to delegate #project_id to the #pipeline object
  #add_scanner
    stores given scanner params in the map
    returns the added scanner
# [RSpecRunTime] RSpec elapsed time: 36 minutes 57.97 seconds. Current RSS: ~2013M. load average: 1.04 1.03 1.00 1/287 16338


  #add_identifier
    stores given identifier params in the map
    returns the added identifier
# [RSpecRunTime] RSpec elapsed time: 36 minutes 58.97 seconds. Current RSS: ~2013M. load average: 1.03 1.03 1.00 1/286 16345


  #add_finding
    enriches given finding and stores it in the collection
  #clone_as_blank
    creates a blank report with copied type and pipeline
  #replace_with!
    replaces report contents with other reports contents
# [RSpecRunTime] RSpec elapsed time: 37 minutes 1.87 seconds. Current RSS: ~1911M. load average: 1.03 1.03 1.00 1/287 16355


  #merge!
    invokes the merge with other report and then replaces this report contents by merge result
  #primary_scanner
    is expected to eq #<Gitlab::Ci::Reports::Security::Scanner:0x00007cadfe4ada48 @external_id="external_id_1", @name="Find Security Bugs", @vendor="Security Scanner Vendor", @version="1.0.0", @primary_identifiers=nil>
  #primary_identifiers
    returns matching identifiers
  #add_error
    when the message is not given
      adds a new error to report with the generic error message
    when the message is given
      adds a new error to report
  #add_warning
    when the message is given
      adds a new warning to report
# [RSpecRunTime] RSpec elapsed time: 37 minutes 6.09 seconds. Current RSS: ~1932M. load average: 1.03 1.03 1.00 1/287 16374


  errored?
    when the report does not have any errors
      is expected to be falsey
    when the report has errors
      is expected to be truthy
  warnings?
    when the report does not have any errors
      is expected to be falsey
    when the report has warnings
      is expected to be truthy
  #primary_scanner_order_to
    when the primary scanner of the receiver is nil
      when the primary scanner of the other is nil
        is expected to equal 1
      when the primary scanner of the other is not nil
        is expected to equal 1
    when the primary scanner of the receiver is not nil
      when the primary scanner of the other is nil
        is expected to equal -1
      when the primary scanner of the other is not nil
        compares two scanners
  #has_signatures?
    when the findings of the report does not have signatures
      is expected to be falsey
    when the findings of the report have signatures
      is expected to be truthy

# [RSpecRunTime] Finishing example group spec/lib/gitlab/ci/reports/security/report_spec.rb. It took 16.87 seconds. Expected to take 10.76 seconds.
# [RSpecRunTime] Starting example group spec/helpers/projects/error_tracking_helper_spec.rb. Expected to take 10.35 seconds.

Projects::ErrorTrackingHelper
  #error_tracking_data
    without error_tracking_setting
      returns frontend configuration
    with error_tracking_setting
      when enabled
        show error tracking enabled
      when disabled
        show error tracking not enabled
      with integrated error tracking feature
        feature_flag: false, enabled: true, settings_integrated: true, show_alert: true, integrated_enabled: false
          is expected to include {"show-integrated-tracking-disabled-alert" => "true", "integrated-error-tracking-enabled" => "false"}
# [RSpecRunTime] RSpec elapsed time: 37 minutes 14.63 seconds. Current RSS: ~1999M. load average: 1.03 1.03 1.00 1/286 16417


        feature_flag: false, enabled: true, settings_integrated: false, show_alert: false, integrated_enabled: false
          is expected to include {"show-integrated-tracking-disabled-alert" => "false", "integrated-error-tracking-enabled" => "false"}
        feature_flag: false, enabled: false, settings_integrated: true, show_alert: false, integrated_enabled: false
          is expected to include {"show-integrated-tracking-disabled-alert" => "false", "integrated-error-tracking-enabled" => "false"}
        feature_flag: false, enabled: false, settings_integrated: false, show_alert: false, integrated_enabled: false
          is expected to include {"show-integrated-tracking-disabled-alert" => "false", "integrated-error-tracking-enabled" => "false"}
        feature_flag: true, enabled: true, settings_integrated: true, show_alert: false, integrated_enabled: true
          is expected to include {"show-integrated-tracking-disabled-alert" => "false", "integrated-error-tracking-enabled" => "true"}
        feature_flag: true, enabled: true, settings_integrated: false, show_alert: false, integrated_enabled: false
          is expected to include {"show-integrated-tracking-disabled-alert" => "false", "integrated-error-tracking-enabled" => "false"}
        feature_flag: true, enabled: false, settings_integrated: true, show_alert: false, integrated_enabled: false
          is expected to include {"show-integrated-tracking-disabled-alert" => "false", "integrated-error-tracking-enabled" => "false"}
        feature_flag: true, enabled: false, settings_integrated: false, show_alert: false, integrated_enabled: false
          is expected to include {"show-integrated-tracking-disabled-alert" => "false", "integrated-error-tracking-enabled" => "false"}
    when user is not maintainer
      shows error tracking enablement as disabled
  #error_details_data
    returns the correct issue id
    returns the correct project path
    returns the correct stack trace path
    creates an issue and redirects to issue show page
    with integrated error tracking feature
      feature_flag: false, enabled: true, settings_integrated: true, integrated_enabled: false
        is expected to eq "false"
# [RSpecRunTime] RSpec elapsed time: 37 minutes 21.49 seconds. Current RSS: ~1983M. load average: 1.02 1.03 1.00 1/287 16457


      feature_flag: false, enabled: true, settings_integrated: false, integrated_enabled: false
        is expected to eq "false"
# [RSpecRunTime] RSpec elapsed time: 37 minutes 23.66 seconds. Current RSS: ~2017M. load average: 1.02 1.03 1.00 1/285 16461


      feature_flag: false, enabled: false, settings_integrated: true, integrated_enabled: false
        is expected to eq "false"
      feature_flag: false, enabled: false, settings_integrated: false, integrated_enabled: false
        is expected to eq "false"
      feature_flag: true, enabled: true, settings_integrated: true, integrated_enabled: true
        is expected to eq "true"
      feature_flag: true, enabled: true, settings_integrated: false, integrated_enabled: false
        is expected to eq "false"
      feature_flag: true, enabled: false, settings_integrated: true, integrated_enabled: false
        is expected to eq "false"
      feature_flag: true, enabled: false, settings_integrated: false, integrated_enabled: false
        is expected to eq "false"

# [RSpecRunTime] Finishing example group spec/helpers/projects/error_tracking_helper_spec.rb. It took 16.01 seconds. Expected to take 10.35 seconds.
# [RSpecRunTime] Starting example group spec/lib/gitlab/ci/config/header/input_spec.rb. Expected to take 10.32 seconds.

Gitlab::Ci::Config::Header::Input
  when the input has RegEx validation
    behaves like a valid input
      passes validations
      returns the value
# [RSpecRunTime] RSpec elapsed time: 37 minutes 28.02 seconds. Current RSS: ~2016M. load average: 1.02 1.03 1.00 1/285 16486


  when has a description value
    behaves like a valid input
      passes validations
      returns the value
  when the limit for allowed number of options is reached
    #valid?
      is expected not to be valid
    #errors
      returns error about incorrect type
  when given a valid type
    input_type: "boolean"
      behaves like a valid input
        passes validations
        returns the value
    input_type: "number"
      behaves like a valid input
        passes validations
        returns the value
# [RSpecRunTime] RSpec elapsed time: 37 minutes 33.11 seconds. Current RSS: ~2036M. load average: 1.02 1.03 1.00 1/285 16511


    input_type: "string"
      behaves like a valid input
        passes validations
        returns the value
  when has a numeric default value
    behaves like a valid input
      passes validations
      returns the value
  when given an invalid type
    behaves like an invalid input
      fails validations
      returns the value
  when RegEx validation value is not a string
    behaves like an invalid input
      fails validations
      returns the value
  when has invalid name
    behaves like an invalid input
      fails validations
      returns the value
  when contains unknown keywords
    behaves like an invalid input
      fails validations
      returns the value
  when has a boolean default value
    behaves like a valid input
      passes validations
      returns the value
# [RSpecRunTime] RSpec elapsed time: 37 minutes 41.13 seconds. Current RSS: ~2011M. load average: 1.02 1.03 1.00 1/285 16554


  when has a string default value
    behaves like a valid input
      passes validations
      returns the value
  when is a required input
    behaves like a valid input
      passes validations
      returns the value

# [RSpecRunTime] Finishing example group spec/lib/gitlab/ci/config/header/input_spec.rb. It took 16.21 seconds. Expected to take 10.32 seconds.
# [RSpecRunTime] Starting example group spec/services/packages/conan/create_package_file_service_spec.rb. Expected to take 9.94 seconds.

Packages::Conan::CreatePackageFileService
  #execute
    with temp file
      behaves like a valid package_file
        creates a new package file
        behaves like assigns build to package file
          with build info
            assigns the pipeline to the package
            creates a new PackageFileBuildInfo record
# [RSpecRunTime] RSpec elapsed time: 37 minutes 46.65 seconds. Current RSS: ~1890M. load average: 1.01 1.03 1.00 1/285 16576


      behaves like a valid recipe_file
        creates a new recipe file
        behaves like assigns build to package file
          with build info
            assigns the pipeline to the package
            creates a new PackageFileBuildInfo record
# [RSpecRunTime] RSpec elapsed time: 37 minutes 49.07 seconds. Current RSS: ~1838M. load average: 1.01 1.03 1.00 1/285 16586


    with remote file
      behaves like a valid package_file
        creates a new package file
        behaves like assigns build to package file
          with build info
            assigns the pipeline to the package
            creates a new PackageFileBuildInfo record
# [RSpecRunTime] RSpec elapsed time: 37 minutes 53.56 seconds. Current RSS: ~1965M. load average: 1.01 1.03 1.00 1/285 16596


      behaves like a valid recipe_file
        creates a new recipe file
        behaves like assigns build to package file
          with build info
            assigns the pipeline to the package
            creates a new PackageFileBuildInfo record
# [RSpecRunTime] RSpec elapsed time: 37 minutes 56.27 seconds. Current RSS: ~1951M. load average: 1.01 1.03 1.00 1/285 16606


    file is missing
      raises an error

# [RSpecRunTime] Finishing example group spec/services/packages/conan/create_package_file_service_spec.rb. It took 13.71 seconds. Expected to take 9.94 seconds.
# [RSpecRunTime] Starting example group spec/lib/gitlab/instrumentation/redis_client_middleware_spec.rb. Expected to take 9.91 seconds.

Gitlab::Instrumentation::RedisClientMiddleware
  counting
    counts successful requests
    counts successful pipelined requests
    when encountering exceptions
      generic exception
        counts exception
# [RSpecRunTime] RSpec elapsed time: 37 minutes 58.45 seconds. Current RSS: ~1934M. load average: 1.01 1.02 1.00 1/285 16619


      moved redirection
        counts exception
      ask redirection
        counts exception
    in production environment
      counts disallowed cross-slot requests
      does not count allowed cross-slot requests
      does not count allowed non-cross-slot requests
      skips count for non-cross-slot requests
# [RSpecRunTime] RSpec elapsed time: 38 minutes 1.19 seconds. Current RSS: ~1981M. load average: 1.01 1.02 1.00 3/286 16638


    without active RequestStore
      still runs cross-slot validation
# [RSpecRunTime] RSpec elapsed time: 38 minutes 3.28 seconds. Current RSS: ~2005M. load average: 1.09 1.04 1.01 1/285 16642


  latency
    commands in the apdex
      command: [:get, "foobar"]
        measures requests we want in the apdex
      command: ["GET", "foobar"]
        measures requests we want in the apdex
      with pipelined commands
        measures requests that do not have blocking commands
        raises error when keys are not from the same slot
    commands not in the apdex
      setup: [["rpush", "foobar", 1]], command: ["brpop", "foobar", 0]
        skips requests we do not want in the apdex
      setup: [["rpush", "foobar", 1]], command: ["blpop", "foobar", 0]
        skips requests we do not want in the apdex
      setup: [["rpush", "{abc}foobar", 1]], command: ["brpoplpush", "{abc}foobar", "{abc}bazqux", 0]
        skips requests we do not want in the apdex
      setup: [["rpush", "{abc}foobar", 1]], command: ["brpoplpush", "{abc}foobar", "{abc}bazqux", 0]
        skips requests we do not want in the apdex
      setup: [["zadd", "foobar", 1, "a"]], command: ["bzpopmin", "foobar", 0]
        skips requests we do not want in the apdex
      setup: [["zadd", "foobar", 1, "a"]], command: ["bzpopmax", "foobar", 0]
        skips requests we do not want in the apdex
      setup: [["xadd", "mystream", 1, "myfield", "mydata"]], command: ["xread", "block", 1, "streams", "mystream", "0-0"]
        skips requests we do not want in the apdex
      setup: [["xadd", "foobar", 1, "myfield", "mydata"], ["xgroup", "create", "foobar", "mygroup", 0]], command: ["xreadgroup", "group", "mygroup", "myconsumer", "block", 1, "streams", "foobar", "0-0"]
        skips requests we do not want in the apdex
      setup: [], command: ["command"]
        skips requests we do not want in the apdex
      with pipelined commands
        skips requests that have blocking commands
# [RSpecRunTime] RSpec elapsed time: 38 minutes 11.43 seconds. Current RSS: ~2019M. load average: 1.08 1.04 1.00 1/285 16685


  read and write
    setup: [], command: [:set, "foo", "bar"], expect_write: 9, expect_read: 2
      counts bytes read and written
    setup: [[:set, "foobar", 1000]], command: [:incr, "foobar"], expect_write: 10, expect_read: 4
      counts bytes read and written
    setup: [], command: [:hgetall, "foobar"], expect_write: 13, expect_read: 0
      counts bytes read and written
    setup: [[:hset, "myhash", "field", "hello world"]], command: [:hgetall, "myhash"], expect_write: 13, expect_read: 16
      counts bytes read and written
    setup: [[:set, "foo", "barbarbarbarbarbarbarbarbarbarbarbarbarbarbarbarbarbarbarbarbarbarbarbarbarbarbarbarbarbarbarbarbarbarbarbarbarbarbarbarbarbarbarbarbarbarbarbarbarbarbarbarbarbarbarbarbarbarbarbarbarbarbarbarbarbarbarbarbarbarbarbarbarbarbarbarbarbarbarbarbarbarbarbarbarbarbarbarbarbarbarbarbarbarbarbarbarbarbarbar"]], command: [:get, "foo"], expect_write: 6, expect_read: 300
      counts bytes read and written
    setup: [[:zadd, "myset", 0, "foo"], [:zadd, "myset", 1.1, "bar"]], command: [:zrange, "myset", 0, -1, "withscores"], expect_write: 24, expect_read: 25
      counts bytes read and written

# [RSpecRunTime] Finishing example group spec/lib/gitlab/instrumentation/redis_client_middleware_spec.rb. It took 17.56 seconds. Expected to take 9.91 seconds.
# [RSpecRunTime] Starting example group spec/views/shared/_label_row.html.haml_spec.rb. Expected to take 9.57 seconds.

shared/_label_row.html.haml
  with a project context
    has label title
    has a linked label title
    has Issues link
    has Merge request link
    shows the path from where the label was created
# [RSpecRunTime] RSpec elapsed time: 38 minutes 17.9 seconds. Current RSS: ~1892M. load average: 1.08 1.04 1.00 1/285 16719


  with a subgroup context
    has label title
    has a linked label title
    has Issues link
    has Merge request link
    shows the path from where the label was created
# [RSpecRunTime] RSpec elapsed time: 38 minutes 22.32 seconds. Current RSS: ~2010M. load average: 1.07 1.04 1.00 1/285 16735


  with a group context
    has label title
    has a linked label title
    has Issues link
    has Merge request link
    does not show a path from where the label was created
# [RSpecRunTime] RSpec elapsed time: 38 minutes 25.19 seconds. Current RSS: ~2014M. load average: 1.06 1.04 1.00 1/285 16751


  with an admin context
    has label title
    has a linked label title
    does not show Issues link
    does not show Merge request link
    does not show a path from where the label was created
# [RSpecRunTime] RSpec elapsed time: 38 minutes 27.87 seconds. Current RSS: ~1931M. load average: 1.06 1.04 1.00 1/285 16767



# [RSpecRunTime] Finishing example group spec/views/shared/_label_row.html.haml_spec.rb. It took 13.6 seconds. Expected to take 9.57 seconds.
# [RSpecRunTime] Starting example group spec/lib/gitlab/pages_spec.rb. Expected to take 9.43 seconds.

Gitlab::Pages
  .verify_api_request
    returns false if fails to validate the JWT
    returns the decoded JWT
# [RSpecRunTime] RSpec elapsed time: 38 minutes 29.06 seconds. Current RSS: ~1988M. load average: 1.06 1.04 1.00 1/285 16774


  .access_control_is_forced?
    access_control_is_enabled: false, access_control_is_forced: false, result: false
      is expected to eq false
# [RSpecRunTime] RSpec elapsed time: 38 minutes 31.13 seconds. Current RSS: ~2025M. load average: 1.06 1.04 1.00 1/285 16778


    access_control_is_enabled: false, access_control_is_forced: true, result: false
      is expected to eq false
    access_control_is_enabled: true, access_control_is_forced: false, result: false
      is expected to eq false
    access_control_is_enabled: true, access_control_is_forced: true, result: true
      is expected to eq true
  .multiple_versions_enabled_for?
    when project is nil
      returns false
    when a project is given
      setting: false, feature_flag: false, license: false, result: false
        is expected to eq false
# [RSpecRunTime] RSpec elapsed time: 38 minutes 34.25 seconds. Current RSS: ~2013M. load average: 1.05 1.04 1.00 1/285 16794


      setting: false, feature_flag: false, license: true, result: false
        is expected to eq false
      setting: false, feature_flag: true, license: false, result: false
        is expected to eq false
      setting: false, feature_flag: true, license: true, result: false
        is expected to eq false
      setting: true, feature_flag: false, license: false, result: false
        is expected to eq false
      setting: true, feature_flag: false, license: true, result: false
        is expected to eq false
      setting: true, feature_flag: true, license: false, result: false
        is expected to eq false
      setting: true, feature_flag: true, license: true, result: true
        is expected to eq true
  #add_unique_domain_to
    when pages is not enabled
      does not set pages unique domain
    when pages is enabled
      enables unique domain by default
      when project already have a unique domain
        does not changes the original unique domain
# [RSpecRunTime] RSpec elapsed time: 38 minutes 42.74 seconds. Current RSS: ~2015M. load average: 1.05 1.03 1.00 1/285 16825



# [RSpecRunTime] Finishing example group spec/lib/gitlab/pages_spec.rb. It took 14.87 seconds. Expected to take 9.43 seconds.
# [RSpecRunTime] Starting example group spec/policies/board_policy_spec.rb. Expected to take 9.22 seconds.

BoardPolicy
  group board
    user has access
      is expected to be allowed :read_issue
    user does not have access
      is expected not to be allowed :read_issue
  project board
    user has access
      is expected to be allowed :read_issue
# [RSpecRunTime] RSpec elapsed time: 38 minutes 45.69 seconds. Current RSS: ~1969M. load average: 1.04 1.03 1.00 1/285 16835


    user does not have access
      is expected not to be allowed :read_issue
  create_non_backlog_issues
    for project boards
      when user can admin project issues
        allows to add non backlog issues from issue board
# [RSpecRunTime] RSpec elapsed time: 38 minutes 47.8 seconds. Current RSS: ~1907M. load average: 1.04 1.03 1.00 1/285 16842


      when user cannot admin project issues
        does not allow to add non backlog issues from issue board
# [RSpecRunTime] RSpec elapsed time: 38 minutes 49.02 seconds. Current RSS: ~1825M. load average: 0.96 1.02 1.00 1/285 16846


    for group boards
      when user is at least reporter in one of the child projects
        allows to add non backlog issues from issue board
# [RSpecRunTime] RSpec elapsed time: 38 minutes 50.57 seconds. Current RSS: ~1768M. load average: 0.96 1.02 1.00 1/285 16850


      when user is not a reporter from any child projects
        does not allow to add non backlog issues from issue board
# [RSpecRunTime] RSpec elapsed time: 38 minutes 51.98 seconds. Current RSS: ~1834M. load average: 0.96 1.02 1.00 1/285 16854



# [RSpecRunTime] Finishing example group spec/policies/board_policy_spec.rb. It took 9.24 seconds. Expected to take 9.22 seconds.
# [RSpecRunTime] Starting example group spec/models/web_ide_terminal_spec.rb. Expected to take 8.98 seconds.

WebIdeTerminal
  does not allow STI
  returns the show_path of the build
  returns the retry_path of the build
  returns the cancel_path of the build
  returns the terminal_path of the build
  returns the proxy_websocket_path of the build
  services
    when image does not have an alias
      returns services aliases
# [RSpecRunTime] RSpec elapsed time: 39 minutes 0.42 second. Current RSS: ~1890M. load average: 1.19 1.07 1.01 1/285 16876


    when both image and services have aliases
      returns all aliases
# [RSpecRunTime] RSpec elapsed time: 39 minutes 1.55 seconds. Current RSS: ~1893M. load average: 1.19 1.07 1.01 1/285 16880


    when image and services does not have any alias
      returns an empty array
# [RSpecRunTime] RSpec elapsed time: 39 minutes 2.69 seconds. Current RSS: ~1871M. load average: 1.19 1.07 1.01 1/285 16884


    when no image nor services
      returns an empty array
# [RSpecRunTime] RSpec elapsed time: 39 minutes 3.77 seconds. Current RSS: ~1846M. load average: 1.18 1.06 1.01 1/285 16888



# [RSpecRunTime] Finishing example group spec/models/web_ide_terminal_spec.rb. It took 11.8 seconds. Expected to take 8.98 seconds.
# [RSpecRunTime] Starting example group spec/lib/gitlab/ci/templates/Verify/load_performance_testing_gitlab_ci_yaml_spec.rb. Expected to take 8.89 seconds.

Verify/Load-Performance-Testing.gitlab-ci.yml
  the created pipeline
    has no errors
    on master
      behaves like load_performance job on tag or branch
        by default
# [RSpecRunTime] RSpec elapsed time: 39 minutes 7.16 seconds. Current RSS: ~1898M. load average: 1.18 1.06 1.01 1/289 16921


    on another branch
      behaves like load_performance job on tag or branch
        by default
# [RSpecRunTime] RSpec elapsed time: 39 minutes 9.33 seconds. Current RSS: ~1974M. load average: 1.16 1.06 1.01 1/290 16938


    on tag
      behaves like load_performance job on tag or branch
        by default
# [RSpecRunTime] RSpec elapsed time: 39 minutes 11.84 seconds. Current RSS: ~2014M. load average: 1.16 1.06 1.01 1/290 16958


    on merge request
      has no jobs
# [RSpecRunTime] RSpec elapsed time: 39 minutes 13.74 seconds. Current RSS: ~2024M. load average: 1.15 1.06 1.01 1/291 17006



# [RSpecRunTime] Finishing example group spec/lib/gitlab/ci/templates/Verify/load_performance_testing_gitlab_ci_yaml_spec.rb. It took 9.98 seconds. Expected to take 8.89 seconds.
# [RSpecRunTime] Starting example group spec/lib/gitlab/database/namespace_each_batch_spec.rb. Expected to take 8.62 seconds.

Gitlab::Database::NamespaceEachBatch
  when stopping the iteration in the middle and resuming
    returns the correct ids
# [RSpecRunTime] RSpec elapsed time: 39 minutes 16.22 seconds. Current RSS: ~2001M. load average: 1.15 1.06 1.01 1/290 17010


  when querying a subgroup
    returns the correct ids
  when batch size is larger than the hierarchy
    behaves like iteration over the hierarchy
      returns the correct namespace ids
  when querying a subgroup without descendants
    finds only the given namespace id
  when the cursor is invalid
    when non-integer current id is given
      raises error
    when depth is not an array
      raises error
    when non-integer depth values are given
      raises error
    when giving non-existing namespace id
      returns nothing
# [RSpecRunTime] RSpec elapsed time: 39 minutes 22.26 seconds. Current RSS: ~2088M. load average: 1.22 1.08 1.02 1/291 17032


  behaves like iteration over the hierarchy
    returns the correct namespace ids
  when batching over groups only
    returns the correct namespace ids
  when batch size is 1
    behaves like iteration over the hierarchy
      returns the correct namespace ids

# [RSpecRunTime] Finishing example group spec/lib/gitlab/database/namespace_each_batch_spec.rb. It took 10.11 seconds. Expected to take 8.62 seconds.
# [RSpecRunTime] Starting example group spec/lib/gitlab/suggestions/commit_message_spec.rb. Expected to take 8.49 seconds.

Gitlab::Suggestions::CommitMessage
  #message
    suggestion_set: suggestion_set_same_project
      when a custom commit message is not specified
        and is nil
          uses the default commit message
# [RSpecRunTime] RSpec elapsed time: 39 minutes 29.06 seconds. Current RSS: ~2054M. load average: 1.35 1.11 1.03 1/292 17218


        and is an empty string
          uses the default commit message
        when a custom commit message is specified for forked project
          uses the default commit message
      when a custom commit message is specified
        shows the custom commit message
      is specified and includes all placeholders
        generates a custom commit message
        when a custom commit message is specified for forked project
          uses the target project commit message
# [RSpecRunTime] RSpec elapsed time: 39 minutes 31.9 seconds. Current RSS: ~2098M. load average: 1.35 1.11 1.03 1/291 17234


    suggestion_set: suggestion_set_forked_project
      when a custom commit message is not specified
        and is nil
          uses the default commit message
        and is an empty string
          uses the default commit message
        when a custom commit message is specified for forked project
          uses the default commit message
      when a custom commit message is specified
        shows the custom commit message
      is specified and includes all placeholders
        generates a custom commit message
        when a custom commit message is specified for forked project
          uses the target project commit message
# [RSpecRunTime] RSpec elapsed time: 39 minutes 35.2 seconds. Current RSS: ~2109M. load average: 1.32 1.11 1.03 1/291 17253



# [RSpecRunTime] Finishing example group spec/lib/gitlab/suggestions/commit_message_spec.rb. It took 11.34 seconds. Expected to take 8.49 seconds.
# [RSpecRunTime] Starting example group spec/lib/gitlab/ci/pipeline/chain/config/content_spec.rb. Expected to take 8.31 seconds.

Gitlab::Ci::Pipeline::Chain::Config::Content
  #perform!
    when bridge job is passed in as parameter
      returns the content already available in command
# [RSpecRunTime] RSpec elapsed time: 39 minutes 36.94 seconds. Current RSS: ~2092M. load average: 1.32 1.11 1.03 1/291 17257


    when config is defined in a custom path in the repository
      builds root config including the local custom file
    when config is defined remotely
      builds root config including the remote config
    when config is defined in a separate repository
      builds root config including the path to another repository
      when path specifies a refname
        builds root config including the path and refname to another repository
# [RSpecRunTime] RSpec elapsed time: 39 minutes 40.67 seconds. Current RSS: ~2036M. load average: 1.29 1.10 1.03 1/286 17270


    when config is defined in the default .gitlab-ci.yml
      builds root config including the canonical CI config file
    when config is the Auto-Devops template
      builds root config including the auto-devops template
    when config is passed as a parameter
      uses the parameter content
    when config is not defined anywhere
      builds root config including the auto-devops template
# [RSpecRunTime] RSpec elapsed time: 39 minutes 45.0 seconds. Current RSS: ~2067M. load average: 1.27 1.10 1.02 1/286 17283



# [RSpecRunTime] Finishing example group spec/lib/gitlab/ci/pipeline/chain/config/content_spec.rb. It took 9.87 seconds. Expected to take 8.31 seconds.
# [RSpecRunTime] Starting example group spec/services/pages_domains/create_acme_order_service_spec.rb. Expected to take 8.19 seconds.

PagesDomains::CreateAcmeOrderService
  saves order to database before requesting validation
  generates and saves private key
  properly saves order attributes
  properly saves challenge attributes

# [RSpecRunTime] Finishing example group spec/services/pages_domains/create_acme_order_service_spec.rb. It took 9.99 seconds. Expected to take 8.19 seconds.
# [RSpecRunTime] RSpec elapsed time: 39 minutes 55.24 seconds. Current RSS: ~2148M. load average: 1.23 1.10 1.02 1/286 17296


# [RSpecRunTime] Starting example group spec/lib/google_api/cloud_platform/client_spec.rb. Expected to take 8.05 seconds.

GoogleApi::CloudPlatform::Client
  .session_key_for_redirect_uri
    creates a new session key
  .new_session_key_for_redirect_uri
    generates a new session key
  #validate_token
    when token is nil
      is expected to be falsy
    when expires_at is nil
      is expected to be falsy
    when expires in 1 hour
      is expected to be truthy
    when expires in 10 minutes
      is expected to be falsy
  #user_agent_header
    returns a RequestOptions object
    has the correct GitLab version in User-Agent header
  #list_projects
    calls Google Api CloudResourceManagerService#list_projects
  #create_service_account
    calls Google Api IamService#create_service_account
  #create_service_account_key
    calls Google Api IamService#create_service_account_key
  grant_service_account_roles
    calls Google Api CloudResourceManager#set_iam_policy
  #enable_cloud_run
    calls Google Api IamService#create_service_account_key
  #enable_artifacts_registry
    calls Google Api IamService#create_service_account_key
  #enable_cloud_build
    calls Google Api IamService#create_service_account_key
  #enable_cloud_sql_admin
    calls Google Api ServiceUsageService
  #enable_compute
    calls Google Api ServiceUsageService
  #enable_service_networking
    calls Google Api ServiceUsageService
  #enable_visionai
    calls Google Api ServiceUsageService
  #revoke_authorizations
    calls the revoke endpoint
# [RSpecRunTime] RSpec elapsed time: 40 minutes 6.64 seconds. Current RSS: ~2208M. load average: 1.19 1.09 1.02 1/286 17357


  #create_cloudsql_database
    calls Google Api SQLAdminService#insert_database
  #create_cloudsql_user
    calls Google Api SQLAdminService#insert_user
  #get_cloudsql_instance
    calls Google Api SQLAdminService#get_instance
  #list_cloudsql_databases
    calls Google Api SQLAdminService#list_databases
  #list_cloudsql_users
    calls Google Api SQLAdminService#list_users
  #create_cloudsql_instance
    calls Google Api SQLAdminService#insert_instance

# [RSpecRunTime] Finishing example group spec/lib/google_api/cloud_platform/client_spec.rb. It took 14.47 seconds. Expected to take 8.05 seconds.
# [RSpecRunTime] Starting example group spec/services/security/ci_configuration/secret_detection_create_service_spec.rb. Expected to take 7.86 seconds.

Security::CiConfiguration::SecretDetectionCreateService
  #execute
    user does not belong to project
      returns an error status
      does not track a snowplow event
# [RSpecRunTime] RSpec elapsed time: 40 minutes 11.66 seconds. Current RSS: ~2074M. load average: 1.18 1.09 1.02 1/291 17414


    user belongs to project
      does track the snowplow event
      raises exception if the user does not have permission to create a new branch
      when exception is raised
        when branch was created
          tries to rm branch
# [RSpecRunTime] RSpec elapsed time: 40 minutes 14.1 seconds. Current RSS: ~1926M. load average: 1.16 1.09 1.02 1/291 17463


        when branch was not created
          does not try to rm branch
      with no parameters
        returns the path to create a new merge request
      when the project has a non-default ci config file
        does track the snowplow event
# [RSpecRunTime] RSpec elapsed time: 40 minutes 17.67 seconds. Current RSS: ~2011M. load average: 1.16 1.09 1.02 1/291 17528


      when existing ci config contains anchors/aliases
        returns a ServiceResponse error
      when parsing existing ci config gives a Psych error
        returns a ServiceResponse error
      when parsing existing ci config gives any other error
        is successful
      when the project is empty
        returns a ServiceResponse error

# [RSpecRunTime] Finishing example group spec/services/security/ci_configuration/secret_detection_create_service_spec.rb. It took 11.08 seconds. Expected to take 7.86 seconds.
# [RSpecRunTime] Starting example group spec/lib/gitlab/gitaly_client/conflicts_service_spec.rb. Expected to take 7.77 seconds.

Gitlab::GitalyClient::ConflictsService
  #conflicts
    calls list_conflict_files with no parameters
# [RSpecRunTime] RSpec elapsed time: 40 minutes 22.11 seconds. Current RSS: ~1990M. load average: 1.07 1.07 1.02 1/291 17593


  #list_conflict_files
    behaves like listing conflicts
      sends an RPC request
# [RSpecRunTime] RSpec elapsed time: 40 minutes 23.3 seconds. Current RSS: ~1915M. load average: 1.06 1.07 1.02 1/291 17603


    when allow_tree_conflicts is set to true
      behaves like listing conflicts
        sends an RPC request
# [RSpecRunTime] RSpec elapsed time: 40 minutes 24.4 seconds. Current RSS: ~1859M. load average: 1.06 1.07 1.02 1/291 17613


  #resolve_conflicts
    sends an RPC request
    raises a relevant exception if resolution_error is present
    with branches with UTF-8 characters
      handles commit messages with UTF-8 characters
# [RSpecRunTime] RSpec elapsed time: 40 minutes 29.31 seconds. Current RSS: ~1968M. load average: 0.98 1.05 1.01 1/288 17659



# [RSpecRunTime] Finishing example group spec/lib/gitlab/gitaly_client/conflicts_service_spec.rb. It took 8.64 seconds. Expected to take 7.77 seconds.
# [RSpecRunTime] Starting example group spec/lib/gitlab/github_import/parallel_scheduling_spec.rb. Expected to take 7.57 seconds.

Gitlab::GithubImport::ParallelScheduling
  #parallel?
    returns true when running in parallel mode
    returns false when running in sequential mode
# [RSpecRunTime] RSpec elapsed time: 40 minutes 32.49 seconds. Current RSS: ~1976M. load average: 0.98 1.05 1.01 1/286 17666


  #execute
    imports data in parallel when running in parallel mode
    imports data in parallel when running in sequential mode
    expires the cache used for tracking already imported objects
    logs the the process
    when abort_on_failure is false
      logs the error when it fails
# [RSpecRunTime] RSpec elapsed time: 40 minutes 35.07 seconds. Current RSS: ~1981M. load average: 0.98 1.05 1.01 1/286 17682


    when abort_on_failure is true
      logs the error when it fails and marks import as failed
  #sequential_import
    imports data in sequence
  #parallel_import
    imports data in parallel with delays respecting parallel_import_batch definition and return job waiter
    when job is running for a long time
      deducts the job runtime from the delay
    when job restarts due to API rate limit or Sidekiq interruption
      restores job waiter's key and jobs_remaining
  #each_object_to_import
    yields every object to import
    resumes from the last page
    does not yield any objects if the page number was not set
    does not yield the object if it was already imported
# [RSpecRunTime] RSpec elapsed time: 40 minutes 40.79 seconds. Current RSS: ~1996M. load average: 0.98 1.05 1.01 1/286 17710


  #already_imported?
    returns false when an object has not yet been imported
    returns true when an object has already been imported
# [RSpecRunTime] RSpec elapsed time: 40 minutes 41.84 seconds. Current RSS: ~1996M. load average: 0.98 1.05 1.01 1/286 17717


  #mark_as_imported
    marks an object as already imported
  #increment_object_counter?
    returns true

# [RSpecRunTime] Finishing example group spec/lib/gitlab/github_import/parallel_scheduling_spec.rb. It took 13.4 seconds. Expected to take 7.57 seconds.
# [RSpecRunTime] Starting example group spec/views/projects/commits/_commit.html.haml_spec.rb. Expected to take 7.48 seconds.

projects/commits/_commit.html.haml
  with different committer
    renders committed by user
# [RSpecRunTime] RSpec elapsed time: 40 minutes 44.41 seconds. Current RSS: ~1987M. load average: 0.98 1.05 1.01 1/287 17735


  with a signed commit
    does not display a loading spinner for GPG status
# [RSpecRunTime] RSpec elapsed time: 40 minutes 45.59 seconds. Current RSS: ~1893M. load average: 0.98 1.05 1.01 1/288 17747


  with ci status
    when pipelines are disabled
      does not display a ci status icon
# [RSpecRunTime] RSpec elapsed time: 40 minutes 46.86 seconds. Current RSS: ~1866M. load average: 0.98 1.05 1.01 1/289 17760


    when pipelines are enabled
      when user has access
        displays a ci status icon
# [RSpecRunTime] RSpec elapsed time: 40 minutes 48.23 seconds. Current RSS: ~1863M. load average: 0.98 1.05 1.01 1/290 17773


      when user does not have access
        does not display a ci status icon
# [RSpecRunTime] RSpec elapsed time: 40 minutes 49.41 seconds. Current RSS: ~1923M. load average: 0.98 1.05 1.01 1/291 17786



# [RSpecRunTime] Finishing example group spec/views/projects/commits/_commit.html.haml_spec.rb. It took 6.68 seconds. Expected to take 7.48 seconds.
# [RSpecRunTime] Starting example group spec/tasks/gitlab/password_rake_spec.rb. Expected to take 7.33 seconds.

gitlab:password rake tasks
  :reset
    when all inputs are correct
      updates the password properly
# [RSpecRunTime] RSpec elapsed time: 40 minutes 51.8 seconds. Current RSS: ~1934M. load average: 0.98 1.05 1.01 1/291 17790


    when username is not provided
      asks for username
      when username is empty
Username can not be empty.
        aborts with an error
# [RSpecRunTime] RSpec elapsed time: 40 minutes 53.0 seconds. Current RSS: ~1934M. load average: 0.98 1.05 1.01 1/291 17797


    when username is passed as argument
      does not ask for username
    when passwords do not match
Unable to change password of the user with username foobar.
Password confirmation doesn't match Password
      aborts with an error
    when user cannot be found
Unable to find user with username nonexistentuser.
      aborts with an error

# [RSpecRunTime] Finishing example group spec/tasks/gitlab/password_rake_spec.rb. It took 7.99 seconds. Expected to take 7.33 seconds.
# [RSpecRunTime] RSpec elapsed time: 40 minutes 57.56 seconds. Current RSS: ~1799M. load average: 0.99 1.05 1.01 1/288 17807


# [RSpecRunTime] Starting example group spec/lib/gitlab/gitaly_client/object_pool_service_spec.rb. Expected to take 7.2 seconds.

Gitlab::GitalyClient::ObjectPoolService
  #create
    exists on disk
    when the pool already exists
      returns an error
# [RSpecRunTime] RSpec elapsed time: 41 minutes 0.02 second. Current RSS: ~1744M. load average: 0.99 1.05 1.01 1/286 17838


  #delete
    removes the repository from disk
    when called twice
      doesn't raise an error
# [RSpecRunTime] RSpec elapsed time: 41 minutes 2.38 seconds. Current RSS: ~1855M. load average: 0.99 1.05 1.01 1/286 17869


  #fetch
    without changes
      fetches changes
# [RSpecRunTime] RSpec elapsed time: 41 minutes 5.7 seconds. Current RSS: ~1865M. load average: 0.99 1.04 1.01 1/286 17910


    with new reference in source repository
      fetches changes
# [RSpecRunTime] RSpec elapsed time: 41 minutes 7.42 seconds. Current RSS: ~1867M. load average: 0.99 1.04 1.01 1/286 17959



# [RSpecRunTime] Finishing example group spec/lib/gitlab/gitaly_client/object_pool_service_spec.rb. It took 9.98 seconds. Expected to take 7.2 seconds.
# [RSpecRunTime] Starting example group spec/lib/sidebars/projects/super_sidebar_panel_spec.rb. Expected to take 7.09 seconds.

Sidebars::Projects::SuperSidebarPanel
  implements #super_sidebar_context_header
  #renderable_menus
    is exposed as a renderable menu
# [RSpecRunTime] RSpec elapsed time: 41 minutes 10.06 seconds. Current RSS: ~1829M. load average: 0.99 1.04 1.01 1/286 17966


  behaves like a panel instantiable by the anonymous user
    is expected to be a kind of Sidebars::Projects::SuperSidebarPanel
  behaves like a panel with all menu_items categorized
    has no uncategorized menu_items
# [RSpecRunTime] RSpec elapsed time: 41 minutes 11.95 seconds. Current RSS: ~1813M. load average: 0.99 1.04 1.01 1/286 17973


  behaves like a panel with uniquely identifiable menu items
    all menu_items have unique item_id
    all menu_items have an item_id
# [RSpecRunTime] RSpec elapsed time: 41 minutes 14.17 seconds. Current RSS: ~1860M. load average: 0.99 1.04 1.01 1/286 17980



# [RSpecRunTime] Finishing example group spec/lib/sidebars/projects/super_sidebar_panel_spec.rb. It took 6.74 seconds. Expected to take 7.09 seconds.
# [RSpecRunTime] Starting example group spec/finders/repositories/tree_finder_spec.rb. Expected to take 6.93 seconds.

Repositories::TreeFinder
  #execute
    returns an array
    includes 20 items by default
    accepts a gitaly_pagination argument
    commit doesn't exist
      raises an error
# [RSpecRunTime] RSpec elapsed time: 41 minutes 18.41 seconds. Current RSS: ~1970M. load average: 0.99 1.04 1.00 1/291 18027


    pagination_params
      has the per_page number of items
      doesn't include any of the first page records
# [RSpecRunTime] RSpec elapsed time: 41 minutes 19.53 seconds. Current RSS: ~1973M. load average: 0.99 1.04 1.00 1/291 18052


  #next_cursor
    always nil before #execute call
    after #execute
      with gitaly pagination
        without pagination params
          is expected to be present
        with pagination params
          is expected to be present
          when all objects can be returned on the same page
            is expected to eq ""
# [RSpecRunTime] RSpec elapsed time: 41 minutes 21.61 seconds. Current RSS: ~1978M. load average: 0.99 1.04 1.00 1/292 18083


      without gitaly pagination
        without pagination params
          is expected to be nil
        with pagination params
          is expected to be nil
          when all objects can be returned on the same page
            is expected to be nil
  #total
    is expected to be a kind of Integer
    only calculates the total once
  #commit_exists?
    ref exists
      is expected to equal true
    ref is missing
      is expected to equal false
# [RSpecRunTime] RSpec elapsed time: 41 minutes 26.52 seconds. Current RSS: ~2021M. load average: 0.99 1.04 1.00 1/291 18145



# [RSpecRunTime] Finishing example group spec/finders/repositories/tree_finder_spec.rb. It took 12.35 seconds. Expected to take 6.93 seconds.
# [RSpecRunTime] Starting example group spec/services/integrations/slack_installation/instance_service_spec.rb. Expected to take 6.79 seconds.

Integrations::SlackInstallation::InstanceService
  behaves like Integrations::SlackInstallation::BaseService
    when Slack responds with an error
      behaves like error response
        returns error result with message
    when HTTP error occurs when exchanging token
      tracks the error
      behaves like error response
        returns error result with message
# [RSpecRunTime] RSpec elapsed time: 41 minutes 28.47 seconds. Current RSS: ~2018M. load average: 0.99 1.04 1.00 1/291 18155


    when slack_app_enabled is not set
      behaves like error response
        returns error result with message
    when user is unauthorized
      behaves like error response
        returns error result with message
    when Slack responds with an access token
      handles propagation correctly
      behaves like success response
        returns success result and creates all needed records
# [RSpecRunTime] RSpec elapsed time: 41 minutes 31.05 seconds. Current RSS: ~2006M. load average: 0.99 1.04 1.00 1/291 18168


      when integration record already exists
        behaves like success response
          returns success result and creates all needed records
        when installation record already exists
          behaves like success response
            returns success result and creates all needed records
      when the team has other Slack installation records
        updates related legacy records
        behaves like success response
          returns success result and creates all needed records
# [RSpecRunTime] RSpec elapsed time: 41 minutes 34.73 seconds. Current RSS: ~1866M. load average: 0.99 1.04 1.00 1/288 18181



# [RSpecRunTime] Finishing example group spec/services/integrations/slack_installation/instance_service_spec.rb. It took 8.21 seconds. Expected to take 6.79 seconds.
# [RSpecRunTime] Starting example group spec/graphql/mutations/issues/set_locked_spec.rb. Expected to take 6.71 seconds.

Mutations::Issues::SetLocked
  is expected to require graphql authorizations :update_issue
  #resolve
    behaves like permission level for issue mutation is correctly verified
      when the user is not a project member
        behaves like when the user does not have access to the resource
          raises an error
          even if assigned to the issue
            does not modify issue
# [RSpecRunTime] RSpec elapsed time: 41 minutes 38.61 seconds. Current RSS: ~1979M. load average: 0.99 1.04 1.00 1/286 18191


          even if author of the issue
            does not modify issue
      when the user is a project member
        with guest role
          behaves like when the user does not have access to the resource
            raises an error
            even if assigned to the issue
              does not modify issue
# [RSpecRunTime] RSpec elapsed time: 41 minutes 40.85 seconds. Current RSS: ~1983M. load average: 0.99 1.04 1.00 1/286 18201


            even if author of the issue
              does not modify issue
    when the user can update the issue
      returns the issue as discussion locked
      when passing locked as false
        unlocks the discussion
# [RSpecRunTime] RSpec elapsed time: 41 minutes 43.47 seconds. Current RSS: ~1921M. load average: 1.00 1.04 1.00 1/286 18211



# [RSpecRunTime] Finishing example group spec/graphql/mutations/issues/set_locked_spec.rb. It took 8.75 seconds. Expected to take 6.71 seconds.
# [RSpecRunTime] Starting example group spec/presenters/label_presenter_spec.rb. Expected to take 6.64 seconds.

LabelPresenter
  #edit_path
    with group label
      is expected to eq "/groups/group188/-/labels/1243/edit"
    with project label
      is expected to eq "/group188/project-764/-/labels/1244/edit"
    with an admin label
      is expected to eq "/admin/labels/1245/edit"
  #destroy_path
    with group label
      is expected to eq "/groups/group188/-/labels/1246"
    with project label
      is expected to eq "/group188/project-764/-/labels/1247"
    with an admin label
      is expected to eq "/admin/labels/1248"
# [RSpecRunTime] RSpec elapsed time: 41 minutes 48.39 seconds. Current RSS: ~1963M. load average: 1.00 1.04 1.00 1/286 18230


  #filter_path
    with group as context subject
      is expected to eq "/groups/group188/-/issues?label_name%5B%5D=label69"
    with project as context subject
      is expected to eq "/group188/project-764/-/issues?label_name%5B%5D=label70"
  #can_subscribe_to_label_in_different_levels?
    returns true for group labels in project context
    returns false for project labels in project context
  #project_label?
    with group label
      is expected to be falsey
    with project label
      is expected to be truthy
  #subject_name
    with group label
      is expected to eq "group188"
    with project label
      is expected to eq "Project-764 Name"
    with an admin label
      is expected to be nil
  #subject_full_name
    with group label
      is expected to eq "group188"
    with project label
      is expected to eq "group188 / Project-764 Name"
    with an admin label
      is expected to be nil

# [RSpecRunTime] Finishing example group spec/presenters/label_presenter_spec.rb. It took 10.39 seconds. Expected to take 6.64 seconds.
# [RSpecRunTime] Starting example group spec/lib/gitlab/gon_helper_spec.rb. Expected to take 6.47 seconds.

Gitlab::GonHelper
  #add_gon_variables
    sets no GitLab version
    when HTTPS is enabled
      sets the secure flag to true
    when HTTP is enabled
      sets the secure flag to false
# [RSpecRunTime] RSpec elapsed time: 41 minutes 57.04 seconds. Current RSS: ~2036M. load average: 1.00 1.04 1.00 1/286 18276


    when user is logged in
      sets GitLab version
    when sentry is configured
      with legacy sentry configuration
        sets sentry dsn and environment from config
      with sentry settings
        sets sentry dsn and environment from config
        when enable_new_sentry_integration is disabled
          does not set sentry dsn and environment from config
# [RSpecRunTime] RSpec elapsed time: 41 minutes 59.13 seconds. Current RSS: ~2035M. load average: 1.00 1.03 1.00 1/286 18289


  #push_frontend_ability
    pushes an ability to the frontend
  #push_frontend_feature_flag
DEPRECATION WARNING: Invalid Feature Flag my_feature_flag stubbed (called from each at /builds/gitlab-org/gitlab/spec/support/helpers/stub_feature_flags.rb:49)
    pushes a feature flag to the frontend
  #push_force_frontend_feature_flag
    pushes a feature flag to the frontend with the provided value
    pushes a disabled feature flag if provided value is nil
  #push_namespace_setting
    pushes a namespace setting to the frontend
    does not push if missing namespace setting entry
# [RSpecRunTime] RSpec elapsed time: 42 minutes 2.82 seconds. Current RSS: ~1943M. load average: 1.00 1.03 1.00 1/286 18308


  #default_avatar_url
    returns an absolute URL
  #add_browsersdk_tracking
    when environment variables are set
      sets the analytics_url and analytics_id
      when Gitlab.com? is false
        doesn't set the analytics_url and analytics_id
    when environment variables are not set
      doesn't set the analytics_url and analytics_id

# [RSpecRunTime] Finishing example group spec/lib/gitlab/gon_helper_spec.rb. It took 10.65 seconds. Expected to take 6.47 seconds.
# [RSpecRunTime] Starting example group spec/services/groups/group_links/destroy_service_spec.rb. Expected to take 6.39 seconds.

Groups::GroupLinks::DestroyService#execute
  when authorizing by user
    single link
      destroys the link
      with skip_group_share_unlink_auth_refresh feature flag disabled
        revokes project authorization
# [RSpecRunTime] RSpec elapsed time: 42 minutes 8.91 seconds. Current RSS: ~2034M. load average: 1.00 1.03 1.00 1/286 18327


      with skip_group_share_unlink_auth_refresh feature flag enabled
        maintains project authorization
# [RSpecRunTime] RSpec elapsed time: 42 minutes 10.08 seconds. Current RSS: ~2016M. load average: 1.00 1.03 1.00 1/286 18331


    multiple links
      with skip_group_share_unlink_auth_refresh feature flag disabled
        updates project authorization once per group
# [RSpecRunTime] RSpec elapsed time: 42 minutes 11.16 seconds. Current RSS: ~1973M. load average: 1.00 1.03 1.00 1/286 18335


      with skip_group_share_unlink_auth_refresh feature flag enabled
        does not update project authorization once per group
  when skipping authorization
    with provided group and owner
      destroys the link
    without providing group or owner
      destroys the link

# [RSpecRunTime] Finishing example group spec/services/groups/group_links/destroy_service_spec.rb. It took 8.46 seconds. Expected to take 6.39 seconds.
# [RSpecRunTime] Starting example group spec/tasks/gitlab/ci_secure_files/check_rake_spec.rb. Expected to take 6.29 seconds.

gitlab:ci_secure_files
  check
    outputs the integrity check for each batch
    errors out about missing files on the file system
    errors out about invalid checksum
# [RSpecRunTime] RSpec elapsed time: 42 minutes 15.96 seconds. Current RSS: ~1876M. load average: 1.08 1.05 1.01 1/286 18354



# [RSpecRunTime] Finishing example group spec/tasks/gitlab/ci_secure_files/check_rake_spec.rb. It took 5.54 seconds. Expected to take 6.29 seconds.
# [RSpecRunTime] RSpec elapsed time: 42 minutes 18.69 seconds. Current RSS: ~1895M. load average: 1.07 1.05 1.00 1/286 18355


# [RSpecRunTime] Starting example group spec/sidekiq_cluster/sidekiq_cluster_spec.rb. Expected to take 6.15 seconds.

Gitlab::SidekiqCluster
  .start
    starts Sidekiq with the given queues, environment and options
    starts Sidekiq with the given queues and sensible default options
# [RSpecRunTime] RSpec elapsed time: 42 minutes 20.15 seconds. Current RSS: ~1992M. load average: 1.07 1.05 1.00 1/286 18362


  .start_sidekiq
    starts a Sidekiq process
    handles duplicate queue names
    runs the sidekiq process in a new process group
# [RSpecRunTime] RSpec elapsed time: 42 minutes 22.96 seconds. Current RSS: ~2008M. load average: 1.07 1.05 1.00 1/286 18372


  .count_by_queue
    tallies the queue counts
  .concurrency
    queue_count: 2, min: 0, max: 0, fixed_concurrency: 0, expected: 3
      is expected to eq 3
    queue_count: 2, min: 0, max: 9, fixed_concurrency: 0, expected: 3
      is expected to eq 3
    queue_count: 2, min: 1, max: 4, fixed_concurrency: 0, expected: 3
      is expected to eq 3
    queue_count: 2, min: 4, max: 5, fixed_concurrency: 0, expected: 4
      is expected to eq 4
    queue_count: 5, min: 2, max: 3, fixed_concurrency: 0, expected: 3
      is expected to eq 3
    queue_count: 2, min: 1, max: 1, fixed_concurrency: 0, expected: 1
      is expected to eq 1
    queue_count: 0, min: 3, max: 3, fixed_concurrency: 0, expected: 3
      is expected to eq 3
    queue_count: 1, min: 4, max: 3, fixed_concurrency: 0, expected: 3
      is expected to eq 3
    queue_count: 1, min: 0, max: 20, fixed_concurrency: 20, expected: 20
      is expected to eq 20
    queue_count: 1, min: 0, max: 20, fixed_concurrency: 10, expected: 10
      is expected to eq 10
    queue_count: 1, min: 20, max: 20, fixed_concurrency: 10, expected: 10
      is expected to eq 10
# [RSpecRunTime] RSpec elapsed time: 42 minutes 30.05 seconds. Current RSS: ~2057M. load average: 1.06 1.05 1.00 1/286 18409


    queue_count: 5, min: 0, max: 0, fixed_concurrency: 10, expected: 10
      is expected to eq 10

# [RSpecRunTime] Finishing example group spec/sidekiq_cluster/sidekiq_cluster_spec.rb. It took 11.94 seconds. Expected to take 6.15 seconds.
# [RSpecRunTime] Starting example group spec/models/authentication_event_spec.rb. Expected to take 6.14 seconds.

AuthenticationEvent
  does not allow STI
  associations
    is expected to belong to user optional: true
# [RSpecRunTime] RSpec elapsed time: 42 minutes 31.78 seconds. Current RSS: ~2056M. load average: 1.06 1.05 1.00 1/286 18419


  validations
    is expected to validate that :provider cannot be empty/falsy
    is expected to validate that :user_name cannot be empty/falsy
    is expected to validate that :result cannot be empty/falsy
    is expected to allow :ip_address to be ‹"192.168.17.43"›
    is expected to allow :ip_address to be ‹"2001:0db8:85a3:0000:0000:8a2e:0370:7334"›
    is expected not to allow :ip_address to be ‹"invalid IP"›
# [RSpecRunTime] RSpec elapsed time: 42 minutes 35.11 seconds. Current RSS: ~1998M. load average: 1.06 1.04 1.00 1/286 18438


  scopes
    .for_provider
      returns events only for the specified provider
    .ldap
      returns all events for an LDAP provider
  .providers
    returns an array of distinct providers
  .initial_login_or_known_ip_address?
    on first login, when no record exists yet
      is expected to eq true
    on second login from the same ip address
      is expected to eq true
    on second login from another ip address
      is expected to eq false
# [RSpecRunTime] RSpec elapsed time: 42 minutes 39.64 seconds. Current RSS: ~2045M. load average: 1.05 1.04 1.00 1/286 18457


  .most_used_ip_address_for_user
    is expected to eq "::1"

# [RSpecRunTime] Finishing example group spec/models/authentication_event_spec.rb. It took 9.7 seconds. Expected to take 6.14 seconds.
# [RSpecRunTime] Starting example group spec/workers/gitlab/github_import/stage/import_issues_and_diff_notes_worker_spec.rb. Expected to take 5.95 seconds.

Gitlab::GithubImport::Stage::ImportIssuesAndDiffNotesWorker
  behaves like Gitlab::GithubImport::StageMethods
    .sidekiq_retries_exhausted
      tracks the exception and marks the import as failed
# [RSpecRunTime] RSpec elapsed time: 42 minutes 41.71 seconds. Current RSS: ~2048M. load average: 1.05 1.04 1.00 1/286 18464


    .sidekiq_options
      has a status_expiration
      has a retry of 6
# [RSpecRunTime] RSpec elapsed time: 42 minutes 42.78 seconds. Current RSS: ~2032M. load average: 1.05 1.04 1.00 1/286 18471


    #perform
      returns if no project could be found
      returns if the import state is no longer in progress
      imports the data when the project exists
      queues RefreshImportJidWorker
      logs error when import fails with a StandardError
      rescheduling the worker on certain errors
        error: Gitlab::GithubImport::RateLimitError
          reschedules the worker
# [RSpecRunTime] RSpec elapsed time: 42 minutes 45.9 seconds. Current RSS: ~1954M. load average: 1.05 1.04 1.00 1/286 18490


        error: Gitlab::ExclusiveLeaseHelpers::FailedToObtainLockError
          reschedules the worker
  #import
    imports the issues and diff notes
  #importers
    when optional stage single_endpoint_notes_import is enabled
      includes single endpoint diff notes importer
    when optional stage single_endpoint_notes_import is disabled
      includes default diff notes importer

# [RSpecRunTime] Finishing example group spec/workers/gitlab/github_import/stage/import_issues_and_diff_notes_worker_spec.rb. It took 7.47 seconds. Expected to take 5.95 seconds.
# [RSpecRunTime] Starting example group spec/lib/gitlab/ci/templates/Jobs/code_quality_gitlab_ci_yaml_spec.rb. Expected to take 5.95 seconds.

Jobs/Code-Quality.gitlab-ci.yml
  the created pipeline
    on master
      creates the code_quality job
# [RSpecRunTime] RSpec elapsed time: 42 minutes 49.41 seconds. Current RSS: ~2029M. load average: 1.68 1.17 1.05 1/288 18519


    on another branch
      creates the code_quality job
# [RSpecRunTime] RSpec elapsed time: 42 minutes 51.79 seconds. Current RSS: ~2053M. load average: 1.68 1.17 1.05 1/290 18527


    on tag
      creates the code_quality job
    on merge request
      has no jobs
# [RSpecRunTime] RSpec elapsed time: 42 minutes 53.93 seconds. Current RSS: ~2055M. load average: 1.63 1.17 1.04 1/292 18577


    CODE_QUALITY_DISABLED is set
      on master
        has no jobs
      on another branch
        has no jobs
      on tag
        has no jobs

# [RSpecRunTime] Finishing example group spec/lib/gitlab/ci/templates/Jobs/code_quality_gitlab_ci_yaml_spec.rb. It took 8.42 seconds. Expected to take 5.95 seconds.
# [RSpecRunTime] Starting example group spec/lib/gitlab/ci/pipeline/chain/build_spec.rb. Expected to take 5.8 seconds.

Gitlab::Ci::Pipeline::Chain::Build
  does not break the chain
  builds a pipeline with the expected attributes
  returns a valid pipeline
  does not persist a pipeline
  when pipeline is running for a tag
    correctly indicated that this is a tagged pipeline
    when origin_ref is branch but tag ref with the same name exists
      correctly indicated that a pipeline is not tagged
# [RSpecRunTime] RSpec elapsed time: 42 minutes 59.97 seconds. Current RSS: ~1917M. load average: 1.58 1.17 1.04 1/291 18654


  when pipeline is running for a merge request
    correctly indicated that this is a merge request pipeline
    correctly sets souce sha and target sha to pipeline
  when pipeline is running for an external pull request
    correctly indicated that this is an external pull request pipeline
    correctly sets source sha and target sha to pipeline
# [RSpecRunTime] RSpec elapsed time: 43 minutes 3.53 seconds. Current RSS: ~2056M. load average: 1.53 1.17 1.04 1/291 18687


  when keep_latest_artifact is set
    keep_latest_artifact: true, locking_result: "artifacts_locked"
      builds a pipeline with appropriate locked value
    keep_latest_artifact: false, locking_result: "unlocked"
      builds a pipeline with appropriate locked value

# [RSpecRunTime] Finishing example group spec/lib/gitlab/ci/pipeline/chain/build_spec.rb. It took 8.59 seconds. Expected to take 5.8 seconds.
# [RSpecRunTime] Starting example group spec/views/projects/empty.html.haml_spec.rb. Expected to take 5.72 seconds.

projects/empty
  when user can push code on the project
    displays "git clone" instructions
    when default branch name contains special shell characters
      escapes the default branch name
# [RSpecRunTime] RSpec elapsed time: 43 minutes 7.55 seconds. Current RSS: ~1996M. load average: 1.53 1.17 1.04 1/291 18713


  when user can not push code on the project
    does not display "git clone" instructions
  project is archived
    shows archived notice
# [RSpecRunTime] RSpec elapsed time: 43 minutes 9.81 seconds. Current RSS: ~1838M. load average: 1.57 1.18 1.05 1/291 18725


  with invite button on empty projects
    shows invite members info
    when user does not have permissions to invite members
      does not show invite member info
# [RSpecRunTime] RSpec elapsed time: 43 minutes 11.54 seconds. Current RSS: ~1831M. load average: 1.57 1.18 1.05 1/291 18732



# [RSpecRunTime] Finishing example group spec/views/projects/empty.html.haml_spec.rb. It took 6.85 seconds. Expected to take 5.72 seconds.
# [RSpecRunTime] Starting example group spec/models/packages/build_info_spec.rb. Expected to take 5.59 seconds.

Packages::BuildInfo
  does not allow STI
  relationships
    is expected to belong to package required: false
    is expected to belong to pipeline required: false
# [RSpecRunTime] RSpec elapsed time: 43 minutes 14.77 seconds. Current RSS: ~1943M. load average: 1.52 1.18 1.05 1/288 18742


  with some build infos
    .pluck_pipeline_ids
      is expected to eq [289, 290, 291]
# [RSpecRunTime] RSpec elapsed time: 43 minutes 17.07 seconds. Current RSS: ~1943M. load average: 1.52 1.18 1.05 1/287 18746


    .without_empty_pipelines
      is expected to contain exactly #<Packages::BuildInfo id: 1, package_id: 59, pipeline_id: 289>, #<Packages::BuildInfo id: 2, package_id: 59, pipeline_id: 290>, and #<Packages::BuildInfo id: 3, package_id: 59, pipeline_id: 291>
    .order_by_pipeline_id asc
      is expected to eq [#<Packages::BuildInfo id: 1, package_id: 59, pipeline_id: 289>, #<Packages::BuildInfo id: 2, package_id: 59, pipeline_id: 290>, #<Packages::BuildInfo id: 3, package_id: 59, pipeline_id: 291>]
    .order_by_pipeline_id desc
      is expected to eq [#<Packages::BuildInfo id: 3, package_id: 59, pipeline_id: 291>, #<Packages::BuildInfo id: 2, package_id: 59, pipeline_id: 290>, #<Packages::BuildInfo id: 1, package_id: 59, pipeline_id: 289>]
    .with_pipeline_id_less_than
      is expected to contain exactly #<Packages::BuildInfo id: 1, package_id: 59, pipeline_id: 289>
    .with_pipeline_id_greater_than
      is expected to contain exactly #<Packages::BuildInfo id: 3, package_id: 59, pipeline_id: 291>

# [RSpecRunTime] Finishing example group spec/models/packages/build_info_spec.rb. It took 7.93 seconds. Expected to take 5.59 seconds.
# [RSpecRunTime] Starting example group spec/models/achievements/achievement_spec.rb. Expected to take 5.5 seconds.

Achievements::Achievement
  does not allow STI
  #name
    strips name
# [RSpecRunTime] RSpec elapsed time: 43 minutes 20.7 seconds. Current RSS: ~1899M. load average: 1.48 1.17 1.05 1/287 18768


  associations
    is expected to belong to namespace inverse_of => achievements required: true
    is expected to have many user_achievements inverse_of => achievement
    is expected to have many users through user_achievements inverse_of => achievements
# [RSpecRunTime] RSpec elapsed time: 43 minutes 22.23 seconds. Current RSS: ~1907M. load average: 1.48 1.17 1.05 1/287 18778


  validations
    is expected to validate that :name cannot be empty/falsy
    is expected to validate that :name is case-insensitively unique within the scope of :namespace_id
    is expected to validate that the length of :name is at most 255
    is expected to validate that the length of :description is at most 1024
# [RSpecRunTime] RSpec elapsed time: 43 minutes 26.23 seconds. Current RSS: ~2020M. load average: 1.44 1.17 1.05 1/287 18791


  behaves like Avatarable
    #avatar_type
      is true if avatar is image
      is false if avatar is html page
# [RSpecRunTime] RSpec elapsed time: 43 minutes 27.6 seconds. Current RSS: ~2020M. load average: 1.44 1.17 1.05 1/287 18798


    #avatar_url
      when avatar file is uploaded
        shows correct avatar url

# [RSpecRunTime] Finishing example group spec/models/achievements/achievement_spec.rb. It took 8.71 seconds. Expected to take 5.5 seconds.
# [RSpecRunTime] Starting example group spec/services/packages/composer/version_parser_service_spec.rb. Expected to take 5.43 seconds.

Packages::Composer::VersionParserService
  #execute
    tagname: nil, branchname: "master", expected_version: "dev-master"
      is expected to eq "dev-master"
    tagname: nil, branchname: "my-feature", expected_version: "dev-my-feature"
      is expected to eq "dev-my-feature"
    tagname: nil, branchname: "12-feature", expected_version: "dev-12-feature"
      is expected to eq "dev-12-feature"
    tagname: nil, branchname: "v1", expected_version: "1.x-dev"
      is expected to eq "1.x-dev"
    tagname: nil, branchname: "v1.x", expected_version: "1.x-dev"
      is expected to eq "1.x-dev"
    tagname: nil, branchname: "v1.7.x", expected_version: "1.7.x-dev"
      is expected to eq "1.7.x-dev"
    tagname: nil, branchname: "v1.7", expected_version: "1.7.x-dev"
      is expected to eq "1.7.x-dev"
    tagname: nil, branchname: "1.7.x", expected_version: "1.7.x-dev"
      is expected to eq "1.7.x-dev"
    tagname: "v1.0.0", branchname: nil, expected_version: "1.0.0"
      is expected to eq "1.0.0"
    tagname: "v1.0", branchname: nil, expected_version: "1.0"
      is expected to eq "1.0"
# [RSpecRunTime] RSpec elapsed time: 43 minutes 34.55 seconds. Current RSS: ~2047M. load average: 1.45 1.18 1.05 1/287 18832


    tagname: "v1.0.1+meta", branchname: nil, expected_version: "1.0.1+meta"
      is expected to eq "1.0.1+meta"
    tagname: "1.0", branchname: nil, expected_version: "1.0"
      is expected to eq "1.0"
    tagname: "1.0.2", branchname: nil, expected_version: "1.0.2"
      is expected to eq "1.0.2"
    tagname: "1.0.2-beta2", branchname: nil, expected_version: "1.0.2-beta2"
      is expected to eq "1.0.2-beta2"
    tagname: "1.0.1+meta", branchname: nil, expected_version: "1.0.1+meta"
      is expected to eq "1.0.1+meta"

# [RSpecRunTime] Finishing example group spec/services/packages/composer/version_parser_service_spec.rb. It took 8.71 seconds. Expected to take 5.43 seconds.
# [RSpecRunTime] Starting example group spec/graphql/resolvers/alert_management/integrations_resolver_spec.rb. Expected to take 5.36 seconds.

Resolvers::AlertManagement::IntegrationsResolver
  is expected to have nullable GraphQL type AlertManagementIntegrationConnection
  user does not have permission
    is expected to be empty
# [RSpecRunTime] RSpec elapsed time: 43 minutes 39.0 seconds. Current RSS: ~2012M. load average: 1.41 1.18 1.05 1/287 18854


  user has permission
    is expected to contain exactly #<AlertManagement::HttpIntegration id: 1, created_at: "2024-03-18 02:10:51.847069558 +0000", updated_... "DataDog", payload_example: {}, payload_attribute_mapping: {}, type_identifier: "http", token: nil> and #<Integrations::Prometheus id: 11, project_id: 587, created_at: "2024-03-18 02:10:51.803163085 +0000"...ents: false, group_mention_events: false, group_confidential_mention_events: false, properties: nil>
    when HTTP Integration ID is given
      when integration is from the current project
        is expected to contain exactly #<AlertManagement::HttpIntegration id: 2, created_at: "2024-03-18 02:10:51.854491567 +0000", updated_... "DataDog", payload_example: {}, payload_attribute_mapping: {}, type_identifier: "http", token: nil>
# [RSpecRunTime] RSpec elapsed time: 43 minutes 40.54 seconds. Current RSS: ~1926M. load average: 1.41 1.18 1.05 1/287 18861


      when integration is from other project
        is expected to be empty
    when Prometheus Integration ID is given
      when integration is from the current project
        is expected to contain exactly #<Integrations::Prometheus id: 11, project_id: 587, created_at: "2024-03-18 02:10:51.803163085 +0000"...ents: false, group_mention_events: false, group_confidential_mention_events: false, properties: nil>
      when integration is from other project
        is expected to be empty

# [RSpecRunTime] Finishing example group spec/graphql/resolvers/alert_management/integrations_resolver_spec.rb. It took 5.67 seconds. Expected to take 5.36 seconds.
# [RSpecRunTime] Starting example group spec/lib/gitlab/analytics/cycle_analytics/stage_events/issue_first_mentioned_in_commit_spec.rb. Expected to take 5.24 seconds.

Gitlab::Analytics::CycleAnalytics::StageEvents::IssueFirstMentionedInCommit
  behaves like value stream analytics event
    is expected to be a kind of String
    is expected to be a kind of Symbol
    is expected to include ApplicationRecord(abstract)
    is expected to respond to #timestamp_projection
    is expected to respond to #html_description
    is expected to be a kind of Array
    #apply_query_customization
      expects an ActiveRecord::Relation object as argument and returns a modified version of it
# [RSpecRunTime] RSpec elapsed time: 43 minutes 47.72 seconds. Current RSS: ~2021M. load average: 1.38 1.17 1.05 1/287 18892


    #hash_code
      returns a hash that uniquely identifies an event
      does not differ when the same object is built with the same params
# [RSpecRunTime] RSpec elapsed time: 43 minutes 48.73 seconds. Current RSS: ~2021M. load average: 1.35 1.17 1.05 1/287 18899


  behaves like LEFT JOIN-able value stream analytics event
    can use the event as LEFT JOIN
    when looking at the record with data
      contains the timestamp expression
# [RSpecRunTime] RSpec elapsed time: 43 minutes 50.51 seconds. Current RSS: ~1945M. load average: 1.35 1.17 1.05 1/287 18906


    when looking at the record without data
      returns nil for the timestamp expression

# [RSpecRunTime] Finishing example group spec/lib/gitlab/analytics/cycle_analytics/stage_events/issue_first_mentioned_in_commit_spec.rb. It took 8.39 seconds. Expected to take 5.24 seconds.
# [RSpecRunTime] Starting example group spec/policies/personal_access_token_policy_spec.rb. Expected to take 5.2 seconds.

PersonalAccessTokenPolicy
  current_user is an administrator
    not the owner of the token
      is expected to be allowed :read_token
      is expected to be allowed :revoke_token
# [RSpecRunTime] RSpec elapsed time: 43 minutes 52.14 seconds. Current RSS: ~1938M. load average: 1.35 1.17 1.05 1/287 18916


    owner of the token
      is expected to be allowed :read_token
      is expected to be allowed :revoke_token
# [RSpecRunTime] RSpec elapsed time: 43 minutes 54.57 seconds. Current RSS: ~1968M. load average: 1.32 1.17 1.05 1/287 18923


  current_user is not an administrator
    not the owner of the token
      is expected to be disallowed :read_token
      is expected to be disallowed :revoke_token
    owner of the token
      is expected to be allowed :read_token
      is expected to be allowed :revoke_token
    subject of the impersonated token
      is expected to be disallowed :read_token
      is expected to be disallowed :revoke_token
  current_user is a blocked administrator
    owner of the token
      is expected to be disallowed :read_token
      is expected to be disallowed :revoke_token
# [RSpecRunTime] RSpec elapsed time: 43 minutes 58.58 seconds. Current RSS: ~1966M. load average: 1.29 1.17 1.05 1/287 18948


    not the owner of the token
      is expected to be disallowed :read_token
      is expected to be disallowed :revoke_token

# [RSpecRunTime] Finishing example group spec/policies/personal_access_token_policy_spec.rb. It took 8.53 seconds. Expected to take 5.2 seconds.
# [RSpecRunTime] Starting example group spec/tasks/gitlab/audit_event_types/check_docs_task_spec.rb. Expected to take 5.06 seconds.

Tasks::Gitlab::AuditEventTypes::CheckDocsTask
  #run
    behaves like checks if the doc is up-to-date
      when custom_abilities.md is up to date
Documentation compiled.
        outputs success message after checking the documentation
      when custom_abilities.md is updated manually
Documentation compiled.
        raises an error
      when an existing custom ability is removed
        behaves like outputs an error
Documentation compiled.
          raises an error
      when a new custom ability is added
        behaves like outputs an error
Documentation compiled.
          raises an error
# [RSpecRunTime] RSpec elapsed time: 44 minutes 3.64 seconds. Current RSS: ~2050M. load average: 1.27 1.16 1.05 1/287 18967


      when an existing audit event type is updated
        behaves like outputs an error
Documentation compiled.
          raises an error

# [RSpecRunTime] Finishing example group spec/tasks/gitlab/audit_event_types/check_docs_task_spec.rb. It took 7.39 seconds. Expected to take 5.06 seconds.
# [RSpecRunTime] RSpec elapsed time: 44 minutes 7.05 seconds. Current RSS: ~2008M. load average: 1.27 1.16 1.05 1/287 18971


# [RSpecRunTime] Starting example group spec/services/ci/create_pipeline_service/parallel_spec.rb. Expected to take 5.01 seconds.

Ci::CreatePipelineService
  job:parallel
    numeric
      creates the pipeline
      creates 3 jobs
# [RSpecRunTime] RSpec elapsed time: 44 minutes 9.91 seconds. Current RSS: ~1817M. load average: 1.25 1.16 1.05 1/291 18998


    matrix
      creates the pipeline
      creates 4 builds with the corresponding matrix variables
      when a bridge is using parallel:matrix
        creates the pipeline
        creates 1 build and 4 bridges with the corresponding matrix variables
# [RSpecRunTime] RSpec elapsed time: 44 minutes 13.71 seconds. Current RSS: ~1801M. load average: 1.23 1.16 1.05 1/292 19027



# [RSpecRunTime] Finishing example group spec/services/ci/create_pipeline_service/parallel_spec.rb. It took 6.78 seconds. Expected to take 5.01 seconds.
# [RSpecRunTime] Starting example group spec/models/concerns/ignorable_columns_spec.rb. Expected to take 4.92 seconds.

IgnorableColumns
  does not allow STI
  adds columns to ignored_columns
  adds columns to ignored_columns (array version)
  requires remove_after attribute to be set
  allows setting remove_never: true and not setting other remove options
  requires remove_after attribute to be set
  requires remove_with attribute to be set
  .ignored_columns_details
    defaults to empty Hash
    with single column
      behaves like storing removal information
        storing removal information
# [RSpecRunTime] RSpec elapsed time: 44 minutes 19.78 seconds. Current RSS: ~1973M. load average: 1.21 1.15 1.05 1/292 19055


    with array column
      behaves like storing removal information
        storing removal information
    when called on a subclass without setting the ignored columns
      does not raise Deadlock error
  IgnorableColumns::ColumnIgnore
    #safe_to_remove?
      after remove_after date has passed
        returns true (safe to remove)
      before remove_after date has passed
        returns false (not safe to remove)
      with remove_never: true
        is false

# [RSpecRunTime] Finishing example group spec/models/concerns/ignorable_columns_spec.rb. It took 8.51 seconds. Expected to take 4.92 seconds.
# [RSpecRunTime] Starting example group spec/lib/gitlab/import_export/snippets_repo_saver_spec.rb. Expected to take 4.87 seconds.

Gitlab::ImportExport::SnippetsRepoSaver
  bundle a project Git repo
    creates the snippet bundles dir if not exists
    when project does not have any snippet
      does not perform any action
# [RSpecRunTime] RSpec elapsed time: 44 minutes 24.21 seconds. Current RSS: ~1913M. load average: 1.19 1.15 1.05 1/287 19077


    when project has snippets
      calls the SnippetRepoSaver for each snippet
      when one snippet cannot be saved
        returns false and do not process other snippets
# [RSpecRunTime] RSpec elapsed time: 44 minutes 26.45 seconds. Current RSS: ~1984M. load average: 1.19 1.15 1.05 1/287 19094



# [RSpecRunTime] Finishing example group spec/lib/gitlab/import_export/snippets_repo_saver_spec.rb. It took 4.23 seconds. Expected to take 4.87 seconds.
# [RSpecRunTime] Starting example group spec/services/authorized_project_update/project_recalculate_per_user_service_spec.rb. Expected to take 4.8 seconds.

AuthorizedProjectUpdate::ProjectRecalculatePerUserService#execute
  returns success
  when there are no changes to be made
    does not change authorizations
# [RSpecRunTime] RSpec elapsed time: 44 minutes 29.65 seconds. Current RSS: ~1991M. load average: 1.18 1.15 1.05 1/287 19101


  when there are changes to be made
    when addition is required
      adds a new authorization record for the specific user
      does not add a new authorization record for the other user
      adds a new authorization record with the correct access level for the specific user
# [RSpecRunTime] RSpec elapsed time: 44 minutes 31.98 seconds. Current RSS: ~1992M. load average: 1.18 1.15 1.05 1/287 19111


    when removal is required
      removes the authorization record for the specific user
      does not remove the authorization record for the other user
# [RSpecRunTime] RSpec elapsed time: 44 minutes 33.08 seconds. Current RSS: ~1979M. load average: 1.18 1.15 1.05 1/287 19118


    when an update in access level is required
      updates the authorization of the specific user to the correct access level
      does not update the authorization of the other user to the correct access level
# [RSpecRunTime] RSpec elapsed time: 44 minutes 34.54 seconds. Current RSS: ~1943M. load average: 1.16 1.14 1.05 1/287 19125



# [RSpecRunTime] Finishing example group spec/services/authorized_project_update/project_recalculate_per_user_service_spec.rb. It took 8.08 seconds. Expected to take 4.8 seconds.
# [RSpecRunTime] Starting example group spec/services/dependency_proxy/auth_token_service_spec.rb. Expected to take 4.73 seconds.

DependencyProxy::AuthTokenService
  .user_or_deploy_token_from_jwt
    with a user
      is expected to eq #<User id:1112 @user550>
      with an invalid user id
        raises an not found error
# [RSpecRunTime] RSpec elapsed time: 44 minutes 35.71 seconds. Current RSS: ~1947M. load average: 1.16 1.14 1.05 1/287 19132


      behaves like handling token errors
        with a decoding error
          is expected to eq nil
# [RSpecRunTime] RSpec elapsed time: 44 minutes 37.83 seconds. Current RSS: ~1961M. load average: 1.16 1.14 1.05 1/287 19136


        with an immature signature error
          is expected to eq nil
        with an expired signature error
          returns nil
    with a deploy token
      is expected to eq #<DeployToken id: 9, revoked: false, read_repository: true, read_registry: true, expires_at: "2024-03...write_registry: false, read_package_registry: false, write_package_registry: false, creator_id: nil>
      with an invalid token
        is expected to eq nil
      behaves like handling token errors
        with a decoding error
          is expected to eq nil
        with an immature signature error
          is expected to eq nil
        with an expired signature error
          returns nil
    with an empty token payload
      is expected to eq nil

# [RSpecRunTime] Finishing example group spec/services/dependency_proxy/auth_token_service_spec.rb. It took 7.12 seconds. Expected to take 4.73 seconds.
# [RSpecRunTime] Starting example group spec/workers/gitlab/bitbucket_server_import/stage/import_users_worker_spec.rb. Expected to take 4.63 seconds.

Gitlab::BitbucketServerImport::Stage::ImportUsersWorker
  behaves like Gitlab::BitbucketServerImport::StageMethods
    .sidekiq_retries_exhausted
      tracks the import failure
    #perform
      executes the import
      queues RefreshImportJidWorker
  #perform
    when the import succeeds
      schedules the next stage
      logs stage start and finish
      behaves like an idempotent worker
        is labeled as idempotent
        performs multiple times sequentially without raising an exception
# [RSpecRunTime] RSpec elapsed time: 44 minutes 47.1 seconds. Current RSS: ~2004M. load average: 1.14 1.14 1.05 1/287 19182


    when project does not exists
      does not call importer
    when project import state is not `started`
      does not call importer
    when the importer fails
      does not schedule the next stage and raises error

# [RSpecRunTime] Finishing example group spec/workers/gitlab/bitbucket_server_import/stage/import_users_worker_spec.rb. It took 7.33 seconds. Expected to take 4.63 seconds.
# [RSpecRunTime] Starting example group spec/serializers/diff_viewer_entity_spec.rb. Expected to take 4.6 seconds.

DiffViewerEntity
  serializes diff file viewer
  contains whitespace_only attribute
  when whitespace_only option is true
    returns the whitespace_only attribute true
# [RSpecRunTime] RSpec elapsed time: 44 minutes 52.55 seconds. Current RSS: ~1877M. load average: 1.13 1.14 1.05 1/292 19240


  when whitespace_only option is false
    returns the whitespace_only attribute false
# [RSpecRunTime] RSpec elapsed time: 44 minutes 53.62 seconds. Current RSS: ~1873M. load average: 1.20 1.15 1.05 1/292 19257



# [RSpecRunTime] Finishing example group spec/serializers/diff_viewer_entity_spec.rb. It took 4.63 seconds. Expected to take 4.6 seconds.
# [RSpecRunTime] Starting example group spec/lib/file_size_validator_spec.rb. Expected to take 4.5 seconds.

FileSizeValidator
  options uses an integer
    attachment exceeds maximum limit
    attachment under maximum limit
# [RSpecRunTime] RSpec elapsed time: 44 minutes 55.81 seconds. Current RSS: ~1950M. load average: 1.20 1.15 1.05 1/292 19264


  options uses a symbol
    attachment exceeds maximum limit
    attachment under maximum limit
# [RSpecRunTime] RSpec elapsed time: 44 minutes 59.45 seconds. Current RSS: ~1974M. load average: 1.18 1.15 1.05 1/292 19271



# [RSpecRunTime] Finishing example group spec/lib/file_size_validator_spec.rb. It took 5.82 seconds. Expected to take 4.5 seconds.
# [RSpecRunTime] Starting example group spec/models/ci/build_pending_state_spec.rb. Expected to take 4.49 seconds.

Ci::BuildPendingState
  does not allow STI
  associations
    is expected to belong to build class_name => Ci::Build required: false inverse_of => pending_state
# [RSpecRunTime] RSpec elapsed time: 45 minutes 0.74 second. Current RSS: ~1974M. load average: 1.18 1.15 1.05 1/292 19278


  validations
    is expected to validate that :build cannot be empty/falsy
  #crc32
    when checksum does not exist
      returns nil
    when checksum is in hexadecimal
      returns decimal representation of the checksum
  partitioning
    with build
      sets partition_id to the current partition value
      when it is already set
        does not change the partition_id value
# [RSpecRunTime] RSpec elapsed time: 45 minutes 4.81 seconds. Current RSS: ~1848M. load average: 1.17 1.15 1.05 1/287 19294


    without build
      is expected to validate that :partition_id cannot be empty/falsy
      does not change the partition_id value

# [RSpecRunTime] Finishing example group spec/models/ci/build_pending_state_spec.rb. It took 6.21 seconds. Expected to take 4.49 seconds.
# [RSpecRunTime] Starting example group spec/models/ref_matcher_spec.rb. Expected to take 4.4 seconds.

RefMatcher
  does not allow STI
  #matching
    when refs are strings
      is expected to contain exactly "v1.0"
      behaves like matching_refs
        when there is no match
          is expected to contain exactly
# [RSpecRunTime] RSpec elapsed time: 45 minutes 8.88 seconds. Current RSS: ~1981M. load average: 1.15 1.14 1.05 1/287 19310


        when ref pattern is a wildcard
          is expected to contain exactly "v1.0" and "v1.1"
    when refs are ref objects
      is expected to contain exactly #<Double "tag">
      behaves like matching_refs
        when there is no match
          is expected to contain exactly
        when ref pattern is a wildcard
          is expected to contain exactly #<Double "tag"> and #<Double "tag">
  #matches?
    is expected to be truthy
    when ref_name is empty
      is expected to be falsey
    when ref pattern matches wildcard
      is expected to be truthy
    when ref pattern does not match wildcard
      is expected to be falsey
  #wildcard?
    is expected to be falsey
    when pattern is a wildcard
      is expected to be truthy

# [RSpecRunTime] Finishing example group spec/models/ref_matcher_spec.rb. It took 7.92 seconds. Expected to take 4.4 seconds.
# [RSpecRunTime] Starting example group spec/db/development/create_work_item_hierarchy_restrictions_spec.rb. Expected to take 4.38 seconds.

Create work item hierarchy restrictions in development
  behaves like work item hierarchy restrictions importer
    when restrictions are missing
      behaves like adds restrictions

OK
        adds all restrictions if they don't exist
      behaves like clears type reactive cache

OK
        is expected to receive clear_reactive_cache!(*(any args)) 1 time
    when base types are missing
      behaves like adds restrictions

OK
        adds all restrictions if they don't exist
    when restrictions already exist

OK
      upserts restrictions
      behaves like clears type reactive cache

OK
        is expected to receive clear_reactive_cache!(*(any args)) 1 time
# [RSpecRunTime] RSpec elapsed time: 45 minutes 17.98 seconds. Current RSS: ~2035M. load average: 1.14 1.14 1.05 1/287 19356


    when some restrictions are missing

OK
      inserts missing restrictions and does nothing if some already existed
      behaves like clears type reactive cache

OK
        is expected to receive clear_reactive_cache!(*(any args)) 1 time
# [RSpecRunTime] RSpec elapsed time: 45 minutes 19.09 seconds. Current RSS: ~2036M. load average: 1.13 1.14 1.05 1/287 19363


    when restrictions contain attributes not present in the table

OK
      filters out missing columns
      behaves like clears type reactive cache

OK
        is expected to receive clear_reactive_cache!(*(any args)) 1 time
# [RSpecRunTime] RSpec elapsed time: 45 minutes 20.2 seconds. Current RSS: ~2036M. load average: 1.13 1.14 1.05 1/287 19370



# [RSpecRunTime] Finishing example group spec/db/development/create_work_item_hierarchy_restrictions_spec.rb. It took 6.63 seconds. Expected to take 4.38 seconds.
# [RSpecRunTime] Starting example group spec/lib/gitlab/database/background_migration/batch_optimizer_spec.rb. Expected to take 4.27 seconds.

Gitlab::Database::BackgroundMigration::BatchOptimizer
  #optimize
    with unknown time efficiency, it keeps the batch size
    with a time efficiency of 95%, it keeps the batch size
    with a time efficiency of 90%, it keeps the batch size
    with a time efficiency of 85%, it increases the batch size
    with a time efficiency of 110%, it decreases the batch size
    reaching the upper limit for an increase
      caps the batch size multiplier at 20% when increasing
      does not limit the decrease multiplier
# [RSpecRunTime] RSpec elapsed time: 45 minutes 24.02 seconds. Current RSS: ~1961M. load average: 1.12 1.14 1.05 1/288 19392


    reaching the upper limit for the batch size
      caps the batch size at 10M
      when max_batch_size is set
        caps the batch size at max_batch_size
    reaching the lower limit for the batch size
      caps the batch size at 1k
    when migration max_batch_size is less than MIN_BATCH_SIZE
      does not raise an error

# [RSpecRunTime] Finishing example group spec/lib/gitlab/database/background_migration/batch_optimizer_spec.rb. It took 5.64 seconds. Expected to take 4.27 seconds.
# [RSpecRunTime] Starting example group spec/views/shared/issuable/_sidebar.html.haml_spec.rb. Expected to take 4.24 seconds.

shared/issuable/_sidebar.html.haml
  project in a group
    issuable that does not support escalations
      shows escalation policy dropdown
# [RSpecRunTime] RSpec elapsed time: 45 minutes 29.0 seconds. Current RSS: ~2059M. load average: 1.11 1.13 1.05 1/288 19408


    issuable that supports escalations
      does not show escalation policy dropdown
    crm contacts widget
      without permission
        is expected not to be shown
      without contacts
        is expected not to be shown
      with permission and contacts
        is expected to be shown

# [RSpecRunTime] Finishing example group spec/views/shared/issuable/_sidebar.html.haml_spec.rb. It took 6.11 seconds. Expected to take 4.24 seconds.
# [RSpecRunTime] Starting example group spec/services/projects/record_target_platforms_service_spec.rb. Expected to take 4.13 seconds.

Projects::RecordTargetPlatformsService#execute
  when project is an XCode project
    creates a new setting record for the project
    returns array of detected target platforms
    when a project has an existing setting record
      when target platforms changed
        updates
        is expected to contain exactly "ios" and "osx"
# [RSpecRunTime] RSpec elapsed time: 45 minutes 34.52 seconds. Current RSS: ~1939M. load average: 1.10 1.13 1.05 1/288 19433


      when target platforms are the same
        does not update
  when project is not an XCode project
    does nothing
    is expected to be nil

# [RSpecRunTime] Finishing example group spec/services/projects/record_target_platforms_service_spec.rb. It took 3.94 seconds. Expected to take 4.13 seconds.
# [RSpecRunTime] Starting example group spec/lib/api/entities/clusters/agents/authorizations/ci_access_spec.rb. Expected to take 4.1 seconds.

API::Entities::Clusters::Agents::Authorizations::CiAccess
  group authorization
    includes shared fields
# [RSpecRunTime] RSpec elapsed time: 45 minutes 37.2 seconds. Current RSS: ~2003M. load average: 1.10 1.13 1.05 1/288 19446


  project authorization
    includes shared fields
# [RSpecRunTime] RSpec elapsed time: 45 minutes 40.13 seconds. Current RSS: ~2027M. load average: 1.09 1.13 1.05 1/288 19450


  implicit authorization
    includes shared fields

# [RSpecRunTime] Finishing example group spec/lib/api/entities/clusters/agents/authorizations/ci_access_spec.rb. It took 5.18 seconds. Expected to take 4.1 seconds.
# [RSpecRunTime] Starting example group spec/lib/sidebars/admin/menus/monitoring_menu_spec.rb. Expected to take 4.06 seconds.

Sidebars::Admin::Menus::MonitoringMenu
  behaves like Admin menu with sub menus
    contains submemus
  behaves like Admin menu
    renders the correct link
    renders the correct title
    renders the correct icon
    renders the separator if needed
    #render?
      when user is admin
        renders
# [RSpecRunTime] RSpec elapsed time: 45 minutes 44.33 seconds. Current RSS: ~2000M. load average: 1.08 1.13 1.05 1/288 19472


      when user is not admin
        does not render
      when user is not logged in
        does not render
  Menu items
    Metrics Dashboard
      when grafana is enabled
        is expected not to be nil
      when grafana is disabled
        is expected to be nil

# [RSpecRunTime] Finishing example group spec/lib/sidebars/admin/menus/monitoring_menu_spec.rb. It took 5.09 seconds. Expected to take 4.06 seconds.
# [RSpecRunTime] Starting example group spec/lib/gitlab/database/partitioning/int_range_strategy_spec.rb. Expected to take 4.0 seconds.

Gitlab::Database::Partitioning::IntRangeStrategy
  #current_partitions
    returns partitions order by range bound
  #missing_partitions
    when the current partitions are not completed
      when partitions have data
        returns missing partitions
      when partitions are empty
        returns missing partitions
    with existing partitions
      when partitions have data
        returns missing partitions
      when partitions are empty
        returns missing partitions
# [RSpecRunTime] RSpec elapsed time: 45 minutes 50.84 seconds. Current RSS: ~2079M. load average: 1.08 1.12 1.05 1/288 19500


    without partitions
      returns missing partitions
  simulates the merge_request_diff_commits partition creation
    redirects to the new partition
  #extra_partitions
    returns an empty array
  attributes
    is expected to have attributes {:model => #<Class:0x00007cae1d301428>(Table doesn't exist), :partition_size => 5, :partitioning_key => :partition}

# [RSpecRunTime] Finishing example group spec/lib/gitlab/database/partitioning/int_range_strategy_spec.rb. It took 6.85 seconds. Expected to take 4.0 seconds.
# [RSpecRunTime] Starting example group spec/models/ci/pipeline_message_spec.rb. Expected to take 3.97 seconds.

Ci::PipelineMessage
  does not allow STI
  validations
    when message content is longer than the limit
      is truncated with ellipsis
# [RSpecRunTime] RSpec elapsed time: 45 minutes 54.78 seconds. Current RSS: ~2040M. load average: 1.07 1.12 1.04 1/288 19519


    when message is not present
      returns an error
# [RSpecRunTime] RSpec elapsed time: 45 minutes 55.78 seconds. Current RSS: ~1941M. load average: 1.07 1.12 1.04 1/288 19523


    when message content is valid
      is saved with default error severity
      is persist the defined severity
# [RSpecRunTime] RSpec elapsed time: 45 minutes 57.63 seconds. Current RSS: ~1871M. load average: 1.07 1.12 1.04 1/288 19530



# [RSpecRunTime] Finishing example group spec/models/ci/pipeline_message_spec.rb. It took 4.61 seconds. Expected to take 3.97 seconds.
# [RSpecRunTime] Starting example group spec/lib/gitlab/tracking/incident_management_spec.rb. Expected to take 3.89 seconds.

Gitlab::Tracking::IncidentManagement
  .track_from_params
    known params
      param create_issue
        behaves like a tracked event
          creates the tracking event with the correct details
      param issue_template_key
        behaves like a tracked event
          creates the tracking event with the correct details
      param send_email
        behaves like a tracked event
          creates the tracking event with the correct details
      param pagerduty_active
        behaves like a tracked event
          creates the tracking event with the correct details
# [RSpecRunTime] RSpec elapsed time: 46 minutes 1.25 seconds. Current RSS: ~1958M. load average: 1.31 1.17 1.06 4/289 19543


      param auto_close_incident
        behaves like a tracked event
          creates the tracking event with the correct details
      different input values
        behaves like the correct prefixed event name
          matches
        behaves like the correct prefixed event name
          matches
        behaves like the correct prefixed event name
          matches
        behaves like the correct prefixed event name
          matches
        behaves like the correct prefixed event name
          matches
      param with label
        behaves like a tracked event
          creates the tracking event with the correct details
      param without label
        behaves like a tracked event
          creates the tracking event with the correct details
    unknown params
      does not create the tracking event

# [RSpecRunTime] Finishing example group spec/lib/gitlab/tracking/incident_management_spec.rb. It took 7.85 seconds. Expected to take 3.89 seconds.
# [RSpecRunTime] Starting example group spec/graphql/subscriptions/issuable_updated_spec.rb. Expected to take 3.88 seconds.

Subscriptions::IssuableUpdated
  is expected to have graphql arguments :issuable_id
  is expected to eq Types::IssuableType
  #resolve
    initial subscription
      returns nil
      when user is unauthorized
        raises an exception
# [RSpecRunTime] RSpec elapsed time: 46 minutes 8.05 seconds. Current RSS: ~1994M. load average: 1.28 1.17 1.06 1/288 19583


      when issue does not exist
        raises an exception
# [RSpecRunTime] RSpec elapsed time: 46 minutes 10.23 seconds. Current RSS: ~2007M. load average: 1.26 1.16 1.06 1/288 19587


    subscription updates
      returns the resolved object
      when user is unauthorized
        unsubscribes the user
# [RSpecRunTime] RSpec elapsed time: 46 minutes 11.41 seconds. Current RSS: ~2007M. load average: 1.26 1.16 1.06 1/288 19594



# [RSpecRunTime] Finishing example group spec/graphql/subscriptions/issuable_updated_spec.rb. It took 5.95 seconds. Expected to take 3.88 seconds.
# [RSpecRunTime] Starting example group spec/services/ml/create_model_service_spec.rb. Expected to take 3.81 seconds.

Ml::CreateModelService
  #execute
    when model name is not supplied
      returns a model with errors
# [RSpecRunTime] RSpec elapsed time: 46 minutes 13.22 seconds. Current RSS: ~1970M. load average: 1.26 1.16 1.06 1/288 19598


    when model name does not exist in the project
      creates a model
    when model name exists but project is different
      creates a model
    when model with name exists
      returns a model with errors
    when metadata are supplied, add them as metadata
      creates metadata records
    for metadata with duplicate keys, it does not create duplicate records
      raises an error
    for metadata with invalid keys, it does not create invalid records
      raises an error

# [RSpecRunTime] Finishing example group spec/services/ml/create_model_service_spec.rb. It took 4.82 seconds. Expected to take 3.81 seconds.
# [RSpecRunTime] Starting example group spec/workers/analytics/usage_trends/counter_job_worker_spec.rb. Expected to take 3.79 seconds.

Analytics::UsageTrends::CounterJobWorker
  is labeled as idempotent
  performs multiple times sequentially without raising an exception
  counts a scope and stores the result
  does not raise error when inserting duplicated measurement
  does not insert anything when BatchCount returns error
  when no records are in the database
    sets 0 as the count
# [RSpecRunTime] RSpec elapsed time: 46 minutes 21.18 seconds. Current RSS: ~2001M. load average: 1.22 1.16 1.06 1/288 19635


  when the timeout elapses
    continues counting later when the timeout elapses
  when pipelines_succeeded identifier is passed
    counts successful pipelines

# [RSpecRunTime] Finishing example group spec/workers/analytics/usage_trends/counter_job_worker_spec.rb. It took 6.42 seconds. Expected to take 3.79 seconds.
# [RSpecRunTime] Starting example group spec/lib/gitlab/usage/metrics/instrumentations/project_imports_creators_metric_spec.rb. Expected to take 3.69 seconds.

Gitlab::Usage::Metrics::Instrumentations::ProjectImportsCreatorsMetric
  behaves like a correct instrumented metric value and query
    behaves like a correct instrumented metric value
      has correct value
# [RSpecRunTime] RSpec elapsed time: 46 minutes 25.06 seconds. Current RSS: ~1933M. load average: 1.20 1.16 1.06 1/288 19645


    behaves like a correct instrumented metric query
      has correct generate query
  behaves like a correct instrumented metric value and query
    behaves like a correct instrumented metric value
      has correct value
    behaves like a correct instrumented metric query
      has correct generate query

# [RSpecRunTime] Finishing example group spec/lib/gitlab/usage/metrics/instrumentations/project_imports_creators_metric_spec.rb. It took 3.81 seconds. Expected to take 3.69 seconds.
# [RSpecRunTime] Starting example group spec/workers/merge_requests/execute_approval_hooks_worker_spec.rb. Expected to take 3.63 seconds.

MergeRequests::ExecuteApprovalHooksWorker
  calls MergeRequests::ExecuteApprovalHooksService
  behaves like subscribes to event
    consumes the published event
    behaves like an idempotent worker
      is labeled as idempotent
      performs multiple times sequentially without raising an exception
# [RSpecRunTime] RSpec elapsed time: 46 minutes 29.5 seconds. Current RSS: ~1993M. load average: 1.18 1.15 1.06 1/288 19667


  when the user does not exist
    behaves like when object does not exist
      logs and does not call MergeRequests::ExecuteApprovalHooksService
# [RSpecRunTime] RSpec elapsed time: 46 minutes 31.92 seconds. Current RSS: ~2011M. load average: 1.18 1.15 1.06 1/288 19671


  when the merge request does not exist
    behaves like when object does not exist
      logs and does not call MergeRequests::ExecuteApprovalHooksService

# [RSpecRunTime] Finishing example group spec/workers/merge_requests/execute_approval_hooks_worker_spec.rb. It took 5.96 seconds. Expected to take 3.63 seconds.
# [RSpecRunTime] Starting example group spec/lib/gitlab/import_export/uploads_saver_spec.rb. Expected to take 3.59 seconds.

Gitlab::ImportExport::UploadsSaver
  bundle a project Git repo
    legacy storage
      saves the uploads successfully
      copies the uploads to the export path
# [RSpecRunTime] RSpec elapsed time: 46 minutes 34.9 seconds. Current RSS: ~1978M. load average: 1.17 1.15 1.06 1/288 19681


    hashed storage
      saves the uploads successfully
      copies the uploads to the export path
# [RSpecRunTime] RSpec elapsed time: 46 minutes 36.75 seconds. Current RSS: ~1941M. load average: 1.17 1.15 1.06 1/288 19688



# [RSpecRunTime] Finishing example group spec/lib/gitlab/import_export/uploads_saver_spec.rb. It took 4.3 seconds. Expected to take 3.59 seconds.
# [RSpecRunTime] Starting example group spec/finders/groups/custom_emoji_finder_spec.rb. Expected to take 3.56 seconds.

Groups::CustomEmojiFinder
  #execute
    when inside a group
      returns custom emoji from group
    when group is nil
      returns nil
    when group is a subgroup
      returns custom emoji
    when custom emoji is in parent group
      returns custom emoji
      when params is empty
        returns empty record
# [RSpecRunTime] RSpec elapsed time: 46 minutes 40.02 seconds. Current RSS: ~1901M. load average: 1.16 1.15 1.06 1/288 19704


      when include_ancestor_groups is false
        returns empty record

# [RSpecRunTime] Finishing example group spec/finders/groups/custom_emoji_finder_spec.rb. It took 3.71 seconds. Expected to take 3.56 seconds.
# [RSpecRunTime] Starting example group spec/lib/gitlab/database/migration_helpers/swapping_spec.rb. Expected to take 3.49 seconds.

Gitlab::Database::MigrationHelpers::Swapping
  #reset_trigger_function
-- quote_table_name("existing_trigger_function")
   -> 0.0003s
-- execute("ALTER FUNCTION \"existing_trigger_function\" RESET ALL")
   -> 0.0017s
    resets
# [RSpecRunTime] RSpec elapsed time: 46 minutes 43.02 seconds. Current RSS: ~1978M. load average: 1.16 1.15 1.06 1/288 19711


  #swap_columns
    calls service
  #swap_indexes
    behaves like swapping indexes correctly
-- quote_table_name("index_on_integer")
   -> 0.0002s
-- quote_table_name("temp_75ea8b544f")
   -> 0.0001s
-- execute("ALTER INDEX \"index_on_integer\" RENAME TO \"temp_75ea8b544f\"")
   -> 0.0015s
-- quote_table_name("index_on_bigint")
   -> 0.0001s
-- quote_table_name(:index_on_integer)
   -> 0.0001s
-- execute("ALTER INDEX \"index_on_bigint\" RENAME TO \"index_on_integer\"")
   -> 0.0012s
-- quote_table_name("temp_75ea8b544f")
   -> 0.0001s
-- quote_table_name(:index_on_bigint)
   -> 0.0001s
-- execute("ALTER INDEX \"temp_75ea8b544f\" RENAME TO \"index_on_bigint\"")
   -> 0.0011s
      is expected to change `find_index_by(index1).columns` from ["integer_column"] to ["bigint_column"] and change `find_index_by(index2).columns` from ["bigint_column"] to ["integer_column"]
    when index names are 63 bytes
      behaves like swapping indexes correctly
-- quote_table_name("i1_012345678901234567890123456789012345678901234567890123456789")
   -> 0.0002s
-- quote_table_name("temp_aeddaac9dd")
   -> 0.0001s
-- execute("ALTER INDEX \"i1_012345678901234567890123456789012345678901234567890123456789\" RENAME TO \"temp_aeddaac9dd\"")
   -> 0.0018s
-- quote_table_name("i2_012345678901234567890123456789012345678901234567890123456789")
   -> 0.0001s
-- quote_table_name(:i1_012345678901234567890123456789012345678901234567890123456789)
   -> 0.0001s
-- execute("ALTER INDEX \"i2_012345678901234567890123456789012345678901234567890123456789\" RENAME TO \"i1_012345678901234567890123456789012345678901234567890123456789\"")
   -> 0.0012s
-- quote_table_name("temp_aeddaac9dd")
   -> 0.0001s
-- quote_table_name(:i2_012345678901234567890123456789012345678901234567890123456789)
   -> 0.0001s
-- execute("ALTER INDEX \"temp_aeddaac9dd\" RENAME TO \"i2_012345678901234567890123456789012345678901234567890123456789\"")
   -> 0.0010s
        is expected to change `find_index_by(index1).columns` from ["integer_column"] to ["bigint_column"] and change `find_index_by(index2).columns` from ["bigint_column"] to ["integer_column"]
    for schema
      behaves like swapping indexes correctly
-- quote_table_name("gitlab_partitions_dynamic.index_on_integer")
   -> 0.0002s
-- quote_table_name("temp_75ea8b544f")
   -> 0.0001s
-- execute("ALTER INDEX \"gitlab_partitions_dynamic\".\"index_on_integer\" RENAME TO \"temp_75ea8b544f\"")
   -> 0.0015s
-- quote_table_name("gitlab_partitions_dynamic.index_on_bigint")
   -> 0.0001s
-- quote_table_name(:index_on_integer)
   -> 0.0001s
-- execute("ALTER INDEX \"gitlab_partitions_dynamic\".\"index_on_bigint\" RENAME TO \"index_on_integer\"")
   -> 0.0011s
-- quote_table_name("gitlab_partitions_dynamic.temp_75ea8b544f")
   -> 0.0001s
-- quote_table_name(:index_on_bigint)
   -> 0.0001s
-- execute("ALTER INDEX \"gitlab_partitions_dynamic\".\"temp_75ea8b544f\" RENAME TO \"index_on_bigint\"")
   -> 0.0010s
        is expected to change `find_index_by(index1).columns` from ["integer_column"] to ["bigint_column"] and change `find_index_by(index2).columns` from ["bigint_column"] to ["integer_column"]
  #swap_columns_default
    calls service
  #swap_foreign_keys
    behaves like swapping foreign keys correctly
-- quote_table_name(:_test_swap_foreign_keys)
   -> 0.0003s
-- quote_column_name(:fkey_on_integer_column)
   -> 0.0001s
-- quote_column_name(:temp_name_for_renaming)
   -> 0.0001s
-- execute("ALTER TABLE \"_test_swap_foreign_keys\"\nRENAME CONSTRAINT \"fkey_on_integer_column\" TO \"temp_name_for_renaming\"\n")
   -> 0.0181s
-- quote_table_name(:_test_swap_foreign_keys)
   -> 0.0001s
-- quote_column_name(:fkey_on_bigint_column)
   -> 0.0001s
-- quote_column_name(:fkey_on_integer_column)
   -> 0.0001s
-- execute("ALTER TABLE \"_test_swap_foreign_keys\"\nRENAME CONSTRAINT \"fkey_on_bigint_column\" TO \"fkey_on_integer_column\"\n")
   -> 0.0015s
-- quote_table_name(:_test_swap_foreign_keys)
   -> 0.0001s
-- quote_column_name(:temp_name_for_renaming)
   -> 0.0001s
-- quote_column_name(:fkey_on_bigint_column)
   -> 0.0001s
-- execute("ALTER TABLE \"_test_swap_foreign_keys\"\nRENAME CONSTRAINT \"temp_name_for_renaming\" TO \"fkey_on_bigint_column\"\n")
   -> 0.0013s
      is expected to change `find_foreign_key_by(foreign_key1).options[:column]` from "integer_column" to "bigint_column" and change `find_foreign_key_by(foreign_key2).options[:column]` from "bigint_column" to "integer_column"
    when foreign key names are 63 bytes
      behaves like swapping foreign keys correctly
-- quote_table_name(:_test_swap_foreign_keys)
   -> 0.0002s
-- quote_column_name(:f1_012345678901234567890123456789012345678901234567890123456789)
   -> 0.0002s
-- quote_column_name(:temp_name_for_renaming)
   -> 0.0001s
-- execute("ALTER TABLE \"_test_swap_foreign_keys\"\nRENAME CONSTRAINT \"f1_012345678901234567890123456789012345678901234567890123456789\" TO \"temp_name_for_renaming\"\n")
   -> 0.0021s
-- quote_table_name(:_test_swap_foreign_keys)
   -> 0.0004s
-- quote_column_name(:f2_012345678901234567890123456789012345678901234567890123456789)
   -> 0.0001s
-- quote_column_name(:f1_012345678901234567890123456789012345678901234567890123456789)
   -> 0.0001s
-- execute("ALTER TABLE \"_test_swap_foreign_keys\"\nRENAME CONSTRAINT \"f2_012345678901234567890123456789012345678901234567890123456789\" TO \"f1_012345678901234567890123456789012345678901234567890123456789\"\n")
   -> 0.0011s
-- quote_table_name(:_test_swap_foreign_keys)
   -> 0.0001s
-- quote_column_name(:temp_name_for_renaming)
   -> 0.0001s
-- quote_column_name(:f2_012345678901234567890123456789012345678901234567890123456789)
   -> 0.0001s
-- execute("ALTER TABLE \"_test_swap_foreign_keys\"\nRENAME CONSTRAINT \"temp_name_for_renaming\" TO \"f2_012345678901234567890123456789012345678901234567890123456789\"\n")
   -> 0.0011s
        is expected to change `find_foreign_key_by(foreign_key1).options[:column]` from "integer_column" to "bigint_column" and change `find_foreign_key_by(foreign_key2).options[:column]` from "bigint_column" to "integer_column"

# [RSpecRunTime] Finishing example group spec/lib/gitlab/database/migration_helpers/swapping_spec.rb. It took 6.26 seconds. Expected to take 3.49 seconds.
# [RSpecRunTime] Starting example group spec/lib/gitlab/plantuml_spec.rb. Expected to take 3.45 seconds.

Gitlab::Plantuml
  .configure
    when PlantUML is enabled
      configures the endpoint URL
      enables PNG support
      disables SVG support
      disables TXT support
# [RSpecRunTime] RSpec elapsed time: 46 minutes 48.8 seconds. Current RSS: ~1940M. load average: 1.21 1.16 1.06 1/288 19745


    when PlantUML is disabled
      configures the endpoint URL
      enables PNG support
      disables SVG support
      disables TXT support
# [RSpecRunTime] RSpec elapsed time: 46 minutes 52.27 seconds. Current RSS: ~2017M. load average: 1.21 1.16 1.06 1/288 19758



# [RSpecRunTime] Finishing example group spec/lib/gitlab/plantuml_spec.rb. It took 5.56 seconds. Expected to take 3.45 seconds.
# [RSpecRunTime] Starting example group spec/graphql/resolvers/group_releases_resolver_spec.rb. Expected to take 3.45 seconds.

Resolvers::GroupReleasesResolver
  #resolve
    behaves like releases and group releases resolver
      when the user does not have access to the project
        returns an empty response
# [RSpecRunTime] RSpec elapsed time: 46 minutes 54.03 seconds. Current RSS: ~2015M. load average: 1.19 1.16 1.06 1/288 19762


      when the user has full access to the project's releases
        returns all releases associated to the project
        when order_by is released_at
          with sort: desc
            returns the releases ordered by released_at in descending order
# [RSpecRunTime] RSpec elapsed time: 46 minutes 55.77 seconds. Current RSS: ~1978M. load average: 1.19 1.16 1.06 1/288 19769


          with sort: asc
            returns the releases ordered by released_at in ascending order

# [RSpecRunTime] Finishing example group spec/graphql/resolvers/group_releases_resolver_spec.rb. It took 4.27 seconds. Expected to take 3.45 seconds.
# [RSpecRunTime] Starting example group spec/models/work_items/widgets/hierarchy_spec.rb. Expected to take 3.39 seconds.

WorkItems::Widgets::Hierarchy
  does not allow STI
  .type
    is expected to eq :hierarchy
# [RSpecRunTime] RSpec elapsed time: 46 minutes 58.37 seconds. Current RSS: ~1914M. load average: 1.18 1.15 1.06 1/288 19779


  #type
    is expected to eq :hierarchy
  #parent
    is expected to eq #<WorkItem id:181 group203/project-833#2>
  #children
    is expected to contain exactly #<WorkItem id:180 group203/project-833#1> and #<WorkItem id:182 group203/project-833#3>
    when ordered by relative position and created_at
      when children relative positions are nil
        orders by created_at
# [RSpecRunTime] RSpec elapsed time: 47 minutes 0.63 second. Current RSS: ~1912M. load average: 1.18 1.15 1.06 1/288 19792


      when children relative positions are present
        orders by relative_position and by created_at

# [RSpecRunTime] Finishing example group spec/models/work_items/widgets/hierarchy_spec.rb. It took 4.68 seconds. Expected to take 3.39 seconds.
# [RSpecRunTime] Starting example group spec/lib/gitlab/cleanup/orphan_job_artifact_files_batch_spec.rb. Expected to take 3.33 seconds.

Gitlab::Cleanup::OrphanJobArtifactFilesBatch
  no dry run
    deletes only orphan job artifacts from disk
# [RSpecRunTime] RSpec elapsed time: 47 minutes 4.86 seconds. Current RSS: ~2030M. load average: 1.16 1.15 1.06 1/288 19799


  with dry run
    does not remove files
# [RSpecRunTime] RSpec elapsed time: 47 minutes 5.91 seconds. Current RSS: ~2030M. load average: 1.16 1.15 1.06 1/288 19803



# [RSpecRunTime] Finishing example group spec/lib/gitlab/cleanup/orphan_job_artifact_files_batch_spec.rb. It took 4.68 seconds. Expected to take 3.33 seconds.
# [RSpecRunTime] Starting example group spec/models/integrations/chat_message/issue_message_spec.rb. Expected to take 3.3 seconds.

Integrations::ChatMessage::IssueMessage
  does not allow STI
  behaves like Integrations::ChatMessage
    when input contains link markup
      strips all link markup characters
# [RSpecRunTime] RSpec elapsed time: 47 minutes 7.24 seconds. Current RSS: ~2030M. load average: 1.16 1.15 1.06 1/288 19810


  without markdown
    #initialize
      returns a non-null description
    open
      returns a slack-link sanitized message regarding opening of issues
    close
      returns a message regarding closing of issues
    reopen
      returns a message regarding reopening of issues
  with markdown
    open
      returns a message regarding opening of issues
    close
      returns a message regarding closing of issues
  #attachment_color
    returns the correct color

# [RSpecRunTime] Finishing example group spec/models/integrations/chat_message/issue_message_spec.rb. It took 4.61 seconds. Expected to take 3.3 seconds.
# [RSpecRunTime] Starting example group spec/presenters/alert_management/alert_presenter_spec.rb. Expected to take 3.25 seconds.

AlertManagement::AlertPresenter
  #issue_description
    with an empty payload
      is expected to eq "**Start time:** 18 March 2024, 2:14AM (UTC)  \n**Severity:** critical  \n**GitLab alert:** http://localhost/namespace743/project-837/-/alert_management/2/details\n"
    with optional alert attributes
      is expected to eq "**Start time:** 18 March 2024, 2:14AM (UTC)  \n**Severity:** critical  \n**full_query:** `metric > 1...ores.  \n**GitLab alert:** http://localhost/namespace743/project-837/-/alert_management/3/details\n"
# [RSpecRunTime] RSpec elapsed time: 47 minutes 12.64 seconds. Current RSS: ~1954M. load average: 1.15 1.15 1.06 1/288 19838


    with incident markdown
      is expected to eq "**Start time:** 18 March 2024, 2:14AM (UTC)  \n**Severity:** critical  \n**GitLab alert:** http://localhost/namespace743/project-837/-/alert_management/2/details\n\n\n---\n\n**`markdown example`**"
  #start_time
    formats the start time of the alert
# [RSpecRunTime] RSpec elapsed time: 47 minutes 15.26 seconds. Current RSS: ~2048M. load average: 1.14 1.14 1.06 1/288 19845


  #details_url
    returns the details URL
  #details
    renders the payload as inline hash

# [RSpecRunTime] Finishing example group spec/presenters/alert_management/alert_presenter_spec.rb. It took 5.68 seconds. Expected to take 3.25 seconds.
# [RSpecRunTime] Starting example group spec/lib/gitlab/database/query_analyzers/prevent_set_operator_mismatch/columns_spec.rb. Expected to take 3.22 seconds.

Gitlab::Database::QueryAnalyzers::PreventSetOperatorMismatch::Columns
  .types
    when static column
      is expected to contain exactly :static
      with dynamic reference
        is expected to contain exactly :static
# [RSpecRunTime] RSpec elapsed time: 47 minutes 17.5 seconds. Current RSS: ~2048M. load average: 1.14 1.14 1.06 1/288 19858


    when dynamic column
      is expected to contain exactly :dynamic
      with static reference
        is expected to contain exactly :static
    when reference has errors
      forward through error state
    when static and dynamic columns
      is expected to contain exactly :dynamic and :static
    when static column and error
      is expected to contain exactly :static and :invalid
    when dynamic column and error
      is expected to contain exactly :dynamic, :static, and :invalid

# [RSpecRunTime] Finishing example group spec/lib/gitlab/database/query_analyzers/prevent_set_operator_mismatch/columns_spec.rb. It took 4.16 seconds. Expected to take 3.22 seconds.
# [RSpecRunTime] Starting example group spec/graphql/resolvers/merge_request_pipelines_resolver_spec.rb. Expected to take 3.17 seconds.

Resolvers::MergeRequestPipelinesResolver
  resolves only MRs for the passed merge request
  with archived project
    is expected not to contain exactly #<Ci::Pipeline id: 306, ref: "master", sha: "b83d6e391c22777fca1ed3012fce84f633d7fed0", before_sha: n...st_id: nil, ci_ref_id: 245, locked: "artifacts_locked", partition_id: 101, auto_canceled_by_id: nil>
# [RSpecRunTime] RSpec elapsed time: 47 minutes 23.87 seconds. Current RSS: ~1927M. load average: 1.12 1.14 1.06 1/294 19925



# [RSpecRunTime] Finishing example group spec/graphql/resolvers/merge_request_pipelines_resolver_spec.rb. It took 3.51 seconds. Expected to take 3.17 seconds.
# [RSpecRunTime] Starting example group spec/services/note_summary_spec.rb. Expected to take 3.13 seconds.

NoteSummary
  #metadata?
    returns true when metadata present
    returns false when metadata not present
# [RSpecRunTime] RSpec elapsed time: 47 minutes 26.8 seconds. Current RSS: ~2028M. load average: 1.12 1.14 1.06 1/293 19932


  #note
    returns note hash
    when noteable is a commit
      returns note hash specific to commit
# [RSpecRunTime] RSpec elapsed time: 47 minutes 27.85 seconds. Current RSS: ~2028M. load average: 1.12 1.14 1.06 1/293 19939


  #metadata
    returns metadata hash
    description action and noteable has saved_description_version
      sets the description_version metadata
# [RSpecRunTime] RSpec elapsed time: 47 minutes 28.94 seconds. Current RSS: ~2028M. load average: 1.11 1.14 1.06 1/293 19946



# [RSpecRunTime] Finishing example group spec/services/note_summary_spec.rb. It took 5.07 seconds. Expected to take 3.13 seconds.
# [RSpecRunTime] Starting example group spec/services/timelogs/delete_service_spec.rb. Expected to take 3.1 seconds.

Timelogs::DeleteService
  #execute
    when the timelog exists
      removes the timelog
      returns the removed timelog
# [RSpecRunTime] RSpec elapsed time: 47 minutes 30.75 seconds. Current RSS: ~2003M. load average: 1.11 1.14 1.06 1/293 19953


    when the timelog does not exist
      returns an error
    when the user does not have permission
      returns an error
    when the timelog deletion fails
      returns an error

# [RSpecRunTime] Finishing example group spec/services/timelogs/delete_service_spec.rb. It took 3.42 seconds. Expected to take 3.1 seconds.
# [RSpecRunTime] Starting example group spec/services/work_items/callbacks/award_emoji_spec.rb. Expected to take 3.05 seconds.

WorkItems::Callbacks::AwardEmoji
  #before_update
    when awarding an emoji
      when user has no access
        does not award the emoji
# [RSpecRunTime] RSpec elapsed time: 47 minutes 33.76 seconds. Current RSS: ~1870M. load average: 1.10 1.13 1.06 1/288 19966


      when user has access
        awards the emoji to the work item
        when the name is incorrect
          behaves like raises a WidgetError
            is expected to raise WorkItems::Widgets::BaseService::WidgetError with "Name is not a valid emoji name"
# [RSpecRunTime] RSpec elapsed time: 47 minutes 34.83 seconds. Current RSS: ~1909M. load average: 1.10 1.13 1.06 1/288 19973


        when the action is incorrect
          behaves like raises a WidgetError
            is expected to raise WorkItems::Widgets::BaseService::WidgetError with "foo is not a valid action."
    when removing emoji
      when user has no access
        does not remove the emoji
      when user has access
        removes existing emoji
        when work item does not have the emoji
          behaves like raises a WidgetError
            is expected to raise WorkItems::Widgets::BaseService::WidgetError with "User has not awarded emoji of type star on the awardable"
# [RSpecRunTime] RSpec elapsed time: 47 minutes 38.57 seconds. Current RSS: ~2023M. load average: 1.09 1.13 1.06 1/288 19986



# [RSpecRunTime] Finishing example group spec/services/work_items/callbacks/award_emoji_spec.rb. It took 6.21 seconds. Expected to take 3.05 seconds.
# [RSpecRunTime] Starting example group spec/graphql/resolvers/project_jobs_resolver_spec.rb. Expected to take 3.03 seconds.

Resolvers::ProjectJobsResolver
  #resolve
    with authorized user
      with statuses argument
        is expected to contain exactly #<Ci::Build status: "success", finished_at: "2024-03-18 08:53:29.000000000 +0000", created_at: "2024-...451, partition_id: 101, auto_canceled_by_partition_id: 100, auto_canceled_by_id: nil, tag_list: nil> and #<Ci::Build status: "success", finished_at: "2024-03-18 08:53:29.000000000 +0000", created_at: "2024-...451, partition_id: 101, auto_canceled_by_partition_id: 100, auto_canceled_by_id: nil, tag_list: nil>
# [RSpecRunTime] RSpec elapsed time: 47 minutes 40.88 seconds. Current RSS: ~1998M. load average: 1.09 1.13 1.06 1/288 20004


      with multiple statuses
        is expected to contain exactly #<Ci::Build status: "success", finished_at: "2024-03-18 08:53:29.000000000 +0000", created_at: "2024-...451, partition_id: 101, auto_canceled_by_partition_id: 100, auto_canceled_by_id: nil, tag_list: nil>, #<Ci::Build status: "success", finished_at: "2024-03-18 08:53:29.000000000 +0000", created_at: "2024-...451, partition_id: 101, auto_canceled_by_partition_id: 100, auto_canceled_by_id: nil, tag_list: nil>, and #<Ci::Build status: "failed", finished_at: "2024-03-18 08:53:29.000000000 +0000", created_at: "2024-0...451, partition_id: 101, auto_canceled_by_partition_id: 100, auto_canceled_by_id: nil, tag_list: nil>
      without statuses argument
        is expected to contain exactly #<Ci::Build status: "success", finished_at: "2024-03-18 08:53:29.000000000 +0000", created_at: "2024-...451, partition_id: 101, auto_canceled_by_partition_id: 100, auto_canceled_by_id: nil, tag_list: nil>, #<Ci::Build status: "success", finished_at: "2024-03-18 08:53:29.000000000 +0000", created_at: "2024-...451, partition_id: 101, auto_canceled_by_partition_id: 100, auto_canceled_by_id: nil, tag_list: nil>, #<Ci::Build status: "failed", finished_at: "2024-03-18 08:53:29.000000000 +0000", created_at: "2024-0...451, partition_id: 101, auto_canceled_by_partition_id: 100, auto_canceled_by_id: nil, tag_list: nil>, and #<Ci::Build status: "pending", finished_at: nil, created_at: "2024-03-18 08:50:29.000000000 +0000", u...451, partition_id: 101, auto_canceled_by_partition_id: 100, auto_canceled_by_id: nil, tag_list: nil>
    with unauthorized user
      is expected to be nil

# [RSpecRunTime] Finishing example group spec/graphql/resolvers/project_jobs_resolver_spec.rb. It took 4.04 seconds. Expected to take 3.03 seconds.
# [RSpecRunTime] Starting example group spec/graphql/mutations/achievements/create_spec.rb. Expected to take 2.96 seconds.

Mutations::Achievements::Create
  is expected to require graphql authorizations :admin_achievement
  #resolve
    when the user does not have permission
      raises an error
# [RSpecRunTime] RSpec elapsed time: 47 minutes 44.22 seconds. Current RSS: ~1897M. load average: 1.16 1.15 1.06 1/288 20020


    when the user has permission
      creates contact with correct values
      when the params are invalid
        returns the validation error
# [RSpecRunTime] RSpec elapsed time: 47 minutes 45.78 seconds. Current RSS: ~1838M. load average: 1.16 1.15 1.06 1/288 20027



# [RSpecRunTime] Finishing example group spec/graphql/mutations/achievements/create_spec.rb. It took 3.16 seconds. Expected to take 2.96 seconds.
# [RSpecRunTime] Starting example group spec/services/branch_rules/base_service_spec.rb. Expected to take 2.94 seconds.

BranchRules::BaseService
  #execute
    with skip_authorization: false
      behaves like missing_method_error
        raises a missing method error
# [RSpecRunTime] RSpec elapsed time: 47 minutes 47.33 seconds. Current RSS: ~1889M. load average: 1.16 1.15 1.06 1/288 20037


    with skip_authorization: true
      when branch_rule is an instance of Projects::BranchRule
        behaves like missing_method_error
          raises a missing method error
      when branch_rule is not an instance of Projects::BranchRule
        returns an unknown branch rule type error
      when branch_rule is nil
        returns an unknown branch rule type error
# [RSpecRunTime] RSpec elapsed time: 47 minutes 50.42 seconds. Current RSS: ~2011M. load average: 1.15 1.14 1.06 1/288 20047



# [RSpecRunTime] Finishing example group spec/services/branch_rules/base_service_spec.rb. It took 4.65 seconds. Expected to take 2.94 seconds.
# [RSpecRunTime] Starting example group spec/graphql/resolvers/project_resolver_spec.rb. Expected to take 2.91 seconds.

Resolvers::ProjectResolver
  does not increase complexity depending on number of load limits
  #resolve
    batch-resolves projects by full path
    resolves an unknown full_path to nil
    treats project full path as case insensitive
# [RSpecRunTime] RSpec elapsed time: 47 minutes 53.57 seconds. Current RSS: ~2004M. load average: 1.14 1.14 1.06 1/288 20060



# [RSpecRunTime] Finishing example group spec/graphql/resolvers/project_resolver_spec.rb. It took 3.16 seconds. Expected to take 2.91 seconds.
# [RSpecRunTime] Starting example group spec/models/concerns/optionally_search_spec.rb. Expected to take 2.85 seconds.

OptionallySearch
  does not allow STI
  .search
    raises NotImplementedError
# [RSpecRunTime] RSpec elapsed time: 47 minutes 54.77 seconds. Current RSS: ~2005M. load average: 1.14 1.14 1.06 1/288 20067


  .optionally_search
    when a query is given
      delegates to the search method
    when an option is provided
      delegates to the search method
    when no query is given
      returns the current relation
    when an empty query is given
      returns the current relation

# [RSpecRunTime] Finishing example group spec/models/concerns/optionally_search_spec.rb. It took 3.08 seconds. Expected to take 2.85 seconds.
# [RSpecRunTime] Starting example group spec/lib/gitlab/memory/watchdog/event_reporter_spec.rb. Expected to take 2.82 seconds.

Gitlab::Memory::Watchdog::EventReporter
  #strikes_exceeded
    increments handled violations counter
    logs violation
  #started
    logs start message once
  #threshold_violated
    increments violations counter
    does not increment handled violations counter
    does not log violation
# [RSpecRunTime] RSpec elapsed time: 48 minutes 1.36 seconds. Current RSS: ~2054M. load average: 1.13 1.14 1.06 1/289 20098


  #stopped
    logs stop message once
  #logger
    when logger is not provided
      uses default Gitlab::AppLogger

# [RSpecRunTime] Finishing example group spec/lib/gitlab/memory/watchdog/event_reporter_spec.rb. It took 5.73 seconds. Expected to take 2.82 seconds.
# [RSpecRunTime] Starting example group spec/lib/gitlab/exceptions_app_spec.rb. Expected to take 2.79 seconds.

Gitlab::ExceptionsApp
  .call
    for a 500 error
      for an HTML request
        fills in the request ID
        HTML-escapes the request ID
        returns an empty 500 when the 500.html page cannot be found
# [RSpecRunTime] RSpec elapsed time: 48 minutes 4.12 seconds. Current RSS: ~2046M. load average: 1.12 1.14 1.06 1/288 20114


      for a JSON request
        does not include the request ID
    for a 404 error
      returns a 404 response that does not include the request ID

# [RSpecRunTime] Finishing example group spec/lib/gitlab/exceptions_app_spec.rb. It took 2.74 seconds. Expected to take 2.79 seconds.
# [RSpecRunTime] Starting example group spec/graphql/resolvers/crm/organization_state_counts_resolver_spec.rb. Expected to take 2.75 seconds.

Resolvers::Crm::OrganizationStateCountsResolver
  #resolve
    with unauthorized user
      does not raise an error and returns nil
    with authorized user
      without parent
        returns nil
      with a group
        when no filter is provided
          returns the count of all crm_organizations
        when search term is provided
          returns the correct counts

# [RSpecRunTime] Finishing example group spec/graphql/resolvers/crm/organization_state_counts_resolver_spec.rb. It took 2.71 seconds. Expected to take 2.75 seconds.
# [RSpecRunTime] Starting example group spec/helpers/listbox_helper_spec.rb. Expected to take 2.71 seconds.

ListboxHelper
  #gl_redirect_listbox_tag
    creates root element with expected classes
    sets data attributes for items and selected
    adds styled button
    sets button text to selected item
    given html_options
      applies them to the root element
# [RSpecRunTime] RSpec elapsed time: 48 minutes 12.36 seconds. Current RSS: ~2037M. load average: 1.11 1.13 1.06 1/288 20148


    when selected does not match any item
      selected: nil
        selects first item
      selected: "qux"
        selects first item

# [RSpecRunTime] Finishing example group spec/helpers/listbox_helper_spec.rb. It took 5.48 seconds. Expected to take 2.71 seconds.
# [RSpecRunTime] Starting example group spec/lib/gitlab/crypto_helper_spec.rb. Expected to take 2.66 seconds.

Gitlab::CryptoHelper
  .sha256
    generates SHA256 digest Base46 encoded
  .aes256_gcm_encrypt
    is Base64 encoded string without new line character
    encrypts using static iv
    with provided iv
      encrypts using provided iv
# [RSpecRunTime] RSpec elapsed time: 48 minutes 15.56 seconds. Current RSS: ~2022M. load average: 1.10 1.13 1.06 1/288 20167


  .aes256_gcm_decrypt
    when token was encrypted using static nonce
      correctly decrypts encrypted string
      decrypts a value when it ends with a new line character
    when token was encrypted using random nonce
      correctly decrypts encrypted string

# [RSpecRunTime] Finishing example group spec/lib/gitlab/crypto_helper_spec.rb. It took 3.55 seconds. Expected to take 2.66 seconds.
# [RSpecRunTime] Starting example group spec/lib/gitlab/global_id/deprecations_spec.rb. Expected to take 2.65 seconds.

Gitlab::GlobalId::Deprecations
  .deprecated?
    returns a boolean to signal if model name has a deprecation
  .deprecation_for
    returns the deprecation for the model if it exists
  .deprecation_by
    returns the deprecation by the model if it exists
# [RSpecRunTime] RSpec elapsed time: 48 minutes 20.24 seconds. Current RSS: ~2059M. load average: 1.09 1.13 1.06 1/288 20186


  .apply_to_graphql_name
    returns the corresponding graphql_name of the GID for the new model
    returns the same value if there is no deprecation
# [RSpecRunTime] RSpec elapsed time: 48 minutes 21.32 seconds. Current RSS: ~2059M. load average: 1.09 1.13 1.06 1/288 20193



# [RSpecRunTime] Finishing example group spec/lib/gitlab/global_id/deprecations_spec.rb. It took 4.46 seconds. Expected to take 2.65 seconds.
# [RSpecRunTime] Starting example group spec/models/badges/project_badge_spec.rb. Expected to take 2.61 seconds.

ProjectBadge
  does not allow STI
  associations
    is expected to belong to project required: false
# [RSpecRunTime] RSpec elapsed time: 48 minutes 22.74 seconds. Current RSS: ~2059M. load average: 1.09 1.13 1.06 1/287 20200


  validations
    is expected to validate that :project cannot be empty/falsy
  methods
    #rendered_link_url
      behaves like rendered_links
        uses the badge project information to populate the url placeholders
    #rendered_image_url
      behaves like rendered_links
        uses the badge project information to populate the url placeholders

# [RSpecRunTime] Finishing example group spec/models/badges/project_badge_spec.rb. It took 2.98 seconds. Expected to take 2.61 seconds.
# [RSpecRunTime] Starting example group spec/lib/gitlab/usage_data_counters/snippet_counter_spec.rb. Expected to take 2.58 seconds.

Gitlab::UsageDataCounters::SnippetCounter
  behaves like a redis usage counter
    .count(create)
      increments the Snippet create counter by 1
    .read(create)
      returns the total number of create events
  behaves like a redis usage counter
    .count(update)
      increments the Snippet update counter by 1
    .read(update)
      returns the total number of update events
  behaves like a redis usage counter with totals
    totals
      can report all totals
    unknown events
      cannot increment
      cannot read
# [RSpecRunTime] RSpec elapsed time: 48 minutes 29.42 seconds. Current RSS: ~2006M. load average: 1.08 1.12 1.06 1/287 20231



# [RSpecRunTime] Finishing example group spec/lib/gitlab/usage_data_counters/snippet_counter_spec.rb. It took 5.11 seconds. Expected to take 2.58 seconds.
# [RSpecRunTime] Starting example group spec/lib/gitlab/cross_project_access_spec.rb. Expected to take 2.53 seconds.

Gitlab::CrossProjectAccess
  #add_check
    keeps track of the properties to check
    builds the check correctly
    merges the checks of a parent class into existing checks of a subclass
    merges the existing checks of a superclass into the checks of a subclass
# [RSpecRunTime] RSpec elapsed time: 48 minutes 31.65 seconds. Current RSS: ~2006M. load average: 1.08 1.12 1.06 1/287 20244


  #find_check
    returns a check when it was defined for a superclass
    caches the result for a subclass
    returns the checks for the closest class if there are more checks available
# [RSpecRunTime] RSpec elapsed time: 48 minutes 33.14 seconds. Current RSS: ~2008M. load average: 1.08 1.12 1.06 1/287 20254



# [RSpecRunTime] Finishing example group spec/lib/gitlab/cross_project_access_spec.rb. It took 3.72 seconds. Expected to take 2.53 seconds.
# [RSpecRunTime] Starting example group spec/lib/gitlab/usage_data_counters/base_counter_spec.rb. Expected to take 2.52 seconds.

Gitlab::UsageDataCounters::BaseCounter
  .fetch_supported_event
    returns the matching event
    when event is unknown
      is expected to be nil
# [RSpecRunTime] RSpec elapsed time: 48 minutes 34.37 seconds. Current RSS: ~1973M. load average: 1.15 1.14 1.06 1/287 20261


    when prefix does not match the event name
      is expected to be nil

# [RSpecRunTime] Finishing example group spec/lib/gitlab/usage_data_counters/base_counter_spec.rb. It took 1.66 seconds. Expected to take 2.52 seconds.
# [RSpecRunTime] Starting example group spec/services/award_emojis/collect_user_emoji_service_spec.rb. Expected to take 2.47 seconds.

AwardEmojis::CollectUserEmojiService
  #execute
    returns an Array containing the awarded emoji names
    returns an empty Array when no user is given
# [RSpecRunTime] RSpec elapsed time: 48 minutes 37.92 seconds. Current RSS: ~1993M. load average: 1.15 1.14 1.06 1/287 20271



# [RSpecRunTime] Finishing example group spec/services/award_emojis/collect_user_emoji_service_spec.rb. It took 3.12 seconds. Expected to take 2.47 seconds.
# [RSpecRunTime] Starting example group spec/workers/user_status_cleanup/batch_worker_spec.rb. Expected to take 2.47 seconds.

UserStatusCleanup::BatchWorker
  behaves like an idempotent worker
    is labeled as idempotent
    performs multiple times sequentially without raising an exception
# [RSpecRunTime] RSpec elapsed time: 48 minutes 40.96 seconds. Current RSS: ~2047M. load average: 1.14 1.14 1.06 1/287 20278


  #perform
    cleans up the records
    when no records are scheduled for cleanup
      does nothing
# [RSpecRunTime] RSpec elapsed time: 48 minutes 42.26 seconds. Current RSS: ~2048M. load average: 1.14 1.14 1.06 1/287 20285



# [RSpecRunTime] Finishing example group spec/workers/user_status_cleanup/batch_worker_spec.rb. It took 4.34 seconds. Expected to take 2.47 seconds.
# [RSpecRunTime] Starting example group spec/workers/releases/publish_event_worker_spec.rb. Expected to take 2.41 seconds.

Releases::PublishEventWorker
  when the releases feature is disabled
    does not broadcasts the published event
    sets the release as published
# [RSpecRunTime] RSpec elapsed time: 48 minutes 44.13 seconds. Current RSS: ~2012M. load average: 1.13 1.13 1.06 1/287 20298


  when the releases feature is not disabled
    broadcasts the published event
    sets the release as published
# [RSpecRunTime] RSpec elapsed time: 48 minutes 45.29 seconds. Current RSS: ~2007M. load average: 1.13 1.13 1.06 1/287 20305



# [RSpecRunTime] Finishing example group spec/workers/releases/publish_event_worker_spec.rb. It took 3.04 seconds. Expected to take 2.41 seconds.
# [RSpecRunTime] Starting example group spec/lib/banzai/filter/ascii_doc_sanitization_filter_spec.rb. Expected to take 2.41 seconds.

Banzai::Filter::AsciiDocSanitizationFilter
  preserves footnotes refs
  preserves footnotes defs
  preserves user-content- prefixed ids on anchors
  preserves section anchor ids
  removes non prefixed ids
  with blocks
    preserves user-content- prefixed ids on div (openblock)
    preserves user-content- prefixed ids on div (sidebarblock)
    preserves user-content- prefixed ids on div (exampleblock)
# [RSpecRunTime] RSpec elapsed time: 48 minutes 50.83 seconds. Current RSS: ~2069M. load average: 1.12 1.13 1.06 1/287 20330



# [RSpecRunTime] Finishing example group spec/lib/banzai/filter/ascii_doc_sanitization_filter_spec.rb. It took 5.53 seconds. Expected to take 2.41 seconds.
# [RSpecRunTime] Starting example group spec/tooling/danger/gitlab_schema_validation_suggestion_spec.rb. Expected to take 2.35 seconds.

Tooling::Danger::GitlabSchemaValidationSuggestion
  on removing the gitlab_main_clusterwide schema
    behaves like does not add a comment
      is expected not to receive markdown(*(any args)) 0 times
  when a different schema is added
    behaves like does not add a comment
      is expected not to receive markdown(*(any args)) 0 times
  for discouraging the use of gitlab_main_clusterwide schema
    when the file path matches
      adds the comment
    when the file path does not match
      behaves like does not add a comment
        is expected not to receive markdown(*(any args)) 0 times
    for EE
      behaves like does not add a comment
        is expected not to receive markdown(*(any args)) 0 times
    for a deleted table
      behaves like does not add a comment
        is expected not to receive markdown(*(any args)) 0 times

# [RSpecRunTime] Finishing example group spec/tooling/danger/gitlab_schema_validation_suggestion_spec.rb. It took 3.04 seconds. Expected to take 2.35 seconds.
# [RSpecRunTime] Starting example group spec/lib/gitlab/github_import/importer/pull_requests/merged_by_importer_spec.rb. Expected to take 2.35 seconds.

Gitlab::GithubImport::Importer::PullRequests::MergedByImporter
  when the merger user can be mapped
    assigns the merged by user when mapped
# [RSpecRunTime] RSpec elapsed time: 48 minutes 55.58 seconds. Current RSS: ~2014M. load average: 1.11 1.13 1.06 1/293 20388


  when the merger user cannot be mapped to a gitlab user
    behaves like adds a note referencing the merger user
      adds a note referencing the merger user
    when original user cannot be found on github
      behaves like adds a note referencing the merger user
        adds a note referencing the merger user
  when the merger user is not provided
    adds a note referencing the merger user

# [RSpecRunTime] Finishing example group spec/lib/gitlab/github_import/importer/pull_requests/merged_by_importer_spec.rb. It took 3.26 seconds. Expected to take 2.35 seconds.
# [RSpecRunTime] Starting example group spec/workers/authorized_keys_worker_spec.rb. Expected to take 2.29 seconds.

AuthorizedKeysWorker
  #perform
    authorized_keys is enabled
      #add_key
        delegates to Gitlab::AuthorizedKeys
      #remove_key
        delegates to Gitlab::AuthorizedKeys
      all other commands
        raises an error
    authorized_keys is disabled
      does nothing

# [RSpecRunTime] Finishing example group spec/workers/authorized_keys_worker_spec.rb. It took 1.97 seconds. Expected to take 2.29 seconds.
# [RSpecRunTime] Starting example group spec/workers/object_pool/join_worker_spec.rb. Expected to take 2.28 seconds.

ObjectPool::JoinWorker
  #perform
    when the pool is not joinable
      doesn't raise an error
# [RSpecRunTime] RSpec elapsed time: 49 minutes 2.16 seconds. Current RSS: ~2033M. load average: 1.10 1.13 1.06 1/292 20419


    when the pool has been joined before
      succeeds in joining
# [RSpecRunTime] RSpec elapsed time: 49 minutes 3.45 seconds. Current RSS: ~2033M. load average: 1.09 1.12 1.06 1/292 20435



# [RSpecRunTime] Finishing example group spec/workers/object_pool/join_worker_spec.rb. It took 4.34 seconds. Expected to take 2.28 seconds.
# [RSpecRunTime] Starting example group spec/graphql/resolvers/data_transfer/project_data_transfer_resolver_spec.rb. Expected to take 2.23 seconds.

Resolvers::DataTransfer::ProjectDataTransferResolver
  with authorized user but without enough permissions
    does not raise an error and returns no data
# [RSpecRunTime] RSpec elapsed time: 49 minutes 4.72 seconds. Current RSS: ~1998M. load average: 1.09 1.12 1.06 1/292 20439


  with anonymous access
    does not raise an error and returns no data
  when user has permissions to see data transfer
    calls ProjectDataTransferFinder with expected arguments
    when data_transfer_monitoring is disabled
      returns empty result
# [RSpecRunTime] RSpec elapsed time: 49 minutes 6.41 seconds. Current RSS: ~1960M. load average: 1.09 1.12 1.06 1/287 20449



# [RSpecRunTime] Finishing example group spec/graphql/resolvers/data_transfer/project_data_transfer_resolver_spec.rb. It took 2.96 seconds. Expected to take 2.23 seconds.
# [RSpecRunTime] Starting example group spec/lib/gitlab/bitbucket_import/importers/pull_requests_notes_importer_spec.rb. Expected to take 2.22 seconds.

Gitlab::BitbucketImport::Importers::PullRequestsNotesImporter
  #execute
    imports the notes from each merge request in parallel
    when an error is raised
      tracks the failure and does not fail
# [RSpecRunTime] RSpec elapsed time: 49 minutes 8.25 seconds. Current RSS: ~1900M. load average: 1.09 1.12 1.06 1/288 20456


    when merge request was already enqueued
      does not schedule job for enqueued merge requests

# [RSpecRunTime] Finishing example group spec/lib/gitlab/bitbucket_import/importers/pull_requests_notes_importer_spec.rb. It took 2.3 seconds. Expected to take 2.22 seconds.
# [RSpecRunTime] Starting example group spec/services/projects/hashed_storage/migration_service_spec.rb. Expected to take 2.18 seconds.

Projects::HashedStorage::MigrationService
  #execute
    attachments migration
      does not delegate migration if attachments are already migrated
      migrates legacy attachments to hashed storage
# [RSpecRunTime] RSpec elapsed time: 49 minutes 10.98 seconds. Current RSS: ~1889M. load average: 1.08 1.12 1.06 1/288 20474



# [RSpecRunTime] Finishing example group spec/services/projects/hashed_storage/migration_service_spec.rb. It took 2.28 seconds. Expected to take 2.18 seconds.
# [RSpecRunTime] Starting example group spec/lib/gitlab/ci/config/external/mapper/location_expander_spec.rb. Expected to take 2.17 seconds.

Gitlab::Ci::Config::External::Mapper::LocationExpander
  #process
    when there are project files
      returns expanded locations
# [RSpecRunTime] RSpec elapsed time: 49 minutes 12.23 seconds. Current RSS: ~1929M. load average: 1.08 1.12 1.06 1/289 20486


    when there are local files
      returns expanded locations
    when there are other files
      returns the same location
# [RSpecRunTime] RSpec elapsed time: 49 minutes 15.19 seconds. Current RSS: ~2025M. load average: 1.08 1.12 1.06 1/293 20587



# [RSpecRunTime] Finishing example group spec/lib/gitlab/ci/config/external/mapper/location_expander_spec.rb. It took 4.2 seconds. Expected to take 2.17 seconds.
# [RSpecRunTime] Starting example group spec/services/ml/find_or_create_model_version_service_spec.rb. Expected to take 2.11 seconds.

Ml::FindOrCreateModelVersionService
  #execute
    when model version exists
      returns existing model version
# [RSpecRunTime] RSpec elapsed time: 49 minutes 16.88 seconds. Current RSS: ~2016M. load average: 1.08 1.12 1.06 1/293 20591


    when model does not exist
      does not create a new model version
    when model exists and model version does not
[common_name] is deprecated. For animal name in english please use the AnimalUS module
[common_name] is deprecated. For animal name in english please use the AnimalUS module
[common_name] is deprecated. For animal name in english please use the AnimalUS module
      creates a new model version

# [RSpecRunTime] Finishing example group spec/services/ml/find_or_create_model_version_service_spec.rb. It took 2.83 seconds. Expected to take 2.11 seconds.
# [RSpecRunTime] Starting example group spec/rubocop/cop/gitlab/service_response_spec.rb. Expected to take 2.11 seconds.

RuboCop::Cop::Gitlab::ServiceResponse
  flags the use of `http_status:` parameter in ServiceResponse in error
  flags the use of `http_status:` parameter in ServiceResponse in success
  does not flag the `http_status:` param on a homonym method
  does not flag the offense when `http_status` is not used
  does not flag calls without params
  flags the use of `http_status:` parameter in ServiceResponse in initializer

# [RSpecRunTime] Finishing example group spec/rubocop/cop/gitlab/service_response_spec.rb. It took 2.97 seconds. Expected to take 2.11 seconds.
# [RSpecRunTime] RSpec elapsed time: 49 minutes 21.16 seconds. Current RSS: ~1943M. load average: 1.07 1.12 1.06 1/293 20616


# [RSpecRunTime] Starting example group spec/lib/sidebars/your_work/menus/todos_menu_spec.rb. Expected to take 2.06 seconds.

Sidebars::YourWork::Menus::TodosMenu
  #pill_count
    returns the todos_pending_count of the user
    memoizes the query
# [RSpecRunTime] RSpec elapsed time: 49 minutes 22.33 seconds. Current RSS: ~1920M. load average: 1.07 1.12 1.06 1/293 20623


  #has_pill?
    when count is zero
      returns false
    when count is larger than zero
      returns true

# [RSpecRunTime] Finishing example group spec/lib/sidebars/your_work/menus/todos_menu_spec.rb. It took 2.16 seconds. Expected to take 2.06 seconds.
# [RSpecRunTime] Starting example group spec/lib/gitlab/source_spec.rb. Expected to take 2.05 seconds.

Gitlab::Source
  .ref
    when not on a pre-release
      is expected to eq "v15.0.0-ee"
    when on a pre-release
      is expected to eq "a123a123"
# [RSpecRunTime] RSpec elapsed time: 49 minutes 25.97 seconds. Current RSS: ~2049M. load average: 1.06 1.12 1.06 1/288 20636


  .release_url
    when not on a pre-release
      returns a tag url
    when on a pre-release
      returns a commit url

# [RSpecRunTime] Finishing example group spec/lib/gitlab/source_spec.rb. It took 3.73 seconds. Expected to take 2.05 seconds.
# [RSpecRunTime] Starting example group spec/workers/gitlab/github_import/import_pull_request_worker_spec.rb. Expected to take 1.99 seconds.

Gitlab::GithubImport::ImportPullRequestWorker
  #import
    imports a pull request
    #importer_class
      is expected to eq Gitlab::GithubImport::Importer::PullRequestImporter
# [RSpecRunTime] RSpec elapsed time: 49 minutes 28.56 seconds. Current RSS: ~2043M. load average: 1.06 1.11 1.06 1/288 20649


    #representation_class
      is expected to eq Gitlab::GithubImport::Representation::PullRequest
    #object_type
      is expected to eq :pull_request
    #parallel_import_batch
      is expected to eq {:delay=>1 minute, :size=>200}

# [RSpecRunTime] Finishing example group spec/workers/gitlab/github_import/import_pull_request_worker_spec.rb. It took 3.07 seconds. Expected to take 1.99 seconds.
# [RSpecRunTime] Starting example group spec/lib/gitlab/changelog/generator_spec.rb. Expected to take 1.99 seconds.

Gitlab::Changelog::Generator
  #add
    generates the Markdown for the first release
    generates the Markdown for a newer release
    generates the Markdown for a patch release
    generates the Markdown for an old release
# [RSpecRunTime] RSpec elapsed time: 49 minutes 32.32 seconds. Current RSS: ~1990M. load average: 1.06 1.11 1.06 1/288 20671



# [RSpecRunTime] Finishing example group spec/lib/gitlab/changelog/generator_spec.rb. It took 2.31 seconds. Expected to take 1.99 seconds.
# [RSpecRunTime] Starting example group spec/services/clusters/build_service_spec.rb. Expected to take 1.95 seconds.

Clusters::BuildService
  #execute
    when cluster subject is a project
      sets the cluster_type to project_type
# [RSpecRunTime] RSpec elapsed time: 49 minutes 34.64 seconds. Current RSS: ~2002M. load average: 1.05 1.11 1.06 1/288 20675


    when cluster subject is a group
      sets the cluster_type to group_type
    when cluster subject is an instance
      sets the cluster_type to instance_type

# [RSpecRunTime] Finishing example group spec/services/clusters/build_service_spec.rb. It took 3.21 seconds. Expected to take 1.95 seconds.
# [RSpecRunTime] Starting example group spec/rubocop/cop/migration/sidekiq_queue_migrate_spec.rb. Expected to take 1.94 seconds.

RuboCop::Cop::Migration::SidekiqQueueMigrate
  when outside of a migration
    registers no offense
  when in a regular migration
    registers an offense when sidekiq_queue_migrate is used in #up
    registers an offense when sidekiq_queue_migrate is used in #down
    registers an offense when sidekiq_queue_migrate is used in #change
    registers an offense when sidekiq_queue_migrate is used in #any_other_method
# [RSpecRunTime] RSpec elapsed time: 49 minutes 38.14 seconds. Current RSS: ~2000M. load average: 1.05 1.11 1.06 1/288 20697


  when in a post-deployment migration
    registers no offense

# [RSpecRunTime] Finishing example group spec/rubocop/cop/migration/sidekiq_queue_migrate_spec.rb. It took 3.06 seconds. Expected to take 1.94 seconds.
# [RSpecRunTime] Starting example group spec/presenters/prometheus_alert_presenter_spec.rb. Expected to take 1.88 seconds.

PrometheusAlertPresenter
  #humanized_text
    is expected to eq "exceeded 1.0m/s"
    when operator is eq
      is expected to eq "is equal to 1.0m/s"
# [RSpecRunTime] RSpec elapsed time: 49 minutes 40.19 seconds. Current RSS: ~1947M. load average: 1.05 1.11 1.06 1/288 20707


    when operator is lt
      is expected to eq "is less than 1.0m/s"

# [RSpecRunTime] Finishing example group spec/presenters/prometheus_alert_presenter_spec.rb. It took 2.03 seconds. Expected to take 1.88 seconds.
# [RSpecRunTime] Starting example group spec/lib/gitlab/ci/config/entry/release/assets_spec.rb. Expected to take 1.84 seconds.

Gitlab::Ci::Config::Entry::Release::Assets
  validation
    when entry config value is correct
      #value
        returns assets configuration
      #valid?
        is valid
    when entry value is not correct
      #errors
        when value of assets is invalid
          reports error
        when value of assets:links is empty
          reports error
# [RSpecRunTime] RSpec elapsed time: 49 minutes 44.19 seconds. Current RSS: ~2032M. load average: 1.04 1.11 1.06 1/288 20723


        when there is an unknown key present
          reports error

# [RSpecRunTime] Finishing example group spec/lib/gitlab/ci/config/entry/release/assets_spec.rb. It took 4.02 seconds. Expected to take 1.84 seconds.
# [RSpecRunTime] Starting example group spec/lib/bulk_imports/groups/pipelines/group_attributes_pipeline_spec.rb. Expected to take 1.84 seconds.

BulkImports::Groups::Pipelines::GroupAttributesPipeline
  #run
    imports allowed group attributes
  #transform
    fetches only allowed attributes and symbolize keys
    when there is no data to transform
      is expected to eq nil
  #after_run
    calls extractor#remove_tmpdir
  .relation
    is expected to eq "self"

# [RSpecRunTime] Finishing example group spec/lib/bulk_imports/groups/pipelines/group_attributes_pipeline_spec.rb. It took 2.85 seconds. Expected to take 1.84 seconds.
# [RSpecRunTime] Starting example group spec/services/vs_code/settings/create_or_update_service_spec.rb. Expected to take 1.78 seconds.

VsCode::Settings::CreateOrUpdateService
  #execute
    creates a new record when a record with the setting does not exist
    updates the existing record if setting exists
    fails if an invalid value is passed
    when setting_type is machines
      returns default machine as a successful response
# [RSpecRunTime] RSpec elapsed time: 49 minutes 49.7 seconds. Current RSS: ~1974M. load average: 1.04 1.11 1.06 1/288 20754



# [RSpecRunTime] Finishing example group spec/services/vs_code/settings/create_or_update_service_spec.rb. It took 2.2 seconds. Expected to take 1.78 seconds.
# [RSpecRunTime] Starting example group spec/serializers/container_repository_entity_spec.rb. Expected to take 1.77 seconds.

ContainerRepositoryEntity
  exposes required informations
  when project is not preset in the request
    uses project from the object
# [RSpecRunTime] RSpec elapsed time: 49 minutes 51.19 seconds. Current RSS: ~1966M. load average: 1.04 1.11 1.06 1/288 20761


  when user can manage repositories
    exposes destroy_path
  when user cannot manage repositories
    does not expose destroy_path
# [RSpecRunTime] RSpec elapsed time: 49 minutes 53.84 seconds. Current RSS: ~2027M. load average: 1.04 1.10 1.06 1/288 20768



# [RSpecRunTime] Finishing example group spec/serializers/container_repository_entity_spec.rb. It took 4.16 seconds. Expected to take 1.77 seconds.
# [RSpecRunTime] Starting example group spec/lib/gitlab/chat/responder/base_spec.rb. Expected to take 1.72 seconds.

Gitlab::Chat::Responder::Base
  #pipeline
    returns the pipeline
  #project
    returns the project
  #success
    raises NotImplementedError
  #failure
    raises NotImplementedError
  #send_response
    raises NotImplementedError
  #scheduled_output
    raises NotImplementedError

# [RSpecRunTime] Finishing example group spec/lib/gitlab/chat/responder/base_spec.rb. It took 3.04 seconds. Expected to take 1.72 seconds.
# [RSpecRunTime] Starting example group spec/views/shared/milestones/_top.html.haml_spec.rb. Expected to take 1.7 seconds.

shared/milestones/_top.html.haml
  does not render a deprecation message for a non-legacy and non-dashboard milestone

# [RSpecRunTime] Finishing example group spec/views/shared/milestones/_top.html.haml_spec.rb. It took 1.39 seconds. Expected to take 1.7 seconds.
# [RSpecRunTime] RSpec elapsed time: 49 minutes 58.45 seconds. Current RSS: ~1951M. load average: 1.11 1.12 1.06 1/288 20790


# [RSpecRunTime] Starting example group spec/lib/gitlab/ci/config/entry/release/assets/links_spec.rb. Expected to take 1.66 seconds.

Gitlab::Ci::Config::Entry::Release::Assets::Links
  validation
    when entry config value is correct
      #value
        returns links configuration
      #valid?
        is valid
    when entry value is not correct
      #errors
        when value of link is invalid
          reports error
        when value of links link is empty
          reports error
        when there is an unknown key present
          reports error

# [RSpecRunTime] Finishing example group spec/lib/gitlab/ci/config/entry/release/assets/links_spec.rb. It took 2.35 seconds. Expected to take 1.66 seconds.
# [RSpecRunTime] Starting example group spec/models/users/banned_user_spec.rb. Expected to take 1.65 seconds.

Users::BannedUser
  does not allow STI
  relationships
    is expected to belong to user required: false
# [RSpecRunTime] RSpec elapsed time: 50 minutes 3.46 seconds. Current RSS: ~1958M. load average: 1.10 1.12 1.06 1/288 20812


  validations
    is expected to validate that :user cannot be empty/falsy
    validates uniqueness of banned user id
# [RSpecRunTime] RSpec elapsed time: 50 minutes 4.75 seconds. Current RSS: ~1958M. load average: 1.10 1.12 1.06 1/288 20821



# [RSpecRunTime] Finishing example group spec/models/users/banned_user_spec.rb. It took 4.05 seconds. Expected to take 1.65 seconds.
# [RSpecRunTime] Starting example group spec/lib/bulk_imports/projects/pipelines/external_pull_requests_pipeline_spec.rb. Expected to take 1.61 seconds.

BulkImports::Projects::Pipelines::ExternalPullRequestsPipeline
  #run
    imports external pull request
    when status is closed
      imports closed external pull request
# [RSpecRunTime] RSpec elapsed time: 50 minutes 6.32 seconds. Current RSS: ~1958M. load average: 1.10 1.12 1.06 1/288 20828


    when from fork
      does not create external pull request

# [RSpecRunTime] Finishing example group spec/lib/bulk_imports/projects/pipelines/external_pull_requests_pipeline_spec.rb. It took 2.15 seconds. Expected to take 1.61 seconds.
# [RSpecRunTime] Starting example group spec/lib/gitlab/ci/reports/security/link_spec.rb. Expected to take 1.6 seconds.

Gitlab::Ci::Reports::Security::Link
  #initialize
    when all params are given
      initializes an instance
    #to_hash
      returns expected hash

# [RSpecRunTime] Finishing example group spec/lib/gitlab/ci/reports/security/link_spec.rb. It took 1.13 seconds. Expected to take 1.6 seconds.
# [RSpecRunTime] Starting example group spec/routing/user_routing_spec.rb. Expected to take 1.54 seconds.

user routing
  when GitHub OAuth on project import is cancelled
    behaves like redirecting a legacy path
      redirects /users/auth?error=access_denied&state=xyz to /users/sign_in
  when GitHub OAuth on sign in is cancelled
    when all required parameters are present
      behaves like redirecting a legacy path
        redirects /users/auth?error=access_denied&state=xyz to /projects/new#import_project
    when one of the required parameters is missing
      behaves like redirecting a legacy path
        redirects /users/auth?error=access_denied&state= to /auth

# [RSpecRunTime] Finishing example group spec/routing/user_routing_spec.rb. It took 1.64 seconds. Expected to take 1.54 seconds.
# [RSpecRunTime] Starting example group spec/lib/gitlab/database/async_indexes/index_base_spec.rb. Expected to take 1.54 seconds.

Gitlab::Database::AsyncIndexes::IndexBase
  #perform
    #preconditions_met?
      raises errors if preconditions is not defined
    #action_type
      raises errors if action_type is not defined
    with error handling
      on production
        increases execution attempts
        logs an error message including the index_name
# [RSpecRunTime] RSpec elapsed time: 50 minutes 13.32 seconds. Current RSS: ~2016M. load average: 1.09 1.11 1.06 1/289 20860


      on development
        also raises errors

# [RSpecRunTime] Finishing example group spec/lib/gitlab/database/async_indexes/index_base_spec.rb. It took 4.19 seconds. Expected to take 1.54 seconds.
# [RSpecRunTime] Starting example group spec/serializers/project_access_token_entity_spec.rb. Expected to take 1.49 seconds.

ProjectAccessTokenEntity
  when bot is a member of the project
    has the correct attributes
# [RSpecRunTime] RSpec elapsed time: 50 minutes 15.02 seconds. Current RSS: ~2013M. load average: 1.09 1.11 1.06 1/289 20867


  when bot is unrelated to the project
    has the correct attributes

# [RSpecRunTime] Finishing example group spec/serializers/project_access_token_entity_spec.rb. It took 1.89 seconds. Expected to take 1.49 seconds.
# [RSpecRunTime] Starting example group spec/graphql/types/ci/pipeline_schedule_status_enum_spec.rb. Expected to take 1.48 seconds.

Types::Ci::PipelineScheduleStatusEnum
  exposes the status of a pipeline schedule
  is expected to eq "PipelineScheduleStatus"

# [RSpecRunTime] Finishing example group spec/graphql/types/ci/pipeline_schedule_status_enum_spec.rb. It took 1.22 seconds. Expected to take 1.48 seconds.
# [RSpecRunTime] RSpec elapsed time: 50 minutes 17.13 seconds. Current RSS: ~1969M. load average: 1.09 1.11 1.06 1/289 20877


# [RSpecRunTime] Starting example group spec/helpers/projects/issues_helper_spec.rb. Expected to take 1.44 seconds.

Projects::IssuesHelper
  #create_mr_tracking_data
    can_create_mr: true, can_create_confidential_mr: true, tracking_data: {:event_tracking=>"click_create_confidential_mr_issues_list"}
      is expected to eq {:event_tracking=>"click_create_confidential_mr_issues_list"}
    can_create_mr: true, can_create_confidential_mr: false, tracking_data: {:event_tracking=>"click_create_mr_issues_list"}
      is expected to eq {:event_tracking=>"click_create_mr_issues_list"}
    can_create_mr: false, can_create_confidential_mr: false, tracking_data: {}
      is expected to eq {}

# [RSpecRunTime] Finishing example group spec/helpers/projects/issues_helper_spec.rb. It took 1.51 seconds. Expected to take 1.44 seconds.
# [RSpecRunTime] Starting example group spec/lib/gitlab/usage_data_counters/container_registry_event_counter_spec.rb. Expected to take 1.41 seconds.

Gitlab::UsageDataCounters::ContainerRegistryEventCounter
  behaves like a redis usage counter with totals
    totals
      can report all totals
    unknown events
      cannot increment
      cannot read
# [RSpecRunTime] RSpec elapsed time: 50 minutes 21.86 seconds. Current RSS: ~2002M. load average: 1.08 1.11 1.06 1/290 20896


  behaves like a redis usage counter
    .count(i_container_registry_delete_manifest)
      increments the ContainerRegistryEvent i_container_registry_delete_manifest counter by 1
    .read(i_container_registry_delete_manifest)
      returns the total number of i_container_registry_delete_manifest events

# [RSpecRunTime] Finishing example group spec/lib/gitlab/usage_data_counters/container_registry_event_counter_spec.rb. It took 4.32 seconds. Expected to take 1.41 seconds.
# [RSpecRunTime] Starting example group spec/services/packages/rpm/repository_metadata/build_filelist_xml_service_spec.rb. Expected to take 1.38 seconds.

Packages::Rpm::RepositoryMetadata::BuildFilelistXmlService
  #execute
    adds all file nodes
    setting type attribute
      when all files are directories
Positional arguments for Filesystem#file_name are deprecated. Please use keyword arguments.
Positional arguments for Filesystem#file_name are deprecated. Please use keyword arguments.
Positional arguments for Filesystem#file_name are deprecated. Please use keyword arguments.
Positional arguments for Filesystem#file_name are deprecated. Please use keyword arguments.
Positional arguments for Filesystem#file_name are deprecated. Please use keyword arguments.
        set dir type attribute for directories only
# [RSpecRunTime] RSpec elapsed time: 50 minutes 24.18 seconds. Current RSS: ~2002M. load average: 1.07 1.11 1.06 1/289 20909



# [RSpecRunTime] Finishing example group spec/services/packages/rpm/repository_metadata/build_filelist_xml_service_spec.rb. It took 1.32 seconds. Expected to take 1.38 seconds.
# [RSpecRunTime] Starting example group spec/lib/gitlab/merge_requests/mergeability/results_store_spec.rb. Expected to take 1.36 seconds.

Gitlab::MergeRequests::Mergeability::ResultsStore
  #read
    calls #retrieve_check on the interface
    when #retrieve_check returns nil
      returns nil
# [RSpecRunTime] RSpec elapsed time: 50 minutes 25.35 seconds. Current RSS: ~2001M. load average: 1.07 1.11 1.06 1/289 20916


  #write
    calls #save_check on the interface

# [RSpecRunTime] Finishing example group spec/lib/gitlab/merge_requests/mergeability/results_store_spec.rb. It took 1.66 seconds. Expected to take 1.36 seconds.
# [RSpecRunTime] Starting example group spec/helpers/admin/abuse_reports_helper_spec.rb. Expected to take 1.33 seconds.

Admin::AbuseReportsHelper
  #abuse_reports_list_data
    has expected attributes
  #abuse_report_data
    has the expected attributes
    includes path to abuse reports list page
# [RSpecRunTime] RSpec elapsed time: 50 minutes 27.91 seconds. Current RSS: ~1913M. load average: 1.07 1.11 1.06 2/289 20929



# [RSpecRunTime] Finishing example group spec/helpers/admin/abuse_reports_helper_spec.rb. It took 2.06 seconds. Expected to take 1.33 seconds.
# [RSpecRunTime] Starting example group spec/lib/gitlab/ci/yaml_processor/dag_spec.rb. Expected to take 1.3 seconds.

Gitlab::Ci::YamlProcessor::Dag
  when it is a regular pipeline
    returns ordered jobs
  when there is a circular dependency
    raises TSort::Cyclic error
    when a job has a self-dependency
      raises TSort::Cyclic error
  when there are some missing jobs
    ignores the missing ones and returns in a valid order

# [RSpecRunTime] Finishing example group spec/lib/gitlab/ci/yaml_processor/dag_spec.rb. It took 1.9 seconds. Expected to take 1.3 seconds.
# [RSpecRunTime] Starting example group spec/graphql/types/error_tracking/sentry_error_collection_type_spec.rb. Expected to take 1.27 seconds.

Types::ErrorTracking::SentryErrorCollectionType
  is expected to eq "SentryErrorCollection"
  is expected to require graphql authorizations :read_sentry_issue
  exposes the expected fields
  errors field
    returns errors
# [RSpecRunTime] RSpec elapsed time: 50 minutes 33.66 seconds. Current RSS: ~2028M. load average: 1.06 1.10 1.06 1/288 20954



# [RSpecRunTime] Finishing example group spec/graphql/types/error_tracking/sentry_error_collection_type_spec.rb. It took 3.86 seconds. Expected to take 1.27 seconds.
# [RSpecRunTime] Starting example group spec/scripts/database/schema_validator_spec.rb. Expected to take 1.25 seconds.

SchemaValidator
  #validate!
    when schema changes are introduced without migrations
Error: db/structure.sql was changed, and no migrations were added:
db/structure.sql
      terminates the execution
    when schema changes are introduced with migrations
      skips schema validations
    when skipping validations through ENV variable
      skips schema validations
    when skipping validations through commit message
      skips schema validations

# [RSpecRunTime] Finishing example group spec/scripts/database/schema_validator_spec.rb. It took 2.09 seconds. Expected to take 1.25 seconds.
# [RSpecRunTime] Starting example group spec/serializers/import/bitbucket_server_provider_repo_entity_spec.rb. Expected to take 1.23 seconds.

Import::BitbucketServerProviderRepoEntity
  behaves like exposes required fields for import entity
    exposes required fields
      correctly exposes id
      correctly exposes full name
      correctly exposes sanitized name
      correctly exposes provider link
# [RSpecRunTime] RSpec elapsed time: 50 minutes 37.81 seconds. Current RSS: ~1973M. load average: 1.06 1.10 1.06 1/288 20979



# [RSpecRunTime] Finishing example group spec/serializers/import/bitbucket_server_provider_repo_entity_spec.rb. It took 2.06 seconds. Expected to take 1.23 seconds.
# [RSpecRunTime] Starting example group spec/graphql/types/kas/agent_connection_type_spec.rb. Expected to take 1.2 seconds.

Types::Kas::AgentConnectionType
  is expected to eq "ConnectedAgent"
  is expected to eq "Connection details for an Agent"
  is expected to have graphql fields :connected_at, :connection_id, and :metadata
  #connected_at
    converts the seconds value to a timestamp
# [RSpecRunTime] RSpec elapsed time: 50 minutes 41.47 seconds. Current RSS: ~2051M. load average: 1.06 1.10 1.06 1/288 20992



# [RSpecRunTime] Finishing example group spec/graphql/types/kas/agent_connection_type_spec.rb. It took 3.66 seconds. Expected to take 1.2 seconds.
# [RSpecRunTime] Starting example group spec/rubocop/cop/code_reuse/finder_spec.rb. Expected to take 1.18 seconds.

RuboCop::Cop::CodeReuse::Finder
  flags the use of a Finder inside a model class method
  flags the use of a Finder inside another Finder
  does not flag the use of a Finder in a non Finder file
  does not flag the use of a Finder in a regular class method

# [RSpecRunTime] Finishing example group spec/rubocop/cop/code_reuse/finder_spec.rb. It took 2.18 seconds. Expected to take 1.18 seconds.
# [RSpecRunTime] RSpec elapsed time: 50 minutes 43.82 seconds. Current RSS: ~2051M. load average: 1.05 1.10 1.06 1/288 21005


# [RSpecRunTime] Starting example group spec/scripts/pipeline/average_reports_spec.rb. Expected to take 1.16 seconds.

AverageReports
  execute
    with 1 new report
      returns average durations
    with 2 new reports
      returns average durations
    when some of the new report files do not exist
      ignores the nil file and only process 1 new report

# [RSpecRunTime] Finishing example group spec/scripts/pipeline/average_reports_spec.rb. It took 1.7 seconds. Expected to take 1.16 seconds.
# [RSpecRunTime] Starting example group spec/views/user_settings/user_settings/authentication_log.html.haml_spec.rb. Expected to take 1.13 seconds.

user_settings/user_settings/authentication_log
  when user has successful and failure events
    only shows successful events

# [RSpecRunTime] Finishing example group spec/views/user_settings/user_settings/authentication_log.html.haml_spec.rb. It took 0.79 second. Expected to take 1.13 seconds.
# [RSpecRunTime] Starting example group spec/workers/jira_connect/send_uninstalled_hook_worker_spec.rb. Expected to take 1.1 seconds.

JiraConnect::SendUninstalledHookWorker
  #perform
    is labeled as idempotent
    performs multiple times sequentially without raising an exception
    calls the ProxyLifecycleEventService service
# [RSpecRunTime] RSpec elapsed time: 50 minutes 47.87 seconds. Current RSS: ~1955M. load average: 1.05 1.10 1.06 1/288 21027



# [RSpecRunTime] Finishing example group spec/workers/jira_connect/send_uninstalled_hook_worker_spec.rb. It took 1.66 seconds. Expected to take 1.1 seconds.
# [RSpecRunTime] Starting example group spec/workers/clusters/agents/notify_git_push_worker_spec.rb. Expected to take 1.07 seconds.

Clusters::Agents::NotifyGitPushWorker
  #perform
    calls the deletion service
    when the project no longer exists
      completes without raising an error
# [RSpecRunTime] RSpec elapsed time: 50 minutes 51.02 seconds. Current RSS: ~2020M. load average: 1.05 1.10 1.06 1/288 21034



# [RSpecRunTime] Finishing example group spec/workers/clusters/agents/notify_git_push_worker_spec.rb. It took 3.16 seconds. Expected to take 1.07 seconds.
# [RSpecRunTime] Starting example group spec/tooling/lib/tooling/api/request_spec.rb. Expected to take 1.04 seconds.

Tooling::API::Request
  .get
    when the response is successful
      is expected to eq "body"
    when the response is not successful
      is expected to be empty
    when there are multiple pages
      yields each page

# [RSpecRunTime] Finishing example group spec/tooling/lib/tooling/api/request_spec.rb. It took 1.68 seconds. Expected to take 1.04 seconds.
# [RSpecRunTime] Starting example group spec/graphql/types/work_items/widgets/hierarchy_update_input_type_spec.rb. Expected to take 1.03 seconds.

Types::WorkItems::Widgets::HierarchyUpdateInputType
  is expected to eq "WorkItemWidgetHierarchyUpdateInput"
  accepts documented arguments
  sets the type of relative_position argument to RelativePositionTypeEnum

# [RSpecRunTime] Finishing example group spec/graphql/types/work_items/widgets/hierarchy_update_input_type_spec.rb. It took 1.59 seconds. Expected to take 1.03 seconds.
# [RSpecRunTime] RSpec elapsed time: 50 minutes 54.47 seconds. Current RSS: ~2020M. load average: 1.04 1.10 1.06 1/288 21053


# [RSpecRunTime] Starting example group spec/rubocop/cop/migration/remove_concurrent_index_spec.rb. Expected to take 0.98 second.

RuboCop::Cop::Migration::RemoveConcurrentIndex
  in migration
    registers an offense when remove_concurrent_index is used inside a change method
    registers no offense when remove_concurrent_index is used inside an up method
# [RSpecRunTime] RSpec elapsed time: 50 minutes 55.6 seconds. Current RSS: ~1997M. load average: 1.04 1.10 1.06 1/288 21060


  outside of migration
    registers no offense

# [RSpecRunTime] Finishing example group spec/rubocop/cop/migration/remove_concurrent_index_spec.rb. It took 1.68 seconds. Expected to take 0.98 second.
# [RSpecRunTime] Starting example group spec/graphql/types/analytics/cycle_analytics/value_stream_type_spec.rb. Expected to take 0.97 second.

Types::Analytics::CycleAnalytics::ValueStreamType
  is expected to eq "ValueStream"
  is expected to have graphql fields :id, :name, :namespace, :project, and :stages
  is expected to require graphql authorizations :read_cycle_analytics

# [RSpecRunTime] Finishing example group spec/graphql/types/analytics/cycle_analytics/value_stream_type_spec.rb. It took 1.5 seconds. Expected to take 0.97 second.
# [RSpecRunTime] RSpec elapsed time: 50 minutes 57.72 seconds. Current RSS: ~1955M. load average: 1.04 1.10 1.06 1/288 21073


# [RSpecRunTime] Starting example group spec/lib/gitlab/checks/timed_logger_spec.rb. Expected to take 0.93 second.

Gitlab::Checks::TimedLogger
  #log_timed
    logs message
    when time limit was reached
      cancels action
      cancels action with time elapsed if work was performed
# [RSpecRunTime] RSpec elapsed time: 51 minutes 0.91 second. Current RSS: ~2044M. load average: 1.04 1.09 1.06 1/288 21083



# [RSpecRunTime] Finishing example group spec/lib/gitlab/checks/timed_logger_spec.rb. It took 3.29 seconds. Expected to take 0.93 second.
# [RSpecRunTime] Starting example group spec/lib/gitlab/console_spec.rb. Expected to take 0.92 second.

Gitlab::Console
  .welcome!
    when running in the Rails console
      on darwin
        behaves like console messages
          prints system info
      behaves like console messages
        prints system info
    when not running in the Rails console
      does not print anything

# [RSpecRunTime] Finishing example group spec/lib/gitlab/console_spec.rb. It took 1.67 seconds. Expected to take 0.92 second.
# [RSpecRunTime] Starting example group spec/tooling/danger/config_files_spec.rb. Expected to take 0.89 second.

Tooling::Danger::ConfigFiles
  #add_suggestion_for_missing_introduced_by_url
    when config file has an empty introduced_by_url line
      adds suggestions at the correct line
    when config file has an introduced_by_url line with value
      does not add suggestion
  #new_config_files
    returns added, modified, and renamed_after files by default

# [RSpecRunTime] Finishing example group spec/tooling/danger/config_files_spec.rb. It took 1.62 seconds. Expected to take 0.89 second.
# [RSpecRunTime] Starting example group spec/views/admin/users/_form.html.haml_spec.rb. Expected to take 0.88 second.

admin/users/_form.html.haml
  Access
    user top level group creation setting
      when the user is not allowed to create a group
        hides the checkbox
      when the user is allowed to create a group
        renders the checkbox

# [RSpecRunTime] Finishing example group spec/views/admin/users/_form.html.haml_spec.rb. It took 1.37 seconds. Expected to take 0.88 second.
# [RSpecRunTime] Starting example group spec/graphql/types/user_status_type_spec.rb. Expected to take 0.87 second.

Types::UserStatusType
  is expected to eq "UserStatus"
  exposes the expected fields

# [RSpecRunTime] Finishing example group spec/graphql/types/user_status_type_spec.rb. It took 1.13 seconds. Expected to take 0.87 second.
# [RSpecRunTime] RSpec elapsed time: 51 minutes 6.88 seconds. Current RSS: ~1939M. load average: 1.04 1.09 1.05 1/288 21114


# [RSpecRunTime] Starting example group spec/services/issues/issuable_base_service_spec.rb. Expected to take 0.81 second.

IssuableBaseService
  #constructor_container_arg
    is expected to eq {:container=>"some-value"}

# [RSpecRunTime] Finishing example group spec/services/issues/issuable_base_service_spec.rb. It took 0.66 second. Expected to take 0.81 second.
# [RSpecRunTime] Starting example group spec/models/organizations_spec.rb. Expected to take 0.81 second.

Organizations
  does not allow STI
  constants
    is expected to eq "HTTP_GITLAB_ORGANIZATION_ID"

# [RSpecRunTime] Finishing example group spec/models/organizations_spec.rb. It took 1.09 seconds. Expected to take 0.81 second.
# [RSpecRunTime] Starting example group spec/lib/gitlab/ci/build/hook_spec.rb. Expected to take 0.76 second.

Gitlab::Ci::Build::Hook
  .from_hooks
    initializes and returns hooks
# [RSpecRunTime] RSpec elapsed time: 51 minutes 11.21 seconds. Current RSS: ~2036M. load average: 1.03 1.09 1.05 1/288 21127



# [RSpecRunTime] Finishing example group spec/lib/gitlab/ci/build/hook_spec.rb. It took 2.7 seconds. Expected to take 0.76 second.
# [RSpecRunTime] Starting example group spec/lib/gitlab/ci/parsers/sbom/source/dependency_scanning_spec.rb. Expected to take 0.75 second.

Gitlab::Ci::Parsers::Sbom::Source::DependencyScanning
  when all property data is present
    returns expected source data
  when required properties are missing
    is expected to be nil

# [RSpecRunTime] Finishing example group spec/lib/gitlab/ci/parsers/sbom/source/dependency_scanning_spec.rb. It took 1.19 seconds. Expected to take 0.75 second.
# [RSpecRunTime] Starting example group spec/lib/gitlab/usage/metrics/instrumentations/ldap_encrypted_secrets_metric_spec.rb. Expected to take 0.72 second.

Gitlab::Usage::Metrics::Instrumentations::LdapEncryptedSecretsMetric
  ldap_encrypted_secrets_enabled: true, expected_value: true
    behaves like a correct instrumented metric value
      has correct value
  ldap_encrypted_secrets_enabled: false, expected_value: false
    behaves like a correct instrumented metric value
      has correct value

# [RSpecRunTime] Finishing example group spec/lib/gitlab/usage/metrics/instrumentations/ldap_encrypted_secrets_metric_spec.rb. It took 1.13 seconds. Expected to take 0.72 second.
# [RSpecRunTime] Starting example group spec/lib/sidebars/organizations/menus/scope_menu_spec.rb. Expected to take 0.71 second.

Sidebars::Organizations::Menus::ScopeMenu
  behaves like serializable as super_sidebar_menu_args
    returns hash with provided attributes
    returns hash with an item_id
# [RSpecRunTime] RSpec elapsed time: 51 minutes 14.77 seconds. Current RSS: ~2036M. load average: 1.03 1.09 1.05 1/288 21146



# [RSpecRunTime] Finishing example group spec/lib/sidebars/organizations/menus/scope_menu_spec.rb. It took 1.23 seconds. Expected to take 0.71 second.
# [RSpecRunTime] Starting example group spec/graphql/types/visibility_pipeline_id_type_enum_spec.rb. Expected to take 0.7 second.

Types::VisibilityPipelineIdTypeEnum
  is expected to eq "VisibilityPipelineIdType"
  exposes all visibility pipeline id types

# [RSpecRunTime] Finishing example group spec/graphql/types/visibility_pipeline_id_type_enum_spec.rb. It took 1.16 seconds. Expected to take 0.7 second.
# [RSpecRunTime] RSpec elapsed time: 51 minutes 16.09 seconds. Current RSS: ~1979M. load average: 1.03 1.09 1.05 1/288 21153


# [RSpecRunTime] Starting example group spec/lib/gitlab/database/background_migration/batch_metrics_spec.rb. Expected to take 0.68 second.

Gitlab::Database::BackgroundMigration::BatchMetrics
  #time_operation
    tracks the duration of the operation using monotonic time
  #instrument_operation
    tracks duration and affected rows

# [RSpecRunTime] Finishing example group spec/lib/gitlab/database/background_migration/batch_metrics_spec.rb. It took 1.07 seconds. Expected to take 0.68 second.
# [RSpecRunTime] Starting example group spec/lib/gitlab/kubernetes/kubeconfig/entry/context_spec.rb. Expected to take 0.67 second.

Gitlab::Kubernetes::Kubeconfig::Entry::Context
  #to_h
    is expected to eq {:context=>{:cluster=>"cluster", :user=>"user"}, :name=>"name"}
    with a namespace
      is expected to eq {:context=>{:cluster=>"cluster", :namespace=>"namespace", :user=>"user"}, :name=>"name"}

# [RSpecRunTime] Finishing example group spec/lib/gitlab/kubernetes/kubeconfig/entry/context_spec.rb. It took 1.06 seconds. Expected to take 0.67 second.
# [RSpecRunTime] Starting example group spec/models/concerns/runners_token_prefixable_spec.rb. Expected to take 0.65 second.

RunnersTokenPrefixable
  does not allow STI
  runners token prefix
    has the correct value
# [RSpecRunTime] RSpec elapsed time: 51 minutes 20.94 seconds. Current RSS: ~2055M. load average: 1.03 1.09 1.05 1/288 21172



# [RSpecRunTime] Finishing example group spec/models/concerns/runners_token_prefixable_spec.rb. It took 2.82 seconds. Expected to take 0.65 second.
# [RSpecRunTime] Starting example group spec/graphql/types/projects/repository_language_type_spec.rb. Expected to take 0.64 second.

Types::Projects::RepositoryLanguageType
  is expected to have graphql fields :name, :share, and :color
  is expected to eq "RepositoryLanguage"

# [RSpecRunTime] Finishing example group spec/graphql/types/projects/repository_language_type_spec.rb. It took 1.38 seconds. Expected to take 0.64 second.
# [RSpecRunTime] RSpec elapsed time: 51 minutes 22.49 seconds. Current RSS: ~2055M. load average: 1.03 1.09 1.05 1/288 21179


# [RSpecRunTime] Starting example group spec/graphql/types/ci/pipeline_message_type_spec.rb. Expected to take 0.62 second.

Types::Ci::PipelineMessageType
  is expected to eq "PipelineMessage"
  contains attributes related to a pipeline message

# [RSpecRunTime] Finishing example group spec/graphql/types/ci/pipeline_message_type_spec.rb. It took 1.16 seconds. Expected to take 0.62 second.
# [RSpecRunTime] RSpec elapsed time: 51 minutes 23.72 seconds. Current RSS: ~2055M. load average: 1.03 1.09 1.05 1/288 21186


# [RSpecRunTime] Starting example group spec/graphql/types/merge_request_state_event_enum_spec.rb. Expected to take 0.56 second.

Types::MergeRequestStateEventEnum
  has the appropriate values

# [RSpecRunTime] Finishing example group spec/graphql/types/merge_request_state_event_enum_spec.rb. It took 0.69 second. Expected to take 0.56 second.
# [RSpecRunTime] Starting example group spec/graphql/types/work_items/widgets/designs_type_spec.rb. Expected to take 0.51 second.

Types::WorkItems::Widgets::DesignsType
  exposes the expected fields

# [RSpecRunTime] Finishing example group spec/graphql/types/work_items/widgets/designs_type_spec.rb. It took 0.72 second. Expected to take 0.51 second.
# [RSpecRunTime] Starting example group spec/lib/gitlab/ci/config/external/mapper/filter_spec.rb. Expected to take 0.5 second.

Gitlab::Ci::Config::External::Mapper::Filter
  #process
    filters locations according to rules

# [RSpecRunTime] Finishing example group spec/lib/gitlab/ci/config/external/mapper/filter_spec.rb. It took 0.71 second. Expected to take 0.5 second.
# [RSpecRunTime] Starting example group spec/graphql/types/packages/package_dependency_type_spec.rb. Expected to take 0.46 second.

Types::Packages::PackageDependencyType
  includes package file fields

# [RSpecRunTime] Finishing example group spec/graphql/types/packages/package_dependency_type_spec.rb. It took 0.72 second. Expected to take 0.46 second.
# [RSpecRunTime] Starting example group spec/lib/gitlab/serializer/ci/variables_spec.rb. Expected to take 0.46 second.

Gitlab::Serializer::Ci::Variables
  converts keys into strings and symbolizes hash

# [RSpecRunTime] Finishing example group spec/lib/gitlab/serializer/ci/variables_spec.rb. It took 0.68 second. Expected to take 0.46 second.
# [RSpecRunTime] Starting example group spec/uploaders/metric_image_uploader_spec.rb. Expected to take 0.45 second.

MetricImageUploader
  .workhorse_local_upload_path
    returns path that includes uploads dir

# [RSpecRunTime] Finishing example group spec/uploaders/metric_image_uploader_spec.rb. It took 0.64 second. Expected to take 0.45 second.
# [RSpecRunTime] Starting example group spec/graphql/types/work_items/widgets/current_user_todos_type_spec.rb. Expected to take 0.44 second.

Types::WorkItems::Widgets::CurrentUserTodosType
  exposes the expected fields

# [RSpecRunTime] Finishing example group spec/graphql/types/work_items/widgets/current_user_todos_type_spec.rb. It took 0.65 second. Expected to take 0.44 second.
# [RSpecRunTime] Starting example group spec/initializers/rack_VULNDB-255039_patch_spec.rb. Expected to take 0.44 second.

Rack VULNDB-255039
  when handling query params in GET requests
    does not treat semicolons as query delimiters

# [RSpecRunTime] Finishing example group spec/initializers/rack_VULNDB-255039_patch_spec.rb. It took 0.67 second. Expected to take 0.44 second.
# [RSpecRunTime] Starting example group spec/lib/gitlab/git/patches/patch_spec.rb. Expected to take 0.42 second.

Gitlab::Git::Patches::Patch
  #size
    is correct

# [RSpecRunTime] Finishing example group spec/lib/gitlab/git/patches/patch_spec.rb. It took 0.68 second. Expected to take 0.42 second.
# [RSpecRunTime] Starting example group spec/lib/gitlab/sidekiq_middleware/size_limiter/exceed_limit_error_spec.rb. Expected to take 0.41 second.

Gitlab::SidekiqMiddleware::SizeLimiter::ExceedLimitError
  encapsulates worker info

# [RSpecRunTime] Finishing example group spec/lib/gitlab/sidekiq_middleware/size_limiter/exceed_limit_error_spec.rb. It took 2.31 seconds. Expected to take 0.41 second.
# [RSpecRunTime] RSpec elapsed time: 51 minutes 32.24 seconds. Current RSS: ~2020M. load average: 1.02 1.08 1.05 1/288 21217


auto_explain log contains 1758 entries for main, writing to /builds/gitlab-org/gitlab/auto_explain/rspec-unit-pg14-18-32.345.main.ndjson.gz
took 39.312378866
auto_explain log contains 1759 entries for ci, writing to /builds/gitlab-org/gitlab/auto_explain/rspec-unit-pg14-18-32.345.ci.ndjson.gz
took 36.700507585
[TEST PROF INFO] EventProf results for sql.active_record

Total time: 06:17.955 of 51:26.079 (12.25%)
Total events: 249453

Top 5 slowest suites (by time):

Ci::PipelineP...cessingService (./spec/services/ci/pipeline_processing/atomic_processing_service_spec.rb:5) – 01:37.896 (51702 / 104) of 05:59.679 (27.22%)
DeploymentPlatform (./spec/models/concerns/deployment_platform_spec.rb:5) – 00:29.636 (12530 / 42) of 01:31.656 (32.33%)
Gitlab::Email...iceDeskHandler (./spec/lib/gitlab/email/handler/service_desk_handler_spec.rb:5) – 00:18.887 (11923 / 86) of 01:43.426 (18.26%)
Ci::DropPipel...ForUserService (./spec/services/ci/drop_pipelines_and_disable_schedules_for_user_service_spec.rb:5) – 00:18.831 (10640 / 4) of 01:03.901 (29.47%)
Projects::UnlinkForkService (./spec/services/projects/unlink_fork_service_spec.rb:5) – 00:12.934 (8500 / 17) of 00:44.867 (28.83%)

Knapsack report was generated. Preview:
{
  "spec/services/ci/pipeline_processing/atomic_processing_service_spec.rb": 359.63235835700016,
  "spec/rubocop/cop/rspec/feature_category_spec.rb": 310.4126736849994,
  "spec/tasks/gitlab/usage_data_rake_spec.rb": 123.389221292,
  "spec/lib/gitlab/email/handler/service_desk_handler_spec.rb": 103.425997757,
  "spec/models/concerns/deployment_platform_spec.rb": 91.65581160199963,
  "spec/models/integrations/slack_spec.rb": 88.62146076099998,
  "spec/services/ci/drop_pipelines_and_disable_schedules_for_user_service_spec.rb": 63.90076593399954,
  "spec/finders/packages/group_packages_finder_spec.rb": 65.25128725899958,
  "spec/models/merge_request/cleanup_schedule_spec.rb": 51.451563953000004,
  "spec/workers/projects/import_export/create_relation_exports_worker_spec.rb": 43.04250205900007,
  "spec/services/projects/unlink_fork_service_spec.rb": 44.86744678500054,
  "spec/models/label_spec.rb": 50.517602549,
  "spec/services/projects/lfs_pointers/lfs_download_service_spec.rb": 49.14288423200014,
  "spec/workers/database/batched_background_migration_worker_spec.rb": 36.928917455000374,
  "spec/models/blob_spec.rb": 46.76603922100003,
  "spec/services/merge_requests/squash_service_spec.rb": 43.038396919999286,
  "spec/models/merge_request_diff_commit_spec.rb": 29.282239054000456,
  "spec/services/web_hook_service_spec.rb": 36.060471703000076,
  "spec/policies/blob_policy_spec.rb": 34.784284270999706,
  "spec/models/ml/candidate_spec.rb": 34.50584935400002,
  "spec/services/projects/move_access_service_spec.rb": 25.22115079500054,
  "spec/graphql/mutations/issues/update_spec.rb": 27.161919293999745,
  "spec/lib/gitlab/email/receiver_spec.rb": 32.89970258299945,
  "spec/lib/gitlab/redis/shared_state_spec.rb": 34.12417914300022,
  "spec/rubocop/cop/rspec/factory_bot/strategy_in_callback_spec.rb": 29.255638899000587,
  "spec/services/merge_requests/conflicts/list_service_spec.rb": 23.43888719200004,
  "spec/lib/gitlab/auth/ldap/person_spec.rb": 29.71518044699951,
  "spec/lib/gitlab/issues/rebalancing/state_spec.rb": 30.891118694999932,
  "spec/lib/gitlab/import_export/json/streaming_serializer_spec.rb": 22.84223810399999,
  "spec/finders/environments/environments_by_deployments_finder_spec.rb": 19.504963323000084,
  "spec/services/ci/resource_groups/assign_resource_from_resource_group_service_spec.rb": 19.98158377799973,
  "spec/lib/gitlab/import_export/after_export_strategies/base_after_export_strategy_spec.rb": 16.631547268999384,
  "spec/lib/gitlab/metrics/rails_slis_spec.rb": 20.39227976500024,
  "spec/lib/banzai/filter/references/feature_flag_reference_filter_spec.rb": 19.421105876000183,
  "spec/tasks/gitlab/ldap_rake_spec.rb": 16.961753836999378,
  "spec/models/project_auto_devops_spec.rb": 19.314851553000153,
  "spec/lib/feature/gitaly_spec.rb": 19.27002949600046,
  "spec/services/labels/create_service_spec.rb": 18.097286618999533,
  "spec/models/incident_management/timeline_event_spec.rb": 16.60388698299994,
  "spec/models/ci/unit_test_failure_spec.rb": 14.53484887400009,
  "spec/lib/gitlab/discussions_diff/file_collection_spec.rb": 14.30969954899956,
  "spec/lib/gitlab/observability_spec.rb": 17.47989266700006,
  "spec/workers/delete_user_worker_spec.rb": 12.926441052999508,
  "spec/lib/gitlab/ci/reports/security/report_spec.rb": 16.869671771999492,
  "spec/helpers/projects/error_tracking_helper_spec.rb": 16.011699847999807,
  "spec/lib/gitlab/ci/config/header/input_spec.rb": 16.207050766000066,
  "spec/services/packages/conan/create_package_file_service_spec.rb": 13.705002405999949,
  "spec/lib/gitlab/instrumentation/redis_client_middleware_spec.rb": 17.55600521999986,
  "spec/views/shared/_label_row.html.haml_spec.rb": 13.602087582999957,
  "spec/lib/gitlab/pages_spec.rb": 14.870382979999704,
  "spec/policies/board_policy_spec.rb": 9.238751150999633,
  "spec/models/web_ide_terminal_spec.rb": 11.796110082000268,
  "spec/lib/gitlab/ci/templates/Verify/load_performance_testing_gitlab_ci_yaml_spec.rb": 9.978787683000519,
  "spec/lib/gitlab/database/namespace_each_batch_spec.rb": 10.106405771999562,
  "spec/lib/gitlab/suggestions/commit_message_spec.rb": 11.341417835000357,
  "spec/lib/gitlab/ci/pipeline/chain/config/content_spec.rb": 9.873427298999559,
  "spec/services/pages_domains/create_acme_order_service_spec.rb": 9.992092430999946,
  "spec/lib/google_api/cloud_platform/client_spec.rb": 14.466986493999684,
  "spec/services/security/ci_configuration/secret_detection_create_service_spec.rb": 11.07627318699997,
  "spec/lib/gitlab/gitaly_client/conflicts_service_spec.rb": 8.634831287999987,
  "spec/lib/gitlab/github_import/parallel_scheduling_spec.rb": 13.404419754999253,
  "spec/views/projects/commits/_commit.html.haml_spec.rb": 6.677535081000315,
  "spec/tasks/gitlab/password_rake_spec.rb": 7.986250552000456,
  "spec/lib/gitlab/gitaly_client/object_pool_service_spec.rb": 9.975702402000024,
  "spec/lib/sidebars/projects/super_sidebar_panel_spec.rb": 6.740265300999454,
  "spec/finders/repositories/tree_finder_spec.rb": 12.351590082999792,
  "spec/services/integrations/slack_installation/instance_service_spec.rb": 8.207156046999444,
  "spec/graphql/mutations/issues/set_locked_spec.rb": 8.750792859000285,
  "spec/presenters/label_presenter_spec.rb": 10.39071821699963,
  "spec/lib/gitlab/gon_helper_spec.rb": 10.65052314500008,
  "spec/services/groups/group_links/destroy_service_spec.rb": 8.459360736000235,
  "spec/tasks/gitlab/ci_secure_files/check_rake_spec.rb": 5.534773073999531,
  "spec/sidekiq_cluster/sidekiq_cluster_spec.rb": 11.936069899000358,
  "spec/models/authentication_event_spec.rb": 9.703390546999799,
  "spec/workers/gitlab/github_import/stage/import_issues_and_diff_notes_worker_spec.rb": 7.469261633999849,
  "spec/lib/gitlab/ci/templates/Jobs/code_quality_gitlab_ci_yaml_spec.rb": 8.416161402999933,
  "spec/lib/gitlab/ci/pipeline/chain/build_spec.rb": 8.586925995000456,
  "spec/views/projects/empty.html.haml_spec.rb": 6.847649853999428,
  "spec/models/packages/build_info_spec.rb": 7.925603401000444,
  "spec/models/achievements/achievement_spec.rb": 8.711385225999948,
  "spec/services/packages/composer/version_parser_service_spec.rb": 8.713141714999438,
  "spec/graphql/resolvers/alert_management/integrations_resolver_spec.rb": 5.670866782000303,
  "spec/lib/gitlab/analytics/cycle_analytics/stage_events/issue_first_mentioned_in_commit_spec.rb": 8.388073367000288,
  "spec/policies/personal_access_token_policy_spec.rb": 8.529276725000273,
  "spec/tasks/gitlab/audit_event_types/check_docs_task_spec.rb": 7.390247155999532,
  "spec/services/ci/create_pipeline_service/parallel_spec.rb": 6.777743055000428,
  "spec/models/concerns/ignorable_columns_spec.rb": 8.505999017999784,
  "spec/lib/gitlab/import_export/snippets_repo_saver_spec.rb": 4.229096624000704,
  "spec/services/authorized_project_update/project_recalculate_per_user_service_spec.rb": 8.077174457000183,
  "spec/services/dependency_proxy/auth_token_service_spec.rb": 7.116712050999922,
  "spec/workers/gitlab/bitbucket_server_import/stage/import_users_worker_spec.rb": 7.330213176000143,
  "spec/serializers/diff_viewer_entity_spec.rb": 4.633736599000258,
  "spec/lib/file_size_validator_spec.rb": 5.822675116999562,
  "spec/models/ci/build_pending_state_spec.rb": 6.207056426000236,
  "spec/models/ref_matcher_spec.rb": 7.914752913000484,
  "spec/db/development/create_work_item_hierarchy_restrictions_spec.rb": 6.628757528999813,
  "spec/lib/gitlab/database/background_migration/batch_optimizer_spec.rb": 5.63850883699979,
  "spec/views/shared/issuable/_sidebar.html.haml_spec.rb": 6.110056301999975,
  "spec/services/projects/record_target_platforms_service_spec.rb": 3.9346570199995767,
  "spec/lib/api/entities/clusters/agents/authorizations/ci_access_spec.rb": 5.184292140000252,
  "spec/lib/sidebars/admin/menus/monitoring_menu_spec.rb": 5.093266924999625,
  "spec/lib/gitlab/database/partitioning/int_range_strategy_spec.rb": 6.851767243000722,
  "spec/models/ci/pipeline_message_spec.rb": 4.609045272999538,
  "spec/lib/gitlab/tracking/incident_management_spec.rb": 7.849043154000356,
  "spec/graphql/subscriptions/issuable_updated_spec.rb": 5.9487728579997565,
  "spec/services/ml/create_model_service_spec.rb": 4.823151798000254,
  "spec/workers/analytics/usage_trends/counter_job_worker_spec.rb": 6.423513982000259,
  "spec/lib/gitlab/usage/metrics/instrumentations/project_imports_creators_metric_spec.rb": 3.8127026100000876,
  "spec/workers/merge_requests/execute_approval_hooks_worker_spec.rb": 5.9636559749997105,
  "spec/lib/gitlab/import_export/uploads_saver_spec.rb": 4.30408461099978,
  "spec/finders/groups/custom_emoji_finder_spec.rb": 3.7051704069999687,
  "spec/lib/gitlab/database/migration_helpers/swapping_spec.rb": 6.262232347000463,
  "spec/lib/gitlab/plantuml_spec.rb": 5.554809371000374,
  "spec/graphql/resolvers/group_releases_resolver_spec.rb": 4.273688686000241,
  "spec/models/work_items/widgets/hierarchy_spec.rb": 4.6829161400000885,
  "spec/lib/gitlab/cleanup/orphan_job_artifact_files_batch_spec.rb": 4.684182219999457,
  "spec/models/integrations/chat_message/issue_message_spec.rb": 4.607048503000442,
  "spec/presenters/alert_management/alert_presenter_spec.rb": 5.68316883999978,
  "spec/lib/gitlab/database/query_analyzers/prevent_set_operator_mismatch/columns_spec.rb": 4.157529723999687,
  "spec/graphql/resolvers/merge_request_pipelines_resolver_spec.rb": 3.5104786689998946,
  "spec/services/note_summary_spec.rb": 5.065183378999791,
  "spec/services/timelogs/delete_service_spec.rb": 3.417185072000393,
  "spec/services/work_items/callbacks/award_emoji_spec.rb": 6.207817665999755,
  "spec/graphql/resolvers/project_jobs_resolver_spec.rb": 4.041839743999844,
  "spec/graphql/mutations/achievements/create_spec.rb": 3.1594403740000416,
  "spec/services/branch_rules/base_service_spec.rb": 4.648374216000775,
  "spec/graphql/resolvers/project_resolver_spec.rb": 3.1565392050006267,
  "spec/models/concerns/optionally_search_spec.rb": 3.077623236999898,
  "spec/lib/gitlab/memory/watchdog/event_reporter_spec.rb": 5.72914995300016,
  "spec/lib/gitlab/exceptions_app_spec.rb": 2.7440360210002837,
  "spec/graphql/resolvers/crm/organization_state_counts_resolver_spec.rb": 2.711661407000065,
  "spec/helpers/listbox_helper_spec.rb": 5.480632931999935,
  "spec/lib/gitlab/crypto_helper_spec.rb": 3.5498577520002073,
  "spec/lib/gitlab/global_id/deprecations_spec.rb": 4.460069875999579,
  "spec/models/badges/project_badge_spec.rb": 2.975076643999273,
  "spec/lib/gitlab/usage_data_counters/snippet_counter_spec.rb": 5.107431723000445,
  "spec/lib/gitlab/cross_project_access_spec.rb": 3.7170760949993564,
  "spec/lib/gitlab/usage_data_counters/base_counter_spec.rb": 1.6611609139999928,
  "spec/services/award_emojis/collect_user_emoji_service_spec.rb": 3.11746211100035,
  "spec/workers/user_status_cleanup/batch_worker_spec.rb": 4.337965984999755,
  "spec/workers/releases/publish_event_worker_spec.rb": 3.0444485030002397,
  "spec/lib/banzai/filter/ascii_doc_sanitization_filter_spec.rb": 5.526035845000479,
  "spec/tooling/danger/gitlab_schema_validation_suggestion_spec.rb": 3.0438365429999976,
  "spec/lib/gitlab/github_import/importer/pull_requests/merged_by_importer_spec.rb": 3.2580875280000328,
  "spec/workers/authorized_keys_worker_spec.rb": 1.9701945050001086,
  "spec/workers/object_pool/join_worker_spec.rb": 4.342069876000096,
  "spec/graphql/resolvers/data_transfer/project_data_transfer_resolver_spec.rb": 2.9593741560001945,
  "spec/lib/gitlab/bitbucket_import/importers/pull_requests_notes_importer_spec.rb": 2.2983339810007237,
  "spec/services/projects/hashed_storage/migration_service_spec.rb": 2.276983325999936,
  "spec/lib/gitlab/ci/config/external/mapper/location_expander_spec.rb": 4.202049407000231,
  "spec/services/ml/find_or_create_model_version_service_spec.rb": 2.828982086999531,
  "spec/rubocop/cop/gitlab/service_response_spec.rb": 2.9726459040002737,
  "spec/lib/sidebars/your_work/menus/todos_menu_spec.rb": 2.1578566050002337,
  "spec/lib/gitlab/source_spec.rb": 3.7255843240000104,
  "spec/workers/gitlab/github_import/import_pull_request_worker_spec.rb": 3.0721407479995833,
  "spec/lib/gitlab/changelog/generator_spec.rb": 2.306006260999311,
  "spec/services/clusters/build_service_spec.rb": 3.2094055560000925,
  "spec/rubocop/cop/migration/sidekiq_queue_migrate_spec.rb": 3.055875801000184,
  "spec/presenters/prometheus_alert_presenter_spec.rb": 2.030512915000145,
  "spec/lib/gitlab/ci/config/entry/release/assets_spec.rb": 4.022010645999217,
  "spec/lib/bulk_imports/groups/pipelines/group_attributes_pipeline_spec.rb": 2.8463057139997545,
  "spec/services/vs_code/settings/create_or_update_service_spec.rb": 2.1984883189998072,
  "spec/serializers/container_repository_entity_spec.rb": 4.161518813999464,
  "spec/lib/gitlab/chat/responder/base_spec.rb": 3.043811313000333,
  "spec/views/shared/milestones/_top.html.haml_spec.rb": 1.384402028000295,
  "spec/lib/gitlab/ci/config/entry/release/assets/links_spec.rb": 2.351083464000112,
  "spec/models/users/banned_user_spec.rb": 4.046839421999721,
  "spec/lib/bulk_imports/projects/pipelines/external_pull_requests_pipeline_spec.rb": 2.1546314749994053,
  "spec/lib/gitlab/ci/reports/security/link_spec.rb": 1.129012218999378,
  "spec/routing/user_routing_spec.rb": 1.6357899579998048,
  "spec/lib/gitlab/database/async_indexes/index_base_spec.rb": 4.192818239000189,
  "spec/serializers/project_access_token_entity_spec.rb": 1.893273616999977,
  "spec/graphql/types/ci/pipeline_schedule_status_enum_spec.rb": 1.2188290849999248,
  "spec/helpers/projects/issues_helper_spec.rb": 1.5118771479992574,
  "spec/lib/gitlab/usage_data_counters/container_registry_event_counter_spec.rb": 4.31730448899998,
  "spec/services/packages/rpm/repository_metadata/build_filelist_xml_service_spec.rb": 1.3151869389994317,
  "spec/lib/gitlab/merge_requests/mergeability/results_store_spec.rb": 1.6595224539996707,
  "spec/helpers/admin/abuse_reports_helper_spec.rb": 2.058842679999543,
  "spec/lib/gitlab/ci/yaml_processor/dag_spec.rb": 1.9044710460002534,
  "spec/graphql/types/error_tracking/sentry_error_collection_type_spec.rb": 3.8549222130004637,
  "spec/scripts/database/schema_validator_spec.rb": 2.0938621539999076,
  "spec/serializers/import/bitbucket_server_provider_repo_entity_spec.rb": 2.0555031309995684,
  "spec/graphql/types/kas/agent_connection_type_spec.rb": 3.6628403639997487,
  "spec/rubocop/cop/code_reuse/finder_spec.rb": 2.1799820910000562,
  "spec/scripts/pipeline/average_reports_spec.rb": 1.6985338880003837,
  "spec/views/user_settings/user_settings/authentication_log.html.haml_spec.rb": 0.7921670129999256,
  "spec/workers/jira_connect/send_uninstalled_hook_worker_spec.rb": 1.6598682049998388,
  "spec/workers/clusters/agents/notify_git_push_worker_spec.rb": 3.1583959549998326,
  "spec/tooling/lib/tooling/api/request_spec.rb": 1.6795542909994765,
  "spec/graphql/types/work_items/widgets/hierarchy_update_input_type_spec.rb": 1.5901521949999733,
  "spec/rubocop/cop/migration/remove_concurrent_index_spec.rb": 1.6812899510005082,
  "spec/graphql/types/analytics/cycle_analytics/value_stream_type_spec.rb": 1.4984839709995867,
  "spec/lib/gitlab/checks/timed_logger_spec.rb": 3.290031455000644,
  "spec/lib/gitlab/console_spec.rb": 1.6738033219999124,
  "spec/tooling/danger/config_files_spec.rb": 1.620836080999652,
  "spec/views/admin/users/_form.html.haml_spec.rb": 1.3731257319996075,
  "spec/graphql/types/user_status_type_spec.rb": 1.129443098999218,
  "spec/services/issues/issuable_base_service_spec.rb": 0.6547419669996088,
  "spec/models/organizations_spec.rb": 1.0873745669996424,
  "spec/lib/gitlab/ci/build/hook_spec.rb": 2.695197439000367,
  "spec/lib/gitlab/ci/parsers/sbom/source/dependency_scanning_spec.rb": 1.1886388109996915,
  "spec/lib/gitlab/usage/metrics/instrumentations/ldap_encrypted_secrets_metric_spec.rb": 1.1300409909999871,
  "spec/lib/sidebars/organizations/menus/scope_menu_spec.rb": 1.2340099419998296,
  "spec/graphql/types/visibility_pipeline_id_type_enum_spec.rb": 1.158090655999331,
  "spec/lib/gitlab/database/background_migration/batch_metrics_spec.rb": 1.0741990710002938,
  "spec/lib/gitlab/kubernetes/kubeconfig/entry/context_spec.rb": 1.0606532720003088,
  "spec/models/concerns/runners_token_prefixable_spec.rb": 2.82297718800055,
  "spec/graphql/types/projects/repository_language_type_spec.rb": 1.3792010899996967,
  "spec/graphql/types/ci/pipeline_message_type_spec.rb": 1.1588883849999547,
  "spec/graphql/types/merge_request_state_event_enum_spec.rb": 0.6853012609999496,
  "spec/graphql/types/work_items/widgets/designs_type_spec.rb": 0.71462723500008,
  "spec/lib/gitlab/ci/config/external/mapper/filter_spec.rb": 0.714520356000321,
  "spec/graphql/types/packages/package_dependency_type_spec.rb": 0.7198475049999615,
  "spec/lib/gitlab/serializer/ci/variables_spec.rb": 0.6749308119997295,
  "spec/uploaders/metric_image_uploader_spec.rb": 0.6417782369999259,
  "spec/graphql/types/work_items/widgets/current_user_todos_type_spec.rb": 0.6454440269999395,
  "spec/initializers/rack_VULNDB-255039_patch_spec.rb": 0.6680712930001391,
  "spec/lib/gitlab/git/patches/patch_spec.rb": 0.6756533620000482,
  "spec/lib/gitlab/sidekiq_middleware/size_limiter/exceed_limit_error_spec.rb": 2.3093828199998825
}

Knapsack global time execution for tests: 51m 24s

Pending: (Failures listed here are expected and do not affect your suite's status)

  1) Database::BatchedBackgroundMigrationWorker behaves like it runs batched background migration jobs #perform when the base model does not exist does nothing
     # because the base model for main exists
     # ./spec/support/shared_examples/workers/batched_background_migration_worker_shared_examples.rb:76

  2) Database::BatchedBackgroundMigrationWorker behaves like it runs batched background migration jobs #perform when the base model does not exist logs a message indicating execution is skipped
     # because the base model for main exists
     # ./spec/support/shared_examples/workers/batched_background_migration_worker_shared_examples.rb:82

  3) Database::BatchedBackgroundMigrationWorker behaves like it runs batched background migration jobs #perform when the base model does exist when the tracking database is shared does nothing
     # Skipping because database main exists
     # ./spec/support/shared_examples/workers/batched_background_migration_worker_shared_examples.rb:105

  4) Ml::Candidate modules behaves like AtomicInternalId .has_internal_id Validation when presence validation is not required when creating an object does not raise an error if the internal id is blank
     # No reason given
     # ./spec/support/shared_examples/models/atomic_internal_id_shared_examples.rb:49

  5) Ml::Candidate modules behaves like AtomicInternalId .has_internal_id Validation when presence validation is not required when updating an object does not raise an error if the internal id is blank
     # No reason given
     # ./spec/support/shared_examples/models/atomic_internal_id_shared_examples.rb:57

Failures:

  1) Ci::PipelineProcessing::AtomicProcessingService Pipeline Processing Service when jobs change from stopped to alive status during pipeline processing runs ResetSkippedJobsService on the new alive jobs and logs event
     Failure/Error: expect(all_builds_names_and_statuses).to eq(statuses_1)

       expected: {:deploy1=>"skipped", :deploy2=>"skipped", :manual1=>"manual", :manual2=>"manual", :test1=>"skipped", :test2=>"skipped"}
            got: {:deploy1=>"skipped", :deploy2=>"created", :manual1=>"manual", :manual2=>"manual", :test1=>"created", :test2=>"created"}

       (compared using ==)

       Diff:

       @@ -1,7 +1,7 @@
        :deploy1 => "skipped",
       -:deploy2 => "skipped",
       +:deploy2 => "created",
        :manual1 => "manual",
        :manual2 => "manual",
       -:test1 => "skipped",
       -:test2 => "skipped",
       +:test1 => "created",
       +:test2 => "created",
     # ./spec/services/ci/pipeline_processing/atomic_processing_service_spec.rb:1020:in `block (4 levels) in <top (required)>'
     # ./spec/services/ci/pipeline_processing/atomic_processing_service_spec.rb:933:in `block (5 levels) in <top (required)>'
     # ./spec/services/ci/pipeline_processing/atomic_processing_service_spec.rb:933:in `block (4 levels) in <top (required)>'
     # ./spec/spec_helper.rb:426:in `block (3 levels) in <top (required)>'
     # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'
     # ./spec/spec_helper.rb:417:in `block (2 levels) in <top (required)>'
     # ./spec/spec_helper.rb:413:in `block (3 levels) in <top (required)>'
     # ./lib/gitlab/application_context.rb:70:in `with_raw_context'
     # ./spec/spec_helper.rb:413:in `block (2 levels) in <top (required)>'
     # ./spec/spec_helper.rb:260:in `block (2 levels) in <top (required)>'
     # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'
     # ./spec/support/fast_quarantine.rb:22:in `block (2 levels) in <top (required)>'
     # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'
     # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'
     # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'

  2) Ci::PipelineProcessing::AtomicProcessingService Pipeline Processing Service when jobs change from stopped to alive status during pipeline processing when the new alive jobs belong to different users runs ResetSkippedJobsService on the new alive jobs
     Failure/Error: expect(all_builds_names_and_statuses).to eq(statuses_2)

       expected: {:deploy1=>"skipped", :deploy2=>"skipped", :manual1=>"pending", :manual2=>"pending", :test1=>"skipped", :test2=>"skipped"}
            got: {:deploy1=>"skipped", :deploy2=>"created", :manual1=>"pending", :manual2=>"pending", :test1=>"created", :test2=>"created"}

       (compared using ==)

       Diff:

       @@ -1,7 +1,7 @@
        :deploy1 => "skipped",
       -:deploy2 => "skipped",
       +:deploy2 => "created",
        :manual1 => "pending",
        :manual2 => "pending",
       -:test1 => "skipped",
       -:test2 => "skipped",
       +:test1 => "created",
       +:test2 => "created",
     # ./spec/services/ci/pipeline_processing/atomic_processing_service_spec.rb:1063:in `block (5 levels) in <top (required)>'
     # ./spec/services/ci/pipeline_processing/atomic_processing_service_spec.rb:933:in `block (5 levels) in <top (required)>'
     # ./spec/services/ci/pipeline_processing/atomic_processing_service_spec.rb:933:in `block (4 levels) in <top (required)>'
     # ./spec/spec_helper.rb:426:in `block (3 levels) in <top (required)>'
     # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'
     # ./spec/spec_helper.rb:417:in `block (2 levels) in <top (required)>'
     # ./spec/spec_helper.rb:413:in `block (3 levels) in <top (required)>'
     # ./lib/gitlab/application_context.rb:70:in `with_raw_context'
     # ./spec/spec_helper.rb:413:in `block (2 levels) in <top (required)>'
     # ./spec/spec_helper.rb:260:in `block (2 levels) in <top (required)>'
     # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'
     # ./spec/support/fast_quarantine.rb:22:in `block (2 levels) in <top (required)>'
     # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'
     # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'
     # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'

Finished in 52 minutes 53 seconds (files took 2 minutes 2.7 seconds to load)
3306 examples, 2 failures, 5 pending

Failed examples:

rspec ./spec/services/ci/pipeline_processing/atomic_processing_service_spec.rb:1013 # Ci::PipelineProcessing::AtomicProcessingService Pipeline Processing Service when jobs change from stopped to alive status during pipeline processing runs ResetSkippedJobsService on the new alive jobs and logs event
rspec ./spec/services/ci/pipeline_processing/atomic_processing_service_spec.rb:1061 # Ci::PipelineProcessing::AtomicProcessingService Pipeline Processing Service when jobs change from stopped to alive status during pipeline processing when the new alive jobs belong to different users runs ResetSkippedJobsService on the new alive jobs

Randomized with seed 38500

Stopped processing SimpleCov as a previous error not related to SimpleCov has been detected
[TEST PROF INFO] Time spent in factories: 08:13.494 (15.31% of total time)
RSpec exited with 1.
[job-metrics] Updating job metrics tag for the CI/CD job.
RSPEC_RETRIED_TESTS_REPORT_PATH: rspec/retried_tests-6413139483.txt
Retrying the failing examples in a new RSpec process...
$ gem install junit_merge --no-document --version 0.1.2
Successfully installed nokogiri-1.16.3-x86_64-linux
Successfully installed junit_merge-0.1.2
2 gems installed
==> 'gem install junit_merge --no-document --version 0.1.2' succeeded in 1 seconds.
Running RSpec command: bin/rspec -Ispec -rspec_helper --color --failure-exit-code 1 --error-exit-code 2 --format documentation --format Support::Formatters::JsonFormatter --out rspec/rspec-retry-6413139483.json --format RspecJunitFormatter --out rspec/rspec-retry-6413139483.xml --only-failures --pattern "spec/{bin,channels,components,config,contracts,db,dependencies,elastic,elastic_integration,experiments,factories,finders,frontend,graphql,haml_lint,helpers,initializers,keeps,lib,metrics_server,models,policies,presenters,rack_servers,replicators,routing,rubocop,scripts,serializers,services,sidekiq,sidekiq_cluster,spam,support_specs,tasks,uploaders,validators,views,workers,tooling,dot_gitlab_ci}{,/**/}*_spec.rb"
RSpec's reporter has already been initialized with #<IO:<STDERR>> as the deprecation stream, so your change to `deprecation_stream` will be ignored. You should configure it earlier for it to take effect, or use the `--deprecation-out` CLI option. (Called from /builds/gitlab-org/gitlab/spec/support/rspec.rb:59:in `block in <main>')
Run options: include {:last_run_status=>"failed"}

# [RSpecRunTime] Starting RSpec timer...
[TEST PROF INFO] EventProf enabled (sql.active_record)
unknown OID 2249: failed to recognize type of 'pg_stat_file'. It will be treated as String.
unknown OID 2249: failed to recognize type of 'pg_stat_file'. It will be treated as String.

Test environment set up in 0.532280905 seconds
# [RSpecRunTime] Starting example group spec/services/ci/pipeline_processing/atomic_processing_service_spec.rb. Expected to take 5 minutes 49.22 seconds.

Ci::PipelineProcessing::AtomicProcessingService
  Pipeline Processing Service
    when jobs change from stopped to alive status during pipeline processing
rspec_profiling couldn't collect an example: key not found: :seed. Further warnings suppressed.
      runs ResetSkippedJobsService on the new alive jobs and logs event
      when the new alive jobs belong to different users
        runs ResetSkippedJobsService on the new alive jobs (FAILED - 1)

# [RSpecRunTime] Finishing example group spec/services/ci/pipeline_processing/atomic_processing_service_spec.rb. It took 6.99 seconds. Expected to take 5 minutes 49.22 seconds.
# [RSpecRunTime] RSpec elapsed time: 13.15 seconds. Current RSS: ~1348M. load average: 1.08 1.07 1.05 1/290 21341


auto_explain log contains 1758 entries for main, writing to /builds/gitlab-org/gitlab/auto_explain/rspec-unit-pg14-18-32.21234.main.ndjson.gz
took 36.30059308
auto_explain log contains 1758 entries for ci, writing to /builds/gitlab-org/gitlab/auto_explain/rspec-unit-pg14-18-32.21234.ci.ndjson.gz
took 36.206805018
[TEST PROF INFO] EventProf results for sql.active_record

Total time: 00:02.217 of 00:07.030 (31.54%)
Total events: 996

Top 5 slowest suites (by time):

Ci::PipelineP...cessingService (./spec/services/ci/pipeline_processing/atomic_processing_service_spec.rb:5) – 00:02.217 (996 / 2) of 00:07.030 (31.54%)


Failures:

  1) Ci::PipelineProcessing::AtomicProcessingService Pipeline Processing Service when jobs change from stopped to alive status during pipeline processing when the new alive jobs belong to different users runs ResetSkippedJobsService on the new alive jobs
     Failure/Error: expect(all_builds_names_and_statuses).to eq(statuses_2)

       expected: {:deploy1=>"skipped", :deploy2=>"skipped", :manual1=>"pending", :manual2=>"pending", :test1=>"skipped", :test2=>"skipped"}
            got: {:deploy1=>"skipped", :deploy2=>"created", :manual1=>"pending", :manual2=>"pending", :test1=>"created", :test2=>"created"}

       (compared using ==)

       Diff:

       @@ -1,7 +1,7 @@
        :deploy1 => "skipped",
       -:deploy2 => "skipped",
       +:deploy2 => "created",
        :manual1 => "pending",
        :manual2 => "pending",
       -:test1 => "skipped",
       -:test2 => "skipped",
       +:test1 => "created",
       +:test2 => "created",
     # ./spec/services/ci/pipeline_processing/atomic_processing_service_spec.rb:1063:in `block (5 levels) in <main>'
     # ./spec/services/ci/pipeline_processing/atomic_processing_service_spec.rb:933:in `block (5 levels) in <main>'
     # ./spec/services/ci/pipeline_processing/atomic_processing_service_spec.rb:933:in `block (4 levels) in <main>'
     # ./spec/spec_helper.rb:426:in `block (3 levels) in <top (required)>'
     # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'
     # ./spec/spec_helper.rb:417:in `block (2 levels) in <top (required)>'
     # ./spec/spec_helper.rb:413:in `block (3 levels) in <top (required)>'
     # ./lib/gitlab/application_context.rb:70:in `with_raw_context'
     # ./spec/spec_helper.rb:413:in `block (2 levels) in <top (required)>'
     # ./spec/spec_helper.rb:260:in `block (2 levels) in <top (required)>'
     # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <main>'
     # ./spec/support/fast_quarantine.rb:22:in `block (2 levels) in <main>'
     # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <main>'
     # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'
     # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <main>'

Finished in 1 minute 25.73 seconds (files took 47.77 seconds to load)
2 examples, 1 failure

Failed examples:

rspec ./spec/services/ci/pipeline_processing/atomic_processing_service_spec.rb:1061 # Ci::PipelineProcessing::AtomicProcessingService Pipeline Processing Service when jobs change from stopped to alive status during pipeline processing when the new alive jobs belong to different users runs ResetSkippedJobsService on the new alive jobs

[TEST PROF INFO] Time spent in factories: 00:02.081 (2.37% of total time)
./scripts/rspec_helpers.sh: line 336: pop_var_context: head of shell_variables not a function context
./scripts/rspec_helpers.sh: line 220: pop_var_context: head of shell_variables not a function context
./scripts/rspec_helpers.sh: line 295: pop_var_context: head of shell_variables not a function context
scripts/utils.sh: line 83: pop_var_context: head of shell_variables not a function context
/usr/bin/bash: line 401: pop_var_context: head of shell_variables not a function context
section_end:1710728548:step_script
section_start:1710728548:after_script
Running after_script
Running after script...
$ source scripts/utils.sh
$ bundle exec gem list gitlab_quality-test_tooling
gitlab_quality-test_tooling (1.17.0)
$ section_start "relate-failure-issue" "Report test failures" # collapsed multi-line command
section_start:1710728549:relate-failure-issue[collapsed=true]
Report test failures
Reporting test failures in `rspec/rspec-retry-6413139483.json` as issues in project `gitlab-org/gitlab` via the API at `https://gitlab.com/api/v4`.
=> Reporting 2 tests in rspec/rspec-retry-6413139483.json
 => Relating issues for test 'Ci::PipelineProcessing::AtomicProcessingService Pipeline Processing Service when jobs change from stopped to alive status during pipeline processing when the new alive jobs belong to different users runs ResetSkippedJobsService on the new alive jobs'...
  => [DEBUG] Found issue https://gitlab.com/gitlab-org/gitlab/-/issues/449096 but stacktraces are too different (16.0%).
  => [DEBUG] Issue stacktrace:
----------------
expect(all_builds_names_and_statuses).to eq(statuses_2)
expected: {:deploy1=>"skipped", :deploy2=>"skipped", :manual1=>"pending", :manual2=>"pending", :test1=>"skipped", :test2=>"skipped"}
got: {:deploy1=>"skipped", :deploy2=>"skipped", :manual1=>"pending", :manual2=>"pending", :test1=>"created", :test2=>"skipped"}
(compared using ==)
Diff:
@@ -2,6 +2,6 @@
:deploy2 => "skipped",
:manual1 => "pending",
:manual2 => "pending",
-:test1 => "skipped",
+:test1 => "created",
:test2 => "skipped",
----------------
  => [DEBUG] Failure stacktrace:
----------------
expect(all_builds_names_and_statuses).to eq(statuses_2)
expected: {:deploy1=>"skipped", :deploy2=>"skipped", :manual1=>"pending", :manual2=>"pending", :test1=>"skipped", :test2=>"skipped"}
got: {:deploy1=>"skipped", :deploy2=>"created", :manual1=>"pending", :manual2=>"pending", :test1=>"created", :test2=>"created"}
(compared using ==)
Diff:
@@ -1,7 +1,7 @@
:deploy1 => "skipped",
-:deploy2 => "skipped",
+:deploy2 => "created",
:manual1 => "pending",
:manual2 => "pending",
-:test1 => "skipped",
-:test2 => "skipped",
+:test1 => "created",
+:test2 => "created",
----------------
  => [DEBUG] Stacktrace doesn't match the regex ((?m-ix:### Stack trace\s*(```)(?m-ix:(?:.*Failure\/Error:(?<stacktrace>.+))|(?<stacktrace>.+))(```)\n*\n###))!
  => [DEBUG] Stacktrace couldn't be found for https://gitlab.com/gitlab-org/gitlab/-/issues/448488!
  => No system logs or correlation id provided, skipping this section in issue description
  => [DEBUG] product_group: ; feature_category: continuous_integration
Created new issue: https://gitlab.com/gitlab-org/gitlab/-/issues/450650
section_end:1710728553:relate-failure-issue

$ section_start "flaky-test-issues" "Report test flakiness" # collapsed multi-line command
section_start:1710728553:flaky-test-issues[collapsed=true]
Report test flakiness
Reporting flaky tests in `rspec/rspec-retry-6413139483.json` as issues in project `gitlab-org/gitlab` via the API at `https://gitlab.com/api/v4`.
=> Reporting 2 tests in rspec/rspec-retry-6413139483.json
 => Reporting flakiness for test 'Ci::PipelineProcessing::AtomicProcessingService Pipeline Processing Service when jobs change from stopped to alive status during pipeline processing runs ResetSkippedJobsService on the new alive jobs and logs event'...
   => Adding the flaky test to the existing issue: https://gitlab.com/gitlab-org/gitlab/-/issues/450395
   => Adding the flaky test to the existing issue: https://gitlab.com/gitlab-org/gitlab/-/issues/446201
section_end:1710728561:flaky-test-issues

$ section_start "slow-test-issues" "Report test slowness" # collapsed multi-line command
section_start:1710728561:slow-test-issues[collapsed=true]
Report test slowness
Reporting slow tests in `rspec/rspec-*.json` as issues in project `gitlab-org/gitlab` via the API at `https://gitlab.com/api/v4`.
=> Reporting 3306 tests in rspec/rspec-6413139483.json
=> Reporting 2 tests in rspec/rspec-retry-6413139483.json
section_end:1710728563:slow-test-issues

$ section_start "slow-test-merge-request-report-note" "Report test slowness in MR note" # collapsed multi-line command
section_start:1710728563:slow-test-merge-request-report-note[collapsed=true]
Report test slowness in MR note
section_end:1710728563:slow-test-merge-request-report-note

$ section_start "knapsack-report-issues" "Report test files close to timing out" # collapsed multi-line command
section_start:1710728563:knapsack-report-issues[collapsed=true]
Report test files close to timing out
Reporting spec file exceeding Knapsack expectaton issues in project `gitlab-org/gitlab` via the API at `https://gitlab.com/api/v4`.
=> Reporting 0 spec files exceeding Knapsack expectation.
section_end:1710728564:knapsack-report-issues

$ tooling/bin/push_job_metrics || true
[job-metrics] Pushing job metrics file for the CI/CD job.
[job-metrics] Pushed 4 CI job metric entries to InfluxDB.
section_end:1710728565:after_script
section_start:1710728565:upload_artifacts_on_failure
Uploading artifacts for failed job
Uploading artifacts...
auto_explain/: found 5 matching artifact files and directories 
coverage/: found 4 matching artifact files and directories 
crystalball/: found 2 matching artifact files and directories 
deprecations/: found 6 matching artifact files and directories 
knapsack/: found 4 matching artifact files and directories 
rspec/: found 17 matching artifact files and directories 
WARNING: tmp/capybara/: no matching files. Ensure that the artifact path is relative to the working directory (/builds/gitlab-org/gitlab) 
log/*.log: found 20 matching artifact files and directories 
WARNING: Upload request redirected                  location=https://gitlab.com/api/v4/jobs/6413139483/artifacts?artifact_format=zip&artifact_type=archive&expire_in=31d new-url=https://gitlab.com
WARNING: Retrying...                                context=artifacts-uploader error=request redirected
Uploading artifacts as "archive" to coordinator... 201 Created  id=6413139483 responseStatus=201 Created token=glcbt-65
Uploading artifacts...
rspec/rspec-*.xml: found 2 matching artifact files and directories 
WARNING: Upload request redirected                  location=https://gitlab.com/api/v4/jobs/6413139483/artifacts?artifact_format=gzip&artifact_type=junit&expire_in=31d new-url=https://gitlab.com
WARNING: Retrying...                                context=artifacts-uploader error=request redirected
Uploading artifacts as "junit" to coordinator... 201 Created  id=6413139483 responseStatus=201 Created token=glcbt-65
section_end:1710728573:upload_artifacts_on_failure
section_start:1710728573:cleanup_file_variables
Cleaning up project directory and file based variables
section_end:1710728573:cleanup_file_variables
ERROR: Job failed: exit code 1