rspec-ee unit pg12 6/12
Passed Started
by
@mikolaj_wawrzyniak

Mikołaj Wawrzyniak
1Running with gitlab-runner 14.2.0-rc1 (0ac3a46e)2 on green-2.private.runners-manager.gitlab.com/gitlab.com/gitlab-org GaSD-S1F3 feature flags: FF_USE_FASTZIP:true6Using Docker executor with image registry.gitlab.com/gitlab-org/gitlab-build-images:ruby-2.7.2.patched-golang-1.16-git-2.31-lfs-2.9-chrome-89-node-14.15-yarn-1.22-postgresql-12-graphicsmagick-1.3.36 ...7Starting service postgres:12 ...8Pulling docker image postgres:12 ...9Using docker image sha256:14566088fc000f09db0a67b267f7de82a1a1a0d45d6a0a023ab580b084be62a8 for postgres:12 with digest postgres@sha256:1cb8f7fc2e6745ef577640de1c9fde04ff9498a7e0d067f1b8e6890ad4ba5073 ...10Starting service redis:5.0-alpine ...11Pulling docker image redis:5.0-alpine ...12Using docker image sha256:add8cf2f542a4bb4070fad4dd7bb73933a804a0ff57dd611f7be76ffeb4a8ae2 for redis:5.0-alpine with digest redis@sha256:5dbc2c85e636c0aea692972a2eac934ba4f04e9bb6578bc47aa35d28482b2f60 ...13Starting service elasticsearch:7.11.1 ...14Pulling docker image elasticsearch:7.11.1 ...15Using docker image sha256:bc3d45eba361de2bde57b25ada32b4de5dd5f5cb12cd3bd049212e90bdfd62a9 for elasticsearch:7.11.1 with digest elasticsearch@sha256:3a219f148b596e25c1b16bda46e1ca07db46826c0e1cde003c2d2f93f33d18e4 ...16Waiting for services to be up and running...17Authenticating with credentials from job payload (GitLab Registry)18Pulling docker image registry.gitlab.com/gitlab-org/gitlab-build-images:ruby-2.7.2.patched-golang-1.16-git-2.31-lfs-2.9-chrome-89-node-14.15-yarn-1.22-postgresql-12-graphicsmagick-1.3.36 ...19Using docker image sha256:f3af4045688c7d321821552b2274c91037e2b5727ac63ee5f72ad30f5962c48e for registry.gitlab.com/gitlab-org/gitlab-build-images:ruby-2.7.2.patched-golang-1.16-git-2.31-lfs-2.9-chrome-89-node-14.15-yarn-1.22-postgresql-12-graphicsmagick-1.3.36 with digest registry.gitlab.com/gitlab-org/gitlab-build-images@sha256:72fa33b8058851ded8b72376ab249c48f98d1a176ad4bc8d517ca4ab62f0f7a0 ...21Running on runner-gasd-s1f-project-278964-concurrent-0 via runner-gasd-s1f-private-1629282411-4ad5121b...23$ eval "$CI_PRE_CLONE_SCRIPT"24Downloading archived master...25Connecting to storage.googleapis.com (172.217.193.128:443)26saving to '/tmp/gitlab.tar.gz'27gitlab.tar.gz 47% |*************** | 163M 0:00:01 ETA28gitlab.tar.gz 100% |********************************| 347M 0:00:00 ETA29'/tmp/gitlab.tar.gz' saved30Extracting tarball into /builds/gitlab-org/gitlab...31Fetching changes with git depth set to 20...32Reinitialized existing Git repository in /builds/gitlab-org/gitlab/.git/33Created fresh repository.34remote: Enumerating objects: 193, done. 35remote: Counting objects: 100% (141/141), done. 36remote: Compressing objects: 100% (55/55), done. 37remote: Total 91 (delta 78), reused 47 (delta 36), pack-reused 0 39 * [new ref] 87ccd58290a6f21a5fb92623e3970840943714e8 -> refs/pipelines/35508967240 * [new branch] master -> origin/master41Checking out 87ccd582 as master...42Skipping Git submodules setup44Checking cache for ruby-gems-v1-4...45Downloading cache.zip from https://storage.googleapis.com/gitlab-com-runners-cache/project/278964/ruby-gems-v1-4 46Successfully extracted cache47Checking cache for gitaly-ruby-gems-v1-4...48Downloading cache.zip from https://storage.googleapis.com/gitlab-com-runners-cache/project/278964/gitaly-ruby-gems-v1-4 49Successfully extracted cache51Downloading artifacts for compile-test-assets (1512821856)...52Downloading artifacts from coordinator... ok id=1512821856 responseStatus=200 OK token=yv2CxeL353Downloading artifacts for retrieve-tests-metadata (1512821865)...54Downloading artifacts from coordinator... ok id=1512821865 responseStatus=200 OK token=UxJ4xnY955Downloading artifacts for setup-test-env (1512821862)...56Downloading artifacts from coordinator... ok id=1512821862 responseStatus=200 OK token=r5iGa7Zz58Using docker image sha256:f3af4045688c7d321821552b2274c91037e2b5727ac63ee5f72ad30f5962c48e for registry.gitlab.com/gitlab-org/gitlab-build-images:ruby-2.7.2.patched-golang-1.16-git-2.31-lfs-2.9-chrome-89-node-14.15-yarn-1.22-postgresql-12-graphicsmagick-1.3.36 with digest registry.gitlab.com/gitlab-org/gitlab-build-images@sha256:72fa33b8058851ded8b72376ab249c48f98d1a176ad4bc8d517ca4ab62f0f7a0 ...59$ [ "$FOSS_ONLY" = "1" ] && rm -rf ee/ qa/spec/ee/ qa/qa/specs/features/ee/ qa/qa/ee/ qa/qa/ee.rb60$ export GOPATH=$CI_PROJECT_DIR/.go61$ mkdir -p $GOPATH62$ source scripts/utils.sh63$ source scripts/prepare_build.sh64Bundler version 2.1.465production:development66Settings are listed in order of priority. The top value will be used.67path68Set for the current user (/root/.bundle/config): "vendor"69clean70Set for the current user (/root/.bundle/config): "true"71without72Set via BUNDLE_WITHOUT: [:production, :development]73install_flags74Set via BUNDLE_INSTALL_FLAGS: "--jobs=$(nproc) --retry=3 --quiet"75$ bundle install --jobs=$(nproc) --retry=3 --quiet && bundle check76The Gemfile's dependencies are satisfied77==> 'bundle install --jobs=$(nproc) --retry=3 --quiet && bundle check' succeeded in 2 seconds.78$ bundle pristine pg79Installing pg 1.2.3 with native extensions80==> 'bundle pristine pg' succeeded in 10 seconds.81$ setup_db_user_only82CREATE ROLE83GRANT84==> 'setup_db_user_only' succeeded in 0 seconds.85$ bundle exec rake db:drop db:create db:structure:load db:migrate gitlab:db:setup_ee86Dropped database 'gitlabhq_test'87Created database 'gitlabhq_test'88DEPRECATION WARNING: Using `bin/rails db:structure:load` is deprecated and will be removed in Rails 6.2. Configure the format using `config.active_record.schema_format = :sql` to use `structure.sql` and run `bin/rails db:schema:load` instead. (called from load at /builds/gitlab-org/gitlab/vendor/ruby/2.7.0/bin/rake:23)89Dropped database 'gitlabhq_geo_test'90Created database 'gitlabhq_geo_test'91==> 'bundle exec rake db:drop db:create db:structure:load db:migrate gitlab:db:setup_ee' succeeded in 25 seconds.92$ run_timed_command "gem install knapsack --no-document"93$ gem install knapsack --no-document94Successfully installed knapsack-4.0.0951 gem installed96==> 'gem install knapsack --no-document' succeeded in 0 seconds.97$ run_timed_command "scripts/gitaly-test-spawn"98$ scripts/gitaly-test-spawn99Settings are listed in order of priority. The top value will be used.100jobs101Set for your local app (/builds/gitlab-org/gitlab/tmp/tests/gitaly/ruby/.bundle/config): 4102retry103Set for your local app (/builds/gitlab-org/gitlab/tmp/tests/gitaly/ruby/.bundle/config): 3104path105Set for your local app (/builds/gitlab-org/gitlab/tmp/tests/gitaly/ruby/.bundle/config): "/builds/gitlab-org/gitlab/vendor/gitaly-ruby"106deployment107Set for your local app (/builds/gitlab-org/gitlab/tmp/tests/gitaly/ruby/.bundle/config): true108without109Set for your local app (/builds/gitlab-org/gitlab/tmp/tests/gitaly/ruby/.bundle/config): [:production, :development]110Set via BUNDLE_WITHOUT: [:production, :development]111app_config112Set via BUNDLE_APP_CONFIG: "/builds/gitlab-org/gitlab/tmp/tests/gitaly/ruby/.bundle"113gemfile114Set via BUNDLE_GEMFILE: "/builds/gitlab-org/gitlab/tmp/tests/gitaly/ruby/Gemfile"115Don't run Bundler as root. Bundler can ask for sudo if it is needed, and116installing your bundle as root will break this application for all non-root117users on this machine.118Using abstract_type 0.0.7119Using concurrent-ruby 1.1.9120Using i18n 1.8.10121Using minitest 5.14.4122Using tzinfo 2.0.4123Using zeitwerk 2.4.2124Using activesupport 6.1.3.2125Using builder 3.2.4126Using erubi 1.10.0127Using mini_portile2 2.5.1128Using racc 1.5.2129Using nokogiri 1.11.5 (x86_64-linux)130Using rails-dom-testing 2.0.3131Using crass 1.0.6132Using loofah 2.10.0133Using rails-html-sanitizer 1.3.0134Using actionview 6.1.3.2135Using rack 2.2.3136Using rack-test 1.1.0137Using actionpack 6.1.3.2138Using ice_nine 0.11.2139Using thread_safe 0.3.6140Using memoizable 0.4.2141Using adamantium 0.2.0142Using public_suffix 4.0.6143Using addressable 2.7.0144Using ast 2.4.1145Using binding_ninja 0.2.3146Using bundler 2.1.4147Using charlock_holmes 0.7.7148Using coderay 1.1.2149Using equalizer 0.0.11150Using concord 0.1.5151Using diff-lcs 1.3152Using dotenv 2.7.6153Using escape_utils 1.2.1154Using factory_bot 5.0.2155Using multipart-post 2.1.1156Using faraday 1.0.1157Using ffi 1.15.3158Using json 2.5.1159Using gemojione 3.3.0160Using mini_mime 1.0.2161Using rugged 1.1.0162Using github-linguist 7.12.1163Using github-markup 1.7.0164Using mime-types-data 3.2020.1104165Using mime-types 3.3.1166Using gitlab-gollum-rugged_adapter 0.4.4.4.gitlab.1167Using rouge 3.26.0168Using nokogumbo 1.5.0169Using sanitize 4.6.6170Using stringex 2.8.5171Using gitlab-gollum-lib 4.2.7.10.gitlab.1172Using google-protobuf 3.17.3 (x86_64-linux)173Using googleapis-common-protos-types 1.1.0174Using grpc 1.38.0 (x86_64-linux)175Using opentracing 0.5.0176Using thrift 0.14.1177Using jaeger-client 1.1.0178Using pg_query 2.1.0179Using redis 4.2.5180Using gitlab-labkit 0.20.0181Using gitlab-markup 1.7.1182Using grpc-tools 1.38.0183Using sawyer 0.8.2184Using octokit 4.20.0185Using reverse_markdown 1.4.0186Using thor 1.1.0187Using licensee 9.14.1188Using method_source 0.9.2189Using msgpack 1.3.3190Using optimist 3.0.1191Using parallel 1.19.2192Using parser 2.7.2.0193Using procto 0.0.3194Using unparser 0.4.7195Using proc_to_ast 0.1.0196Using pry 0.12.2197Using rainbow 3.0.0198Using rbtrace 0.4.14199Using rdoc 6.3.2200Using regexp_parser 1.8.1201Using rexml 3.2.4202Using rspec-support 3.8.0203Using rspec-core 3.8.0204Using rspec-expectations 3.8.3205Using rspec-mocks 3.8.0206Using rspec 3.8.0207Using rspec-parameterized 0.4.2208Using rubocop-ast 0.2.0209Using ruby-progressbar 1.10.1210Using unicode-display_width 1.7.0211Using rubocop 0.86.0212Using sentry-raven 3.0.4213Using timecop 0.9.1214Bundle complete! 21 Gemfile dependencies, 96 gems now installed.215Gems in the groups production and development were not installed.216Bundled gems are installed into `/builds/gitlab-org/gitlab/vendor/gitaly-ruby`217Checking gitaly-ruby Gemfile...218Checking gitaly-ruby bundle...219The Gemfile's dependencies are satisfied220Trying to connect to gitaly: ...... OK221Trying to connect to gitaly2: ................ OK222Trying to connect to praefect: ..... OK223==> 'scripts/gitaly-test-spawn' succeeded in 5 seconds.224$ source ./scripts/rspec_helpers.sh225$ rspec_paralellized_job "--tag ~quarantine --tag ~geo --tag ~level:migration"226KNAPSACK_TEST_FILE_PATTERN: ee/spec/{bin,channels,config,db,dependencies,elastic,elastic_integration,experiments,factories,finders,frontend,graphql,haml_lint,helpers,initializers,javascripts,lib,models,policies,presenters,rack_servers,replicators,routing,rubocop,serializers,services,sidekiq,spam,support_specs,tasks,uploaders,validators,views,workers,tooling}{,/**/}*_spec.rb227Knapsack node specs:228ee/spec/services/geo/registry_consistency_service_spec.rb229ee/spec/services/search/snippet_service_spec.rb230ee/spec/models/boards/epic_board_position_spec.rb231ee/spec/services/elastic/process_bookkeeping_service_spec.rb232ee/spec/lib/ee/gitlab/background_migration/move_epic_issues_after_epics_spec.rb233ee/spec/models/merge_train_spec.rb234ee/spec/services/ee/notes/quick_actions_service_spec.rb235ee/spec/lib/ee/gitlab/ci/templates/templates_spec.rb236ee/spec/models/elastic/migration_record_spec.rb237ee/spec/models/analytics/cycle_analytics/group_stage_spec.rb238ee/spec/services/elastic/data_migration_service_spec.rb239ee/spec/models/concerns/elastic/repository_spec.rb240ee/spec/serializers/merge_request_widget_entity_spec.rb241ee/spec/replicators/geo/package_file_replicator_spec.rb242ee/spec/elastic/migrate/20210429154500_migrate_merge_requests_to_separate_index_spec.rb243ee/spec/services/groups/sync_service_spec.rb244ee/spec/workers/geo/repository_shard_sync_worker_spec.rb245ee/spec/helpers/trial_status_widget_helper_spec.rb246ee/spec/services/approval_rules/update_service_spec.rb247ee/spec/models/geo/job_artifact_registry_spec.rb248ee/spec/lib/ee/gitlab/usage_data_non_sql_metrics_spec.rb249ee/spec/lib/gitlab/geo_spec.rb250ee/spec/models/board_spec.rb251ee/spec/lib/gitlab/expiring_subscription_message_spec.rb252ee/spec/finders/geo/job_artifact_registry_finder_spec.rb253ee/spec/models/approval_merge_request_rule_spec.rb254ee/spec/lib/ee/gitlab/import_export/group/tree_restorer_spec.rb255ee/spec/workers/geo/repository_verification/primary/shard_worker_spec.rb256ee/spec/models/ee/personal_access_token_spec.rb257ee/spec/models/dast/profile_schedule_spec.rb258ee/spec/services/ci/minutes/batch_reset_service_spec.rb259ee/spec/lib/ee/gitlab/import_export/group/legacy_tree_saver_spec.rb260ee/spec/services/analytics/cycle_analytics/stages/update_service_spec.rb261ee/spec/services/requirements_management/import_csv_service_spec.rb262ee/spec/lib/ee/gitlab/repository_size_checker_spec.rb263ee/spec/services/geo/repository_destroy_service_spec.rb264ee/spec/services/projects/destroy_service_spec.rb265ee/spec/workers/elastic_namespace_indexer_worker_spec.rb266ee/spec/services/protected_environments/create_service_spec.rb267ee/spec/models/integrations/github/status_message_spec.rb268ee/spec/services/ci/retry_build_service_spec.rb269ee/spec/services/incident_management/escalation_policies/update_service_spec.rb270ee/spec/replicators/geo/group_wiki_repository_replicator_spec.rb271ee/spec/services/ee/boards/lists/max_limits_spec.rb272ee/spec/graphql/mutations/incident_management/escalation_policy/update_spec.rb273ee/spec/graphql/mutations/issues/update_spec.rb274ee/spec/services/epics/reopen_service_spec.rb275ee/spec/lib/gitlab/vulnerabilities/standard_vulnerability_spec.rb276ee/spec/lib/sidebars/groups/menus/analytics_menu_spec.rb277ee/spec/services/geo/job_artifact_deleted_event_store_spec.rb278ee/spec/services/epic_issues/update_service_spec.rb279ee/spec/models/software_license_policy_spec.rb280ee/spec/models/concerns/ee/mentionable_spec.rb281ee/spec/services/boards/epic_lists/list_service_spec.rb282ee/spec/models/security/scan_spec.rb283ee/spec/graphql/mutations/issues/set_epic_spec.rb284ee/spec/graphql/ee/mutations/boards/lists/create_spec.rb285ee/spec/serializers/ee/environment_serializer_spec.rb286ee/spec/services/ee/boards/issues/create_service_spec.rb287ee/spec/services/security/security_orchestration_policies/policy_configuration_validation_service_spec.rb288ee/spec/services/geo/node_update_service_spec.rb289ee/spec/lib/gitlab/code_owners/groups_loader_spec.rb290ee/spec/graphql/mutations/dast/profiles/delete_spec.rb291ee/spec/lib/gitlab/geo/oauth/logout_token_spec.rb292ee/spec/services/ee/system_notes/issuables_service_spec.rb293ee/spec/lib/ee/gitlab/scim/params_parser_spec.rb294ee/spec/graphql/resolvers/iterations/cadences_resolver_spec.rb295ee/spec/lib/ee/gitlab/middleware/read_only_spec.rb296ee/spec/models/analytics/devops_adoption/snapshot_spec.rb297ee/spec/services/incident_management/oncall_shifts/read_service_spec.rb298ee/spec/workers/elastic_namespace_rollout_worker_spec.rb299ee/spec/services/issues/build_service_spec.rb300ee/spec/views/clusters/clusters/show.html.haml_spec.rb301ee/spec/models/approval_wrapped_any_approver_rule_spec.rb302ee/spec/workers/elastic_remove_expired_namespace_subscriptions_from_index_cron_worker_spec.rb303ee/spec/lib/gitlab/analytics/cycle_analytics/stage_events/issue_label_removed_spec.rb304ee/spec/models/concerns/ee/project_security_scanners_information_spec.rb305ee/spec/services/security/security_orchestration_policies/project_create_service_spec.rb306ee/spec/helpers/ee/subscribable_banner_helper_spec.rb307ee/spec/models/dast/site_profiles_build_spec.rb308ee/spec/lib/gitlab/spdx/catalogue_spec.rb309ee/spec/services/ci/create_pipeline_service/runnable_builds_spec.rb310ee/spec/views/layouts/header/_current_user_dropdown.html.haml_spec.rb311ee/spec/models/elastic/index_setting_spec.rb312ee/spec/services/projects/update_service_spec.rb313ee/spec/graphql/mutations/incident_management/escalation_policy/create_spec.rb314ee/spec/services/ci_cd/github_integration_setup_service_spec.rb315ee/spec/tasks/gitlab/license_rake_spec.rb316ee/spec/services/compliance_management/frameworks/destroy_service_spec.rb317ee/spec/services/protected_environments/destroy_service_spec.rb318ee/spec/services/epics/descendant_count_service_spec.rb319ee/spec/services/app_sec/dast/profiles/build_config_service_spec.rb320ee/spec/services/ci/process_build_service_spec.rb321ee/spec/models/concerns/health_status_spec.rb322ee/spec/graphql/types/scan_type_spec.rb323ee/spec/helpers/ee/graph_helper_spec.rb324ee/spec/views/groups/settings/_remove.html.haml_spec.rb325ee/spec/workers/sync_seat_link_request_worker_spec.rb326ee/spec/models/board_user_preference_spec.rb327ee/spec/services/boards/epic_lists/destroy_service_spec.rb328ee/spec/services/epic_issues/list_service_spec.rb329ee/spec/services/ee/ci/change_variables_service_spec.rb330ee/spec/graphql/mutations/vulnerabilities/confirm_spec.rb331ee/spec/lib/world_spec.rb332ee/spec/graphql/resolvers/ci/code_coverage_summary_resolver_spec.rb333ee/spec/services/ci/retry_pipeline_service_spec.rb334ee/spec/services/vulnerabilities/statistics/update_service_spec.rb335ee/spec/models/status_page/published_incident_spec.rb336ee/spec/graphql/mutations/projects/set_compliance_framework_spec.rb337ee/spec/services/geo/repository_updated_event_store_spec.rb338ee/spec/views/shared/promotions/_promotion_link_project.html.haml_spec.rb339ee/spec/services/incident_management/escalation_policies/destroy_service_spec.rb340ee/spec/serializers/member_user_entity_spec.rb341ee/spec/services/award_emojis/add_service_spec.rb342ee/spec/models/user_permission_export_upload_spec.rb343ee/spec/services/security/orchestration/assign_service_spec.rb344ee/spec/models/ee/resource_state_event_spec.rb345ee/spec/lib/gitlab/sitemaps/generator_spec.rb346ee/spec/lib/ee/api/entities/user_with_admin_spec.rb347ee/spec/models/deployment_spec.rb348ee/spec/services/protected_environments/search_service_spec.rb349ee/spec/lib/ee/gitlab/verify/lfs_objects_spec.rb350ee/spec/services/gitlab_subscriptions/filter_purchase_eligible_namespaces_service_spec.rb351ee/spec/services/analytics/devops_adoption/enabled_namespaces/bulk_delete_service_spec.rb352ee/spec/lib/gitlab/geo/log_cursor/events/cache_invalidation_event_spec.rb353ee/spec/views/trial_registrations/new.html.haml_spec.rb354ee/spec/graphql/mutations/vulnerabilities/destroy_external_issue_link_spec.rb355ee/spec/policies/vulnerabilities/external_issue_link_policy_spec.rb356ee/spec/services/ee/event_create_service_spec.rb357ee/spec/lib/sidebars/projects/menus/jira_menu_spec.rb358ee/spec/services/ee/ci/job_artifacts/destroy_batch_service_spec.rb359ee/spec/models/compliance_management/framework_spec.rb360ee/spec/policies/event_policy_spec.rb361ee/spec/graphql/ee/resolvers/board_lists_resolver_spec.rb362ee/spec/services/security/store_scans_service_spec.rb363ee/spec/views/admin/groups/_form.html.haml_spec.rb364ee/spec/serializers/board_serializer_spec.rb365ee/spec/models/weight_note_spec.rb366ee/spec/services/ee/users/approve_service_spec.rb367ee/spec/lib/ee/gitlab/database/connection_spec.rb368ee/spec/graphql/mutations/requirements_management/export_requirements_spec.rb369ee/spec/graphql/mutations/releases/update_spec.rb370ee/spec/models/vulnerabilities/finding/evidence/source_spec.rb371ee/spec/models/ee/project_group_link_spec.rb372ee/spec/lib/gitlab/geo/log_cursor/logger_spec.rb373ee/spec/graphql/ee/mutations/ci/ci_cd_settings_update_spec.rb374ee/spec/lib/gitlab/ci/config/entry/vault/engine_spec.rb375ee/spec/models/ee/analytics/cycle_analytics/stage_event_hash_spec.rb376ee/spec/models/concerns/scim_paginatable_spec.rb377ee/spec/services/ee/users/create_service_spec.rb378ee/spec/lib/system_check/rake_task/geo_task_spec.rb379ee/spec/workers/create_github_webhook_worker_spec.rb380ee/spec/serializers/vulnerability_entity_spec.rb381ee/spec/services/audit_events/repository_download_started_audit_event_service_spec.rb382ee/spec/services/ee/alert_management/alerts/update_service_spec.rb383ee/spec/lib/gitlab/audit/levels/project_spec.rb384ee/spec/graphql/types/vulnerability_details/url_type_spec.rb385ee/spec/helpers/incident_management/escalation_policy_helper_spec.rb386ee/spec/models/users_statistics_spec.rb387ee/spec/graphql/types/dast/site_profile_auth_input_type_spec.rb388ee/spec/workers/approval_rules/external_approval_rule_payload_worker_spec.rb389ee/spec/services/projects/import_export/export_service_spec.rb390ee/spec/lib/ee/gitlab/auth/ldap/config_spec.rb391ee/spec/finders/auth/group_saml_identity_finder_spec.rb392ee/spec/initializers/fog_google_https_private_urls_spec.rb393ee/spec/policies/clusters/agent_policy_spec.rb394ee/spec/services/milestones/promote_service_spec.rb395ee/spec/lib/ee/gitlab/etag_caching/router/restful_spec.rb396ee/spec/graphql/resolvers/instance_security_dashboard_resolver_spec.rb397ee/spec/serializers/integrations/jira_serializers/issue_serializer_spec.rb398ee/spec/graphql/types/vulnerability_location/secret_detection_type_spec.rb399ee/spec/finders/analytics/devops_adoption/snapshots_finder_spec.rb400ee/spec/workers/todos_destroyer/confidential_epic_worker_spec.rb401ee/spec/workers/geo/file_download_worker_spec.rb402ee/spec/models/milestone_spec.rb403ee/spec/services/ee/alert_management/http_integrations/update_service_spec.rb404ee/spec/helpers/projects/cluster_agents_helper_spec.rb405ee/spec/routing/security_routing_spec.rb406ee/spec/graphql/types/burnup_chart_daily_totals_type_spec.rb407ee/spec/lib/pseudonymizer/uploader_spec.rb408ee/spec/lib/ee/api/entities/scim/user_name_spec.rb409ee/spec/workers/ldap_sync_worker_spec.rb410ee/spec/services/admin/email_service_spec.rb411ee/spec/graphql/types/vulnerability_location/container_scanning_type_spec.rb412ee/spec/graphql/types/vulnerability/issue_link_type_spec.rb413ee/spec/helpers/ee/system_note_helper_spec.rb414ee/spec/graphql/types/query_type_spec.rb415ee/spec/graphql/types/ci/minutes/namespace_monthly_usage_type_spec.rb416Filter specs:417Running specs:418Running all node tests without filter419ee/spec/services/geo/registry_consistency_service_spec.rb420ee/spec/services/search/snippet_service_spec.rb421ee/spec/models/boards/epic_board_position_spec.rb422ee/spec/services/elastic/process_bookkeeping_service_spec.rb423ee/spec/lib/ee/gitlab/background_migration/move_epic_issues_after_epics_spec.rb424ee/spec/models/merge_train_spec.rb425ee/spec/services/ee/notes/quick_actions_service_spec.rb426ee/spec/lib/ee/gitlab/ci/templates/templates_spec.rb427ee/spec/models/elastic/migration_record_spec.rb428ee/spec/models/analytics/cycle_analytics/group_stage_spec.rb429ee/spec/services/elastic/data_migration_service_spec.rb430ee/spec/models/concerns/elastic/repository_spec.rb431ee/spec/serializers/merge_request_widget_entity_spec.rb432ee/spec/replicators/geo/package_file_replicator_spec.rb433ee/spec/elastic/migrate/20210429154500_migrate_merge_requests_to_separate_index_spec.rb434ee/spec/services/groups/sync_service_spec.rb435ee/spec/workers/geo/repository_shard_sync_worker_spec.rb436ee/spec/helpers/trial_status_widget_helper_spec.rb437ee/spec/services/approval_rules/update_service_spec.rb438ee/spec/models/geo/job_artifact_registry_spec.rb439ee/spec/lib/ee/gitlab/usage_data_non_sql_metrics_spec.rb440ee/spec/lib/gitlab/geo_spec.rb441ee/spec/models/board_spec.rb442ee/spec/lib/gitlab/expiring_subscription_message_spec.rb443ee/spec/finders/geo/job_artifact_registry_finder_spec.rb444ee/spec/models/approval_merge_request_rule_spec.rb445ee/spec/lib/ee/gitlab/import_export/group/tree_restorer_spec.rb446ee/spec/workers/geo/repository_verification/primary/shard_worker_spec.rb447ee/spec/models/ee/personal_access_token_spec.rb448ee/spec/models/dast/profile_schedule_spec.rb449ee/spec/services/ci/minutes/batch_reset_service_spec.rb450ee/spec/lib/ee/gitlab/import_export/group/legacy_tree_saver_spec.rb451ee/spec/services/analytics/cycle_analytics/stages/update_service_spec.rb452ee/spec/services/requirements_management/import_csv_service_spec.rb453ee/spec/lib/ee/gitlab/repository_size_checker_spec.rb454ee/spec/services/geo/repository_destroy_service_spec.rb455ee/spec/services/projects/destroy_service_spec.rb456ee/spec/workers/elastic_namespace_indexer_worker_spec.rb457ee/spec/services/protected_environments/create_service_spec.rb458ee/spec/models/integrations/github/status_message_spec.rb459ee/spec/services/ci/retry_build_service_spec.rb460ee/spec/services/incident_management/escalation_policies/update_service_spec.rb461ee/spec/replicators/geo/group_wiki_repository_replicator_spec.rb462ee/spec/services/ee/boards/lists/max_limits_spec.rb463ee/spec/graphql/mutations/incident_management/escalation_policy/update_spec.rb464ee/spec/graphql/mutations/issues/update_spec.rb465ee/spec/services/epics/reopen_service_spec.rb466ee/spec/lib/gitlab/vulnerabilities/standard_vulnerability_spec.rb467ee/spec/lib/sidebars/groups/menus/analytics_menu_spec.rb468ee/spec/services/geo/job_artifact_deleted_event_store_spec.rb469ee/spec/services/epic_issues/update_service_spec.rb470ee/spec/models/software_license_policy_spec.rb471ee/spec/models/concerns/ee/mentionable_spec.rb472ee/spec/services/boards/epic_lists/list_service_spec.rb473ee/spec/models/security/scan_spec.rb474ee/spec/graphql/mutations/issues/set_epic_spec.rb475ee/spec/graphql/ee/mutations/boards/lists/create_spec.rb476ee/spec/serializers/ee/environment_serializer_spec.rb477ee/spec/services/ee/boards/issues/create_service_spec.rb478ee/spec/services/security/security_orchestration_policies/policy_configuration_validation_service_spec.rb479ee/spec/services/geo/node_update_service_spec.rb480ee/spec/lib/gitlab/code_owners/groups_loader_spec.rb481ee/spec/graphql/mutations/dast/profiles/delete_spec.rb482ee/spec/lib/gitlab/geo/oauth/logout_token_spec.rb483ee/spec/services/ee/system_notes/issuables_service_spec.rb484ee/spec/lib/ee/gitlab/scim/params_parser_spec.rb485ee/spec/graphql/resolvers/iterations/cadences_resolver_spec.rb486ee/spec/lib/ee/gitlab/middleware/read_only_spec.rb487ee/spec/models/analytics/devops_adoption/snapshot_spec.rb488ee/spec/services/incident_management/oncall_shifts/read_service_spec.rb489ee/spec/workers/elastic_namespace_rollout_worker_spec.rb490ee/spec/services/issues/build_service_spec.rb491ee/spec/views/clusters/clusters/show.html.haml_spec.rb492ee/spec/models/approval_wrapped_any_approver_rule_spec.rb493ee/spec/workers/elastic_remove_expired_namespace_subscriptions_from_index_cron_worker_spec.rb494ee/spec/lib/gitlab/analytics/cycle_analytics/stage_events/issue_label_removed_spec.rb495ee/spec/models/concerns/ee/project_security_scanners_information_spec.rb496ee/spec/services/security/security_orchestration_policies/project_create_service_spec.rb497ee/spec/helpers/ee/subscribable_banner_helper_spec.rb498ee/spec/models/dast/site_profiles_build_spec.rb499ee/spec/lib/gitlab/spdx/catalogue_spec.rb500ee/spec/services/ci/create_pipeline_service/runnable_builds_spec.rb501ee/spec/views/layouts/header/_current_user_dropdown.html.haml_spec.rb502ee/spec/models/elastic/index_setting_spec.rb503ee/spec/services/projects/update_service_spec.rb504ee/spec/graphql/mutations/incident_management/escalation_policy/create_spec.rb505ee/spec/services/ci_cd/github_integration_setup_service_spec.rb506ee/spec/tasks/gitlab/license_rake_spec.rb507ee/spec/services/compliance_management/frameworks/destroy_service_spec.rb508ee/spec/services/protected_environments/destroy_service_spec.rb509ee/spec/services/epics/descendant_count_service_spec.rb510ee/spec/services/app_sec/dast/profiles/build_config_service_spec.rb511ee/spec/services/ci/process_build_service_spec.rb512ee/spec/models/concerns/health_status_spec.rb513ee/spec/graphql/types/scan_type_spec.rb514ee/spec/helpers/ee/graph_helper_spec.rb515ee/spec/views/groups/settings/_remove.html.haml_spec.rbKnapsack report generator started!516Run options: exclude {:quarantine=>true, :geo=>true, :level=>"migration"}517==> /builds/gitlab-org/gitlab/tmp/tests/gitlab-test_bare set up in 0.060551188 seconds...518Test environment set up in 0.67920505 seconds519Search::SnippetService520 behaves like EE search service shared examples521 #use_elasticsearch?522 delegates to Gitlab::CurrentSettings.search_using_elasticsearch?523 when requesting basic_search524 returns false525 #execute526 returns an Elastic result object when elasticsearch is enabled527 returns an ordinary result object when elasticsearch is disabled528 advanced syntax queries for all scopes529 with query "display bug" and scope snippet_titles530 allows advanced query531 with query bug -display and scope snippet_titles532 allows advanced query533 with query bug display | sound and scope snippet_titles534 allows advanced query535 with query bug | (display +sound) and scope snippet_titles536 allows advanced query537 with query bug find_by_* and scope snippet_titles538 allows advanced query539 with query argument \-last and scope snippet_titles540 allows advanced query541 #execute542 visibility543 project snippet544 snippet_level: :public, project_level: :public, feature_access_level: :enabled, membership: :admin, admin_mode: true, expected_count: 1545 respects visibility546 snippet_level: :public, project_level: :public, feature_access_level: :enabled, membership: :admin, admin_mode: false, expected_count: 1547 respects visibility (PENDING: https://gitlab.com/gitlab-org/gitlab/issues/32645)548 snippet_level: :public, project_level: :public, feature_access_level: :enabled, membership: :reporter, admin_mode: nil, expected_count: 1549 respects visibility550 snippet_level: :public, project_level: :public, feature_access_level: :enabled, membership: :guest, admin_mode: nil, expected_count: 1551 respects visibility552 snippet_level: :public, project_level: :public, feature_access_level: :enabled, membership: :non_member, admin_mode: nil, expected_count: 1553 respects visibility (PENDING: https://gitlab.com/gitlab-org/gitlab/issues/32645)554 snippet_level: :public, project_level: :public, feature_access_level: :enabled, membership: :anonymous, admin_mode: nil, expected_count: 1555 respects visibility556 snippet_level: :public, project_level: :public, feature_access_level: :private, membership: :admin, admin_mode: true, expected_count: 1557 respects visibility558 snippet_level: :public, project_level: :public, feature_access_level: :private, membership: :admin, admin_mode: false, expected_count: 0559 respects visibility560 snippet_level: :public, project_level: :public, feature_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 1561 respects visibility562 snippet_level: :public, project_level: :public, feature_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 1563 respects visibility564 snippet_level: :public, project_level: :public, feature_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 0565 respects visibility566 snippet_level: :public, project_level: :public, feature_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 0567 respects visibility568 snippet_level: :public, project_level: :public, feature_access_level: :disabled, membership: :admin, admin_mode: true, expected_count: 1569 respects visibility570 snippet_level: :public, project_level: :public, feature_access_level: :disabled, membership: :admin, admin_mode: false, expected_count: 0571 respects visibility572 snippet_level: :public, project_level: :public, feature_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 0573 respects visibility574 snippet_level: :public, project_level: :public, feature_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 0575 respects visibility576 snippet_level: :public, project_level: :public, feature_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 0577 respects visibility578 snippet_level: :public, project_level: :public, feature_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 0579 respects visibility580 snippet_level: :public, project_level: :internal, feature_access_level: :enabled, membership: :admin, admin_mode: true, expected_count: 1581 respects visibility582 snippet_level: :public, project_level: :internal, feature_access_level: :enabled, membership: :admin, admin_mode: false, expected_count: 1583 respects visibility (PENDING: https://gitlab.com/gitlab-org/gitlab/issues/32645)584 snippet_level: :public, project_level: :internal, feature_access_level: :enabled, membership: :reporter, admin_mode: nil, expected_count: 1585 respects visibility586 snippet_level: :public, project_level: :internal, feature_access_level: :enabled, membership: :guest, admin_mode: nil, expected_count: 1587 respects visibility588 snippet_level: :public, project_level: :internal, feature_access_level: :enabled, membership: :non_member, admin_mode: nil, expected_count: 1589 respects visibility (PENDING: https://gitlab.com/gitlab-org/gitlab/issues/32645)590 snippet_level: :public, project_level: :internal, feature_access_level: :enabled, membership: :anonymous, admin_mode: nil, expected_count: 0591 respects visibility592 snippet_level: :public, project_level: :internal, feature_access_level: :private, membership: :admin, admin_mode: true, expected_count: 1593 respects visibility594 snippet_level: :public, project_level: :internal, feature_access_level: :private, membership: :admin, admin_mode: false, expected_count: 0595 respects visibility596 snippet_level: :public, project_level: :internal, feature_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 1597 respects visibility598 snippet_level: :public, project_level: :internal, feature_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 1599 respects visibility600 snippet_level: :public, project_level: :internal, feature_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 0601 respects visibility602 snippet_level: :public, project_level: :internal, feature_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 0603 respects visibility604 snippet_level: :public, project_level: :internal, feature_access_level: :disabled, membership: :admin, admin_mode: true, expected_count: 1605 respects visibility606 snippet_level: :public, project_level: :internal, feature_access_level: :disabled, membership: :admin, admin_mode: false, expected_count: 0607 respects visibility608 snippet_level: :public, project_level: :internal, feature_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 0609 respects visibility610 snippet_level: :public, project_level: :internal, feature_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 0611 respects visibility612 snippet_level: :public, project_level: :internal, feature_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 0613 respects visibility614 snippet_level: :public, project_level: :internal, feature_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 0615 respects visibility616 snippet_level: :public, project_level: :private, feature_access_level: :private, membership: :admin, admin_mode: true, expected_count: 1617 respects visibility618 snippet_level: :public, project_level: :private, feature_access_level: :private, membership: :admin, admin_mode: false, expected_count: 0619 respects visibility620 snippet_level: :public, project_level: :private, feature_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 1621 respects visibility622 snippet_level: :public, project_level: :private, feature_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 1623 respects visibility624 snippet_level: :public, project_level: :private, feature_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 0625 respects visibility626 snippet_level: :public, project_level: :private, feature_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 0627 respects visibility628 snippet_level: :public, project_level: :private, feature_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 0629 respects visibility630 snippet_level: :public, project_level: :private, feature_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 0631 respects visibility632 snippet_level: :public, project_level: :private, feature_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 0633 respects visibility634 snippet_level: :public, project_level: :private, feature_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 0635 respects visibility636 snippet_level: :internal, project_level: :public, feature_access_level: :enabled, membership: :admin, admin_mode: true, expected_count: 1637 respects visibility638 snippet_level: :internal, project_level: :public, feature_access_level: :enabled, membership: :admin, admin_mode: false, expected_count: 1639 respects visibility (PENDING: https://gitlab.com/gitlab-org/gitlab/issues/32645)640 snippet_level: :internal, project_level: :public, feature_access_level: :enabled, membership: :reporter, admin_mode: nil, expected_count: 1641 respects visibility642 snippet_level: :internal, project_level: :public, feature_access_level: :enabled, membership: :guest, admin_mode: nil, expected_count: 1643 respects visibility644 snippet_level: :internal, project_level: :public, feature_access_level: :enabled, membership: :non_member, admin_mode: nil, expected_count: 1645 respects visibility (PENDING: https://gitlab.com/gitlab-org/gitlab/issues/32645)646 snippet_level: :internal, project_level: :public, feature_access_level: :enabled, membership: :anonymous, admin_mode: nil, expected_count: 0647 respects visibility648 snippet_level: :internal, project_level: :public, feature_access_level: :private, membership: :admin, admin_mode: true, expected_count: 1649 respects visibility650 snippet_level: :internal, project_level: :public, feature_access_level: :private, membership: :admin, admin_mode: false, expected_count: 0651 respects visibility652 snippet_level: :internal, project_level: :public, feature_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 1653 respects visibility654 snippet_level: :internal, project_level: :public, feature_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 1655 respects visibility656 snippet_level: :internal, project_level: :public, feature_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 0657 respects visibility658 snippet_level: :internal, project_level: :public, feature_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 0659 respects visibility660 snippet_level: :internal, project_level: :public, feature_access_level: :disabled, membership: :admin, admin_mode: true, expected_count: 1661 respects visibility662 snippet_level: :internal, project_level: :public, feature_access_level: :disabled, membership: :admin, admin_mode: false, expected_count: 0663 respects visibility664 snippet_level: :internal, project_level: :public, feature_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 0665 respects visibility666 snippet_level: :internal, project_level: :public, feature_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 0667 respects visibility668 snippet_level: :internal, project_level: :public, feature_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 0669 respects visibility670 snippet_level: :internal, project_level: :public, feature_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 0671 respects visibility672 snippet_level: :internal, project_level: :internal, feature_access_level: :enabled, membership: :admin, admin_mode: true, expected_count: 1673 respects visibility674 snippet_level: :internal, project_level: :internal, feature_access_level: :enabled, membership: :admin, admin_mode: false, expected_count: 1675 respects visibility (PENDING: https://gitlab.com/gitlab-org/gitlab/issues/32645)676 snippet_level: :internal, project_level: :internal, feature_access_level: :enabled, membership: :reporter, admin_mode: nil, expected_count: 1677 respects visibility678 snippet_level: :internal, project_level: :internal, feature_access_level: :enabled, membership: :guest, admin_mode: nil, expected_count: 1679 respects visibility680 snippet_level: :internal, project_level: :internal, feature_access_level: :enabled, membership: :non_member, admin_mode: nil, expected_count: 1681 respects visibility (PENDING: https://gitlab.com/gitlab-org/gitlab/issues/32645)682 snippet_level: :internal, project_level: :internal, feature_access_level: :enabled, membership: :anonymous, admin_mode: nil, expected_count: 0683 respects visibility684 snippet_level: :internal, project_level: :internal, feature_access_level: :private, membership: :admin, admin_mode: true, expected_count: 1685 respects visibility686 snippet_level: :internal, project_level: :internal, feature_access_level: :private, membership: :admin, admin_mode: false, expected_count: 0687 respects visibility688 snippet_level: :internal, project_level: :internal, feature_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 1689 respects visibility690 snippet_level: :internal, project_level: :internal, feature_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 1691 respects visibility692 snippet_level: :internal, project_level: :internal, feature_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 0693 respects visibility694 snippet_level: :internal, project_level: :internal, feature_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 0695 respects visibility696 snippet_level: :internal, project_level: :internal, feature_access_level: :disabled, membership: :admin, admin_mode: true, expected_count: 1697 respects visibility698 snippet_level: :internal, project_level: :internal, feature_access_level: :disabled, membership: :admin, admin_mode: false, expected_count: 0699 respects visibility700 snippet_level: :internal, project_level: :internal, feature_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 0701 respects visibility702 snippet_level: :internal, project_level: :internal, feature_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 0703 respects visibility704 snippet_level: :internal, project_level: :internal, feature_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 0705 respects visibility706 snippet_level: :internal, project_level: :internal, feature_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 0707 respects visibility708 snippet_level: :internal, project_level: :private, feature_access_level: :private, membership: :admin, admin_mode: true, expected_count: 1709 respects visibility710 snippet_level: :internal, project_level: :private, feature_access_level: :private, membership: :admin, admin_mode: false, expected_count: 0711 respects visibility712 snippet_level: :internal, project_level: :private, feature_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 1713 respects visibility714 snippet_level: :internal, project_level: :private, feature_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 1715 respects visibility716 snippet_level: :internal, project_level: :private, feature_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 0717 respects visibility718 snippet_level: :internal, project_level: :private, feature_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 0719 respects visibility720 snippet_level: :internal, project_level: :private, feature_access_level: :disabled, membership: :admin, admin_mode: true, expected_count: 1721 respects visibility722 snippet_level: :internal, project_level: :private, feature_access_level: :disabled, membership: :admin, admin_mode: false, expected_count: 0723 respects visibility724 snippet_level: :internal, project_level: :private, feature_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 0725 respects visibility726 snippet_level: :internal, project_level: :private, feature_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 0727 respects visibility728 snippet_level: :internal, project_level: :private, feature_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 0729 respects visibility730 snippet_level: :internal, project_level: :private, feature_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 0731 respects visibility732 snippet_level: :private, project_level: :public, feature_access_level: :enabled, membership: :admin, admin_mode: true, expected_count: 1733 respects visibility734 snippet_level: :private, project_level: :public, feature_access_level: :enabled, membership: :admin, admin_mode: false, expected_count: 0735 respects visibility736 snippet_level: :private, project_level: :public, feature_access_level: :enabled, membership: :reporter, admin_mode: nil, expected_count: 1737 respects visibility738 snippet_level: :private, project_level: :public, feature_access_level: :enabled, membership: :guest, admin_mode: nil, expected_count: 1739 respects visibility740 snippet_level: :private, project_level: :public, feature_access_level: :enabled, membership: :non_member, admin_mode: nil, expected_count: 0741 respects visibility742 snippet_level: :private, project_level: :public, feature_access_level: :enabled, membership: :anonymous, admin_mode: nil, expected_count: 0743 respects visibility744 snippet_level: :private, project_level: :public, feature_access_level: :private, membership: :admin, admin_mode: true, expected_count: 1745 respects visibility746 snippet_level: :private, project_level: :public, feature_access_level: :private, membership: :admin, admin_mode: false, expected_count: 0747 respects visibility748 snippet_level: :private, project_level: :public, feature_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 1749 respects visibility750 snippet_level: :private, project_level: :public, feature_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 1751 respects visibility752 snippet_level: :private, project_level: :public, feature_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 0753 respects visibility754 snippet_level: :private, project_level: :public, feature_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 0755 respects visibility756 snippet_level: :private, project_level: :public, feature_access_level: :disabled, membership: :admin, admin_mode: true, expected_count: 1757 respects visibility758 snippet_level: :private, project_level: :public, feature_access_level: :disabled, membership: :admin, admin_mode: false, expected_count: 0759 respects visibility760 snippet_level: :private, project_level: :public, feature_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 0761 respects visibility762 snippet_level: :private, project_level: :public, feature_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 0763 respects visibility764 snippet_level: :private, project_level: :public, feature_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 0765 respects visibility766 snippet_level: :private, project_level: :public, feature_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 0767 respects visibility768 snippet_level: :private, project_level: :internal, feature_access_level: :enabled, membership: :admin, admin_mode: true, expected_count: 1769 respects visibility770 snippet_level: :private, project_level: :internal, feature_access_level: :enabled, membership: :admin, admin_mode: false, expected_count: 0771 respects visibility772 snippet_level: :private, project_level: :internal, feature_access_level: :enabled, membership: :reporter, admin_mode: nil, expected_count: 1773 respects visibility774 snippet_level: :private, project_level: :internal, feature_access_level: :enabled, membership: :guest, admin_mode: nil, expected_count: 1775 respects visibility776 snippet_level: :private, project_level: :internal, feature_access_level: :enabled, membership: :non_member, admin_mode: nil, expected_count: 0777 respects visibility778 snippet_level: :private, project_level: :internal, feature_access_level: :enabled, membership: :anonymous, admin_mode: nil, expected_count: 0779 respects visibility780 snippet_level: :private, project_level: :internal, feature_access_level: :private, membership: :admin, admin_mode: true, expected_count: 1781 respects visibility782 snippet_level: :private, project_level: :internal, feature_access_level: :private, membership: :admin, admin_mode: false, expected_count: 0783 respects visibility784 snippet_level: :private, project_level: :internal, feature_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 1785 respects visibility786 snippet_level: :private, project_level: :internal, feature_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 1787 respects visibility788 snippet_level: :private, project_level: :internal, feature_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 0789 respects visibility790 snippet_level: :private, project_level: :internal, feature_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 0791 respects visibility792 snippet_level: :private, project_level: :internal, feature_access_level: :disabled, membership: :admin, admin_mode: true, expected_count: 1793 respects visibility794 snippet_level: :private, project_level: :internal, feature_access_level: :disabled, membership: :admin, admin_mode: false, expected_count: 0795 respects visibility796 snippet_level: :private, project_level: :internal, feature_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 0797 respects visibility798 snippet_level: :private, project_level: :internal, feature_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 0799 respects visibility800 snippet_level: :private, project_level: :internal, feature_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 0801 respects visibility802 snippet_level: :private, project_level: :internal, feature_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 0803 respects visibility804 snippet_level: :private, project_level: :private, feature_access_level: :private, membership: :admin, admin_mode: true, expected_count: 1805 respects visibility806 snippet_level: :private, project_level: :private, feature_access_level: :private, membership: :admin, admin_mode: false, expected_count: 0807 respects visibility808 snippet_level: :private, project_level: :private, feature_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 1809 respects visibility810 snippet_level: :private, project_level: :private, feature_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 1811 respects visibility812 snippet_level: :private, project_level: :private, feature_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 0813 respects visibility814 snippet_level: :private, project_level: :private, feature_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 0815 respects visibility816 snippet_level: :private, project_level: :private, feature_access_level: :disabled, membership: :admin, admin_mode: true, expected_count: 1817 respects visibility818 snippet_level: :private, project_level: :private, feature_access_level: :disabled, membership: :admin, admin_mode: false, expected_count: 0819 respects visibility820 snippet_level: :private, project_level: :private, feature_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 0821 respects visibility822 snippet_level: :private, project_level: :private, feature_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 0823 respects visibility824 snippet_level: :private, project_level: :private, feature_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 0825 respects visibility826 snippet_level: :private, project_level: :private, feature_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 0827 respects visibility828 personal snippet829 snippet_level: :public, membership: :admin, admin_mode: true, expected_count: 1830 respects visibility831 snippet_level: :public, membership: :admin, admin_mode: false, expected_count: 1832 respects visibility833 snippet_level: :public, membership: :author, admin_mode: nil, expected_count: 1834 respects visibility835 snippet_level: :public, membership: :non_member, admin_mode: nil, expected_count: 1836 respects visibility837 snippet_level: :public, membership: :anonymous, admin_mode: nil, expected_count: 1838 respects visibility839 snippet_level: :internal, membership: :admin, admin_mode: true, expected_count: 1840 respects visibility841 snippet_level: :internal, membership: :admin, admin_mode: false, expected_count: 1842 respects visibility843 snippet_level: :internal, membership: :author, admin_mode: nil, expected_count: 1844 respects visibility845 snippet_level: :internal, membership: :non_member, admin_mode: nil, expected_count: 1846 respects visibility847 snippet_level: :internal, membership: :anonymous, admin_mode: nil, expected_count: 0848 respects visibility849 snippet_level: :private, membership: :admin, admin_mode: true, expected_count: 1850 respects visibility851 snippet_level: :private, membership: :admin, admin_mode: false, expected_count: 0852 respects visibility853 snippet_level: :private, membership: :author, admin_mode: nil, expected_count: 1854 respects visibility855 snippet_level: :private, membership: :non_member, admin_mode: nil, expected_count: 0856 respects visibility857 snippet_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 0858 respects visibility859Boards::EpicBoardPosition860 associations861 is expected to belong to epic required: true862 is expected to belong to epic_board required: true inverse_of => epic_board_positions863 validations864 is expected to be valid865 is valid with nil relative position866 disallows a record with same epic and board867 scopes868 .order_relative_position869 returns epic_board_positions in order870 .last_for_board_id871 returns highest not null position872 relative positioning873 behaves like a class that supports relative positioning874 #scoped_items875 includes all items with the same scope876 #relative_siblings877 includes all items with the same scope, except self878 .move_nulls_to_end879 moves items with null relative_position to the end880 preserves relative position881 moves the item near the start position when there are no existing positions882 does not perform any moves if all items have their relative_position set883 manages to move nulls to the end even if there is a sequence at the end884 manages to move nulls to the end even if there is not enough space885 manages to move nulls to the end, stacking if we cannot create enough space886 manages to move nulls found in the relative scope887 can move many nulls888 does not have an N+1 issue889 .move_nulls_to_start890 moves items with null relative_position to the start891 moves the item near the start position when there are no existing positions892 preserves relative position893 does not perform any moves if all items have their relative_position set894 manages to move nulls to the start even if there is not enough space895 manages to move nulls to the end, stacking if we cannot create enough space896 #move_before897 moves item before898 can move the item before an item at the start899 can move the item before an item at MIN_POSITION900 can move the item before an item bunched up at MIN_POSITION901 when there is no space902 moves items correctly903 leap-frogging to the left904 can leap-frog STEPS times before needing to rebalance905 there is no space to the left after moving STEPS times906 rebalances to the right907 #move_after908 moves item after909 can move the item after an item bunched up at MAX_POSITION910 when there is no space911 can move the item after an item at MAX_POSITION912 moves items correctly913 leap-frogging914 rebalances after STEPS jumps915 #move_to_start916 places items at most IDEAL_DISTANCE from the start when the range is open917 moves item to the end918 positions the item at MIN_POSITION when there is only one space left919 rebalances when there is already an item at the MIN_POSITION920 deals with a run of elements at the start921 #move_to_end922 places items at most IDEAL_DISTANCE from the start when the range is open923 moves item to the end924 positions the item at MAX_POSITION when there is only one space left925 rebalances when there is already an item at the MAX_POSITION926 deals with a run of elements at the end927 #move_between928 positions item between two other929 positions item between on top930 positions item between to end931 positions items even when after and before positions are the same932 positions item in the middle of other two if distance is big enough933 positions item closer to the middle if we are at the very top934 positions item closer to the middle if we are at the very bottom935 positions item in the middle of other two936 positions item right if we pass non-sequential parameters937 avoids N+1 queries when rebalancing other items938 the two items are next to each other939 behaves like moves item between940 moves the middle item to between left and right941 there is no space942 behaves like moves item between943 moves the middle item to between left and right944 there is a bunch of items945 handles bunches correctly946 behaves like moves item between947 moves the middle item to between left and right948Elastic::ProcessBookkeepingService949 .shard_number950 returns correct shard number951 .track952 enqueues a record953 enqueues a set of unique records954 orders items based on when they were added and moves them to the back of the queue if they were added again955 enqueues 10 identical records as 1 entry956 deduplicates across multiple inserts957 .queue_size958 reports the queue size959 .queued_items960 reports queued items961 .clear_tracking!962 removes all entries from the queue963 .maintain_indexed_associations964 calls track! for each associated object965 correctly scopes associated note objects to not include system notes966 #execute967 submits a batch of documents968 returns the number of documents processed969 returns 0 without writing to the index when there are no documents970 retries failed documents971 discards malformed documents972 fails, preserving documents, when processing fails with an exception973 limit is less than refs count974 processes only up to limit975 N+1 queries976 does not have N+1 queries for projects977 does not have N+1 queries for notes978 does not have N+1 queries for issues979 does not have N+1 queries for merge_requests980MergeTrain981 is expected to belong to merge_request required:982 is expected to belong to user required:983 is expected to belong to pipeline required:984 .active985 returns only active merge trains986 .complete987 returns only merged merge trains988 .for_target989 when target merge train 1's project990 returns merge train 1 only991 when target merge train 2's project992 returns merge train 2 only993 .by_id994 returns merge trains by id ASC995 .all_active_mrs_in_train996 returns the merge request997 when the other merge request is on the merge train998 returns the merge requests999 when the merge request has already been merged1000 is expected to be empty1001 when the merge request is not on merge train1002 returns empty array1003 .first_car1004 returns the merge request1005 when the other merge request is on the merge train1006 returns the merge request1007 when the merge request has already been merged1008 is expected to be nil1009 when the merge request is not on merge train1010 returns empty array1011 .first_cars_in_trains1012 returns only first merge requests per merge train1013 when first_on_master has already been merged1014 returns second on master as active MR1015 .sha_exists_in_history?1016 when there is a merge request on train1017 when the merge request has already been merging1018 is expected to eq true1019 when the merge request has already been merged1020 is expected to eq true1021 when there is another merge request on train and it has been merged1022 is expected to eq true1023 when limit is 11024 is expected to eq false1025 when the merge request has not been merged yet1026 is expected to eq false1027 when there are no merge requests on train1028 is expected to eq false1029 .total_count_in_train1030 returns the merge request1031 when the other merge request is on the merge train1032 returns the merge request1033 when the merge request has already been merged1034 returns zero1035 when the merge request is not on merge train1036 returns empty array1037 #all_next1038 returns nil1039 when the other merge request is on the merge train1040 returns the next merge requests1041 #all_prev1042 when the merge request is at first on the train1043 returns nil1044 when the merge request is at last on the train1045 returns the previous merge requests1046 when the previous merge request has already been merged1047 returns empty array1048 #next1049 when the merge request is at last on the train1050 returns nil1051 when the other merge request is on the merge train1052 returns the next merge request1053 #prev1054 when the merge request is at first on the train1055 returns nil1056 when the merge request is at last on the train1057 returns the next merge request1058 #previous_ref1059 when merge request is first on train1060 returns the target branch1061 when merge request is not first on train1062 returns the ref of the previous merge request1063 #requires_new_pipeline?1064 when merge train has a pipeline associated1065 is expected to be falsey1066 when merge train is stale1067 is expected to be truthy1068 when merge train does not have a pipeline1069 is expected to be truthy1070 #pipeline_not_succeeded?1071 when merge train does not have a pipeline1072 is expected to be falsey1073 when merge train has a pipeline1074 when pipeline failed1075 is expected to be truthy1076 when pipeline succeeded1077 is expected to be falsey1078 when pipeline is running1079 is expected to be falsey1080 #cancel_pipeline!1081 cancels the existing pipeline1082 #mergeable?1083 when merge train has successful pipeline1084 when merge request is first on train1085 is expected to be truthy1086 when the other merge request is on the merge train1087 is expected to be falsy1088 when merge train has non successful pipeline1089 when merge request is first on train1090 is expected to be falsey1091 #index1092 is expected to eq 01093 when the merge train is at the second queue1094 is expected to eq 11095 status transition1096 when status is idle1097 and transits to fresh1098 refreshes the state and set a pipeline1099 and transits to merged1100 does not allow the transition1101 and transits to stale1102 does not allow the transition1103 when status is fresh1104 and transits to merged1105 does not allow the transition1106 and transits to stale1107 refreshes asynchronously1108 when status is merging1109 and transits to merged1110 persists duration and merged_at1111 cleans up train ref1112 when status is merged1113 and transits to merged1114 does not allow the transition1115 #destroy1116 when merge train has a pipeline1117 cancels the jobs in the pipeline1118 #cleanup_ref1119 executes cleanup_refs for merge request1120 #active?1121 when status is idle1122 is expected to eq true1123 when status is merged1124 is expected to eq false1125Notes::QuickActionsService1126 /epic1127 when epics are not enabled1128 does not assign the epic1129 when epics are enabled1130 on an issue1131 assigns the issue to the epic1132 leaves the note empty1133 creates a system note1134 on an incident1135 leaves the note empty1136 does not assigns the issue to the epic1137 on a merge request1138 leaves the note empty1139 /remove_epic1140 when epics are not enabled1141 does not remove the epic1142 when epics are enabled1143 on an issue1144 removes the epic1145 leaves the note empty1146 creates a system note1147 on an incident1148 leaves the note empty1149 on a test case1150 leaves the note empty1151 on a merge request1152 leaves the note empty1153 Epics1154 /close1155 when epics are not enabled1156 does not close the epic1157 when epics are enabled1158 closes the epic1159 leaves the note empty1160 /reopen1161 when epics are not enabled1162 does not reopen the epic1163 when epics are enabled1164 reopens the epic1165 leaves the note empty1166 /label1167 when epics are not enabled1168 does not add a label to the epic1169 when epics are enabled1170 adds a group label to the epic1171 leaves the note empty1172 /unlabel1173 when epics are not enabled1174 does not remove any label1175 when epics are enabled1176 removes a requested label from the epic1177 leaves the note empty1178 /assign_reviewer1179 with a merge request1180 behaves like assigns one or more reviewers to the merge request1181 adds multiple reviewers from the list1182 behaves like assigns one or more reviewers to the merge request1183 adds multiple reviewers from the list1184 /assign1185 Issue assignees1186 adds multiple assignees from the list1187 behaves like assigning an already assigned user1188 adds multiple assignees from the list1189 behaves like assigning an already assigned user1190 adds multiple assignees from the list1191 MergeRequest1192 behaves like assigning an already assigned user1193 adds multiple assignees from the list1194 behaves like assigning an already assigned user1195 adds multiple assignees from the list1196 /unassign1197 Issue assignees1198 behaves like unassigning a not assigned user1199 adds multiple assignees from the list1200 behaves like unassigning a not assigned user1201 adds multiple assignees from the list1202 MergeRequest1203 behaves like unassigning a not assigned user1204 adds multiple assignees from the list1205 behaves like unassigning a not assigned user1206 adds multiple assignees from the list1207 /unassign_reviewer1208 with a merge request1209 behaves like unassigning one or more reviewers1210 removes multiple reviewers from the list1211 behaves like unassigning one or more reviewers1212 removes multiple reviewers from the list1213 /promote1214 when epics are enabled1215 when a user does not have permissions to promote an issue1216 does not promote an issue to an epic1217 when a user has permissions to promote an issue1218 promotes an issue to an epic1219 with a double promote1220 only creates one epic1221 when issue was already promoted1222 does not promote issue1223 when an issue belongs to a project without group1224 does not promote an issue to an epic1225 on an incident1226 does not promote to an epic1227 when epics are disabled1228 does not promote an issue to an epic1229 with issue types1230 when issue does not support quick actions1231 for requirement1232 behaves like note on issue type that does not support time tracking1233 /spend1234 does not change time spent1235 /estimate1236 does not execute time estimate1237 for test case1238 behaves like note on issue type that does not support time tracking1239 /spend1240 does not change time spent1241 /estimate1242 does not execute time estimate1243CI YML Templates1244 that support autodevops1245 template_name: "5-Minute-Production-App.gitlab-ci.yml"1246 are valid with default stages1247 require default stages to be included1248 template_name: "Android.gitlab-ci.yml"1249 are valid with default stages1250 require default stages to be included1251 template_name: "Android-Fastlane.gitlab-ci.yml"1252 are valid with default stages1253 require default stages to be included1254 template_name: "Auto-DevOps.gitlab-ci.yml"1255 are valid with default stages1256 require default stages to be included1257 template_name: "Bash.gitlab-ci.yml"1258 are valid with default stages1259 require default stages to be included1260 template_name: "C++.gitlab-ci.yml"1261 are valid with default stages1262 require default stages to be included1263 template_name: "Chef.gitlab-ci.yml"1264 are valid with default stages1265 require default stages to be included1266 template_name: "Clojure.gitlab-ci.yml"1267 are valid with default stages1268 require default stages to be included1269 template_name: "Code-Quality.gitlab-ci.yml"1270 are valid with default stages1271 require default stages to be included1272 template_name: "Composer.gitlab-ci.yml"1273 are valid with default stages1274 require default stages to be included1275 template_name: "Crystal.gitlab-ci.yml"1276 are valid with default stages1277 require default stages to be included1278 template_name: "Dart.gitlab-ci.yml"1279 are valid with default stages1280 require default stages to be included1281 template_name: "Deploy-ECS.gitlab-ci.yml"1282 are valid with default stages1283 require default stages to be included1284 template_name: "Django.gitlab-ci.yml"1285 are valid with default stages1286 require default stages to be included1287 template_name: "Docker.gitlab-ci.yml"1288 are valid with default stages1289 require default stages to be included1290 template_name: "Elixir.gitlab-ci.yml"1291 are valid with default stages1292 require default stages to be included1293 template_name: "Flutter.gitlab-ci.yml"1294 are valid with default stages1295 require default stages to be included1296 template_name: "Getting-Started.gitlab-ci.yml"1297 are valid with default stages1298 require default stages to be included1299 template_name: "Go.gitlab-ci.yml"1300 are valid with default stages1301 require default stages to be included1302 template_name: "Gradle.gitlab-ci.yml"1303 are valid with default stages1304 require default stages to be included1305 template_name: "Grails.gitlab-ci.yml"1306 are valid with default stages1307 require default stages to be included1308 template_name: "Indeni.Cloudrail.gitlab-ci.yml"1309 are valid with default stages1310 require default stages to be included1311 template_name: "Julia.gitlab-ci.yml"1312 are valid with default stages1313 require default stages to be included1314 template_name: "LaTeX.gitlab-ci.yml"1315 are valid with default stages1316 require default stages to be included1317 template_name: "Laravel.gitlab-ci.yml"1318 are valid with default stages1319 require default stages to be included1320 template_name: "Managed-Cluster-Applications.gitlab-ci.yml"1321 are valid with default stages1322 require default stages to be included1323 template_name: "Maven.gitlab-ci.yml"1324 are valid with default stages1325 require default stages to be included1326 template_name: "Mono.gitlab-ci.yml"1327 are valid with default stages1328 require default stages to be included1329 template_name: "Nodejs.gitlab-ci.yml"1330 are valid with default stages1331 require default stages to be included1332 template_name: "OpenShift.gitlab-ci.yml"1333 are valid with default stages1334 require default stages to be included1335 template_name: "PHP.gitlab-ci.yml"1336 are valid with default stages1337 require default stages to be included1338 template_name: "Packer.gitlab-ci.yml"1339 are valid with default stages1340 require default stages to be included1341 template_name: "Python.gitlab-ci.yml"1342 are valid with default stages1343 require default stages to be included1344 template_name: "Ruby.gitlab-ci.yml"1345 are valid with default stages1346 require default stages to be included1347 template_name: "Rust.gitlab-ci.yml"1348 are valid with default stages1349 require default stages to be included1350 template_name: "Scala.gitlab-ci.yml"1351 are valid with default stages1352 require default stages to be included1353 template_name: "Serverless.gitlab-ci.yml"1354 are valid with default stages1355 require default stages to be included1356 template_name: "Swift.gitlab-ci.yml"1357 are valid with default stages1358 require default stages to be included1359 template_name: "dotNET.gitlab-ci.yml"1360 are valid with default stages1361 require default stages to be included1362 template_name: "dotNET-Core.gitlab-ci.yml"1363 are valid with default stages1364 require default stages to be included1365 template_name: "iOS-Fastlane.gitlab-ci.yml"1366 are valid with default stages1367 require default stages to be included1368 template_name: "npm.gitlab-ci.yml"1369 are valid with default stages1370 require default stages to be included1371 template_name: "Pages/Brunch.gitlab-ci.yml"1372 are valid with default stages1373 require default stages to be included1374 template_name: "Pages/Doxygen.gitlab-ci.yml"1375 are valid with default stages1376 require default stages to be included1377 template_name: "Pages/Gatsby.gitlab-ci.yml"1378 are valid with default stages1379 require default stages to be included1380 template_name: "Pages/HTML.gitlab-ci.yml"1381 are valid with default stages1382 require default stages to be included1383 template_name: "Pages/Harp.gitlab-ci.yml"1384 are valid with default stages1385 require default stages to be included1386 template_name: "Pages/Hexo.gitlab-ci.yml"1387 are valid with default stages1388 require default stages to be included1389 template_name: "Pages/Hugo.gitlab-ci.yml"1390 are valid with default stages1391 require default stages to be included1392 template_name: "Pages/Hyde.gitlab-ci.yml"1393 are valid with default stages1394 require default stages to be included1395 template_name: "Pages/JBake.gitlab-ci.yml"1396 are valid with default stages1397 require default stages to be included1398 template_name: "Pages/Jekyll.gitlab-ci.yml"1399 are valid with default stages1400 require default stages to be included1401 template_name: "Pages/Jigsaw.gitlab-ci.yml"1402 are valid with default stages1403 require default stages to be included1404 template_name: "Pages/Lektor.gitlab-ci.yml"1405 are valid with default stages1406 require default stages to be included1407 template_name: "Pages/Metalsmith.gitlab-ci.yml"1408 are valid with default stages1409 require default stages to be included1410 template_name: "Pages/Middleman.gitlab-ci.yml"1411 are valid with default stages1412 require default stages to be included1413 template_name: "Pages/Nanoc.gitlab-ci.yml"1414 are valid with default stages1415 require default stages to be included1416 template_name: "Pages/Octopress.gitlab-ci.yml"1417 are valid with default stages1418 require default stages to be included1419 template_name: "Pages/Pelican.gitlab-ci.yml"1420 are valid with default stages1421 require default stages to be included1422 template_name: "Pages/SwaggerUI.gitlab-ci.yml"1423 are valid with default stages1424 require default stages to be included1425 template_name: "Verify/Accessibility.gitlab-ci.yml"1426 are valid with default stages1427 require default stages to be included1428 template_name: "Verify/Browser-Performance.gitlab-ci.yml"1429 are valid with default stages1430 require default stages to be included1431 template_name: "Verify/FailFast.gitlab-ci.yml"1432 are valid with default stages1433 require default stages to be included1434 template_name: "Verify/Load-Performance-Testing.gitlab-ci.yml"1435 are valid with default stages1436 require default stages to be included1437 template_name: "Security/Cluster-Image-Scanning.gitlab-ci.yml"1438 are valid with default stages1439 require default stages to be included1440 template_name: "Security/Container-Scanning.gitlab-ci.yml"1441 are valid with default stages1442 require default stages to be included1443 template_name: "Security/Coverage-Fuzzing.gitlab-ci.yml"1444 are valid with default stages1445 require default stages to be included1446 template_name: "Security/DAST-On-Demand-Scan.gitlab-ci.yml"1447 are valid with default stages1448 require default stages to be included1449 template_name: "Security/DAST-Runner-Validation.gitlab-ci.yml"1450 are valid with default stages1451 require default stages to be included1452 template_name: "Security/Dependency-Scanning.gitlab-ci.yml"1453 are valid with default stages1454 require default stages to be included1455 template_name: "Security/License-Scanning.gitlab-ci.yml"1456 are valid with default stages1457 require default stages to be included1458 template_name: "Security/SAST.gitlab-ci.yml"1459 are valid with default stages1460 require default stages to be included1461 template_name: "Security/Secret-Detection.gitlab-ci.yml"1462 are valid with default stages1463 require default stages to be included1464 template_name: "Security/Secure-Binaries.gitlab-ci.yml"1465 are valid with default stages1466 require default stages to be included1467 that do not support autodevops1468 when DAST API template1469 with default stages1470 is expected not to be valid1471 with defined stages1472 is expected to be valid1473 require default stages to be included1474 when API Fuzzing template1475 with default stages1476 is expected not to be valid1477 with defined stages1478 is expected to be valid1479 require default stages to be included1480Elastic::MigrationRecord1481 #save!1482 creates an index if it is not found1483 sets the started_at1484 does not update started_at on subsequent saves1485 sets completed_at when completed1486 does not set completed_at when not completed1487 #load_from_index1488 does not raise an exeption when connection refused1489 does not raise an exeption when record does not exist1490 #halt!1491 sets state for halted and halted_indexing_unpaused1492 sets state with additional options if passed1493 #started?1494 changes on object save1495 .load_versions1496 loads all records1497 returns empty array if no index present1498 returns empty array when exception is raised1499 #running?1500 started: false, halted: false, completed: false, expected: false1501 returns the expected result1502 started: true, halted: false, completed: false, expected: true1503 returns the expected result1504 started: true, halted: true, completed: false, expected: false1505 returns the expected result1506 started: true, halted: true, completed: true, expected: false1507 returns the expected result1508 started: true, halted: false, completed: true, expected: false1509 returns the expected result1510Analytics::CycleAnalytics::GroupStage1511 uniqueness validation on name1512 is expected to validate that :name is case-sensitively unique within the scope of :group_id and :group_value_stream_id1513 associations1514 is expected to belong to group required:1515 is expected to belong to value_stream required:1516 behaves like value stream analytics stage1517 associations1518 is expected to belong to end_event_label required:1519 is expected to belong to start_event_label required:1520 is expected to belong to stage_event_hash required:1521 validation1522 is valid1523 validates presence of parent1524 validates presence of start_event_identifier1525 validates presence of end_event_identifier1526 is invalid when end_event is not allowed for the given start_event1527 disallows default stage names when creating custom stage1528 is expected not to be valid1529 .by_value_stream1530 finds stages by value stream1531 #subject_class1532 infers the model from the start event1533 #start_event1534 builds start_event object based on start_event_identifier1535 #end_event1536 builds end_event object based on end_event_identifier1537 #matches_with_stage_params?1538 matches with default stage params1539 mismatches when the stage is custom1540 #parent_id1541 delegates to 'parent_name'_id attribute1542 #hash_code1543 does not differ when the same object is built with the same params1544 differs when the stage events are different1545 #event_hash1546 associates the same stage event hash record1547 does not introduce duplicated stage event hash records1548 creates different hash record for different event configurations1549 when the stage event hash changes1550 deletes the old, unused stage event hash record1551 does not delete used stage event hash record1552 when the stage events hash code does not change1553 does not trigger extra query on save1554 when creating label based event1555 when the label id is not passed1556 returns validation error when `start_event_label_id` is missing1557 returns validation error when `end_event_label_id` is missing1558 when group label is defined on the root group1559 succeeds1560 when subgroup is given1561 succeeds1562 when label is defined for a different group1563 returns validation for `start_event_label_id`1564 returns validation for `end_event_label_id`1565 when `ProjectLabel is given1566 raises error when `ProjectLabel` is given for `start_event_label`1567 raises error when `ProjectLabel` is given for `end_event_label`1568 relative positioning1569 behaves like a class that supports relative positioning1570 #scoped_items1571 includes all items with the same scope1572 #relative_siblings1573 includes all items with the same scope, except self1574 .move_nulls_to_end1575 moves items with null relative_position to the end1576 preserves relative position1577 moves the item near the start position when there are no existing positions1578 does not perform any moves if all items have their relative_position set1579 manages to move nulls to the end even if there is a sequence at the end1580 manages to move nulls to the end even if there is not enough space1581 manages to move nulls to the end, stacking if we cannot create enough space1582 manages to move nulls found in the relative scope1583 can move many nulls1584 does not have an N+1 issue1585 .move_nulls_to_start1586 moves items with null relative_position to the start1587 moves the item near the start position when there are no existing positions1588 preserves relative position1589 does not perform any moves if all items have their relative_position set1590 manages to move nulls to the start even if there is not enough space1591 manages to move nulls to the end, stacking if we cannot create enough space1592 #move_before1593 moves item before1594 can move the item before an item at the start1595 can move the item before an item at MIN_POSITION1596 can move the item before an item bunched up at MIN_POSITION1597 when there is no space1598 moves items correctly1599 leap-frogging to the left1600 can leap-frog STEPS times before needing to rebalance1601 there is no space to the left after moving STEPS times1602 rebalances to the right1603 #move_after1604 moves item after1605 can move the item after an item bunched up at MAX_POSITION1606 when there is no space1607 can move the item after an item at MAX_POSITION1608 moves items correctly1609 leap-frogging1610 rebalances after STEPS jumps1611 #move_to_start1612 places items at most IDEAL_DISTANCE from the start when the range is open1613 moves item to the end1614 positions the item at MIN_POSITION when there is only one space left1615 rebalances when there is already an item at the MIN_POSITION1616 deals with a run of elements at the start1617 #move_to_end1618 places items at most IDEAL_DISTANCE from the start when the range is open1619 moves item to the end1620 positions the item at MAX_POSITION when there is only one space left1621 rebalances when there is already an item at the MAX_POSITION1622 deals with a run of elements at the end1623 #move_between1624 positions item between two other1625 positions item between on top1626 positions item between to end1627 positions items even when after and before positions are the same1628 positions item in the middle of other two if distance is big enough1629 positions item closer to the middle if we are at the very top1630 positions item closer to the middle if we are at the very bottom1631 positions item in the middle of other two1632 positions item right if we pass non-sequential parameters1633 avoids N+1 queries when rebalancing other items1634 the two items are next to each other1635 behaves like moves item between1636 moves the middle item to between left and right1637 there is no space1638 behaves like moves item between1639 moves the middle item to between left and right1640 there is a bunch of items1641 handles bunches correctly1642 behaves like moves item between1643 moves the middle item to between left and right1644Elastic::DataMigrationService1645 .migrations1646 all migration names are unique1647 migration_files stubbed1648 creates migration records1649 .migration_has_finished_uncached?1650 returns true if migration has finished1651 .migration_has_finished?1652 calls the uncached method only once1653 .mark_all_as_completed!1654 creates all migration versions1655 drops all cache keys1656 .drop_migration_has_finished_cache!1657 drops cache1658 .migration_halted?1659 calls the uncached method only once1660 .migration_halted_uncached?1661 returns true if migration has been halted1662 .drop_migration_halted_cache!1663 drops cache1664 .halted_migration1665 returns a migration when it is halted1666 pending_migrations?1667 when there is a pending migration1668 returns true1669 when there is no pending migration1670 returns false1671 pending_migrations1672 returns only pending migrations1673Repository1674 searches blobs and commits1675 names elasticsearch queries1676 can filter blobs1677 filters commits from blobs, and vice-versa1678 class method find_commits_by_message_with_elastic1679 returns commits1680 with a deleted project1681 skips its commits1682 with a project pending deletion1683 skips its commits1684 find_commits_by_message_with_elastic1685 returns commits1686MergeRequestWidgetEntity1687 avoids N+1 queries1688 has vulnerability feedback paths1689 has can_read_vulnerability_feedback property1690 has discover project security path1691 has pipeline id1692 test report artifacts1693 json_entry: :codeclimate, artifact_type: :codequality, exposures: []1694 when feature is available1695 with new report artifacts1696 has data entry1697 without artifacts1698 does not have data entry1699 json_entry: :browser_performance, artifact_type: :browser_performance, exposures: [:degradation_threshold, :head_path, :base_path]1700 when feature is available1701 with new report artifacts1702 has data entry1703 without artifacts1704 does not have data entry1705 json_entry: :browser_performance, artifact_type: :performance, exposures: [:degradation_threshold, :head_path, :base_path]1706 when feature is available1707 with new report artifacts1708 has data entry1709 without artifacts1710 does not have data entry1711 json_entry: :load_performance, artifact_type: :load_performance, exposures: [:head_path, :base_path]1712 when feature is available1713 with new report artifacts1714 has data entry1715 without artifacts1716 does not have data entry1717 degradation_threshold1718 with browser_performance artifact1719 when head pipeline's browser performance build has the threshold variable defined1720 returns the value of the variable1721 when head pipeline's browser performance build has no threshold variable defined1722 returns nil1723 with performance artifact1724 when head pipeline's browser performance build has the threshold variable defined1725 returns the value of the variable1726 when head pipeline's browser performance build has no threshold variable defined1727 returns nil1728 #license_scanning1729 when report artifact is defined1730 is included1731 #settings_path should not be included for developers1732 when feature is not licensed1733 is not included1734 when user is maintainer1735 #settings_path should be included for maintainers1736 when a report artifact is produced from a forked project1737 is expected to include :license_scanning1738 #managed_licenses_path1739 is a path for target project1740 with fork1741 is a path for target project1742 #can_read_vulnerabilities1743 when security dashboard feature is available1744 is set to true1745 when security dashboard feature is not available1746 is set to false1747 #can_read_vulnerability_feedback1748 when user has permissions to read vulnerability feedback1749 is set to true1750 when user has no permissions to read vulnerability feedback1751 is set to false1752 blocking merge requests1753 feature disabled1754 does not have the blocking_merge_requests member1755 feature enabled1756 shows the blocking merge request if visible1757 hides the blocking merge request if not visible1758 does not count a merged and hidden blocking MR1759MigrateMergeRequestsToSeparateIndex1760 migration_options1761 has migration options set1762 .migrate1763 initial launch1764 creates an index and sets migration_state1765 batch run1766 sets migration_state task_id1767 sets next slice after task check1768 resets retry_attempt for a next slice1769 reindexing is still in progress1770 does nothing1771 with merge_requests in elastic1772 migrates all merge_requests1773 failed run1774 exception is raised1775 increases retry_attempt1776 fails the migration after too many attempts1777 elasticsearch failures1778 total is not equal1779 raises an error1780 reindexing failues1781 raises an error1782 .completed?1783 counts are equal1784 returns true1785 counts are not equal1786 returns true1787 space_required_bytes1788 is expected to eq 31789Groups::SyncService1790 #execute1791 adds two new group member records1792 adds the user to top_level_group as Guest1793 adds the user to group1 as Developer1794 returns a success response1795 returns sync stats as payload1796 when the user is already a member1797 with the correct access level1798 does not change group member count1799 retains the correct access level1800 does not call Group find_by_id1801 with a different access level1802 when the user is not the last owner1803 does not change the group member count1804 updates the access_level1805 returns sync stats as payload1806 when the user is the last owner1807 does not change the group member count1808 does not update the access_level1809 returns sync stats as payload1810 but should no longer be a member1811 when manage_group_ids is present1812 reduces group member count by 11813 removes the matching user1814 returns sync stats as payload1815 when manage_group_ids is empty1816 reduces group member count by 11817 removes the matching user1818 returns sync stats as payload1819 when manage_groups_ids is nil1820 reduces group member count by 11821 removes the matching user1822 returns sync stats as payload1823 in a group that is not managed1824 does not change the group member count1825 retains the correct access level1826 but should no longer be a member1827 when manage_group_ids is present1828 reduces group member count by 11829 removes the matching user1830 when manage_group_ids is empty1831 reduces group member count by 11832 removes the matching user1833 when manage_groups_ids is nil1834 reduces group member count by 11835 removes the matching user1836 in a group that is not managed1837 does not change the group member count1838 retains the correct access level1839TrialStatusWidgetHelper1840 data attributes for mounting Vue components1841 #trial_status_popover_data_attrs1842 records the experiment subject1843 trial_days_remaining: 30, user_callouts_feature_id: nil, dismissed_callout: false, start_initially_shown: false1844 returns the needed data attributes for mounting the popover Vue component1845 trial_days_remaining: 20, user_callouts_feature_id: nil, dismissed_callout: false, start_initially_shown: false1846 returns the needed data attributes for mounting the popover Vue component1847 trial_days_remaining: 15, user_callouts_feature_id: nil, dismissed_callout: false, start_initially_shown: false1848 returns the needed data attributes for mounting the popover Vue component1849 trial_days_remaining: 14, user_callouts_feature_id: "trial_status_reminder_d14", dismissed_callout: false, start_initially_shown: true1850 returns the needed data attributes for mounting the popover Vue component1851 trial_days_remaining: 14, user_callouts_feature_id: "trial_status_reminder_d14", dismissed_callout: true, start_initially_shown: false1852 returns the needed data attributes for mounting the popover Vue component1853 trial_days_remaining: 10, user_callouts_feature_id: "trial_status_reminder_d14", dismissed_callout: false, start_initially_shown: true1854 returns the needed data attributes for mounting the popover Vue component1855 trial_days_remaining: 10, user_callouts_feature_id: "trial_status_reminder_d14", dismissed_callout: true, start_initially_shown: false1856 returns the needed data attributes for mounting the popover Vue component1857 trial_days_remaining: 7, user_callouts_feature_id: "trial_status_reminder_d14", dismissed_callout: false, start_initially_shown: true1858 returns the needed data attributes for mounting the popover Vue component1859 trial_days_remaining: 7, user_callouts_feature_id: "trial_status_reminder_d14", dismissed_callout: true, start_initially_shown: false1860 returns the needed data attributes for mounting the popover Vue component1861 trial_days_remaining: 6, user_callouts_feature_id: nil, dismissed_callout: false, start_initially_shown: false1862 returns the needed data attributes for mounting the popover Vue component1863 trial_days_remaining: 4, user_callouts_feature_id: nil, dismissed_callout: false, start_initially_shown: false1864 returns the needed data attributes for mounting the popover Vue component1865 trial_days_remaining: 3, user_callouts_feature_id: "trial_status_reminder_d3", dismissed_callout: false, start_initially_shown: true1866 returns the needed data attributes for mounting the popover Vue component1867 trial_days_remaining: 3, user_callouts_feature_id: "trial_status_reminder_d3", dismissed_callout: true, start_initially_shown: false1868 returns the needed data attributes for mounting the popover Vue component1869 trial_days_remaining: 1, user_callouts_feature_id: "trial_status_reminder_d3", dismissed_callout: false, start_initially_shown: true1870 returns the needed data attributes for mounting the popover Vue component1871 trial_days_remaining: 1, user_callouts_feature_id: "trial_status_reminder_d3", dismissed_callout: true, start_initially_shown: false1872 returns the needed data attributes for mounting the popover Vue component1873 trial_days_remaining: 0, user_callouts_feature_id: "trial_status_reminder_d3", dismissed_callout: false, start_initially_shown: true1874 returns the needed data attributes for mounting the popover Vue component1875 trial_days_remaining: 0, user_callouts_feature_id: "trial_status_reminder_d3", dismissed_callout: true, start_initially_shown: false1876 returns the needed data attributes for mounting the popover Vue component1877 trial_days_remaining: -1, user_callouts_feature_id: nil, dismissed_callout: false, start_initially_shown: false1878 returns the needed data attributes for mounting the popover Vue component1879 when not part of the experiment1880 trial_days_remaining: 30, user_callouts_feature_id: nil, dismissed_callout: false, start_initially_shown: false1881 returns the needed data attributes for mounting the popover Vue component1882 trial_days_remaining: 20, user_callouts_feature_id: nil, dismissed_callout: false, start_initially_shown: false1883 returns the needed data attributes for mounting the popover Vue component1884 trial_days_remaining: 15, user_callouts_feature_id: nil, dismissed_callout: false, start_initially_shown: false1885 returns the needed data attributes for mounting the popover Vue component1886 trial_days_remaining: 14, user_callouts_feature_id: "trial_status_reminder_d14", dismissed_callout: false, start_initially_shown: false1887 returns the needed data attributes for mounting the popover Vue component1888 trial_days_remaining: 14, user_callouts_feature_id: "trial_status_reminder_d14", dismissed_callout: true, start_initially_shown: false1889 returns the needed data attributes for mounting the popover Vue component1890 trial_days_remaining: 10, user_callouts_feature_id: "trial_status_reminder_d14", dismissed_callout: false, start_initially_shown: false1891 returns the needed data attributes for mounting the popover Vue component1892 trial_days_remaining: 10, user_callouts_feature_id: "trial_status_reminder_d14", dismissed_callout: true, start_initially_shown: false1893 returns the needed data attributes for mounting the popover Vue component1894 trial_days_remaining: 7, user_callouts_feature_id: "trial_status_reminder_d14", dismissed_callout: false, start_initially_shown: false1895 returns the needed data attributes for mounting the popover Vue component1896 trial_days_remaining: 7, user_callouts_feature_id: "trial_status_reminder_d14", dismissed_callout: true, start_initially_shown: false1897 returns the needed data attributes for mounting the popover Vue component1898 trial_days_remaining: 6, user_callouts_feature_id: nil, dismissed_callout: false, start_initially_shown: false1899 returns the needed data attributes for mounting the popover Vue component1900 trial_days_remaining: 4, user_callouts_feature_id: nil, dismissed_callout: false, start_initially_shown: false1901 returns the needed data attributes for mounting the popover Vue component1902 trial_days_remaining: 3, user_callouts_feature_id: "trial_status_reminder_d3", dismissed_callout: false, start_initially_shown: false1903 returns the needed data attributes for mounting the popover Vue component1904 trial_days_remaining: 3, user_callouts_feature_id: "trial_status_reminder_d3", dismissed_callout: true, start_initially_shown: false1905 returns the needed data attributes for mounting the popover Vue component1906 trial_days_remaining: 1, user_callouts_feature_id: "trial_status_reminder_d3", dismissed_callout: false, start_initially_shown: false1907 returns the needed data attributes for mounting the popover Vue component1908 trial_days_remaining: 1, user_callouts_feature_id: "trial_status_reminder_d3", dismissed_callout: true, start_initially_shown: false1909 returns the needed data attributes for mounting the popover Vue component1910 trial_days_remaining: 0, user_callouts_feature_id: "trial_status_reminder_d3", dismissed_callout: false, start_initially_shown: false1911 returns the needed data attributes for mounting the popover Vue component1912 trial_days_remaining: 0, user_callouts_feature_id: "trial_status_reminder_d3", dismissed_callout: true, start_initially_shown: false1913 returns the needed data attributes for mounting the popover Vue component1914 trial_days_remaining: -1, user_callouts_feature_id: nil, dismissed_callout: false, start_initially_shown: false1915 returns the needed data attributes for mounting the popover Vue component1916 #trial_status_widget_data_attrs1917 returns the needed data attributes for mounting the widget Vue component1918 #show_trial_status_widget?1919 trials_available: true, trial_active: true, user_can_admin_group: true1920 is expected to eq true1921 trials_available: true, trial_active: true, user_can_admin_group: false1922 is expected to eq false1923 trials_available: true, trial_active: false, user_can_admin_group: true1924 is expected to eq false1925 trials_available: true, trial_active: false, user_can_admin_group: false1926 is expected to eq false1927 trials_available: false, trial_active: true, user_can_admin_group: true1928 is expected to eq false1929 trials_available: false, trial_active: true, user_can_admin_group: false1930 is expected to eq false1931 trials_available: false, trial_active: false, user_can_admin_group: true1932 is expected to eq false1933 trials_available: false, trial_active: false, user_can_admin_group: false1934 is expected to eq false1935ApprovalRules::UpdateService1936 when target is project1937 behaves like editable1938 basic update action1939 updates approval, excluding non-eligible users and groups1940 tracks update event via a usage counter1941 when some users and groups are eligible1942 creates and includes eligible users and groups1943 when existing groups are inaccessible to user1944 when remove_hidden_groups is false1945 preserves inaccessible groups1946 when remove_hidden_groups is not specified1947 removes inaccessible groups1948 when remove_hidden_groups is true1949 removes inaccessible groups1950 when validation fails1951 returns error message1952 when user does not have right to edit1953 returns error message1954 when protected_branch_ids param is present1955 and multiple approval rules is enabled1956 associates the approval rule to the protected branch1957 but user cannot administer project1958 does not associate the approval rule to the protected branch1959 but protected branch is for another project1960 does not associate the approval rule to the protected branch1961 and multiple approval rules is disabled1962 does not associate the approval rule to the protected branch1963 audit events1964 when licensed1965 when rule update operation succeeds1966 logs an audit event1967 audits the number of required approvals change1968 audits the group addition to approval group1969 audits the group removal from approval group1970 audits the user addition to approval group1971 audits the user removal from approval group1972 when rule update operation fails1973 does not log any audit event1974 when not licensed1975 does not log any audit event1976 when target is merge request1977 behaves like editable1978 basic update action1979 updates approval, excluding non-eligible users and groups1980 tracks update event via a usage counter1981 when some users and groups are eligible1982 creates and includes eligible users and groups1983 when existing groups are inaccessible to user1984 when remove_hidden_groups is false1985 preserves inaccessible groups1986 when remove_hidden_groups is not specified1987 removes inaccessible groups1988 when remove_hidden_groups is true1989 removes inaccessible groups1990 when validation fails1991 returns error message1992 when user does not have right to edit1993 returns error message1994Gitlab::UsageDataNonSqlMetrics1995 .uncached_data1996 does not make DB calls1997Board1998 is expected to includes the EE::Board module1999 relationships2000 is expected to belong to milestone required:2001 is expected to belong to iteration required:2002 is expected to have one board_assignee2003 is expected to have one assignee through board_assignee2004 is expected to have many board_labels2005 is expected to have many labels through board_labels2006 is expected to have many user_preferences2007 is expected to have many boards_epic_user_preferences class_name => Boards::EpicUserPreference2008 validations2009 when group is present2010 is expected not to validate that :project cannot be empty/falsy2011 is expected to validate that :group cannot be empty/falsy2012 when project is present2013 is expected to validate that :project cannot be empty/falsy2014 is expected not to validate that :group cannot be empty/falsy2015 milestone2016 returns nil when the feature is not available2017 when the feature is available2018 returns Milestone::None for started milestone id2019 returns Milestone::Any for started milestone id2020 returns Milestone::Upcoming for upcoming milestone id2021 returns Milestone::Started for started milestone id2022 returns milestone for valid milestone id2023 iteration2024 returns nil when the feature is not available2025 when the feature is available2026 returns Iteration::Predefined::None, when iteration_id is None.id2027 returns Iteration::Predefined::Any, when iteration_id is Any.id2028 returns ::Iteration::Predefined::Current, when iteration_id is Current.id2029 returns iteration for valid iteration id2030 returns nil for invalid iteration id2031 #scoped?2032 returns true when milestone is not nil AND is not "Any milestone"2033 returns true when weight is not nil AND is not "Any weight"2034 returns true when any label exists2035 returns true when assignee is present2036 returns false when feature is not available2037 returns false when board is not scoped2038Gitlab::ExpiringSubscriptionMessage2039 message2040 plan_name: "gold"2041 subscribable installed2042 subscribable should not notify admins2043 returns nil2044 subscribable should notify admins2045 admin signed in2046 subscribable expired2047 when it blocks changes2048 when it is currently blocking changes2049 has a nice subject2050 when the subscription hasn't been properly downgraded yet2051 shows the expiring message2052 no namespace2053 has an expiration blocking message2054 with namespace2055 has an expiration blocking message2056 is auto_renew2057 has a nice subject2058 has an expiration blocking message2059 when there is a future renewal2060 is expected to be nil2061 without gitlab_subscription2062 does not check for a future renewal2063 when it is not currently blocking changes2064 has a nice subject2065 has an expiration blocking message2066 subscribable is expiring soon2067 has a nice subject2068 without namespace2069 has an expiration blocking message2070 when a future dated license is applied2071 returns nil2072 with namespace2073 has bronze plan specific messaging2074 plan: "gold"2075 has plan specific messaging2076 plan: "ultimate"2077 has plan specific messaging2078 plan: "silver"2079 has plan specific messaging2080 plan: "premium"2081 has plan specific messaging2082 is auto_renew nil2083 returns nil2084 is auto_renew2085 returns nil2086 when there is a future renewal2087 is expected to be nil2088 without gitlab_subscription2089 does not check for a future renewal2090 with a sub-group2091 checks for a future renewal2092 when parent namespace has a future renewal2093 is expected to be nil2094 subscribable expired a long time ago2095 and is past the cutoff date2096 has a nice subject2097 and is 30 days past the cutoff date2098 stops displaying2099 and force_notification is true2100 returns a message2101 and not past the cutoff date2102 has a nice subject2103 no subscribable installed2104 is expected to be blank2105 plan_name: "ultimate"2106 subscribable installed2107 subscribable should not notify admins2108 returns nil2109 subscribable should notify admins2110 admin signed in2111 subscribable expired2112 when it blocks changes2113 when it is currently blocking changes2114 has a nice subject2115 when the subscription hasn't been properly downgraded yet2116 shows the expiring message2117 no namespace2118 has an expiration blocking message2119 with namespace2120 has an expiration blocking message2121 is auto_renew2122 has a nice subject2123 has an expiration blocking message2124 when there is a future renewal2125 is expected to be nil2126 without gitlab_subscription2127 does not check for a future renewal2128 when it is not currently blocking changes2129 has a nice subject2130 has an expiration blocking message2131 subscribable is expiring soon2132 has a nice subject2133 without namespace2134 has an expiration blocking message2135 when a future dated license is applied2136 returns nil2137 with namespace2138 has bronze plan specific messaging2139 plan: "gold"2140 has plan specific messaging2141 plan: "ultimate"2142 has plan specific messaging2143 plan: "silver"2144 has plan specific messaging2145 plan: "premium"2146 has plan specific messaging2147 is auto_renew nil2148 returns nil2149 is auto_renew2150 returns nil2151 when there is a future renewal2152 is expected to be nil2153 without gitlab_subscription2154 does not check for a future renewal2155 with a sub-group2156 checks for a future renewal2157 when parent namespace has a future renewal2158 is expected to be nil2159 subscribable expired a long time ago2160 and is past the cutoff date2161 has a nice subject2162 and is 30 days past the cutoff date2163 stops displaying2164 and force_notification is true2165 returns a message2166 and not past the cutoff date2167 has a nice subject2168 no subscribable installed2169 is expected to be blank2170ApprovalMergeRequestRule2171 associations2172 is expected to have one approval_project_rule_project through approval_project_rule2173 validations2174 is valid2175 is invalid when the name is missing2176 is invalid when name not unique within rule type and merge request2177 approval_project_rule is set2178 when project of approval_project_rule and merge request matches2179 is valid2180 when the project of approval_project_rule and merge request does not match2181 is invalid2182 code owner rules2183 is valid2184 is invalid when reusing the same name within the same merge request2185 allows a regular rule with the same name as the codeowner rule2186 report_approver rules2187 is valid2188 validates presence of report_type2189 any_approver rules2190 creating only one any_approver rule is allowed2191 .regular_or_any_approver scope2192 returns regular or any-approver rules2193 scopes2194 .not_matching_pattern2195 returns the correct rules2196 .matching_pattern2197 returns the correct rules2198 .code_owners2199 returns the correct rules2200 .vulnerability_report2201 returns the correct rules2202 .license_compliance2203 returns the correct rules2204 .coverage2205 returns the correct rules2206 .find_or_create_code_owner_rule2207 creates a new rule if it does not exist2208 finds an existing rule using rule_type column2209 retries when a record was created between the find and the create2210 when there is an existing rule2211 finds the existing rule2212 when the existing rule matches name but not section2213 creates a new rule2214 when section is present2215 creates a new rule and saves section when present2216 #project2217 returns project of MergeRequest2218 #regular2219 returns true for regular records2220 returns false for code owner records2221 returns false for any approver records2222 #code_owner?2223 rule_type is :code_owner2224 returns true2225 rule_type is :regular2226 returns false2227 #approvers2228 when project merge_requests_author_approval is true2229 contains author2230 when project merge_requests_author_approval is false2231 does not contain author2232 when the rules users have already been loaded2233 does not perform any new queries when all users are loaded already2234 does not contain the author2235 #sync_approved_approvers2236 when not merged2237 does nothing2238 when merged2239 records approved approvers as approved_approvers association2240 stores all the approvals for any-approver rule2241 validations2242 approvals_required2243 is a natural number2244 #refresh_required_approvals!2245 when the rule is a `License-Check` rule2246 when the latest license report violates the compliance policy2247 is expected to equal 592248 when the latest license report adheres to the compliance policy2249 is expected to be zero2250Gitlab::ImportExport::Group::TreeRestorer2251 restore group tree2252 epics2253 has group epics2254 has award emoji2255 preserves epic state2256 epic notes2257 has epic notes2258 has award emoji on epic notes2259 has system note metadata2260 epic labels2261 has epic labels2262 board lists2263 has milestone & assignee lists2264 boards2265 has user generated milestones2266 does not have predefined milestones2267PersonalAccessToken2268 scopes2269 with_expires_at_after2270 includes the tokens with higher than the lifetime expires_at value2271 doesn't contain expired tokens2272 doesn't contain tokens within the expiration time2273 with_no_expires_at2274 includes the tokens with nil expires_at2275 doesn't contain expired tokens2276 doesn't contain tokens within the expiration time2277 expires_in2278 only includes one token2279 validations2280 allows to define expires_at2281 allows to don't define expires_at2282 with expiration policy2283 when the feature is licensed2284 when the user does not belong to a managed group2285 behaves like PAT expiry rules are enforced2286 requires to be less or equal than the max_personal_access_token_lifetime2287 can't be blank2288 when the user belongs to a managed group2289 when the group has enforced a PAT expiry rule2290 behaves like PAT expiry rules are enforced2291 requires to be less or equal than the max_personal_access_token_lifetime2292 can't be blank2293 when the group has not enforced a PAT expiry setting2294 when the instance has enforced a PAT expiry setting2295 behaves like PAT expiry rules are enforced2296 requires to be less or equal than the max_personal_access_token_lifetime2297 can't be blank2298 when the instance does not enforce a PAT expiry setting2299 behaves like PAT expiry rules are not enforced2300 allows expiry to be after the max_personal_access_token_lifetime2301 can be blank2302 when the feature is not available2303 behaves like PAT expiry rules are not enforced2304 allows expiry to be after the max_personal_access_token_lifetime2305 can be blank2306 .pluck_names2307 returns the names of the tokens2308 .with_invalid_expires_at2309 includes the tokens with invalid expires_at2310 doesn't include valid tokens2311 doesn't include revoked tokens2312 doesn't include expired tokens2313 .expiration_enforced??2314 behaves like enforcement of personal access token expiry2315 licensed: true, application_setting: true, result: true2316 is expected to equal true2317 licensed: true, application_setting: false, result: false2318 is expected to equal false2319 licensed: false, application_setting: true, result: true2320 is expected to equal true2321 licensed: false, application_setting: false, result: true2322 is expected to equal true2323 #expired?2324 behaves like enforcement of personal access token expiry2325 licensed: true, application_setting: true, result: true2326 is expected to equal true2327 licensed: true, application_setting: false, result: false2328 is expected to equal false2329 licensed: false, application_setting: true, result: true2330 is expected to equal true2331 licensed: false, application_setting: false, result: true2332 is expected to equal true2333 #expired_but_not_enforced?2334 enforced?: true, expires_at: Wed, 11 Aug 2021 10:31:33.621001549 UTC +00:00, result: false2335 is expected to equal false2336 enforced?: true, expires_at: Wed, 18 Aug 2021 10:31:33.621197675 UTC +00:00, result: false2337 is expected to equal false2338 enforced?: true, expires_at: Wed, 25 Aug 2021 10:31:33.621214638 UTC +00:00, result: false2339 is expected to equal false2340 enforced?: false, expires_at: Wed, 11 Aug 2021 10:31:33.621276951 UTC +00:00, result: true2341 is expected to equal true2342 enforced?: false, expires_at: Wed, 18 Aug 2021 10:31:33.621330818 UTC +00:00, result: true2343 is expected to equal true2344 enforced?: false, expires_at: Wed, 25 Aug 2021 10:31:33.621342453 UTC +00:00, result: false2345 is expected to equal false2346 .enforce_pat_expiration_feature_available?2347 licensed: true, result: true2348 is expected to equal true2349 licensed: false, result: false2350 is expected to equal false2351 #revoke2352 clears cache on revoke access2353 after create callback2354 clears cache for the user2355Dast::ProfileSchedule2356 associations2357 is expected to belong to project required:2358 is expected to belong to dast_profile class_name => Dast::Profile required: true inverse_of => dast_profile_schedules2359 is expected to belong to owner class_name => User required:2360 validations2361 is expected to be valid2362 is expected to validate that :cron cannot be empty/falsy2363 is expected to validate that :next_run_at cannot be empty/falsy2364 scopes2365 active2366 includes the correct records2367 runnable_schedules2368 when there are runnable schedules2369 returns the runnable schedule2370 when there are inactive schedules2371 returns an empty array2372 when there are no runnable schedules2373 returns an empty array2374 when there are runnable schedules in future2375 returns an empty array2376 #set_next_run_at2377 behaves like handles set_next_run_at2378 when schedule runs every minute2379 updates next_run_at to the worker's execution time2380 when there are two different schedules in the same time zones2381 sets the sames next_run_at2382 when cron is updated for existing schedules2383 updates next_run_at automatically2384Ci::Minutes::BatchResetService2385 #execute!2386 when global shared_runners_minutes is enabled2387 when ID range is provided2388 resets minutes in batches for the given range2389 resets CI minutes and recalculates purchased minutes for the namespace exceeding the monthly minutes2390 resets CI minutes but does not recalculate purchased minutes for the namespace not exceeding the monthly minutes2391 when ID range is not provided2392 resets minutes in batches for all namespaces2393 resets CI minutes and does not recalculate purchased minutes for the namespace having unlimited monthly minutes2394 when an ActiveRecordError is raised2395 continues its progress and raises exception at the end2396 when global shared_runners_minutes setting is nil and namespaces have no limits2397 global_limit: nil, namespace_limit: 02398 does not recalculate purchased minutes for any namespaces2399 global_limit: nil, namespace_limit: nil2400 does not recalculate purchased minutes for any namespaces2401 global_limit: 0, namespace_limit: 02402 does not recalculate purchased minutes for any namespaces2403 global_limit: 0, namespace_limit: nil2404 does not recalculate purchased minutes for any namespaces2405Gitlab::ImportExport::Group::LegacyTreeSaver2406 saves the group tree into a json object2407 saves successfully2408 epics relation2409 saves top level epics2410 saves parent of epic2411 saves epic notes2412 saves epic events2413 saves epic's note events2414 saves epic's award emojis2415 saves epic's note award emojis2416 saves epic labels2417 boards relation2418 saves top level boards2419 saves board assignee2420 saves board labels2421 saves board lists2422 when there are boards with predefined milestones2423 saves the milestone data2424 when there are boards with persisted milestones2425 saves the milestone data2426Analytics::CycleAnalytics::Stages::UpdateService2427 behaves like permission check for Value Stream Analytics Stage services2428 when user has no access2429 is expected to be error2430 is expected to eq :forbidden2431 when license is missing2432 is expected to be error2433 is expected to eq :forbidden2434 when updating a default stage2435 when hiding a default stage2436 is expected to be success2437 is expected to be persisted2438 is expected to be hidden2439 when other parameters than "hidden" are given2440 is expected to be success2441 is expected not to eq "should not be updated"2442 when the first update happens on a default stage2443 is expected to be success2444 persists all default stages2445 matches with the configured default stage name2446 when the update fails2447 returns unsuccessful service response2448 does not persist the default stages if the stage is invalid2449 when updating an already persisted default stage2450 is expected to be persisted2451 is expected not to be hidden2452 when updating a custom stage2453 is expected to be success2454 is expected to eq :ok2455 is expected to eq "my new stage name"2456 when params are invalid2457 is expected to be error2458 is expected to eq :unprocessable_entity2459DEPRECATION WARNING: ActiveModel::Errors#keys is deprecated and will be removed in Rails 6.2.2460To achieve the same use:2461 errors.attribute_names (called from block (4 levels) in <top (required)> at /builds/gitlab-org/gitlab/ee/spec/services/analytics/cycle_analytics/stages/update_service_spec.rb:116)2462 is expected to eq [:name]2463 when positioning a stage2464 when there are stages without position2465 when moving the stage down2466 when moving the stage down2467 changes the stage positions correctly2468 when moving the stage to the middle2469 changes the stage positions correctly2470 when bogus `move_before_id` is given2471 is expected to raise ActiveRecord::RecordNotFound2472 when bogus `move_after_id` is given2473 is expected to raise ActiveRecord::RecordNotFound2474 when `move_before_id` points to a stage within a different group2475 is expected to raise ActiveRecord::RecordNotFound2476RequirementsManagement::ImportCsvService2477 when user can create requirements2478 #execute2479 invalid file extension2480 behaves like invalid file2481 returns invalid file error2482 behaves like importer with email notification2483 notifies user of import result2484 empty file2485 behaves like invalid file2486 returns invalid file error2487 behaves like importer with email notification2488 notifies user of import result2489 file without headers2490 behaves like invalid file2491 returns invalid file error2492 behaves like importer with email notification2493 notifies user of import result2494 with a file generated by Gitlab CSV export2495 imports the CSV without errors2496 correctly sets the issuable attributes2497 behaves like importer with email notification2498 notifies user of import result2499 comma delimited file2500 imports CSV without errors2501 correctly sets the issuable attributes2502 behaves like importer with email notification2503 notifies user of import result2504 tab delimited file with error row2505 imports CSV with some error rows2506 correctly sets the issuable attributes2507 behaves like importer with email notification2508 notifies user of import result2509 semicolon delimited file with CRLF2510 imports CSV with a blank row2511 correctly sets the issuable attributes2512 behaves like importer with email notification2513 notifies user of import result2514 when user cannot create requirements2515 behaves like resource not available2516 raises an error2517 when requirements feature is not available2518 behaves like resource not available2519 raises an error2520Gitlab::RepositorySizeChecker2521 #above_size_limit?2522 when enabled is false2523 when size is under the limit2524 returns false2525 when size is above the limit2526 returns false2527 when additional_repo_storage_by_namespace_enabled is false2528 returns false when not over the limit2529 when size is above the limit2530 returns true2531 when over the default limit but would be under the limit if additional storage was enabled2532 returns true2533 when namespace is nil2534 returns false when not over the limit2535 when size is above the limit2536 returns true2537 when over the default limit but would be under the limit if additional storage was enabled2538 returns true2539 when there are no locked projects (total repository excess < additional storage)2540 returns false2541 when there are no locked projects (total repository excess == additional storage)2542 returns false2543 when there are locked projects (total repository excess > additional storage)2544 returns false when not over the limit2545 when size is above the limit2546 returns true2547 #exceeded_size2548 when no change size provided2549 when current size is below the limit2550 returns zero2551 when current size is equal to the limit2552 returns zero2553 when current size is over the limit2554 returns a positive number2555 when a change size is provided2556 when change size will be over the limit2557 returns a positive number2558 when change size will be at the limit2559 returns zero2560 when change size will be under the limit2561 returns zero2562 when additional_repo_storage_by_namespace_enabled is false2563 when no change size provided2564 when current size is below the limit2565 returns zero2566 when current size is equal to the limit2567 returns zero2568 when current size is over the limit2569 returns a positive number2570 when a change size is provided2571 when change size will be over the limit2572 returns a positive number2573 when change size will be at the limit2574 returns zero2575 when change size will be under the limit2576 returns zero2577 when namespace is nil2578 when no change size provided2579 when current size is below the limit2580 returns zero2581 when current size is equal to the limit2582 returns zero2583 when current size is over the limit2584 returns a positive number2585 when a change size is provided2586 when change size will be over the limit2587 returns a positive number2588 when change size will be at the limit2589 returns zero2590 when change size will be under the limit2591 returns zero2592 with additional purchased storage2593 when no change size provided2594 when current size + total repository size excess is below the limit (additional purchase storage not used)2595 returns zero2596 when current size + total repository size excess is equal to the limit (additional purchase storage not used)2597 returns zero2598 when there is remaining additional purchased storage (current size + other project excess use some additional purchased storage)2599 returns zero2600 when additional purchased storage is depleted (current size + other project excess exceed additional purchased storage)2601 returns a positive number2602 when a change size is provided2603 when current size + total repository size excess is below the limit (additional purchase storage not used)2604 returns zero2605 when current size + total repository size excess is equal to the limit (additional purchase storage depleted)2606 returns a positive number2607 without additional purchased storage2608 when namespace has total_repository_size_excess but project is below limit2609 returns zero2610 when no change size provided2611 when current size is below the limit2612 returns zero2613 when current size is equal to the limit2614 returns zero2615 when current size is over the limit2616 returns a positive number2617 when a change size is provided2618 when change size will be over the limit2619 returns a positive number2620 when change size will be at the limit2621 returns zero2622 when change size will be under the limit2623 returns zero2624 #additional_repo_storage_available?2625 when additional_repo_storage_by_namespace_enabled is true2626 returns true2627 when additional_repo_storage_by_namespace_enabled is false2628 returns false2629Projects::DestroyService2630 when project is a mirror2631 decrements capacity if mirror was scheduled2632 when running on a primary node2633 logs an event to the Geo event log2634 does not log event to the Geo log if project deletion fails2635 audit events2636 when licensed2637 does not log audit event if operation fails2638 when operation succeeds2639 logs an audit event2640 logs the audit event info2641 when not licensed2642 does not log audit event2643 system hooks exception2644 logs an audit event2645ElasticNamespaceIndexerWorker2646 when ES is disabled2647 returns true2648 when ES is enabled2649 returns true if limited indexing is not enabled2650 indexing and deleting2651 indexes all projects belonging to the namespace2652 deletes all projects belonging to the namespace2653ProtectedEnvironments::CreateService#execute2654 with valid params2655 is expected to be truthy2656 creates a record on ProtectedEnvironment2657 creates a record on ProtectedEnvironment record2658 with invalid params2659 returns a non-persisted Protected Environment record2660 multiple deploy access levels2661 behaves like invalid multiple deployment access levels2662 does not create deploy access level2663 does not create protected environment2664 deploy access level by group2665 behaves like invalid protected environment group2666 does not create deploy access level2667 does not create protected environment2668 behaves like valid protected environment group2669 creates deploy access level2670 creates protected environment2671 deploy access level by user2672 behaves like invalid protected environment user2673 does not create deploy access level2674 does not create protected environment2675 behaves like valid protected environment user2676 creates deploy access level2677 creates protected environment2678Integrations::Github::StatusMessage2679 #description2680 includes human readable gitlab status2681 gets truncated to 140 chars2682 #status2683 gitlab_status: "pending", github_status: :pending2684 transforms status2685 gitlab_status: "created", github_status: :pending2686 transforms status2687 gitlab_status: "running", github_status: :pending2688 transforms status2689 gitlab_status: "manual", github_status: :pending2690 transforms status2691 gitlab_status: "success", github_status: :success2692 transforms status2693 gitlab_status: "skipped", github_status: :success2694 transforms status2695 gitlab_status: "failed", github_status: :failure2696 transforms status2697 gitlab_status: "canceled", github_status: :error2698 transforms status2699 #status_options2700 includes context2701 includes target_url2702 includes description2703 #context2704 when status context is supposed to be dynamic2705 appends pipeline reference to the status context2706 when status context is supposed to be static2707 appends instance hostname to the status context2708 .from_pipeline_data2709 builds an instance of Integrations::Github::StatusMessage2710 builds an object with2711 sha2712 status2713 target_url2714 description2715 context2716 when pipeline is blocked2717 uses human readable status which can be used in a sentence2718 when static context has been configured2719 appends instance name to the context name2720Ci::RetryBuildService2721 behaves like restricts access to protected environments2722 when build is related to a protected environment2723 when user does not have access to the environment2724 raises Gitlab::Access::DeniedError2725 when user has access to the environment2726 enqueues the build2727 #reprocess2728 when user has ability to execute build2729 dast2730 clones the profile associations2731 when build has secrets2732 clones secrets2733 credit card requirement2734 when credit card is required2735 when project is on free plan2736 when user has credit card2737 behaves like creates a retried build2738 creates a retried build2739 when user does not have credit card2740 raises an exception2741 when feature flag is disabled2742 behaves like creates a retried build2743 creates a retried build2744 when credit card is not required2745 behaves like creates a retried build2746 creates a retried build2747 #execute2748 when the CI quota is exceeded2749 when there are no runners available2750 is expected not to be failed2751 when shared runners are available2752 fails the build2753 with private runners2754 is expected not to be failed2755IncidentManagement::EscalationPolicies::UpdateService2756 #execute2757 when the current_user is anonymous2758 behaves like error response2759 has an informative message2760 when the current_user does not have permissions to update escalation policies2761 behaves like error response2762 has an informative message2763 when license is not enabled2764 behaves like error response2765 has an informative message2766 when only new rules are added2767 behaves like successful update with no errors2768 returns the updated escalation policy2769 with a user-based rule2770 behaves like successful update with no errors2771 returns the updated escalation policy2772 when all old rules are replaced2773 behaves like successful update with no errors2774 returns the updated escalation policy2775 when some rules are preserved, added, and deleted2776 behaves like successful update with no errors2777 returns the updated escalation policy2778 when rules are only deleted2779 behaves like successful update with no errors2780 returns the updated escalation policy2781 when rules are unchanged2782 behaves like successful update with no errors2783 returns the updated escalation policy2784 when rules are excluded2785 behaves like successful update with no errors2786 returns the updated escalation policy2787 when rules are explicitly nil2788 behaves like successful update with no errors2789 returns the updated escalation policy2790 when rules are explicitly empty2791 behaves like error response2792 has an informative message2793 when too many rules are given2794 behaves like error response2795 has an informative message2796 when the on-call schedule is not on the project2797 behaves like error response2798 has an informative message2799 when the rule's user does not have access to the project2800 behaves like error response2801 has an informative message2802 when an error occurs during update2803 behaves like error response2804 has an informative message2805Max Limits Module2806 max limits query methods2807 params: {:max_issue_count=>0}, expected_max_issue_count?: true, expected_max_issue_weight?: false, expected_max_issue_count_by_params: 0, expected_max_issue_weight_by_params: 0, expected_list_attributes: {:max_issue_count=>0}2808 returns the expected values2809 params: {:max_issue_count=>nil}, expected_max_issue_count?: false, expected_max_issue_weight?: false, expected_max_issue_count_by_params: 0, expected_max_issue_weight_by_params: 0, expected_list_attributes: {}2810 returns the expected values2811 params: {:max_issue_count=>-1}, expected_max_issue_count?: true, expected_max_issue_weight?: false, expected_max_issue_count_by_params: -1, expected_max_issue_weight_by_params: 0, expected_list_attributes: {:max_issue_count=>-1}2812 returns the expected values2813 params: {:max_issue_count=>1}, expected_max_issue_count?: true, expected_max_issue_weight?: false, expected_max_issue_count_by_params: 1, expected_max_issue_weight_by_params: 0, expected_list_attributes: {:max_issue_count=>1}2814 returns the expected values2815 params: {:max_issue_count=>"1"}, expected_max_issue_count?: true, expected_max_issue_weight?: false, expected_max_issue_count_by_params: 1, expected_max_issue_weight_by_params: 0, expected_list_attributes: {:max_issue_count=>1}2816 returns the expected values2817 params: {:max_issue_weight=>0}, expected_max_issue_count?: false, expected_max_issue_weight?: true, expected_max_issue_count_by_params: 0, expected_max_issue_weight_by_params: 0, expected_list_attributes: {:max_issue_weight=>0}2818 returns the expected values2819 params: {:max_issue_weight=>nil}, expected_max_issue_count?: false, expected_max_issue_weight?: false, expected_max_issue_count_by_params: 0, expected_max_issue_weight_by_params: 0, expected_list_attributes: {}2820 returns the expected values2821 params: {:max_issue_weight=>-1}, expected_max_issue_count?: false, expected_max_issue_weight?: true, expected_max_issue_count_by_params: 0, expected_max_issue_weight_by_params: -1, expected_list_attributes: {:max_issue_weight=>-1}2822 returns the expected values2823 params: {:max_issue_weight=>1}, expected_max_issue_count?: false, expected_max_issue_weight?: true, expected_max_issue_count_by_params: 0, expected_max_issue_weight_by_params: 1, expected_list_attributes: {:max_issue_weight=>1}2824 returns the expected values2825 params: {:max_issue_weight=>"1"}, expected_max_issue_count?: false, expected_max_issue_weight?: true, expected_max_issue_count_by_params: 0, expected_max_issue_weight_by_params: 1, expected_list_attributes: {:max_issue_weight=>1}2826 returns the expected values2827 params: {:max_issue_count=>1, :max_issue_weight=>1}, expected_max_issue_count?: true, expected_max_issue_weight?: true, expected_max_issue_count_by_params: 1, expected_max_issue_weight_by_params: 1, expected_list_attributes: {:max_issue_count=>1, :max_issue_weight=>1}2828 returns the expected values2829 params: {:max_issue_count=>"1", :max_issue_weight=>1}, expected_max_issue_count?: true, expected_max_issue_weight?: true, expected_max_issue_count_by_params: 1, expected_max_issue_weight_by_params: 1, expected_list_attributes: {:max_issue_count=>1, :max_issue_weight=>1}2830 returns the expected values2831 params: {:max_issue_count=>1, :max_issue_weight=>"1"}, expected_max_issue_count?: true, expected_max_issue_weight?: true, expected_max_issue_count_by_params: 1, expected_max_issue_weight_by_params: 1, expected_list_attributes: {:max_issue_count=>1, :max_issue_weight=>1}2832 returns the expected values2833 params: {:max_issue_count=>nil, :max_issue_weight=>"1"}, expected_max_issue_count?: false, expected_max_issue_weight?: true, expected_max_issue_count_by_params: 0, expected_max_issue_weight_by_params: 1, expected_list_attributes: {:max_issue_weight=>1}2834 returns the expected values2835 params: {:max_issue_count=>1, :max_issue_weight=>2}, expected_max_issue_count?: true, expected_max_issue_weight?: true, expected_max_issue_count_by_params: 1, expected_max_issue_weight_by_params: 2, expected_list_attributes: {:max_issue_count=>1, :max_issue_weight=>2}2836 returns the expected values2837 params: {:max_issue_count=>0, :max_issue_weight=>3}, expected_max_issue_count?: true, expected_max_issue_weight?: true, expected_max_issue_count_by_params: 0, expected_max_issue_weight_by_params: 3, expected_list_attributes: {:max_issue_count=>0, :max_issue_weight=>3}2838 returns the expected values2839 params: {:max_issue_count=>nil, :max_issue_weight=>3}, expected_max_issue_count?: false, expected_max_issue_weight?: true, expected_max_issue_count_by_params: 0, expected_max_issue_weight_by_params: 3, expected_list_attributes: {:max_issue_weight=>3}2840 returns the expected values2841 params: {:max_issue_count=>-1, :max_issue_weight=>3}, expected_max_issue_count?: true, expected_max_issue_weight?: true, expected_max_issue_count_by_params: -1, expected_max_issue_weight_by_params: 3, expected_list_attributes: {:max_issue_count=>-1, :max_issue_weight=>3}2842 returns the expected values2843 params: {:max_issue_count=>nil, :max_issue_weight=>nil}, expected_max_issue_count?: false, expected_max_issue_weight?: false, expected_max_issue_count_by_params: 0, expected_max_issue_weight_by_params: 0, expected_list_attributes: {}2844 returns the expected values2845 params: {:max_issue_count=>-1, :max_issue_weight=>-1}, expected_max_issue_count?: true, expected_max_issue_weight?: true, expected_max_issue_count_by_params: -1, expected_max_issue_weight_by_params: -1, expected_list_attributes: {:max_issue_count=>-1, :max_issue_weight=>-1}2846 returns the expected values2847 params: {:max_issue_count=>1, :max_issue_weight=>"hello"}, expected_max_issue_count?: true, expected_max_issue_weight?: true, expected_max_issue_count_by_params: 1, expected_max_issue_weight_by_params: 0, expected_list_attributes: {:max_issue_count=>1, :max_issue_weight=>0}2848 returns the expected values2849 params: {:max_issue_count=>"2", :max_issue_weight=>"9"}, expected_max_issue_count?: true, expected_max_issue_weight?: true, expected_max_issue_count_by_params: 2, expected_max_issue_weight_by_params: 9, expected_list_attributes: {:max_issue_count=>2, :max_issue_weight=>9}2850 returns the expected values2851 params: {:max_issue_weight=>"9"}, expected_max_issue_count?: false, expected_max_issue_weight?: true, expected_max_issue_count_by_params: 0, expected_max_issue_weight_by_params: 9, expected_list_attributes: {:max_issue_weight=>9}2852 returns the expected values2853 params: {:max_issue_count=>"hello1", :max_issue_weight=>"hello2"}, expected_max_issue_count?: true, expected_max_issue_weight?: true, expected_max_issue_count_by_params: 0, expected_max_issue_weight_by_params: 0, expected_list_attributes: {:max_issue_count=>0, :max_issue_weight=>0}2854 returns the expected values2855Mutations::IncidentManagement::EscalationPolicy::Update2856 #resolve2857 when the policy cannot be found2858 behaves like failed update with a top-level access error2859 is expected to raise Gitlab::Graphql::Errors::ResourceNotAvailable with "The resource that you are attempting to access does not exist or you don't have permission to perform this action"2860 when project does not have feature2861 behaves like failed update with a top-level access error2862 is expected to raise Gitlab::Graphql::Errors::ResourceNotAvailable with "Escalation policies are not supported for this project"2863 when user does not have permissions to update the policy2864 behaves like failed update with a top-level access error2865 is expected to raise Gitlab::Graphql::Errors::ResourceNotAvailable with "The resource that you are attempting to access does not exist or you don't have permission to perform this action"2866 when there is an error in updating2867 returns errors in the body of the response2868 when rules are excluded2869 behaves like successful update with no errors2870 returns the updated escalation policy2871 when rules are included but empty2872 returns errors in the body of the response2873 with rule updates2874 behaves like successful update with no errors2875 returns the updated escalation policy2876 when schedule does not exist2877 behaves like failed update with a top-level access error2878 is expected to raise Gitlab::Graphql::Errors::ResourceNotAvailable with "The resource that you are attempting to access does not exist or you don't have permission to perform this action"2879 the user does not have permission to update policies regardless2880 behaves like failed update with a top-level access error2881 is expected to raise Gitlab::Graphql::Errors::ResourceNotAvailable with "The resource that you are attempting to access does not exist or you don't have permission to perform this action"2882 when rule's user does not exist2883 behaves like failed update with a top-level access error2884 is expected to raise Gitlab::Graphql::Errors::ResourceNotAvailable with "The resource that you are attempting to access does not exist or you don't have permission to perform this action"2885Mutations::Issues::Update2886 behaves like updating health status2887 when the user has permission2888 and issuable_heath_status feature is disabled2889 does not update health status2890 and issuable_health_status feature is enabled2891 updates health status2892 updating parent epic2893 when epics feature is disabled2894 raises an error2895 when epics feature is enabled2896 for user without permissions2897 raises an error2898 for user with correct permissions2899 when a valid epic is given2900 updates the epic2901 returns the updated issue2902 when nil epic is given2903 set the epic to nil2904 returns the updated issue2905Epics::ReopenService2906 #execute2907 when epics are disabled2908 does not reopen the epic2909 when epics are enabled2910 when a user has permissions to update the epic2911 when reopening a closed epic2912 reopens the epic2913 removes closed_by2914 removes closed_at2915 creates a resource state event2916 notifies the subscribers2917 creates new event2918 tracks reopening the epic2919 when trying to reopen an opened epic2920 does not change the epic state2921 does not change closed_at2922 does not change closed_by2923 does not create a resource state event2924 does not send any emails2925 does not create an event2926 does not track reopening the epic2927 when a user does not have permissions to update epic2928 does not reopen the epic2929Gitlab::Vulnerabilities::StandardVulnerability2930 inherits from Gitlab::Vulnerabilities::BaseVulnerability2931 #title2932 when title is present2933 returns title2934 when title is not set2935 fallbacks to name2936 when title and name are not set2937 returns nil2938 #description2939 when description is present2940 returns description2941 when description is not set2942 fallbacks to title2943 when description and title are not set2944 fallbacks to name2945 when title, name and description are not set2946 returns nil2947 #file2948 when file is present2949 returns file2950 when file is not set2951 fallbacks to location2952 when file and location are not set2953 returns nil2954 #line2955 when line is present2956 returns line2957 when line is not set2958 fallbacks to location2959 when line and location are not set2960 returns nil2961 #location_text2962 when line is nil2963 returns a string with file2964 when line is present2965 returns a string with file and line2966 #location_link2967 when blob_path is nil2968 returns file path2969 when line is present2970 returns a string with file and line2971 #blob_path2972 when blob_path is in top level data2973 returns blob_path from top level2974 when blob_path is not in top level data but is in location data2975 returns blob_path from location data2976 when blob_path is not present2977 returns nil2978Sidebars::Groups::Menus::AnalyticsMenu2979 #link2980 returns link to the value stream page2981 when Value Stream is not visible2982 returns link to the the first visible menu item2983 Menu items2984 CI/CD2985 is expected not to be nil2986 when licensed feature :group_ci_cd_analytics is disabled2987 is expected to be nil2988 when feature flag :group_ci_cd_analytics_page is disabled2989 is expected to be nil2990 when the user does not have access2991 is expected to be nil2992 Devops adoptions2993 is expected not to be nil2994 when the user does not have access2995 is expected to be nil2996 Repository2997 is expected not to be nil2998 when licensed feature :group_coverage_reports is disabled2999 is expected to be nil3000 when licensed feature :group_repository_analytics is disabled3001 is expected to be nil3002 when the user does not have access3003 is expected to be nil3004 Contribution analytics3005 is expected not to be nil3006 when licensed feature :group_coverage_reports is disabled3007 is expected to be nil3008 when the user does not have access3009 is expected to be nil3010 when show_promotions? is true3011 is expected not to be nil3012 Insights3013 is expected not to be nil3014 when insights are not available3015 is expected to be nil3016 Issue analytics3017 is expected not to be nil3018 when licensed feature :issues_analytics is disabled3019 is expected to be nil3020 Productivity analytics3021 is expected not to be nil3022 when licensed feature :productivity_analytics is disabled3023 is expected to be nil3024 when the user does not have access3025 is expected to be nil3026 Value Stream3027 is expected not to be nil3028 when licensed feature :cycle_analytics_for_groups is disabled3029 is expected to be nil3030 when the user does not have access3031 is expected to be nil3032EpicIssues::UpdateService3033 #execute3034 when moving issues between different epics3035 returns an error3036 does not change the relative_position values3037 moving issue to the first position3038 when some positions are close to each other3039 orders issues correctly3040 when there is enough place between positions3041 orders issues correctly3042 moving issue to the third position3043 when some positions are close to each other3044 orders issues correctly3045 when all positions are same3046 orders affected 2 issues correctly3047 when there is enough place between positions3048 orders issues correctly3049 moving issues to the last position3050 when index of the last possition is correct3051 orders issues correctly3052SoftwareLicensePolicy3053 validations3054 is expected to includes the Presentable module3055 is expected to validate that :software_license cannot be empty/falsy3056 is expected to validate that :project cannot be empty/falsy3057 is expected to validate that :classification cannot be empty/falsy3058 is expected to validate that :software_license is case-sensitively unique within the scope of :project_id, producing a custom validation error on failure3059 .with_license_by_name3060 finds a license by an exact match3061 finds a license by a case insensitive match3062 finds multiple licenses3063 .by_spdx3064 is expected to contain exactly #<SoftwareLicensePolicy id: 10, project_id: 420, software_license_id: 10, classification: "allowed", ...reated_at: "2021-08-18 10:42:54.982475971 +0000", updated_at: "2021-08-18 10:42:54.982475971 +0000">3065 is expected to contain exactly #<SoftwareLicensePolicy id: 10, project_id: 420, software_license_id: 10, classification: "allowed", ...reated_at: "2021-08-18 10:42:54.982475971 +0000", updated_at: "2021-08-18 10:42:54.982475971 +0000"> and #<SoftwareLicensePolicy id: 11, project_id: 421, software_license_id: 11, classification: "allowed", ...reated_at: "2021-08-18 10:42:55.155951107 +0000", updated_at: "2021-08-18 10:42:55.155951107 +0000">3066 is expected to be empty3067 #name3068 is expected to eql "SOFTWARE-LICENSE-2.7/example_6"3069 #approval_status3070 classification: "allowed", approval_status: "approved"3071 is expected to eql "approved"3072 classification: "denied", approval_status: "blacklisted"3073 is expected to eql "blacklisted"3074 .to_classification3075 approval_status: "approved", classification: "allowed"3076 is expected to eql "allowed"3077 approval_status: "blacklisted", classification: "denied"3078 is expected to eql "denied"3079EE::Mentionable3080 Epic3081 #store_mentions!3082 behaves like mentions in description3083 when storing user mentions3084 when mentionable description has no mentions3085 stores no mentions3086 when mentionable description contains mentions3087 stores mentions3088 behaves like mentions in notes3089 when mentionable notes contain mentions3090 returns all mentionable mentions3091 load mentions3092 behaves like load mentions from DB3093 load stored mentions3094 when stored user mention contains ids of inexistent records3095 filters out inexistent mentions3096 when private projects and groups are mentioned3097 when user has no access to some mentions3098 filters out inaccessible mentions3099 when user has access to all mentions3100 returns all mentions3101Boards::EpicLists::ListService3102 #execute3103 behaves like lists list service3104 when the board has a backlog list3105 does not create a backlog list3106 returns board's lists3107 when hide_backlog_list is true3108 hides backlog list3109 when hide_closed_list is true3110 hides closed list3111 when the board does not have a backlog list3112 creates a backlog list3113 does not create a backlog list when create_default_lists is false3114 returns board's lists3115 when wanting a specific list3116 returns list specified by id3117 returns empty result when list is not found3118Security::Scan3119 sets `project_id` and `pipeline_id` before save3120 associations3121 is expected to belong to build required:3122 is expected to have one pipeline class_name => Ci::Pipeline through build3123 is expected to have many findings3124 validations3125 is expected to validate that :build_id cannot be empty/falsy3126 is expected to validate that :scan_type cannot be empty/falsy3127 info3128 when the value for info field is valid3129 is expected to be empty3130 when the value for info field is invalid3131 is expected not to be empty3132 #project3133 is expected to delegate #project to the #build object3134 #name3135 is expected to delegate #name to the #build object3136 #has_errors?3137 when the info attribute is nil3138 is expected to be falsey3139 when the info attribute presents3140 when there is no error3141 is expected to be falsey3142 when there are errors3143 is expected to be truthy3144 .by_scan_types3145 is expected to contain exactly #<Security::Scan id: 2, created_at: "2021-08-18 10:43:03.879967212 +0000", updated_at: "2021-08-18 10...43:03.879967212 +0000", build_id: 48, scan_type: "sast", info: {}, project_id: 425, pipeline_id: 67>3146 .latest_successful_by_build3147 is expected to contain exactly #<Security::Scan id: 5, created_at: "2021-08-18 10:43:04.736001441 +0000", updated_at: "2021-08-18 10...43:04.736001441 +0000", build_id: 51, scan_type: "dast", info: {}, project_id: 428, pipeline_id: 70>3148 .has_dismissal_feedback3149 is expected to contain exactly #<Security::Scan id: 7, created_at: "2021-08-18 10:43:05.350649669 +0000", updated_at: "2021-08-18 10...43:05.350649669 +0000", build_id: 53, scan_type: "dast", info: {}, project_id: 430, pipeline_id: 72>3150 behaves like having unique enum values3151 has unique values in "scan_type"3152Mutations::Issues::SetEpic3153 #resolve3154 behaves like permission level for issue mutation is correctly verified3155 when the user is not a project member3156 behaves like when the user does not have access to the resource3157 raises an error3158 even if assigned to the issue3159 does not modify issue3160 even if author of the issue3161 raises an error3162 when the user is a project member3163 with guest role3164 behaves like when the user does not have access to the resource3165 raises an error3166 even if assigned to the issue3167 does not modify issue3168 even if author of the issue3169 raises an error3170 when the user can update the issue3171 raises an error if the epic is not accessible to the user3172 when user can admin epic3173 returns the issue with the epic3174 returns errors if issue could not be updated3175 when passing epic_id as nil3176 removes the epic3177 does not do anything if the issue already does not have a epic3178Mutations::Boards::Lists::Create3179 #ready?3180 raises an error if required arguments are missing3181 raises an error if too many required arguments are specified3182 #resolve3183 with proper permissions3184 milestone list3185 creates a new issue board list for milestones3186 when feature unavailable3187 returns an error3188 when milestone not found3189 returns an error3190 assignee list3191 creates a new issue board list for assignees3192 when feature unavailable3193 returns an error3194 when user not found3195 returns an error3196 iteration list3197 creates a new issue board list for the iteration3198 when feature unavailable3199 returns an error3200 when feature flag is disabled3201 returns an error3202 when iteration not found3203 returns an error3204 without proper permissions3205 raises an error3206EE::EnvironmentSerializer3207 behaves like avoid N+1 on environments serialization3208 avoids N+1 database queries with grouping3209 avoids N+1 database queries without grouping3210 does not preload for environments that does not exist in the page3211Boards::Issues::CreateService3212 #execute3213 saved board configuration3214 adds the board assignee, weight, labels and milestone to the issue3215 when board is scoped by weight3216 creates issue weight 0 weight3217 creates issue with nil weight3218 when board weight is invalid3219 creates issue with nil weight3220 assignees list3221 assigns the issue to the List assignee3222 milestone list3223 assigns the issue to the list milestone3224Security::SecurityOrchestrationPolicies::PolicyConfigurationValidationService3225 #execute3226 when all components are valid3227 returns success3228 when security_orchestration_policies_configuration is missing3229 returns an error3230 when security_orchestration_policies_configuration is invalid3231 returns an error3232 when type parameter is missing3233 returns an error3234 when retrieving an invalid policy type3235 returns an error3236 when type is container_runtime3237 when environment_id is missing3238 returns an error3239 when policy.yml is empty3240 returns an error3241Gitlab::CodeOwners::GroupsLoader3242 #load_to3243 input has no matching group paths3244 returns an empty list of groups3245 nil input3246 returns an empty relation when nil was passed3247 input matches group paths3248 returns the groups case insensitive for names3249 input matches project.group3250 returns the project's group3251 input as array of strings3252 is treated as one string3253 nested groups3254 returns nested groups by mentioned full paths3255Mutations::Dast::Profiles::Delete3256 is expected to require graphql authorizations :create_on_demand_dast_scan3257 #resolve3258 when the user cannot read the project3259 raises an exception3260 when the user can destroy a DAST profile3261 deletes the profile3262 when the dast_profile does not exist3263 raises an exception3264 when DAST profile belongs to a project the user does not have access to3265 raises an exception3266 when deletion fails3267 returns an error3268SystemNotes::IssuablesService3269 #change_health_status_note3270 tracks the issue event in usage ping3271 when health_status changed3272 sets the note text3273 behaves like a system note3274 has the correct attributes3275 when health_status removed3276 sets the note text3277 behaves like a system note3278 has the correct attributes3279 #publish_issue_to_status_page3280 sets the note text3281 behaves like a system note3282 has the correct attributes3283 #cross_reference3284 when noteable is an epic3285 tracks epic cross reference event in usage ping3286 behaves like a system note3287 has the correct attributes3288 when notable is not an epic3289 does not tracks epic cross reference event in usage ping3290EE::Gitlab::Scim::ParamsParser3291 #filter_params3292 returns the correct filter attributes3293 returns an empty hash for the wrong filter3294 #filter_operator3295 returns the operator as a symbol3296 returns nil if the filter is invalid3297 #update_params3298 when path key is present3299 behaves like scim operation active false3300 returns the correct operation attributes3301 behaves like scim operation empty3302 returns an empty hash for the wrong operations3303 behaves like scim operation update name3304 can update name from displayName3305 when path key is not present3306 behaves like scim operation active false3307 returns the correct operation attributes3308 behaves like scim operation empty3309 returns an empty hash for the wrong operations3310 behaves like scim operation update name3311 can update name from displayName3312 with capitalized op values for Azure3313 behaves like scim operation active false3314 returns the correct operation attributes3315 #post_params3316 returns a parsed hash for POST params3317 can construct a name from givenName and familyName3318 falls back to displayName when other names are missing3319 #deprovision_user?3320 returns true when deprovisioning3321 returns false when not deprovisioning3322 returns true when deprovisioning without a path key3323 #reprovision_user?3324 returns true when reprovisioning3325 returns false when not reprovisioning3326Resolvers::Iterations::CadencesResolver3327 #resolve3328 iterations cadences for project3329 behaves like fetches iteration cadences3330 when user does not have permissions to read iterations cadences3331 raises error3332 when user has permissions to read iterations cadences3333 returns iterations cadences from group3334 when iteration cadences feature is disabled3335 returns no results3336 when project does not have a parent group3337 raises error3338 iterations cadences for group3339 behaves like fetches iteration cadences3340 when user does not have permissions to read iterations cadences3341 raises error3342 when user has permissions to read iterations cadences3343 returns iterations cadences from group3344 when iteration cadences feature is disabled3345 returns no results3346Gitlab::Middleware::ReadOnly3347 when maintenance mode is on3348 behaves like write access for a read-only GitLab (EE) instance in maintenance mode3349 normal requests to a read-only GitLab instance3350 expects a PUT request to /api/v4/application/settings to be allowed3351 expects a POST request to /admin/application_settings/general to be allowed3352 on Geo secondary3353 expects a PUT request to /api/v4/application/settings to not be allowed3354 description: "LFS request to batch", path: "/root/rouge.git/info/lfs/objects/batch"3355 expects a POST description: "LFS request to batch", path: "/root/rouge.git/info/lfs/objects/batch" URL to be allowed3356 expects a POST description: "LFS request to batch", path: "/root/rouge.git/info/lfs/objects/batch" URL with trailing slash to be allowed3357 description: "to geo replication node api", path: "/api/v4/geo_replication/designs/resync"3358 expects a POST description: "to geo replication node api", path: "/api/v4/geo_replication/designs/resync" URL to be allowed3359 expects a POST description: "to geo replication node api", path: "/api/v4/geo_replication/designs/resync" URL with trailing slash to be allowed3360 description: "LFS request to locks verify", path: "/root/rouge.git/info/lfs/locks/verify"3361 expects a POST description: "LFS request to locks verify", path: "/root/rouge.git/info/lfs/locks/verify" URL to not be allowed3362 expects a POST description: "LFS request to locks verify", path: "/root/rouge.git/info/lfs/locks/verify" URL with traling slash to not be allowed3363 description: "LFS request to locks create", path: "/root/rouge.git/info/lfs/locks"3364 expects a POST description: "LFS request to locks create", path: "/root/rouge.git/info/lfs/locks" URL to not be allowed3365 expects a POST description: "LFS request to locks create", path: "/root/rouge.git/info/lfs/locks" URL with traling slash to not be allowed3366 description: "LFS request to locks unlock", path: "/root/rouge.git/info/lfs/locks/1/unlock"3367 expects a POST description: "LFS request to locks unlock", path: "/root/rouge.git/info/lfs/locks/1/unlock" URL to not be allowed3368 expects a POST description: "LFS request to locks unlock", path: "/root/rouge.git/info/lfs/locks/1/unlock" URL with traling slash to not be allowed3369 description: "git-receive-pack", path: "/root/rouge.git/git-receive-pack"3370 expects a POST description: "git-receive-pack", path: "/root/rouge.git/git-receive-pack" URL to not be allowed3371 expects a POST description: "git-receive-pack", path: "/root/rouge.git/git-receive-pack" URL with traling slash to not be allowed3372 description: "application settings", path: "/admin/application_settings/general"3373 expects a POST description: "application settings", path: "/admin/application_settings/general" URL to not be allowed3374 expects a POST description: "application settings", path: "/admin/application_settings/general" URL with traling slash to not be allowed3375 when not on Geo secondary3376 description: "LFS request to locks verify", path: "/root/rouge.git/info/lfs/locks/verify"3377 expects a POST description: "LFS request to locks verify", path: "/root/rouge.git/info/lfs/locks/verify" URL not to be allowed3378 expects a POST description: "LFS request to locks verify", path: "/root/rouge.git/info/lfs/locks/verify" URL with trailing backslash not to be allowed3379 description: "LFS request to locks create", path: "/root/rouge.git/info/lfs/locks"3380 expects a POST description: "LFS request to locks create", path: "/root/rouge.git/info/lfs/locks" URL not to be allowed3381 expects a POST description: "LFS request to locks create", path: "/root/rouge.git/info/lfs/locks" URL with trailing backslash not to be allowed3382 description: "LFS request to locks unlock", path: "/root/rouge.git/info/lfs/locks/1/unlock"3383 expects a POST description: "LFS request to locks unlock", path: "/root/rouge.git/info/lfs/locks/1/unlock" URL not to be allowed3384 expects a POST description: "LFS request to locks unlock", path: "/root/rouge.git/info/lfs/locks/1/unlock" URL with trailing backslash not to be allowed3385 description: "sign in route", path: "/users/sign_in"3386 expects a POST to description: "sign in route", path: "/users/sign_in" URL to be allowed3387 expects a POST to description: "sign in route", path: "/users/sign_in" URL with trailing slash to be allowed3388 description: "oauth token route", path: "/oauth/token"3389 expects a POST to description: "oauth token route", path: "/oauth/token" URL to be allowed3390 expects a POST to description: "oauth token route", path: "/oauth/token" URL with trailing slash to be allowed3391 when maintenance mode is not on3392 behaves like write access for a read-only GitLab (EE) instance3393 normal requests to a read-only GitLab instance3394 on Geo secondary3395 description: "LFS request to batch", path: "/root/rouge.git/info/lfs/objects/batch"3396 expects a POST description: "LFS request to batch", path: "/root/rouge.git/info/lfs/objects/batch" URL to be allowed3397 expects a POST description: "LFS request to batch", path: "/root/rouge.git/info/lfs/objects/batch" URL with a trailing slash to be allowed3398 description: "LFS request to locks verify", path: "/root/rouge.git/info/lfs/locks/verify"3399 expects a POST description: "LFS request to locks verify", path: "/root/rouge.git/info/lfs/locks/verify" URL to be allowed3400 expects a POST description: "LFS request to locks verify", path: "/root/rouge.git/info/lfs/locks/verify" URL with a trailing slash to be allowed3401 description: "LFS request to locks create", path: "/root/rouge.git/info/lfs/locks"3402 expects a POST description: "LFS request to locks create", path: "/root/rouge.git/info/lfs/locks" URL to be allowed3403 expects a POST description: "LFS request to locks create", path: "/root/rouge.git/info/lfs/locks" URL with a trailing slash to be allowed3404 description: "LFS request to locks unlock", path: "/root/rouge.git/info/lfs/locks/1/unlock"3405 expects a POST description: "LFS request to locks unlock", path: "/root/rouge.git/info/lfs/locks/1/unlock" URL to be allowed3406 expects a POST description: "LFS request to locks unlock", path: "/root/rouge.git/info/lfs/locks/1/unlock" URL with a trailing slash to be allowed3407 description: "to geo replication node api", path: "/api/v4/geo_replication/designs/resync"3408 expects a POST description: "to geo replication node api", path: "/api/v4/geo_replication/designs/resync" URL to be allowed3409 expects a POST description: "to geo replication node api", path: "/api/v4/geo_replication/designs/resync" URL with a trailing slash to be allowed3410 description: "git-receive-pack", path: "/root/rouge.git/git-receive-pack"3411 expects a POST description: "git-receive-pack", path: "/root/rouge.git/git-receive-pack" URL to be allowed3412 expects a POST description: "git-receive-pack", path: "/root/rouge.git/git-receive-pack" URL with a trailing slash to be allowed3413Analytics::DevopsAdoption::Snapshot3414 is expected to belong to namespace required:3415 is expected to validate that :namespace cannot be empty/falsy3416 is expected to validate that :recorded_at cannot be empty/falsy3417 is expected to validate that :end_time cannot be empty/falsy3418 .latest_for_namespace_ids3419 returns for previous month finalized snapshot for the given namespace ids based on snapshot end_time3420 .for_month3421 returns all snapshots where end_time equals given datetime end of month3422 .not_finalized3423 returns all snapshots which were recorded earlier than snapshot end_time3424 .finalized3425 returns all snapshots which were recorded later than snapshot end_time3426 .for_timespan3427 returns snapshots for given timespan3428 .for_namespaces3429 returns all snapshots with given namespaces3430 #start_time3431 is start of the month of end_time3432IncidentManagement::OncallShifts::ReadService3433 #execute3434 when the current_user is anonymous3435 behaves like error response3436 has an informative message3437 when the current_user does not have permissions to create on-call schedules3438 behaves like error response3439 has an informative message3440 when feature is not available3441 behaves like error response3442 has an informative message3443 when the start time is after the end time3444 behaves like error response3445 has an informative message3446 when timeframe exceeds one month3447 behaves like error response3448 has an informative message3449 when timeframe is exactly 1 month3450 is expected to be success3451 with time frozen3452 when timeframe spans the current time3453 successfully returns a sorted collection of IncidentManagement::OncallShifts3454 when timeframe is entirely in the past3455 successfully returns a sorted collection of IncidentManagement::OncallShifts3456 when timeframe is entirely in the future3457 successfully returns a sorted collection of IncidentManagement::OncallShifts3458ElasticNamespaceRolloutWorker3459 rolls out and back3460 distinguishes different plans3461 logs3462Issues::BuildService3463 with an issue template3464 #execute3465 fills in the template in the description3466 for a single thread3467 #execute3468 with an issue template3469 picks the thread description over the issue template3470 #execute3471 as developer3472 sets the issue type to issue3473 sets the issue type to incident3474 sets the issue type to test_case3475 sets the issue type to requirement3476 as guest3477 setting issue type3478 cannot set the issue type to test_case3479 cannot set the issue type to requirement3480clusters/clusters/show3481 when the cluster details page is opened3482 with project level cluster3483 behaves like cluster health section3484 displays the Cluster health section3485 with group level cluster3486 behaves like cluster health section3487 displays the Cluster health section3488ApprovalWrappedAnyApproverRule3489 #approved?3490 #approvals_approvers3491 contains every approved user3492 when an author and a committer approved3493 does not contain an author3494 #commented_approvers3495 returns an array3496 returns an array of approvers who have commented3497ElasticRemoveExpiredNamespaceSubscriptionsFromIndexCronWorker3498 behaves like an idempotent worker3499 is labeled as idempotent3500 performs multiple times sequentially without raising an exception3501 finds the subscriptions that expired over a week ago that are in the index and deletes them3502 when not dev_env_or_com?3503 does nothing3504 when the exclusive lease is already locked3505 does nothing3506Gitlab::Analytics::CycleAnalytics::StageEvents::IssueLabelRemoved3507 behaves like value stream analytics event3508 is expected to be a kind of String3509 is expected to be a kind of Symbol3510 is expected to include ApplicationRecord(abstract)3511 is expected to respond to #timestamp_projection3512 is expected to respond to #markdown_description3513 is expected to be a kind of Array3514 #apply_query_customization3515 expects an ActiveRecord::Relation object as argument and returns a modified version of it3516 #hash_code3517 returns a hash that uniquely identifies an event3518 does not differ when the same object is built with the same params3519EE::ProjectSecurityScannersInformation3520 #available_scanners3521 returns a list of all scanners available for the project3522 #enabled_scanners3523 returns a list of all scanners enabled for the project3524 #scanners_run_by_last_pipeline3525 returns a list of all scanners which were run successfully in the latest pipeline3526 does not include non-security scanners3527 when pipeline has no build reports3528 is expected to be empty3529Security::SecurityOrchestrationPolicies::ProjectCreateService3530 #execute3531 when security_orchestration_policies_configuration does not exist for project3532 creates policy project with maintainers and developers from target project as developers3533 when adding users to security policy project fails3534 returns error3535 when project creation fails3536 returns error3537 when security_orchestration_policies_configuration already exists for project3538 returns error3539EE::SubscribableBannerHelper3540 #renew_subscription_path3541 does not raise error if available project is not persisted3542 does not raise error if entity is not available3543 #gitlab_subscription_or_license3544 when instance variable true3545 when should_check_namespace_plan is true3546 when a project exists3547 behaves like when a subscription exists3548 returns a decorator3549 when a group exists3550 behaves like when a subscription exists3551 returns a decorator3552 when should_check_namespace_plan is false3553 returns the current license3554 when instance variable false3555 returns the current license3556 with a future dated license3557 returns the current license3558 #gitlab_subscription_message_or_license_message3559 when instance variable true3560 when should_check_namespace_plan is true3561 when a project is present3562 behaves like subscription message3563 calls Gitlab::ExpiringSubscriptionMessage and SubscriptionPresenter if is Gitlab.com?3564 when a group is present3565 behaves like subscription message3566 calls Gitlab::ExpiringSubscriptionMessage and SubscriptionPresenter if is Gitlab.com?3567 when should_check_namespace_plan is false3568 calls Gitlab::ExpiringSubscriptionMessage to get expiring message3569 when instance variable false3570 returns the license message3571 #display_subscription_banner!3572 sets @display_subscription_banner to true3573Dast::SiteProfilesBuild3574 associations3575 is expected to belong to ci_build class_name => Ci::Build required: true3576 is expected to belong to dast_site_profile class_name => DastSiteProfile required: true3577 validations3578 is expected to be valid3579 is expected to validate that :ci_build_id cannot be empty/falsy3580 is expected to validate that :dast_site_profile_id cannot be empty/falsy3581 when the ci_build.project_id and dast_site_profile.project_id do not match3582 is not valid3583Gitlab::SPDX::Catalogue3584 #version3585 is expected to eql "f9cd7118-9250-4f31-9bf6-47c3e1cbb868"3586 #each3587 is expected to eql 3963588 is expected to contain exactly "0BSD", "AAL", "ADSL", "AFL-1.1", "AFL-1.2", "AFL-2.0", "AFL-2.1", "AFL-3.0", "AGPL-1.0", "AGPL-1.0-only", "AGPL-1.0-or-later", "AGPL-3.0", "AGPL-3.0-only", "AGPL-3.0-or-later", "AMDPLPA", "AML", "AMPAS", "ANTLR-PD", "APAFML", "APL-1.0", "APSL-1.0", "APSL-1.1", "APSL-1.2", "APSL-2.0", "Abstyles", "Adobe-2006", "Adobe-Glyph", "Afmparse", "Aladdin", "Apache-1.0", "Apache-1.1", "Apache-2.0", "Artistic-1.0", "Artistic-1.0-Perl", "Artistic-1.0-cl8", "Artistic-2.0", "BSD-1-Clause", "BSD-2-Clause", "BSD-2-Clause-FreeBSD", "BSD-2-Clause-NetBSD", "BSD-2-Clause-Patent", "BSD-3-Clause", "BSD-3-Clause-Attribution", "BSD-3-Clause-Clear", "BSD-3-Clause-LBNL", "BSD-3-Clause-No-Nuclear-License", "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause-No-Nuclear-Warranty", "BSD-3-Clause-Open-MPI", "BSD-4-Clause", "BSD-4-Clause-UC", "BSD-Protection", "BSD-Source-Code", "BSL-1.0", "Bahyph", "Barr", "Beerware", "BitTorrent-1.0", "BitTorrent-1.1", "BlueOak-1.0.0", "Borceux", "CATOSL-1.1", "CC-BY-1.0", "CC-BY-2.0", "CC-BY-2.5", "CC-BY-3.0", "CC-BY-4.0", "CC-BY-NC-1.0", "CC-BY-NC-2.0", "CC-BY-NC-2.5", "CC-BY-NC-3.0", "CC-BY-NC-4.0", "CC-BY-NC-ND-1.0", "CC-BY-NC-ND-2.0", "CC-BY-NC-ND-2.5", "CC-BY-NC-ND-3.0", "CC-BY-NC-ND-4.0", "CC-BY-NC-SA-1.0", "CC-BY-NC-SA-2.0", "CC-BY-NC-SA-2.5", "CC-BY-NC-SA-3.0", "CC-BY-NC-SA-4.0", "CC-BY-ND-1.0", "CC-BY-ND-2.0", "CC-BY-ND-2.5", "CC-BY-ND-3.0", "CC-BY-ND-4.0", "CC-BY-SA-1.0", "CC-BY-SA-2.0", "CC-BY-SA-2.5", "CC-BY-SA-3.0", "CC-BY-SA-4.0", "CC-PDDC", "CC0-1.0", "CDDL-1.0", "CDDL-1.1", "CDLA-Permissive-1.0", "CDLA-Sharing-1.0", "CECILL-1.0", "CECILL-1.1", "CECILL-2.0", "CECILL-2.1", "CECILL-B", "CECILL-C", "CERN-OHL-1.1", "CERN-OHL-1.2", "CNRI-Jython", "CNRI-Python", "CNRI-Python-GPL-Compatible", "CPAL-1.0", "CPL-1.0", "CPOL-1.02", "CUA-OPL-1.0", "Caldera", "ClArtistic", "Condor-1.1", "Crossword", "CrystalStacker", "Cube", "D-FSL-1.0", "DOC", "DSDP", "Dotseqn", "ECL-1.0", "ECL-2.0", "EFL-1.0", "EFL-2.0", "EPL-1.0", "EPL-2.0", "EUDatagrid", "EUPL-1.0", "EUPL-1.1", "EUPL-1.2", "Entessa", "ErlPL-1.1", "Eurosym", "FSFAP", "FSFUL", "FSFULLR", "FTL", "Fair", "Frameworx-1.0", "FreeImage", "GFDL-1.1", "GFDL-1.1-only", "GFDL-1.1-or-later", "GFDL-1.2", "GFDL-1.2-only", "GFDL-1.2-or-later", "GFDL-1.3", "GFDL-1.3-only", "GFDL-1.3-or-later", "GL2PS", "GPL-1.0", "GPL-1.0+", "GPL-1.0-only", "GPL-1.0-or-later", "GPL-2.0", "GPL-2.0+", "GPL-2.0-only", "GPL-2.0-or-later", "GPL-2.0-with-GCC-exception", "GPL-2.0-with-autoconf-exception", "GPL-2.0-with-bison-exception", "GPL-2.0-with-classpath-exception", "GPL-2.0-with-font-exception", "GPL-3.0", "GPL-3.0+", "GPL-3.0-only", "GPL-3.0-or-later", "GPL-3.0-with-GCC-exception", "GPL-3.0-with-autoconf-exception", "Giftware", "Glide", "Glulxe", "HPND", "HPND-sell-variant", "HaskellReport", "IBM-pibs", "ICU", "IJG", "IPA", "IPL-1.0", "ISC", "ImageMagick", "Imlib2", "Info-ZIP", "Intel", "Intel-ACPI", "Interbase-1.0", "JPNIC", "JSON", "JasPer-2.0", "LAL-1.2", "LAL-1.3", "LGPL-2.0", "LGPL-2.0+", "LGPL-2.0-only", "LGPL-2.0-or-later", "LGPL-2.1", "LGPL-2.1+", "LGPL-2.1-only", "LGPL-2.1-or-later", "LGPL-3.0", "LGPL-3.0+", "LGPL-3.0-only", "LGPL-3.0-or-later", "LGPLLR", "LPL-1.0", "LPL-1.02", "LPPL-1.0", "LPPL-1.1", "LPPL-1.2", "LPPL-1.3a", "LPPL-1.3c", "Latex2e", "Leptonica", "LiLiQ-P-1.1", "LiLiQ-R-1.1", "LiLiQ-Rplus-1.1", "Libpng", "Linux-OpenIB", "MIT", "MIT-0", "MIT-CMU", "MIT-advertising", "MIT-enna", "MIT-feh", "MITNFA", "MPL-1.0", "MPL-1.1", "MPL-2.0", "MPL-2.0-no-copyleft-exception", "MS-PL", "MS-RL", "MTLL", "MakeIndex", "MirOS", "Motosoto", "Multics", "Mup", "NASA-1.3", "NBPL-1.0", "NCSA", "NGPL", "NLOD-1.0", "NLPL", "NOSL", "NPL-1.0", "NPL-1.1", "NPOSL-3.0", "NRL", "NTP", "Naumen", "Net-SNMP", "NetCDF", "Newsletr", "Nokia", "Noweb", "Nunit", "OCCT-PL", "OCLC-2.0", "ODC-By-1.0", "ODbL-1.0", "OFL-1.0", "OFL-1.1", "OGL-UK-1.0", "OGL-UK-2.0", "OGL-UK-3.0", "OGTSL", "OLDAP-1.1", "OLDAP-1.2", "OLDAP-1.3", "OLDAP-1.4", "OLDAP-2.0", "OLDAP-2.0.1", "OLDAP-2.1", "OLDAP-2.2", "OLDAP-2.2.1", "OLDAP-2.2.2", "OLDAP-2.3", "OLDAP-2.4", "OLDAP-2.5", "OLDAP-2.6", "OLDAP-2.7", "OLDAP-2.8", "OML", "OPL-1.0", "OSET-PL-2.1", "OSL-1.0", "OSL-1.1", "OSL-2.0", "OSL-2.1", "OSL-3.0", "OpenSSL", "PDDL-1.0", "PHP-3.0", "PHP-3.01", "Parity-6.0.0", "Plexus", "PostgreSQL", "Python-2.0", "QPL-1.0", "Qhull", "RHeCos-1.1", "RPL-1.1", "RPL-1.5", "RPSL-1.0", "RSA-MD", "RSCPL", "Rdisc", "Ruby", "SAX-PD", "SCEA", "SGI-B-1.0", "SGI-B-1.1", "SGI-B-2.0", "SHL-0.5", "SHL-0.51", "SISSL", "SISSL-1.2", "SMLNJ", "SMPPL", "SNIA", "SPL-1.0", "SSPL-1.0", "SWL", "Saxpath", "Sendmail", "Sendmail-8.23", "SimPL-2.0", "Sleepycat", "Spencer-86", "Spencer-94", "Spencer-99", "StandardML-NJ", "SugarCRM-1.1.3", "TAPR-OHL-1.0", "TCL", "TCP-wrappers", "TMate", "TORQUE-1.1", "TOSL", "TU-Berlin-1.0", "TU-Berlin-2.0", "UPL-1.0", "Unicode-DFS-2015", "Unicode-DFS-2016", "Unicode-TOU", "Unlicense", "VOSTROM", "VSL-1.0", "Vim", "W3C", "W3C-19980720", "W3C-20150513", "WTFPL", "Watcom-1.0", "Wsuipa", "X11", "XFree86-1.1", "XSkat", "Xerox", "Xnet", "YPL-1.0", "YPL-1.1", "ZPL-1.1", "ZPL-2.0", "ZPL-2.1", "Zed", "Zend-2.0", "Zimbra-1.3", "Zimbra-1.4", "Zlib", "blessing", "bzip2-1.0.5", "bzip2-1.0.6", "copyleft-next-0.3.0", "copyleft-next-0.3.1", "curl", "diffmark", "dvipdfm", "eCos-2.0", "eGenix", "gSOAP-1.3b", "gnuplot", "iMatix", "libpng-2.0", "libtiff", "mpich2", "psfrag", "psutils", "wxWindows", "xinetd", "xpp", and "zlib-acknowledgement"3589 is expected to contain exactly "BSD Zero Clause License", "Attribution Assurance License", "Amazon Digital Services License", "Academic Free License v1.1", "Academic Free License v1.2", "Academic Free License v2.0", "Academic Free License v2.1", "Academic Free License v3.0", "Affero General Public License v1.0", "Affero General Public License v1.0 only", "Affero General Public License v1.0 or later", "GNU Affero General Public License v3.0", "GNU Affero General Public License v3.0 only", "GNU Affero General Public License v3.0 or later", "AMD's plpa_map.c License", "Apple MIT License", "Academy of Motion Picture Arts and Sciences BSD", "ANTLR Software Rights Notice", "Adobe Postscript AFM License", "Adaptive Public License 1.0", "Apple Public Source License 1.0", "Apple Public Source License 1.1", "Apple Public Source License 1.2", "Apple Public Source License 2.0", "Abstyles License", "Adobe Systems Incorporated Source Code License Agreement", "Adobe Glyph List License", "Afmparse License", "Aladdin Free Public License", "Apache License 1.0", "Apache License 1.1", "Apache License 2.0", "Artistic License 1.0", "Artistic License 1.0 (Perl)", "Artistic License 1.0 w/clause 8", "Artistic License 2.0", "BSD 1-Clause License", "BSD 2-Clause \"Simplified\" License", "BSD 2-Clause FreeBSD License", "BSD 2-Clause NetBSD License", "BSD-2-Clause Plus Patent License", "BSD 3-Clause \"New\" or \"Revised\" License", "BSD with attribution", "BSD 3-Clause Clear License", "Lawrence Berkeley National Labs BSD variant license", "BSD 3-Clause No Nuclear License", "BSD 3-Clause No Nuclear License 2014", "BSD 3-Clause No Nuclear Warranty", "BSD 3-Clause Open MPI variant", "BSD 4-Clause \"Original\" or \"Old\" License", "BSD-4-Clause (University of California-Specific)", "BSD Protection License", "BSD Source Code Attribution", "Boost Software License 1.0", "Bahyph License", "Barr License", "Beerware License", "BitTorrent Open Source License v1.0", "BitTorrent Open Source License v1.1", "Blue Oak Model License 1.0.0", "Borceux license", "Computer Associates Trusted Open Source License 1.1", "Creative Commons Attribution 1.0 Generic", "Creative Commons Attribution 2.0 Generic", "Creative Commons Attribution 2.5 Generic", "Creative Commons Attribution 3.0 Unported", "Creative Commons Attribution 4.0 International", "Creative Commons Attribution Non Commercial 1.0 Generic", "Creative Commons Attribution Non Commercial 2.0 Generic", "Creative Commons Attribution Non Commercial 2.5 Generic", "Creative Commons Attribution Non Commercial 3.0 Unported", "Creative Commons Attribution Non Commercial 4.0 International", "Creative Commons Attribution Non Commercial No Derivatives 1.0 Generic", "Creative Commons Attribution Non Commercial No Derivatives 2.0 Generic", "Creative Commons Attribution Non Commercial No Derivatives 2.5 Generic", "Creative Commons Attribution Non Commercial No Derivatives 3.0 Unported", "Creative Commons Attribution Non Commercial No Derivatives 4.0 International", "Creative Commons Attribution Non Commercial Share Alike 1.0 Generic", "Creative Commons Attribution Non Commercial Share Alike 2.0 Generic", "Creative Commons Attribution Non Commercial Share Alike 2.5 Generic", "Creative Commons Attribution Non Commercial Share Alike 3.0 Unported", "Creative Commons Attribution Non Commercial Share Alike 4.0 International", "Creative Commons Attribution No Derivatives 1.0 Generic", "Creative Commons Attribution No Derivatives 2.0 Generic", "Creative Commons Attribution No Derivatives 2.5 Generic", "Creative Commons Attribution No Derivatives 3.0 Unported", "Creative Commons Attribution No Derivatives 4.0 International", "Creative Commons Attribution Share Alike 1.0 Generic", "Creative Commons Attribution Share Alike 2.0 Generic", "Creative Commons Attribution Share Alike 2.5 Generic", "Creative Commons Attribution Share Alike 3.0 Unported", "Creative Commons Attribution Share Alike 4.0 International", "Creative Commons Public Domain Dedication and Certification", "Creative Commons Zero v1.0 Universal", "Common Development and Distribution License 1.0", "Common Development and Distribution License 1.1", "Community Data License Agreement Permissive 1.0", "Community Data License Agreement Sharing 1.0", "CeCILL Free Software License Agreement v1.0", "CeCILL Free Software License Agreement v1.1", "CeCILL Free Software License Agreement v2.0", "CeCILL Free Software License Agreement v2.1", "CeCILL-B Free Software License Agreement", "CeCILL-C Free Software License Agreement", "CERN Open Hardware License v1.1", "CERN Open Hardware Licence v1.2", "CNRI Jython License", "CNRI Python License", "CNRI Python Open Source GPL Compatible License Agreement", "Common Public Attribution License 1.0", "Common Public License 1.0", "Code Project Open License 1.02", "CUA Office Public License v1.0", "Caldera License", "Clarified Artistic License", "Condor Public License v1.1", "Crossword License", "CrystalStacker License", "Cube License", "Deutsche Freie Software Lizenz", "DOC License", "DSDP License", "Dotseqn License", "Educational Community License v1.0", "Educational Community License v2.0", "Eiffel Forum License v1.0", "Eiffel Forum License v2.0", "Eclipse Public License 1.0", "Eclipse Public License 2.0", "EU DataGrid Software License", "European Union Public License 1.0", "European Union Public License 1.1", "European Union Public License 1.2", "Entessa Public License v1.0", "Erlang Public License v1.1", "Eurosym License", "FSF All Permissive License", "FSF Unlimited License", "FSF Unlimited License (with License Retention)", "Freetype Project License", "Fair License", "Frameworx Open License 1.0", "FreeImage Public License v1.0", "GNU Free Documentation License v1.1", "GNU Free Documentation License v1.1 only", "GNU Free Documentation License v1.1 or later", "GNU Free Documentation License v1.2", "GNU Free Documentation License v1.2 only", "GNU Free Documentation License v1.2 or later", "GNU Free Documentation License v1.3", "GNU Free Documentation License v1.3 only", "GNU Free Documentation License v1.3 or later", "GL2PS License", "GNU General Public License v1.0 only", "GNU General Public License v1.0 or later", "GNU General Public License v1.0 only", "GNU General Public License v1.0 or later", "GNU General Public License v2.0 only", "GNU General Public License v2.0 or later", "GNU General Public License v2.0 only", "GNU General Public License v2.0 or later", "GNU General Public License v2.0 w/GCC Runtime Library exception", "GNU General Public License v2.0 w/Autoconf exception", "GNU General Public License v2.0 w/Bison exception", "GNU General Public License v2.0 w/Classpath exception", "GNU General Public License v2.0 w/Font exception", "GNU General Public License v3.0 only", "GNU General Public License v3.0 or later", "GNU General Public License v3.0 only", "GNU General Public License v3.0 or later", "GNU General Public License v3.0 w/GCC Runtime Library exception", "GNU General Public License v3.0 w/Autoconf exception", "Giftware License", "3dfx Glide License", "Glulxe License", "Historical Permission Notice and Disclaimer", "Historical Permission Notice and Disclaimer - sell variant", "Haskell Language Report License", "IBM PowerPC Initialization and Boot Software", "ICU License", "Independent JPEG Group License", "IPA Font License", "IBM Public License v1.0", "ISC License", "ImageMagick License", "Imlib2 License", "Info-ZIP License", "Intel Open Source License", "Intel ACPI Software License Agreement", "Interbase Public License v1.0", "Japan Network Information Center License", "JSON License", "JasPer License", "Licence Art Libre 1.2", "Licence Art Libre 1.3", "GNU Library General Public License v2 only", "GNU Library General Public License v2 or later", "GNU Library General Public License v2 only", "GNU Library General Public License v2 or later", "GNU Lesser General Public License v2.1 only", "GNU Library General Public License v2.1 or later", "GNU Lesser General Public License v2.1 only", "GNU Lesser General Public License v2.1 or later", "GNU Lesser General Public License v3.0 only", "GNU Lesser General Public License v3.0 or later", "GNU Lesser General Public License v3.0 only", "GNU Lesser General Public License v3.0 or later", "Lesser General Public License For Linguistic Resources", "Lucent Public License Version 1.0", "Lucent Public License v1.02", "LaTeX Project Public License v1.0", "LaTeX Project Public License v1.1", "LaTeX Project Public License v1.2", "LaTeX Project Public License v1.3a", "LaTeX Project Public License v1.3c", "Latex2e License", "Leptonica License", "Licence Libre du Québec – Permissive version 1.1", "Licence Libre du Québec – Réciprocité version 1.1", "Licence Libre du Québec – Réciprocité forte version 1.1", "libpng License", "Linux Kernel Variant of OpenIB.org license", "MIT License", "MIT No Attribution", "CMU License", "Enlightenment License (e16)", "enna License", "feh License", "MIT +no-false-attribs license", "Mozilla Public License 1.0", "Mozilla Public License 1.1", "Mozilla Public License 2.0", "Mozilla Public License 2.0 (no copyleft exception)", "Microsoft Public License", "Microsoft Reciprocal License", "Matrix Template Library License", "MakeIndex License", "MirOS License", "Motosoto License", "Multics License", "Mup License", "NASA Open Source Agreement 1.3", "Net Boolean Public License v1", "University of Illinois/NCSA Open Source License", "Nethack General Public License", "Norwegian Licence for Open Government Data", "No Limit Public License", "Netizen Open Source License", "Netscape Public License v1.0", "Netscape Public License v1.1", "Non-Profit Open Software License 3.0", "NRL License", "NTP License", "Naumen Public License", "Net-SNMP License", "NetCDF license", "Newsletr License", "Nokia Open Source License", "Noweb License", "Nunit License", "Open CASCADE Technology Public License", "OCLC Research Public License 2.0", "Open Data Commons Attribution License v1.0", "ODC Open Database License v1.0", "SIL Open Font License 1.0", "SIL Open Font License 1.1", "Open Government Licence v1.0", "Open Government Licence v2.0", "Open Government Licence v3.0", "Open Group Test Suite License", "Open LDAP Public License v1.1", "Open LDAP Public License v1.2", "Open LDAP Public License v1.3", "Open LDAP Public License v1.4", "Open LDAP Public License v2.0 (or possibly 2.0A and 2.0B)", "Open LDAP Public License v2.0.1", "Open LDAP Public License v2.1", "Open LDAP Public License v2.2", "Open LDAP Public License v2.2.1", "Open LDAP Public License 2.2.2", "Open LDAP Public License v2.3", "Open LDAP Public License v2.4", "Open LDAP Public License v2.5", "Open LDAP Public License v2.6", "Open LDAP Public License v2.7", "Open LDAP Public License v2.8", "Open Market License", "Open Public License v1.0", "OSET Public License version 2.1", "Open Software License 1.0", "Open Software License 1.1", "Open Software License 2.0", "Open Software License 2.1", "Open Software License 3.0", "OpenSSL License", "ODC Public Domain Dedication & License 1.0", "PHP License v3.0", "PHP License v3.01", "The Parity Public License 6.0.0", "Plexus Classworlds License", "PostgreSQL License", "Python License 2.0", "Q Public License 1.0", "Qhull License", "Red Hat eCos Public License v1.1", "Reciprocal Public License 1.1", "Reciprocal Public License 1.5", "RealNetworks Public Source License v1.0", "RSA Message-Digest License ", "Ricoh Source Code Public License", "Rdisc License", "Ruby License", "Sax Public Domain Notice", "SCEA Shared Source License", "SGI Free Software License B v1.0", "SGI Free Software License B v1.1", "SGI Free Software License B v2.0", "Solderpad Hardware License v0.5", "Solderpad Hardware License, Version 0.51", "Sun Industry Standards Source License v1.1", "Sun Industry Standards Source License v1.2", "Standard ML of New Jersey License", "Secure Messaging Protocol Public License", "SNIA Public License 1.1", "Sun Public License v1.0", "Server Side Public License, v 1", "Scheme Widget Library (SWL) Software License Agreement", "Saxpath License", "Sendmail License", "Sendmail License 8.23", "Simple Public License 2.0", "Sleepycat License", "Spencer License 86", "Spencer License 94", "Spencer License 99", "Standard ML of New Jersey License", "SugarCRM Public License v1.1.3", "TAPR Open Hardware License v1.0", "TCL/TK License", "TCP Wrappers License", "TMate Open Source License", "TORQUE v2.5+ Software License v1.1", "Trusster Open Source License", "Technische Universitaet Berlin License 1.0", "Technische Universitaet Berlin License 2.0", "Universal Permissive License v1.0", "Unicode License Agreement - Data Files and Software (2015)", "Unicode License Agreement - Data Files and Software (2016)", "Unicode Terms of Use", "The Unlicense", "VOSTROM Public License for Open Source", "Vovida Software License v1.0", "Vim License", "W3C Software Notice and License (2002-12-31)", "W3C Software Notice and License (1998-07-20)", "W3C Software Notice and Document License (2015-05-13)", "Do What The F*ck You Want To Public License", "Sybase Open Watcom Public License 1.0", "Wsuipa License", "X11 License", "XFree86 License 1.1", "XSkat License", "Xerox License", "X.Net License", "Yahoo! Public License v1.0", "Yahoo! Public License v1.1", "Zope Public License 1.1", "Zope Public License 2.0", "Zope Public License 2.1", "Zed License", "Zend License v2.0", "Zimbra Public License v1.3", "Zimbra Public License v1.4", "zlib License", "SQLite Blessing", "bzip2 and libbzip2 License v1.0.5", "bzip2 and libbzip2 License v1.0.6", "copyleft-next 0.3.0", "copyleft-next 0.3.1", "curl License", "diffmark license", "dvipdfm License", "eCos license version 2.0", "eGenix.com Public License 1.1.0", "gSOAP Public License v1.3b", "gnuplot License", "iMatix Standard Function Library Agreement", "PNG Reference Library version 2", "libtiff License", "mpich2 License", "psfrag License", "psutils License", "wxWindows Library License", "xinetd License", "XPP License", and "zlib/libpng License with Acknowledgement"3590 is expected to be truthy3591 is expected to be falsey3592 when some of the licenses are missing an identifier3593 is expected to equal 13594 is expected to contain exactly "valid"3595 when the schema of each license changes3596 is expected to be zero3597 when the schema of the catalogue changes3598 is expected to be zero3599 .latest3600 when the licenses.json endpoint is healthy3601 is expected to equal #<InstanceDouble(Gitlab::SPDX::Catalogue) (anonymous)>3602Ci::CreatePipelineService3603 drops builds that match shared runners3604 with private runners3605 does not drop the builds3606layouts/header/_current_user_dropdown3607 Buy Pipeline Minutes link in user dropdown3608 when pipeline minutes need bought without notification dot3609 has "Buy Pipeline minutes" link with correct data properties3610 when pipeline minutes need bought and there is a notification dot3611 has "Buy Pipeline minutes" link with correct text3612 when pipeline minutes need bought and notification dot has been acknowledged3613 has "Buy Pipeline minutes" link with correct text3614 when ci minutes do not need bought3615 has no "Buy Pipeline minutes" link3616 Upgrade link in user dropdown3617 when user is on an upgradeable plan3618 displays the Upgrade link3619 when user is not on an upgradeable plan3620 does not display the Upgrade link3621Elastic::IndexSetting3622 validations3623 is expected to allow :number_of_shards to be ‹10›3624 is expected not to allow :number_of_shards to be ‹nil›3625 is expected not to allow :number_of_shards to be ‹0›3626 is expected not to allow :number_of_shards to be ‹1.1›3627 is expected not to allow :number_of_shards to be ‹-1›3628 is expected to allow :number_of_replicas to be ‹10›3629 is expected to allow :number_of_replicas to be ‹0›3630 is expected not to allow :number_of_replicas to be ‹nil›3631 is expected not to allow :number_of_replicas to be ‹1.1›3632 is expected not to allow :number_of_replicas to be ‹-1›3633 is expected to allow :alias_name to be ‹"a"›3634 is expected not to allow :alias_name to be ‹"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"›3635 .[]3636 returns existing record3637 creates a new record3638 .default3639 returns index_setting record for the default index3640 .number_of_replicas3641 returns default number of replicas3642 .number_of_shards3643 returns default number of shards3644Projects::UpdateService#execute3645 returns an error result when record cannot be updated3646 calls remove_import_data if mirror was disabled in previous change3647 shared runners3648 when shared runners are on3649 disables shared runners3650 when user has valid credit card3651 disables shared runners3652 when shared runners are off3653 when user has valid credit card3654 enables shared runners3655 when user does not have valid credit card3656 does not enable shared runners3657 repository mirror3658 sets mirror attributes3659 does not touch mirror_user_id for non-mirror changes3660 forbids non-admins from setting mirror_user_id explicitly3661 allows admins to set mirror_user_id3662 forces an import job3663 audit events3664 #name3665 when licensed3666 does not log audit event if operation fails3667 when operation succeeds3668 logs an audit event3669 logs the audit event info3670 when not licensed3671 does not log audit event3672 #path3673 when licensed3674 does not log audit event if operation fails3675 when operation succeeds3676 logs an audit event3677 logs the audit event info3678 when not licensed3679 does not log audit event3680 #default_branch3681 when licensed3682 does not log audit event if operation fails3683 when operation succeeds3684 logs an audit event3685 logs the audit event info3686 when not licensed3687 does not log audit event3688 #visibility3689 when licensed3690 does not log audit event if operation fails3691 when operation succeeds3692 logs an audit event3693 logs the audit event info3694 when not licensed3695 does not log audit event3696 repository_size_limit assignment as Bytes3697 when param present3698 converts from MB to Bytes3699 when param not present3700 assign nil value3701 when there are merge requests in merge train3702 when merge pipelines option is disabled3703 drops all merge request in the train3704 when merge pipelines option stays enabled3705 does not drop all merge request in the train3706 custom compliance frameworks3707 when current_user has :admin_compliance_framework ability3708 updates the framework3709 unassigns a framework from a project3710 when current_user does not have :admin_compliance_framework ability3711 does not set a framework3712Mutations::IncidentManagement::EscalationPolicy::Create3713 #resolve3714 project does not have feature3715 behaves like raises a resource not available error3716 is expected to raise Gitlab::Graphql::Errors::ResourceNotAvailable with "Escalation policies are not supported for this project"3717 project has feature3718 user has access to project3719 returns the escalation policy with no errors3720 rules are missing3721 behaves like returns a GraphQL error3722 is expected to match {:escalation_policy=>nil, :errors=>["Escalation policies must have at least one rule"]}3723 schedule that does not belong to the project3724 behaves like raises a resource not available error3725 is expected to raise Gitlab::Graphql::Errors::ResourceNotAvailable with "The resource that you are attempting to access does not exist or you don't have permission to perform this action"3726 user does not have permission for project3727 behaves like raises a resource not available error3728 is expected to raise Gitlab::Graphql::Errors::ResourceNotAvailable with "The resource that you are attempting to access does not exist or you don't have permission to perform this action"3729 user for rule does not exist3730 behaves like raises a resource not available error3731 is expected to raise Gitlab::Graphql::Errors::ResourceNotAvailable with "The resource that you are attempting to access does not exist or you don't have permission to perform this action"3732 user does not have permission for project3733 behaves like raises a resource not available error3734 is expected to raise Gitlab::Graphql::Errors::ResourceNotAvailable with "The resource that you are attempting to access does not exist or you don't have permission to perform this action"3735 invalid project path3736 behaves like raises a resource not available error3737 is expected to raise Gitlab::Graphql::Errors::ResourceNotAvailable with "The resource that you are attempting to access does not exist or you don't have permission to perform this action"3738CiCd::GithubIntegrationSetupService3739 sets up GitHub service integration3740 with API token3741 with repo URL3742 with static_context3743gitlab:license namespace rake tasks3744 load3745 works when no license to be installed3746 when GITLAB_LICENSE_FILE env variable is set3747 fails when the file does not exist3748 when the file does exist3749 and contains a valid license3750 succeeds in adding the license3751 but does not contain a valid license3752 fails to add the license3753 when GITLAB_LICENSE_FILE env variable is not set3754 when default valid license file does exist3755 succeeds in adding the license3756 running in mode verbose3757 when default valid license file does not exist3758 outputs a the help message3759ComplianceManagement::Frameworks::DestroyService3760 when feature is disabled3761 does not destroy the compliance framework3762 is unsuccessful3763 when feature is enabled3764 when current user is namespace owner3765 destroys the compliance framework3766 is successful3767 when current user is not the namespace owner3768 does not destroy the compliance framework3769 is unsuccessful3770ProtectedEnvironments::DestroyService#execute3771 when the Protected Environment is deleted3772 is expected to be truthy3773 deletes the requested ProtectedEnvironment3774 deletes the related DeployAccessLevel3775 when the Protected Environment can not be deleted3776 is expected to be falsy3777Epics::DescendantCountService3778 #opened_epics3779 behaves like descendants state count3780 includes inaccessible epics3781 #closed_epics3782 behaves like descendants state count3783 includes inaccessible epics3784 #opened_issues3785 behaves like descendants state count3786 includes inaccessible epics3787 #closed_issues3788 behaves like descendants state count3789 includes inaccessible epics3790 #issues_on_track3791 behaves like descendants state count3792 includes inaccessible epics3793 #issues_needing_attention3794 behaves like descendants state count3795 includes inaccessible epics3796 #issues_at_risk3797 behaves like descendants state count3798 includes inaccessible epics3799AppSec::Dast::Profiles::BuildConfigService3800 #execute3801 includes all profiles in the payload3802 behaves like a fetch operation3803 when licensed3804 when the profile exists3805 includes the profile in the payload3806 when the profile is not provided3807 does not include the profile in the payload3808 when the profile does not exist3809 behaves like an error occurred3810 communicates failure3811 when the profile cannot be read3812 behaves like an error occurred3813 communicates failure3814 when the user cannot create dast scans3815 behaves like an error occurred3816 communicates failure3817 when not licensed3818 behaves like an error occurred3819 communicates failure3820 behaves like a fetch operation3821 when licensed3822 when the profile exists3823 includes the profile in the payload3824 when the profile is not provided3825 does not include the profile in the payload3826 when the profile does not exist3827 behaves like an error occurred3828 communicates failure3829 when the profile cannot be read3830 behaves like an error occurred3831 communicates failure3832 when the user cannot create dast scans3833 behaves like an error occurred3834 communicates failure3835 when not licensed3836 behaves like an error occurred3837 communicates failure3838Ci::ProcessBuildService#execute3839 when related to a protected environment3840 when Protected Environments feature is not available on project3841 enqueues the build3842 when Protected Environments feature is available on project3843 when user does not have access to the environment3844 fails the build3845 when user has access to the environment3846 enqueues the build3847HealthStatus3848 #supports_health_status?3849 issuable_type: :issue, issuable_health_status: true, supports_health_status: true3850 is expected to eq true3851 issuable_type: :issue, issuable_health_status: false, supports_health_status: false3852 is expected to eq false3853 issuable_type: :incident, issuable_health_status: true, supports_health_status: false3854 is expected to eq false3855 issuable_type: :incident, issuable_health_status: false, supports_health_status: false3856 is expected to eq false3857 issuable_type: :merge_request, issuable_health_status: true, supports_health_status: false3858 is expected to eq false3859 issuable_type: :merge_request, issuable_health_status: false, supports_health_status: false3860 is expected to eq false3861Types::ScanType3862 is expected to have graphql fields :name and :errors3863 is expected to require graphql authorizations :read_scan3864 field values3865 name3866 is expected to eq "foo"3867 errors3868 is expected to eq ["[foo] bar"]3869EE::GraphHelper3870 #should_render_dora_charts3871 when serving the project-level DORA page3872 behaves like #should_render_dora_charts for a specific type of container3873 behaves like returns true3874 is expected to equal true3875 when the feature is not available3876 behaves like returns false3877 is expected to equal false3878 when the user does not have permission3879 behaves like returns false3880 is expected to equal false3881 when serving the group-level DORA page3882 behaves like #should_render_dora_charts for a specific type of container3883 behaves like returns true3884 is expected to equal true3885 when the feature is not available3886 behaves like returns false3887 is expected to equal false3888 when the user does not have permission3889 behaves like returns false3890 is expected to equal false3891groups/settings/_remove.html.haml3892 render3893 enables the Remove group button and does not show an alert for a group3894 disables the Remove group button and shows an alert for a group with a paid gitlab.com plan3895 disables the Remove group button and shows an alert for a group with a legacy paid gitlab.com plan3896 enables the Remove group button and does not show an alert for a subgroup3897 when delayed deletes are enabled3898 enables the Remove group button and does not show an alert for a group without a paid gitlab.com plan3899 disables the Remove group button and shows an alert for a group with a paid gitlab.com plan3900 enables the Remove group button and does not show an alert for a subgroup3901SyncSeatLinkRequestWorker3902 #perform3903 makes an HTTP POST request with passed params3904 when response contains a license3905 when there is no previous license3906 behaves like successful license creation3907 persists the new license3908 when there is a previous license3909 when it is a cloud license3910 when the current license key does not match the one returned from sync3911 creates a new license3912 when the current license key matches the one returned from sync3913 reuses the current license and updates the last_synced_at3914 when persisting fails3915WARNING: Using the `raise_error` matcher without providing a specific error or message risks false positives, since `raise_error` will match when Ruby raises a `NoMethodError`, `NameError` or `ArgumentError`, potentially allowing the expectation to pass without even executing the method you are intending to call. Actual error raised was #<ActiveRecord::RecordInvalid: Validation failed: The license key is invalid. Make sure it is exactly as you received it from GitLab Inc.>. Instead consider providing a specific error class or message. This message can be suppressed by setting: `RSpec::Expectations.configuration.on_potential_false_positives = :nothing`. Called from /builds/gitlab-org/gitlab/ee/spec/workers/sync_seat_link_request_worker_spec.rb:110:in `block (7 levels) in <top (required)>'.3916 does not delete the current license and logs error3917 when it is not a cloud license3918 behaves like successful license creation3919 persists the new license3920 when response contains reconciliation dates3921 saves the reconciliation dates3922 when an upcoming_reconciliation already exists3923 updates the upcoming_reconciliation3924 behaves like unsuccessful request3925 when the request is not successful3926 raises an error with the expected message3927BoardUserPreference3928 relationships3929 is expected to belong to board required:3930 is expected to belong to user required:3931 is expected to validate that :user_id is case-sensitively unique within the scope of :board_id, producing a custom validation error on failure3932Boards::EpicLists::DestroyService3933 when user does not have permission3934 returns an error3935 when user has permission3936 behaves like lists destroy service3937 does not remove list from board when list type is closed3938 when list type is label3939 removes list from board3940 decrements position of higher lists3941 when epic feature is unavailable3942 returns an error3943EpicIssues::ListService3944 #execute3945 when epics feature is disabled3946 returns an empty array3947 when epics feature is enabled3948 does not have N+1 queries3949 owner can see all issues and destroy their associations3950 returns related issues JSON3951 user can see only some issues3952 returns related issues JSON3953Ci::ChangeVariablesService3954 when creating a variable3955 calls AuditVariableChangeService with create3956 when updating a variable3957 when update succeeds3958 calls AuditVariableChangeService with update3959 when update fails3960 does not call AuditVariableChangeService3961 when destroying a variable3962 calls AuditVariableChangeService with destroy3963 when making multiple changes3964 calls AuditVariableChangeService with create3965 calls AuditVariableChangeService with update3966 calls AuditVariableChangeService with destroy3967Mutations::Vulnerabilities::Confirm3968 #resolve3969 when the user can confirm the vulnerability3970 when user doe not have access to the project3971 raises an error3972 when user has access to the project3973 returns the Confirmed vulnerability3974World3975 .all_countries3976 does not return countries that are in the denied list3977 .countries_for_select3978 returns list of country name and iso_code in alphabetical format3979 .states_for_country3980 returns a list of state names for a country in alphabetical order3981 returns nil when given country cannot be found3982 .alpha3_from_alpha23983 returns the three letter abbreviated country name3984 returns nil when given country cannot be found3985Resolvers::Ci::CodeCoverageSummaryResolver3986 #resolve3987 when project has coverage3988 returns coverage summary for the project as a batch3989 when project does not have coverage3990 returns nil3991Ci::RetryPipelineService3992 when the namespace is out of CI minutes3993 retries the builds with available runners3994Vulnerabilities::Statistics::UpdateService3995 .update_for3996 instantiates an instance of service class and calls execute on it3997 #execute3998 when the diff is empty3999 does not change existing statistic entity4000 when the diff is not empty4001 when there is already a record in the database4002 changes the existing statistic entity4003 when there is no existing record in the database4004 creates a new record in the database4005StatusPage::PublishedIncident4006 associations4007 is expected to belong to issue required: inverse_of => status_page_published_incident4008 validation4009 is expected to validate that :issue cannot be empty/falsy4010 .track4011 is expected to be a kind of StatusPage::PublishedIncident(id: integer, created_at: datetime_with_timezone, updated_at: datetime_with_timezone, issue_id: integer)4012 is expected to eq #<Issue id:82 namespace646/project595#1>4013 is expected to change `described_class.count` by 14014 when the incident already exists4015 is expected to be a kind of StatusPage::PublishedIncident(id: integer, created_at: datetime_with_timezone, updated_at: datetime_with_timezone, issue_id: integer)4016 is expected to eq #<Issue id:82 namespace646/project595#1>4017 is expected not to change `described_class.count`4018 .untrack4019 when the incident is not yet tracked4020 is expected not to change `described_class.count`4021 when the incident is already tracked4022 is expected to change `described_class.count` by -14023Mutations::Projects::SetComplianceFramework4024 #resolve4025 feature is licensed4026 current_user is a guest4027 behaves like the user cannot change a project's compliance framework4028 raises an exception4029 current_user is a project developer4030 behaves like the user cannot change a project's compliance framework4031 raises an exception4032 current_user is a project maintainer4033 behaves like the user cannot change a project's compliance framework4034 raises an exception4035 current_user is a project owner4036 behaves like the user can change a project's compliance framework4037 changes the compliance framework of the project4038 returns the project that was updated4039 when a project had a compliance framework4040 can remove the compliance framework of the project4041 feature is unlicensed4042 behaves like the user cannot change a project's compliance framework4043 raises an exception4044shared/_promotion_link_project4045 with namespace plans4046 for namespace admin users4047 is expected to have visible link "Try it for free" with href "/-/trial_registrations/new?glm_content=some_location&glm_source=gitlab.com"4048 for regular users4049 for groups4050 is expected to have text "Contact an owner of group Our group to upgrade the plan."4051 for a project in a personal namespace4052 is expected to have text "Contact owner Joe to upgrade the plan."4053 with instance plans4054 for admin users4055 with active license4056 is expected to have text "Start GitLab Ultimate trial"4057 with expired license4058 is expected to have text "Buy GitLab Enterprise Edition"4059 for regular users4060 is expected to have text "Contact your Administrator to upgrade your license."4061IncidentManagement::EscalationPolicies::DestroyService4062 #execute4063 successfully returns the escalation policy4064 when the current_user is anonymous4065 behaves like error response4066 has an informative message4067 when the current_user does not have permissions to remove escalation policies4068 behaves like error response4069 has an informative message4070 when license is not enabled4071 behaves like error response4072 has an informative message4073 when an error occurs during removal4074 behaves like error response4075 has an informative message4076MemberUserEntity4077 matches json schema4078 with oncall schedules4079 returns an empty array if no source option is given4080 source is project4081 correctly exposes `oncall_schedules`4082 source is group4083 correctly exposes `oncall_schedules`4084AwardEmojis::AddService4085 #execute4086 publish to status page4087 when adding succeeds4088 with recognized emoji4089 triggers status page publish4090 with unrecognized emoji4091 does not trigger status page publish service4092 when adding fails4093 does not trigger status page publish service4094 tracking emoji adding4095 for epics4096 tracks usage4097 for awardables that are not epics4098 does not track epic emoji awarding4099UserPermissionExportUpload4100 associations4101 is expected to belong to user required:4102 validations4103 is expected to validate that :status cannot be empty/falsy4104 when status is finished4105 validates file presence4106 state transitions4107 status: 0, can_start: true, can_finish: false, can_fail: true4108 adheres to state machine rules4109 status: 1, can_start: false, can_finish: true, can_fail: true4110 adheres to state machine rules4111 status: 2, can_start: false, can_finish: false, can_fail: false4112 adheres to state machine rules4113 status: 3, can_start: false, can_finish: false, can_fail: false4114 adheres to state machine rules4115Security::Orchestration::AssignService4116 #execute4117 assigns policy project to project4118 updates project with new policy project4119 assigns same policy to different projects4120 unassigns project4121 returns error when db has problem4122 with invalid project id4123 assigns policy project to project4124ResourceStateEvent4125 is expected to belong to epic required:4126 validations4127 Issuable validation4128 is valid if only epic is set4129 is invalid if an epic and an issue is set4130Gitlab::Sitemaps::Generator4131 returns error if the env is not .com4132 when env is .com4133 returns error if group gitlab-org is not found4134 when group gitlab-org is present and public4135 and it is not public4136 returns and error4137 and it is public4138 includes default explore routes and gitlab-org group routes4139EE::API::Entities::UserWithAdmin4140 using_license_seat4141 when user is using seat4142 returns true4143 when user is not using seat4144 returns false4145 is_auditor4146 when auditor_user is available4147 returns false when user is not an auditor4148 when user is an auditor4149 returns true4150 when auditor_user is not available4151 does not have the is_auditor param4152 provisioned_by_group_id4153 group_saml is available4154 returns false when user is not provisioned by group4155 when user is provisioned by group4156 returns group_id4157 when group_saml is not available4158 does not have the provisioned_by_group_id param4159Deployment4160 state machine4161 when deployment succeeded4162 schedules Dora::DailyMetrics::RefreshWorker4163ProtectedEnvironments::SearchService#execute4164 with empty search4165 returns unfiltered unprotected environments4166 with specific search4167 returns specific unprotected environemtns4168 when no match4169 returns an empty array4170Gitlab::Verify::LfsObjects4171 includes LFS objects in object storage4172GitlabSubscriptions::FilterPurchaseEligibleNamespacesService4173 #execute4174 when no namespaces are supplied4175 returns an empty array4176 when no plan_id or any_self_service_plan flag is supplied4177 logs and returns an error message4178 when no user is supplied4179 logs and returns an error message4180 when the http request fails4181 returns an error message4182 when all the namespaces are eligible4183 does not filter any namespaces4184 when the user has a namespace ineligible4185 is filtered from the results4186 when supplied the any_self_service_plan flag4187 filters the results by eligibility for any self service plan4188Analytics::DevopsAdoption::EnabledNamespaces::BulkDeleteService4189 deletes the enabled_namespaces4190 authorizes for manage_devops_adoption4191 when deletion fails4192 keeps records and returns error response4193trial_registrations/new.html.haml4194 trial_registration_with_reassurance experiment4195 when in the control4196 is expected to have text "Start a Free Ultimate Trial"4197 is expected not to have text "Free 30-day trial"4198 is expected not to have text "No credit card required."4199 is expected not to have visible css "img[alt$=\" logo\"]"4200 when in the candidate4201 is expected not to have text "Start a Free Ultimate Trial"4202 is expected to have text "Free 30-day trial"4203 is expected to have text "No credit card required."4204 is expected to have visible css "img[alt$=\" logo\"]"4205Mutations::Vulnerabilities::DestroyExternalIssueLink4206 #resolve4207 when user does not have permissions to destroy external issue link4208 is expected to raise Gitlab::Graphql::Errors::ResourceNotAvailable4209 when user has permission to destroy external issue link4210 when destroy succeeds4211 is expected to eq {:errors=>[]}4212 when destroy fails4213 is expected to eq {:errors=>["Error deleting the vulnerability external issue link"]}4214Vulnerabilities::ExternalIssueLinkPolicy4215 when the security_dashboard feature is enabled4216 when the current user has developer access to the vulnerability's project4217 is expected to be allowed :admin_vulnerability_external_issue_link4218 when the current user does not have developer access to the vulnerability's project4219 is expected to be disallowed :admin_vulnerability_external_issue_link4220 when the security_dashboard feature is disabled4221 is expected to be disallowed :admin_vulnerability_external_issue_link4222EventCreateService4223 Epics4224 #open_epic4225 creates new event4226 #close_epic4227 creates new event4228 #reopen_epic4229 creates new event4230 #leave_note4231 creates new event4232Sidebars::Projects::Menus::JiraMenu4233 render?4234 when issue tracker is not Jira4235 returns false4236 when issue tracker is Jira4237 when issues integration is disabled4238 returns false4239 when issues integration is enabled4240 returns true4241 contains issue list and open jira menu items4242Ci::JobArtifacts::DestroyBatchService4243 .execute4244 destroys all expired artifacts4245 with Geo replication4246 creates a JobArtifactDeletedEvent4247ComplianceManagement::Framework4248 validation4249 is expected to validate that :namespace_id is case-sensitively unique within the scope of :name4250 is expected to validate that :name cannot be empty/falsy4251 is expected to validate that the length of :name is at most 2554252 is expected to validate that the length of :description is at most 2554253 is expected to validate that the length of :color is at most 104254 is expected to validate that :regulated cannot be empty/falsy4255 is expected to validate that the length of :pipeline_configuration_full_path is at most 2554256 color4257 with whitespace4258 strips whitespace4259EventPolicy4260 when the user cannot read the epic4261 is expected not to be allowed :read_event4262 when the user can read the epic4263 is expected to be allowed :read_event4264Resolvers::BoardListsResolver4265 #resolve4266 when project boards4267 behaves like group and project board lists resolver4268 returns a list of board lists4269 when group boards4270 behaves like group and project board lists resolver4271 returns a list of board lists4272Security::StoreScansService4273 .execute4274 delegates the call to an instance of `Security::StoreScansService`4275 #execute4276 executes Security::StoreGroupedScansService for each group of artifacts if the feature is available4277 when the pipeline is for the default branch4278 schedules the `StoreSecurityReportsWorker`4279 when the pipeline is not for the default branch4280 does not schedule the `StoreSecurityReportsWorker`4281admin/groups/_form4282 when sub group is used4283 does not render shared_runners_minutes_setting4284 when root group is used4285 does not render shared_runners_minutes_setting4286BoardSerializer4287 serialization4288 matches current board json schema4289WeightNote4290 behaves like a synthetic note4291 behaves like a system note4292 has the correct attributes4293 #discussion_id4294 returns the expected discussion id4295Users::ApproveService4296 #execute4297 audit events4298 when licensed4299 when user approve operation succeeds4300 logs an audit event4301 logs the audit event info4302 when user approve operation fails4303 does not log any audit event4304Gitlab::Database::Connection4305 #geo_uncached_queries4306 when no block is given4307 raises error4308 when the current node is a primary4309 wraps the block in an ActiveRecord::Base.uncached block4310 when the current node is a secondary4311 wraps the block in a Geo::TrackingBase.uncached block and an ActiveRecord::Base.uncached block4312 when there is no current node4313 wraps the block in an ActiveRecord::Base.uncached block4314Mutations::RequirementsManagement::ExportRequirements4315 #ready4316 with selected fields argument4317 raises exception when invalid fields are given4318 #resolve4319 behaves like requirements not available4320 raises a not accessible error4321 when the user can export requirements4322 when requirements feature is available4323 exports requirements4324 when requirements feature is disabled4325 behaves like requirements not available4326 raises a not accessible error4327Mutations::Releases::Update4328 #resolve4329 milestones4330 when the provided milestones include a group milestone4331 when the group milestone association feature is licensed4332 updates the milestone associations4333 when the group milestone association feature is not licensed4334 returns the updated release as nil4335 returns a validation error4336Vulnerabilities::Finding::Evidence::Source4337 is expected to belong to evidence class_name => Vulnerabilities::Finding::Evidence inverse_of => source required: true4338 is expected to validate that the length of :name is at most 20484339 is expected to validate that the length of :url is at most 20484340 behaves like validates presence of any field4341 .any_field_present4342 is invalid if there are no fields present4343 validates on a single field present when name is set4344 validates on a single field present when url is set4345ProjectGroupLink4346 #destroy4347 protected tags4348 behaves like deleted related access levels4349 removes related ProtectedTag::CreateAccessLevel4350 protected environments4351 behaves like deleted related access levels4352 removes related ProtectedEnvironment::DeployAccessLevel4353Mutations::Ci::CiCdSettingsUpdate4354 #resolve4355 when merge trains are set to true and merge pipelines are set to false4356 does not enable merge trains4357 when merge trains and merge pipelines are set to true4358 enables merge pipelines and merge trains4359Gitlab::Ci::Config::Entry::Vault::Engine4360 validation4361 when entry config value is correct4362 #value4363 returns Vault secret engine configuration4364 #valid?4365 is valid4366 when entry value is not correct4367 #errors4368 when there is an unknown key present4369 reports error4370 when name and path are missing4371 reports error4372 when name and path are blank4373 reports error4374Analytics::CycleAnalytics::StageEventHash4375 associations4376 is expected to have many cycle_analytics_group_stages4377 .cleanup_if_unused4378 removes the record if there is no project or group stages with given stage events hash4379 does not remove the record if at least 1 group stage for the given stage events hash exists4380ScimPaginatable4381 scim_paginate4382 paginates with offset and limit4383 translates a 1-based index to an offset of 04384 handles string input4385 defaults to offset of 04386Users::CreateService4387 #execute4388 audit events4389 when licensed4390 does not log audit event if operation fails4391 when operation succeeds4392 logs an audit event4393 logs the audit event info4394 when not licensed4395 does not log audit event4396 when audit is not required4397 does not log any audit event4398CreateGithubWebhookWorker4399 #perform4400 creates the webhook4401VulnerabilityEntity4402 exposes vulnerability-specific elements4403AuditEvents::RepositoryDownloadStartedAuditEventService4404 #security_event4405 creates an event and logs to a file with the provided details4406AlertManagement::Alerts::UpdateService4407 #execute4408 when a status is included4409 when moving from a closed status to an open status4410 behaves like creates an escalation4411 is expected to receive perform_async(a kind of Integer) 1 time4412 moving from an open status to closed status4413 is expected to change `target.pending_escalations.reload.count` from 1 to 04414 moving from a status of the same group4415 does not create or delete escalations4416Gitlab::Audit::Levels::Project4417 #apply4418 finds all project events4419Types::VulnerabilityDetails::UrlType4420 is expected to have graphql fields :name, :description, :fieldName, :text, and :href4421IncidentManagement::EscalationPolicyHelper4422 #escalation_policy_data4423 returns scalation policies data4424UsersStatistics4425 #billable4426 sums users statistics values excluding blocked users and bots4427 when there is an ultimate license4428 excludes blocked users, bots, guest users, and users without a group or project4429Types::Dast::SiteProfileAuthInputType4430 is expected to eq "DastSiteProfileAuthInput"4431 has the correct arguments4432ApprovalRules::ExternalApprovalRulePayloadWorker4433 #perform4434 executes a WebHookService4435 behaves like an idempotent worker4436 is labeled as idempotent4437 performs multiple times sequentially without raising an exception4438Projects::ImportExport::ExportService4439 #execute4440 project templates4441 instance-level custom project templates4442 succeeds4443 group-level custom project templates4444 succeeds4445Gitlab::Auth::Ldap::Config4446 .available_providers4447 when multiple LDAP servers are licensed4448 returns multiple configured providers4449 ._available_servers4450 when no database connection occurs4451 returns an empty array4452Auth::GroupSamlIdentityFinder4453 #first4454 looks up identity by saml_provider and uid4455Fog::Storage::GoogleXML::File4456 delegates to #get_https_url4457Clusters::AgentPolicy4458 rules4459 when developer4460 is expected to be disallowed :admin_cluster4461 when maintainer4462 is expected to be allowed :admin_cluster4463Milestones::PromoteService4464 #execute4465 updates board with new milestone4466Gitlab::EtagCaching::Router::Restful4467 matches epic notes endpoint4468 does not match invalid epic notes endpoint4469 has a valid feature category for every route4470 .cache_key4471 returns a cache key4472Resolvers::InstanceSecurityDashboardResolver4473 #resolve4474 is expected to be a kind of InstanceSecurityDashboard4475Integrations::JiraSerializers::IssueSerializer4476 #represent4477 when an empty array is being serialized4478 returns an empty array4479 when multiple objects are being serialized4480 serializes the array of jira issues4481Types::VulnerabilityLocation::SecretDetectionType4482 is expected to have graphql fields :end_line, :file, :start_line, :vulnerable_class, :vulnerable_method, and :blob_path4483Analytics::DevopsAdoption::SnapshotsFinder4484 #execute4485 with timespan provided4486 returns snapshots in given timespan4487 without timespan provided4488 returns all snapshots ordered by end_time4489TodosDestroyer::ConfidentialEpicWorker4490 calls the Todos::Destroy::ConfidentialEpicService with epic_id parameter4491Milestone4492 Associations4493 is expected to have many boards4494AlertManagement::HttpIntegrations::UpdateService4495 #execute4496 with multiple HTTP integrations feature available4497 successfully creates a new integration with the custom mappings4498Projects::ClusterAgentsHelper4499 #js_cluster_agent_details_data4500 returns name4501 returns project path4502Security routing routing4503 root path4504 is expected to redirect to "/-/security/dashboard"4505 /-/security/dashboard4506 is expected to route {:get=>"/-/security/dashboard"} to {:controller=>"security/dashboard", :action=>"show"}4507 /-/security/dashboard/settings4508 is expected to route {:get=>"/-/security/dashboard/settings"} to {:controller=>"security/dashboard", :action=>"settings"}4509Types::BurnupChartDailyTotalsType4510 is expected to eq "BurnupChartDailyTotals"4511 has specific fields4512Pseudonymizer::Uploader4513 #upload4514Uploading output files to remote storage #<Fog::AWS::Storage::Directory:0x00007fa0e5144668>:4515 /tmp/d20210818-353-1hmhtae/file_1.test ... done4516 /tmp/d20210818-353-1hmhtae/schema.yml ... done4517 /tmp/d20210818-353-1hmhtae/file_list.json ... done4518 /tmp/d20210818-353-1hmhtae/file_0.test ... done4519 /tmp/d20210818-353-1hmhtae/file_6.test ... done4520 /tmp/d20210818-353-1hmhtae/file_4.test ... done4521 /tmp/d20210818-353-1hmhtae/file_7.test ... done4522 /tmp/d20210818-353-1hmhtae/file_3.test ... done4523 /tmp/d20210818-353-1hmhtae/file_8.test ... done4524 /tmp/d20210818-353-1hmhtae/file_5.test ... done4525 /tmp/d20210818-353-1hmhtae/file_9.test ... done4526 /tmp/d20210818-353-1hmhtae/file_2.test ... done4527 upload all file in the directory4528 #cleanup4529Deleting tmp directory /tmp/d20210818-353-v6j8wi ... done4530 cleans the directory4531EE::API::Entities::Scim::UserName4532 contains the name4533 contains the first name4534 contains the last name4535LdapSyncWorker4536 #perform4537 with the default license key4538 syncs all LDAP users4539 without a license key4540 does not sync LDAP users4541Admin::EmailService4542 #execute4543 when we can obtain the lease4544 schedules the worker4545 when we can't obtain the lease4546 does not schedule the worker4547Types::VulnerabilityLocation::ContainerScanningType4548 is expected to have graphql fields :dependency, :image, and :operating_system4549Types::Vulnerability::IssueLinkType4550 is expected to have graphql fields :id, :link_type, and :issue4551 is expected to require graphql authorizations :read_issue_link4552SystemNoteHelper4553 .system_note_icon_name4554 for an iteration note4555 returns the iteration icon name4556Types::QueryType4557 is expected to have graphql fields :ci_minutes_usage, :current_license, :geo_node, :instance_security_dashboard, :iteration, :license_history_entries, :vulnerabilities, :vulnerabilities_count_by_day, and :vulnerability4558Types::Ci::Minutes::NamespaceMonthlyUsageType4559 is expected to have graphql fields :minutes, :month, and :projects4560Knapsack report was generated. Preview:4561{4562 "ee/spec/services/search/snippet_service_spec.rb": 81.93575194500005,4563 "ee/spec/models/boards/epic_board_position_spec.rb": 86.49558359099996,4564 "ee/spec/services/elastic/process_bookkeeping_service_spec.rb": 67.45114298099998,4565 "ee/spec/models/merge_train_spec.rb": 43.091393418999985,4566 "ee/spec/services/ee/notes/quick_actions_service_spec.rb": 47.78941987799999,4567 "ee/spec/lib/ee/gitlab/ci/templates/templates_spec.rb": 9.704302093000024,4568 "ee/spec/models/elastic/migration_record_spec.rb": 39.11383495900009,4569 "ee/spec/models/analytics/cycle_analytics/group_stage_spec.rb": 15.735247056999924,4570 "ee/spec/services/elastic/data_migration_service_spec.rb": 29.105651954999985,4571 "ee/spec/models/concerns/elastic/repository_spec.rb": 27.864275060000068,4572 "ee/spec/serializers/merge_request_widget_entity_spec.rb": 22.175070844999937,4573 "ee/spec/elastic/migrate/20210429154500_migrate_merge_requests_to_separate_index_spec.rb": 26.838167401999954,4574 "ee/spec/services/groups/sync_service_spec.rb": 14.781978202000005,4575 "ee/spec/helpers/trial_status_widget_helper_spec.rb": 4.044996011999956,4576 "ee/spec/services/approval_rules/update_service_spec.rb": 15.448650204000046,4577 "ee/spec/lib/ee/gitlab/usage_data_non_sql_metrics_spec.rb": 18.810521350000045,4578 "ee/spec/models/board_spec.rb": 8.33872428899997,4579 "ee/spec/lib/gitlab/expiring_subscription_message_spec.rb": 2.9426305470000216,4580 "ee/spec/models/approval_merge_request_rule_spec.rb": 6.391230350000001,4581 "ee/spec/lib/ee/gitlab/import_export/group/tree_restorer_spec.rb": 10.70100298500006,4582 "ee/spec/models/ee/personal_access_token_spec.rb": 3.3809706839999762,4583 "ee/spec/models/dast/profile_schedule_spec.rb": 9.252061994999963,4584 "ee/spec/services/ci/minutes/batch_reset_service_spec.rb": 10.94300544600003,4585 "ee/spec/lib/ee/gitlab/import_export/group/legacy_tree_saver_spec.rb": 7.655523703999961,4586 "ee/spec/services/analytics/cycle_analytics/stages/update_service_spec.rb": 4.320342842000059,4587 "ee/spec/services/requirements_management/import_csv_service_spec.rb": 6.149128451000024,4588 "ee/spec/lib/ee/gitlab/repository_size_checker_spec.rb": 3.0166352259999485,4589 "ee/spec/services/projects/destroy_service_spec.rb": 5.780012553999995,4590 "ee/spec/workers/elastic_namespace_indexer_worker_spec.rb": 7.146253844999933,4591 "ee/spec/services/protected_environments/create_service_spec.rb": 6.187037597999961,4592 "ee/spec/models/integrations/github/status_message_spec.rb": 3.5663390810000237,4593 "ee/spec/services/ci/retry_build_service_spec.rb": 6.624886180999965,4594 "ee/spec/services/incident_management/escalation_policies/update_service_spec.rb": 3.4046500929999866,4595 "ee/spec/services/ee/boards/lists/max_limits_spec.rb": 1.3680966759999365,4596 "ee/spec/graphql/mutations/incident_management/escalation_policy/update_spec.rb": 3.2456398790000094,4597 "ee/spec/graphql/mutations/issues/update_spec.rb": 5.273760777999996,4598 "ee/spec/services/epics/reopen_service_spec.rb": 2.343971058000079,4599 "ee/spec/lib/gitlab/vulnerabilities/standard_vulnerability_spec.rb": 1.0980908699999645,4600 "ee/spec/lib/sidebars/groups/menus/analytics_menu_spec.rb": 2.5145398109999633,4601 "ee/spec/services/epic_issues/update_service_spec.rb": 4.242376091999972,4602 "ee/spec/models/software_license_policy_spec.rb": 3.2139091559999997,4603 "ee/spec/models/concerns/ee/mentionable_spec.rb": 4.665749239999968,4604 "ee/spec/services/boards/epic_lists/list_service_spec.rb": 1.9594390610000119,4605 "ee/spec/models/security/scan_spec.rb": 3.997834522000062,4606 "ee/spec/graphql/mutations/issues/set_epic_spec.rb": 5.051883857000007,4607 "ee/spec/graphql/ee/mutations/boards/lists/create_spec.rb": 1.6813255450000497,4608 "ee/spec/serializers/ee/environment_serializer_spec.rb": 3.6471957559999737,4609 "ee/spec/services/ee/boards/issues/create_service_spec.rb": 4.822119143999998,4610 "ee/spec/services/security/security_orchestration_policies/policy_configuration_validation_service_spec.rb": 3.8050788900000043,4611 "ee/spec/lib/gitlab/code_owners/groups_loader_spec.rb": 2.886555281000028,4612 "ee/spec/graphql/mutations/dast/profiles/delete_spec.rb": 2.001068815999929,4613 "ee/spec/services/ee/system_notes/issuables_service_spec.rb": 3.024435783999934,4614 "ee/spec/lib/ee/gitlab/scim/params_parser_spec.rb": 1.2256712139999308,4615 "ee/spec/graphql/resolvers/iterations/cadences_resolver_spec.rb": 1.7364050719999113,4616 "ee/spec/lib/ee/gitlab/middleware/read_only_spec.rb": 3.020906855000021,4617 "ee/spec/models/analytics/devops_adoption/snapshot_spec.rb": 1.6779587730000003,4618 "ee/spec/services/incident_management/oncall_shifts/read_service_spec.rb": 1.4870541980000098,4619 "ee/spec/workers/elastic_namespace_rollout_worker_spec.rb": 2.9540021160000833,4620 "ee/spec/services/issues/build_service_spec.rb": 3.4822290839999823,4621 "ee/spec/views/clusters/clusters/show.html.haml_spec.rb": 2.5387234350000654,4622 "ee/spec/models/approval_wrapped_any_approver_rule_spec.rb": 4.066902371999959,4623 "ee/spec/workers/elastic_remove_expired_namespace_subscriptions_from_index_cron_worker_spec.rb": 3.2311420600000247,4624 "ee/spec/lib/gitlab/analytics/cycle_analytics/stage_events/issue_label_removed_spec.rb": 0.9657163189999665,4625 "ee/spec/models/concerns/ee/project_security_scanners_information_spec.rb": 2.8743184869999823,4626 "ee/spec/services/security/security_orchestration_policies/project_create_service_spec.rb": 2.9874561160000894,4627 "ee/spec/helpers/ee/subscribable_banner_helper_spec.rb": 1.8184632510000256,4628 "ee/spec/models/dast/site_profiles_build_spec.rb": 3.3255979980000347,4629 "ee/spec/lib/gitlab/spdx/catalogue_spec.rb": 0.9777444690000721,4630 "ee/spec/services/ci/create_pipeline_service/runnable_builds_spec.rb": 3.1437423119998584,4631 "ee/spec/views/layouts/header/_current_user_dropdown.html.haml_spec.rb": 1.3314115510002011,4632 "ee/spec/models/elastic/index_setting_spec.rb": 1.2325196639999376,4633 "ee/spec/services/projects/update_service_spec.rb": 14.868145870000035,4634 "ee/spec/graphql/mutations/incident_management/escalation_policy/create_spec.rb": 2.258893313000044,4635 "ee/spec/services/ci_cd/github_integration_setup_service_spec.rb": 1.3237792329998683,4636 "ee/spec/tasks/gitlab/license_rake_spec.rb": 1.049193594999906,4637 "ee/spec/services/compliance_management/frameworks/destroy_service_spec.rb": 0.9468563099999301,4638 "ee/spec/services/protected_environments/destroy_service_spec.rb": 2.0746571610000046,4639 "ee/spec/services/epics/descendant_count_service_spec.rb": 1.9488563459999568,4640 "ee/spec/services/app_sec/dast/profiles/build_config_service_spec.rb": 2.020066553000106,4641 "ee/spec/services/ci/process_build_service_spec.rb": 2.9836930030000985,4642 "ee/spec/models/concerns/health_status_spec.rb": 1.079407743000047,4643 "ee/spec/graphql/types/scan_type_spec.rb": 1.4634590180000941,4644 "ee/spec/helpers/ee/graph_helper_spec.rb": 1.0956163629998628,4645 "ee/spec/views/groups/settings/_remove.html.haml_spec.rb": 1.9567692160001116,4646 "ee/spec/workers/sync_seat_link_request_worker_spec.rb": 1.096197433000043,4647 "ee/spec/models/board_user_preference_spec.rb": 1.7535638549998112,4648 "ee/spec/services/boards/epic_lists/destroy_service_spec.rb": 1.9559202259999893,4649 "ee/spec/services/epic_issues/list_service_spec.rb": 3.486690221000117,4650 "ee/spec/services/ee/ci/change_variables_service_spec.rb": 2.4275111960000686,4651 "ee/spec/graphql/mutations/vulnerabilities/confirm_spec.rb": 2.5354879720000554,4652 "ee/spec/lib/world_spec.rb": 0.8602940130001571,4653 "ee/spec/graphql/resolvers/ci/code_coverage_summary_resolver_spec.rb": 1.6327910899999551,4654 "ee/spec/services/ci/retry_pipeline_service_spec.rb": 1.7982607429999007,4655 "ee/spec/services/vulnerabilities/statistics/update_service_spec.rb": 1.243007906999992,4656 "ee/spec/models/status_page/published_incident_spec.rb": 1.456817357999853,4657 "ee/spec/graphql/mutations/projects/set_compliance_framework_spec.rb": 1.8723068389999753,4658 "ee/spec/views/shared/promotions/_promotion_link_project.html.haml_spec.rb": 1.5405743449998681,4659 "ee/spec/services/incident_management/escalation_policies/destroy_service_spec.rb": 1.3051983329999075,4660 "ee/spec/serializers/member_user_entity_spec.rb": 1.3788518610001574,4661 "ee/spec/services/award_emojis/add_service_spec.rb": 1.9034581580001486,4662 "ee/spec/models/user_permission_export_upload_spec.rb": 0.9544854589998977,4663 "ee/spec/services/security/orchestration/assign_service_spec.rb": 2.007820794000054,4664 "ee/spec/models/ee/resource_state_event_spec.rb": 0.8371011250001175,4665 "ee/spec/lib/gitlab/sitemaps/generator_spec.rb": 2.4190025959999275,4666 "ee/spec/lib/ee/api/entities/user_with_admin_spec.rb": 1.375772440999981,4667 "ee/spec/models/deployment_spec.rb": 1.0490711950001241,4668 "ee/spec/services/protected_environments/search_service_spec.rb": 2.125881548999814,4669 "ee/spec/lib/ee/gitlab/verify/lfs_objects_spec.rb": 1.0458665650000967,4670 "ee/spec/services/gitlab_subscriptions/filter_purchase_eligible_namespaces_service_spec.rb": 0.9477208899998004,4671 "ee/spec/services/analytics/devops_adoption/enabled_namespaces/bulk_delete_service_spec.rb": 1.2521371459999955,4672 "ee/spec/views/trial_registrations/new.html.haml_spec.rb": 1.0794667339998796,4673 "ee/spec/graphql/mutations/vulnerabilities/destroy_external_issue_link_spec.rb": 1.40776877899998,4674 "ee/spec/policies/vulnerabilities/external_issue_link_policy_spec.rb": 2.1680379030001404,4675 "ee/spec/services/ee/event_create_service_spec.rb": 1.713017508999883,4676 "ee/spec/lib/sidebars/projects/menus/jira_menu_spec.rb": 1.3412237000000005,4677 "ee/spec/services/ee/ci/job_artifacts/destroy_batch_service_spec.rb": 1.7728752240000176,4678 "ee/spec/models/compliance_management/framework_spec.rb": 1.138723175999985,4679 "ee/spec/policies/event_policy_spec.rb": 1.568372821000139,4680 "ee/spec/graphql/ee/resolvers/board_lists_resolver_spec.rb": 1.4201791939999566,4681 "ee/spec/services/security/store_scans_service_spec.rb": 1.2088737799999763,4682 "ee/spec/views/admin/groups/_form.html.haml_spec.rb": 0.9672232599998551,4683 "ee/spec/serializers/board_serializer_spec.rb": 0.9854662590000771,4684 "ee/spec/models/weight_note_spec.rb": 1.2987199429999237,4685 "ee/spec/services/ee/users/approve_service_spec.rb": 1.2053683809999711,4686 "ee/spec/lib/ee/gitlab/database/connection_spec.rb": 0.8849926670000059,4687 "ee/spec/graphql/mutations/requirements_management/export_requirements_spec.rb": 1.1719360829999914,4688 "ee/spec/graphql/mutations/releases/update_spec.rb": 1.9760082279999551,4689 "ee/spec/models/vulnerabilities/finding/evidence/source_spec.rb": 0.7740699459998268,4690 "ee/spec/models/ee/project_group_link_spec.rb": 1.719782179000049,4691 "ee/spec/graphql/ee/mutations/ci/ci_cd_settings_update_spec.rb": 1.0745590119997814,4692 "ee/spec/lib/gitlab/ci/config/entry/vault/engine_spec.rb": 0.8645822689998113,4693 "ee/spec/models/ee/analytics/cycle_analytics/stage_event_hash_spec.rb": 0.7791118160000678,4694 "ee/spec/models/concerns/scim_paginatable_spec.rb": 0.7902282649999961,4695 "ee/spec/services/ee/users/create_service_spec.rb": 1.5465784529999382,4696 "ee/spec/workers/create_github_webhook_worker_spec.rb": 0.8763417679999748,4697 "ee/spec/serializers/vulnerability_entity_spec.rb": 0.9682485000000725,4698 "ee/spec/services/audit_events/repository_download_started_audit_event_service_spec.rb": 0.9083706849999089,4699 "ee/spec/services/ee/alert_management/alerts/update_service_spec.rb": 1.6165935280000667,4700 "ee/spec/lib/gitlab/audit/levels/project_spec.rb": 1.2178284799999801,4701 "ee/spec/graphql/types/vulnerability_details/url_type_spec.rb": 0.6350281780000842,4702 "ee/spec/helpers/incident_management/escalation_policy_helper_spec.rb": 1.0727256820000548,4703 "ee/spec/models/users_statistics_spec.rb": 0.6649844949999988,4704 "ee/spec/graphql/types/dast/site_profile_auth_input_type_spec.rb": 0.6447118759999739,4705 "ee/spec/workers/approval_rules/external_approval_rule_payload_worker_spec.rb": 0.9302753329998268,4706 "ee/spec/services/projects/import_export/export_service_spec.rb": 1.2709034760000577,4707 "ee/spec/lib/ee/gitlab/auth/ldap/config_spec.rb": 0.6231348679998518,4708 "ee/spec/finders/auth/group_saml_identity_finder_spec.rb": 0.8042605440000443,4709 "ee/spec/initializers/fog_google_https_private_urls_spec.rb": 0.6399338979999811,4710 "ee/spec/policies/clusters/agent_policy_spec.rb": 1.3834579360000134,4711 "ee/spec/services/milestones/promote_service_spec.rb": 1.0827319910001734,4712 "ee/spec/lib/ee/gitlab/etag_caching/router/restful_spec.rb": 0.6690117649998228,4713 "ee/spec/graphql/resolvers/instance_security_dashboard_resolver_spec.rb": 0.6700171949999003,4714 "ee/spec/serializers/integrations/jira_serializers/issue_serializer_spec.rb": 1.0728206819999286,4715 "ee/spec/graphql/types/vulnerability_location/secret_detection_type_spec.rb": 0.610810679999986,4716 "ee/spec/finders/analytics/devops_adoption/snapshots_finder_spec.rb": 0.7884970850000173,4717 "ee/spec/workers/todos_destroyer/confidential_epic_worker_spec.rb": 0.8234175820000473,4718 "ee/spec/models/milestone_spec.rb": 0.6362869179999961,4719 "ee/spec/services/ee/alert_management/http_integrations/update_service_spec.rb": 1.1713051739998264,4720 "ee/spec/helpers/projects/cluster_agents_helper_spec.rb": 0.9642773509999643,4721 "ee/spec/routing/security_routing_spec.rb": 0.6772934939999686,4722 "ee/spec/graphql/types/burnup_chart_daily_totals_type_spec.rb": 0.66239940499986,4723 "ee/spec/lib/pseudonymizer/uploader_spec.rb": 0.6558403559999988,4724 "ee/spec/lib/ee/api/entities/scim/user_name_spec.rb": 0.8664673589998984,4725 "ee/spec/workers/ldap_sync_worker_spec.rb": 0.8523003899999821,4726 "ee/spec/services/admin/email_service_spec.rb": 0.6444568069998695,4727 "ee/spec/graphql/types/vulnerability_location/container_scanning_type_spec.rb": 0.6645365360000142,4728 "ee/spec/graphql/types/vulnerability/issue_link_type_spec.rb": 0.6137008289999812,4729 "ee/spec/helpers/ee/system_note_helper_spec.rb": 0.7426666689998456,4730 "ee/spec/graphql/types/query_type_spec.rb": 0.5022093590000622,4731 "ee/spec/graphql/types/ci/minutes/namespace_monthly_usage_type_spec.rb": 0.59860333100004944732}4733Knapsack global time execution for tests: 14m 59s4734Pending: (Failures listed here are expected and do not affect your suite's status)4735 1) Search::SnippetService#execute visibility project snippet snippet_level: :public, project_level: :public, feature_access_level: :enabled, membership: :admin, admin_mode: false, expected_count: 1 respects visibility4737 Failure/Error:4738 expect_search_results(search_user, 'snippet_titles', expected_objects: expected_objects, pending: pending?) do |user|4739 described_class.new(user, search: snippet.title).execute4740 end4741 expected collection contained: [#<ProjectSnippet id:1 group1/project1$1>]4742 actual collection contained: []4743 the missing elements were: [#<ProjectSnippet id:1 group1/project1$1>]4744 # ./ee/spec/support/helpers/search_results_helpers.rb:24:in `block in expect_search_results'4745 # ./ee/spec/support/helpers/search_results_helpers.rb:12:in `each'4746 # ./ee/spec/support/helpers/search_results_helpers.rb:12:in `expect_search_results'4747 # ./ee/spec/services/search/snippet_service_spec.rb:91:in `block (6 levels) in <top (required)>'4748 # ./spec/spec_helper.rb:390:in `block (3 levels) in <top (required)>'4749 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'4750 # ./spec/spec_helper.rb:381:in `block (2 levels) in <top (required)>'4751 # ./spec/spec_helper.rb:377:in `block (3 levels) in <top (required)>'4752 # ./lib/gitlab/application_context.rb:31:in `with_raw_context'4753 # ./spec/spec_helper.rb:377:in `block (2 levels) in <top (required)>'4754 # ./spec/support/sidekiq.rb:21:in `block (3 levels) in <top (required)>'4755 # ./spec/support/sidekiq.rb:8:in `gitlab_sidekiq_inline'4756 # ./spec/support/sidekiq.rb:21:in `block (2 levels) in <top (required)>'4757 # ./spec/support/redis.rb:21:in `block (2 levels) in <top (required)>'4758 # ./spec/support/redis.rb:13:in `block (2 levels) in <top (required)>'4759 # ./ee/spec/support/elastic.rb:84:in `block (2 levels) in <top (required)>'4760 2) Search::SnippetService#execute visibility project snippet snippet_level: :public, project_level: :public, feature_access_level: :enabled, membership: :non_member, admin_mode: nil, expected_count: 1 respects visibility4762 Failure/Error:4763 expect_search_results(search_user, 'snippet_titles', expected_objects: expected_objects, pending: pending?) do |user|4764 described_class.new(user, search: snippet.title).execute4765 end4766 expected collection contained: [#<ProjectSnippet id:1 group1/project1$1>]4767 actual collection contained: []4768 the missing elements were: [#<ProjectSnippet id:1 group1/project1$1>]4769 # ./ee/spec/support/helpers/search_results_helpers.rb:24:in `block in expect_search_results'4770 # ./ee/spec/support/helpers/search_results_helpers.rb:12:in `each'4771 # ./ee/spec/support/helpers/search_results_helpers.rb:12:in `expect_search_results'4772 # ./ee/spec/services/search/snippet_service_spec.rb:91:in `block (6 levels) in <top (required)>'4773 # ./spec/spec_helper.rb:390:in `block (3 levels) in <top (required)>'4774 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'4775 # ./spec/spec_helper.rb:381:in `block (2 levels) in <top (required)>'4776 # ./spec/spec_helper.rb:377:in `block (3 levels) in <top (required)>'4777 # ./lib/gitlab/application_context.rb:31:in `with_raw_context'4778 # ./spec/spec_helper.rb:377:in `block (2 levels) in <top (required)>'4779 # ./spec/support/sidekiq.rb:21:in `block (3 levels) in <top (required)>'4780 # ./spec/support/sidekiq.rb:8:in `gitlab_sidekiq_inline'4781 # ./spec/support/sidekiq.rb:21:in `block (2 levels) in <top (required)>'4782 # ./spec/support/redis.rb:21:in `block (2 levels) in <top (required)>'4783 # ./spec/support/redis.rb:13:in `block (2 levels) in <top (required)>'4784 # ./ee/spec/support/elastic.rb:84:in `block (2 levels) in <top (required)>'4785 3) Search::SnippetService#execute visibility project snippet snippet_level: :public, project_level: :internal, feature_access_level: :enabled, membership: :admin, admin_mode: false, expected_count: 1 respects visibility4787 Failure/Error:4788 expect_search_results(search_user, 'snippet_titles', expected_objects: expected_objects, pending: pending?) do |user|4789 described_class.new(user, search: snippet.title).execute4790 end4791 expected collection contained: [#<ProjectSnippet id:1 group1/project1$1>]4792 actual collection contained: []4793 the missing elements were: [#<ProjectSnippet id:1 group1/project1$1>]4794 # ./ee/spec/support/helpers/search_results_helpers.rb:24:in `block in expect_search_results'4795 # ./ee/spec/support/helpers/search_results_helpers.rb:12:in `each'4796 # ./ee/spec/support/helpers/search_results_helpers.rb:12:in `expect_search_results'4797 # ./ee/spec/services/search/snippet_service_spec.rb:91:in `block (6 levels) in <top (required)>'4798 # ./spec/spec_helper.rb:390:in `block (3 levels) in <top (required)>'4799 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'4800 # ./spec/spec_helper.rb:381:in `block (2 levels) in <top (required)>'4801 # ./spec/spec_helper.rb:377:in `block (3 levels) in <top (required)>'4802 # ./lib/gitlab/application_context.rb:31:in `with_raw_context'4803 # ./spec/spec_helper.rb:377:in `block (2 levels) in <top (required)>'4804 # ./spec/support/sidekiq.rb:21:in `block (3 levels) in <top (required)>'4805 # ./spec/support/sidekiq.rb:8:in `gitlab_sidekiq_inline'4806 # ./spec/support/sidekiq.rb:21:in `block (2 levels) in <top (required)>'4807 # ./spec/support/redis.rb:21:in `block (2 levels) in <top (required)>'4808 # ./spec/support/redis.rb:13:in `block (2 levels) in <top (required)>'4809 # ./ee/spec/support/elastic.rb:84:in `block (2 levels) in <top (required)>'4810 4) Search::SnippetService#execute visibility project snippet snippet_level: :public, project_level: :internal, feature_access_level: :enabled, membership: :non_member, admin_mode: nil, expected_count: 1 respects visibility4812 Failure/Error:4813 expect_search_results(search_user, 'snippet_titles', expected_objects: expected_objects, pending: pending?) do |user|4814 described_class.new(user, search: snippet.title).execute4815 end4816 expected collection contained: [#<ProjectSnippet id:1 group1/project1$1>]4817 actual collection contained: []4818 the missing elements were: [#<ProjectSnippet id:1 group1/project1$1>]4819 # ./ee/spec/support/helpers/search_results_helpers.rb:24:in `block in expect_search_results'4820 # ./ee/spec/support/helpers/search_results_helpers.rb:12:in `each'4821 # ./ee/spec/support/helpers/search_results_helpers.rb:12:in `expect_search_results'4822 # ./ee/spec/services/search/snippet_service_spec.rb:91:in `block (6 levels) in <top (required)>'4823 # ./spec/spec_helper.rb:390:in `block (3 levels) in <top (required)>'4824 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'4825 # ./spec/spec_helper.rb:381:in `block (2 levels) in <top (required)>'4826 # ./spec/spec_helper.rb:377:in `block (3 levels) in <top (required)>'4827 # ./lib/gitlab/application_context.rb:31:in `with_raw_context'4828 # ./spec/spec_helper.rb:377:in `block (2 levels) in <top (required)>'4829 # ./spec/support/sidekiq.rb:21:in `block (3 levels) in <top (required)>'4830 # ./spec/support/sidekiq.rb:8:in `gitlab_sidekiq_inline'4831 # ./spec/support/sidekiq.rb:21:in `block (2 levels) in <top (required)>'4832 # ./spec/support/redis.rb:21:in `block (2 levels) in <top (required)>'4833 # ./spec/support/redis.rb:13:in `block (2 levels) in <top (required)>'4834 # ./ee/spec/support/elastic.rb:84:in `block (2 levels) in <top (required)>'4835 5) Search::SnippetService#execute visibility project snippet snippet_level: :internal, project_level: :public, feature_access_level: :enabled, membership: :admin, admin_mode: false, expected_count: 1 respects visibility4837 Failure/Error:4838 expect_search_results(search_user, 'snippet_titles', expected_objects: expected_objects, pending: pending?) do |user|4839 described_class.new(user, search: snippet.title).execute4840 end4841 expected collection contained: [#<ProjectSnippet id:1 group1/project1$1>]4842 actual collection contained: []4843 the missing elements were: [#<ProjectSnippet id:1 group1/project1$1>]4844 # ./ee/spec/support/helpers/search_results_helpers.rb:24:in `block in expect_search_results'4845 # ./ee/spec/support/helpers/search_results_helpers.rb:12:in `each'4846 # ./ee/spec/support/helpers/search_results_helpers.rb:12:in `expect_search_results'4847 # ./ee/spec/services/search/snippet_service_spec.rb:91:in `block (6 levels) in <top (required)>'4848 # ./spec/spec_helper.rb:390:in `block (3 levels) in <top (required)>'4849 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'4850 # ./spec/spec_helper.rb:381:in `block (2 levels) in <top (required)>'4851 # ./spec/spec_helper.rb:377:in `block (3 levels) in <top (required)>'4852 # ./lib/gitlab/application_context.rb:31:in `with_raw_context'4853 # ./spec/spec_helper.rb:377:in `block (2 levels) in <top (required)>'4854 # ./spec/support/sidekiq.rb:21:in `block (3 levels) in <top (required)>'4855 # ./spec/support/sidekiq.rb:8:in `gitlab_sidekiq_inline'4856 # ./spec/support/sidekiq.rb:21:in `block (2 levels) in <top (required)>'4857 # ./spec/support/redis.rb:21:in `block (2 levels) in <top (required)>'4858 # ./spec/support/redis.rb:13:in `block (2 levels) in <top (required)>'4859 # ./ee/spec/support/elastic.rb:84:in `block (2 levels) in <top (required)>'4860 6) Search::SnippetService#execute visibility project snippet snippet_level: :internal, project_level: :public, feature_access_level: :enabled, membership: :non_member, admin_mode: nil, expected_count: 1 respects visibility4862 Failure/Error:4863 expect_search_results(search_user, 'snippet_titles', expected_objects: expected_objects, pending: pending?) do |user|4864 described_class.new(user, search: snippet.title).execute4865 end4866 expected collection contained: [#<ProjectSnippet id:1 group1/project1$1>]4867 actual collection contained: []4868 the missing elements were: [#<ProjectSnippet id:1 group1/project1$1>]4869 # ./ee/spec/support/helpers/search_results_helpers.rb:24:in `block in expect_search_results'4870 # ./ee/spec/support/helpers/search_results_helpers.rb:12:in `each'4871 # ./ee/spec/support/helpers/search_results_helpers.rb:12:in `expect_search_results'4872 # ./ee/spec/services/search/snippet_service_spec.rb:91:in `block (6 levels) in <top (required)>'4873 # ./spec/spec_helper.rb:390:in `block (3 levels) in <top (required)>'4874 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'4875 # ./spec/spec_helper.rb:381:in `block (2 levels) in <top (required)>'4876 # ./spec/spec_helper.rb:377:in `block (3 levels) in <top (required)>'4877 # ./lib/gitlab/application_context.rb:31:in `with_raw_context'4878 # ./spec/spec_helper.rb:377:in `block (2 levels) in <top (required)>'4879 # ./spec/support/sidekiq.rb:21:in `block (3 levels) in <top (required)>'4880 # ./spec/support/sidekiq.rb:8:in `gitlab_sidekiq_inline'4881 # ./spec/support/sidekiq.rb:21:in `block (2 levels) in <top (required)>'4882 # ./spec/support/redis.rb:21:in `block (2 levels) in <top (required)>'4883 # ./spec/support/redis.rb:13:in `block (2 levels) in <top (required)>'4884 # ./ee/spec/support/elastic.rb:84:in `block (2 levels) in <top (required)>'4885 7) Search::SnippetService#execute visibility project snippet snippet_level: :internal, project_level: :internal, feature_access_level: :enabled, membership: :admin, admin_mode: false, expected_count: 1 respects visibility4887 Failure/Error:4888 expect_search_results(search_user, 'snippet_titles', expected_objects: expected_objects, pending: pending?) do |user|4889 described_class.new(user, search: snippet.title).execute4890 end4891 expected collection contained: [#<ProjectSnippet id:1 group1/project1$1>]4892 actual collection contained: []4893 the missing elements were: [#<ProjectSnippet id:1 group1/project1$1>]4894 # ./ee/spec/support/helpers/search_results_helpers.rb:24:in `block in expect_search_results'4895 # ./ee/spec/support/helpers/search_results_helpers.rb:12:in `each'4896 # ./ee/spec/support/helpers/search_results_helpers.rb:12:in `expect_search_results'4897 # ./ee/spec/services/search/snippet_service_spec.rb:91:in `block (6 levels) in <top (required)>'4898 # ./spec/spec_helper.rb:390:in `block (3 levels) in <top (required)>'4899 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'4900 # ./spec/spec_helper.rb:381:in `block (2 levels) in <top (required)>'4901 # ./spec/spec_helper.rb:377:in `block (3 levels) in <top (required)>'4902 # ./lib/gitlab/application_context.rb:31:in `with_raw_context'4903 # ./spec/spec_helper.rb:377:in `block (2 levels) in <top (required)>'4904 # ./spec/support/sidekiq.rb:21:in `block (3 levels) in <top (required)>'4905 # ./spec/support/sidekiq.rb:8:in `gitlab_sidekiq_inline'4906 # ./spec/support/sidekiq.rb:21:in `block (2 levels) in <top (required)>'4907 # ./spec/support/redis.rb:21:in `block (2 levels) in <top (required)>'4908 # ./spec/support/redis.rb:13:in `block (2 levels) in <top (required)>'4909 # ./ee/spec/support/elastic.rb:84:in `block (2 levels) in <top (required)>'4910 8) Search::SnippetService#execute visibility project snippet snippet_level: :internal, project_level: :internal, feature_access_level: :enabled, membership: :non_member, admin_mode: nil, expected_count: 1 respects visibility4912 Failure/Error:4913 expect_search_results(search_user, 'snippet_titles', expected_objects: expected_objects, pending: pending?) do |user|4914 described_class.new(user, search: snippet.title).execute4915 end4916 expected collection contained: [#<ProjectSnippet id:1 group1/project1$1>]4917 actual collection contained: []4918 the missing elements were: [#<ProjectSnippet id:1 group1/project1$1>]4919 # ./ee/spec/support/helpers/search_results_helpers.rb:24:in `block in expect_search_results'4920 # ./ee/spec/support/helpers/search_results_helpers.rb:12:in `each'4921 # ./ee/spec/support/helpers/search_results_helpers.rb:12:in `expect_search_results'4922 # ./ee/spec/services/search/snippet_service_spec.rb:91:in `block (6 levels) in <top (required)>'4923 # ./spec/spec_helper.rb:390:in `block (3 levels) in <top (required)>'4924 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'4925 # ./spec/spec_helper.rb:381:in `block (2 levels) in <top (required)>'4926 # ./spec/spec_helper.rb:377:in `block (3 levels) in <top (required)>'4927 # ./lib/gitlab/application_context.rb:31:in `with_raw_context'4928 # ./spec/spec_helper.rb:377:in `block (2 levels) in <top (required)>'4929 # ./spec/support/sidekiq.rb:21:in `block (3 levels) in <top (required)>'4930 # ./spec/support/sidekiq.rb:8:in `gitlab_sidekiq_inline'4931 # ./spec/support/sidekiq.rb:21:in `block (2 levels) in <top (required)>'4932 # ./spec/support/redis.rb:21:in `block (2 levels) in <top (required)>'4933 # ./spec/support/redis.rb:13:in `block (2 levels) in <top (required)>'4934 # ./ee/spec/support/elastic.rb:84:in `block (2 levels) in <top (required)>'4935Finished in 15 minutes 1 second (files took 45.24 seconds to load)49361972 examples, 0 failures, 8 pending4937Wed 18 Aug 2021 10:46:48 AM UTC4939Not uploading cache ruby-gems-v1-4 due to policy4940Not uploading cache gitaly-ruby-gems-v1-4 due to policy4942Uploading artifacts...4943coverage/: found 5 matching files and directories 4944WARNING: crystalball/: no matching files 4945deprecations/: found 8 matching files and directories 4946knapsack/: found 3 matching files and directories 4947rspec_flaky/: found 4 matching files and directories 4948rspec_profiling/: found 1 matching files and directories 4949WARNING: tmp/capybara/: no matching files 4950tmp/memory_test/: found 2 matching files and directories 4951log/*.log: found 18 matching files and directories 4952Uploading artifacts as "archive" to coordinator... ok id=1512822017 responseStatus=201 Created token=JxUPVD-x4953Uploading artifacts...4954junit_rspec.xml: found 1 matching files and directories 4955Uploading artifacts as "junit" to coordinator... ok id=1512822017 responseStatus=201 Created token=JxUPVD-x4957Job succeeded