rspec-ee unit pg12 15/16
Passed Started
by
@leetickett

Lee Tickett
1Running with gitlab-runner 15.1.0~beta.20.g62206bb2 (62206bb2)2 on blue-1.shared-gitlab-org.runners-manager.gitlab.com/default KzYhZxBv3 feature flags: FF_USE_FASTZIP:true6Using Docker executor with image registry.gitlab.com/gitlab-org/gitlab-build-images/debian-bullseye-ruby-2.7.patched-golang-1.17-node-16.14-postgresql-12:rubygems-3.2-git-2.36-lfs-2.9-chrome-101-yarn-1.22-graphicsmagick-1.3.36 ...7Starting service postgres:12 ...8Pulling docker image postgres:12 ...9Using docker image sha256:ac3b8cd6a8b42e839456256bc514d6230b5a2538c738b3d522e1384a2a172b96 for postgres:12 with digest postgres@sha256:e6ffad42c91a4d5a29257a27ac4e160c3ae7196696b37bf2e80410024ed95951 ...10Starting service redis:6.0-alpine ...11Pulling docker image redis:6.0-alpine ...12Using docker image sha256:09401fed2a421bf0019f96dcec70c85f82ec7b76beb1ae589547b0dc302d6b76 for redis:6.0-alpine with digest redis@sha256:217a9db40a914cc3f6206a143a4d750da0607500cc013a147a4979e08e40beff ...13Starting service elasticsearch:7.17.0 ...14Pulling docker image elasticsearch:7.17.0 ...15Using docker image sha256:6fe993d6e7ed5e00a18f9b146d867b77559bf9948e6596bbf880ddbefeec46f7 for elasticsearch:7.17.0 with digest elasticsearch@sha256:332c6d416808f6e9a2cbcbe0170d9a9bb14bfe772180d37de5084c223dd8948b ...16Waiting for services to be up and running (timeout 30 seconds)...17Authenticating with credentials from job payload (GitLab Registry)18Pulling docker image registry.gitlab.com/gitlab-org/gitlab-build-images/debian-bullseye-ruby-2.7.patched-golang-1.17-node-16.14-postgresql-12:rubygems-3.2-git-2.36-lfs-2.9-chrome-101-yarn-1.22-graphicsmagick-1.3.36 ...19Using docker image sha256:642191311550aaa03aba1d11d8d921042ead8ee5afeb833fc7e4e3f933b7ed04 for registry.gitlab.com/gitlab-org/gitlab-build-images/debian-bullseye-ruby-2.7.patched-golang-1.17-node-16.14-postgresql-12:rubygems-3.2-git-2.36-lfs-2.9-chrome-101-yarn-1.22-graphicsmagick-1.3.36 with digest registry.gitlab.com/gitlab-org/gitlab-build-images/debian-bullseye-ruby-2.7.patched-golang-1.17-node-16.14-postgresql-12@sha256:f0990c59018be757dd56365bb2cc6791d65f3f4bf99a431c3b26e3df08260f6a ...21Running on runner-kzyhzxbv-project-278964-concurrent-0 via runner-kzyhzxbv-shared-gitlab-org-1656898101-bd928101...23$ eval "$CI_PRE_CLONE_SCRIPT"24Fetching changes with git depth set to 20...25Initialized empty Git repository in /builds/gitlab-org/gitlab/.git/26Created fresh repository.27remote: Enumerating objects: 115982, done. 28remote: Counting objects: 100% (115982/115982), done. 29remote: Compressing objects: 100% (81018/81018), done. 30remote: Total 115982 (delta 48513), reused 75495 (delta 30560), pack-reused 0 31Receiving objects: 100% (115982/115982), 108.44 MiB | 20.14 MiB/s, done.32Resolving deltas: 100% (48513/48513), done.34 * [new ref] refs/pipelines/579176392 -> refs/pipelines/57917639235Checking out 204b4379 as refs/merge-requests/91556/merge...36Skipping Git submodules setup37$ git remote set-url origin "${CI_REPOSITORY_URL}"39Checking cache for ruby-gems-debian-bullseye-ruby-2.7-10...40Downloading cache.zip from https://storage.googleapis.com/gitlab-com-runners-cache/project/278964/ruby-gems-debian-bullseye-ruby-2.7-10 41Successfully extracted cache42Checking cache for gitaly-ruby-gems-debian-bullseye-ruby-2.7-10...43Downloading cache.zip from https://storage.googleapis.com/gitlab-com-runners-cache/project/278964/gitaly-ruby-gems-debian-bullseye-ruby-2.7-10 44Successfully extracted cache46Downloading artifacts for compile-test-assets (2673336706)...47Downloading artifacts from coordinator... ok id=2673336706 responseStatus=200 OK token=YR14mC9c48Downloading artifacts for detect-tests (2673336715)...49Downloading artifacts from coordinator... ok id=2673336715 responseStatus=200 OK token=YR14mC9c50Downloading artifacts for retrieve-tests-metadata (2673336722)...51Downloading artifacts from coordinator... ok id=2673336722 responseStatus=200 OK token=YR14mC9c52Downloading artifacts for setup-test-env (2673336712)...53Downloading artifacts from coordinator... ok id=2673336712 responseStatus=200 OK token=YR14mC9c55Using docker image sha256:642191311550aaa03aba1d11d8d921042ead8ee5afeb833fc7e4e3f933b7ed04 for registry.gitlab.com/gitlab-org/gitlab-build-images/debian-bullseye-ruby-2.7.patched-golang-1.17-node-16.14-postgresql-12:rubygems-3.2-git-2.36-lfs-2.9-chrome-101-yarn-1.22-graphicsmagick-1.3.36 with digest registry.gitlab.com/gitlab-org/gitlab-build-images/debian-bullseye-ruby-2.7.patched-golang-1.17-node-16.14-postgresql-12@sha256:f0990c59018be757dd56365bb2cc6791d65f3f4bf99a431c3b26e3df08260f6a ...56$ echo $FOSS_ONLY57$ [ "$FOSS_ONLY" = "1" ] && rm -rf ee/ qa/spec/ee/ qa/qa/specs/features/ee/ qa/qa/ee/ qa/qa/ee.rb58$ export GOPATH=$CI_PROJECT_DIR/.go59$ mkdir -p $GOPATH60$ source scripts/utils.sh61$ source scripts/prepare_build.sh623.2.3363Bundler version 2.2.3364Successfully installed bundler-2.3.15651 gem installed66production:development67Settings are listed in order of priority. The top value will be used.68clean69Set for your local app (/builds/gitlab-org/gitlab/.bundle/config): true70frozen71Set via BUNDLE_FROZEN: true72install_flags73Set via BUNDLE_INSTALL_FLAGS: "--jobs=$(nproc) --retry=3 --quiet"74path75Set for your local app (/builds/gitlab-org/gitlab/.bundle/config): "/builds/gitlab-org/gitlab/vendor"76without77Set via BUNDLE_WITHOUT: [:production, :development]78$ bundle install --jobs=$(nproc) --retry=3 --quiet && bundle check79Don't run Bundler as root. Bundler can ask for sudo if it is needed, and80installing your bundle as root will break this application for all non-root81users on this machine.82The Gemfile's dependencies are satisfied83==> 'bundle install --jobs=$(nproc) --retry=3 --quiet && bundle check' succeeded in 2 seconds.84$ bundle pristine pg85Installing pg 1.3.5 with native extensions86==> 'bundle pristine pg' succeeded in 11 seconds.87Using decomposed database config (config/database.yml.decomposed-postgresql)88$ setup_db_user_only89CREATE ROLE90GRANT91==> 'setup_db_user_only' succeeded in 0 seconds.92$ bundle exec rake db:drop db:create db:schema:load db:migrate93Dropped database 'gitlabhq_test'94Dropped database 'gitlabhq_test_ci'95Dropped database 'gitlabhq_geo_test'96Created database 'gitlabhq_test'97Created database 'gitlabhq_test_ci'98Created database 'gitlabhq_geo_test'99==> 'bundle exec rake db:drop db:create db:schema:load db:migrate' succeeded in 43 seconds.100$ setup_db_praefect101SELECT pg_catalog.set_config('search_path', '', false);102CREATE DATABASE praefect_test ENCODING 'UTF8';103==> 'setup_db_praefect' succeeded in 0 seconds.104$ run_timed_command "gem install knapsack --no-document"105$ gem install knapsack --no-document106Successfully installed knapsack-4.0.01071 gem installed108==> 'gem install knapsack --no-document' succeeded in 0 seconds.109$ run_timed_command "scripts/gitaly-test-spawn"110$ scripts/gitaly-test-spawn111find: ‘/builds/gitlab-org/gitlab/tmp/tests/gitaly/cmd’: No such file or directory112Don't run Bundler as root. Bundler can ask for sudo if it is needed, and113installing your bundle as root will break this application for all non-root114users on this machine.115Using abstract_type 0.0.7116Using concurrent-ruby 1.1.10117Using i18n 1.10.0118Using minitest 5.15.0119Using tzinfo 2.0.4120Using zeitwerk 2.5.4121Using activesupport 6.1.4.7122Using builder 3.2.4123Using erubi 1.10.0124Using mini_portile2 2.8.0125Using racc 1.6.0126Using nokogiri 1.13.6 (x86_64-linux)127Using rails-dom-testing 2.0.3128Using crass 1.0.6129Using loofah 2.16.0130Using rails-html-sanitizer 1.4.2131Using actionview 6.1.4.7132Using rack 2.2.3133Using rack-test 1.1.0134Using actionpack 6.1.4.7135Using ice_nine 0.11.2136Using thread_safe 0.3.6137Using memoizable 0.4.2138Using adamantium 0.2.0139Using public_suffix 4.0.6140Using addressable 2.7.0141Using ast 2.4.2142Using binding_ninja 0.2.3143Using bundler 2.3.15144Using charlock_holmes 0.7.7145Using coderay 1.1.2146Using equalizer 0.0.11147Using concord 0.1.5148Using diff-lcs 1.3149Using dotenv 2.7.6150Using escape_utils 1.2.1151Using factory_bot 5.0.2152Using multipart-post 2.1.1153Using faraday 1.0.1154Using ffi 1.15.3155Using json 2.5.1156Using gemojione 3.3.0157Using mini_mime 1.0.2158Using rugged 1.2.0159Using github-linguist 7.12.1160Using github-markup 1.7.0161Using mime-types-data 3.2020.1104162Using mime-types 3.3.1163Using gitlab-gollum-rugged_adapter 0.4.4.4.gitlab.1164Using rouge 3.27.0165Using sanitize 6.0.0166Using stringex 2.8.5167Using gitlab-gollum-lib 4.2.7.10.gitlab.2168Using google-protobuf 3.19.1 (x86_64-linux)169Using googleapis-common-protos-types 1.3.0170Using grpc 1.42.0 (x86_64-linux)171Using opentracing 0.5.0172Using thrift 0.15.0173Using jaeger-client 1.1.0174Using pg_query 2.1.1175Using redis 4.4.0176Using gitlab-labkit 0.23.0177Using rubyzip 2.3.2178Using thor 1.1.0179Using tomlrb 2.0.1180Using with_env 1.1.0181Using rexml 3.2.5182Using xml-simple 1.1.9183Using gitlab-license_finder 6.14.2.1184Using gitlab-markup 1.7.1185Using grpc-tools 1.42.0186Using sawyer 0.8.2187Using octokit 4.20.0188Using reverse_markdown 1.4.0189Using licensee 9.14.1190Using method_source 0.9.2191Using msgpack 1.3.3192Using optimist 3.0.1193Using parallel 1.19.2194Using parser 3.0.3.2195Using procto 0.0.3196Using unparser 0.4.7197Using proc_to_ast 0.1.0198Using pry 0.12.2199Using rainbow 3.0.0200Using rbtrace 0.4.14201Using rdoc 6.3.2202Using regexp_parser 1.8.1203Using rspec-support 3.8.0204Using rspec-core 3.8.0205Using rspec-expectations 3.8.3206Using rspec-mocks 3.8.0207Using rspec 3.8.0208Using rspec-parameterized 0.4.2209Using rubocop-ast 0.2.0210Using ruby-progressbar 1.10.1211Using unicode-display_width 1.7.0212Using rubocop 0.86.0213Using sentry-raven 3.0.4214Using timecop 0.9.1215Bundle complete! 22 Gemfile dependencies, 100 gems now installed.216Gems in the groups 'production' and 'development' were not installed.217Bundled gems are installed into `/builds/gitlab-org/gitlab/vendor/gitaly-ruby`218Checking gitaly-ruby Gemfile...219Checking gitaly-ruby bundle...220The Gemfile's dependencies are satisfied221Trying to connect to gitaly: ............................................. OK222Trying to connect to gitaly2: .............................................................. OK223Starting Praefect with in-memory election strategyTrying to connect to praefect: ....... OK224==> 'scripts/gitaly-test-spawn' succeeded in 13 seconds.225$ source ./scripts/rspec_helpers.sh226$ rspec_paralellized_job "--tag ~quarantine --tag ~level:migration"227SKIP_FLAKY_TESTS_AUTOMATICALLY: true228RETRY_FAILED_TESTS_IN_NEW_PROCESS: true229KNAPSACK_GENERATE_REPORT: true230FLAKY_RSPEC_GENERATE_REPORT: true231KNAPSACK_TEST_FILE_PATTERN: {ee/}spec/{bin,channels,config,db,dependencies,elastic,elastic_integration,experiments,events,factories,finders,frontend,graphql,haml_lint,helpers,initializers,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,components}{,/**/}*_spec.rb232KNAPSACK_LOG_LEVEL: debug233KNAPSACK_REPORT_PATH: knapsack/rspec-ee_unit_pg12_15_16_report.json234FLAKY_RSPEC_SUITE_REPORT_PATH: rspec/flaky/report-suite.json235FLAKY_RSPEC_REPORT_PATH: rspec/flaky/all_rspec-ee_unit_pg12_15_16_report.json236NEW_FLAKY_RSPEC_REPORT_PATH: rspec/flaky/new_rspec-ee_unit_pg12_15_16_report.json237SKIPPED_FLAKY_TESTS_REPORT_PATH: rspec/flaky/skipped_flaky_tests_rspec-ee_unit_pg12_15_16_report.txt238RETRIED_TESTS_REPORT_PATH: rspec/flaky/retried_tests_rspec-ee_unit_pg12_15_16_report.txt239CRYSTALBALL: 240Knapsack node specs:241ee/spec/models/ee/group_spec.rb242ee/spec/models/application_setting_spec.rb243ee/spec/lib/gitlab/git_access_spec.rb244ee/spec/tasks/gitlab/elastic_rake_spec.rb245ee/spec/models/ee/ci/job_artifact_spec.rb246ee/spec/replicators/geo/job_artifact_replicator_spec.rb247ee/spec/replicators/geo/pipeline_artifact_replicator_spec.rb248ee/spec/services/vulnerabilities/confirm_service_spec.rb249ee/spec/elastic_integration/global_search_spec.rb250ee/spec/lib/ee/gitlab/ci/templates/templates_spec.rb251ee/spec/models/dast/profile_schedule_spec.rb252ee/spec/models/concerns/elastic/repository_spec.rb253ee/spec/models/ee/protected_ref_access_spec.rb254ee/spec/workers/audit_events/audit_event_streaming_worker_spec.rb255ee/spec/elastic/migrate/20220613120500_migrate_commits_to_separate_index_spec.rb256ee/spec/services/audit_event_service_spec.rb257ee/spec/services/merge_requests/sync_report_approver_approval_rules_spec.rb258ee/spec/lib/ee/gitlab/web_hooks/rate_limiter_spec.rb259ee/spec/models/snippet_repository_spec.rb260ee/spec/services/groups/transfer_service_spec.rb261ee/spec/finders/issues_finder_spec.rb262ee/spec/models/ee/audit_event_spec.rb263ee/spec/services/epics/epic_links/update_service_spec.rb264ee/spec/services/ldap_group_reset_service_spec.rb265ee/spec/services/app_sec/dast/scanner_profiles/create_service_spec.rb266ee/spec/lib/gitlab/ci/templates/Jobs/dast_default_branch_gitlab_ci_yaml_spec.rb267ee/spec/models/ee/list_spec.rb268ee/spec/lib/gitlab/email/handler/create_note_handler_spec.rb269ee/spec/lib/gitlab/auth/group_saml/gma_membership_enforcer_spec.rb270ee/spec/finders/geo/terraform_state_version_registry_finder_spec.rb271ee/spec/lib/audit/group_push_rules_changes_auditor_spec.rb272ee/spec/finders/groups_with_templates_finder_spec.rb273ee/spec/models/audit_events/external_audit_event_destination_spec.rb274ee/spec/lib/ee/api/helpers/scim_pagination_spec.rb275ee/spec/lib/gitlab/subscription_portal/clients/graphql_spec.rb276ee/spec/lib/gitlab/ci/minutes/runners_availability_spec.rb277ee/spec/finders/security/scan_execution_policies_finder_spec.rb278ee/spec/services/geo/repository_updated_service_spec.rb279ee/spec/models/protected_environment/deploy_access_level_spec.rb280ee/spec/workers/geo/repository_verification/secondary/shard_worker_spec.rb281ee/spec/models/security/finding_spec.rb282ee/spec/services/projects/gitlab_projects_import_service_spec.rb283ee/spec/services/ee/boards/issues/create_service_spec.rb284ee/spec/finders/template_finder_spec.rb285ee/spec/services/groups/mark_for_deletion_service_spec.rb286ee/spec/lib/ee/gitlab/auth/ldap/sync/groups_spec.rb287ee/spec/lib/gitlab/auth/smartcard/ldap_certificate_spec.rb288ee/spec/serializers/vulnerabilities/feedback_entity_spec.rb289ee/spec/models/deployment_spec.rb290ee/spec/tasks/gitlab/uploads/migrate_rake_spec.rb291ee/spec/services/app_sec/dast/scans/create_service_spec.rb292ee/spec/lib/gitlab/auth/group_saml/identity_linker_spec.rb293ee/spec/models/sca/license_policy_spec.rb294ee/spec/services/namespaces/check_excess_storage_size_service_spec.rb295ee/spec/workers/geo/container_repository_sync_dispatch_worker_spec.rb296ee/spec/services/ee/vulnerability_feedback_module/update_service_spec.rb297ee/spec/services/wikis/create_attachment_service_spec.rb298ee/spec/models/gitlab/seat_link_data_spec.rb299ee/spec/lib/gitlab/ci/templates/dast_api_latest_gitlab_ci_yaml_spec.rb300ee/spec/models/saml_group_link_spec.rb301ee/spec/services/ci/play_build_service_spec.rb302ee/spec/services/compliance_management/frameworks/update_service_spec.rb303ee/spec/lib/gitlab/ci/templates/Jobs/load_performance_testing_gitlab_ci_yaml_spec.rb304ee/spec/lib/gitlab/analytics/cycle_analytics/stage_events/merge_request_label_added_spec.rb305ee/spec/graphql/mutations/vulnerabilities/create_external_issue_link_spec.rb306ee/spec/services/audit_events/release_associate_milestone_audit_event_service_spec.rb307ee/spec/workers/geo/repository_verification/primary/batch_worker_spec.rb308ee/spec/services/incident_management/issuable_resource_links/create_service_spec.rb309ee/spec/serializers/merge_request_poll_widget_entity_spec.rb310ee/spec/services/geo/hashed_storage_attachments_migration_service_spec.rb311ee/spec/lib/ee/gitlab/ip_restriction/enforcer_spec.rb312ee/spec/lib/ee/gitlab/ci/config/entry/bridge_spec.rb313ee/spec/models/ee/members_preloader_spec.rb314ee/spec/lib/gitlab/analytics/cycle_analytics/stage_events/issue_first_associated_with_milestone_spec.rb315ee/spec/models/concerns/ee/clusters/agents/authorization_config_scopes_spec.rb316ee/spec/lib/ee/gitlab/database_spec.rb317ee/spec/finders/dast/profiles_finder_spec.rb318ee/spec/services/quality_management/test_cases/create_service_spec.rb319ee/spec/lib/container_registry/client_spec.rb320ee/spec/lib/gitlab/ci/templates/secret_detection_latest_gitlab_ci_yaml_spec.rb321ee/spec/services/ee/members/update_service_spec.rb322ee/spec/services/ee/gpg_keys/create_service_spec.rb323ee/spec/finders/projects/integrations/jira/issues_finder_spec.rb324ee/spec/helpers/license_helper_spec.rb325ee/spec/views/layouts/header/help_dropdown/_cross_stage_fdm.html.haml_spec.rb326ee/spec/services/ee/resource_events/change_iteration_service_spec.rb327ee/spec/models/ee/gpg_key_spec.rb328ee/spec/helpers/security_helper_spec.rb329ee/spec/graphql/mutations/boards/epic_boards/create_spec.rb330ee/spec/graphql/types/geo/merge_request_diff_registry_type_spec.rb331ee/spec/models/ee/project_wiki_spec.rb332ee/spec/lib/ee/gitlab/ci/pipeline/quota/size_spec.rb333ee/spec/policies/incident_management/oncall_rotation_policy_spec.rb334ee/spec/services/security/scanned_resources_counting_service_spec.rb335ee/spec/lib/gitlab/auth/group_saml/membership_enforcer_spec.rb336ee/spec/models/ee/clusters/agent_spec.rb337ee/spec/finders/dast_site_validations_finder_spec.rb338ee/spec/services/ee/projects/deploy_tokens/destroy_service_spec.rb339ee/spec/models/scim_identity_spec.rb340ee/spec/graphql/mutations/security_policy/assign_security_policy_project_spec.rb341ee/spec/lib/elastic/latest/merge_request_config_spec.rb342ee/spec/services/ee/git/wiki_push_service_spec.rb343ee/spec/presenters/label_presenter_spec.rb344ee/spec/lib/ee/api/entities/project_spec.rb345ee/spec/lib/ee/api/entities/scim/users_spec.rb346ee/spec/components/namespaces/free_user_cap/alert_component_spec.rb347ee/spec/helpers/credentials_inventory_helper_spec.rb348ee/spec/models/geo/repository_created_event_spec.rb349ee/spec/services/status_page/publish_attachments_service_spec.rb350ee/spec/lib/gitlab/ci/templates/license_scanning_gitlab_ci_yaml_spec.rb351ee/spec/services/security/security_orchestration_policies/ci_configuration_service_spec.rb352ee/spec/lib/ee/api/entities/scim/user_spec.rb353ee/spec/workers/analytics/cycle_analytics/consistency_worker_spec.rb354ee/spec/serializers/licenses_list_serializer_spec.rb355ee/spec/services/ee/design_management/delete_designs_service_spec.rb356ee/spec/models/project_security_setting_spec.rb357ee/spec/helpers/kerberos_spnego_helper_spec.rb358ee/spec/services/incident_management/escalation_rules/destroy_service_spec.rb359ee/spec/services/sitemap/create_service_spec.rb360ee/spec/lib/gitlab/ci/reports/security/remediation_spec.rb361ee/spec/graphql/types/dast/profile_schedule_type_spec.rb362ee/spec/services/path_locks/lock_service_spec.rb363ee/spec/graphql/types/vulnerability_evidence_source_type_spec.rb364ee/spec/elastic/migrate/20210825110300_backfill_namespace_ancestry_for_issues_spec.rb365ee/spec/services/groups/epics_count_service_spec.rb366ee/spec/services/vulnerability_external_issue_links/destroy_service_spec.rb367ee/spec/services/geo/graphql_request_service_spec.rb368ee/spec/lib/gitlab/analytics/cycle_analytics/distinct_stage_loader_spec.rb369ee/spec/lib/gitlab/auth/saml/membership_updater_spec.rb370ee/spec/serializers/dependency_list_serializer_spec.rb371ee/spec/models/ee/project_authorization_spec.rb372ee/spec/services/geo/container_repository_sync_spec.rb373ee/spec/elastic/migrate/20220512150000_pause_indexing_for_unsupported_es_versions_spec.rb374ee/spec/lib/gitlab/path_locks_finder_spec.rb375ee/spec/workers/ldap_sync_worker_spec.rb376ee/spec/lib/gitlab/geo/log_cursor/event_logs_spec.rb377ee/spec/finders/projects/integrations/jira/by_ids_finder_spec.rb378ee/spec/lib/ee/sidebars/projects/menus/repository_menu_spec.rb379ee/spec/views/projects/on_demand_scans/index.html.haml_spec.rb380ee/spec/models/snippet_spec.rb381ee/spec/models/concerns/auditable_spec.rb382ee/spec/models/ee/analytics/cycle_analytics/stage_event_hash_spec.rb383ee/spec/lib/gitlab/auth/group_saml/response_store_spec.rb384ee/spec/lib/gitlab/patch/database_config_spec.rb385ee/spec/services/ci/destroy_pipeline_service_spec.rb386ee/spec/graphql/types/boards/epic_user_preferences_type_spec.rb387ee/spec/workers/concerns/elastic/migration_obsolete_spec.rb388ee/spec/lib/gitlab/usage/metrics/instrumentations/license_management_jobs_metric_spec.rb389ee/spec/graphql/types/work_items/type_spec.rb390ee/spec/graphql/types/dast/profile_cadence_type_spec.rb391ee/spec/helpers/incident_management/escalation_policy_helper_spec.rb392ee/spec/lib/elastic/latest/config_spec.rb393ee/spec/workers/ee/arkose/blocked_users_report_worker_spec.rb394ee/spec/models/protected_branch/required_code_owners_section_spec.rb395ee/spec/services/ee/auto_merge_service_spec.rb396ee/spec/lib/gitlab/patch/draw_route_spec.rb397ee/spec/graphql/types/approval_rule_type_enum_spec.rb398ee/spec/graphql/types/requirements_management/test_report_type_spec.rb399ee/spec/lib/gitlab/graphql/pagination/keyset/order_info_spec.rb400ee/spec/views/layouts/nav/sidebar/_push_rules_link.html.haml_spec.rb401ee/spec/models/geo/reset_checksum_event_spec.rb402ee/spec/db/production/license_spec.rb403ee/spec/workers/concerns/geo_queue_spec.rb404ee/spec/serializers/storage_shard_entity_spec.rb405ee/spec/helpers/groups/sso_helper_spec.rb406ee/spec/graphql/types/vulnerability_details/commit_type_spec.rb407Filter specs:408Running specs:409Running all node tests without filter410ee/spec/models/ee/group_spec.rb411ee/spec/models/application_setting_spec.rb412ee/spec/lib/gitlab/git_access_spec.rb413ee/spec/tasks/gitlab/elastic_rake_spec.rb414ee/spec/models/ee/ci/job_artifact_spec.rb415ee/spec/replicators/geo/job_artifact_replicator_spec.rb416ee/spec/replicators/geo/pipeline_artifact_replicator_spec.rb417ee/spec/services/vulnerabilities/confirm_service_spec.rb418ee/spec/elastic_integration/global_search_spec.rb419ee/spec/lib/ee/gitlab/ci/templates/templates_spec.rb420ee/spec/models/dast/profile_schedule_spec.rb421ee/spec/models/concerns/elastic/repository_spec.rb422ee/spec/models/ee/protected_ref_access_spec.rb423ee/spec/workers/audit_events/audit_event_streaming_worker_spec.rb424ee/spec/elastic/migrate/20220613120500_migrate_commits_to_separate_index_spec.rb425ee/spec/services/audit_event_service_spec.rb426ee/spec/services/merge_requests/sync_report_approver_approval_rules_spec.rb427ee/spec/lib/ee/gitlab/web_hooks/rate_limiter_spec.rb428ee/spec/models/snippet_repository_spec.rb429ee/spec/services/groups/transfer_service_spec.rb430ee/spec/finders/issues_finder_spec.rb431ee/spec/models/ee/audit_event_spec.rb432ee/spec/services/epics/epic_links/update_service_spec.rb433ee/spec/services/ldap_group_reset_service_spec.rb434ee/spec/services/app_sec/dast/scanner_profiles/create_service_spec.rb435ee/spec/lib/gitlab/ci/templates/Jobs/dast_default_branch_gitlab_ci_yaml_spec.rb436ee/spec/models/ee/list_spec.rb437ee/spec/lib/gitlab/email/handler/create_note_handler_spec.rb438ee/spec/lib/gitlab/auth/group_saml/gma_membership_enforcer_spec.rb439ee/spec/finders/geo/terraform_state_version_registry_finder_spec.rb440ee/spec/lib/audit/group_push_rules_changes_auditor_spec.rb441ee/spec/finders/groups_with_templates_finder_spec.rb442ee/spec/models/audit_events/external_audit_event_destination_spec.rb443ee/spec/lib/ee/api/helpers/scim_pagination_spec.rb444ee/spec/lib/gitlab/subscription_portal/clients/graphql_spec.rb445ee/spec/lib/gitlab/ci/minutes/runners_availability_spec.rb446ee/spec/finders/security/scan_execution_policies_finder_spec.rb447ee/spec/services/geo/repository_updated_service_spec.rb448ee/spec/models/protected_environment/deploy_access_level_spec.rb449ee/spec/workers/geo/repository_verification/secondary/shard_worker_spec.rb450ee/spec/models/security/finding_spec.rb451ee/spec/services/projects/gitlab_projects_import_service_spec.rb452ee/spec/services/ee/boards/issues/create_service_spec.rb453ee/spec/finders/template_finder_spec.rb454ee/spec/services/groups/mark_for_deletion_service_spec.rb455ee/spec/lib/ee/gitlab/auth/ldap/sync/groups_spec.rb456ee/spec/lib/gitlab/auth/smartcard/ldap_certificate_spec.rb457ee/spec/serializers/vulnerabilities/feedback_entity_spec.rb458ee/spec/models/deployment_spec.rb459ee/spec/tasks/gitlab/uploads/migrate_rake_spec.rb460ee/spec/services/app_sec/dast/scans/create_service_spec.rb461ee/spec/lib/gitlab/auth/group_saml/identity_linker_spec.rb462ee/spec/models/sca/license_policy_spec.rb463ee/spec/services/namespaces/check_excess_storage_size_service_spec.rb464ee/spec/workers/geo/container_repository_sync_dispatch_worker_spec.rb465ee/spec/services/ee/vulnerability_feedback_module/update_service_spec.rb466ee/spec/services/wikis/create_attachment_service_spec.rb467ee/spec/models/gitlab/seat_link_data_spec.rb468ee/spec/lib/gitlab/ci/templates/dast_api_latest_gitlab_ci_yaml_spec.rb469ee/spec/models/saml_group_link_spec.rb470ee/spec/services/ci/play_build_service_spec.rb471ee/spec/services/compliance_management/frameworks/update_service_spec.rb472ee/spec/lib/gitlab/ci/templates/Jobs/load_performance_testing_gitlab_ci_yaml_spec.rb473ee/spec/lib/gitlab/analytics/cycle_analytics/stage_events/merge_request_label_added_spec.rb474ee/spec/graphql/mutations/vulnerabilities/create_external_issue_link_spec.rb475ee/spec/services/audit_events/release_associate_milestone_audit_event_service_spec.rb476ee/spec/workers/geo/repository_verification/primary/batch_worker_spec.rb477ee/spec/services/incident_management/issuable_resource_links/create_service_spec.rb478ee/spec/serializers/merge_request_poll_widget_entity_spec.rb479ee/spec/services/geo/hashed_storage_attachments_migration_service_spec.rb480ee/spec/lib/ee/gitlab/ip_restriction/enforcer_spec.rb481ee/spec/lib/ee/gitlab/ci/config/entry/bridge_spec.rb482ee/spec/models/ee/members_preloader_spec.rb483ee/spec/lib/gitlab/analytics/cycle_analytics/stage_events/issue_first_associated_with_milestone_spec.rb484ee/spec/models/concerns/ee/clusters/agents/authorization_config_scopes_spec.rb485ee/spec/lib/ee/gitlab/database_spec.rb486ee/spec/finders/dast/profiles_finder_spec.rb487ee/spec/services/quality_management/test_cases/create_service_spec.rb488ee/spec/lib/container_registry/client_spec.rb489ee/spec/lib/gitlab/ci/templates/secret_detection_latest_gitlab_ci_yaml_spec.rb490ee/spec/services/ee/members/update_service_spec.rb491ee/spec/services/ee/gpg_keys/create_service_spec.rb492ee/spec/finders/projects/integrations/jira/issues_finder_spec.rb493ee/spec/helpers/license_helper_spec.rb494ee/spec/views/layouts/header/help_dropdown/_cross_stage_fdm.html.haml_spec.rb495ee/spec/services/ee/resource_events/change_iteration_service_spec.rb496ee/spec/models/ee/gpg_key_spec.rb497ee/spec/helpers/security_helper_spec.rb498ee/spec/graphql/mutations/boards/epic_boards/create_spec.rb499ee/spec/graphql/types/geo/merge_request_diff_registry_type_spec.rb500ee/spec/models/ee/project_wiki_spec.rb501ee/spec/lib/ee/gitlab/ci/pipeline/quota/size_spec.rb502ee/spec/policies/incident_management/oncall_rotation_policy_spec.rb503ee/spec/services/security/scanned_resources_counting_service_spec.rb504ee/spec/lib/gitlab/auth/group_saml/membership_enforcer_spec.rb505ee/spec/models/ee/clusters/agent_spec.rb506ee/spec/finders/dast_site_validations_finder_spec.rb507ee/spec/services/ee/projects/deploy_tokens/destroy_service_spec.rb508ee/spec/models/scim_identity_spec.rb509ee/spec/graphql/mutations/security_policy/assign_security_policy_project_spec.rb510ee/spec/lib/elastic/latest/merge_request_config_spec.rb511ee/spec/services/ee/git/wiki_push_service_spec.rb512ee/spec/presenters/label_presenter_spec.rb513ee/spec/lib/ee/api/entities/project_spec.rb514ee/spec/lib/ee/api/entities/scim/users_spec.rb515ee/spec/components/namespaces/free_user_cap/alert_component_spec.rb516ee/spec/helpers/credentials_inventory_helper_spec.rb517ee/spec/models/geo/repository_created_event_spec.rb518ee/spec/services/status_page/publish_attachments_service_spec.rb519ee/spec/lib/gitlab/ci/templates/license_scanning_gitlab_ci_yaml_spec.rb520ee/spec/services/security/security_orchestration_policies/ci_configuration_service_spec.rb521ee/spec/lib/ee/api/entities/scim/user_spec.rb522ee/spec/workers/analytics/cycle_analytics/consistency_worker_spec.rb523ee/spec/serializers/licenses_list_serializer_spec.rb524ee/spec/services/ee/design_management/delete_designs_service_spec.rb525ee/spec/models/project_security_setting_spec.rbKnapsack report generator started!526DEPRECATION WARNING: /builds/gitlab-org/gitlab/vendor/ruby/2.7.0/gems/activerecord-6.1.4.7/lib/active_record/connection_adapters/postgresql_adapter.rb:78: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call527/builds/gitlab-org/gitlab/vendor/ruby/2.7.0/gems/pg-1.3.5/lib/pg.rb:68: warning: The called method `connect' is defined here528 (called from new_client at /builds/gitlab-org/gitlab/config/initializers/00_connection_logger.rb:21)529Run options: exclude {:quarantine=>true, :level=>"migration"}530Test environment set up in 0.554540162 seconds531Group532 is expected to includes the EE::Group module533 is expected to be a kind of ReactiveCaching534 associations535 is expected to have many audit_events dependent => false536 is expected to belong to file_template_project class_name => Project537 is expected to have many cycle_analytics_stages538 is expected to have many value_streams539 is expected to have many ip_restrictions540 is expected to have many allowed_email_domains541 is expected to have many compliance_management_frameworks542 is expected to have one deletion_schedule543 is expected to have one group_wiki_repository544 is expected to belong to push_rule required: false inverse_of => group545 is expected to have many saml_group_links546 is expected to have many epics547 is expected to have many epic_boards inverse_of => group548 is expected to have many provisioned_user_details inverse_of => provisioned_by_group549 is expected to have many provisioned_users550 is expected to have one group_merge_request_approval_setting551 is expected to have many repository_storage_moves552 is expected to have many iterations553 is expected to have many iterations_cadences554 is expected to have many epic_board_recent_visits inverse_of => group555 is expected to have many external_audit_event_destinations556 behaves like model with wiki557 #create_wiki558 returns true if the wiki repository already exists559 returns true if the wiki repository was created560 when the repository cannot be created561 returns false and adds a validation error562 #wiki_repository_exists?563 returns true when the wiki repository exists564 returns false when the wiki repository does not exist565 wiki path conflict566 when the new path has been used by the wiki of other Project567 has an error on the name attribute568 when the new wiki path has been used by the path of other Project569 has an error on the name attribute570 when the new path has been used by the wiki of other Group571 has an error on the name attribute572 when the new wiki path has been used by the path of other Group573 has an error on the name attribute574 scopes575 .with_custom_file_templates576 is expected to contain exactly #<Group id:26 @group22>577 preloads everything needed to show a valid checked_file_template_project578 .with_saml_provider579 preloads saml_providers580 .aimed_for_deletion581 only includes groups that are marked for deletion on or before the specified date582 .for_epics583 returns groups only for selected epics584 .with_managed_accounts_enabled585 includes the groups that has managed accounts enabled586 .with_no_pat_expiry_policy587 includes the groups that has no PAT expiry policy set588 .user_is_member589 returns only groups where user is direct or indirect member ignoring inheritance and minimal access level590 validations591 max_personal_access_token_lifetime592 is expected to allow :max_personal_access_token_lifetime to be ‹1›593 is expected to allow :max_personal_access_token_lifetime to be ‹nil›594 is expected to allow :max_personal_access_token_lifetime to be ‹10›595 is expected to allow :max_personal_access_token_lifetime to be ‹365›596 is expected not to allow :max_personal_access_token_lifetime to be ‹"value"›597 is expected not to allow :max_personal_access_token_lifetime to be ‹2.5›598 is expected not to allow :max_personal_access_token_lifetime to be ‹-5›599 is expected not to allow :max_personal_access_token_lifetime to be ‹366›600 validates if custom_project_templates_group_id is allowed601 rejects change if the assigned group is not a subgroup602 allows value if the assigned value is from a subgroup603 rejects change if the assigned value is from a subgroup's descendant group604 allows value when it is blank605 states606 is expected to be ldap sync ready607 after the start transition608 sets the last sync timestamp609 after the finish transition610 sets the state to started611 sets last update and last successful update to the same timestamp612 clears previous error message on success613 after the fail transition614 sets the state to failed615 sets last update timestamp but not last successful update timestamp616 .groups_user_can617 for :read_epic permission618 when user has minimal access to group619 behaves like a filter for permissioned groups620 with epics enabled621 uses filter optmization to return groups with access622 when groups array is empty623 does not use filter optimization624 when use_traversal_ids is disabled625 does not use filter optimization626 when find_epics_performance_improvement is disabled627 does not use filter optimization628 with epics disabled629 returns an empty list630 when user is a group member631 behaves like a filter for permissioned groups632 with epics enabled633 uses filter optmization to return groups with access634 when groups array is empty635 does not use filter optimization636 when use_traversal_ids is disabled637 does not use filter optimization638 when find_epics_performance_improvement is disabled639 does not use filter optimization640 with epics disabled641 returns an empty list642 when user is not member of any group643 behaves like a filter for permissioned groups644 with epics enabled645 uses filter optmization to return groups with access646 when groups array is empty647 does not use filter optimization648 when use_traversal_ids is disabled649 does not use filter optimization650 when find_epics_performance_improvement is disabled651 does not use filter optimization652 with epics disabled653 returns an empty list654 for :read_confidential_epic permission655 behaves like a filter for permissioned groups656 with epics enabled657 uses filter optmization to return groups with access658 when groups array is empty659 does not use filter optimization660 when use_traversal_ids is disabled661 does not use filter optimization662 when find_epics_performance_improvement is disabled663 does not use filter optimization664 with epics disabled665 returns an empty list666 when action is not allowed to use filtering optmization667 returns an empty list668 getting group root ancestor669 when same_root is false670 behaves like group root ancestor671 does not exceed SQL queries count672 when same_root is true673 behaves like group root ancestor674 does not exceed SQL queries count675 #vulnerabilities676 returns vulnerabilities for all non-archived, non-deleted projects in the group and its subgroups677 #vulnerability_reads678 returns vulnerabilities for all non-archived, non-deleted projects in the group and its subgroups679 #vulnerability_scanners680 returns vulnerability scanners for all non-archived, non-deleted projects in the group and its subgroups681 #vulnerability_historical_statistics682 returns vulnerability scanners for all non-archived, non-deleted projects in the group and its subgroups683 #mark_ldap_sync_as_failed684 sets the state to failed685 sets the error message686 is graceful when current state is not valid for the fail transition687 #actual_size_limit688 returns the value set globally689 returns the value set locally690 #repository_size_limit column691 support values up to 8 exabytes692 #file_template_project693 is expected to include :file_template_project694 validation695 is cleared if invalid696 is permitted if valid697 #ip_restriction_ranges698 group with no associated ip_restriction records699 returns nil700 group with associated ip_restriction records701 returns a comma separated string of ranges of its ip_restriction records702 #root_ancestor_ip_restrictions703 returns the ip restrictions configured for the root group704 #allowed_email_domains_list705 group with no associated allowed_email_domains records706 returns nil707 group with associated allowed_email_domains records708 returns a comma separated string of domains of its allowed_email_domains records709 #root_ancestor_allowed_email_domains710 returns the email domain restrictions configured for the root group711 #predefined_push_rule712 group with no associated push_rules record713 returns instance push rule714 group with associated push_rules record715 with its own push rule716 returns its own push rule717 with push rule from ancestor718 returns push rule from closest ancestor719 there are no push rules720 returns nil721 #checked_file_template_project722 licensed723 returns nil for an invalid project724 returns a valid project725 unlicensed726 returns nil for a valid project727 #checked_file_template_project_id728 licensed729 returns nil for an invalid project730 returns the ID for a valid project731 unlicensed732 returns nil for a valid project733 #group_project_template_available?734 licensed735 returns true for licensed instance736 when in need of checking plan737 returns true for groups in proper plan738 returns false for groups with group template already set but not in proper plan739 unlicensed740 returns false for unlicensed instance741 #scoped_variables_available?742 licensed feature is available743 is expected to equal true744 licensed feature is not available745 is expected to equal false746 #minimal_access_role_allowed?747 licensed748 returns true for licensed instance749 returns false for subgroup in licensed instance750 unlicensed751 returns false unlicensed instance752 #member?753 with `minimal_access_role` not licensed754 is expected to be falsey755 with `minimal_access_role` licensed756 when group is a subgroup757 is expected to be falsey758 when group is a top-level group759 is expected to be truthy760 accepts higher level as argument761 #billed_user_ids762 returns a breakdown of billable user ids763 with a ultimate plan764 behaves like ultimate plan765 does not include guest users and only active users766 when group has a project and users are invited to it767 includes invited active users except guests to the group768 with bot users for project769 is expected not to include 114770 is expected not to include 115771 with bot users for group772 is expected not to include 116773 is expected not to include 117774 when group is invited to the project775 when group is invited as non guest776 includes only active users except guests of the invited groups777 the invited group contains bot users778 is expected not to include 122779 is expected not to include 123780 when group is invited as a guest to the project781 does not include any members from the invited group782 when group has been shared with another group783 includes active users from the shared group to the billed members784 the shared group contains bot users785 is expected not to include 128786 is expected not to include 129787 when subgroup invited another group to collaborate788 when subgroup invites another group as non guest789 includes all the active and non guest users from the shared group790 the shared group contains bot users791 is expected not to include 134792 is expected not to include 135793 when subgroup invites another group as guest794 does not include any user from the shared group from the subgroup795 with an ultimate trial plan796 behaves like ultimate plan797 does not include guest users and only active users798 when group has a project and users are invited to it799 includes invited active users except guests to the group800 with bot users for project801 is expected not to include 141802 is expected not to include 142803 with bot users for group804 is expected not to include 143805 is expected not to include 144806 when group is invited to the project807 when group is invited as non guest808 includes only active users except guests of the invited groups809 the invited group contains bot users810 is expected not to include 149811 is expected not to include 150812 when group is invited as a guest to the project813 does not include any members from the invited group814 when group has been shared with another group815 includes active users from the shared group to the billed members816 the shared group contains bot users817 is expected not to include 155818 is expected not to include 156819 when subgroup invited another group to collaborate820 when subgroup invites another group as non guest821 includes all the active and non guest users from the shared group822 the shared group contains bot users823 is expected not to include 161824 is expected not to include 162825 when subgroup invites another group as guest826 does not include any user from the shared group from the subgroup827 with other plans828 includes active guest users829 includes active guest users830 when group has a project and users invited to it831 includes invited active users to the group832 with bot users for project833 is expected not to include 168834 is expected not to include 169835 with bot users for group836 is expected not to include 170837 is expected not to include 171838 when group is invited to the project839 includes the unique active users and guests of the invited groups840 the invited group contains bot users841 is expected not to include 176842 is expected not to include 177843 when group has been shared with another group844 includes active users from the shared group including guests845 the shared group contains bot users846 is expected not to include 182847 is expected not to include 183848 when group has a project and users invited to it849 includes invited active users to the group850 with bot users for project851 is expected not to include 189852 is expected not to include 190853 with bot users for group854 is expected not to include 191855 is expected not to include 192856 when group is invited to the project857 includes the unique active users and guests of the invited groups858 the invited group contains bot users859 is expected not to include 197860 is expected not to include 198861 when group has been shared with another group862 includes active users from the shared group including guests863 the shared group contains bot users864 is expected not to include 203865 is expected not to include 204866 #awaiting_user_ids867 when awaiting user is member of the group868 is expected to contain exactly 205869 when awaiting user is member of a sub-group within the group870 is expected to contain exactly 205871 when awaiting user is member of a project in the group872 is expected to contain exactly 205873 when other group with awaiting users is member of the group874 is expected to contain exactly 205875 when other group with awaiting users is member of a project in the group876 is expected to contain exactly 205877 when a user is member multiple times878 is expected to contain exactly 205879 when there are multiple awaiting users880 is expected to contain exactly 205, 209, and 210881 #billable_members_count882 with an ultimate plan883 counts only active users with an active membership with an access level higher than guest884 when group has a project with invited users885 includes invited active users except guests and awaiting members886 with bot users for project and group887 does not include bot users in the count888 when another group is invited to the project889 includes active users in the invited group with an access level higher than guest890 when group has been shared with another group891 includes active users from the other group in the billed members count892 with other plans893 counts active guest users894 counts active guest users895 when group has a project and users invited to it896 includes invited active users to the group897 with bot users for project and group898 does not include bot users in the count899 when another group is invited to the project900 counts the unique active users including guests of the invited groups901 when group has been shared with another group902 includes active users from the other group including guests in the billed members count903 when group has a project and users invited to it904 includes invited active users to the group905 with bot users for project and group906 does not include bot users in the count907 when another group is invited to the project908 counts the unique active users including guests of the invited groups909 when group has been shared with another group910 includes active users from the other group including guests in the billed members count911 for free group912 when free_user_cap is enabled913 includes awaiting members914 when free_user_cap is disabled915 does not include awaiting members916 #exclude_guests?917 actual_plan_name: :free, requested_plan_name: nil, result: false918 returns the expected result919 actual_plan_name: :premium, requested_plan_name: nil, result: false920 returns the expected result921 actual_plan_name: :ultimate, requested_plan_name: nil, result: true922 returns the expected result923 actual_plan_name: :ultimate_trial, requested_plan_name: nil, result: true924 returns the expected result925 actual_plan_name: :gold, requested_plan_name: nil, result: true926 returns the expected result927 actual_plan_name: :free, requested_plan_name: "premium", result: false928 returns the expected result929 actual_plan_name: :free, requested_plan_name: "ultimate", result: true930 returns the expected result931 actual_plan_name: :premium, requested_plan_name: "ultimate", result: true932 returns the expected result933 actual_plan_name: :ultimate, requested_plan_name: "ultimate", result: true934 returns the expected result935 #users_count936 with `minimal_access_role` not licensed937 does not count the minimal access user938 with `minimal_access_role` licensed939 counts the minimal access user940 #last_billed_user_created_at941 without billed users942 is expected to equal nil943 with guest users944 is expected to equal nil945 with billed users946 returns the last added billed member947 #saml_discovery_token948 returns existing tokens949 when missing on read950 generates a token951 saves the generated token952 in read-only mode953 doesn't raise an error as that could expose group existance954 returns a random value to prevent access955 #saml_enabled?956 when a SAML provider does not exist957 is expected to eq false958 when a SAML provider exists and is persisted959 is expected to eq true960 when a SAML provider is not persisted961 is expected to eq false962 when global SAML is enabled963 is expected to eq true964 #saml_group_sync_available?965 is expected to eq false966 with group_saml_group_sync feature licensed967 is expected to eq false968 with saml enabled969 is expected to eq true970 when the group is a subgroup971 is expected to eq true972 #insights_config973 when group has no Insights project configured974 returns the default config975 when group has an Insights project configured without a config file976 returns the default config977 when group has an Insights project configured978 with a valid config file979 returns the insights config data980 with an invalid config file981 returns nil982 when group has an Insights project configured which is in a nested group983 returns the insights config data984 #execute_hooks985 group_webhooks986 when group_webhooks feature is enabled987 execution988 executes the hook for self and ancestor groups by default989 when a hook is not executable990 does not execute the disabled hook991 when group_webhooks feature is disabled992 does not execute the hook993 subgroup hooks994 when a subgroup is added to the parent group995 executes the webhook996 when a subgroup is removed from the parent group997 executes the webhook998 when the subgroup has subgroup webhooks enabled999 does not execute the webhook on itself1000 ancestor groups1001 fires webhook twice when both parent & grandparent group has subgroup_events enabled1002 when parent group does not have subgroup_events enabled1003 fires webhook once for the grandparent group when it has subgroup_events enabled1004 when the group is not a subgroup1005 does not proceed to firing any webhooks1006 when group webhooks are unlicensed1007 does not execute the webhook1008 #self_or_ancestor_marked_for_deletion1009 delayed deletion feature is not available1010 returns nil1011 delayed deletion feature is available1012 the group has been marked for deletion1013 returns the group1014 the parent group has been marked for deletion1015 returns the parent group1016 no group has been marked for deletion1017 returns nil1018 ordering1019 returns the first group that is marked for deletion, up its ancestry chain1020 #marked_for_deletion?1021 delayed deletion feature is available1022 when the group is marked for delayed deletion1023 is expected to be truthy1024 when the group is not marked for delayed deletion1025 is expected to be falsey1026 delayed deletion feature is not available1027 when the group is marked for delayed deletion1028 is expected to be falsey1029 when the group is not marked for delayed deletion1030 is expected to be falsey1031 #adjourned_deletion?1032 delayed deletion feature is available1033 adjourned_period: 0, delayed_group_deletion: true, expected: false1034 is expected to be falsey1035 adjourned_period: 0, delayed_group_deletion: false, expected: false1036 is expected to be falsey1037 adjourned_period: 1, delayed_group_deletion: true, expected: true1038 is expected to be truthy1039 adjourned_period: 1, delayed_group_deletion: false, expected: false1040 is expected to be falsey1041 delayed deletion feature is not available1042 when delayed deletion period is set to more than 01043 behaves like returns false1044 is expected to be falsey1045 #personal_access_token_expiration_policy_available?1046 when the group does not enforce managed accounts1047 is expected to be falsey1048 when the group enforces managed accounts1049 with `personal_access_token_expiration_policy` licensed1050 is expected to be truthy1051 with `personal_access_token_expiration_policy` not licensed1052 is expected to be falsey1053 #update_personal_access_tokens_lifetime1054 when the group does not enforce managed accounts1055 behaves like it does not call the update lifetime service1056 doesn not call the update lifetime service1057 when the group enforces managed accounts1058 with `personal_access_token_expiration_policy` not licensed1059 behaves like it does not call the update lifetime service1060 doesn not call the update lifetime service1061 with `personal_access_token_expiration_policy` licensed1062 when the group does not enforce a PAT expiry policy1063 behaves like it does not call the update lifetime service1064 doesn not call the update lifetime service1065 when the group enforces a PAT expiry policy1066 executes the update lifetime service1067 #max_personal_access_token_lifetime_from_now1068 when max_personal_access_token_lifetime is defined1069 is a date time1070 is in the future1071 is in days_from_now1072 when max_personal_access_token_lifetime is nil1073 is nil1074 #owners_emails1075 is expected to match ["bob@example.com"]1076 Releases Stats1077 when there are no releases1078 #releases_count1079 returns 01080 #releases_percentage1081 returns 0 and does not attempt to divide by 01082 when there are some releases1083 #releases_count1084 counts all releases for group and descendants1085 #releases_percentage1086 calculates projects with releases percentage for group and descendants1087 #repository_storage1088 when wiki does not have a tracked repository storage1089 returns the default shard1090 when wiki has a tracked repository storage1091 returns the persisted shard1092 #iteration_cadences_feature_flag_enabled?1093 behaves like checks self and root ancestor feature flag1094 when FF is enabled for the root group1095 is expected to be truthy1096 when FF is enabled for the group1097 is expected to be truthy1098 when root_group is the actor1099 is not enabled if the FF is enabled for a child1100 when FF is disabled globally1101 is expected to be falsey1102 when FF is enabled globally1103 is expected to be truthy1104 #user_cap_reached?1105 when user cap feature is not available1106 is expected to be falsey1107 when user cap feature is available1108 when the :saas_user_caps feature flag is not enabled1109 is expected to be falsey1110 when the :saas_user_caps feature flag is enabled1111 when this group has no root ancestor1112 behaves like returning the right value for user_cap_reached?1113 when no user cap has been set to that root ancestor1114 is expected to be falsey1115 when a user cap has been set to that root ancestor1116 when this cap is higher than the number of billable members1117 is expected to be falsey1118 when this cap is the same as the number of billable members1119 is expected to be truthy1120 when this cap is lower than the number of billable members1121 is expected to be truthy1122 when this group has a root ancestor1123 behaves like returning the right value for user_cap_reached?1124 when no user cap has been set to that root ancestor1125 is expected to be falsey1126 when a user cap has been set to that root ancestor1127 when this cap is higher than the number of billable members1128 is expected to be falsey1129 when this cap is the same as the number of billable members1130 is expected to be truthy1131 when this cap is lower than the number of billable members1132 is expected to be truthy1133 #calculate_reactive_cache1134 returns cache data for the free plan members count1135 #user_limit_reached?1136 user_cap_reached: false, reached_free_limit: false, result: false1137 is expected to eq false1138 user_cap_reached: false, reached_free_limit: true, result: true1139 is expected to eq true1140 user_cap_reached: true, reached_free_limit: false, result: true1141 is expected to eq true1142 user_cap_reached: true, reached_free_limit: true, result: true1143 is expected to eq true1144 #free_plan_members_count1145 has the correct count1146 #shared_externally?1147 returns false when the group is not shared outside of the namespace hierarchy1148 returns true when the group is shared outside of the namespace hierarchy1149 returns false when the group is shared internally within the namespace hierarchy1150 returns true when a subgroup is shared outside of the namespace hierarchy1151 returns false when the only shared groups are outside of the namespace hierarchy1152 returns true when the group project is shared outside of the namespace hierarchy1153 returns false when the group project is only shared internally within the namespace hierarchy1154 #recent_activity_by_users_in_hierarchy1155 returns a separate hash for another group1156 behaves like can move repository storage1157 #set_repository_read_only!1158 makes the repository read-only1159 raises an error if the project is already read-only1160 raises an error when there is an existing git transfer in progress1161 skip_git_transfer_check is true1162 makes the project read-only when git transfers are in progress1163 #set_repository_writable!1164 sets repository_read_only to false1165 #reference_counter1166 returns a Gitlab::ReferenceCounter object1167 #memberships_to_be_deactivated1168 returns all but 5 memberships in groups and projects1169 with some awaiting members1170 returns only active members ignoring awaiting ones1171 #trimmable_user_ids1172 only includes users from projects of a group and the owners of the group1173 #cluster_agents1174 is expected to contain exactly #<Clusters::Agent id: 2, created_at: "2022-07-04 07:15:27.569232524 +0000", updated_at: "2022-07-04 0...32524 +0000", project_id: 120, name: "agent-2", created_by_user_id: 389, has_vulnerabilities: false> and #<Clusters::Agent id: 3, created_at: "2022-07-04 07:15:27.714163007 +0000", updated_at: "2022-07-04 0...63007 +0000", project_id: 121, name: "agent-3", created_by_user_id: 390, has_vulnerabilities: false>1175ApplicationSetting1176 validations1177 is expected to allow :mirror_max_delay to be ‹100›1178 is expected not to allow :mirror_max_delay to be ‹nil›1179 is expected not to allow :mirror_max_delay to be ‹0›1180 is expected not to allow :mirror_max_delay to be ‹1.1›1181 is expected not to allow :mirror_max_delay to be ‹-1›1182 is expected not to allow :mirror_max_delay to be ‹29 seconds›1183 is expected to allow :mirror_max_capacity to be ‹10›1184 is expected not to allow :mirror_max_capacity to be ‹nil›1185 is expected not to allow :mirror_max_capacity to be ‹0›1186 is expected not to allow :mirror_max_capacity to be ‹1.1›1187 is expected not to allow :mirror_max_capacity to be ‹-1›1188 is expected to allow :mirror_capacity_threshold to be ‹10›1189 is expected not to allow :mirror_capacity_threshold to be ‹nil›1190 is expected not to allow :mirror_capacity_threshold to be ‹0›1191 is expected not to allow :mirror_capacity_threshold to be ‹1.1›1192 is expected not to allow :mirror_capacity_threshold to be ‹-1›1193 is expected not to allow :mirror_capacity_threshold to be ‹31›1194 is expected to allow :custom_project_templates_group_id to be ‹nil›1195 is expected to allow :elasticsearch_indexed_file_size_limit_kb to be ‹10›1196 is expected not to allow :elasticsearch_indexed_file_size_limit_kb to be ‹0›1197 is expected not to allow :elasticsearch_indexed_file_size_limit_kb to be ‹nil›1198 is expected not to allow :elasticsearch_indexed_file_size_limit_kb to be ‹1.1›1199 is expected not to allow :elasticsearch_indexed_file_size_limit_kb to be ‹-1›1200 is expected to allow :elasticsearch_indexed_field_length_limit to be ‹10›1201 is expected to allow :elasticsearch_indexed_field_length_limit to be ‹0›1202 is expected not to allow :elasticsearch_indexed_field_length_limit to be ‹nil›1203 is expected not to allow :elasticsearch_indexed_field_length_limit to be ‹1.1›1204 is expected not to allow :elasticsearch_indexed_field_length_limit to be ‹-1›1205 is expected to allow :elasticsearch_max_bulk_size_mb to be ‹25›1206 is expected not to allow :elasticsearch_max_bulk_size_mb to be ‹nil›1207 is expected not to allow :elasticsearch_max_bulk_size_mb to be ‹0›1208 is expected not to allow :elasticsearch_max_bulk_size_mb to be ‹1.1›1209 is expected not to allow :elasticsearch_max_bulk_size_mb to be ‹-1›1210 is expected to allow :elasticsearch_max_bulk_concurrency to be ‹2›1211 is expected not to allow :elasticsearch_max_bulk_concurrency to be ‹nil›1212 is expected not to allow :elasticsearch_max_bulk_concurrency to be ‹0›1213 is expected not to allow :elasticsearch_max_bulk_concurrency to be ‹1.1›1214 is expected not to allow :elasticsearch_max_bulk_concurrency to be ‹-1›1215 is expected to allow :elasticsearch_client_request_timeout to be ‹30›1216 is expected to allow :elasticsearch_client_request_timeout to be ‹0›1217 is expected not to allow :elasticsearch_client_request_timeout to be ‹nil›1218 is expected not to allow :elasticsearch_client_request_timeout to be ‹1.1›1219 is expected not to allow :elasticsearch_client_request_timeout to be ‹-1›1220 is expected to allow :elasticsearch_username to be ‹""›1221 is expected to allow :elasticsearch_username to be ‹"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"›1222 is expected not to allow :elasticsearch_username to be ‹"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"›1223 is expected to allow :future_subscriptions to be ‹[{}]›1224 is expected not to allow :future_subscriptions to be ‹{}›1225 is expected not to allow :future_subscriptions to be ‹nil›1226 is expected to allow :required_instance_ci_template to be ‹nil›1227 is expected not to allow :required_instance_ci_template to be ‹""›1228 is expected not to allow :required_instance_ci_template to be ‹" "›1229 is expected to allow :required_instance_ci_template to be ‹"template_name"›1230 is expected to allow :max_personal_access_token_lifetime to be ‹1›1231 is expected to allow :max_personal_access_token_lifetime to be ‹nil›1232 is expected to allow :max_personal_access_token_lifetime to be ‹10›1233 is expected to allow :max_personal_access_token_lifetime to be ‹365›1234 is expected not to allow :max_personal_access_token_lifetime to be ‹"value"›1235 is expected not to allow :max_personal_access_token_lifetime to be ‹2.5›1236 is expected not to allow :max_personal_access_token_lifetime to be ‹-5›1237 is expected not to allow :max_personal_access_token_lifetime to be ‹366›1238 is expected to allow :new_user_signups_cap to be ‹nil›1239 is expected to allow :new_user_signups_cap to be ‹1›1240 is expected to allow :new_user_signups_cap to be ‹10›1241 is expected to allow :new_user_signups_cap to be ‹""›1242 is expected not to allow :new_user_signups_cap to be ‹"value"›1243 is expected not to allow :new_user_signups_cap to be ‹-1›1244 is expected not to allow :new_user_signups_cap to be ‹2.5›1245 is expected to allow :git_two_factor_session_expiry to be ‹1›1246 is expected to allow :git_two_factor_session_expiry to be ‹10›1247 is expected to allow :git_two_factor_session_expiry to be ‹10079›1248 is expected to allow :git_two_factor_session_expiry to be ‹10080›1249 is expected not to allow :git_two_factor_session_expiry to be ‹nil›1250 is expected not to allow :git_two_factor_session_expiry to be ‹"value"›1251 is expected not to allow :git_two_factor_session_expiry to be ‹2.5›1252 is expected not to allow :git_two_factor_session_expiry to be ‹-5›1253 is expected not to allow :git_two_factor_session_expiry to be ‹0›1254 is expected not to allow :git_two_factor_session_expiry to be ‹10081›1255 is expected to validate that :max_number_of_repository_downloads looks like a number greater than or equal to 0 and less than or equal to 100001256 is expected to validate that :max_number_of_repository_downloads_within_time_period looks like a number greater than or equal to 0 and less than or equal to 8640001257 is expected to validate that :max_ssh_key_lifetime looks like a number greater than 0 and less than or equal to 365 as long as it is not nil1258 is expected not to allow :deletion_adjourned_period to be ‹-1›1259 is expected not to allow :deletion_adjourned_period to be ‹91›1260 is expected to allow :deletion_adjourned_period to be ‹0›1261 is expected to allow :deletion_adjourned_period to be ‹1›1262 is expected to allow :deletion_adjourned_period to be ‹90›1263 when additional email text is enabled1264 is expected to allow :email_additional_text to be ‹"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...›1265 is expected not to allow :email_additional_text to be ‹"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...›1266 when secret detection token revocation is enabled1267 is expected to allow :secret_detection_token_revocation_url to be ‹"http://test.com"›1268 is expected to allow :secret_detection_token_revocation_token to be ‹"AKVD34\#$%56"›1269 is expected to allow :secret_detection_revocation_token_types_url to be ‹"http://test.com"›1270 is expected not to allow :secret_detection_token_revocation_url to be ‹nil›1271 is expected not to allow :secret_detection_token_revocation_token to be ‹nil›1272 is expected not to allow :secret_detection_revocation_token_types_url to be ‹nil›1273 when validating geo_node_allowed_ips1274 allowed_ips: "192.1.1.1", is_valid: true1275 is expected to eq true1276 allowed_ips: "192.1.1.0/24", is_valid: true1277 is expected to eq true1278 allowed_ips: "192.1.1.0/24, 192.1.20.23", is_valid: true1279 is expected to eq true1280 allowed_ips: "192.1.1.0/24, 192.23.0.0/16", is_valid: true1281 is expected to eq true1282 allowed_ips: "192.1.1.0/34", is_valid: false1283 is expected to eq false1284 allowed_ips: "192.1.1.257", is_valid: false1285 is expected to eq false1286 allowed_ips: "192.1.1.257, 192.1.1.1", is_valid: false1287 is expected to eq false1288 allowed_ips: "300.1.1.0/34", is_valid: false1289 is expected to eq false1290 when validating globally_allowed_ips1291 allowed_ips: "192.1.1.1", is_valid: true1292 is expected to eq true1293 allowed_ips: "192.1.1.0/24", is_valid: true1294 is expected to eq true1295 allowed_ips: "192.1.1.0/24, 192.1.20.23", is_valid: true1296 is expected to eq true1297 allowed_ips: "192.1.1.0/24, 192.23.0.0/16", is_valid: true1298 is expected to eq true1299 allowed_ips: "192.1.1.0/34", is_valid: false1300 is expected to eq false1301 allowed_ips: "192.1.1.257", is_valid: false1302 is expected to eq false1303 allowed_ips: "192.1.1.257, 192.1.1.1", is_valid: false1304 is expected to eq false1305 allowed_ips: "300.1.1.0/34", is_valid: false1306 is expected to eq false1307 when validating elasticsearch_url1308 elasticsearch_url: "http://es.localdomain", is_valid: true1309 is expected to eq true1310 elasticsearch_url: "https://es.localdomain", is_valid: true1311 is expected to eq true1312 elasticsearch_url: "http://es.localdomain, https://es.localdomain ", is_valid: true1313 is expected to eq true1314 elasticsearch_url: "http://10.0.0.1", is_valid: true1315 is expected to eq true1316 elasticsearch_url: "https://10.0.0.1", is_valid: true1317 is expected to eq true1318 elasticsearch_url: "http://10.0.0.1, https://10.0.0.1", is_valid: true1319 is expected to eq true1320 elasticsearch_url: "http://localhost", is_valid: true1321 is expected to eq true1322 elasticsearch_url: "http://127.0.0.1", is_valid: true1323 is expected to eq true1324 elasticsearch_url: "es.localdomain", is_valid: false1325 is expected to eq false1326 elasticsearch_url: "10.0.0.1", is_valid: false1327 is expected to eq false1328 elasticsearch_url: "http://es.localdomain, es.localdomain", is_valid: false1329 is expected to eq false1330 elasticsearch_url: "http://es.localdomain, 10.0.0.1", is_valid: false1331 is expected to eq false1332 elasticsearch_url: "this_isnt_a_url", is_valid: false1333 is expected to eq false1334 Sentry validations1335 when Sentry is enabled1336 is expected to allow :sentry_enabled to be ‹false›1337 is expected not to allow :sentry_enabled to be ‹nil›1338 is expected to allow :sentry_dsn to be ‹"http://example.com"›1339 is expected not to allow :sentry_dsn to be ‹"http://aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.com"›1340 is expected not to allow :sentry_dsn to be ‹"example"›1341 is expected not to allow :sentry_dsn to be ‹nil›1342 is expected to allow :sentry_clientside_dsn to be ‹"http://example.com"›1343 is expected to allow :sentry_clientside_dsn to be ‹nil›1344 is expected not to allow :sentry_clientside_dsn to be ‹"example"›1345 is expected not to allow :sentry_clientside_dsn to be ‹"http://aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.com"›1346 is expected to allow :sentry_environment to be ‹"production"›1347 is expected not to allow :sentry_environment to be ‹nil›1348 is expected not to allow :sentry_environment to be ‹"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"›1349 when Sentry is disabled1350 is expected not to allow :sentry_enabled to be ‹nil›1351 is expected to allow :sentry_dsn to be ‹nil›1352 is expected to allow :sentry_clientside_dsn to be ‹nil›1353 is expected to allow :sentry_environment to be ‹nil›1354 #should_check_namespace_plan?1355 when check_namespace_plan true AND on GitLab.com1356 returns true1357 when check_namespace_plan true AND NOT on GitLab.com1358 returns false1359 when check_namespace_plan false AND on GitLab.com1360 returns false1361 #repository_size_limit column1362 support values up to 8 exabytes1363 elasticsearch licensing1364 disables elasticsearch when unlicensed1365 enables elasticsearch when licensed1366 #elasticsearch_pause_indexing1367 resumes indexing1368 #elasticsearch_url1369 presents a single URL as a one-element array1370 presents multiple URLs as a many-element array1371 strips whitespace from around URLs1372 strips trailing slashes from URLs1373 #elasticsearch_url_with_credentials1374 when credentials are embedded in url1375 ignores them and uses elasticsearch_username and elasticsearch_password settings1376 when credential settings are blank1377 does not return credential info1378 and url contains credentials1379 returns credentials from url1380 and url contains credentials with special characters1381 returns decoded credentials from url1382 when credentials settings have special characters1383 returns the correct values1384 #elasticsearch_password1385 does not modify password if it is unchanged in the form1386 #elasticsearch_config1387 places all elasticsearch configuration values into a hash1388 limiting namespaces and projects1389 namespaces1390 with personal namespaces1391 tells you if a namespace is allowed to be indexed1392 with groups1393 is expected to contain exactly #<Group id:762 @group262> and #<Group id:763 @group261/group263>1394 #elasticsearch_indexes_project?1395 behaves like whether the project is indexed1396 when project is in a subgroup1397 allows project to be indexed1398 when project is in a namespace1399 allows project to be indexed1400 projects1401 tells you if a project is allowed to be indexed1402 returns projects that are allowed to be indexed1403 uses the ElasticsearchEnabledCache cache1404 #invalidate_elasticsearch_indexes_cache1405 deletes the ElasticsearchEnabledCache for projects and namespaces1406 #invalidate_elasticsearch_indexes_cache_for_project!1407 deletes the ElasticsearchEnabledCache for a single project1408 #invalidate_elasticsearch_indexes_cache_for_namespace!1409 deletes the ElasticsearchEnabledCache for a namespace1410 #search_using_elasticsearch?1411 indexing: true, searching: true, limiting: true, advanced_global_search_for_limited_indexing: true1412 global scope1413 is expected to eq true1414 namespace (in scope)1415 is expected to eq true1416 namespace (not in scope)1417 is expected to eq false1418 project (in scope)1419 is expected to eq true1420 project (not in scope)1421 is expected to eq false1422 array of projects (all in scope)1423 is expected to eq true1424 array of projects (all not in scope)1425 is expected to eq false1426 array of projects (some in scope)1427 is expected to eq true1428 indexing: true, searching: true, limiting: true, advanced_global_search_for_limited_indexing: false1429 global scope1430 is expected to eq false1431 namespace (in scope)1432 is expected to eq true1433 namespace (not in scope)1434 is expected to eq false1435 project (in scope)1436 is expected to eq true1437 project (not in scope)1438 is expected to eq false1439 array of projects (all in scope)1440 is expected to eq true1441 array of projects (all not in scope)1442 is expected to eq false1443 array of projects (some in scope)1444 is expected to eq true1445 indexing: true, searching: true, limiting: false, advanced_global_search_for_limited_indexing: true1446 global scope1447 is expected to eq true1448 namespace (in scope)1449 is expected to eq true1450 namespace (not in scope)1451 is expected to eq true1452 project (in scope)1453 is expected to eq true1454 project (not in scope)1455 is expected to eq true1456 array of projects (all in scope)1457 is expected to eq true1458 array of projects (all not in scope)1459 is expected to eq true1460 array of projects (some in scope)1461 is expected to eq true1462 indexing: true, searching: true, limiting: false, advanced_global_search_for_limited_indexing: false1463 global scope1464 is expected to eq true1465 namespace (in scope)1466 is expected to eq true1467 namespace (not in scope)1468 is expected to eq true1469 project (in scope)1470 is expected to eq true1471 project (not in scope)1472 is expected to eq true1473 array of projects (all in scope)1474 is expected to eq true1475 array of projects (all not in scope)1476 is expected to eq true1477 array of projects (some in scope)1478 is expected to eq true1479 indexing: true, searching: false, limiting: true, advanced_global_search_for_limited_indexing: true1480 global scope1481 is expected to eq false1482 namespace (in scope)1483 is expected to eq false1484 namespace (not in scope)1485 is expected to eq false1486 project (in scope)1487 is expected to eq false1488 project (not in scope)1489 is expected to eq false1490 array of projects (all in scope)1491 is expected to eq false1492 array of projects (all not in scope)1493 is expected to eq false1494 array of projects (some in scope)1495 is expected to eq false1496 indexing: true, searching: false, limiting: true, advanced_global_search_for_limited_indexing: false1497 global scope1498 is expected to eq false1499 namespace (in scope)1500 is expected to eq false1501 namespace (not in scope)1502 is expected to eq false1503 project (in scope)1504 is expected to eq false1505 project (not in scope)1506 is expected to eq false1507 array of projects (all in scope)1508 is expected to eq false1509 array of projects (all not in scope)1510 is expected to eq false1511 array of projects (some in scope)1512 is expected to eq false1513 indexing: true, searching: false, limiting: false, advanced_global_search_for_limited_indexing: true1514 global scope1515 is expected to eq false1516 namespace (in scope)1517 is expected to eq false1518 namespace (not in scope)1519 is expected to eq false1520 project (in scope)1521 is expected to eq false1522 project (not in scope)1523 is expected to eq false1524 array of projects (all in scope)1525 is expected to eq false1526 array of projects (all not in scope)1527 is expected to eq false1528 array of projects (some in scope)1529 is expected to eq false1530 indexing: true, searching: false, limiting: false, advanced_global_search_for_limited_indexing: false1531 global scope1532 is expected to eq false1533 namespace (in scope)1534 is expected to eq false1535 namespace (not in scope)1536 is expected to eq false1537 project (in scope)1538 is expected to eq false1539 project (not in scope)1540 is expected to eq false1541 array of projects (all in scope)1542 is expected to eq false1543 array of projects (all not in scope)1544 is expected to eq false1545 array of projects (some in scope)1546 is expected to eq false1547 indexing: false, searching: true, limiting: true, advanced_global_search_for_limited_indexing: true1548 global scope1549 is expected to eq false1550 namespace (in scope)1551 is expected to eq false1552 namespace (not in scope)1553 is expected to eq false1554 project (in scope)1555 is expected to eq false1556 project (not in scope)1557 is expected to eq false1558 array of projects (all in scope)1559 is expected to eq false1560 array of projects (all not in scope)1561 is expected to eq false1562 array of projects (some in scope)1563 is expected to eq false1564 indexing: false, searching: true, limiting: true, advanced_global_search_for_limited_indexing: false1565 global scope1566 is expected to eq false1567 namespace (in scope)1568 is expected to eq false1569 namespace (not in scope)1570 is expected to eq false1571 project (in scope)1572 is expected to eq false1573 project (not in scope)1574 is expected to eq false1575 array of projects (all in scope)1576 is expected to eq false1577 array of projects (all not in scope)1578 is expected to eq false1579 array of projects (some in scope)1580 is expected to eq false1581 indexing: false, searching: true, limiting: false, advanced_global_search_for_limited_indexing: true1582 global scope1583 is expected to eq false1584 namespace (in scope)1585 is expected to eq false1586 namespace (not in scope)1587 is expected to eq false1588 project (in scope)1589 is expected to eq false1590 project (not in scope)1591 is expected to eq false1592 array of projects (all in scope)1593 is expected to eq false1594 array of projects (all not in scope)1595 is expected to eq false1596 array of projects (some in scope)1597 is expected to eq false1598 indexing: false, searching: true, limiting: false, advanced_global_search_for_limited_indexing: false1599 global scope1600 is expected to eq false1601 namespace (in scope)1602 is expected to eq false1603 namespace (not in scope)1604 is expected to eq false1605 project (in scope)1606 is expected to eq false1607 project (not in scope)1608 is expected to eq false1609 array of projects (all in scope)1610 is expected to eq false1611 array of projects (all not in scope)1612 is expected to eq false1613 array of projects (some in scope)1614 is expected to eq false1615 indexing: false, searching: false, limiting: true, advanced_global_search_for_limited_indexing: true1616 global scope1617 is expected to eq false1618 namespace (in scope)1619 is expected to eq false1620 namespace (not in scope)1621 is expected to eq false1622 project (in scope)1623 is expected to eq false1624 project (not in scope)1625 is expected to eq false1626 array of projects (all in scope)1627 is expected to eq false1628 array of projects (all not in scope)1629 is expected to eq false1630 array of projects (some in scope)1631 is expected to eq false1632 indexing: false, searching: false, limiting: true, advanced_global_search_for_limited_indexing: false1633 global scope1634 is expected to eq false1635 namespace (in scope)1636 is expected to eq false1637 namespace (not in scope)1638 is expected to eq false1639 project (in scope)1640 is expected to eq false1641 project (not in scope)1642 is expected to eq false1643 array of projects (all in scope)1644 is expected to eq false1645 array of projects (all not in scope)1646 is expected to eq false1647 array of projects (some in scope)1648 is expected to eq false1649 indexing: false, searching: false, limiting: false, advanced_global_search_for_limited_indexing: true1650 global scope1651 is expected to eq false1652 namespace (in scope)1653 is expected to eq false1654 namespace (not in scope)1655 is expected to eq false1656 project (in scope)1657 is expected to eq false1658 project (not in scope)1659 is expected to eq false1660 array of projects (all in scope)1661 is expected to eq false1662 array of projects (all not in scope)1663 is expected to eq false1664 array of projects (some in scope)1665 is expected to eq false1666 indexing: false, searching: false, limiting: false, advanced_global_search_for_limited_indexing: false1667 global scope1668 is expected to eq false1669 namespace (in scope)1670 is expected to eq false1671 namespace (not in scope)1672 is expected to eq false1673 project (in scope)1674 is expected to eq false1675 project (not in scope)1676 is expected to eq false1677 array of projects (all in scope)1678 is expected to eq false1679 array of projects (all not in scope)1680 is expected to eq false1681 array of projects (some in scope)1682 is expected to eq false1683 custom project templates1684 when custom_project_templates feature is enabled1685 #custom_project_templates_enabled?1686 returns true1687 #custom_project_template_id1688 returns group id1689 #available_custom_project_templates1690 returns group projects1691 returns an empty array if group is not set1692 when custom_project_templates feature is disabled1693 #custom_project_templates_enabled?1694 returns false1695 #custom_project_template_id1696 returns false1697 #available_custom_project_templates1698 returns an empty relation1699 #instance_review_permitted?1700 for instances with a valid license1701 is not permitted1702 for instances without a valid license1703 users_over_minimum: -11704 is expected to equal false1705 users_over_minimum: 01706 is expected to equal true1707 users_over_minimum: 11708 is expected to equal true1709 #max_personal_access_token_lifetime_from_now1710 when max_personal_access_token_lifetime is defined1711 is a date time1712 is in the future1713 is in days_from_now1714 when max_personal_access_token_lifetime is nil1715 is nil1716 updates to max_personal_access_token_lifetime1717 without personal_access_token_expiration_policy licensed1718 doesn't call the update lifetime service1719 with personal_access_token_expiration_policy licensed1720 executes the update lifetime service1721 #compliance_frameworks1722 sorts the list1723 removes duplicates1724 sets empty values1725 #should_apply_user_signup_cap?1726 when new_user_signups_cap setting is nil1727 is expected to equal false1728 when new_user_signups_cap setting is set to any number1729 is expected to equal true1730 maintenance mode setting1731 defaults to false1732 #max_ssh_key_lifetime_from_now1733 when max_ssh_key_lifetime is defined1734 is a date time1735 is in the future1736 is in days_from_now1737 when max_ssh_key_lifetime is nil1738 is nil1739 delayed deletion1740 when delayed_group_deletion is set to false1741 unlocks the delayed_project_removal setting1742 is expected not to allow :delayed_project_removal to be ‹true›1743 is expected to allow :delayed_project_removal to be ‹false›1744 when delayed_group_deletion is set to true1745 locks the delayed_project_removal setting1746 is expected to allow :delayed_project_removal to be ‹false›1747 is expected to allow :delayed_project_removal to be ‹true›1748 #disable_delayed_deletion_with_allowed_period1749 when deletion_adjourned_period is 01750 sets deletion_adjourned_period to 1 and disables delayed deletion1751Gitlab::GitAccess1752 #check_project_accessibility!1753 with ip restriction1754 group with restriction1755 address is within the range1756 when actor is a DeployKey with access to project1757 allows pull, push access1758 when actor is DeployToken with access to project1759 allows pull access1760 when actor is user with access to project1761 allows push, pull access1762 when actor is instance admin1763 allows push, pull access1764 address is outside the range1765 when actor is a DeployKey with access to project1766 blocks pull, push with "not found"1767 when actor is DeployToken with access to project1768 blocks pull, push with "not found"1769 when actor is user with access to project1770 blocks pull, push with "not found"1771 when actor is instance admin1772 allows push, pull access1773 group without restriction1774 when actor is a DeployKey with access to project1775 allows pull, push access1776 when actor is DeployToken with access to project1777 allows pull access1778 when actor is user with access to project1779 allows push, pull access1780 when actor is instance admin1781 allows push, pull access1782 when in a read-only GitLab instance1783 behaves like git access for a read-only GitLab instance1784 denies push access1785 for a Geo setup1786 that is incorrectly set up1787 denies push access with primary present1788 that is correctly set up1789 for a git clone/pull1790 attempts to proxy to the primary1791 for a git push1792 attempts to proxy to the primary1793 push_rule_check1794 author email check1795 returns true1796 returns false when a commit message is missing required matches (positive regex match)1797 returns false when a commit message contains forbidden characters (negative regex match)1798 returns true for tags1799 allows githook for new branch with an old bad commit1800 allows githook for any change with an old bad commit1801 does not allow any change from Web UI with bad commit1802 member_check1803 returns false for non-member user1804 returns true if committer is a gitlab member1805 file names check1806 returns false when filename is prohibited1807 returns true if file name is allowed1808 max file size check1809 returns false when size is too large1810 returns true when size is allowed1811 repository size restrictions1812 when GIT_OBJECT_DIRECTORY_RELATIVE env var is set1813 when repository size is over limit1814 behaves like a push to repository over the limit1815 rejects the push1816 when deleting a branch1817 accepts the operation1818 when namespace storage size is below the limit1819 behaves like a push to repository over the limit1820 rejects the push1821 when deleting a branch1822 accepts the operation1823 when repository size is below the limit1824 behaves like a push to repository below the limit1825 when trying to authenticate the user1826 does not raise an error1827 when pushing a new branch1828 accepts the push1829 when object directory (quarantine) size exceeds the limit1830 rejects the push1831 when object directory (quarantine) size does not exceed the limit1832 accepts the push1833 when namespace storage size is over the limit1834 behaves like a push to repository below the limit1835 when trying to authenticate the user1836 does not raise an error1837 when pushing a new branch1838 accepts the push1839 when GIT_OBJECT_DIRECTORY_RELATIVE env var is not set and git-rev-list is used for checking against the repository size limit1840 when repository size is over limit1841 behaves like a push to repository over the limit1842 rejects the push1843 when deleting a branch1844 accepts the operation1845 when namespace storage size is below the limit1846 behaves like a push to repository over the limit1847 rejects the push1848 when deleting a branch1849 accepts the operation1850 when repository size is below the limit1851 behaves like a push to repository below the limit1852 when trying to authenticate the user1853 does not raise an error1854 when pushing a new branch1855 accepts the push1856 when new change exceeds the limit1857 rejects the push1858 when new change does not exceed the limit1859 accepts the push1860 when namespace storage size is over the limit1861 behaves like a push to repository below the limit1862 when trying to authenticate the user1863 does not raise an error1864 when pushing a new branch1865 accepts the push1866 Geo1867 git pull1868 is expected not to raise Exception1869 for non-Geo with maintenance mode1870 does not return a replication lag message nor call the lag check1871 for a secondary1872 for a repository that has been replicated1873 that has no DB replication lag1874 does not return a replication lag message in the console messages1875 that has DB replication lag > 01876 returns a replication lag message in the console messages1877 for a repository that has yet to be replicated1878 returns a custom action1879 git push1880 is expected to raise Gitlab::GitAccess::ForbiddenError with "You are not allowed to upload code for this project."1881 for a secondary1882 returns a custom action1883 #check_push_access!1884 user-specific access control1885 when a specific user is allowed to push into the exact protected branch1886 has the correct permissions for admin_with_admin_modes1887 has the correct permissions for admin_without_admin_modes1888 has the correct permissions for maintainers1889 has the correct permissions for developers1890 has the correct permissions for reporters1891 has the correct permissions for guests1892 when a specific user is allowed to merge into the exact protected branch1893 has the correct permissions for admin_with_admin_modes1894 has the correct permissions for admin_without_admin_modes1895 has the correct permissions for maintainers1896 has the correct permissions for developers1897 has the correct permissions for reporters1898 has the correct permissions for guests1899 when a specific user is allowed to push & merge into the exact protected branch1900 has the correct permissions for admin_with_admin_modes1901 has the correct permissions for admin_without_admin_modes1902 has the correct permissions for maintainers1903 has the correct permissions for developers1904 has the correct permissions for reporters1905 has the correct permissions for guests1906 when license blocks changes1907 raises an error1908 group-specific access control1909 when a specific group is allowed to push into the exact protected branch1910 has the correct permissions for group maintainers1911 has the correct permissions for group developers1912 has the correct permissions for group reporters1913 has the correct permissions for group guests1914 when a specific group is allowed to merge into the exact protected branch1915 has the correct permissions for group maintainers1916 has the correct permissions for group developers1917 has the correct permissions for group reporters1918 has the correct permissions for group guests1919 when a specific group is allowed to push & merge into the exact protected branch1920 has the correct permissions for group maintainers1921 has the correct permissions for group developers1922 has the correct permissions for group reporters1923 has the correct permissions for group guests1924 user-specific access control1925 when a specific user is allowed to push into the wildcard protected branch1926 has the correct permissions for admin_with_admin_modes1927 has the correct permissions for admin_without_admin_modes1928 has the correct permissions for maintainers1929 has the correct permissions for developers1930 has the correct permissions for reporters1931 has the correct permissions for guests1932 when a specific user is allowed to merge into the wildcard protected branch1933 has the correct permissions for admin_with_admin_modes1934 has the correct permissions for admin_without_admin_modes1935 has the correct permissions for maintainers1936 has the correct permissions for developers1937 has the correct permissions for reporters1938 has the correct permissions for guests1939 when a specific user is allowed to push & merge into the wildcard protected branch1940 has the correct permissions for admin_with_admin_modes1941 has the correct permissions for admin_without_admin_modes1942 has the correct permissions for maintainers1943 has the correct permissions for developers1944 has the correct permissions for reporters1945 has the correct permissions for guests1946 when license blocks changes1947 raises an error1948 group-specific access control1949 when a specific group is allowed to push into the wildcard protected branch1950 has the correct permissions for group maintainers1951 has the correct permissions for group developers1952 has the correct permissions for group reporters1953 has the correct permissions for group guests1954 when a specific group is allowed to merge into the wildcard protected branch1955 has the correct permissions for group maintainers1956 has the correct permissions for group developers1957 has the correct permissions for group reporters1958 has the correct permissions for group guests1959 when a specific group is allowed to push & merge into the wildcard protected branch1960 has the correct permissions for group maintainers1961 has the correct permissions for group developers1962 has the correct permissions for group reporters1963 has the correct permissions for group guests1964 #check_smartcard_access!1965 user with a smartcard session1966 allows pull changes1967 allows push changes1968 user without a smartcard session1969 does not allow pull changes1970 does not allow push changes1971 with the setting off1972 allows pull changes1973 allows push changes1974 #check_otp_session!1975 with an OTP session1976 allows push and pull access1977 based on the duration set by the `git_two_factor_session_expiry` setting1978 at a time before the stipulated expiry1979 allows push and pull access1980 at a time after the stipulated expiry1981 does not allow push and pull access1982 without OTP session1983 does not allow push or pull access1984 when protocol is HTTP1985 allows push and pull access1986 when actor is not an SSH key1987 allows push and pull access1988 when 2FA is not enabled for the user1989 allows push and pull access1990 when feature flag is disabled1991 allows push and pull access1992 when licensed feature is not available1993 allows push and pull access1994 #check_sso_session!1995 with project without group1996 allows pull and push changes1997 with project with group1998 user with a sso session1999 allows pull and push changes2000 user without a sso session2001 when the request is made directly by the user2002 does not allow pull or push changes with proper url in the message2003 with a subgroup2004 does not allow pull or push changes with proper url in the message2005 when the request is made from CI builds2006 allows pull and push changes2007 when legacy CI credentials are used2008 allows pull and push changes2009 #check_maintenance_mode!2010 when maintenance mode is enabled2011 blocks git push2012 when maintenance mode is disabled2013 allows git push2014 #check_valid_actor!2015 key expiration is enforced2016 does not allow expired keys2017gitlab:elastic namespace rake tasks2018 when enabling and disabling elastic settings2019 when enabling elasticsearch with setting initially off2020 enables elasticsearch2021 when enabling elasticsearch with setting initially on2022 does nothing when elasticsearch is already enabled2023 when disabling elasticsearch with setting initially on2024 disables elasticsearch2025 when disabling elasticsearch with setting initially off2026 does nothing when elasticsearch is already disabled2027 create_empty_index2028 creates the default index2029 creates the migrations index if it does not exist2030 marks all migrations as completed2031 when SKIP_ALIAS environment variable is set2032 does not alias the new index2033 does not create the migrations index if it does not exist2034 Issue2035 does not create a standalone index2036 Note2037 does not create a standalone index2038 MergeRequest2039 does not create a standalone index2040 Commit2041 does not create a standalone index2042 Issue2043 creates a standalone index2044 Note2045 creates a standalone index2046 MergeRequest2047 creates a standalone index2048 Commit2049 creates a standalone index2050 delete_index2051 removes the index2052 removes the migrations index2053 behaves like deletes all standalone indices2054 Issue2055 removes a standalone index2056 Note2057 removes a standalone index2058 MergeRequest2059 removes a standalone index2060 Commit2061 removes a standalone index2062 when the index does not exist2063 does not error2064 with elasticsearch_indexing enabled2065 index2066 calls all indexing tasks in order2067 index_projects2068 queues jobs for each project batch2069 with limited indexing enabled2070 does not queue jobs for projects that should not be indexed2071 index_snippets2072 indexes snippets2073 recreate_index2074 calls all related subtasks in order2075 with elasticsearch_indexing is disabled2076 enables `elasticsearch_indexing`2077 mark_reindex_failed2078 when there is a running reindex job2079 marks the current reindex job as failed2080 prints a message after marking it as failed2081 when no running reindex job2082 just prints a message2083 list_pending_migrations2084 when there are pending migrations2085 outputs pending migrations2086 when there is no pending migrations2087 outputs message there are no pending migrations2088 estimate_cluster_size2089 outputs estimates2090 pause_indexing2091 when indexing is already paused2092 does not do anything2093 when indexing is running2094 pauses indexing2095 resume_indexing2096 when indexing is already running2097 does not do anything2098 when indexing is not running2099 resumes indexing2100 projects_not_indexed2101 no projects are indexed2102 displays non-indexed projects2103 all projects are indexed2104 displays that all projects are indexed2105 does not include projects without repositories2106Ci::JobArtifact2107 is expected to delegate #validate_schema? to the #job object2108 #save_verification_details2109 when direct upload is enabled for trace artifacts2110 does not create verification details2111 when direct upload is not enabled2112 does not create verification details2113 .with_verification_state2114 returns records with given scope2115 .checksummed2116 returns records with given scope2117 .not_checksummed2118 returns records with given scope2119 #save_verification_details2120 when model record is not part of available_verifiables scope2121 does not create verification details2122 when model_record is part of available_verifiables scope2123 creates verification details2124 #destroy2125 when pipeline is destroyed2126 creates a Geo delete event async2127 JobArtifact destroy fails2128 does not create a JobArtifactDeletedEvent2129 .license_scanning_reports2130 is expected to eq [#<Ci::JobArtifact project_id: 314, file_type: "license_scanning", size: 25903, created_at: "2022-07-...rmat: "raw", file_location: nil, id: 10, job_id: 10, locked: "unknown", verification_checksum: nil>]2131 .cluster_image_scanning_reports2132 is expected to eq [#<Ci::JobArtifact project_id: 315, file_type: "cluster_image_scanning", size: 6131, created_at: "202...rmat: "raw", file_location: nil, id: 11, job_id: 11, locked: "unknown", verification_checksum: nil>]2133 .metrics_reports2134 when there is a metrics report2135 is expected to eq [#<Ci::JobArtifact project_id: 316, file_type: "metrics", size: 65, created_at: "2022-07-04 07:24:22....mat: "gzip", file_location: nil, id: 12, job_id: 12, locked: "unknown", verification_checksum: nil>]2136 when there is no metrics reports2137 is expected to be empty2138 .security_reports2139 when the `file_types` parameter is provided2140 when the provided file_types is array2141 when there is a security report with the given value2142 is expected to eq [#<Ci::JobArtifact project_id: 319, file_type: "secret_detection", size: 889, created_at: "2022-07-04...rmat: "raw", file_location: nil, id: 15, job_id: 15, locked: "unknown", verification_checksum: nil>]2143 when there are no security reports with the given value2144 is expected to be empty2145 when the provided file_types is string2146 is expected to eq [#<Ci::JobArtifact project_id: 322, file_type: "secret_detection", size: 889, created_at: "2022-07-04...rmat: "raw", file_location: nil, id: 18, job_id: 18, locked: "unknown", verification_checksum: nil>]2147 when the file_types parameter is not provided2148 when there is a security report2149 is expected to contain exactly #<Ci::JobArtifact project_id: 323, file_type: "sast", size: 6260, created_at: "2022-07-04 07:24:26.86...ormat: "raw", file_location: nil, id: 19, job_id: 19, locked: "unknown", verification_checksum: nil> and #<Ci::JobArtifact project_id: 324, file_type: "secret_detection", size: 889, created_at: "2022-07-04 ...ormat: "raw", file_location: nil, id: 20, job_id: 20, locked: "unknown", verification_checksum: nil>2150 when there are no security reports2151 is expected to be empty2152 .coverage_fuzzing_reports2153 when there is a metrics report2154 is expected to eq [#<Ci::JobArtifact project_id: 326, file_type: "coverage_fuzzing", size: 1491, created_at: "2022-07-0...rmat: "raw", file_location: nil, id: 22, job_id: 22, locked: "unknown", verification_checksum: nil>]2155 when there is no coverage fuzzing reports2156 is expected to be empty2157 .api_fuzzing_reports2158 when there is a metrics report2159 is expected to eq [#<Ci::JobArtifact project_id: 328, file_type: "api_fuzzing", size: 154882, created_at: "2022-07-04 0...rmat: "raw", file_location: nil, id: 24, job_id: 24, locked: "unknown", verification_checksum: nil>]2160 when there is no coverage fuzzing reports2161 is expected to be empty2162 .associated_file_types_for2163 file_type: "license_scanning", result: ["license_scanning"]2164 is expected to eq ["license_scanning"]2165 file_type: "codequality", result: ["codequality"]2166 is expected to eq ["codequality"]2167 file_type: "browser_performance", result: ["browser_performance", "performance"]2168 is expected to eq ["browser_performance", "performance"]2169 file_type: "load_performance", result: ["load_performance"]2170 is expected to eq ["load_performance"]2171 file_type: "quality", result: nil2172 is expected to eq nil2173 #replicables_for_current_secondary2174 selective_sync_namespaces: nil, selective_sync_shards: nil, factory: [:ci_job_artifact], project_factory: [:project], include_expectation: true2175 when sync object storage is enabled2176 when the job artifact is locally stored2177 is expected to eq true2178 when the job artifact is object stored2179 is expected to eq true2180 when sync object storage is disabled2181 when the job artifact is locally stored2182 is expected to eq true2183 when the job artifact is object stored2184 is expected to be falsey2185 selective_sync_namespaces: nil, selective_sync_shards: :model, factory: [:ci_job_artifact], project_factory: [:project], include_expectation: true2186 when sync object storage is enabled2187 when the job artifact is locally stored2188 is expected to eq true2189 when the job artifact is object stored2190 is expected to eq true2191 when sync object storage is disabled2192 when the job artifact is locally stored2193 is expected to eq true2194 when the job artifact is object stored2195 is expected to be falsey2196 selective_sync_namespaces: nil, selective_sync_shards: :other, factory: [:ci_job_artifact], project_factory: [:project], include_expectation: false2197 when sync object storage is enabled2198 when the job artifact is locally stored2199 is expected to eq false2200 when the job artifact is object stored2201 is expected to eq false2202 when sync object storage is disabled2203 when the job artifact is locally stored2204 is expected to eq false2205 when the job artifact is object stored2206 is expected to be falsey2207 selective_sync_namespaces: :model_parent, selective_sync_shards: nil, factory: [:ci_job_artifact], project_factory: [:project], include_expectation: true2208 when sync object storage is enabled2209 when the job artifact is locally stored2210 is expected to eq true2211 when the job artifact is object stored2212 is expected to eq true2213 when sync object storage is disabled2214 when the job artifact is locally stored2215 is expected to eq true2216 when the job artifact is object stored2217 is expected to be falsey2218 selective_sync_namespaces: :model_parent_parent, selective_sync_shards: nil, factory: [:ci_job_artifact], project_factory: [:project, :in_subgroup], include_expectation: true2219 when sync object storage is enabled2220 when the job artifact is locally stored2221 is expected to eq true2222 when the job artifact is object stored2223 is expected to eq true2224 when sync object storage is disabled2225 when the job artifact is locally stored2226 is expected to eq true2227 when the job artifact is object stored2228 is expected to be falsey2229 selective_sync_namespaces: :other, selective_sync_shards: nil, factory: [:ci_job_artifact], project_factory: [:project], include_expectation: false2230 when sync object storage is enabled2231 when the job artifact is locally stored2232 is expected to eq false2233 when the job artifact is object stored2234 is expected to eq false2235 when sync object storage is disabled2236 when the job artifact is locally stored2237 is expected to eq false2238 when the job artifact is object stored2239 is expected to be falsey2240 selective_sync_namespaces: :other, selective_sync_shards: nil, factory: [:ci_job_artifact], project_factory: [:project, :in_subgroup], include_expectation: false2241 when sync object storage is enabled2242 when the job artifact is locally stored2243 is expected to eq false2244 when the job artifact is object stored2245 is expected to eq false2246 when sync object storage is disabled2247 when the job artifact is locally stored2248 is expected to eq false2249 when the job artifact is object stored2250 is expected to be falsey2251 selective_sync_namespaces: nil, selective_sync_shards: nil, factory: [:ci_job_artifact, :expired], project_factory: [:project], include_expectation: true2252 when sync object storage is enabled2253 when the job artifact is locally stored2254 is expected to eq true2255 when the job artifact is object stored2256 is expected to eq true2257 when sync object storage is disabled2258 when the job artifact is locally stored2259 is expected to eq true2260 when the job artifact is object stored2261 is expected to be falsey2262 #security_report2263 is expected to equal 52264 for different types2265 file_type: :performance, security_report?: false2266 is expected to equal false2267 file_type: :sast, security_report?: true2268 is expected to equal true2269 file_type: :secret_detection, security_report?: true2270 is expected to equal true2271 file_type: :dependency_scanning, security_report?: true2272 is expected to equal true2273 file_type: :container_scanning, security_report?: true2274 is expected to equal true2275 file_type: :cluster_image_scanning, security_report?: true2276 is expected to equal true2277 file_type: :dast, security_report?: true2278 is expected to equal true2279 file_type: :coverage_fuzzing, security_report?: true2280 is expected to equal true2281 when the parsing fails2282 returns an errored report instance2283 schema validation2284 validate: false, build_is_subject_to_validation?: false, expected_validate_flag: false2285 calls the parser with the correct arguments2286 validate: false, build_is_subject_to_validation?: true, expected_validate_flag: false2287 calls the parser with the correct arguments2288 validate: true, build_is_subject_to_validation?: false, expected_validate_flag: false2289 calls the parser with the correct arguments2290 validate: true, build_is_subject_to_validation?: true, expected_validate_flag: true2291 calls the parser with the correct arguments2292 #clear_security_report2293 clears the security_report2294Geo::JobArtifactReplicator2295 invokes replicator.handle_after_create_commit on create2296 behaves like a replicator2297 Geo node status2298 on a secondary node2299 .synced_count2300 returns the number of synced items on secondary2301 .failed_count2302 returns the number of failed items on secondary2303 #replicator2304 is defined and does not raise error2305 .replicables_for_current_secondary2306 when syncing object storage is enabled2307 behaves like is implemented and returns a valid relation2308 is implemented2309 when syncing object storage is disabled2310 behaves like is implemented and returns a valid relation2311 is implemented2312 with selective sync disabled2313 behaves like is implemented and returns a valid relation2314 is implemented2315 with selective sync enabled for namespaces2316 behaves like is implemented and returns a valid relation2317 is implemented2318 with selective sync enabled for shards2319 behaves like is implemented and returns a valid relation2320 is implemented2321 #handle_after_create_commit2322 creates a Geo::Event2323 calls #after_verifiable_update2324 when replication feature flag is disabled2325 does not call #after_verifiable_update2326 does not publish2327 #handle_after_destroy2328 creates a Geo::Event2329 when replication feature flag is disabled2330 does not publish2331 created event consumption2332 when the blob's project is in replicables for this geo node2333 invokes Geo::BlobDownloadService2334 when the blob's project is not in replicables for this geo node2335 does not invoke Geo::BlobDownloadService2336 deleted event consumption2337 when model_record was deleted from the DB and the replicator only has its ID2338 invokes Geo::FileRegistryRemovalService2339 backward compatibility2340 invokes Geo::FileRegistryRemovalService when delete event is in deprecated format2341 when object storage is enabled2342 deletes the file from object storage2343 #carrierwave_uploader2344 is implemented2345 #model2346 is implemented2347 is a Class2348 #blob_path2349 when the file is locally stored2350 returns a valid path to a file2351 #calculate_checksum2352 when the file is locally stored2353 when the file exists2354 returns hexdigest of the file2355 when the file does not exist2356 raises an error2357 when the file is remotely stored2358 raises an error2359 #file_exists?2360 is expected to be truthy2361 when the file does not exist2362 is expected to be falsey2363 when the file is nil2364 is expected to be falsey2365 .bulk_create_delete_events_async2366 creates events2367 raises error when model_record_id is nil2368 events2369 has checksum_succeeded event2370 .verification_enabled?2371 when replication is enabled2372 when verification_feature_flag_enabled? returns true2373 returns true2374 when verification_feature_flag_enabled? returns false2375 returns false2376 when replication is disabled2377 returns false2378 .checksummed_count2379 when verification is enabled2380 returns the number of available verifiables where verification succeeded2381 excludes non-success verification states2382 when verification is disabled2383 returns nil2384 .checksum_failed_count2385 when verification is enabled2386 returns the number of available verifiables where verification failed2387 excludes other verification states2388 when verification is disabled2389 returns nil2390 .verification_total_count2391 when verification is enabled2392 returns the number of verification_not_disabled registry rows2393 when verification is disabled2394 returns nil2395 .trigger_background_verification2396 when verification is enabled2397 enqueues VerificationBatchWorker2398 enqueues VerificationTimeoutWorker2399 enqueues VerificationStateBackfillWorker2400 for a Geo secondary2401 does not enqueue ReverificationBatchWorker2402 for a Geo primary2403 enqueues ReverificationBatchWorker2404 when verification is disabled2405 does not enqueue VerificationBatchWorker2406 does not enqueue VerificationTimeoutWorker2407 .backfill_verification_state_table2408 calls VerificationStateBackfillService2409 when on secondary2410 returns false2411 .verify_batch2412 when there are records needing verification2413 calls #verify on each replicator2414 .remaining_verification_batch_count2415 converts needs_verification_count to number of batches2416 .remaining_reverification_batch_count2417 converts needs_reverification_count to number of batches2418 .reverify_batch!2419 calls #reverify_batch2420 .replicator_batch_to_verify2421 returns usable Replicator instances2422 .model_record_id_batch_to_verify2423 when the batch is filled by pending rows2424 returns IDs of pending rows2425 does not call .verification_failed_batch2426 when that batch is not filled by pending rows2427 includes IDs of failed rows2428 .verification_pending_batch2429 when current node is a primary2430 delegates to the model class of the replicator2431 when current node is a secondary2432 delegates to the registry class of the replicator2433 .verification_failed_batch2434 when current node is a primary2435 delegates to the model class of the replicator2436 when current node is a secondary2437 delegates to the registry class of the replicator2438 .fail_verification_timeouts2439 when current node is a primary2440 delegates to the model class of the replicator2441 when current node is a secondary2442 delegates to the registry class of the replicator2443 #after_verifiable_update2444 verification_enabled: true, immutable: true, checksum: nil, checksummable: true, expect_verify_async: true2445 calls verify_async only if needed2446 verification_enabled: true, immutable: true, checksum: nil, checksummable: false, expect_verify_async: false2447 calls verify_async only if needed2448 verification_enabled: true, immutable: true, checksum: "abc123", checksummable: true, expect_verify_async: false2449 calls verify_async only if needed2450 verification_enabled: true, immutable: true, checksum: "abc123", checksummable: false, expect_verify_async: false2451 calls verify_async only if needed2452 verification_enabled: true, immutable: false, checksum: nil, checksummable: true, expect_verify_async: true2453 calls verify_async only if needed2454 verification_enabled: true, immutable: false, checksum: nil, checksummable: false, expect_verify_async: false2455 calls verify_async only if needed2456 verification_enabled: true, immutable: false, checksum: "abc123", checksummable: true, expect_verify_async: true2457 calls verify_async only if needed2458 verification_enabled: true, immutable: false, checksum: "abc123", checksummable: false, expect_verify_async: false2459 calls verify_async only if needed2460 verification_enabled: false, immutable: true, checksum: nil, checksummable: true, expect_verify_async: false2461 calls verify_async only if needed2462 verification_enabled: false, immutable: true, checksum: nil, checksummable: false, expect_verify_async: false2463 calls verify_async only if needed2464 verification_enabled: false, immutable: true, checksum: "abc123", checksummable: true, expect_verify_async: false2465 calls verify_async only if needed2466 verification_enabled: false, immutable: true, checksum: "abc123", checksummable: false, expect_verify_async: false2467 calls verify_async only if needed2468 verification_enabled: false, immutable: false, checksum: nil, checksummable: true, expect_verify_async: false2469 calls verify_async only if needed2470 verification_enabled: false, immutable: false, checksum: nil, checksummable: false, expect_verify_async: false2471 calls verify_async only if needed2472 verification_enabled: false, immutable: false, checksum: "abc123", checksummable: true, expect_verify_async: false2473 calls verify_async only if needed2474 verification_enabled: false, immutable: false, checksum: "abc123", checksummable: false, expect_verify_async: false2475 calls verify_async only if needed2476 #verify_async2477 on a Geo primary2478 calls verification_started! and enqueues VerificationWorker2479 #verify2480 wraps the checksum calculation in track_checksum_attempt!2481 #verification_state_tracker2482 on a Geo primary2483 returns model_record2484 on a Geo secondary2485 returns registry2486 #handle_after_checksum_succeeded2487 on a Geo primary2488 creates checksum_succeeded event2489 is called on verification success2490 on a Geo secondary2491 does not create an event2492 #consume_event_checksum_succeeded2493 with a persisted model_record2494 on a Geo primary2495 does nothing2496 on a Geo secondary2497 with a persisted registry2498 with a registry which is verified2499 sets state to verification_pending2500 with a registry which is pending verification2501 does not change state from verification_pending2502 with an unpersisted registry2503 does not persist the registry2504 #primary_verification_succeeded?2505 when the model record is verification_succeeded2506 returns true2507 when the model record is verification_succeeded2508 returns false2509 integration tests2510 on a primary2511 background backfill2512 verifies model records2513 triggered by events2514 verifies model records2515 on a secondary2516 background backfill2517 verifies registries2518 triggered by events2519 verifies registries2520Geo::PipelineArtifactReplicator2521 invokes replicator.handle_after_create_commit on create2522 behaves like a replicator2523 Geo node status2524 on a secondary node2525 .synced_count2526 returns the number of synced items on secondary2527 .failed_count2528 returns the number of failed items on secondary2529 #replicator2530 is defined and does not raise error2531 .replicables_for_current_secondary2532 when syncing object storage is enabled2533 behaves like is implemented and returns a valid relation2534 is implemented2535 when syncing object storage is disabled2536 behaves like is implemented and returns a valid relation2537 is implemented2538 with selective sync disabled2539 behaves like is implemented and returns a valid relation2540 is implemented2541 with selective sync enabled for namespaces2542 behaves like is implemented and returns a valid relation2543 is implemented2544 with selective sync enabled for shards2545 behaves like is implemented and returns a valid relation2546 is implemented2547 #handle_after_create_commit2548 creates a Geo::Event2549 calls #after_verifiable_update2550 when replication feature flag is disabled2551 does not call #after_verifiable_update2552 does not publish2553 #handle_after_destroy2554 creates a Geo::Event2555 when replication feature flag is disabled2556 does not publish2557 created event consumption2558 when the blob's project is in replicables for this geo node2559 invokes Geo::BlobDownloadService2560 when the blob's project is not in replicables for this geo node2561 does not invoke Geo::BlobDownloadService2562 deleted event consumption2563 when model_record was deleted from the DB and the replicator only has its ID2564 invokes Geo::FileRegistryRemovalService2565 backward compatibility2566 invokes Geo::FileRegistryRemovalService when delete event is in deprecated format2567 when object storage is enabled2568 deletes the file from object storage2569 #carrierwave_uploader2570 is implemented2571 #model2572 is implemented2573 is a Class2574 #blob_path2575 when the file is locally stored2576 returns a valid path to a file2577 #calculate_checksum2578 when the file is locally stored2579 when the file exists2580 returns hexdigest of the file2581 when the file does not exist2582 raises an error2583 when the file is remotely stored2584 raises an error2585 #file_exists?2586 is expected to be truthy2587 when the file does not exist2588 is expected to be falsey2589 when the file is nil2590 is expected to be falsey2591 .bulk_create_delete_events_async2592 creates events2593 raises error when model_record_id is nil2594 behaves like a verifiable replicator2595 events2596 has checksum_succeeded event2597 .verification_enabled?2598 when replication is enabled2599 when verification_feature_flag_enabled? returns true2600 returns true2601 when verification_feature_flag_enabled? returns false2602 returns false2603 when replication is disabled2604 returns false2605 .checksummed_count2606 when verification is enabled2607 returns the number of available verifiables where verification succeeded2608 excludes non-success verification states2609 when verification is disabled2610 returns nil2611 .checksum_failed_count2612 when verification is enabled2613 returns the number of available verifiables where verification failed2614 excludes other verification states2615 when verification is disabled2616 returns nil2617 .verification_total_count2618 when verification is enabled2619 returns the number of verification_not_disabled registry rows2620 when verification is disabled2621 returns nil2622 .trigger_background_verification2623 when verification is enabled2624 enqueues VerificationBatchWorker2625 enqueues VerificationTimeoutWorker2626 enqueues VerificationStateBackfillWorker2627 for a Geo secondary2628 does not enqueue ReverificationBatchWorker2629 for a Geo primary2630 enqueues ReverificationBatchWorker2631 when verification is disabled2632 does not enqueue VerificationBatchWorker2633 does not enqueue VerificationTimeoutWorker2634 .backfill_verification_state_table2635 calls VerificationStateBackfillService2636 when on secondary2637 returns false2638 .verify_batch2639 when there are records needing verification2640 calls #verify on each replicator2641 .remaining_verification_batch_count2642 converts needs_verification_count to number of batches2643 .remaining_reverification_batch_count2644 converts needs_reverification_count to number of batches2645 .reverify_batch!2646 calls #reverify_batch2647 .replicator_batch_to_verify2648 returns usable Replicator instances2649 .model_record_id_batch_to_verify2650 when the batch is filled by pending rows2651 returns IDs of pending rows2652 does not call .verification_failed_batch2653 when that batch is not filled by pending rows2654 includes IDs of failed rows2655 .verification_pending_batch2656 when current node is a primary2657 delegates to the model class of the replicator2658 when current node is a secondary2659 delegates to the registry class of the replicator2660 .verification_failed_batch2661 when current node is a primary2662 delegates to the model class of the replicator2663 when current node is a secondary2664 delegates to the registry class of the replicator2665 .fail_verification_timeouts2666 when current node is a primary2667 delegates to the model class of the replicator2668 when current node is a secondary2669 delegates to the registry class of the replicator2670 #after_verifiable_update2671 verification_enabled: true, immutable: true, checksum: nil, checksummable: true, expect_verify_async: true2672 calls verify_async only if needed2673 verification_enabled: true, immutable: true, checksum: nil, checksummable: false, expect_verify_async: false2674 calls verify_async only if needed2675 verification_enabled: true, immutable: true, checksum: "abc123", checksummable: true, expect_verify_async: false2676 calls verify_async only if needed2677 verification_enabled: true, immutable: true, checksum: "abc123", checksummable: false, expect_verify_async: false2678 calls verify_async only if needed2679 verification_enabled: true, immutable: false, checksum: nil, checksummable: true, expect_verify_async: true2680 calls verify_async only if needed2681 verification_enabled: true, immutable: false, checksum: nil, checksummable: false, expect_verify_async: false2682 calls verify_async only if needed2683 verification_enabled: true, immutable: false, checksum: "abc123", checksummable: true, expect_verify_async: true2684 calls verify_async only if needed2685 verification_enabled: true, immutable: false, checksum: "abc123", checksummable: false, expect_verify_async: false2686 calls verify_async only if needed2687 verification_enabled: false, immutable: true, checksum: nil, checksummable: true, expect_verify_async: false2688 calls verify_async only if needed2689 verification_enabled: false, immutable: true, checksum: nil, checksummable: false, expect_verify_async: false2690 calls verify_async only if needed2691 verification_enabled: false, immutable: true, checksum: "abc123", checksummable: true, expect_verify_async: false2692 calls verify_async only if needed2693 verification_enabled: false, immutable: true, checksum: "abc123", checksummable: false, expect_verify_async: false2694 calls verify_async only if needed2695 verification_enabled: false, immutable: false, checksum: nil, checksummable: true, expect_verify_async: false2696 calls verify_async only if needed2697 verification_enabled: false, immutable: false, checksum: nil, checksummable: false, expect_verify_async: false2698 calls verify_async only if needed2699 verification_enabled: false, immutable: false, checksum: "abc123", checksummable: true, expect_verify_async: false2700 calls verify_async only if needed2701 verification_enabled: false, immutable: false, checksum: "abc123", checksummable: false, expect_verify_async: false2702 calls verify_async only if needed2703 #verify_async2704 on a Geo primary2705 calls verification_started! and enqueues VerificationWorker2706 #verify2707 wraps the checksum calculation in track_checksum_attempt!2708 #verification_state_tracker2709 on a Geo primary2710 returns model_record2711 on a Geo secondary2712 returns registry2713 #handle_after_checksum_succeeded2714 on a Geo primary2715 creates checksum_succeeded event2716 is called on verification success2717 on a Geo secondary2718 does not create an event2719 #consume_event_checksum_succeeded2720 with a persisted model_record2721 on a Geo primary2722 does nothing2723 on a Geo secondary2724 with a persisted registry2725 with a registry which is verified2726 sets state to verification_pending2727 with a registry which is pending verification2728 does not change state from verification_pending2729 with an unpersisted registry2730 does not persist the registry2731 #primary_verification_succeeded?2732 when the model record is verification_succeeded2733 returns true2734 when the model record is verification_succeeded2735 returns false2736 integration tests2737 on a primary2738 background backfill2739 verifies model records2740 triggered by events2741 verifies model records2742 on a secondary2743 background backfill2744 verifies registries2745 triggered by events2746 verifies registries2747Vulnerabilities::ConfirmService2748 with an authorized user with proper permissions2749 confirms a vulnerability2750 creates note2751 does not remove the feedback from associated findings2752 behaves like calls vulnerability statistics utility services in order2753 when updating the vulnerability fails2754 does not call the service classes2755 when updating the vulnerability succeeds2756 calls the service classes in order2757 when feature flag deprecate_vulnerabilities_feedback is disabled2758 behaves like removes dismissal feedback from associated findings2759 when there is no error2760 removes dismissal feedback from associated findings2761 when there is an error2762 does not remove any feedback2763 responds with error2764 when security dashboard feature is disabled2765 raises an "access denied" error2766 permissions2767 is expected to be allowed for :owner2768 is expected to be allowed for :maintainer2769 is expected to be allowed for :developer2770 is expected to be denied for :auditor2771 is expected to be denied for :reporter2772 is expected to be denied for :guest2773 is expected to be denied for :anonymous2774 when admin mode is enabled2775 is expected to be allowed for :admin2776 when admin mode is disabled2777 is expected to be denied for :admin2778GlobalSearch2779 Respect feature visibility levels2780 Private projects2781 does not find items if features are disabled2782 shows items to member only if features are enabled2783 Internal projects2784 does not find items if features are disabled2785 shows items to member only if features are enabled2786 shows items to member only if features are private2787 Public projects2788 does not find items if features are disabled2789 finds items if features are enabled2790 shows items to member only if features are private2791CI YML Templates2792 that support autodevops2793 template_name: "5-Minute-Production-App.gitlab-ci.yml"2794 are valid with default stages2795 require default stages to be included2796 template_name: "Android.gitlab-ci.yml"2797 are valid with default stages2798 require default stages to be included2799 template_name: "Android-Fastlane.gitlab-ci.yml"2800 are valid with default stages2801 require default stages to be included2802 template_name: "Auto-DevOps.gitlab-ci.yml"2803 are valid with default stages2804 require default stages to be included2805 template_name: "Bash.gitlab-ci.yml"2806 are valid with default stages2807 require default stages to be included2808 template_name: "C++.gitlab-ci.yml"2809 are valid with default stages2810 require default stages to be included2811 template_name: "Chef.gitlab-ci.yml"2812 are valid with default stages2813 require default stages to be included2814 template_name: "Clojure.gitlab-ci.yml"2815 are valid with default stages2816 require default stages to be included2817 template_name: "Code-Quality.gitlab-ci.yml"2818 are valid with default stages2819 require default stages to be included2820 template_name: "Composer.gitlab-ci.yml"2821 are valid with default stages2822 require default stages to be included2823 template_name: "Crystal.gitlab-ci.yml"2824 are valid with default stages2825 require default stages to be included2826 template_name: "Dart.gitlab-ci.yml"2827 are valid with default stages2828 require default stages to be included2829 template_name: "Deploy-ECS.gitlab-ci.yml"2830 are valid with default stages2831 require default stages to be included2832 template_name: "Django.gitlab-ci.yml"2833 are valid with default stages2834 require default stages to be included2835 template_name: "Docker.gitlab-ci.yml"2836 are valid with default stages2837 require default stages to be included2838 template_name: "Elixir.gitlab-ci.yml"2839 are valid with default stages2840 require default stages to be included2841 template_name: "Flutter.gitlab-ci.yml"2842 are valid with default stages2843 require default stages to be included2844 template_name: "Getting-Started.gitlab-ci.yml"2845 are valid with default stages2846 require default stages to be included2847 template_name: "Go.gitlab-ci.yml"2848 are valid with default stages2849 require default stages to be included2850 template_name: "Gradle.gitlab-ci.yml"2851 are valid with default stages2852 require default stages to be included2853 template_name: "Grails.gitlab-ci.yml"2854 are valid with default stages2855 require default stages to be included2856 template_name: "Indeni.Cloudrail.gitlab-ci.yml"2857 are valid with default stages2858 require default stages to be included2859 template_name: "Julia.gitlab-ci.yml"2860 are valid with default stages2861 require default stages to be included2862 template_name: "Kaniko.gitlab-ci.yml"2863 are valid with default stages2864 require default stages to be included2865 template_name: "LaTeX.gitlab-ci.yml"2866 are valid with default stages2867 require default stages to be included2868 template_name: "Laravel.gitlab-ci.yml"2869 are valid with default stages2870 require default stages to be included2871 template_name: "MATLAB.gitlab-ci.yml"2872 are valid with default stages2873 require default stages to be included2874 template_name: "Maven.gitlab-ci.yml"2875 are valid with default stages2876 require default stages to be included2877 template_name: "Mono.gitlab-ci.yml"2878 are valid with default stages2879 require default stages to be included2880 template_name: "Nodejs.gitlab-ci.yml"2881 are valid with default stages2882 require default stages to be included2883 template_name: "OpenShift.gitlab-ci.yml"2884 are valid with default stages2885 require default stages to be included2886 template_name: "PHP.gitlab-ci.yml"2887 are valid with default stages2888 require default stages to be included2889 template_name: "Packer.gitlab-ci.yml"2890 are valid with default stages2891 require default stages to be included2892 template_name: "Python.gitlab-ci.yml"2893 are valid with default stages2894 require default stages to be included2895 template_name: "Qualys-IaC-Security.gitlab-ci.yml"2896 are valid with default stages2897 require default stages to be included2898 template_name: "Ruby.gitlab-ci.yml"2899 are valid with default stages2900 require default stages to be included2901 template_name: "Rust.gitlab-ci.yml"2902 are valid with default stages2903 require default stages to be included2904 template_name: "Scala.gitlab-ci.yml"2905 are valid with default stages2906 require default stages to be included2907 template_name: "Swift.gitlab-ci.yml"2908 are valid with default stages2909 require default stages to be included2910 template_name: "Terraform.gitlab-ci.yml"2911 are valid with default stages2912 require default stages to be included2913 template_name: "dotNET.gitlab-ci.yml"2914 are valid with default stages2915 require default stages to be included2916 template_name: "dotNET-Core.gitlab-ci.yml"2917 are valid with default stages2918 require default stages to be included2919 template_name: "iOS-Fastlane.gitlab-ci.yml"2920 are valid with default stages2921 require default stages to be included2922 template_name: "liquibase.gitlab-ci.yml"2923 are valid with default stages2924 require default stages to be included2925 template_name: "npm.gitlab-ci.yml"2926 are valid with default stages2927 require default stages to be included2928 template_name: "Pages/Brunch.gitlab-ci.yml"2929 are valid with default stages2930 require default stages to be included2931 template_name: "Pages/Doxygen.gitlab-ci.yml"2932 are valid with default stages2933 require default stages to be included2934 template_name: "Pages/Gatsby.gitlab-ci.yml"2935 are valid with default stages2936 require default stages to be included2937 template_name: "Pages/HTML.gitlab-ci.yml"2938 are valid with default stages2939 require default stages to be included2940 template_name: "Pages/Harp.gitlab-ci.yml"2941 are valid with default stages2942 require default stages to be included2943 template_name: "Pages/Hexo.gitlab-ci.yml"2944 are valid with default stages2945 require default stages to be included2946 template_name: "Pages/Hugo.gitlab-ci.yml"2947 are valid with default stages2948 require default stages to be included2949 template_name: "Pages/Hyde.gitlab-ci.yml"2950 are valid with default stages2951 require default stages to be included2952 template_name: "Pages/JBake.gitlab-ci.yml"2953 are valid with default stages2954 require default stages to be included2955 template_name: "Pages/Jekyll.gitlab-ci.yml"2956 are valid with default stages2957 require default stages to be included2958 template_name: "Pages/Jigsaw.gitlab-ci.yml"2959 are valid with default stages2960 require default stages to be included2961 template_name: "Pages/Lektor.gitlab-ci.yml"2962 are valid with default stages2963 require default stages to be included2964 template_name: "Pages/Metalsmith.gitlab-ci.yml"2965 are valid with default stages2966 require default stages to be included2967 template_name: "Pages/Middleman.gitlab-ci.yml"2968 are valid with default stages2969 require default stages to be included2970 template_name: "Pages/Nanoc.gitlab-ci.yml"2971 are valid with default stages2972 require default stages to be included2973 template_name: "Pages/Octopress.gitlab-ci.yml"2974 are valid with default stages2975 require default stages to be included2976 template_name: "Pages/Pelican.gitlab-ci.yml"2977 are valid with default stages2978 require default stages to be included2979 template_name: "Pages/SwaggerUI.gitlab-ci.yml"2980 are valid with default stages2981 require default stages to be included2982 template_name: "Verify/Accessibility.gitlab-ci.yml"2983 are valid with default stages2984 require default stages to be included2985 template_name: "Verify/Browser-Performance.gitlab-ci.yml"2986 are valid with default stages2987 require default stages to be included2988 template_name: "Verify/FailFast.gitlab-ci.yml"2989 are valid with default stages2990 require default stages to be included2991 template_name: "Verify/Load-Performance-Testing.gitlab-ci.yml"2992 are valid with default stages2993 require default stages to be included2994 template_name: "Security/Container-Scanning.gitlab-ci.yml"2995 are valid with default stages2996 require default stages to be included2997 template_name: "Security/Coverage-Fuzzing.gitlab-ci.yml"2998 are valid with default stages2999 require default stages to be included3000 template_name: "Security/DAST-On-Demand-API-Scan.gitlab-ci.yml"3001 are valid with default stages3002 require default stages to be included3003 template_name: "Security/DAST-On-Demand-Scan.gitlab-ci.yml"3004 are valid with default stages3005 require default stages to be included3006 template_name: "Security/DAST-Runner-Validation.gitlab-ci.yml"3007 are valid with default stages3008 require default stages to be included3009 template_name: "Security/Dependency-Scanning.gitlab-ci.yml"3010 are valid with default stages3011 require default stages to be included3012 template_name: "Security/License-Scanning.gitlab-ci.yml"3013 are valid with default stages3014 require default stages to be included3015 template_name: "Security/SAST.gitlab-ci.yml"3016 are valid with default stages3017 require default stages to be included3018 template_name: "Security/SAST-IaC.gitlab-ci.yml"3019 are valid with default stages3020 require default stages to be included3021 template_name: "Security/Secret-Detection.gitlab-ci.yml"3022 are valid with default stages3023 require default stages to be included3024 template_name: "Security/Secure-Binaries.gitlab-ci.yml"3025 are valid with default stages3026 require default stages to be included3027 that do not support autodevops3028 when DAST API template3029 with default stages3030 is expected not to be valid3031 with defined stages3032 is expected to be valid3033 require default stages to be included3034 when API Fuzzing template3035 with default stages3036 is expected not to be valid3037 with defined stages3038 is expected to be valid3039 require default stages to be included3040Dast::ProfileSchedule3041 associations3042 is expected to belong to project required: false3043 is expected to belong to dast_profile class_name => Dast::Profile required: true inverse_of => dast_profile_schedule3044 is expected to belong to owner class_name => User required: false3045 validations3046 is expected to be valid3047 is expected to validate that :timezone cannot be empty/falsy3048 is expected to validate that :timezone is either ‹"Etc/GMT+12"›, ‹"Pacific/Pago_Pago"›, ‹"Pacific/Midway"›, ‹"Pacific/Honolulu"›, ‹"America/Juneau"›, ‹"America/Los_Angeles"›, ‹"America/Tijuana"›, ‹"America/Phoenix"›, ‹"America/Chihuahua"›, ‹"America/Mazatlan"›, ‹"America/Denver"›, ‹"America/Guatemala"›, ‹"America/Chicago"›, ‹"America/Mexico_City"›, ‹"America/Mexico_City"›, ‹"America/Monterrey"›, ‹"America/Regina"›, ‹"America/Bogota"›, ‹"America/New_York"›, ‹"America/Indiana/Indianapolis"›, ‹"America/Lima"›, ‹"America/Lima"›, ‹"America/Halifax"›, ‹"America/Caracas"›, ‹"America/Guyana"›, ‹"America/La_Paz"›, ‹"America/Puerto_Rico"›, ‹"America/Santiago"›, ‹"America/St_Johns"›, ‹"America/Sao_Paulo"›, ‹"America/Argentina/Buenos_Aires"›, ‹"America/Godthab"›, ‹"America/Montevideo"›, ‹"Atlantic/South_Georgia"›, ‹"Atlantic/Azores"›, ‹"Atlantic/Cape_Verde"›, ‹"Europe/London"›, ‹"Europe/Lisbon"›, ‹"Europe/London"›, ‹"Africa/Monrovia"›, ‹"Etc/UTC"›, ‹"Europe/Amsterdam"›, ‹"Europe/Belgrade"›, ‹"Europe/Berlin"›, ‹"Europe/Zurich"›, ‹"Europe/Bratislava"›, ‹"Europe/Brussels"›, ‹"Europe/Budapest"›, ‹"Africa/Casablanca"›, ‹"Europe/Copenhagen"›, ‹"Europe/Dublin"›, ‹"Europe/Ljubljana"›, ‹"Europe/Madrid"›, ‹"Europe/Paris"›, ‹"Europe/Prague"›, ‹"Europe/Rome"›, ‹"Europe/Sarajevo"›, ‹"Europe/Skopje"›, ‹"Europe/Stockholm"›, ‹"Europe/Vienna"›, ‹"Europe/Warsaw"›, ‹"Africa/Algiers"›, ‹"Europe/Zagreb"›, ‹"Europe/Zurich"›, ‹"Europe/Athens"›, ‹"Europe/Bucharest"›, ‹"Africa/Cairo"›, ‹"Africa/Harare"›, ‹"Europe/Helsinki"›, ‹"Asia/Jerusalem"›, ‹"Europe/Kaliningrad"›, ‹"Europe/Kiev"›, ‹"Africa/Johannesburg"›, ‹"Europe/Riga"›, ‹"Europe/Sofia"›, ‹"Europe/Tallinn"›, ‹"Europe/Vilnius"›, ‹"Asia/Baghdad"›, ‹"Europe/Istanbul"›, ‹"Asia/Kuwait"›, ‹"Europe/Minsk"›, ‹"Europe/Moscow"›, ‹"Africa/Nairobi"›, ‹"Asia/Riyadh"›, ‹"Europe/Moscow"›, ‹"Europe/Volgograd"›, ‹"Asia/Tehran"›, ‹"Asia/Muscat"›, ‹"Asia/Baku"›, ‹"Asia/Muscat"›, ‹"Europe/Samara"›, ‹"Asia/Tbilisi"›, ‹"Asia/Yerevan"›, ‹"Asia/Kabul"›, ‹"Asia/Yekaterinburg"›, ‹"Asia/Karachi"›, ‹"Asia/Karachi"›, ‹"Asia/Tashkent"›, ‹"Asia/Kolkata"›, ‹"Asia/Kolkata"›, ‹"Asia/Kolkata"›, ‹"Asia/Kolkata"›, ‹"Asia/Colombo"›, ‹"Asia/Kathmandu"›, ‹"Asia/Almaty"›, ‹"Asia/Dhaka"›, ‹"Asia/Dhaka"›, ‹"Asia/Urumqi"›, ‹"Asia/Rangoon"›, ‹"Asia/Bangkok"›, ‹"Asia/Bangkok"›, ‹"Asia/Jakarta"›, ‹"Asia/Krasnoyarsk"›, ‹"Asia/Novosibirsk"›, ‹"Asia/Shanghai"›, ‹"Asia/Chongqing"›, ‹"Asia/Hong_Kong"›, ‹"Asia/Irkutsk"›, ‹"Asia/Kuala_Lumpur"›, ‹"Australia/Perth"›, ‹"Asia/Singapore"›, ‹"Asia/Taipei"›, ‹"Asia/Ulaanbaatar"›, ‹"Asia/Tokyo"›, ‹"Asia/Tokyo"›, ‹"Asia/Seoul"›, ‹"Asia/Tokyo"›, ‹"Asia/Yakutsk"›, ‹"Australia/Adelaide"›, ‹"Australia/Darwin"›, ‹"Australia/Brisbane"›, ‹"Australia/Melbourne"›, ‹"Pacific/Guam"›, ‹"Australia/Hobart"›, ‹"Australia/Melbourne"›, ‹"Pacific/Port_Moresby"›, ‹"Australia/Sydney"›, ‹"Asia/Vladivostok"›, ‹"Asia/Magadan"›, ‹"Pacific/Noumea"›, ‹"Pacific/Guadalcanal"›, ‹"Asia/Srednekolymsk"›, ‹"Pacific/Auckland"›, ‹"Pacific/Fiji"›, ‹"Asia/Kamchatka"›, ‹"Pacific/Majuro"›, ‹"Pacific/Auckland"›, ‹"Pacific/Chatham"›, ‹"Pacific/Tongatapu"›, ‹"Pacific/Apia"›, or ‹"Pacific/Fakaofo"›3049 is expected to validate that :starts_at cannot be empty/falsy3050 is expected to validate that :dast_profile_id is case-sensitively unique3051 cadence3052 when valid values3053 allows day values3054 allows week values3055 allows month values3056 allows month values3057 allows month values3058 allows year values3059 allows values3060 when invalid values3061 disallow day values3062 disallow month_foo values3063 validate3064 validate_plan_limit_not_exceeded_while_activating3065 when the plan limit has not been exceeded3066 can activate the schedule3067 when the plan limit has been exceeded3068 prevents the schedule from being activated3069 allows the schedule to be deactivated3070 scopes3071 active3072 includes the correct records3073 .runnable_schedules3074 when there are runnable schedules3075 returns the runnable schedule3076 when there are inactive schedules3077 returns an empty array3078 when there are no runnable schedules3079 returns an empty array3080 when there are runnable schedules in future3081 returns an empty array3082 before_save3083 #set_cron3084 when repeat? is true3085 sets the cron value3086 when repeat? is false3087 sets the cron value to default when non repeating3088 #set_next_run_at3089 when schedule runs every minute3090 updates next_run_at to the worker's execution time3091 when there are two different schedules in the same time zones3092 sets the sames next_run_at3093 when starts_at is updated for existing schedules3094 updates next_run_at automatically3095 #schedule_next_run!3096 when repeat? is true3097 sets active to true3098 when repeat? is false3099 sets active to false3100 limitable3101 behaves like includes Limitable concern3102 #exceeds_limits?3103 without plan limits configured3104 is expected to eq false3105 without plan limits configured3106 is expected to eq false3107 with an existing model3108 is expected to eq true3109 validations3110 is expected to be a kind of Limitable3111 without plan limits configured3112 can create new models3113 with plan limits configured3114 can create new models3115 with an existing model3116 cannot create new models exceeding the plan limits3117 #with_active_schedules3118 returns only active schedules3119 #owner_valid?3120 when the feature is enabled3121 when the scheduler owner is not null and has the ability to create_on_demand_dast_scan3122 is expected to be owner valid3123 when the user_id is nil3124 is expected not to be owner valid3125Repository3126 searches blobs and commits3127 names elasticsearch queries3128 filters commits from blobs, and vice-versa3129 filtering3130 can filter blobs3131 filters by extension when optimization is disabled3132 class method find_commits_by_message_with_elastic3133 returns commits3134 with a deleted project3135 skips its commits3136 with a project pending deletion3137 skips its commits3138 find_commits_by_message_with_elastic3139 returns commits3140EE::ProtectedRefAccess3141 in ProtectedBranch::MergeAccessLevel3142 ProtectedBranch::MergeAccessLevel includes {described_class}3143 requires access_level if no user or group is specified3144 doesn't require access_level if user specified3145 doesn't require access_level if group specified3146 with the `protected_refs_for_users` feature disabled3147 does not allow to create an ProtectedBranch::MergeAccessLevel with a group3148 does not allow to create an ProtectedBranch::MergeAccessLevel with a user3149 with the `protected_refs_for_users` feature enabled3150 allows creating an ProtectedBranch::MergeAccessLevel with a group3151 does not allow to add non member groups3152 allows creating an ProtectedBranch::MergeAccessLevel with a user3153 does not allow to add non member users3154 allows users with access through group3155 in ProtectedBranch::PushAccessLevel3156 ProtectedBranch::PushAccessLevel includes {described_class}3157 requires access_level if no user or group is specified3158 doesn't require access_level if user specified3159 doesn't require access_level if group specified3160 with the `protected_refs_for_users` feature disabled3161 does not allow to create an ProtectedBranch::PushAccessLevel with a group3162 does not allow to create an ProtectedBranch::PushAccessLevel with a user3163 with the `protected_refs_for_users` feature enabled3164 allows creating an ProtectedBranch::PushAccessLevel with a group3165 does not allow to add non member groups3166 allows creating an ProtectedBranch::PushAccessLevel with a user3167 does not allow to add non member users3168 allows users with access through group3169 in ProtectedTag::CreateAccessLevel3170 ProtectedTag::CreateAccessLevel includes {described_class}3171 requires access_level if no user or group is specified3172 doesn't require access_level if user specified3173 doesn't require access_level if group specified3174 with the `protected_refs_for_users` feature disabled3175 does not allow to create an ProtectedTag::CreateAccessLevel with a group3176 does not allow to create an ProtectedTag::CreateAccessLevel with a user3177 with the `protected_refs_for_users` feature enabled3178 allows creating an ProtectedTag::CreateAccessLevel with a group3179 does not allow to add non member groups3180 allows creating an ProtectedTag::CreateAccessLevel with a user3181 does not allow to add non member users3182 allows users with access through group3183AuditEvents::AuditEventStreamingWorker3184 #perform3185 when the entity type is a group3186 behaves like a successful audit event stream3187 when audit event id is passed3188 when the group has no destinations3189 makes no HTTP calls3190 when the group has a destination3191 makes one HTTP call3192 sends the correct verification header3193 sends correct event type in request body3194 adds event type only when audit operation is present3195 when the destination has custom headers3196 sends the headers with the payload3197 when the group has several destinations3198 makes the correct number of HTTP calls3199 when feature is unlicensed3200 makes no HTTP calls3201 when audit event json is passed3202 when the group has no destinations3203 makes no HTTP calls3204 when the group has a destination3205 makes one HTTP call3206 sends the correct verification header3207 sends correct event type in request body3208 adds event type only when audit operation is present3209 when the destination has custom headers3210 sends the headers with the payload3211 when the group has several destinations3212 makes the correct number of HTTP calls3213 when feature is unlicensed3214 makes no HTTP calls3215 behaves like a error is raised3216 when audit event id is passed3217 when any of Gitlab::HTTP::HTTP_ERRORS is raised3218 does not logs the error3219 does not logs the error3220 does not logs the error3221 does not logs the error3222 does not logs the error3223 does not logs the error3224 does not logs the error3225 does not logs the error3226 does not logs the error3227 does not logs the error3228 does not logs the error3229 does not logs the error3230 does not logs the error3231 does not logs the error3232 when URI::InvalidURIError exception is raised3233 logs the error3234 when audit event json is passed3235 when any of Gitlab::HTTP::HTTP_ERRORS is raised3236 does not logs the error3237 does not logs the error3238 does not logs the error3239 does not logs the error3240 does not logs the error3241 does not logs the error3242 does not logs the error3243 does not logs the error3244 does not logs the error3245 does not logs the error3246 does not logs the error3247 does not logs the error3248 does not logs the error3249 does not logs the error3250 when URI::InvalidURIError exception is raised3251 logs the error3252 when both audit event id and audit event json is passed3253 a argument error is raised3254 when the entity type is a project that belongs to a group3255 behaves like a successful audit event stream3256 when audit event id is passed3257 when the group has no destinations3258 makes no HTTP calls3259 when the group has a destination3260 makes one HTTP call3261 sends the correct verification header3262 sends correct event type in request body3263 adds event type only when audit operation is present3264 when the destination has custom headers3265 sends the headers with the payload3266 when the group has several destinations3267 makes the correct number of HTTP calls3268 when feature is unlicensed3269 makes no HTTP calls3270 when audit event json is passed3271 when the group has no destinations3272 makes no HTTP calls3273 when the group has a destination3274 makes one HTTP call3275 sends the correct verification header3276 sends correct event type in request body3277 adds event type only when audit operation is present3278 when the destination has custom headers3279 sends the headers with the payload3280 when the group has several destinations3281 makes the correct number of HTTP calls3282 when feature is unlicensed3283 makes no HTTP calls3284 behaves like a error is raised3285 when audit event id is passed3286 when any of Gitlab::HTTP::HTTP_ERRORS is raised3287 does not logs the error3288 does not logs the error3289 does not logs the error3290 does not logs the error3291 does not logs the error3292 does not logs the error3293 does not logs the error3294 does not logs the error3295 does not logs the error3296 does not logs the error3297 does not logs the error3298 does not logs the error3299 does not logs the error3300 does not logs the error3301 when URI::InvalidURIError exception is raised3302 logs the error3303 when audit event json is passed3304 when any of Gitlab::HTTP::HTTP_ERRORS is raised3305 does not logs the error3306 does not logs the error3307 does not logs the error3308 does not logs the error3309 does not logs the error3310 does not logs the error3311 does not logs the error3312 does not logs the error3313 does not logs the error3314 does not logs the error3315 does not logs the error3316 does not logs the error3317 does not logs the error3318 does not logs the error3319 when URI::InvalidURIError exception is raised3320 logs the error3321 when both audit event id and audit event json is passed3322 a argument error is raised3323 when the entity type is a project at a root namespace level3324 behaves like no HTTP calls are made3325 when audit event id is passed as param3326 makes no HTTP calls3327 when audit event json is passed as param3328 makes no HTTP calls3329 when the entity is a NullEntity3330 behaves like no HTTP calls are made3331 when audit event id is passed as param3332 makes no HTTP calls3333 when audit event json is passed as param3334 makes no HTTP calls3335MigrateCommitsToSeparateIndex3336 migration_options3337 has migration options set3338 .migrate3339 initial launch3340 creates an index and sets migration_state3341 batch run3342 sets migration_state task_id3343 sets next slice and clears task_id after task check3344 resets retry_attempt clears task_id for the next slice3345 reindexing is still in progress3346 does nothing3347 with commits in elastic3348 migrates all commits3349 failed run3350 exception is raised3351 increases retry_attempt and clears task_id3352 fails the migration after too many attempts3353 elasticsearch failures3354 total is not equal3355 raises an error and clears task_id3356 reindexing failues3357 raises an error and clears task_id3358 .completed?3359 counts are equal3360 returns true3361 counts are not equal3362 returns true3363 space_required_bytes3364 is expected to eq 3183365AuditEventService3366 #for_member3367 generates event3368 handles deleted users3369 generates a system event3370 user access expiry3371 generates a system event3372 create user access3373 stores author name3374 updating membership3375 records the change in expiry date3376 #security_event3377 unlicensed3378 does not create an event3379 licensed3380 creates an event3381 on a read-only instance3382 does not create an event3383 admin audit log licensed3384 for an unauthenticated user3385 when request IP address is present3386 has the request IP address3387 when request IP address is not present3388 has the user IP address3389 for an authenticated user3390 when request IP address is present3391 has the request IP address3392 when request IP address is not present3393 has the user IP address3394 tracks exceptions when the event cannot be created3395 for an impersonated user3396 has the impersonator name3397 when request IP address is present3398 has the request IP address3399 when request IP address is not present3400 has the impersonator IP address3401 #enabled?3402 admin_audit_log: true, audit_events: false, extended_audit_events: false, result: true3403 returns the correct result when feature is available3404 admin_audit_log: false, audit_events: true, extended_audit_events: false, result: true3405 returns the correct result when feature is available3406 admin_audit_log: false, audit_events: false, extended_audit_events: true, result: true3407 returns the correct result when feature is available3408 admin_audit_log: false, audit_events: false, extended_audit_events: false, result: false3409 returns the correct result when feature is available3410 #entity_audit_events_enabled?3411 entity is a project3412 returns false when project is unlicensed3413 returns true when project is licensed3414 entity is a group3415 returns false when group is unlicensed3416 returns true when group is licensed3417 entity is a user3418 returns false when unlicensed3419 returns true when licensed with extended events3420 auth event3421 returns true when unlicensed3422 #for_failed_login3423 has the right type3424 has the right author3425 has the right target_details3426 has the right auth method for OAUTH3427 admin audit log licensed3428 has the right IP address3429 admin audit log unlicensed3430 does not have the ip_address3431 on a read-only instance3432 does not create an event record in the database3433 #for_project_group_link3434 sets the target_type attribute3435 #for_user3436 with destroy action3437 sets the details attribute3438 sets the target_id column3439 with create action3440 sets the details attribute3441 sets the target_id column3442 with custom action3443 sets the details attribute3444 sets the target_id column3445 #for_project3446 with destroy action3447 sets the details attribute3448 sets the target_id column3449 with create action3450 sets the details attribute3451 sets the target_id column3452 #for_changes3453 sets the details attribute3454 #for_project3455 sets the details attribute3456 sets the target_type column3457 #for_group3458 sets the details attribute3459 stores target_type in a database column3460 license3461 has the audit_admin feature3462 logs an audit event3463 has the entity_path3464 request IP address is present3465 has the IP address in the details hash3466 has the IP address stored in a separate attribute3467 request IP address is not present3468 has the IP address in the details hash3469 has the IP address stored in a separate attribute3470 has the extended_audit_events feature3471 logs an audit event3472 does not have the entity_path3473 does not have the ip_address3474 entity has the audit_events feature3475 logs an audit event3476 does not have the entity_path3477 does not have the ip_address3478 does not have any audit event feature3479 does not log the audit event3480 save_type3481 with save_type of :database_and_stream3482 saves to database3483 streams the event3484 when the event is created within a transaction3485 does not raise an error about a job being enqueued from within a transaction3486 with save_type of :database3487 saves to database and is not streamed3488 with save_type of :stream3489 does not save to database3490 streams the event3491MergeRequests::SyncReportApproverApprovalRules3492 #execute3493 when a project has multiple report approval rules3494 when none of the rules have been synchronized to the merge request yet3495 is expected to equal 23496 is expected to be report approver3497 is expected to eql 03498 is expected to be license scanning3499 is expected to eq "License-Check"3500 is expected to eq #<ApprovalProjectRule id: 11, created_at: "2022-07-04 07:32:58.154364139 +0000", updated_at: "2022-07...states: ["newly_detected"], orchestration_policy_idx: nil, applies_to_all_protected_branches: false>3501 is expected to be report approver3502 is expected to eql 03503 is expected to be code coverage3504 is expected to eq "Coverage-Check"3505 is expected to eq #<ApprovalProjectRule id: 22, created_at: "2022-07-04 07:33:09.512231690 +0000", updated_at: "2022-07...states: ["newly_detected"], orchestration_policy_idx: nil, applies_to_all_protected_branches: false>3506 when some of the rules have been synchronized to the merge request3507 is expected to equal 23508 is expected to equal 13509 is expected to contain exactly #<ApprovalMergeRequestRule id: 27, created_at: "2022-07-04 07:33:14.746183143 +0000", updated_at: "20...erabilities_allowed: 0, scanners: [], severity_levels: [], vulnerability_states: ["newly_detected"]>3510 when report_approver_rules are disabled3511 copies nothing3512 when coverage_check_approval_rule is disabled3513 copies nothing3514 when coverage_check_approval_rule is enabled3515 synchronize coverage check approval rule3516Gitlab::WebHooks::RateLimiter3517 LIMIT_MAP3518 contains all paid plans3519 #rate_limit!3520 when there is no GitLab subscription3521 can never be rate-limited3522 when there is a GitLab subscription3523 can be rate limited3524 integration-style test of limits3525 hook: project_hook_with_premium_plan, seats: 99, rate_limit_name: :web_hook_calls_low, limit: 13526 does not log when webhook is under the rate limit3527 logs when rate-limited with an ExclusiveLease protection, but does not enforce limits3528 hook: project_hook_with_premium_plan, seats: 100, rate_limit_name: :web_hook_calls_mid, limit: 23529 does not log when webhook is under the rate limit3530 logs when rate-limited with an ExclusiveLease protection, but does not enforce limits3531 hook: project_hook_with_premium_plan, seats: 399, rate_limit_name: :web_hook_calls_mid, limit: 23532 does not log when webhook is under the rate limit3533 logs when rate-limited with an ExclusiveLease protection, but does not enforce limits3534 hook: project_hook_with_premium_plan, seats: 400, rate_limit_name: :web_hook_calls, limit: 33535 does not log when webhook is under the rate limit3536 logs when rate-limited with an ExclusiveLease protection, but does not enforce limits3537 hook: project_hook_with_ultimate_plan, seats: 999, rate_limit_name: :web_hook_calls_low, limit: 43538 does not log when webhook is under the rate limit3539 logs when rate-limited with an ExclusiveLease protection, but does not enforce limits3540 hook: project_hook_with_ultimate_plan, seats: 1000, rate_limit_name: :web_hook_calls_mid, limit: 53541 does not log when webhook is under the rate limit3542 logs when rate-limited with an ExclusiveLease protection, but does not enforce limits3543 hook: project_hook_with_ultimate_plan, seats: 4999, rate_limit_name: :web_hook_calls_mid, limit: 53544 does not log when webhook is under the rate limit3545 logs when rate-limited with an ExclusiveLease protection, but does not enforce limits3546 hook: project_hook_with_ultimate_plan, seats: 5000, rate_limit_name: :web_hook_calls, limit: 63547 does not log when webhook is under the rate limit3548 logs when rate-limited with an ExclusiveLease protection, but does not enforce limits3549 hook: group_hook_with_opensource_plan, seats: 999, rate_limit_name: :web_hook_calls_low, limit: 73550 does not log when webhook is under the rate limit3551 logs when rate-limited with an ExclusiveLease protection, but does not enforce limits3552 hook: group_hook_with_opensource_plan, seats: 1000, rate_limit_name: :web_hook_calls_mid, limit: 83553 does not log when webhook is under the rate limit3554 logs when rate-limited with an ExclusiveLease protection, but does not enforce limits3555 hook: group_hook_with_opensource_plan, seats: 4999, rate_limit_name: :web_hook_calls_mid, limit: 83556 does not log when webhook is under the rate limit3557 logs when rate-limited with an ExclusiveLease protection, but does not enforce limits3558 hook: group_hook_with_opensource_plan, seats: 5000, rate_limit_name: :web_hook_calls, limit: 93559 does not log when webhook is under the rate limit3560 logs when rate-limited with an ExclusiveLease protection, but does not enforce limits3561 hook: group_hook_with_bronze_plan, seats: 99, rate_limit_name: :web_hook_calls_low, limit: 93562 does not log when webhook is under the rate limit3563 logs when rate-limited with an ExclusiveLease protection, but does not enforce limits3564 hook: group_hook_with_bronze_plan, seats: 100, rate_limit_name: :web_hook_calls_mid, limit: 83565 does not log when webhook is under the rate limit3566 logs when rate-limited with an ExclusiveLease protection, but does not enforce limits3567 hook: group_hook_with_bronze_plan, seats: 399, rate_limit_name: :web_hook_calls_mid, limit: 83568 does not log when webhook is under the rate limit3569 logs when rate-limited with an ExclusiveLease protection, but does not enforce limits3570 hook: group_hook_with_bronze_plan, seats: 400, rate_limit_name: :web_hook_calls, limit: 73571 does not log when webhook is under the rate limit3572 logs when rate-limited with an ExclusiveLease protection, but does not enforce limits3573 hook: group_hook_with_silver_plan, seats: 99, rate_limit_name: :web_hook_calls_low, limit: 63574 does not log when webhook is under the rate limit3575 logs when rate-limited with an ExclusiveLease protection, but does not enforce limits3576 hook: group_hook_with_silver_plan, seats: 100, rate_limit_name: :web_hook_calls_mid, limit: 53577 does not log when webhook is under the rate limit3578 logs when rate-limited with an ExclusiveLease protection, but does not enforce limits3579 hook: group_hook_with_silver_plan, seats: 399, rate_limit_name: :web_hook_calls_mid, limit: 53580 does not log when webhook is under the rate limit3581 logs when rate-limited with an ExclusiveLease protection, but does not enforce limits3582 hook: group_hook_with_silver_plan, seats: 400, rate_limit_name: :web_hook_calls, limit: 43583 does not log when webhook is under the rate limit3584 logs when rate-limited with an ExclusiveLease protection, but does not enforce limits3585 hook: group_hook_with_gold_plan, seats: 999, rate_limit_name: :web_hook_calls_low, limit: 33586 does not log when webhook is under the rate limit3587 logs when rate-limited with an ExclusiveLease protection, but does not enforce limits3588 hook: group_hook_with_gold_plan, seats: 1000, rate_limit_name: :web_hook_calls_mid, limit: 23589 does not log when webhook is under the rate limit3590 logs when rate-limited with an ExclusiveLease protection, but does not enforce limits3591 hook: group_hook_with_gold_plan, seats: 4999, rate_limit_name: :web_hook_calls_mid, limit: 23592 does not log when webhook is under the rate limit3593 logs when rate-limited with an ExclusiveLease protection, but does not enforce limits3594 hook: group_hook_with_gold_plan, seats: 5000, rate_limit_name: :web_hook_calls, limit: 13595 does not log when webhook is under the rate limit3596 logs when rate-limited with an ExclusiveLease protection, but does not enforce limits3597 hook: group_hook_with_premium_trial_plan, seats: 99, rate_limit_name: :web_hook_calls_low, limit: 13598 does not log when webhook is under the rate limit3599 logs when rate-limited with an ExclusiveLease protection, but does not enforce limits3600 hook: group_hook_with_premium_trial_plan, seats: 100, rate_limit_name: :web_hook_calls_mid, limit: 33601 does not log when webhook is under the rate limit3602 logs when rate-limited with an ExclusiveLease protection, but does not enforce limits3603 hook: group_hook_with_premium_trial_plan, seats: 399, rate_limit_name: :web_hook_calls_mid, limit: 33604 does not log when webhook is under the rate limit3605 logs when rate-limited with an ExclusiveLease protection, but does not enforce limits3606 hook: group_hook_with_premium_trial_plan, seats: 400, rate_limit_name: :web_hook_calls, limit: 23607 does not log when webhook is under the rate limit3608 logs when rate-limited with an ExclusiveLease protection, but does not enforce limits3609 hook: group_hook_with_ultimate_trial_plan, seats: 999, rate_limit_name: :web_hook_calls_low, limit: 23610 does not log when webhook is under the rate limit3611 logs when rate-limited with an ExclusiveLease protection, but does not enforce limits3612 hook: group_hook_with_ultimate_trial_plan, seats: 1000, rate_limit_name: :web_hook_calls_mid, limit: 13613 does not log when webhook is under the rate limit3614 logs when rate-limited with an ExclusiveLease protection, but does not enforce limits3615 hook: group_hook_with_ultimate_trial_plan, seats: 4999, rate_limit_name: :web_hook_calls_mid, limit: 13616 does not log when webhook is under the rate limit3617 logs when rate-limited with an ExclusiveLease protection, but does not enforce limits3618 hook: group_hook_with_ultimate_trial_plan, seats: 5000, rate_limit_name: :web_hook_calls, limit: 33619 does not log when webhook is under the rate limit3620 logs when rate-limited with an ExclusiveLease protection, but does not enforce limits3621SnippetRepository3622 with 3 groups, 2 projects, and 5 snippets3623 #in_replicables_for_current_secondary?3624 all returns true if all are replicated3625 with selective sync by namespace3626 returns true for snippets in the namespace3627 returns true for personal snippets3628 returns false for project snippets not in an included namespace3629 with selective sync by shard3630 returns true for snippets in the shard3631 returns false for project snippets not in an included shard3632 #replicables_for_current_secondary3633 returns all snippet_repositories without selective sync3634 returns nothing if an unrecognised selective sync type is used3635 with selective sync by namespace3636 returns snippet_repositories that belong to the namespaces + personal snippets3637 with selective sync by shard3638 returns snippet_repositories that belong to the shards3639Groups::TransferService#execute3640 elasticsearch indexing3641 when elasticsearch_limit_indexing is on3642 when moving from a non-indexed namespace to an indexed namespace3643 invalidates the namespace and project cache and indexes the project and all associated data3644 when both namespaces are indexed3645 invalidates the namespace and project cache and indexes the project and all associated data3646 when elasticsearch_limit_indexing is off3647 does not invalidate the namespace or project cache and reindexes projects and associated data3648 with epics3649 when epics feature is disabled3650 transfers a group successfully3651 when epics feature is enabled3652 when group is moved completely out of the main group3653 keeps relations between epics in the group structure3654 removes relations to epics of the old parent group3655 when group is moved some levels up3656DEPRECATION WARNING: Passing an Active Record object to `quote` directly is deprecated3657and will be no longer quoted as id value in Rails 6.2.3658 (called from block in write_using_load_balancer at /builds/gitlab-org/gitlab/lib/gitlab/database/load_balancing/connection_proxy.rb:120)3659 keeps relations between epics in the group structure3660DEPRECATION WARNING: Passing an Active Record object to `quote` directly is deprecated3661and will be no longer quoted as id value in Rails 6.2.3662 (called from block in write_using_load_balancer at /builds/gitlab-org/gitlab/lib/gitlab/database/load_balancing/connection_proxy.rb:120)3663 removes relations to epics of the old parent group3664IssuesFinder3665 #execute3666 scope: all3667 filter by scoped label wildcard3668 when scoped labels are unavailable3669 does not return any results3670 when project scope is not given3671 does not return any results3672 with a single wildcard filter3673 returns issues that have labels that match the wildcard3674 with multiple wildcard filters3675 returns issues that have labels that match both wildcards3676 combined with a regular label filter3677 returns issues that have labels that match the wildcard and the regular label3678 with nested prefix3679 returns issues that have labels that match the prefix3680 with overlapping prefixes3681 returns issues that have labels that match both prefixes3682 using NOT3683 returns issues that do not have labels that match the wildcard3684 filter by weight3685 filter issues with no weight3686 returns all issues3687 filter issues with any weight3688 returns all issues3689 filter issues with a specific weight3690 returns all issues3691 filer issues by negated weight3692 filters out issues with the specified weight3693 filtering by assignee IDs3694 returns issues assigned to those users3695 filter by username3696 behaves like assignee username filter3697 returns issuables assigned to those users3698 behaves like assignee NOT username filter3699 returns issuables not assigned to those users3700 filter by epic3701 filter issues with no epic3702 returns filtered issues3703 filter issues by epic3704 when include_subepics param is not included3705 returns all issues in the epic, subepic issues excluded3706 when include_subepics param is set to true3707 returns all issues in the epic including subepic issues3708 filter issues with any epic3709 returns filtered issues3710 filter issues not in the epic3711 returns issues not assigned to the epic3712 filter by iteration3713 filter issues with no iteration3714 returns all issues without iterations3715 filter issues with any iteration3716 returns filtered issues3717 filter issues by current iteration3718 when no current iteration is found3719 returns no issues3720 when current iteration exists3721 returns filtered issues3722 filter by negated current iteration3723 returns filtered issues3724 filter issues by iteration3725 returns all issues with the iteration3726 filter issues by multiple iterations3727 returns all issues with the iteration3728 filter issue by iteration title3729 returns all issues with the iteration title3730 filter issue by negated iteration title3731 returns all issues that do not match the iteration title3732 without iteration_id param3733 returns unfiltered issues3734 #with_confidentiality_access_check3735 when no project filter is given3736 for an auditor3737 returns all issues3738 when searching within a specific project3739 for an auditor3740 returns all issues3741AuditEvent3742 relationships3743 is expected to belong to user required: false3744 validations3745 is expected to validate that :author_id cannot be empty/falsy3746 is expected to validate that :entity_id cannot be empty/falsy3747 is expected to validate that :entity_type cannot be empty/falsy3748 callbacks3749 truncate_fields3750 entity_path3751 behaves like a truncated field3752 when values are provided3753 database_column: :long, details_value: nil, expected_value: :truncated3754 sets both values to be the same3755 database_column: :short, details_value: nil, expected_value: :short3756 sets both values to be the same3757 database_column: nil, details_value: :long, expected_value: :truncated3758 sets both values to be the same3759 database_column: nil, details_value: :short, expected_value: :short3760 sets both values to be the same3761 database_column: :long, details_value: :short, expected_value: :truncated3762 sets both values to be the same3763 when values are not provided3764 does not set3765 target_details3766 behaves like a truncated field3767 when values are provided3768 database_column: :long, details_value: nil, expected_value: :truncated3769 sets both values to be the same3770 database_column: :short, details_value: nil, expected_value: :short3771 sets both values to be the same3772 database_column: nil, details_value: :long, expected_value: :truncated3773 sets both values to be the same3774 database_column: nil, details_value: :short, expected_value: :short3775 sets both values to be the same3776 database_column: :long, details_value: :short, expected_value: :truncated3777 sets both values to be the same3778 when values are not provided3779 does not set3780 #stream_to_external_destinations3781 feature is licensed3782 entity is a group3783 behaves like successful audit event stream3784 when the group has no destinations3785 enqueues no workers3786 when the group has destination3787 enqueues one worker3788 entity is a project3789 behaves like successful audit event stream3790 when the group has no destinations3791 enqueues no workers3792 when the group has destination3793 enqueues one worker3794 when entity is not a group or project3795 enqueues no workers3796 feature is unlicensed3797 enqueues no workers3798 .by_entity3799 returns the correct audit events3800 .order_by3801 when sort by created_at in ascending order3802 sorts results by id in ascending order3803 when it is default3804 sorts results by id in descending order3805 #author_name3806 when user exists3807 returns user name3808 when user does not exist anymore3809 when database contains author_name3810 returns author_name3811 when details contains author_name3812 returns author_name3813 when details does not contains author_name3814 returns nil3815 when authored by an unauthenticated user3816 returns `An unauthenticated user`3817 #entity3818 when entity exists3819 returns the entity object3820 when entity does not exist3821 returns a NullEntity3822 #ip_address3823 when ip_address exists in both details hash and ip_address column3824 returns the value from ip_address column3825 when ip_address exists in details hash but not in ip_address column3826 returns the value from details hash3827 #entity_path3828 when entity_path exists in both details hash and entity_path column3829 returns the value from entity_path column3830 when entity_path exists in details hash but not in entity_path column3831 returns the value from details hash3832 #target_type3833 when target_type exists in both details hash and target_type column3834 returns the value from target_type column3835 when target_type exists in details hash but not in target_type column3836 returns the value from details hash3837 #present3838 returns a presenter3839 #formatted_details3840 converts value of `to` and `from` in `details` to string3841 author3842 when author exists3843 returns the author object3844 when author is unauthenticated3845 is an unauthenticated user3846 when author no longer exists3847 is a deleted user3848 entity_is_group_or_project?3849 when entity is a Group3850 is expected to equal true3851 when entity is a Project3852 is expected to equal true3853 when entity is an Epic3854 is expected to equal false3855Epics::EpicLinks::UpdateService3856 #execute3857 when subepics feature is not available3858 returns an error3859 when subepics feature is available3860 when params are nil3861 does not change order of child epics3862 when moving to start3863 reorders child epics3864 behaves like updating timestamps3865 does not update moved epic3866 does not update parent epic3867 when moving to end3868 reorders child epics3869 behaves like updating timestamps3870 does not update moved epic3871 does not update parent epic3872 when moving between siblings3873 reorders child epics3874 behaves like updating timestamps3875 does not update moved epic3876 does not update parent epic3877 when params are invalid3878 when move_before_id is not a child of parent epic3879 behaves like returns error3880 does not change order of child epics and returns error3881 when move_after_id is not a child of parent epic3882 behaves like returns error3883 does not change order of child epics and returns error3884LdapGroupResetService3885 #execute3886 initiated by ldap user3887 is expected to eq 503888 is expected to eq 103889 is expected to eq 503890 is expected to be nil3891 is expected to be nil3892 initiated by regular user3893 is expected to eq 103894 is expected to eq 103895 is expected to eq 503896 is expected to be nil3897 is expected to be nil3898AppSec::Dast::ScannerProfiles::CreateService3899 #execute3900 when a user does not have access to a project3901 returns an error status3902 populates message3903 when the user does not have permission to run a dast scan3904 returns an error status3905 populates message3906 when the user can run a dast scan3907 returns a success status3908 creates a dast_scanner_profile3909 creates a dast_scanner_profile with the given params3910 returns a dast_scanner_profile payload3911 audits the creation3912 when the dast_scanner_profile name exists3913 does not create a new dast_scanner_profile3914 returns an error status3915 populates message3916 when on demand scan licensed feature is not available3917 returns an error status3918 populates message3919Jobs/DAST-Default-Branch-Deploy.gitlab-ci.yml3920 the created pipeline3921 when deploying to kubernetes3922 has no errors3923 when project has no license3924 does not include DAST environment jobs3925 when project has Ultimate license3926 default branch3927 includes the DAST environment jobs by default3928 when DAST_DISABLED is set3929 does not include DAST environment jobs3930 when DAST_DISABLED_FOR_DEFAULT_BRANCH is set3931 does not include DAST environment jobs3932 when DAST_WEBSITE is set3933 does not include DAST environment jobs3934 when KUBECONFIG and not CI_KUBERNETES_ACTIVE3935 includes the DAST environment jobs3936 on another branch3937 does not include DAST environment jobs3938 when deploying to ECS3939 has no errors3940 when project has no license3941 does not include DAST environment jobs3942 when project has Ultimate license3943 default branch3944 includes the DAST environment jobs by default3945 when DAST_DISABLED is set3946 does not include DAST environment jobs3947 when DAST_DISABLED_FOR_DEFAULT_BRANCH is set3948 does not include DAST environment jobs3949 when DAST_WEBSITE is set3950 does not include DAST environment jobs3951 on another branch3952 does not include DAST environment jobs3953 when deploying to other infrastructure3954 has no errors3955 when project has Ultimate license3956 default branch3957 does not include DAST environment jobs3958List3959 relationships3960 is expected to belong to user required: false3961 is expected to belong to milestone required: false3962 is expected to belong to iteration required: false3963 validations3964 is expected to validate that :max_issue_count looks like an integer greater than or equal to 03965 is expected to validate that :max_issue_weight looks like an integer greater than or equal to 03966 is expected to validate that :limit_metric is either ‹nil›, ‹"all_metrics"›, ‹"issue_count"›, or ‹"issue_weights"›3967 when it is an assignee type3968 is expected to be destroyable3969 is expected to be movable3970 validations3971 is expected to validate that :user cannot be empty/falsy3972 #title3973 returns the username as title3974 when it is a milestone type3975 is expected to be destroyable3976 is expected to be movable3977 validations3978 is expected to validate that :milestone cannot be empty/falsy3979 is invalid when feature is not available3980 #title3981 returns the milestone title3982 when it is an iteration type3983 is expected to be destroyable3984 is expected to be movable3985 validations3986 is expected to validate that :iteration cannot be empty/falsy3987 is invalid when feature is not available3988 #title3989 returns the iteration cadence and period as title3990 #wip_limits_available?3991 with enabled wip_limits3992 returns the expected values3993 with disabled wip_limits3994 returns the expected values3995Gitlab::Email::Handler::CreateNoteHandler3996 when the note could not be saved3997 raises an InvalidNoteError3998 when the note contains quick actions3999 and current user cannot update the noteable4000 only executes the commands that the user can perform4001 and current user can update noteable4002 posts a note and updates the noteable4003 when the reply is blank4004 raises an EmptyEmailError4005 when everything is fine4006 creates a comment4007 adds all attachments4008 when sub-addressing is not supported4009 mail key is in the References header4010 behaves like an email that contains a mail key4011 fetches the mail key from the References header and creates a comment4012 mail key is in the References header with a comma4013 behaves like an email that contains a mail key4014 fetches the mail key from the References header and creates a comment4015Gitlab::Auth::GroupSaml::GmaMembershipEnforcer4016 allows adding a project bot to project4017 when user is group-managed4018 allows adding user to project4019 when user is not group-managed4020 does not allow adding user to project4021 when the project is forked4022 when user is group-managed4023 allows adding user to project4024 when user is not group-managed4025 does not allow adding user to project4026 from deleted project4027 when user is group-managed4028 allows adding user to project4029 when user is not group-managed4030 does not allow adding user to project4031 when project is forked from namespace to group4032 when user is group-managed4033 allows adding user to project4034 when user is not group-managed4035 does not allow adding user to project4036Geo::TerraformStateVersionRegistryFinder4037 behaves like a framework registry finder4038 #execute4039 when user cannot read all Geo4040 is expected to be empty4041 when user can read all Geo4042 when admin mode is disabled4043 is expected to be empty4044 when admin mode is enabled4045 with an ids param4046 returns specified registries4047 without an ids param4048 returns all registries4049Audit::GroupPushRulesChangesAuditor4050 auditing group-level changes4051 key: :commit_committer_check, old_value: false, new_value: true4052 audits the change in push rule correctly4053 key: :commit_committer_check, old_value: true, new_value: false4054 audits the change in push rule correctly4055 key: :reject_unsigned_commits, old_value: false, new_value: true4056 audits the change in push rule correctly4057 key: :reject_unsigned_commits, old_value: true, new_value: false4058 audits the change in push rule correctly4059 key: :deny_delete_tag, old_value: false, new_value: true4060 audits the change in push rule correctly4061 key: :deny_delete_tag, old_value: true, new_value: false4062 audits the change in push rule correctly4063 key: :member_check, old_value: false, new_value: true4064 audits the change in push rule correctly4065 key: :member_check, old_value: true, new_value: false4066 audits the change in push rule correctly4067 key: :prevent_secrets, old_value: false, new_value: true4068 audits the change in push rule correctly4069 key: :prevent_secrets, old_value: true, new_value: false4070 audits the change in push rule correctly4071 key: :branch_name_regex, old_value: nil, new_value: "\\Asecurity-.*\\z"4072 audits the change in push rule correctly4073 key: :branch_name_regex, old_value: ".*\\w{2}", new_value: "\\Asecurity-.*\\z"4074 audits the change in push rule correctly4075 key: :commit_message_regex, old_value: nil, new_value: "\\Asecurity-.*\\z"4076 audits the change in push rule correctly4077 key: :commit_message_regex, old_value: ".*\\w{2}", new_value: "\\Asecurity-.*\\z"4078 audits the change in push rule correctly4079 key: :commit_message_negative_regex, old_value: nil, new_value: "\\Asecurity-.*\\z"4080 audits the change in push rule correctly4081 key: :commit_message_negative_regex, old_value: ".*\\w{2}", new_value: "\\Asecurity-.*\\z"4082 audits the change in push rule correctly4083 key: :author_email_regex, old_value: nil, new_value: "\\Asecurity-.*\\z"4084 audits the change in push rule correctly4085 key: :author_email_regex, old_value: ".*\\w{2}", new_value: "\\Asecurity-.*\\z"4086 audits the change in push rule correctly4087 key: :file_name_regex, old_value: nil, new_value: "\\Asecurity-.*\\z"4088 audits the change in push rule correctly4089 key: :file_name_regex, old_value: ".*\\w{2}", new_value: "\\Asecurity-.*\\z"4090 audits the change in push rule correctly4091 key: :max_file_size, old_value: 0, new_value: 1324092 audits the change in push rule correctly4093 key: :max_file_size, old_value: 12, new_value: 424094 audits the change in push rule correctly4095GroupsWithTemplatesFinder4096 without group id4097 returns all groups4098 when namespace checked4099 returns groups on ultimate/premium plan4100 with subgroup with template4101 returns groups on ultimate/premium plan4102 with group id4103 returns given group with it descendants4104 with subgroup with template4105 returns only chosen group4106 when namespace checked4107 does not return the group4108 with subgroup with template4109 returns only chosen group4110 returns only chosen subgroup4111AuditEvents::ExternalAuditEventDestination4112 Associations4113 belongs to a group4114 Validations4115 is expected to validate that the length of :destination_url is at most 2554116 is expected to validate that :destination_url cannot be empty/falsy4117 is expected to have db column named verification_token of type text4118 is expected to have many headers class_name => AuditEvents::Streaming::Header4119 can have 20 headers4120 can have no more than 20 headers4121 #headers_hash4122 must have a unique destination_url4123 must not have any parents4124 destination has 2 headers4125 is expected to eq {"X-GitLab-Hello"=>"bar", "X-GitLab-World"=>"bar", "X-Gitlab-Event-Streaming-Token"=>"Do4ZsJsSy2boA4BsD4kP9D33"}4126 behaves like includes Limitable concern4127 #exceeds_limits?4128 without plan limits configured4129 is expected to eq false4130 without plan limits configured4131 is expected to eq false4132 with an existing model4133 is expected to eq true4134 validations4135 is expected to be a kind of Limitable4136 without plan limits configured4137 can create new models4138 with plan limits configured4139 can create new models4140 with an existing model4141 cannot create new models exceeding the plan limits4142EE::API::Helpers::ScimPagination4143 #per_page4144 count: nil, per_page: 204145 is expected to eq 204146 count: "", per_page: 204147 is expected to eq 204148 count: "abc", per_page: 204149 is expected to eq 204150 count: 0, per_page: 204151 is expected to eq 204152 count: 999999, per_page: 1004153 is expected to eq 1004154 count: 4, per_page: 44155 is expected to eq 44156 count: "4", per_page: 44157 is expected to eq 44158 #scim_paginate4159 without pagination params4160 returns all results4161 with :count param4162 limits results to count4163 with :startIndex param4164 starts from an offset4165 uses a 1-based index4166 uses 1 when provided an index less than 14167Gitlab::SubscriptionPortal::Clients::Graphql4168 #activate4169 returns success4170 returns failure4171 returns connectivity error when remote server returns error4172 returns connectivity error when the remote server is unreachable4173 #plan_upgrade_offer4174 when the response contains errors4175 returns a failure4176 when the response does not contain errors4177 eligible: true, assisted_plan_id: "111111", free_plan_id: "111111"4178 returns the correct response4179 eligible: true, assisted_plan_id: "111111", free_plan_id: nil4180 returns the correct response4181 eligible: true, assisted_plan_id: nil, free_plan_id: "111111"4182 returns the correct response4183 when subscription is nil4184 returns the correct response4185 #subscription_last_term4186 returns success4187 returns failure4188 with no namespace_id4189 returns failure4190 #subscription_seat_usage_alerts_eligibility4191 returns success when the subscription can be found4192 returns failure when the subscription cannot be found4193 with no namespace_id4194 returns failure4195 when there is a network connectivity error4196 returns an error response4197 #get_plans4198 when the request is successful4199 returns the data4200 when the request is unsuccessful4201 returns a failure response and logs the error4202 #filter_purchase_eligible_namespaces4203 when the response is successful4204 returns the namespace data4205 when the response is unsuccessful4206 returns the error message4207 #update_namespace_name4208 returns success4209 returns top level errors4210 returns errors as data4211 returns connectivity error when remote server returns error4212 returns connectivity error when the remote server is unreachable4213 #send_seat_overage_notification4214 when the subscription portal response is successful4215 returns successfully4216 when the subscription portal response is unsuccessful4217 returns an error response4218 when there is a network connectivity error4219 returns an error response4220Gitlab::Ci::Minutes::RunnersAvailability4221 #available?4222 shared_runners_enabled: true, minutes_usage: :with_not_used_build_minutes_limit, private_runner_available: false, result: true4223 is expected to eq true4224 shared_runners_enabled: true, minutes_usage: :with_not_used_build_minutes_limit, private_runner_available: true, result: true4225 is expected to eq true4226 shared_runners_enabled: true, minutes_usage: :with_used_build_minutes_limit, private_runner_available: false, result: false4227 is expected to eq false4228 shared_runners_enabled: true, minutes_usage: :with_used_build_minutes_limit, private_runner_available: true, result: true4229 is expected to eq true4230 shared_runners_enabled: false, minutes_usage: :with_used_build_minutes_limit, private_runner_available: false, result: true4231 is expected to eq true4232 shared_runners_enabled: false, minutes_usage: :with_used_build_minutes_limit, private_runner_available: true, result: true4233 is expected to eq true4234 shared_runners_enabled: false, minutes_usage: :with_not_used_build_minutes_limit, private_runner_available: true, result: true4235 is expected to eq true4236 shared_runners_enabled: false, minutes_usage: :with_not_used_build_minutes_limit, private_runner_available: false, result: true4237 is expected to eq true4238 database queries4239 caches records loaded from database4240 does not join across databases4241Security::ScanExecutionPoliciesFinder4242 #execute4243 when feature is not licensed4244 returns empty collection4245 when feature is licensed4246 when configuration is associated to project4247 returns policies with project4248 when configuration is associated to namespace4249 when relationship argument is not provided4250 returns no scan execution policies4251 when relationship argument is provided as INHERITED4252 returns scan execution policies for groups only4253 when configuration is associated to project and namespace4254 when relationship argument is not provided4255 returns scan execution policies for project only4256 when relationship argument is provided as INHERITED4257 returns scan execution policies defined for both project and namespace4258 when relationship argument is provided as INHERITED_ONLY4259 returns scan execution policies defined for namespace onlt4260 when user is unauthorized4261 returns empty collection4262 when action_scan_types is given4263 when there are multiple policies4264 returns policy matching the given scan type4265 when there are no matching policies4266 returns empty response4267 when actor is Clusters::Agent4268 when agent project has security_orchestration_policy project4269 returns policy matching the given scan type4270 when agent project is different from security_orchestration_policy project4271 returns empty response4272Geo::RepositoryUpdatedService4273 #execute4274 when repository is being updated4275 when not running on a primary node4276 does not create a repository updated event4277 does not reset the repository verification checksum4278 does not reset the repository verification failure4279 when running on a primary node4280 creates a repository updated event when repository exists4281 does not create a repository updated event when repository does not exist4282 resets the repository verification checksum4283 resets the repository verification failure4284 resets the retry_at column4285 resets the retry_count column4286 does not raise an error when project have never been verified4287 raises a Geo::RepositoryUpdatedService::RepositoryUpdateError when an error occurs4288 when wiki is being updated4289 when not running on a primary node4290 does not create a repository updated event4291 does not reset the repository verification checksum4292 does not reset the repository verification failure4293 when running on a primary node4294 creates a repository updated event when repository exists4295 does not create a repository updated event when repository does not exist4296 resets the repository verification checksum4297 resets the repository verification failure4298 resets the retry_at column4299 resets the retry_count column4300 does not raise an error when project have never been verified4301 raises a Geo::RepositoryUpdatedService::RepositoryUpdateError when an error occurs4302 when design repository is being updated4303 creates a design repository updated event when repository exists4304 does not create a repository updated event when repository does not exist4305ProtectedEnvironment::DeployAccessLevel4306 validations4307 is expected to validate that :access_level cannot be empty/falsy4308 is expected to validate that :group_inheritance_type is either ‹0› or ‹1›4309 behaves like authorizable for protected environments4310 associations4311 is expected to belong to protected_environment required: false4312 is expected to belong to user required: false4313 is expected to belong to group required: false4314 validations4315 is expected to validate that :access_level is either ‹20›, ‹30›, or ‹40›4316 #check_access4317 anonymous access4318 is expected to be falsy4319 admin access4320 when admin user does have specific access4321 is expected to be truthy4322 when admin user does not have specific access4323 is expected to be truthy4324 user access4325 when specific access has been assigned to a user4326 is expected to be truthy4327 when no permissions have been given to a user4328 is expected to be falsy4329 group access4330 when specific access has been assigned to a group4331 is expected to be truthy4332 when no permissions have been given to a group4333 is expected to be falsy4334 when there is an inherited member of a group4335 when group inheritance type is direct4336 is expected to be falsey4337 when group inheritance type is all inheritance4338 is expected to be truthy4339 access level4340 with a permitted access level4341 when user is project member above the permitted access level4342 is expected to be truthy4343 when user is project member below the permitted access level4344 is expected to be falsy4345 when the access level is not permitted4346 does not save the record4347 #humanize4348 when is related to a user4349 is expected to eq "Sidney Jones2151"4350 when is related to a group4351 is expected to eq "group556"4352 when is set to have a role4353 for developer access4354 is expected to eq "Developers + Maintainers"4355 for maintainer access4356 is expected to eq "Maintainers"4357 #type4358 with role type4359 is expected to eq :role4360 with user type4361 is expected to eq :user4362 with group type4363 is expected to eq :group4364 #role?4365 with role type4366 is expected to eq true4367 with user type4368 is expected to eq false4369Geo::RepositoryVerification::Secondary::ShardWorker4370 #perform4371 does not schedule jobs when shard becomes unhealthy4372 does not schedule jobs when no geo database is configured4373 does not schedule jobs when not running on a secondary4374 does not schedule jobs when number of scheduled jobs exceeds capacity4375 schedule a job for each project4376 schedule jobs for projects missing repository verification4377 schedule jobs for projects missing wiki verification4378 does not schedule jobs for projects on other shards4379 does not schedule jobs for projects missing repositories on primary4380 shard worker scheduler4381 acquires lock namespacing it per shard name4382 backoff time4383 sets the back off time when there are no pending items4384 does not perform Geo::RepositoryVerification::Secondary::SingleWorker when the backoff time is set4385 resource loading4386 handles multiple batches of projects needing verification4387 handles multiple batches of projects needing verification, skipping repositories not verified on primary4388Security::Finding4389 associations4390 is expected to belong to scan required: true4391 is expected to belong to scanner required: true4392 is expected to have one build through scan4393 is expected to have many feedbacks class_name => Vulnerabilities::Feedback4394 validations4395 is expected to validate that :uuid cannot be empty/falsy4396 delegations4397 is expected to delegate #scan_type to the #scan object, allowing #scan to return nil4398 .by_uuid4399 is expected to contain exactly #<Security::Finding id: 1, scan_id: 1, scanner_id: 96, severity: "critical", confidence: "high", proj...7982e4132", deduplicated: false, uuid: "59b36843-14aa-47e7-945c-07cf70aba334", overridden_uuid: nil>4400 .by_build_ids4401 is expected to contain exactly #<Security::Finding id: 1, scan_id: 1, scanner_id: 96, severity: "critical", confidence: "high", proj...7982e4132", deduplicated: false, uuid: "59b36843-14aa-47e7-945c-07cf70aba334", overridden_uuid: nil>4402 .by_severity_levels4403 is expected to contain exactly #<Security::Finding id: 2, scan_id: 2, scanner_id: 97, severity: "critical", confidence: "high", proj...a6352669e", deduplicated: false, uuid: "913ddb7c-2c14-4933-a96f-94ab28fbe464", overridden_uuid: nil>4404 .by_confidence_levels4405 is expected to contain exactly #<Security::Finding id: 2, scan_id: 2, scanner_id: 97, severity: "critical", confidence: "high", proj...a6352669e", deduplicated: false, uuid: "913ddb7c-2c14-4933-a96f-94ab28fbe464", overridden_uuid: nil>4406 .by_report_types4407 is expected to contain exactly #<Security::Finding id: 1, scan_id: 1, scanner_id: 96, severity: "high", confidence: "low", project_f...7982e4132", deduplicated: false, uuid: "59b36843-14aa-47e7-945c-07cf70aba334", overridden_uuid: nil>4408 .by_project_fingerprints4409 is expected to contain exactly #<Security::Finding id: 1, scan_id: 1, scanner_id: 96, severity: "high", confidence: "low", project_f...7982e4132", deduplicated: false, uuid: "59b36843-14aa-47e7-945c-07cf70aba334", overridden_uuid: nil>4410 .undismissed4411 is expected to contain exactly #<Security::Finding id: 2, scan_id: 1, scanner_id: 97, severity: "critical", confidence: "high", proj...a6352669e", deduplicated: false, uuid: "913ddb7c-2c14-4933-a96f-94ab28fbe464", overridden_uuid: nil>4412 .ordered4413 is expected to eq [#<Security::Finding id: 3, scan_id: 3, scanner_id: 98, severity: "critical", confidence: "confirmed"...6352669e", deduplicated: false, uuid: "913ddb7c-2c14-4933-a96f-94ab28fbe464", overridden_uuid: nil>]4414 .deduplicated4415 is expected to eq [#<Security::Finding id: 1, scan_id: 1, scanner_id: 96, severity: "high", confidence: "unknown", proj...7982e4132", deduplicated: true, uuid: "59b36843-14aa-47e7-945c-07cf70aba334", overridden_uuid: nil>]4416 .count_by_scan_type4417 is expected to eq {4=>1, 1=>2}4418 .latest4419 is expected to eq [#<Security::Finding id: 2, scan_id: 1, scanner_id: 97, severity: "low", confidence: "confirmed", pro...6352669e", deduplicated: false, uuid: "913ddb7c-2c14-4933-a96f-94ab28fbe464", overridden_uuid: nil>]4420Projects::GitlabProjectsImportService4421 #execute4422 creates template export job4423 if project saved and custom template exists4424 sets custom template import strategy after export4425 does not create export job4426 if project not saved4427 behaves like gitlab projects import validations4428 with an invalid path4429 returns an invalid project4430 with a valid path4431 creates a project4432 override params4433 stores them as import data when passed4434 when there is a project with the same path4435 does not create the project4436 when overwrite param is set4437 creates a project in a temporary full_path4438Boards::Issues::CreateService4439 #execute4440 saved board configuration4441 adds the board assignee, weight, labels and milestone to the issue4442 when board is scoped by weight4443 creates issue weight 0 weight4444 creates issue with nil weight4445 when board weight is invalid4446 creates issue with nil weight4447 assignees list4448 assigns the issue to the List assignee4449 milestone list4450 assigns the issue to the list milestone4451TemplateFinder4452 #execute4453 type: :dockerfiles, expected_template_finder: Gitlab::Template::CustomDockerfileTemplate4454 custom templates enabled4455 returns custom templates4456 a custom template is specified by name4457 returns the custom template if its name is specified4458 custom templates disabled4459 does not return any custom templates4460 type: :gitignores, expected_template_finder: Gitlab::Template::CustomGitignoreTemplate4461 custom templates enabled4462 returns custom templates4463 a custom template is specified by name4464 returns the custom template if its name is specified4465 custom templates disabled4466 does not return any custom templates4467 type: :gitlab_ci_ymls, expected_template_finder: Gitlab::Template::CustomGitlabCiYmlTemplate4468 custom templates enabled4469 returns custom templates4470 a custom template is specified by name4471 returns the custom template if its name is specified4472 custom templates disabled4473 does not return any custom templates4474 type: :issues, expected_template_finder: Gitlab::Template::IssueTemplate4475 custom templates enabled4476 returns custom templates4477 a custom template is specified by name4478 returns the custom template if its name is specified4479 custom templates disabled4480 does not return any custom templates4481 type: :merge_requests, expected_template_finder: Gitlab::Template::MergeRequestTemplate4482 custom templates enabled4483 returns custom templates4484 a custom template is specified by name4485 returns the custom template if its name is specified4486 custom templates disabled4487 does not return any custom templates4488 #template_names4489 type: :dockerfiles, custom_name: "project_dockerfiles_template"4490 when project has a repository4491 returns all custom templates4492 template names hash keys4493 has all the expected keys4494 type: :gitignores, custom_name: "project_gitignores_template"4495 when project has a repository4496 returns all custom templates4497 template names hash keys4498 has all the expected keys4499 type: :gitlab_ci_ymls, custom_name: "project_gitlab_ci_ymls_template"4500 when project has a repository4501 returns all custom templates4502 template names hash keys4503 has all the expected keys4504 type: :metrics_dashboard_ymls, custom_name: "project_metrics_dashboard_ymls_template"4505 when project has a repository4506 returns all custom templates4507 template names hash keys4508 has all the expected keys4509Groups::MarkForDeletionService4510 marking the group for deletion4511 with user that can admin the group4512 for a group that has not been marked for deletion4513 marks the group for deletion4514 returns success4515 marking for deletion fails4516 returns error4517 for a group that has been marked for deletion4518 does not change the attributes associated with delayed deletion4519 returns error4520 audit events4521 logs audit event4522 with a user that cannot admin the group4523 does not mark the group for deletion4524 returns error4525 audit events4526 does not log audit event4527EE::Gitlab::Auth::Ldap::Sync::Groups4528 #update_permissions4529 when group_base is not present4530 does not call EE::Gitlab::Auth::Ldap::Sync::AdminUsers#execute4531 does not call EE::Gitlab::Auth::Ldap::Sync::ExternalUsers#execute4532 when group_base is present4533 and admin_group and external_groups are not present4534 calls EE::Gitlab::Auth::Ldap::Sync::Group#execute4535 does not call EE::Gitlab::Auth::Ldap::Sync::AdminUsers#execute4536 does not call EE::Gitlab::Auth::Ldap::Sync::ExternalUsers#execute4537 and admin_group is present4538 calls EE::Gitlab::Auth::Ldap::Sync::Group#execute4539 does not call EE::Gitlab::Auth::Ldap::Sync::AdminUsers#execute4540 does not call EE::Gitlab::Auth::Ldap::Sync::ExternalUsers#execute4541 and external_groups is present4542 calls EE::Gitlab::Auth::Ldap::Sync::Group#execute4543 does not call EE::Gitlab::Auth::Ldap::Sync::AdminUsers#execute4544 does not call EE::Gitlab::Auth::Ldap::Sync::ExternalUsers#execute4545Gitlab::Auth::Smartcard::LdapCertificate4546 #find_or_create_user4547 user and smartcard ldap certificate already exists4548 finds existing user4549 does not create new user4550 user exists but it is using a new ldap certificate4551 finds existing user4552 does create new user identity4553 user already has a different ldap certificate identity4554 doesn't create a new identity4555 doesn't create a new user4556 user does not exist4557 creates user with correct attributes4558 creates identity4559 creates identity with correct attributes4560 calls Users::BuildService with correct params4561 behaves like creates user4562 is expected to change `User.count` from 0 to 14563 when the current minimum password length is different from the default minimum password length4564 behaves like creates user4565 is expected to change `User.count` from 0 to 14566 username generation4567 uses LDAP uid4568 creates user with correct username4569 avoids conflicting namespaces4570 creates user with correct username4571 behaves like a valid certificate is required4572 invalid certificate4573 returns nil4574 incorrect certificate4575 returns nil4576 behaves like a certificate store4577 .store4578 loads CA bundle4579 uses correct method4580 without valid CA file4581 raises error4582Vulnerabilities::FeedbackEntity4583 #as_json4584 is expected to include :created_at, :project_id, :author, :category, and :feedback_type4585 when feedback type is issue4586 when issue is present4587 exposes the issue iid4588 when user can view issues4589 exposes issue url4590 when user cannot view issues4591 does not expose issue url4592 when there is no current user4593 does not include fields related to current user4594 when issue is not present4595 does not expose issue information4596 when allowed to destroy vulnerability feedback4597 does not contain destroy vulnerability feedback dismissal path4598 when feedback type is merge_request4599 when merge request is present4600 exposes the merge request iid4601 when user can view merge requests4602 exposes merge request url4603 when user cannot view merge requests4604 does not expose merge request url4605 when merge request is not present4606 does not expose merge request information4607 when allowed to destroy vulnerability feedback4608 does not contain destroy vulnerability feedback dismissal path4609 when feedback type is dismissal4610 when not allowed to destroy vulnerability feedback4611 does not contain destroy vulnerability feedback dismissal path4612 when allowed to destroy vulnerability feedback4613 contains destroy vulnerability feedback dismissal path4614 when comment is not present4615 is expected not to include :comment_details4616 when comment is present4617 exposes comment information4618 when finding_uuid is not present4619 has a nil finding_uuid4620 when finding_uuid is present4621 exposes finding_uuid4622 when dismissal_reason is not present4623 returns nil4624 when dismissal_reason is present4625 exposes dismissal_reason4626Deployment4627 is expected to have many approvals4628 is expected to delegate #needs_approval? to the #environment object4629 state machine4630 when deployment succeeded4631 schedules Dora::DailyMetrics::RefreshWorker4632 #pending_approval_count4633 when Protected Environments feature is available4634 with no approvals4635 returns the number of approvals required by the environment4636 with some approvals4637 returns the number of pending approvals4638 with all approvals satisfied4639 returns zero4640 with a deployment that is not blocked4641 returns zero4642 loading approval count4643 does not perform an extra query when approvals are loaded4644 when Protected Environments feature is not available4645 returns zero4646gitlab:uploads:migrate and migrate_to_local rake tasks4647 for MetricImageUploader4648 behaves like enqueue upload migration jobs in batch4649 migrates local storage to remote object storage4650 migrates remote object storage to local storage4651AppSec::Dast::Scans::CreateService4652 execute4653 when on demand scan licensed feature is not available4654 when the user cannot run an on demand scan4655 communicates failure4656 when the feature is enabled4657 when user can run an on demand scan4658 communicates success4659 returns a pipeline and pipeline_url4660 behaves like a service that calls AppSec::Dast::Scans::RunService4661 delegates pipeline creation to AppSec::Dast::Scans::RunService4662 when a branch is specified4663 when the branch does not exist4664 responds with error message4665 when the branch exists4666 communicates success4667 when dast_scanner_profile is nil4668 communicates success4669 when dast_profile is specified4670 communicates success4671 behaves like a service that calls AppSec::Dast::Scans::RunService4672 delegates pipeline creation to AppSec::Dast::Scans::RunService4673 when target is not validated and an active scan is requested4674 communicates failure4675Gitlab::Auth::GroupSaml::IdentityLinker4676 linked identity exists4677 doesn't create new identity4678 sets #changed? to false4679 adds user to group4680 identity needs to be created4681 with identity provider initiated request4682 attempting to link accounts raises an exception4683 with valid gitlab initiated request4684 creates linked identity4685 sets identity provider4686 sets saml provider4687 sets identity extern_uid4688 sets #changed? to true4689 adds user to group4690SCA::LicensePolicy4691 #id4692 when a software_policy is provided4693 is expected to eq nil4694 when a software_policy is NOT provided4695 is expected to be nil4696 #name4697 when a software_policy is provided4698 is expected to eq "MIT"4699 when a software_policy is NOT provided4700 is expected to eq "MIT License"4701 when a reported license is NOT provided4702 is expected to eq "MIT"4703 when a reported license and policy NOT provided4704 is expected to be nil4705 #url4706 when a license is provided4707 is expected to eq "https://opensource.org/licenses/MIT"4708 when a license is NOT provided4709 is expected to be nil4710 #dependencies4711 when a license is provided4712 is expected to eq []4713 when a license is NOT provided4714 is expected to be empty4715 #classification4716 when a allowed software_policy is provided4717 is expected to eq "allowed"4718 when a denied software_policy is provided4719 is expected to eq "denied"4720 when a software_policy is NOT provided4721 is expected to eq "unclassified"4722 #spdx_identifier4723 when a software_policy is provided4724 is expected to eq "MIT"4725 when a software_policy is provided but does not have a SPDX Id4726 is expected to eq "MIT"4727 when a software_policy is NOT provided4728 is expected to eq "MIT"4729 when a reported license is NOT provided4730 is expected to eq "MIT"4731Namespaces::CheckExcessStorageSizeService#execute4732 when additional_repo_storage_by_namespace_enabled is false4733 is expected to be success4734 when additional_purchased_storage_size is set to 04735 when current size is greater than 04736 is successful and has no payload4737 when current size is 04738 is successful and has no payload4739 when current size is below threshold4740 is successful and has no payload4741 when not admin of the namespace4742 errors and has no payload4743 when providing the child namespace4744 uses the root namespace4745 payload alert_level4746 when above info threshold4747 is expected to eq :info4748 when above warning threshold4749 is expected to eq :warning4750 when above alert threshold4751 is expected to eq :alert4752 when above error threshold4753 is expected to eq :error4754 payload explanation_message4755 when above limit4756 when namespace purchased additional storage4757 returns message that the additional storage has been consumed4758 when namespace did not purchase additional storage4759 returns message to purchase additional storage4760 when below limit4761 is expected to include "If you reach 100% storage capacity"4762 payload usage_message4763 when namespace contains locked projects4764 when there is additional storage4765 with one locked project4766 returns message about containing a locked project4767 with multiple projects4768 returns a pluralized message about locked projects4769 when there is no additional storage4770 returns message to have reached the free storage limit4771 when namespace does not contain locked projects4772 returns current usage information4773 payload root_namespace4774 is expected to eq #<Namespaces::UserNamespace id: nil, name: "namespace1142", path: "namespace1142", owner_id: nil, cre...runners_enabled: true, allow_descendants_override_disabled_shared_runners: false, traversal_ids: []>4775Geo::ContainerRepositorySyncDispatchWorker4776 does not schedule anything when tracking database is not configured4777 does not schedule anything when node is disabled4778 does not schedule anything when registry replication is disabled4779 performs Geo::ContainerRepositorySyncWorker4780 performs Geo::ContainerRepositorySyncWorker for failed syncs4781 does not perform Geo::ContainerRepositorySyncWorker for synced repositories4782 with a failed sync4783 does not stall backfill4784 does not retry failed files when retry_at is tomorrow4785 retries failed files when retry_at is in the past4786VulnerabilityFeedbackModule::UpdateService#execute4787 when params are valid4788 when new comment is passed4789 adds the comments4790 second user updates the comment4791 sets second user as the comment author4792 when updated comment is passed4793 updates the comments4794 when deleting a comment4795 removes the comment data4796Wikis::CreateAttachmentService4797 behaves like Wikis::CreateAttachmentService#execute4798 adds file to the repository4799 creates wiki repository if it does not exist4800 creates wiki repository4801 if an error is raised creating the repository4802 catches error and return gracefully4803 creates branch if it does not exists4804 is expected to eq "new_branch"4805 returns4806 returns related information4807Gitlab::SeatLinkData4808 #initialize4809 when passing no params4810 returns object with default attributes set4811 when passing params4812 returns object with given attributes set4813 when passing date param only4814 returns object with attributes set using given date4815 .to_json4816 is expected to delegate #to_json to the #data object4817 returns payload data as a JSON string4818 when instance has no current license4819 returns payload data as a JSON string4820 #sync4821 when ready to sync seats4822 performs the sync4823 when not ready to sync seats4824 does not perform the sync4825 #should_sync_seats?4826 when all the pre conditions are valid4827 is expected to eq true4828 when license key is missing4829 is expected to be falsey4830 when not a cloud license4831 is expected to be falsey4832 when cloud license for offline use4833 is expected to be falsey4834 when expires_at is not set4835 is expected to be falsey4836 when license is trial4837 is expected to be falsey4838 when timestamp is out of the range4839 is expected to eq true4840 when historical data not found4841 is expected to eq true4842DAST-API.latest.gitlab-ci.yml4843 is expected not to be nil4844 the template file4845 uses the production repository4846 doesn't use the staging repository4847 the created pipeline4848 when no stages4849 when project has no stages4850 includes no jobs4851 when stages includes dast4852 when project has no license4853 includes job to display error4854 when project has Ultimate license4855 by default4856 includes a job4857 when DAST_API_DISABLED=14858 includes no jobs4859 when CI_GITLAB_FIPS_MODE=false4860 sets DAST_API_IMAGE_SUFFIX to ""4861 when CI_GITLAB_FIPS_MODE=true4862 sets DAST_API_IMAGE_SUFFIX to "-fips"4863SamlGroupLink4864 associations4865 is expected to belong to group required: false4866 validations4867 is expected to validate that :group cannot be empty/falsy4868 is expected to validate that :access_level cannot be empty/falsy4869 is expected to validate that :saml_group_name cannot be empty/falsy4870 is expected to validate that the length of :saml_group_name is at most 2554871 is expected to define :access_level as an enum backed by an integer with values ‹{"Guest" => 10, "Reporter" => 20, "Developer" => 30, "Maintainer" => 40, "Owner" => 50, "Minimal Access" => 5}›4872 group name uniqueness4873 is expected to validate that :saml_group_name is case-sensitively unique within the scope of :group_id4874 saml_group_name with whitespaces4875 saves group link name without whitespace4876 minimal access role4877 allows the role at the top level group4878 does not allow the role for subgroups4879 .by_id_and_group_id4880 finds the group link4881 with multiple groups and group links4882 finds group links within the given groups4883 does not find group links outside the given groups4884 .by_saml_group_name4885 finds the group link4886 with multiple groups and group links4887 finds group links within the given groups4888Ci::PlayBuildService#execute4889 behaves like restricts access to protected environments4890 when build is related to a protected environment4891 when user does not have access to the environment4892 raises Gitlab::Access::DeniedError4893 when user has access to the environment4894 enqueues the build4895 behaves like prevents playing job when credit card is required4896 when user has required credit card4897 does not raise any exception4898 when user does not have required credit card4899 raises an exception and logs the failure4900ComplianceManagement::Frameworks::UpdateService4901 feature is unlicensed4902 behaves like a failed update request4903 does not update the compliance framework4904 is unsuccessful4905 current_user is not the namespace owner4906 behaves like a failed update request4907 does not update the compliance framework4908 is unsuccessful4909 when feature is licensed4910 with an invalid param passed4911 is unsuccessful4912 has appropriate errors4913 with valid params passed4914 updates the compliance framework with valid params4915 is successful4916 audits the changes4917Jobs/Load-Performance-Testing.gitlab-ci.yml4918 the created pipeline4919 has no errors4920 on master4921 behaves like load_performance job on tag or branch4922 by default4923 when LOAD_PERFORMANCE_DISABLED4924 on another branch4925 behaves like load_performance job on tag or branch4926 by default4927 when LOAD_PERFORMANCE_DISABLED4928 on tag4929 behaves like load_performance job on tag or branch4930 by default4931 when LOAD_PERFORMANCE_DISABLED4932 on merge request4933 has no jobs4934Gitlab::Analytics::CycleAnalytics::StageEvents::MergeRequestLabelAdded4935 behaves like value stream analytics event4936 is expected to be a kind of String4937 is expected to be a kind of Symbol4938 is expected to include ApplicationRecord(abstract)4939 is expected to respond to #timestamp_projection4940 is expected to respond to #html_description4941 is expected to be a kind of Array4942 #apply_query_customization4943 expects an ActiveRecord::Relation object as argument and returns a modified version of it4944 #hash_code4945 returns a hash that uniquely identifies an event4946 does not differ when the same object is built with the same params4947 behaves like LEFT JOIN-able value stream analytics event4948 can use the event as LEFT JOIN4949 when looking at the record with data4950 contains the timestamp expression4951 when looking at the record without data4952 returns nil for the timestamp expression4953Mutations::Vulnerabilities::CreateExternalIssueLink4954 #resolve4955 for JIRA external tracker and CREATED issue link4956 when the project can have external issue links4957 when user does not have access to the project4958 raises an error4959 when user has access to the project4960 when issue creation fails4961 returns empty external issue link4962 returns error collection4963 when issue creation succeeds4964 returns empty external issue link4965 returns empty error collection4966AuditEvents::ReleaseAssociateMilestoneAuditEventService4967 #security_event4968 with no milestones4969 logs the event to file4970 with one milestone4971 logs the event to file4972 with multiple milestones4973 logs the event to file4974Geo::RepositoryVerification::Primary::BatchWorker4975 #perform4976 skips backfill for repositories on other shards4977 skips backfill for projects on missing shards4978 skips backfill for projects with downed Gitaly server4979 when geo_repository_verification is disabled4980 does not schedule jobs4981IncidentManagement::IssuableResourceLinks::CreateService4982 #execute4983 successfully creates a database record4984 when current user is blank4985 behaves like error_message4986 has an informative message4987 when user does not have permissions to create issuable resource links4988 behaves like error_message4989 has an informative message4990 when feature is not available4991 behaves like error_message4992 has an informative message4993 when error occurs during creation4994 behaves like error_message4995 has an informative message4996 when a valid request4997 behaves like success_response4998 has issuable resource link4999MergeRequestPollWidgetEntity5000 Merge Trains5001 has merge train entity5002 when the merge train feature is disabled5003 does not have merge trains count5004 when the merge request is not on a merge train5005 does not have merge train index5006Geo::HashedStorageAttachmentsMigrationService5007 #execute5008 when succeeds5009 moves attachments to hashed storage layout5010 when original folder does not exist anymore5011 skips moving folders and go to next5012 when target folder already exists5013 raises AttachmentMigrationError5014 #async_execute5015 starts the worker5016 returns job id5017Gitlab::IpRestriction::Enforcer5018 #allows_current_ip?5019 behaves like ip_restriction5020 without restriction5021 is expected to be truthy5022 with restriction5023 address is within one of the ranges5024 is expected to be truthy5025 address is outside all of the ranges5026 is expected to be falsey5027 global allowlist feature is enabled5028 global ranges are set5029 is expected to be truthy5030 global ranges are not set5031 is expected to be falsey5032 group_ip_restriction feature is disabled5033 is expected to be truthy5034 when usage ping is enabled5035 when usage_ping_features_enabled is enabled5036 behaves like ip_restriction5037 without restriction5038 is expected to be truthy5039 with restriction5040 address is within one of the ranges5041 is expected to be truthy5042 address is outside all of the ranges5043 is expected to be falsey5044 global allowlist feature is enabled5045 global ranges are set5046 is expected to be truthy5047 global ranges are not set5048 is expected to be falsey5049 when usage_ping_features_enabled is disabled5050 is expected to be truthy5051 when usage ping is disabled5052 is expected to be truthy5053Gitlab::Ci::Config::Entry::Bridge5054 .matching?5055 when config is a bridge job5056 is expected to be truthy5057 .new5058 when needs pipeline config is a non-empty string5059 #valid?5060 is expected to be valid5061 #value5062 is returns a bridge job configuration5063 when needs config is a job5064 #valid?5065 is expected to be valid5066 #value5067 is returns a bridge job configuration5068 when bridge configuration contains trigger, needs, when, extends, stage, only, except, and variables5069 is expected to be valid5070 when trigger config is nil5071 #valid?5072 is expected not to be valid5073 #errors5074 is returns an error about empty trigger config5075 when upstream config is nil5076 #valid?5077 is expected not to be valid5078 #errors5079 is returns an error about empty upstream config5080 when bridge has bridge and job needs5081 #valid?5082 is expected to be valid5083 when bridge has bridge and cross projects dependencies5084 #valid?5085 is expected not to be valid5086 #errors5087 returns an error cross dependencies5088 when bridge has more than one valid bridge needs5089 #valid?5090 is expected not to be valid5091 #errors5092 returns an error about too many bridge needs5093EE::MembersPreloader5094 #preload_all5095 preloads associations to avoid N+1 queries5096Gitlab::Analytics::CycleAnalytics::StageEvents::IssueFirstAssociatedWithMilestone5097 behaves like value stream analytics event5098 is expected to be a kind of String5099 is expected to be a kind of Symbol5100 is expected to include ApplicationRecord(abstract)5101 is expected to respond to #timestamp_projection5102 is expected to respond to #html_description5103 is expected to be a kind of Array5104 #apply_query_customization5105 expects an ActiveRecord::Relation object as argument and returns a modified version of it5106 #hash_code5107 returns a hash that uniquely identifies an event5108 does not differ when the same object is built with the same params5109 behaves like LEFT JOIN-able value stream analytics event5110 can use the event as LEFT JOIN5111 when looking at the record with data5112 contains the timestamp expression5113 when looking at the record without data5114 returns nil for the timestamp expression5115EE::Clusters::Agents::AuthorizationConfigScopes5116 .with_available_ci_access_fields5117 is expected not to include #<Clusters::Agents::ProjectAuthorization id: 6, project_id: 1150, agent_id: 11, config: {"access_as" => {"ci_job" => {}}}>5118 is expected not to include #<Clusters::Agents::ProjectAuthorization id: 5, project_id: 1150, agent_id: 10, config: {"access_as" => {"ci_user" => {}}}>5119 is expected not to include #<Clusters::Agents::ProjectAuthorization id: 4, project_id: 1150, agent_id: 9, config: {"access_as" => {"impersonate" => {}}}>5120 with :cluster_agents_ci_impersonation5121 is expected to include #<Clusters::Agents::ProjectAuthorization id: 6, project_id: 1150, agent_id: 11, config: {"access_as" => {"ci_job" => {}}}>, #<Clusters::Agents::ProjectAuthorization id: 5, project_id: 1150, agent_id: 10, config: {"access_as" => {"ci_user" => {}}}>, and #<Clusters::Agents::ProjectAuthorization id: 4, project_id: 1150, agent_id: 9, config: {"access_as" => {"impersonate" => {}}}>5122Gitlab::Database5123 .read_only?5124 with Geo enabled5125 is Geo secondary node5126 returns true5127 is Geo primary node5128 returns false when is Geo primary node5129 with Geo disabled5130 returns false5131 in maintenance mode5132 returns true5133Dast::ProfilesFinder5134 #execute5135 returns dast_profiles limited to 100 records5136 filtering by id5137 returns the matching dast_profile5138 filtering by project_id5139 returns the matching dast_profiles5140 filtering by has_schedule?5141 when has_dast_profile_schedule is true5142 returns the dast_profiles with schedule5143 filtering by *5144 returns the matching dast_profile5145 when the dast_profile does not exist5146 returns an empty relation5147 sorting5148 orders by id desc by default5149QualityManagement::TestCases::CreateService5150 #execute5151 when test has title and description5152 responds with success5153 creates an test case issue5154 created issue has correct attributes5155 when test case has no title5156 does not create an issue5157 responds with errors5158 result payload contains an Issue object5159ContainerRegistry::Client5160 #push_blob5161 PUT /v2/:name/blobs/uploads/url?digest=mytag5162 raises error if response status is not 2005163 #push_manifest5164 PUT v2/:name/manifests/:tag5165 raises error if response status is not 2005166 #blob_exists?5167 returns true5168 returns false5169 #repository_raw_manifest5170 GET "/v2/:name/manifests/:reference5171 #pull_blob5172 downloads file successfully when5173 raises error when it can not download blob5174 raises error when request is not authenticated5175 when primary_api_url is specified with trailing slash5176 builds correct URL5177 direct link to download, no redirect5178 downloads blob successfully5179Secret-Detection.gitlab-ci.yml5180 the created pipeline5181 when project has no license5182 when SECRET_DETECTION_DISABLED=15183 includes no jobs5184 when branch pipeline5185 creates a pipeline with the expected jobs5186 when MR pipeline5187 creates a pipeline with the expected jobs5188Members::UpdateService5189 when current user can update the given member5190 behaves like logs an audit event5191 is expected to change `AuditEvent.count` by 15192 behaves like logs an audit event5193 is expected to change `AuditEvent.count` by 15194GpgKeys::CreateService5195 creates an audit event5196 returns the correct value5197 when create operation fails5198 does not create an audit event5199 returns the correct value5200Projects::Integrations::Jira::IssuesFinder5201 #execute5202 when jira service integration does not have project_key5203 raises error5204 when jira service integration is not active5205 raises error5206 when jira service integration has project_key5207 when Jira API request fails5208 raises error5209 when Jira API request succeeds5210 return service response with issues5211 when sorting5212 behaves like maps sort values5213 is expected to receive client(*(any args)) 1 time5214 behaves like maps sort values5215 is expected to receive client(*(any args)) 1 time5216 behaves like maps sort values5217 is expected to receive client(*(any args)) 1 time5218 behaves like maps sort values5219 is expected to receive client(*(any args)) 1 time5220 behaves like maps sort values5221 is expected to receive client(*(any args)) 1 time5222 behaves like maps sort values5223 is expected to receive client(*(any args)) 1 time5224 when pagination params used5225 passes them to JqlBuilderService5226 when jira_issues_integration licensed feature is not available5227 exits early and returns no issues5228LicenseHelper5229 #current_license_title5230 when there is a current license5231 returns the plan titleized if it has a plan associated to it5232 returns the default title if it does not have a plan associated to it5233 when there is NOT a current license5234 returns the default title5235 #seats_calculation_message5236 and guest are excluded from the active count5237 returns the message5238 and guest are NOT excluded from the active count5239 returns nil5240 #licensed_users5241 with a restricted license count5242 returns a number as string5243 without a restricted license count5244 returns Unlimited5245 #cloud_license_view_data5246 when there is a current license5247 returns the data for the view5248 when there is no current license5249 returns the data for the view5250 #show_promotions?5251 without a user5252 is expected to eq false5253 with a user5254 on saas5255 is expected to eq true5256 when gitlabdotcom returns false5257 is expected to eq false5258 on EE5259 with hide on self managed true5260 is expected to eq false5261 without a valid license5262 is expected to eq true5263 with a valid license5264 expired license5265 is expected to eq true5266 non expired license5267 is expected to eq false5268layouts/header/help_dropdown/_cross_stage_fdm.html.haml5269 have_group?: true, show_cross_stage_fdm?: true, experiment_enabled?: true, variant_assigned: :candidate, examples_to_run: "renders the menu"5270 behaves like renders the menu5271 renders the menu item5272 have_group?: false, show_cross_stage_fdm?: true, experiment_enabled?: true, variant_assigned: :candidate, examples_to_run: "renders nothing"5273 behaves like renders nothing5274 does not render the menu item5275 have_group?: true, show_cross_stage_fdm?: false, experiment_enabled?: true, variant_assigned: :candidate, examples_to_run: "renders nothing"5276 behaves like renders nothing5277 does not render the menu item5278 have_group?: true, show_cross_stage_fdm?: true, experiment_enabled?: false, variant_assigned: :candidate, examples_to_run: "renders nothing"5279 behaves like renders nothing5280 does not render the menu item5281 have_group?: true, show_cross_stage_fdm?: true, experiment_enabled?: true, variant_assigned: :control, examples_to_run: "renders nothing"5282 behaves like renders nothing5283 does not render the menu item5284ResourceEvents::ChangeIterationService5285 behaves like timebox(milestone or iteration) resource events creator5286 when milestone/iteration is added5287 creates the expected event record5288 when milestone/iteration is removed5289 creates the expected event records5290 behaves like timebox(milestone or iteration) resource events creator5291 when milestone/iteration is added5292 creates the expected event record5293 when milestone/iteration is removed5294 creates the expected event records5295GpgKey5296 .for_user5297 is expected to contain exactly #<GpgKey id: 3, created_at: "2022-07-04 07:40:51.039797606 +0000", updated_at: "2022-07-04 07:40:51.0...keyid: "ccfbe19f00ac8b1d", fingerprint: "5f7ea3981a5845b141abd522ccfbe19f00ac8b1d", key: [FILTERED]>5298 #audit_details5299 equals to the user's name5300SecurityHelper5301 #instance_security_dashboard_data5302 returns vulnerability, project, feedback, asset, and docs paths for the instance security dashboard5303 can_admin_vulnerability5304 when user is not an auditor5305 when the user has admin priveledges on all projects requested5306 can_admin_vulnerability is true5307 when the user does not have admin priveledges on all projects requested5308 can_admin_vulnerability is false5309 when the project is on a personal namespace5310 can_admin_vulnerability is true5311 when user is auditor5312 can_admin_vulnerability is false5313 #instance_security_settings_data5314 when user is not auditor5315 is expected to eq {:is_auditor=>"false"}5316 when user is auditor5317 is expected to eq {:is_auditor=>"true"}5318Mutations::Boards::EpicBoards::Create5319 field tests5320 is expected to have graphql arguments :groupPath, :name, :hideBacklogList, :hideClosedList, :labels, and :labelIds5321 is expected to have graphql fields :epic_board5322 with epic feature enabled5323 when user does not have permission to create epic board5324 behaves like epic board creation error5325 raises error5326 when user has permission to create epic board5327 creates an epic board5328 with epic feature disabled5329 behaves like epic board creation error5330 raises error5331Types::Geo::MergeRequestDiffRegistryType5332 has the expected fields (other than those included in RegistryType)5333 behaves like a Geo registry type5334 is expected to require graphql authorizations :read_geo_registry5335 has the expected fields5336ProjectWiki5337 behaves like EE wiki model5338 uses Elasticsearch5339 #kerberos_url_to_repo5340 returns valid kerberos url for this repo5341 #after_wiki_activity5342 updates project_repository_state activity5343EE::Gitlab::Ci::Pipeline::Quota::Size5344 #enabled?5345 when limit is enabled in plan5346 is enabled5347 when limit is not enabled5348 is not enabled5349 when limit does not exist5350 is not enabled5351 #exceeded?5352 when limit is exceeded5353 is exceeded5354 when limit is not exceeded5355 is not exceeded5356 #message5357 when limit is exceeded5358 returns info about pipeline size limit exceeded5359 #log_exceeded_limit?5360 when there are more than 2000 jobs in the pipeline5361 returns true5362 when there are 2000 or less jobs in the pipeline5363 returns false5364IncidentManagement::OncallRotationPolicy5365 rules5366 is expected to be disallowed :read_incident_management_oncall_schedule5367 when reporter5368 is expected to be allowed :read_incident_management_oncall_schedule5369 licensed feature disabled5370 is expected to be disallowed :read_incident_management_oncall_schedule5371 when auditor5372 is expected to be allowed :read_incident_management_oncall_schedule5373 is expected to be disallowed :admin_incident_management_oncall_schedule5374 licensed feature disabled5375 is expected to be disallowed :read_incident_management_oncall_schedule5376 is expected to be disallowed :admin_incident_management_oncall_schedule5377Security::ScannedResourcesCountingService#execute5378 The Pipeline has security builds5379 All report types are requested5380 is expected to match (a hash including {"sast" => 0, "dast" => 6, "container_scanning" => 0, "dependency_scanning" => 0})5381 Only the report type dast is requested5382 is expected to eq {"dast"=>6}5383 The Pipeline has no security builds5384 is expected to match (a hash including {"sast" => 0, "dast" => 0, "container_scanning" => 0, "dependency_scanning" => 0})5385Gitlab::Auth::GroupSaml::MembershipEnforcer5386 allows adding a user linked to the SAML account as member5387 does not allow adding a user not linked to the SAML account as member5388 allows adding a project bot as member5389Clusters::Agent5390 is expected to includes the EE::Clusters::Agent module5391 .for_projects5392 return agents for selected projects5393DastSiteValidationsFinder5394 #execute5395 returns all dast_site_validation_validations most recent first5396 filtering by most_recent5397 returns the matching dast_site_validations5398 allows the results to be easily re-ordered5399 filtering by project_id5400 returns the matching dast_site_validations5401 when url_base is for a different project5402 returns an empty relation5403 filtering by url_base5404 returns the matching dast_site_validations5405 filtering by *5406 returns the matching dast_site_validations5407Projects::DeployTokens::DestroyService5408 #execute5409 destroys a token record and it's associated DeployToken5410 creates an audit event5411 behaves like sends correct event type in audit event stream5412 sends correct event type in audit event stream5413ScimIdentity5414 relations5415 is expected to belong to group required: false5416 is expected to belong to user required: false5417 validations5418 with existing user and group5419 returns false for a duplicate identity with the same extern_uid5420 returns false for a duplicate identity with different extern_uid5421 returns true when a different group is used5422 returns false for a duplicate extern_uid with different case5423 .with_extern_uid5424 finds identity regardless of case5425Mutations::SecurityPolicy::AssignSecurityPolicyProject5426 #resolve5427 when both fullPath and projectPath are not provided5428 raises exception5429 for project5430 behaves like assigns security policy project5431 when licensed feature is available5432 when user is an owner of the container5433 assigns the security policy project5434 when user is not an owner5435 raises exception5436 when policy_project_id is invalid5437 raises exception5438 when feature is not licensed5439 raises exception5440 for namespace5441 behaves like assigns security policy project5442 when licensed feature is available5443 when user is an owner of the container5444 assigns the security policy project5445 when user is not an owner5446 raises exception5447 when policy_project_id is invalid5448 raises exception5449 when feature is not licensed5450 raises exception5451Elastic::Latest::MergeRequestConfig5452 .settings5453 behaves like config settings return correct values5454 returns config5455 sets correct shard/replica settings5456 .mappings5457 returns config5458Git::WikiPushService5459 #process_changes5460 with a group wiki5461 does not create any events5462 when elasticsearch is enabled5463 when changes include master ref5464 triggers a wiki update5465 with a group wiki5466 does not trigger a wiki update5467 when changes do not include master ref5468 does not trigger a wiki update5469 when elasticsearch is disabled5470 when changes include master ref5471 does nothing even if changes include master ref5472LabelPresenter5473 #scoped_label?5474 with scoped_labels enabled5475 with project label with context subject set5476 is expected to be truthy5477 with project label without context subject5478 is expected to be truthy5479 with scoped_labels disabled5480 with project label with context subject set5481 is expected to be falsey5482EE::API::Entities::Project5483 compliance_frameworks5484 when project has a compliance framework5485 is an array containing a single compliance framework5486 when project has no compliance framework5487 is empty array when project has no compliance framework5488EE::API::Entities::Scim::Users5489 contains the schemas5490 calculates the totalResults5491 contains the default itemsPerPage5492 contains the default startIndex5493 contains the user5494 contains the user ID5495 with configured values5496 contains the configured totalResults5497 contains the configured itemsPerPage5498 contains the configured startIndex5499Namespaces::FreeUserCap::AlertComponent5500 when user is authorized to see alert5501 when limit has been reached5502 has content for the alert5503 renders all the expected tracking items5504 when alert has been dismissed5505 with a fresh dismissal5506 does not render the alert5507 when limit has not been reached5508 does not render the alert5509 when user is not authorized to see alert5510 does not render the alert5511 when user does not exist5512 does not render the alert5513CredentialsInventoryHelper5514 #credentials_inventory_feature_available?5515 when credentials inventory feature is enabled5516 is expected to be truthy5517 when credentials inventory feature is disabled5518 is expected to be falsey5519 #show_ssh_keys?5520 when filtering by ssh_keys5521 is expected to be truthy5522 when filtering by a different, existent credential type5523 is expected to be falsey5524 when filtering by a different, non-existent credential type5525 is expected to be falsey5526 #show_gpg_keys?5527 when filtering by gpg_keys5528 is expected to equal true5529 when filtering by personal_access_tokens5530 is expected to equal false5531 #show_personal_access_tokens?5532 when filtering by personal_access_tokens5533 is expected to be truthy5534 when filtering by a different, existent credential type5535 is expected to be falsey5536 when filtering by a different, non-existent credential type5537 is expected to be truthy5538Geo::RepositoryCreatedEvent5539 relationships5540 is expected to belong to project required: false5541 validations5542 is expected to validate that :project cannot be empty/falsy5543 is expected to validate that :project_name cannot be empty/falsy5544 is expected to validate that :repo_path cannot be empty/falsy5545 is expected to validate that :repository_storage_name cannot be empty/falsy5546StatusPage::PublishAttachmentsService5547 #execute5548 publishes file attachments5549 when not in markdown5550 publishes no images5551 when in markdown5552 publishes description images5553 when upload to storage throws an error5554 returns an error response5555 user notes uploads5556 publishes images5557 when exceeds upload limit5558 publishes no images5559 when all images are in s35560 publishes no images5561 when images are already in s35562 publishes only new images5563License-Scanning.gitlab-ci.yml5564 the created pipeline5565 when project has no license5566 includes no jobs5567 when project has Ultimate license5568 by default5569 includes job5570 when LICENSE_MANAGEMENT_DISABLED=15571 includes no jobs5572Security::SecurityOrchestrationPolicies::CiConfigurationService5573 #execute5574 when action is valid5575 when scan type is secret_detection5576 returns prepared CI configuration with Secret Detection scans5577 behaves like with template name for scan type5578 fetches template content using ::TemplateFinder5579 when scan type is container_scanning5580 returns prepared CI configuration for Container Scanning5581 behaves like with template name for scan type5582 fetches template content using ::TemplateFinder5583 when scan type is sast5584 returns prepared CI configuration for SAST5585 when variables are empty5586 returns prepared CI configuration for SAST5587 when action is invalid5588 returns prepared CI configuration with error script5589EE::API::Entities::Scim::User5590 contains the schemas5591 contains the extern UID5592 contains the active flag5593 contains the name5594 contains the first name5595 contains the last name5596 contains the email5597 contains the username5598 contains the resource type5599 with a SCIM identity5600 contains active false when the identity is not active5601Analytics::CycleAnalytics::ConsistencyWorker5602 when no pending aggregation records present5603 does nothing5604 when pending aggregation records present5605 invokes the consistency services5606 when worker is over time5607 breaks at the second iteration due to overtime, saving cursor information5608 when the service runs out of time5609 stops while processing a batch, saving cursor information, and restart from where it left on the next run5610LicensesListSerializer5611 #to_json5612 is expected to match schema "licenses_list" and {:dir=>"ee"}5613DesignManagement::DeleteDesignsService5614 #execute5615 when service is successful5616 calls repository#log_geo_updated_event5617 when service errors5618 does not call repository#log_geo_updated_event5619ProjectSecuritySetting5620 associations5621 is expected to belong to project required: false5622 #auto_fix_enabled?5623 license: true, feature_flag: true, auto_fix_container_scanning: true, auto_fix_dependency_scanning: true, auto_fix_sast: true, auto_fix_enabled?: true5624 is expected to eq true5625 license: false, feature_flag: true, auto_fix_container_scanning: true, auto_fix_dependency_scanning: true, auto_fix_sast: true, auto_fix_enabled?: false5626 is expected to eq false5627 license: true, feature_flag: false, auto_fix_container_scanning: true, auto_fix_dependency_scanning: true, auto_fix_sast: true, auto_fix_enabled?: false5628 is expected to eq false5629 license: true, feature_flag: true, auto_fix_container_scanning: false, auto_fix_dependency_scanning: true, auto_fix_sast: true, auto_fix_enabled?: true5630 is expected to eq true5631 license: true, feature_flag: true, auto_fix_container_scanning: true, auto_fix_dependency_scanning: false, auto_fix_sast: true, auto_fix_enabled?: true5632 is expected to eq true5633 license: true, feature_flag: true, auto_fix_container_scanning: false, auto_fix_dependency_scanning: false, auto_fix_sast: true, auto_fix_enabled?: false5634 is expected to eq false5635 license: true, feature_flag: true, auto_fix_container_scanning: true, auto_fix_dependency_scanning: true, auto_fix_sast: false, auto_fix_enabled?: true5636 is expected to eq true5637 #auto_fix_enabled_types5638 return status only for available types5639KerberosSpnegoHelper5640 #spnego_credentials!5641 with successful remote call5642 with Kerberos service_principal_name present5643 behaves like a method that decodes a spnego token5644 decodes the given spnego token5645 when gss_result is not true5646 behaves like a method that decodes a spnego token5647 decodes the given spnego token5648 with Kerberos service_principal_name missing5649 behaves like a method that decodes a spnego token5650 decodes the given spnego token5651 when the remote call fails5652 fails to authenticate and logs an error5653IncidentManagement::EscalationRules::DestroyService5654 sends an email for each project and deletes the provided escalation rules5655Sitemap::CreateService5656 #execute5657 returns the successful service response with the sitemap content5658 when the sitemap generator returns an error5659 returns an error service response5660Gitlab::Ci::Reports::Security::Remediation5661 #diff_file5662 is expected to eq "foo"5663 #checksum5664 is expected to eq "2c26b46b68ffc68ff99b453c1d30413413422d706483bfa0f98a5e886266e7ae"5665Types::Dast::ProfileScheduleType5666 is expected to eq "DastProfileSchedule"5667 is expected to have graphql fields :id, :active, :startsAt, :timezone, :nextRunAt, :cadence, and :ownerValid5668 startsAt field5669 converts the startsAt to the timezone5670 nextRunAt field5671 converts the nextRunAt to the timezone5672 ownerValid5673 returns if the owner is valid5674PathLocks::LockService5675 locks path5676 raises exception if user has no permissions5677Types::VulnerabilityEvidenceSourceType5678 is expected to eq "VulnerabilityEvidenceSource"5679 is expected to have graphql fields :identifier, :name, and :url5680 checking field contents5681 checks the contents of the evidence.source field5682BackfillNamespaceAncestryForIssues5683 behaves like a deprecated Advanced Search migration5684 #migrate5685 logs a message and halts the migration5686 #completed?5687 returns false5688 #obsolete?5689 returns true5690Groups::EpicsCountService5691 #relation_for_count5692 uses the EpicsFinder to scope epics5693 behaves like a counter caching service with threshold5694 when cache is empty5695 refreshes cache if value over threshold5696 does not refresh cache if value under threshold5697 when cached count is under the threshold value5698 does not refresh cache5699 when cached count is over the threshold value5700 does not refresh cache5701VulnerabilityExternalIssueLinks::DestroyService5702 deletes the specified vulnerability-external issue link5703Geo::GraphqlRequestService5704 #execute5705 sends a request with the authenticating user id in the headers5706 when the node is nil5707 fails and not make a request5708 when the user is nil5709 makes an unauthenticated request5710Gitlab::Analytics::CycleAnalytics::DistinctStageLoader5711 returns the distinct stages by stage_event_hash_id5712 when lead time and cycle time are not defined as stages5713 returns in-memory stages5714 creates two stage event hash records5715 returns 4 stages5716 when lead time and cycle time are persisted stages5717 does not create extra stage event hash records5718Gitlab::Auth::Saml::MembershipUpdater5719 when SAML group links exist5720 when group sync is not available5721 does not enqueue group sync5722 when group sync is available5723 enqueues group sync5724 when auth hash contains no groups5725 enqueues group sync5726 when auth hash groups do not match group links5727 enqueues group sync5728DependencyListSerializer5729 #to_json5730 matches the schema5731ProjectAuthorization5732 .visible_to_user_and_access_level5733 returns the records for given user that have at least the given access5734Geo::ContainerRepositorySync5735 #execute5736 single manifest5737 determines list of tags to sync and to remove correctly5738 when primary repository has no tags5739 removes secondary tags and does not fail5740 manifest list5741 pushes the correct blobs and manifests5742 oci manifest list5743 pushes the correct blobs and manifests5744 buildkit cache images5745 pushes the correct blobs and manifests5746PauseIndexingForUnsupportedEsVersions5747 .completed?5748 is expected to be truthy5749 .migrate5750 using an unsupported es version5751 pauses indexing5752 indexing has already been paused5753 does nothing5754Gitlab::PathLocksFinder5755 returns correct lock information5756 #preload_for_paths5757 does not perform N + 1 requests5758LdapSyncWorker5759 #perform5760 with the default license key5761 syncs all LDAP users5762 without a license key5763 does not sync LDAP users5764Gitlab::Geo::LogCursor::EventLogs5765 #fetch_in_batches5766 when there are no event_logs5767 does not yield a group of events5768 when there are event logs5769 when there is no event_log_state5770 does not yield a group of events5771 when there is already an event_log_state5772 saves last event as last processed after yielding5773 yields a group of events5774Projects::Integrations::Jira::ByIdsFinder5775 #execute5776 when reactive_caching is still fetching data5777 returns nil5778 when reactive_caching has finished5779 returns issues encapsulated in hash5780 when reactive_caching failed with ::Projects::Integrations::Jira::IssuesFinder::IntegrationError5781 returns empty issues list with error message5782 when reactive_caching failed with ::Projects::Integrations::Jira::IssuesFinder::RequestError5783 returns empty issues list with error message5784Sidebars::Projects::Menus::RepositoryMenu5785 File Locks5786 when licensed feature file locks is not enabled5787 does not include file locks menu item5788 when licensed feature file locks is enabled5789 includes file locks menu item5790projects/on_demand_scans/index5791 renders Vue app root5792Snippet5793 #repository_size_checker5794 when snippet belongs to a project5795 sets up size checker5796 when snippet without a project5797 sets up size checker5798Auditable5799 #push_audit_event5800 when audit event queue is active5801 add message to audit event queue5802 when audit event queue is not active5803 does not add message to audit event queue5804 #audit_details5805 raises error to prompt for implementation5806Analytics::CycleAnalytics::StageEventHash5807 associations5808 is expected to have many cycle_analytics_group_stages5809 .cleanup_if_unused5810 removes the record if there is no project or group stages with given stage events hash5811 does not remove the record if at least 1 group stage for the given stage events hash exists5812Gitlab::Auth::GroupSaml::ResponseStore5813 #set_raw5814 stores values in Redis5815 sets a redis expiry time5816 #get_raw5817 retrives a value set by set_response5818 prevents memory bloat by deleting the value5819Gitlab::Patch::DatabaseConfig5820 #database_configuration5821 when config/database.yml does not contain Geo settings5822 returns a hash containing only main:5823 when config/database.yml contains Geo settings5824 returns a hash containing both main: and geo:5825 when SKIP_POST_DEPLOYMENT_MIGRATIONS environment variable set5826 does not include Geo post deployment migrations path5827Ci::DestroyPipelineService5828 when audit events is enabled5829 does not log an audit event5830Types::Boards::EpicUserPreferencesType5831 is expected to eq "BoardEpicUserPreferences"5832 has specific fields5833Elastic::MigrationObsolete5834 #migrate5835 logs a message and halts the migration5836 #completed?5837 returns false5838 #obsolete?5839 returns true5840Gitlab::Usage::Metrics::Instrumentations::LicenseManagementJobsMetric5841 behaves like a correct instrumented metric value5842 has correct value5843Types::WorkItems::TypeType5844 is expected to eq "WorkItemType"5845 is expected to have graphql fields :id, :icon_name, and :name5846 is expected to require graphql authorizations :read_work_item_type5847Types::Dast::ProfileCadenceType5848 is expected to eq "DastProfileCadence"5849 is expected to have graphql fields :unit and :duration5850IncidentManagement::EscalationPolicyHelper5851 #escalation_policy_data5852 returns scalation policies data5853Elastic::Latest::Config5854 .settings5855 behaves like config settings return correct values5856 returns config5857 sets correct shard/replica settings5858 .mappings5859 returns config5860Arkose::BlockedUsersReportWorker#perform5861 when the feature flag arkose_labs_login_challenge is disabled5862 does not report the blocked users5863 when the feature flag arkose_labs_login_challenge is enabled5864 when the blocked users are reported5865 reports the blocked users5866ProtectedBranch::RequiredCodeOwnersSection5867 associations5868 is expected to belong to protected_branch required: false5869AutoMergeService5870 .all_strategies_ordered_by_preference5871 returns all strategies in preference order5872Gitlab::Patch::DrawRoute5873 evaluates EE only routes5874 evaluates CE and EE routes5875 raises an error when nothing is drawn5876Types::ApprovalRuleTypeEnum5877 has the correct members5878Types::RequirementsManagement::TestReportType5879 is expected to eq "TestReport"5880 is expected to have graphql fields :id, :state, :author, and :created_at5881Gitlab::Graphql::Pagination::Keyset::OrderInfo5882 #build_order_list5883 when ordering by STORAGE5884 assigns the right attribute name, named function, and direction5885layouts/nav/sidebar/_push_rules_link5886 license includes push rules feature5887 shows the link5888 license does not include push rules feature5889 hides the link5890Geo::ResetChecksumEvent5891 relationships5892 is expected to belong to project required: false5893 validations5894 is expected to validate that :project cannot be empty/falsy5895Automated License Installation5896 executes the gitlab:license:load task5897GeoQueue5898 sets the queue name of a worker5899StorageShardEntity5900 is expected to have key :name5901Groups::SsoHelper5902 #authorize_gma_conversion_confirm_modal_data5903 returns expected hash5904Types::VulnerabilityDetails::CommitType5905 is expected to have graphql fields :name, :description, :fieldName, and :value5906Knapsack report was generated. Preview:5907{5908 "ee/spec/models/ee/group_spec.rb": 208.868592619001,5909 "ee/spec/models/application_setting_spec.rb": 177.99084050900274,5910 "ee/spec/lib/gitlab/git_access_spec.rb": 196.75387120499727,5911 "ee/spec/tasks/gitlab/elastic_rake_spec.rb": 152.21469737499865,5912 "ee/spec/models/ee/ci/job_artifact_spec.rb": 67.45873619299891,5913 "ee/spec/replicators/geo/job_artifact_replicator_spec.rb": 57.20185981800023,5914 "ee/spec/replicators/geo/pipeline_artifact_replicator_spec.rb": 44.44305089399859,5915 "ee/spec/services/vulnerabilities/confirm_service_spec.rb": 75.24840840900288,5916 "ee/spec/elastic_integration/global_search_spec.rb": 68.57755839799938,5917 "ee/spec/lib/ee/gitlab/ci/templates/templates_spec.rb": 14.190377401999285,5918 "ee/spec/models/dast/profile_schedule_spec.rb": 40.63265091200083,5919 "ee/spec/models/concerns/elastic/repository_spec.rb": 46.48279904999799,5920 "ee/spec/models/ee/protected_ref_access_spec.rb": 31.950237409000692,5921 "ee/spec/workers/audit_events/audit_event_streaming_worker_spec.rb": 14.710453245999815,5922 "ee/spec/elastic/migrate/20220613120500_migrate_commits_to_separate_index_spec.rb": 34.90477050300251,5923 "ee/spec/services/audit_event_service_spec.rb": 14.709727736997593,5924 "ee/spec/services/merge_requests/sync_report_approver_approval_rules_spec.rb": 34.269905623998056,5925 "ee/spec/lib/ee/gitlab/web_hooks/rate_limiter_spec.rb": 7.267694221998681,5926 "ee/spec/models/snippet_repository_spec.rb": 24.06469405700045,5927 "ee/spec/services/groups/transfer_service_spec.rb": 23.00040026699935,5928 "ee/spec/finders/issues_finder_spec.rb": 14.688240446001146,5929 "ee/spec/models/ee/audit_event_spec.rb": 11.155993506999948,5930 "ee/spec/services/epics/epic_links/update_service_spec.rb": 18.447718764000456,5931 "ee/spec/services/ldap_group_reset_service_spec.rb": 14.000598931997956,5932 "ee/spec/services/app_sec/dast/scanner_profiles/create_service_spec.rb": 15.780555160999938,5933 "ee/spec/lib/gitlab/ci/templates/Jobs/dast_default_branch_gitlab_ci_yaml_spec.rb": 15.63152720799917,5934 "ee/spec/models/ee/list_spec.rb": 15.326344704000803,5935 "ee/spec/lib/gitlab/email/handler/create_note_handler_spec.rb": 13.234186641999258,5936 "ee/spec/lib/gitlab/auth/group_saml/gma_membership_enforcer_spec.rb": 13.244778800999484,5937 "ee/spec/finders/geo/terraform_state_version_registry_finder_spec.rb": 17.06513349499801,5938 "ee/spec/lib/audit/group_push_rules_changes_auditor_spec.rb": 8.22214515900123,5939 "ee/spec/finders/groups_with_templates_finder_spec.rb": 15.3195466449979,5940 "ee/spec/models/audit_events/external_audit_event_destination_spec.rb": 7.255819647998578,5941 "ee/spec/lib/ee/api/helpers/scim_pagination_spec.rb": 7.4104504699971585,5942 "ee/spec/lib/gitlab/subscription_portal/clients/graphql_spec.rb": 3.996506166000472,5943 "ee/spec/lib/gitlab/ci/minutes/runners_availability_spec.rb": 7.684427815998788,5944 "ee/spec/finders/security/scan_execution_policies_finder_spec.rb": 9.681960033001815,5945 "ee/spec/services/geo/repository_updated_service_spec.rb": 4.087593200998526,5946 "ee/spec/models/protected_environment/deploy_access_level_spec.rb": 7.222347699000238,5947 "ee/spec/workers/geo/repository_verification/secondary/shard_worker_spec.rb": 5.753656474997115,5948 "ee/spec/models/security/finding_spec.rb": 5.487610968997615,5949 "ee/spec/services/projects/gitlab_projects_import_service_spec.rb": 8.789735440001095,5950 "ee/spec/services/ee/boards/issues/create_service_spec.rb": 9.446543595000549,5951 "ee/spec/finders/template_finder_spec.rb": 3.715062340001168,5952 "ee/spec/services/groups/mark_for_deletion_service_spec.rb": 5.044952580999961,5953 "ee/spec/lib/ee/gitlab/auth/ldap/sync/groups_spec.rb": 7.013789670003462,5954 "ee/spec/lib/gitlab/auth/smartcard/ldap_certificate_spec.rb": 2.9599334390004515,5955 "ee/spec/serializers/vulnerabilities/feedback_entity_spec.rb": 2.2716075030002685,5956 "ee/spec/models/deployment_spec.rb": 5.201982733000477,5957 "ee/spec/tasks/gitlab/uploads/migrate_rake_spec.rb": 5.707028486998752,5958 "ee/spec/services/app_sec/dast/scans/create_service_spec.rb": 5.227292200997908,5959 "ee/spec/lib/gitlab/auth/group_saml/identity_linker_spec.rb": 7.0827671170009125,5960 "ee/spec/models/sca/license_policy_spec.rb": 1.6194620669994038,5961 "ee/spec/services/namespaces/check_excess_storage_size_service_spec.rb": 1.9050028620004014,5962 "ee/spec/workers/geo/container_repository_sync_dispatch_worker_spec.rb": 6.3039017070004775,5963 "ee/spec/services/ee/vulnerability_feedback_module/update_service_spec.rb": 6.8377353089999815,5964 "ee/spec/services/wikis/create_attachment_service_spec.rb": 3.712489519999508,5965 "ee/spec/models/gitlab/seat_link_data_spec.rb": 1.2263623969993205,5966 "ee/spec/lib/gitlab/ci/templates/dast_api_latest_gitlab_ci_yaml_spec.rb": 3.612544034996972,5967 "ee/spec/models/saml_group_link_spec.rb": 2.1268890210012614,5968 "ee/spec/services/ci/play_build_service_spec.rb": 5.490888457999972,5969 "ee/spec/services/compliance_management/frameworks/update_service_spec.rb": 3.6113996550011507,5970 "ee/spec/lib/gitlab/ci/templates/Jobs/load_performance_testing_gitlab_ci_yaml_spec.rb": 4.946575816000404,5971 "ee/spec/lib/gitlab/analytics/cycle_analytics/stage_events/merge_request_label_added_spec.rb": 3.533918339002412,5972 "ee/spec/graphql/mutations/vulnerabilities/create_external_issue_link_spec.rb": 4.023380443999486,5973 "ee/spec/services/audit_events/release_associate_milestone_audit_event_service_spec.rb": 2.9659814769984223,5974 "ee/spec/workers/geo/repository_verification/primary/batch_worker_spec.rb": 5.42587184200238,5975 "ee/spec/services/incident_management/issuable_resource_links/create_service_spec.rb": 2.350966959998914,5976 "ee/spec/serializers/merge_request_poll_widget_entity_spec.rb": 5.102343067999755,5977 "ee/spec/services/geo/hashed_storage_attachments_migration_service_spec.rb": 2.9396109689987497,5978 "ee/spec/lib/ee/gitlab/ip_restriction/enforcer_spec.rb": 2.0081375970003137,5979 "ee/spec/lib/ee/gitlab/ci/config/entry/bridge_spec.rb": 0.6629926860005071,5980 "ee/spec/models/ee/members_preloader_spec.rb": 2.853523974001291,5981 "ee/spec/lib/gitlab/analytics/cycle_analytics/stage_events/issue_first_associated_with_milestone_spec.rb": 1.7013720220020332,5982 "ee/spec/models/concerns/ee/clusters/agents/authorization_config_scopes_spec.rb": 3.658912433002115,5983 "ee/spec/lib/ee/gitlab/database_spec.rb": 0.6472090469978866,5984 "ee/spec/finders/dast/profiles_finder_spec.rb": 1.538218041001528,5985 "ee/spec/services/quality_management/test_cases/create_service_spec.rb": 3.517543289999594,5986 "ee/spec/lib/container_registry/client_spec.rb": 0.8048032389997388,5987 "ee/spec/lib/gitlab/ci/templates/secret_detection_latest_gitlab_ci_yaml_spec.rb": 3.715275749000284,5988 "ee/spec/services/ee/members/update_service_spec.rb": 3.5376903689975734,5989 "ee/spec/services/ee/gpg_keys/create_service_spec.rb": 4.275066320999031,5990 "ee/spec/finders/projects/integrations/jira/issues_finder_spec.rb": 2.551046488999418,5991 "ee/spec/helpers/license_helper_spec.rb": 1.0548185359984927,5992 "ee/spec/views/layouts/header/help_dropdown/_cross_stage_fdm.html.haml_spec.rb": 0.5809473799999978,5993 "ee/spec/services/ee/resource_events/change_iteration_service_spec.rb": 2.2471546250017127,5994 "ee/spec/models/ee/gpg_key_spec.rb": 2.146883009998419,5995 "ee/spec/helpers/security_helper_spec.rb": 3.946055427000829,5996 "ee/spec/graphql/mutations/boards/epic_boards/create_spec.rb": 1.0988467239985766,5997 "ee/spec/graphql/types/geo/merge_request_diff_registry_type_spec.rb": 0.404816459002177,5998 "ee/spec/models/ee/project_wiki_spec.rb": 1.2824086239997996,5999 "ee/spec/lib/ee/gitlab/ci/pipeline/quota/size_spec.rb": 2.4642377339987434,6000 "ee/spec/policies/incident_management/oncall_rotation_policy_spec.rb": 1.6693674239977554,6001 "ee/spec/services/security/scanned_resources_counting_service_spec.rb": 1.6792146439984208,6002 "ee/spec/lib/gitlab/auth/group_saml/membership_enforcer_spec.rb": 1.3534074909985065,6003 "ee/spec/models/ee/clusters/agent_spec.rb": 1.3406797509996977,6004 "ee/spec/finders/dast_site_validations_finder_spec.rb": 1.7013258629995107,6005 "ee/spec/services/ee/projects/deploy_tokens/destroy_service_spec.rb": 1.857321603998571,6006 "ee/spec/models/scim_identity_spec.rb": 0.8599935359998199,6007 "ee/spec/graphql/mutations/security_policy/assign_security_policy_project_spec.rb": 2.7666726679999556,6008 "ee/spec/lib/elastic/latest/merge_request_config_spec.rb": 0.4286136789996817,6009 "ee/spec/services/ee/git/wiki_push_service_spec.rb": 1.2873702030010463,6010 "ee/spec/presenters/label_presenter_spec.rb": 1.8921542729985958,6011 "ee/spec/lib/ee/api/entities/project_spec.rb": 1.9210565020002832,6012 "ee/spec/lib/ee/api/entities/scim/users_spec.rb": 0.838916197000799,6013 "ee/spec/components/namespaces/free_user_cap/alert_component_spec.rb": 2.6961459909980476,6014 "ee/spec/helpers/credentials_inventory_helper_spec.rb": 0.694567635000567,6015 "ee/spec/models/geo/repository_created_event_spec.rb": 0.4878838350014121,6016 "ee/spec/services/status_page/publish_attachments_service_spec.rb": 1.107195092998154,6017 "ee/spec/lib/gitlab/ci/templates/license_scanning_gitlab_ci_yaml_spec.rb": 1.9306197709993285,6018 "ee/spec/services/security/security_orchestration_policies/ci_configuration_service_spec.rb": 0.6136752579986933,6019 "ee/spec/lib/ee/api/entities/scim/user_spec.rb": 0.5618396319987369,6020 "ee/spec/workers/analytics/cycle_analytics/consistency_worker_spec.rb": 1.7746186389995273,6021 "ee/spec/serializers/licenses_list_serializer_spec.rb": 2.4983625120003126,6022 "ee/spec/services/ee/design_management/delete_designs_service_spec.rb": 1.9995436369972595,6023 "ee/spec/models/project_security_setting_spec.rb": 1.5020249129993317,6024 "ee/spec/helpers/kerberos_spnego_helper_spec.rb": 0.5419979120015341,6025 "ee/spec/services/incident_management/escalation_rules/destroy_service_spec.rb": 1.4425791559988284,6026 "ee/spec/services/sitemap/create_service_spec.rb": 0.17742583099970943,6027 "ee/spec/lib/gitlab/ci/reports/security/remediation_spec.rb": 0.612164099002257,6028 "ee/spec/graphql/types/dast/profile_schedule_type_spec.rb": 1.3219389520018012,6029 "ee/spec/services/path_locks/lock_service_spec.rb": 1.7943400879994442,6030 "ee/spec/graphql/types/vulnerability_evidence_source_type_spec.rb": 2.0114415469979576,6031 "ee/spec/elastic/migrate/20210825110300_backfill_namespace_ancestry_for_issues_spec.rb": 0.7655441800015979,6032 "ee/spec/services/groups/epics_count_service_spec.rb": 1.2275763770012418,6033 "ee/spec/services/vulnerability_external_issue_links/destroy_service_spec.rb": 1.4752988449981785,6034 "ee/spec/services/geo/graphql_request_service_spec.rb": 0.7085862130006717,6035 "ee/spec/lib/gitlab/analytics/cycle_analytics/distinct_stage_loader_spec.rb": 1.5676042000013695,6036 "ee/spec/lib/gitlab/auth/saml/membership_updater_spec.rb": 0.9006372139992891,6037 "ee/spec/serializers/dependency_list_serializer_spec.rb": 1.810552077000466,6038 "ee/spec/models/ee/project_authorization_spec.rb": 1.7144188420024875,6039 "ee/spec/services/geo/container_repository_sync_spec.rb": 0.8513725560005696,6040 "ee/spec/elastic/migrate/20220512150000_pause_indexing_for_unsupported_es_versions_spec.rb": 0.5041941239978769,6041 "ee/spec/lib/gitlab/path_locks_finder_spec.rb": 0.8559464470017701,6042 "ee/spec/workers/ldap_sync_worker_spec.rb": 0.6202740389999235,6043 "ee/spec/lib/gitlab/geo/log_cursor/event_logs_spec.rb": 0.4761182160000317,6044 "ee/spec/finders/projects/integrations/jira/by_ids_finder_spec.rb": 1.063279355999839,6045 "ee/spec/lib/ee/sidebars/projects/menus/repository_menu_spec.rb": 1.1708308890010812,6046 "ee/spec/views/projects/on_demand_scans/index.html.haml_spec.rb": 0.7845313990001159,6047 "ee/spec/models/snippet_spec.rb": 0.30151402500268887,6048 "ee/spec/models/concerns/auditable_spec.rb": 0.5172178329994495,6049 "ee/spec/models/ee/analytics/cycle_analytics/stage_event_hash_spec.rb": 0.40479742999741575,6050 "ee/spec/lib/gitlab/auth/group_saml/response_store_spec.rb": 0.5637012609986414,6051 "ee/spec/lib/gitlab/patch/database_config_spec.rb": 0.24326316699807649,6052 "ee/spec/services/ci/destroy_pipeline_service_spec.rb": 0.7352030120018753,6053 "ee/spec/graphql/types/boards/epic_user_preferences_type_spec.rb": 0.25337462699826574,6054 "ee/spec/workers/concerns/elastic/migration_obsolete_spec.rb": 0.8316476379986852,6055 "ee/spec/lib/gitlab/usage/metrics/instrumentations/license_management_jobs_metric_spec.rb": 0.8295444570030668,6056 "ee/spec/graphql/types/work_items/type_spec.rb": 0.24323310799809406,6057 "ee/spec/graphql/types/dast/profile_cadence_type_spec.rb": 0.2754284149996238,6058 "ee/spec/helpers/incident_management/escalation_policy_helper_spec.rb": 0.9559184600002482,6059 "ee/spec/lib/elastic/latest/config_spec.rb": 0.6174472780003271,6060 "ee/spec/workers/ee/arkose/blocked_users_report_worker_spec.rb": 0.24719457700120984,6061 "ee/spec/models/protected_branch/required_code_owners_section_spec.rb": 0.3910611200008134,6062 "ee/spec/services/ee/auto_merge_service_spec.rb": 0.37766000099873054,6063 "ee/spec/lib/gitlab/patch/draw_route_spec.rb": 0.5450985220013536,6064 "ee/spec/graphql/types/approval_rule_type_enum_spec.rb": 0.16006785100034904,6065 "ee/spec/graphql/types/requirements_management/test_report_type_spec.rb": 0.10141587399994023,6066 "ee/spec/lib/gitlab/graphql/pagination/keyset/order_info_spec.rb": 0.21465779900245252,6067 "ee/spec/views/layouts/nav/sidebar/_push_rules_link.html.haml_spec.rb": 0.6039246689979336,6068 "ee/spec/models/geo/reset_checksum_event_spec.rb": 0.25763332700080355,6069 "ee/spec/db/production/license_spec.rb": 0.13594192300297436,6070 "ee/spec/workers/concerns/geo_queue_spec.rb": 0.33590103299866314,6071 "ee/spec/serializers/storage_shard_entity_spec.rb": 0.39221601000099326,6072 "ee/spec/helpers/groups/sso_helper_spec.rb": 0.7151192630008154,6073 "ee/spec/graphql/types/vulnerability_details/commit_type_spec.rb": 0.172296650998760016074}6075Knapsack global time execution for tests: 30m 13s6076Finished in 30 minutes 18 seconds (files took 1 minute 21.7 seconds to load)60772697 examples, 0 failures6078RSpec exited with 0.6079No examples to retry, congrats!6081Not uploading cache ruby-gems-debian-bullseye-ruby-2.7-10 due to policy6082Not uploading cache gitaly-ruby-gems-debian-bullseye-ruby-2.7-10 due to policy6084Uploading artifacts...6085coverage/: found 5 matching files and directories 6086crystalball/: found 2 matching files and directories 6087deprecations/: found 6 matching files and directories 6088knapsack/: found 3 matching files and directories 6089rspec/: found 8 matching files and directories 6090WARNING: tmp/capybara/: no matching files. Ensure that the artifact path is relative to the working directory 6091log/*.log: found 19 matching files and directories 6092WARNING: Upload request redirected location=https://gitlab.com/api/v4/jobs/2673337895/artifacts?artifact_format=zip&artifact_type=archive&expire_in=31d new-url=https://gitlab.com6093WARNING: Retrying... context=artifacts-uploader error=request redirected6094Uploading artifacts as "archive" to coordinator... 201 Created id=2673337895 responseStatus=201 Created token=YR14mC9c6095Uploading artifacts...6096rspec/junit_rspec.xml: found 1 matching files and directories 6097WARNING: Upload request redirected location=https://gitlab.com/api/v4/jobs/2673337895/artifacts?artifact_format=gzip&artifact_type=junit&expire_in=31d new-url=https://gitlab.com6098WARNING: Retrying... context=artifacts-uploader error=request redirected6099Uploading artifacts as "junit" to coordinator... 201 Created id=2673337895 responseStatus=201 Created token=YR14mC9c6101Job succeeded