There was an error fetching the job.
rspec-ee unit pg13 5/18
Passed Started
by
@gitlab-bot

🤖 GitLab Bot 🤖
1Running with gitlab-runner 15.9.0~beta.212.g8ccc65e7 (8ccc65e7)2 on green-1.private.runners-manager.gitlab.com/gitlab.com/gitlab-org 4bq1s9yM, system ID: s_9d15f3e4e7ae3 feature flags: FF_NETWORK_PER_BUILD:true, FF_USE_FASTZIP:true, FF_USE_IMPROVED_URL_MASKING:true6Using Docker executor with image registry.gitlab.com/gitlab-org/gitlab-build-images/debian-bullseye-ruby-3.0.patched-golang-1.18-rust-1.65-node-16.14-postgresql-13:rubygems-3.4-git-2.36-lfs-2.9-chrome-109-yarn-1.22-graphicsmagick-1.3.36 ...7Starting service postgres:13 ...8Pulling docker image postgres:13 ...9Using docker image sha256:dd421ca1f7f13d81c5c145d77d97d8d84cd0e6f1e045936ee506ce0f50ee397a for postgres:13 with digest postgres@sha256:00f455399f30cc3f2fe4185476601438b7a4959c74653665582d7c313a783d51 ...10Starting service redis:6.2-alpine ...11Pulling docker image redis:6.2-alpine ...12Using docker image sha256:3616f0c0705d2a35d30dde109daf3cbe58ae7284121aafa6f5cfa987db98d1a8 for redis:6.2-alpine with digest redis@sha256:edddbcad5a41d58df2f142d68439922f1860ea902903d016257337c3342f30fc ...13Starting service elasticsearch:7.17.6 ...14Pulling docker image elasticsearch:7.17.6 ...15Using docker image sha256:5fad10241ffd65d817ed0ddfaf6e87eee1f7dc2a7db33db1047835560ea71fda for elasticsearch:7.17.6 with digest elasticsearch@sha256:6c128de5d01c0c130a806022d6bd99b3e4c27a9af5bfc33b6b81861ae117d028 ...16Starting service registry.gitlab.com/gitlab-org/gitlab-build-images:zoekt-ci-image-1.0 ...17Authenticating with credentials from job payload (GitLab Registry)18Pulling docker image registry.gitlab.com/gitlab-org/gitlab-build-images:zoekt-ci-image-1.0 ...19Using docker image sha256:4777ec1fa89def7d692d4979d05cb05234df25da1c6a3f67a564a433ec5ba1c8 for registry.gitlab.com/gitlab-org/gitlab-build-images:zoekt-ci-image-1.0 with digest registry.gitlab.com/gitlab-org/gitlab-build-images@sha256:80c0cee4566aefe4f1f287e1091263e08b0ebc41ed3dc4e76930df3634ccb9aa ...20Waiting for services to be up and running (timeout 30 seconds)...21Authenticating with credentials from job payload (GitLab Registry)22Pulling docker image registry.gitlab.com/gitlab-org/gitlab-build-images/debian-bullseye-ruby-3.0.patched-golang-1.18-rust-1.65-node-16.14-postgresql-13:rubygems-3.4-git-2.36-lfs-2.9-chrome-109-yarn-1.22-graphicsmagick-1.3.36 ...23Using docker image sha256:7a1b51158a1ee23b080b514ce6ebbf52ac51585877198fb52709e5cd01805a77 for registry.gitlab.com/gitlab-org/gitlab-build-images/debian-bullseye-ruby-3.0.patched-golang-1.18-rust-1.65-node-16.14-postgresql-13:rubygems-3.4-git-2.36-lfs-2.9-chrome-109-yarn-1.22-graphicsmagick-1.3.36 with digest registry.gitlab.com/gitlab-org/gitlab-build-images/debian-bullseye-ruby-3.0.patched-golang-1.18-rust-1.65-node-16.14-postgresql-13@sha256:412d55913d43377094427ced549cb422ed2f2c7223e6a605d0d3e0151cb892b0 ...25Running on runner-4bq1s9ym-project-278964-concurrent-0 via runner-4bq1s9ym-private-1680164843-7d51e6a9...27$ eval "$CI_PRE_CLONE_SCRIPT"28Fetching changes with git depth set to 20...29Initialized empty Git repository in /builds/gitlab-org/gitlab/.git/30Created fresh repository.31remote: Enumerating objects: 135903, done. 32remote: Counting objects: 100% (135903/135903), done. 33remote: Compressing objects: 100% (88560/88560), done. 34remote: Total 135903 (delta 58315), reused 94618 (delta 42152), pack-reused 0 35Receiving objects: 100% (135903/135903), 121.35 MiB | 30.78 MiB/s, done.36Resolving deltas: 100% (58315/58315), done.38 * [new ref] refs/pipelines/822866544 -> refs/pipelines/82286654439Checking out 523abdde as detached HEAD (ref is refs/merge-requests/116270/merge)...40Skipping Git submodules setup41$ git remote set-url origin "${CI_REPOSITORY_URL}"43Checking cache for ruby-gems-debian-bullseye-ruby-3.0-16...44cache.zip is up to date 45Successfully extracted cache46Checking cache for gitaly-ruby-gems-debian-bullseye-ruby-3.0-16...47cache.zip is up to date 48Successfully extracted cache50Downloading artifacts for compile-test-assets (4031138198)...51Downloading artifacts from coordinator... ok host=storage.googleapis.com id=4031138198 responseStatus=200 OK token=64_-JSKU52Downloading artifacts for detect-tests (4031138213)...53Downloading artifacts from coordinator... ok host=storage.googleapis.com id=4031138213 responseStatus=200 OK token=64_-JSKU54Downloading artifacts for retrieve-tests-metadata (4031138217)...55Downloading artifacts from coordinator... ok host=storage.googleapis.com id=4031138217 responseStatus=200 OK token=64_-JSKU56Downloading artifacts for setup-test-env (4031138204)...57Downloading artifacts from coordinator... ok host=storage.googleapis.com id=4031138204 responseStatus=200 OK token=64_-JSKU59Using docker image sha256:7a1b51158a1ee23b080b514ce6ebbf52ac51585877198fb52709e5cd01805a77 for registry.gitlab.com/gitlab-org/gitlab-build-images/debian-bullseye-ruby-3.0.patched-golang-1.18-rust-1.65-node-16.14-postgresql-13:rubygems-3.4-git-2.36-lfs-2.9-chrome-109-yarn-1.22-graphicsmagick-1.3.36 with digest registry.gitlab.com/gitlab-org/gitlab-build-images/debian-bullseye-ruby-3.0.patched-golang-1.18-rust-1.65-node-16.14-postgresql-13@sha256:412d55913d43377094427ced549cb422ed2f2c7223e6a605d0d3e0151cb892b0 ...60$ echo $FOSS_ONLY61$ [ "$FOSS_ONLY" = "1" ] && rm -rf ee/ qa/spec/ee/ qa/qa/specs/features/ee/ qa/qa/ee/ qa/qa/ee.rb62$ export GOPATH=$CI_PROJECT_DIR/.go63$ mkdir -p $GOPATH64$ source scripts/utils.sh65$ source scripts/prepare_build.sh716Using decomposed database config (config/database.yml.decomposed-postgresql)717Geo DB will be set up.718$ setup_db_user_only719CREATE ROLE720GRANT721==> 'setup_db_user_only' succeeded in 0 seconds.722$ bundle exec rake db:drop db:create db:schema:load db:migrate gitlab:db:lock_writes723Dropped database 'gitlabhq_test'724Dropped database 'gitlabhq_test_ci'725Dropped database 'gitlabhq_geo_test'726Created database 'gitlabhq_test'727Created database 'gitlabhq_test_ci'728Created database 'gitlabhq_geo_test'729==> 'bundle exec rake db:drop db:create db:schema:load db:migrate gitlab:db:lock_writes' succeeded in 49 seconds.730$ setup_db_praefect731SELECT pg_catalog.set_config('search_path', '', false);732CREATE DATABASE praefect_test ENCODING 'UTF8';733==> 'setup_db_praefect' succeeded in 0 seconds.734$ source ./scripts/rspec_helpers.sh735$ run_timed_command "gem install knapsack --no-document"736$ gem install knapsack --no-document737Successfully installed knapsack-4.0.07381 gem installed739==> 'gem install knapsack --no-document' succeeded in 0 seconds.740$ echo -e "\e[0Ksection_start:`date +%s`:gitaly-test-spawn[collapsed=true]\r\e[0KStarting Gitaly"844$ rspec_paralellized_job "--tag ~quarantine --tag ~level:background_migration"845SKIP_FLAKY_TESTS_AUTOMATICALLY: false846RETRY_FAILED_TESTS_IN_NEW_PROCESS: true847KNAPSACK_GENERATE_REPORT: true848FLAKY_RSPEC_GENERATE_REPORT: true849KNAPSACK_TEST_FILE_PATTERN: {ee/}spec/{bin,channels,config,contracts,db,dependencies,elastic,elastic_integration,experiments,factories,finders,frontend,graphql,haml_lint,helpers,initializers,lib,metrics_server,models,policies,presenters,rack_servers,replicators,routing,rubocop,scripts,serializers,services,sidekiq,sidekiq_cluster,spam,support_specs,tasks,uploaders,validators,views,workers,tooling,components}{,/**/}*_spec.rb850KNAPSACK_LOG_LEVEL: debug851KNAPSACK_REPORT_PATH: knapsack/rspec-ee_unit_pg13_5_18_report.json852FLAKY_RSPEC_SUITE_REPORT_PATH: rspec/flaky/report-suite.json853FLAKY_RSPEC_REPORT_PATH: rspec/flaky/all_rspec-ee_unit_pg13_5_18_report.json854NEW_FLAKY_RSPEC_REPORT_PATH: rspec/flaky/new_rspec-ee_unit_pg13_5_18_report.json855SKIPPED_FLAKY_TESTS_REPORT_PATH: rspec/flaky/skipped_flaky_tests_rspec-ee_unit_pg13_5_18_report.txt856CRYSTALBALL: 857Knapsack node specs:858ee/spec/services/search/global_service_spec.rb859ee/spec/models/geo/project_registry_spec.rb860ee/spec/models/sca/license_compliance_spec.rb861ee/spec/replicators/geo/pages_deployment_replicator_spec.rb862ee/spec/lib/ee/gitlab/usage/service_ping_report_spec.rb863ee/spec/services/ci/compare_security_reports_service_spec.rb864ee/spec/lib/banzai/filter/references/iteration_reference_filter_spec.rb865ee/spec/helpers/push_rules_helper_spec.rb866ee/spec/views/admin/application_settings/_elasticsearch_form.html.haml_spec.rb867ee/spec/services/ci/minutes/email_notification_service_spec.rb868ee/spec/lib/ee/gitlab/background_migration/backfill_project_statistics_storage_size_without_uploads_size_spec.rb869ee/spec/services/geo/file_registry_removal_service_spec.rb870ee/spec/models/protected_environment_spec.rb871ee/spec/services/ee/notes/create_service_spec.rb872ee/spec/services/ee/protected_branches/create_service_spec.rb873ee/spec/models/geo/dependency_proxy_blob_registry_spec.rb874ee/spec/models/geo/snippet_repository_registry_spec.rb875ee/spec/lib/compliance_management/compliance_report/commit_loader_spec.rb876ee/spec/workers/geo/registry_sync_worker_spec.rb877ee/spec/services/vulnerabilities/create_service_spec.rb878ee/spec/services/app_sec/dast/scanner_profiles/create_service_spec.rb879ee/spec/models/ee/approvable_spec.rb880ee/spec/services/ee/members/create_service_spec.rb881ee/spec/services/merge_trains/add_merge_request_service_spec.rb882ee/spec/models/project_ci_cd_setting_spec.rb883ee/spec/models/protected_environments/approval_rule_spec.rb884ee/spec/workers/store_security_reports_worker_spec.rb885ee/spec/services/elastic/data_migration_service_spec.rb886ee/spec/policies/global_policy_spec.rb887ee/spec/models/vulnerabilities/state_transition_spec.rb888ee/spec/lib/omni_auth/strategies/group_saml_spec.rb889ee/spec/services/merge_trains/create_pipeline_service_spec.rb890ee/spec/finders/groups_with_templates_finder_spec.rb891ee/spec/services/security/store_scan_service_spec.rb892ee/spec/models/project_import_data_spec.rb893ee/spec/graphql/mutations/issues/set_epic_spec.rb894ee/spec/models/ee/namespace/storage/notification_spec.rb895ee/spec/serializers/blocking_merge_request_entity_spec.rb896ee/spec/finders/snippets_finder_spec.rb897ee/spec/workers/group_saml_group_sync_worker_spec.rb898ee/spec/finders/compliance_management/merge_requests/compliance_violations_finder_spec.rb899ee/spec/models/incident_management/oncall_rotation_spec.rb900ee/spec/finders/security/training_urls_finder_spec.rb901ee/spec/services/protected_environments/update_service_spec.rb902ee/spec/services/approval_rules/merge_request_rule_destroy_service_spec.rb903ee/spec/services/iterations/create_service_spec.rb904ee/spec/services/todos/destroy/confidential_epic_service_spec.rb905ee/spec/lib/ee/gitlab/group_search_results_spec.rb906ee/spec/models/incident_management/pending_escalations/issue_spec.rb907ee/spec/graphql/mutations/projects/set_locked_spec.rb908ee/spec/services/dashboard/projects/create_service_spec.rb909ee/spec/lib/gitlab/elastic/client_spec.rb910ee/spec/services/projects/prometheus/alerts/notify_service_spec.rb911ee/spec/graphql/resolvers/geo/snippet_repository_registries_resolver_spec.rb912ee/spec/services/boards/epic_boards/create_service_spec.rb913ee/spec/lib/quality/seeders/vulnerabilities_spec.rb914ee/spec/services/app_sec/dast/scanner_profiles/destroy_service_spec.rb915ee/spec/workers/iterations/roll_over_issues_worker_spec.rb916ee/spec/views/shared/_mirror_update_button.html.haml_spec.rb917ee/spec/services/app_sec/dast/site_profiles/destroy_service_spec.rb918ee/spec/finders/incident_management/escalation_policies_finder_spec.rb919ee/spec/routing/user_routing_spec.rb920ee/spec/lib/gitlab/ci/templates/dast_api_gitlab_ci_yaml_spec.rb921ee/spec/views/projects/project_members/index.html.haml_spec.rb922ee/spec/services/geo/container_repository_sync_service_spec.rb923ee/spec/graphql/mutations/issues/promote_to_epic_spec.rb924ee/spec/services/analytics/cycle_analytics/value_streams/update_service_spec.rb925ee/spec/services/ee/ci/job_artifacts/destroy_batch_service_spec.rb926ee/spec/services/incident_management/escalation_policies/create_service_spec.rb927ee/spec/serializers/dependency_list_entity_spec.rb928ee/spec/services/work_items/widgets/progress_service/update_service_spec.rb929ee/spec/graphql/types/ci/pipeline_type_spec.rb930ee/spec/finders/ee/projects_finder_spec.rb931ee/spec/models/groups/repository_storage_move_spec.rb932ee/spec/models/vulnerabilities/external_issue_link_spec.rb933ee/spec/graphql/mutations/dast_site_profiles/update_spec.rb934ee/spec/models/concerns/geo/replicable_model_spec.rb935ee/spec/services/projects/alerting/notify_service_spec.rb936ee/spec/services/package_metadata/sync_service_spec.rb937ee/spec/services/ee/two_factor/destroy_service_spec.rb938ee/spec/services/ee/resource_events/change_iteration_service_spec.rb939ee/spec/models/ee/key_spec.rb940ee/spec/models/compliance_management/framework_spec.rb941ee/spec/services/concerns/search/elasticsearchable_spec.rb942ee/spec/services/ci/compare_metrics_reports_service_spec.rb943ee/spec/helpers/ee/namespace_user_cap_reached_alert_helper_spec.rb944ee/spec/lib/system_check/geo/authorized_keys_check_spec.rb945ee/spec/workers/merge_requests/capture_suggested_reviewers_accepted_worker_spec.rb946ee/spec/finders/incident_management/escalation_rules_finder_spec.rb947ee/spec/services/app_sec/dast/site_validations/runner_service_spec.rb948ee/spec/helpers/ee/labels_helper_spec.rb949ee/spec/graphql/mutations/dast_scanner_profiles/delete_spec.rb950ee/spec/helpers/ee/auth_helper_spec.rb951ee/spec/services/groups/seat_usage_export_service_spec.rb952ee/spec/services/integrations/slack_interactions/slack_block_actions/incident_management/project_update_handler_spec.rb953ee/spec/workers/epics/update_cached_metadata_worker_spec.rb954ee/spec/models/ee/label_spec.rb955ee/spec/lib/audit/protected_branches_changes_auditor_spec.rb956ee/spec/services/geo/repository_updated_event_store_spec.rb957ee/spec/services/audit_events/streaming/headers/update_service_spec.rb958ee/spec/services/ee/namespace_settings/update_service_spec.rb959ee/spec/services/security/scanned_resources_service_spec.rb960ee/spec/workers/auth/saml_group_sync_worker_spec.rb961ee/spec/services/audit_events/register_runner_audit_event_service_spec.rb962ee/spec/services/ee/event_create_service_spec.rb963ee/spec/services/analytics/cycle_analytics/stages/list_service_spec.rb964ee/spec/graphql/types/vulnerability_evidence_source_type_spec.rb965ee/spec/services/audit_events/release_created_audit_event_service_spec.rb966ee/spec/models/ee/namespace_statistics_spec.rb967ee/spec/finders/ee/clusters/agents_finder_spec.rb968ee/spec/services/geo/node_status_request_service_spec.rb969ee/spec/graphql/resolvers/vulnerabilities/container_images_resolver_spec.rb970ee/spec/services/incident_management/oncall_schedules/destroy_service_spec.rb971ee/spec/views/admin/application_settings/_ee_package_registry.html.haml_spec.rb972ee/spec/services/analytics/devops_adoption/enabled_namespaces/find_or_create_service_spec.rb973ee/spec/lib/ee/gitlab/issuable/clone/copy_resource_events_service_spec.rb974ee/spec/services/ee/merge_requests/handle_assignees_change_service_spec.rb975ee/spec/services/sbom/ingestion/tasks/base_spec.rb976ee/spec/lib/gitlab/usage/metrics/instrumentations/license_metric_spec.rb977ee/spec/graphql/types/vulnerability_location/coverage_fuzzing_type_spec.rb978ee/spec/services/analytics/devops_adoption/enabled_namespaces/create_service_spec.rb979ee/spec/services/ee/alert_management/alerts/update_service_spec.rb980ee/spec/lib/sidebars/user_settings/menus/usage_quotas_menu_spec.rb981ee/spec/graphql/resolvers/vulnerabilities_grade_resolver_spec.rb982ee/spec/services/ee/git/wiki_push_service_spec.rb983ee/spec/helpers/markup_helper_spec.rb984ee/spec/graphql/resolvers/geo/geo_node_resolver_spec.rb985ee/spec/views/groups/settings/reporting/show.html.haml_spec.rb986ee/spec/lib/ee/gitlab/ci/pipeline/chain/validate/security_orchestration_policy_spec.rb987ee/spec/views/layouts/header/_current_user_dropdown.html.haml_spec.rb988ee/spec/models/user_permission_export_upload_spec.rb989ee/spec/policies/merge_requests/external_status_check_policy_spec.rb990ee/spec/helpers/projects/analytics_dashboard_helper_spec.rb991ee/spec/lib/ee/gitlab/gon_helper_spec.rb992ee/spec/workers/vulnerability_exports/export_deletion_worker_spec.rb993ee/spec/helpers/ee/ide_helper_spec.rb994ee/spec/lib/arkose/logger_spec.rb995ee/spec/lib/gitlab/ci/config/entry/vault/engine_spec.rb996ee/spec/services/personal_access_tokens/groups/update_lifetime_service_spec.rb997ee/spec/workers/incident_management/pending_escalations/issue_check_worker_spec.rb998ee/spec/services/ee/groups/group_links/update_service_spec.rb999ee/spec/graphql/mutations/boards/epic_boards/destroy_spec.rb1000ee/spec/lib/ee/gitlab/scim/reprovisioning_service_spec.rb1001ee/spec/workers/ee/arkose/blocked_users_report_worker_spec.rb1002ee/spec/models/project_repository_state_spec.rb1003ee/spec/lib/gitlab/vulnerabilities/parser_spec.rb1004ee/spec/views/admin/users/_credit_card_info.html.haml_spec.rb1005ee/spec/graphql/types/scanned_resource_type_spec.rb1006ee/spec/serializers/test_reports_comparer_entity_spec.rb1007ee/spec/services/ee/alert_management/http_integrations/update_service_spec.rb1008ee/spec/models/package_metadata/package_version_spec.rb1009ee/spec/models/namespaces/free_user_cap/root_size_spec.rb1010ee/spec/lib/ee/gitlab/usage/metrics/aggregates/aggregate_spec.rb1011ee/spec/services/integrations/slack_event_service_spec.rb1012ee/spec/views/devise/registrations/new.html.haml_spec.rb1013ee/spec/graphql/types/requirements_management/test_report_type_spec.rb1014ee/spec/lib/elastic/latest/issue_config_spec.rb1015ee/spec/services/ee/admin/set_feature_flag_service_spec.rb1016ee/spec/models/concerns/ee/milestoneable_spec.rb1017ee/spec/graphql/types/vulnerability/external_issue_link_type_enum_spec.rb1018ee/spec/models/ee/projects/branch_rule_spec.rb1019ee/spec/workers/automation/execute_rule_worker_spec.rb1020ee/spec/models/boards/epic_board_label_spec.rb1021ee/spec/routing/uploads_routing_spec.rb1022ee/spec/graphql/types/permission_types/project_spec.rb1023ee/spec/serializers/group_vulnerability_autocomplete_entity_spec.rb1024ee/spec/graphql/ee/types/permission_types/deployment_spec.rb1025ee/spec/workers/gitlab_subscriptions/notify_seats_exceeded_batch_worker_spec.rb1026ee/spec/services/admin/email_service_spec.rb1027ee/spec/services/gitlab_subscriptions/create_hand_raise_lead_service_spec.rb1028ee/spec/models/ee/projects/wiki_repository_spec.rb1029ee/spec/graphql/types/app_sec/fuzzing/api/scan_mode_enum_spec.rb1030ee/spec/lib/gitlab/search/client_spec.rb1031ee/spec/graphql/types/ci/minutes/namespace_monthly_usage_type_spec.rb1032Filter specs:1033Running specs:1034Running all node tests without filter1035ee/spec/services/search/global_service_spec.rb1036ee/spec/models/geo/project_registry_spec.rb1037ee/spec/models/sca/license_compliance_spec.rb1038ee/spec/replicators/geo/pages_deployment_replicator_spec.rb1039ee/spec/lib/ee/gitlab/usage/service_ping_report_spec.rb1040ee/spec/services/ci/compare_security_reports_service_spec.rb1041ee/spec/lib/banzai/filter/references/iteration_reference_filter_spec.rb1042ee/spec/helpers/push_rules_helper_spec.rb1043ee/spec/views/admin/application_settings/_elasticsearch_form.html.haml_spec.rb1044ee/spec/services/ci/minutes/email_notification_service_spec.rb1045ee/spec/lib/ee/gitlab/background_migration/backfill_project_statistics_storage_size_without_uploads_size_spec.rb1046ee/spec/services/geo/file_registry_removal_service_spec.rb1047ee/spec/models/protected_environment_spec.rb1048ee/spec/services/ee/notes/create_service_spec.rb1049ee/spec/services/ee/protected_branches/create_service_spec.rb1050ee/spec/models/geo/dependency_proxy_blob_registry_spec.rb1051ee/spec/models/geo/snippet_repository_registry_spec.rb1052ee/spec/lib/compliance_management/compliance_report/commit_loader_spec.rb1053ee/spec/workers/geo/registry_sync_worker_spec.rb1054ee/spec/services/vulnerabilities/create_service_spec.rb1055ee/spec/services/app_sec/dast/scanner_profiles/create_service_spec.rb1056ee/spec/models/ee/approvable_spec.rb1057ee/spec/services/ee/members/create_service_spec.rb1058ee/spec/services/merge_trains/add_merge_request_service_spec.rb1059ee/spec/models/project_ci_cd_setting_spec.rb1060ee/spec/models/protected_environments/approval_rule_spec.rb1061ee/spec/workers/store_security_reports_worker_spec.rb1062ee/spec/services/elastic/data_migration_service_spec.rb1063ee/spec/policies/global_policy_spec.rb1064ee/spec/models/vulnerabilities/state_transition_spec.rb1065ee/spec/lib/omni_auth/strategies/group_saml_spec.rb1066ee/spec/services/merge_trains/create_pipeline_service_spec.rb1067ee/spec/finders/groups_with_templates_finder_spec.rb1068ee/spec/services/security/store_scan_service_spec.rb1069ee/spec/models/project_import_data_spec.rb1070ee/spec/graphql/mutations/issues/set_epic_spec.rb1071ee/spec/models/ee/namespace/storage/notification_spec.rb1072ee/spec/serializers/blocking_merge_request_entity_spec.rb1073ee/spec/finders/snippets_finder_spec.rb1074ee/spec/workers/group_saml_group_sync_worker_spec.rb1075ee/spec/finders/compliance_management/merge_requests/compliance_violations_finder_spec.rb1076ee/spec/models/incident_management/oncall_rotation_spec.rb1077ee/spec/finders/security/training_urls_finder_spec.rb1078ee/spec/services/protected_environments/update_service_spec.rb1079ee/spec/services/approval_rules/merge_request_rule_destroy_service_spec.rb1080ee/spec/services/iterations/create_service_spec.rb1081ee/spec/services/todos/destroy/confidential_epic_service_spec.rb1082ee/spec/lib/ee/gitlab/group_search_results_spec.rb1083ee/spec/models/incident_management/pending_escalations/issue_spec.rb1084ee/spec/graphql/mutations/projects/set_locked_spec.rb1085ee/spec/services/dashboard/projects/create_service_spec.rb1086ee/spec/lib/gitlab/elastic/client_spec.rb1087ee/spec/services/projects/prometheus/alerts/notify_service_spec.rb1088ee/spec/graphql/resolvers/geo/snippet_repository_registries_resolver_spec.rb1089ee/spec/services/boards/epic_boards/create_service_spec.rb1090ee/spec/lib/quality/seeders/vulnerabilities_spec.rb1091ee/spec/services/app_sec/dast/scanner_profiles/destroy_service_spec.rb1092ee/spec/workers/iterations/roll_over_issues_worker_spec.rb1093ee/spec/views/shared/_mirror_update_button.html.haml_spec.rb1094ee/spec/services/app_sec/dast/site_profiles/destroy_service_spec.rb1095ee/spec/finders/incident_management/escalation_policies_finder_spec.rb1096ee/spec/routing/user_routing_spec.rb1097ee/spec/lib/gitlab/ci/templates/dast_api_gitlab_ci_yaml_spec.rb1098ee/spec/views/projects/project_members/index.html.haml_spec.rb1099ee/spec/services/geo/container_repository_sync_service_spec.rb1100ee/spec/graphql/mutations/issues/promote_to_epic_spec.rb1101ee/spec/services/analytics/cycle_analytics/value_streams/update_service_spec.rb1102ee/spec/services/ee/ci/job_artifacts/destroy_batch_service_spec.rb1103ee/spec/services/incident_management/escalation_policies/create_service_spec.rb1104ee/spec/serializers/dependency_list_entity_spec.rb1105ee/spec/services/work_items/widgets/progress_service/update_service_spec.rb1106ee/spec/graphql/types/ci/pipeline_type_spec.rb1107ee/spec/finders/ee/projects_finder_spec.rb1108ee/spec/models/groups/repository_storage_move_spec.rb1109ee/spec/models/vulnerabilities/external_issue_link_spec.rb1110ee/spec/graphql/mutations/dast_site_profiles/update_spec.rb1111ee/spec/models/concerns/geo/replicable_model_spec.rb1112ee/spec/services/projects/alerting/notify_service_spec.rb1113ee/spec/services/package_metadata/sync_service_spec.rb1114ee/spec/services/ee/two_factor/destroy_service_spec.rb1115ee/spec/services/ee/resource_events/change_iteration_service_spec.rb1116ee/spec/models/ee/key_spec.rb1117ee/spec/models/compliance_management/framework_spec.rb1118ee/spec/services/concerns/search/elasticsearchable_spec.rb1119ee/spec/services/ci/compare_metrics_reports_service_spec.rb1120ee/spec/helpers/ee/namespace_user_cap_reached_alert_helper_spec.rb1121ee/spec/lib/system_check/geo/authorized_keys_check_spec.rb1122ee/spec/workers/merge_requests/capture_suggested_reviewers_accepted_worker_spec.rb1123ee/spec/finders/incident_management/escalation_rules_finder_spec.rb1124ee/spec/services/app_sec/dast/site_validations/runner_service_spec.rb1125ee/spec/helpers/ee/labels_helper_spec.rb1126ee/spec/graphql/mutations/dast_scanner_profiles/delete_spec.rb1127ee/spec/helpers/ee/auth_helper_spec.rb1128ee/spec/services/groups/seat_usage_export_service_spec.rb1129ee/spec/services/integrations/slack_interactions/slack_block_actions/incident_management/project_update_handler_spec.rb1130ee/spec/workers/epics/update_cached_metadata_worker_spec.rb1131ee/spec/models/ee/label_spec.rb1132ee/spec/lib/audit/protected_branches_changes_auditor_spec.rb1133ee/spec/services/geo/repository_updated_event_store_spec.rb1134ee/spec/services/audit_events/streaming/headers/update_service_spec.rb1135ee/spec/services/ee/namespace_settings/update_service_spec.rb1136ee/spec/services/security/scanned_resources_service_spec.rb1137ee/spec/workers/auth/saml_group_sync_worker_spec.rb1138ee/spec/services/audit_events/register_runner_audit_event_service_spec.rb1139ee/spec/services/ee/event_create_service_spec.rb1140ee/spec/services/analytics/cycle_analytics/stages/list_service_spec.rb1141ee/spec/graphql/types/vulnerability_evidence_source_type_spec.rb1142ee/spec/services/audit_events/release_created_audit_event_service_spec.rb1143ee/spec/models/ee/namespace_statistics_spec.rb1144ee/spec/finders/ee/clusters/agents_finder_spec.rb1145ee/spec/services/geo/node_status_request_service_spec.rb1146ee/spec/graphql/resolvers/vulnerabilities/container_images_resolver_spec.rb1147ee/spec/services/incident_management/oncall_schedules/destroy_service_spec.rb1148ee/spec/views/admin/application_settings/_ee_package_registry.html.haml_spec.rb1149ee/spec/services/analytics/devops_adoption/enabled_namespaces/find_or_create_service_spec.rb1150ee/spec/lib/ee/gitlab/issuable/clone/copy_resource_events_service_spec.rb1151ee/spec/services/ee/merge_requests/handle_assignees_change_service_spec.rb1152ee/spec/services/sbom/ingestion/tasks/base_spec.rb1153ee/spec/lib/gitlab/usage/metrics/instrumentations/license_metric_spec.rb1154ee/spec/graphql/types/vulnerability_location/coverage_fuzzing_type_spec.rb1155ee/spec/services/analytics/devops_adoption/enabled_namespaces/create_service_spec.rb1156ee/spec/services/ee/alert_management/alerts/update_service_spec.rb1157ee/spec/lib/sidebars/user_settings/menus/usage_quotas_menu_spec.rb1158ee/spec/graphql/resolvers/vulnerabilities_grade_resolver_spec.rb1159ee/spec/services/ee/git/wiki_push_service_spec.rb1160ee/spec/helpers/markup_helper_spec.rb1161ee/spec/graphql/resolvers/geo/geo_node_resolver_spec.rb1162ee/spec/views/groups/settings/reporting/show.html.haml_spec.rb1163ee/spec/lib/ee/gitlab/ci/pipeline/chain/validate/security_orchestration_policy_spec.rb1164ee/spec/views/layouts/header/_current_user_dropdown.html.haml_spec.rb1165ee/spec/models/user_permission_export_upload_spec.rb1166ee/spec/policies/merge_requests/external_status_check_policy_spec.rb1167ee/spec/helpers/projects/analytics_dashboard_helper_spec.rb1168ee/spec/lib/ee/gitlab/gon_helper_spec.rb1169ee/spec/workers/vulnerability_exports/export_deletion_worker_spec.rb1170ee/spec/helpers/ee/ide_helper_spec.rb1171ee/spec/lib/arkose/logger_spec.rb1172ee/spec/lib/gitlab/ci/config/entry/vault/engine_spec.rb1173ee/spec/services/personal_access_tokens/groups/update_lifetime_service_spec.rb1174ee/spec/workers/incident_management/pending_escalations/issue_check_worker_spec.rb1175ee/spec/services/ee/groups/group_links/update_service_spec.rb1176ee/spec/graphql/mutations/boards/epic_boards/destroy_spec.rb1177ee/spec/lib/ee/gitlab/scim/reprovisioning_service_spec.rb1178ee/spec/workers/ee/arkose/blocked_users_report_worker_spec.rb1179ee/spec/models/project_repository_state_spec.rb1180ee/spec/lib/gitlab/vulnerabilities/parser_spec.rb1181ee/spec/views/admin/users/_credit_card_info.html.haml_spec.rb1182ee/spec/graphql/types/scanned_resource_type_spec.rb1183ee/spec/serializers/test_reports_comparer_entity_spec.rb1184ee/spec/services/ee/alert_management/http_integrations/update_service_spec.rb1185ee/spec/models/package_metadata/package_version_spec.rb1186ee/spec/models/namespaces/free_user_cap/root_size_spec.rb1187ee/spec/lib/ee/gitlab/usage/metrics/aggregates/aggregate_spec.rb1188ee/spec/services/integrations/slack_event_service_spec.rb1189ee/spec/views/devise/registrations/new.html.haml_spec.rb1190ee/spec/graphql/types/requirements_management/test_report_type_spec.rb1191ee/spec/lib/elastic/latest/issue_config_spec.rb1192ee/spec/services/ee/admin/set_feature_flag_service_spec.rb1193ee/spec/models/concerns/ee/milestoneable_spec.rb1194ee/spec/graphql/types/vulnerability/external_issue_link_type_enum_spec.rb1195ee/spec/models/ee/projects/branch_rule_spec.rb1196ee/spec/workers/automation/execute_rule_worker_spec.rb1197ee/spec/models/boards/epic_board_label_spec.rb1198ee/spec/routing/uploads_routing_spec.rb1199ee/spec/graphql/types/permission_types/project_spec.rb1200ee/spec/serializers/group_vulnerability_autocomplete_entity_spec.rb1201ee/spec/graphql/ee/types/permission_types/deployment_spec.rb1202ee/spec/workers/gitlab_subscriptions/notify_seats_exceeded_batch_worker_spec.rb1203ee/spec/services/admin/email_service_spec.rb1204ee/spec/services/gitlab_subscriptions/create_hand_raise_lead_service_spec.rb1205ee/spec/models/ee/projects/wiki_repository_spec.rb1206ee/spec/graphql/types/app_sec/fuzzing/api/scan_mode_enum_spec.rb1207ee/spec/lib/gitlab/search/client_spec.rb1208ee/spec/graphql/types/ci/minutes/namespace_monthly_usage_type_spec.rb1209Running all node tests without filter1210Running all node tests without filter1211Running command: bundle exec rspec -Ispec -rspec_helper --color --failure-exit-code 1 --error-exit-code 2 --format documentation --format RspecJunitFormatter --out rspec/junit_rspec.xml --tag ~quarantine --tag ~level:background_migration --default-path {ee -- ee/spec/services/search/global_service_spec.rb ee/spec/models/geo/project_registry_spec.rb ee/spec/models/sca/license_compliance_spec.rb ee/spec/replicators/geo/pages_deployment_replicator_spec.rb ee/spec/lib/ee/gitlab/usage/service_ping_report_spec.rb ee/spec/services/ci/compare_security_reports_service_spec.rb ee/spec/lib/banzai/filter/references/iteration_reference_filter_spec.rb ee/spec/helpers/push_rules_helper_spec.rb ee/spec/views/admin/application_settings/_elasticsearch_form.html.haml_spec.rb ee/spec/services/ci/minutes/email_notification_service_spec.rb ee/spec/lib/ee/gitlab/background_migration/backfill_project_statistics_storage_size_without_uploads_size_spec.rb ee/spec/services/geo/file_registry_removal_service_spec.rb ee/spec/models/protected_environment_spec.rb ee/spec/services/ee/notes/create_service_spec.rb ee/spec/services/ee/protected_branches/create_service_spec.rb ee/spec/models/geo/dependency_proxy_blob_registry_spec.rb ee/spec/models/geo/snippet_repository_registry_spec.rb ee/spec/lib/compliance_management/compliance_report/commit_loader_spec.rb ee/spec/workers/geo/registry_sync_worker_spec.rb ee/spec/services/vulnerabilities/create_service_spec.rb ee/spec/services/app_sec/dast/scanner_profiles/create_service_spec.rb ee/spec/models/ee/approvable_spec.rb ee/spec/services/ee/members/create_service_spec.rb ee/spec/services/merge_trains/add_merge_request_service_spec.rb ee/spec/models/project_ci_cd_setting_spec.rb ee/spec/models/protected_environments/approval_rule_spec.rb ee/spec/workers/store_security_reports_worker_spec.rb ee/spec/services/elastic/data_migration_service_spec.rb ee/spec/policies/global_policy_spec.rb ee/spec/models/vulnerabilities/state_transition_spec.rb ee/spec/lib/omni_auth/strategies/group_saml_spec.rb ee/spec/services/merge_trains/create_pipeline_service_spec.rb ee/spec/finders/groups_with_templates_finder_spec.rb ee/spec/services/security/store_scan_service_spec.rb ee/spec/models/project_import_data_spec.rb ee/spec/graphql/mutations/issues/set_epic_spec.rb ee/spec/models/ee/namespace/storage/notification_spec.rb ee/spec/serializers/blocking_merge_request_entity_spec.rb ee/spec/finders/snippets_finder_spec.rb ee/spec/workers/group_saml_group_sync_worker_spec.rb ee/spec/finders/compliance_management/merge_requests/compliance_violations_finder_spec.rb ee/spec/models/incident_management/oncall_rotation_spec.rb ee/spec/finders/security/training_urls_finder_spec.rb ee/spec/services/protected_environments/update_service_spec.rb ee/spec/services/approval_rules/merge_request_rule_destroy_service_spec.rb ee/spec/services/iterations/create_service_spec.rb ee/spec/services/todos/destroy/confidential_epic_service_spec.rb ee/spec/lib/ee/gitlab/group_search_results_spec.rb ee/spec/models/incident_management/pending_escalations/issue_spec.rb ee/spec/graphql/mutations/projects/set_locked_spec.rb ee/spec/services/dashboard/projects/create_service_spec.rb ee/spec/lib/gitlab/elastic/client_spec.rb ee/spec/services/projects/prometheus/alerts/notify_service_spec.rb ee/spec/graphql/resolvers/geo/snippet_repository_registries_resolver_spec.rb ee/spec/services/boards/epic_boards/create_service_spec.rb ee/spec/lib/quality/seeders/vulnerabilities_spec.rb ee/spec/services/app_sec/dast/scanner_profiles/destroy_service_spec.rb ee/spec/workers/iterations/roll_over_issues_worker_spec.rb ee/spec/views/shared/_mirror_update_button.html.haml_spec.rb ee/spec/services/app_sec/dast/site_profiles/destroy_service_spec.rb ee/spec/finders/incident_management/escalation_policies_finder_spec.rb ee/spec/routing/user_routing_spec.rb ee/spec/lib/gitlab/ci/templates/dast_api_gitlab_ci_yaml_spec.rb ee/spec/views/projects/project_members/index.html.haml_spec.rb ee/spec/services/geo/container_repository_sync_service_spec.rb ee/spec/graphql/mutations/issues/promote_to_epic_spec.rb ee/spec/services/analytics/cycle_analytics/value_streams/update_service_spec.rb ee/spec/services/ee/ci/job_artifacts/destroy_batch_service_spec.rb ee/spec/services/incident_management/escalation_policies/create_service_spec.rb ee/spec/serializers/dependency_list_entity_spec.rb ee/spec/services/work_items/widgets/progress_service/update_service_spec.rb ee/spec/graphql/types/ci/pipeline_type_spec.rb ee/spec/finders/ee/projects_finder_spec.rb ee/spec/models/groups/repository_storage_move_spec.rb ee/spec/models/vulnerabilities/external_issue_link_spec.rb ee/spec/graphql/mutations/dast_site_profiles/update_spec.rb ee/spec/models/concerns/geo/replicable_model_spec.rb ee/spec/services/projects/alerting/notify_service_spec.rb ee/spec/services/package_metadata/sync_service_spec.rb ee/spec/services/ee/two_factor/destroy_service_spec.rb ee/spec/services/ee/resource_events/change_iteration_service_spec.rb ee/spec/models/ee/key_spec.rb ee/spec/models/compliance_management/framework_spec.rb ee/spec/services/concerns/search/elasticsearchable_spec.rb ee/spec/services/ci/compare_metrics_reports_service_spec.rb ee/spec/helpers/ee/namespace_user_cap_reached_alert_helper_spec.rb ee/spec/lib/system_check/geo/authorized_keys_check_spec.rb ee/spec/workers/merge_requests/capture_suggested_reviewers_accepted_worker_spec.rb ee/spec/finders/incident_management/escalation_rules_finder_spec.rb ee/spec/services/app_sec/dast/site_validations/runner_service_spec.rb ee/spec/helpers/ee/labels_helper_spec.rb ee/spec/graphql/mutations/dast_scanner_profiles/delete_spec.rb ee/spec/helpers/ee/auth_helper_spec.rb ee/spec/services/groups/seat_usage_export_service_spec.rb ee/spec/services/integrations/slack_interactions/slack_block_actions/incident_management/project_update_handler_spec.rb ee/spec/workers/epics/update_cached_metadata_worker_spec.rb ee/spec/models/ee/label_spec.rb ee/spec/lib/audit/protected_branches_changes_auditor_spec.rb ee/spec/services/geo/repository_updated_event_store_spec.rb ee/spec/services/audit_events/streaming/headers/update_service_spec.rb ee/spec/services/ee/namespace_settings/update_service_spec.rb ee/spec/services/security/scanned_resources_service_spec.rb ee/spec/workers/auth/saml_group_sync_worker_spec.rb ee/spec/services/audit_events/register_runner_audit_event_service_spec.rb ee/spec/services/ee/event_create_service_spec.rb ee/spec/services/analytics/cycle_analytics/stages/list_service_spec.rb ee/spec/graphql/types/vulnerability_evidence_source_type_spec.rb ee/spec/services/audit_events/release_created_audit_event_service_spec.rb ee/spec/models/ee/namespace_statistics_spec.rb ee/spec/finders/ee/clusters/agents_finder_spec.rb ee/spec/services/geo/node_status_request_service_spec.rb ee/spec/graphql/resolvers/vulnerabilities/container_images_resolver_spec.rb ee/spec/services/incident_management/oncall_schedules/destroy_service_spec.rb ee/spec/views/admin/application_settings/_ee_package_registry.html.haml_spec.rb ee/spec/services/analytics/devops_adoption/enabled_namespaces/find_or_create_service_spec.rb ee/spec/lib/ee/gitlab/issuable/clone/copy_resource_events_service_spec.rb ee/spec/services/ee/merge_requests/handle_assignees_change_service_spec.rb ee/spec/services/sbom/ingestion/tasks/base_spec.rb ee/spec/lib/gitlab/usage/metrics/instrumentations/license_metric_spec.rb ee/spec/graphql/types/vulnerability_location/coverage_fuzzing_type_spec.rb ee/spec/services/analytics/devops_adoption/enabled_namespaces/create_service_spec.rb ee/spec/services/ee/alert_management/alerts/update_service_spec.rb ee/spec/lib/sidebars/user_settings/menus/usage_quotas_menu_spec.rb ee/spec/graphql/resolvers/vulnerabilities_grade_resolver_spec.rb ee/spec/services/ee/git/wiki_push_service_spec.rb ee/spec/helpers/markup_helper_spec.rb ee/spec/graphql/resolvers/geo/geo_node_resolver_spec.rb ee/spec/views/groups/settings/reporting/show.html.haml_spec.rb ee/spec/lib/ee/gitlab/ci/pipeline/chain/validate/security_orchestration_policy_spec.rb ee/spec/views/layouts/header/_current_user_dropdown.html.haml_spec.rb ee/spec/models/user_permission_export_upload_spec.rb ee/spec/policies/merge_requests/external_status_check_policy_spec.rb ee/spec/helpers/projects/analytics_dashboard_helper_spec.rb ee/spec/lib/ee/gitlab/gon_helper_spec.rb ee/spec/workers/vulnerability_exports/export_deletion_worker_spec.rb ee/spec/helpers/ee/ide_helper_spec.rb ee/spec/lib/arkose/logger_spec.rb ee/spec/lib/gitlab/ci/config/entry/vault/engine_spec.rb ee/spec/services/personal_access_tokens/groups/update_lifetime_service_spec.rb ee/spec/workers/incident_management/pending_escalations/issue_check_worker_spec.rb ee/spec/services/ee/groups/group_links/update_service_spec.rb ee/spec/graphql/mutations/boards/epic_boards/destroy_spec.rb ee/spec/lib/ee/gitlab/scim/reprovisioning_service_spec.rb ee/spec/workers/ee/arkose/blocked_users_report_worker_spec.rb ee/spec/models/project_repository_state_spec.rb ee/spec/lib/gitlab/vulnerabilities/parser_spec.rb ee/spec/views/admin/users/_credit_card_info.html.haml_spec.rb ee/spec/graphql/types/scanned_resource_type_spec.rb ee/spec/serializers/test_reports_comparer_entity_spec.rb ee/spec/services/ee/alert_management/http_integrations/update_service_spec.rb ee/spec/models/package_metadata/package_version_spec.rb ee/spec/models/namespaces/free_user_cap/root_size_spec.rb ee/spec/lib/ee/gitlab/usage/metrics/aggregates/aggregate_spec.rb ee/spec/services/integrations/slack_event_service_spec.rb ee/spec/views/devise/registrations/new.html.haml_spec.rb ee/spec/graphql/types/requirements_management/test_report_type_spec.rb ee/spec/lib/elastic/latest/issue_config_spec.rb ee/spec/services/ee/admin/set_feature_flag_service_spec.rb ee/spec/models/concerns/ee/milestoneable_spec.rb ee/spec/graphql/types/vulnerability/external_issue_link_type_enum_spec.rb ee/spec/models/ee/projects/branch_rule_spec.rb ee/spec/workers/automation/execute_rule_worker_spec.rb ee/spec/models/boards/epic_board_label_spec.rb ee/spec/routing/uploads_routing_spec.rb ee/spec/graphql/types/permission_types/project_spec.rb ee/spec/serializers/group_vulnerability_autocomplete_entity_spec.rb ee/spec/graphql/ee/types/permission_types/deployment_spec.rb ee/spec/workers/gitlab_subscriptions/notify_seats_exceeded_batch_worker_spec.rb ee/spec/services/admin/email_service_spec.rb ee/spec/services/gitlab_subscriptions/create_hand_raise_lead_service_spec.rb ee/spec/models/ee/projects/wiki_repository_spec.rb ee/spec/graphql/types/app_sec/fuzzing/api/scan_mode_enum_spec.rb ee/spec/lib/gitlab/search/client_spec.rb ee/spec/graphql/types/ci/minutes/namespace_monthly_usage_type_spec.rbKnapsack report generator started!1212Run options: exclude {:quarantine=>true, :level=>"background_migration"}1213Test environment set up in 0.719478249 seconds1214Search::GlobalService1215 behaves like EE search service shared examples1216 #use_elasticsearch?1217 delegates to Gitlab::CurrentSettings.search_using_elasticsearch?1218 when requesting basic_search1219 returns false1220 #execute1221 returns an Elastic result object when elasticsearch is enabled1222 returns an ordinary result object when elasticsearch is disabled1223 advanced syntax queries for all scopes1224 with query "display bug" and scope merge_requests1225 allows advanced query1226 with query "display bug" and scope notes1227 allows advanced query1228 with query "display bug" and scope commits1229 allows advanced query1230 with query "display bug" and scope blobs1231 allows advanced query1232 with query "display bug" and scope projects1233 allows advanced query1234 with query "display bug" and scope issues1235 allows advanced query1236 with query "display bug" and scope wiki_blobs1237 allows advanced query1238 with query "display bug" and scope milestones1239 allows advanced query1240 with query bug -display and scope merge_requests1241 allows advanced query1242 with query bug -display and scope notes1243 allows advanced query1244 with query bug -display and scope commits1245 allows advanced query1246 with query bug -display and scope blobs1247 allows advanced query1248 with query bug -display and scope projects1249 allows advanced query1250 with query bug -display and scope issues1251 allows advanced query1252 with query bug -display and scope wiki_blobs1253 allows advanced query1254 with query bug -display and scope milestones1255 allows advanced query1256 with query bug display | sound and scope merge_requests1257 allows advanced query1258 with query bug display | sound and scope notes1259 allows advanced query1260 with query bug display | sound and scope commits1261 allows advanced query1262 with query bug display | sound and scope blobs1263 allows advanced query1264 with query bug display | sound and scope projects1265 allows advanced query1266 with query bug display | sound and scope issues1267 allows advanced query1268 with query bug display | sound and scope wiki_blobs1269 allows advanced query1270 with query bug display | sound and scope milestones1271 allows advanced query1272 with query bug | (display +sound) and scope merge_requests1273 allows advanced query1274 with query bug | (display +sound) and scope notes1275 allows advanced query1276 with query bug | (display +sound) and scope commits1277 allows advanced query1278 with query bug | (display +sound) and scope blobs1279 allows advanced query1280 with query bug | (display +sound) and scope projects1281 allows advanced query1282 with query bug | (display +sound) and scope issues1283 allows advanced query1284 with query bug | (display +sound) and scope wiki_blobs1285 allows advanced query1286 with query bug | (display +sound) and scope milestones1287 allows advanced query1288 with query bug find_by_* and scope merge_requests1289 allows advanced query1290 with query bug find_by_* and scope notes1291 allows advanced query1292 with query bug find_by_* and scope commits1293 allows advanced query1294 with query bug find_by_* and scope blobs1295 allows advanced query1296 with query bug find_by_* and scope projects1297 allows advanced query1298 with query bug find_by_* and scope issues1299 allows advanced query1300 with query bug find_by_* and scope wiki_blobs1301 allows advanced query1302 with query bug find_by_* and scope milestones1303 allows advanced query1304 with query argument \-last and scope merge_requests1305 allows advanced query1306 with query argument \-last and scope notes1307 allows advanced query1308 with query argument \-last and scope commits1309 allows advanced query1310 with query argument \-last and scope blobs1311 allows advanced query1312 with query argument \-last and scope projects1313 allows advanced query1314 with query argument \-last and scope issues1315 allows advanced query1316 with query argument \-last and scope wiki_blobs1317 allows advanced query1318 with query argument \-last and scope milestones1319 allows advanced query1320 has_parent usage1321 behaves like search does not use has_parent1322 does not use joins to apply permissions1323 behaves like search does not use has_parent1324 does not use joins to apply permissions1325 behaves like search does not use has_parent1326 does not use joins to apply permissions1327 when projects search has an empty search term1328 does not raise exception1329 visibility1330 merge request1331 project_level: :public, feature_access_level: :enabled, membership: :admin, admin_mode: true, expected_count: 11332 behaves like search respects visibility1333 respects visibility1334 project_level: :public, feature_access_level: :enabled, membership: :admin, admin_mode: false, expected_count: 11335 behaves like search respects visibility1336 respects visibility1337 project_level: :public, feature_access_level: :enabled, membership: :reporter, admin_mode: nil, expected_count: 11338 behaves like search respects visibility1339 respects visibility1340 project_level: :public, feature_access_level: :enabled, membership: :guest, admin_mode: nil, expected_count: 11341 behaves like search respects visibility1342 respects visibility1343 project_level: :public, feature_access_level: :enabled, membership: :non_member, admin_mode: nil, expected_count: 11344 behaves like search respects visibility1345 respects visibility1346 project_level: :public, feature_access_level: :enabled, membership: :anonymous, admin_mode: nil, expected_count: 11347 behaves like search respects visibility1348 respects visibility1349 project_level: :public, feature_access_level: :private, membership: :admin, admin_mode: true, expected_count: 11350 behaves like search respects visibility1351 respects visibility1352 project_level: :public, feature_access_level: :private, membership: :admin, admin_mode: false, expected_count: 01353 behaves like search respects visibility1354 respects visibility1355 project_level: :public, feature_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 11356 behaves like search respects visibility1357 respects visibility1358 project_level: :public, feature_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 01359 behaves like search respects visibility1360 respects visibility1361 project_level: :public, feature_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 01362 behaves like search respects visibility1363 respects visibility1364 project_level: :public, feature_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 01365 behaves like search respects visibility1366 respects visibility1367 project_level: :public, feature_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 01368 behaves like search respects visibility1369 respects visibility1370 project_level: :public, feature_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 01371 behaves like search respects visibility1372 respects visibility1373 project_level: :public, feature_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 01374 behaves like search respects visibility1375 respects visibility1376 project_level: :public, feature_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 01377 behaves like search respects visibility1378 respects visibility1379 project_level: :internal, feature_access_level: :enabled, membership: :admin, admin_mode: true, expected_count: 11380 behaves like search respects visibility1381 respects visibility1382 project_level: :internal, feature_access_level: :enabled, membership: :admin, admin_mode: false, expected_count: 11383 behaves like search respects visibility1384 respects visibility1385 project_level: :internal, feature_access_level: :enabled, membership: :reporter, admin_mode: nil, expected_count: 11386 behaves like search respects visibility1387 respects visibility1388 project_level: :internal, feature_access_level: :enabled, membership: :guest, admin_mode: nil, expected_count: 11389 behaves like search respects visibility1390 respects visibility1391 project_level: :internal, feature_access_level: :enabled, membership: :non_member, admin_mode: nil, expected_count: 11392 behaves like search respects visibility1393 respects visibility1394 project_level: :internal, feature_access_level: :enabled, membership: :anonymous, admin_mode: nil, expected_count: 01395 behaves like search respects visibility1396 respects visibility1397 project_level: :internal, feature_access_level: :private, membership: :admin, admin_mode: true, expected_count: 11398 behaves like search respects visibility1399 respects visibility1400 project_level: :internal, feature_access_level: :private, membership: :admin, admin_mode: false, expected_count: 01401 behaves like search respects visibility1402 respects visibility1403 project_level: :internal, feature_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 11404 behaves like search respects visibility1405 respects visibility1406 project_level: :internal, feature_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 01407 behaves like search respects visibility1408 respects visibility1409 project_level: :internal, feature_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 01410 behaves like search respects visibility1411 respects visibility1412 project_level: :internal, feature_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 01413 behaves like search respects visibility1414 respects visibility1415 project_level: :internal, feature_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 01416 behaves like search respects visibility1417 respects visibility1418 project_level: :internal, feature_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 01419 behaves like search respects visibility1420 respects visibility1421 project_level: :internal, feature_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 01422 behaves like search respects visibility1423 respects visibility1424 project_level: :internal, feature_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 01425 behaves like search respects visibility1426 respects visibility1427 project_level: :private, feature_access_level: :private, membership: :admin, admin_mode: true, expected_count: 11428 behaves like search respects visibility1429 respects visibility1430 project_level: :private, feature_access_level: :private, membership: :admin, admin_mode: false, expected_count: 01431 behaves like search respects visibility1432 respects visibility1433 project_level: :private, feature_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 11434 behaves like search respects visibility1435 respects visibility1436 project_level: :private, feature_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 01437 behaves like search respects visibility1438 respects visibility1439 project_level: :private, feature_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 01440 behaves like search respects visibility1441 respects visibility1442 project_level: :private, feature_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 01443 behaves like search respects visibility1444 respects visibility1445 project_level: :private, feature_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 01446 behaves like search respects visibility1447 respects visibility1448 project_level: :private, feature_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 01449 behaves like search respects visibility1450 respects visibility1451 project_level: :private, feature_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 01452 behaves like search respects visibility1453 respects visibility1454 project_level: :private, feature_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 01455 behaves like search respects visibility1456 respects visibility1457 note1458 on issues1459 project_level: :public, feature_access_level: :enabled, membership: :admin, admin_mode: true, expected_count: 21460 behaves like search respects visibility1461 respects visibility1462 project_level: :public, feature_access_level: :enabled, membership: :admin, admin_mode: false, expected_count: 11463 behaves like search respects visibility1464 respects visibility1465 project_level: :public, feature_access_level: :enabled, membership: :reporter, admin_mode: nil, expected_count: 21466 behaves like search respects visibility1467 respects visibility1468 project_level: :public, feature_access_level: :enabled, membership: :guest, admin_mode: nil, expected_count: 11469 behaves like search respects visibility1470 respects visibility1471 project_level: :public, feature_access_level: :enabled, membership: :non_member, admin_mode: nil, expected_count: 11472 behaves like search respects visibility1473 respects visibility1474 project_level: :public, feature_access_level: :enabled, membership: :anonymous, admin_mode: nil, expected_count: 11475 behaves like search respects visibility1476 respects visibility1477 project_level: :public, feature_access_level: :private, membership: :admin, admin_mode: true, expected_count: 21478 behaves like search respects visibility1479 respects visibility1480 project_level: :public, feature_access_level: :private, membership: :admin, admin_mode: false, expected_count: 01481 behaves like search respects visibility1482 respects visibility1483 project_level: :public, feature_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 21484 behaves like search respects visibility1485 respects visibility1486 project_level: :public, feature_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 11487 behaves like search respects visibility1488 respects visibility1489 project_level: :public, feature_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 01490 behaves like search respects visibility1491 respects visibility1492 project_level: :public, feature_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 01493 behaves like search respects visibility1494 respects visibility1495 project_level: :public, feature_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 01496 behaves like search respects visibility1497 respects visibility1498 project_level: :public, feature_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 01499 behaves like search respects visibility1500 respects visibility1501 project_level: :public, feature_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 01502 behaves like search respects visibility1503 respects visibility1504 project_level: :public, feature_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 01505 behaves like search respects visibility1506 respects visibility1507 project_level: :internal, feature_access_level: :enabled, membership: :admin, admin_mode: true, expected_count: 21508 behaves like search respects visibility1509 respects visibility1510 project_level: :internal, feature_access_level: :enabled, membership: :admin, admin_mode: false, expected_count: 11511 behaves like search respects visibility1512 respects visibility1513 project_level: :internal, feature_access_level: :enabled, membership: :reporter, admin_mode: nil, expected_count: 21514 behaves like search respects visibility1515 respects visibility1516 project_level: :internal, feature_access_level: :enabled, membership: :guest, admin_mode: nil, expected_count: 11517 behaves like search respects visibility1518 respects visibility1519 project_level: :internal, feature_access_level: :enabled, membership: :non_member, admin_mode: nil, expected_count: 11520 behaves like search respects visibility1521 respects visibility1522 project_level: :internal, feature_access_level: :enabled, membership: :anonymous, admin_mode: nil, expected_count: 01523 behaves like search respects visibility1524 respects visibility1525 project_level: :internal, feature_access_level: :private, membership: :admin, admin_mode: true, expected_count: 21526 behaves like search respects visibility1527 respects visibility1528 project_level: :internal, feature_access_level: :private, membership: :admin, admin_mode: false, expected_count: 01529 behaves like search respects visibility1530 respects visibility1531 project_level: :internal, feature_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 21532 behaves like search respects visibility1533 respects visibility1534 project_level: :internal, feature_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 11535 behaves like search respects visibility1536 respects visibility1537 project_level: :internal, feature_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 01538 behaves like search respects visibility1539 respects visibility1540 project_level: :internal, feature_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 01541 behaves like search respects visibility1542 respects visibility1543 project_level: :internal, feature_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 01544 behaves like search respects visibility1545 respects visibility1546 project_level: :internal, feature_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 01547 behaves like search respects visibility1548 respects visibility1549 project_level: :internal, feature_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 01550 behaves like search respects visibility1551 respects visibility1552 project_level: :internal, feature_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 01553 behaves like search respects visibility1554 respects visibility1555 project_level: :private, feature_access_level: :private, membership: :admin, admin_mode: true, expected_count: 21556 behaves like search respects visibility1557 respects visibility1558 project_level: :private, feature_access_level: :private, membership: :admin, admin_mode: false, expected_count: 01559 behaves like search respects visibility1560 respects visibility1561 project_level: :private, feature_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 21562 behaves like search respects visibility1563 respects visibility1564 project_level: :private, feature_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 11565 behaves like search respects visibility1566 respects visibility1567 project_level: :private, feature_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 01568 behaves like search respects visibility1569 respects visibility1570 project_level: :private, feature_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 01571 behaves like search respects visibility1572 respects visibility1573 project_level: :private, feature_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 01574 behaves like search respects visibility1575 respects visibility1576 project_level: :private, feature_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 01577 behaves like search respects visibility1578 respects visibility1579 project_level: :private, feature_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 01580 behaves like search respects visibility1581 respects visibility1582 project_level: :private, feature_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 01583 behaves like search respects visibility1584 respects visibility1585 on merge requests1586 project_level: :public, feature_access_level: :enabled, membership: :admin, admin_mode: true, expected_count: 11587 behaves like search respects visibility1588 respects visibility1589 project_level: :public, feature_access_level: :enabled, membership: :admin, admin_mode: false, expected_count: 11590 behaves like search respects visibility1591 respects visibility1592 project_level: :public, feature_access_level: :enabled, membership: :reporter, admin_mode: nil, expected_count: 11593 behaves like search respects visibility1594 respects visibility1595 project_level: :public, feature_access_level: :enabled, membership: :guest, admin_mode: nil, expected_count: 11596 behaves like search respects visibility1597 respects visibility1598 project_level: :public, feature_access_level: :enabled, membership: :non_member, admin_mode: nil, expected_count: 11599 behaves like search respects visibility1600 respects visibility1601 project_level: :public, feature_access_level: :enabled, membership: :anonymous, admin_mode: nil, expected_count: 11602 behaves like search respects visibility1603 respects visibility1604 project_level: :public, feature_access_level: :private, membership: :admin, admin_mode: true, expected_count: 11605 behaves like search respects visibility1606 respects visibility1607 project_level: :public, feature_access_level: :private, membership: :admin, admin_mode: false, expected_count: 01608 behaves like search respects visibility1609 respects visibility1610 project_level: :public, feature_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 11611 behaves like search respects visibility1612 respects visibility1613 project_level: :public, feature_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 01614 behaves like search respects visibility1615 respects visibility1616 project_level: :public, feature_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 01617 behaves like search respects visibility1618 respects visibility1619 project_level: :public, feature_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 01620 behaves like search respects visibility1621 respects visibility1622 project_level: :public, feature_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 01623 behaves like search respects visibility1624 respects visibility1625 project_level: :public, feature_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 01626 behaves like search respects visibility1627 respects visibility1628 project_level: :public, feature_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 01629 behaves like search respects visibility1630 respects visibility1631 project_level: :public, feature_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 01632 behaves like search respects visibility1633 respects visibility1634 project_level: :internal, feature_access_level: :enabled, membership: :admin, admin_mode: true, expected_count: 11635 behaves like search respects visibility1636 respects visibility1637 project_level: :internal, feature_access_level: :enabled, membership: :admin, admin_mode: false, expected_count: 11638 behaves like search respects visibility1639 respects visibility1640 project_level: :internal, feature_access_level: :enabled, membership: :reporter, admin_mode: nil, expected_count: 11641 behaves like search respects visibility1642 respects visibility1643 project_level: :internal, feature_access_level: :enabled, membership: :guest, admin_mode: nil, expected_count: 11644 behaves like search respects visibility1645 respects visibility1646 project_level: :internal, feature_access_level: :enabled, membership: :non_member, admin_mode: nil, expected_count: 11647 behaves like search respects visibility1648 respects visibility1649 project_level: :internal, feature_access_level: :enabled, membership: :anonymous, admin_mode: nil, expected_count: 01650 behaves like search respects visibility1651 respects visibility1652 project_level: :internal, feature_access_level: :private, membership: :admin, admin_mode: true, expected_count: 11653 behaves like search respects visibility1654 respects visibility1655 project_level: :internal, feature_access_level: :private, membership: :admin, admin_mode: false, expected_count: 01656 behaves like search respects visibility1657 respects visibility1658 project_level: :internal, feature_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 11659 behaves like search respects visibility1660 respects visibility1661 project_level: :internal, feature_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 01662 behaves like search respects visibility1663 respects visibility1664 project_level: :internal, feature_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 01665 behaves like search respects visibility1666 respects visibility1667 project_level: :internal, feature_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 01668 behaves like search respects visibility1669 respects visibility1670 project_level: :internal, feature_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 01671 behaves like search respects visibility1672 respects visibility1673 project_level: :internal, feature_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 01674 behaves like search respects visibility1675 respects visibility1676 project_level: :internal, feature_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 01677 behaves like search respects visibility1678 respects visibility1679 project_level: :internal, feature_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 01680 behaves like search respects visibility1681 respects visibility1682 project_level: :private, feature_access_level: :private, membership: :admin, admin_mode: true, expected_count: 11683 behaves like search respects visibility1684 respects visibility1685 project_level: :private, feature_access_level: :private, membership: :admin, admin_mode: false, expected_count: 01686 behaves like search respects visibility1687 respects visibility1688 project_level: :private, feature_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 11689 behaves like search respects visibility1690 respects visibility1691 project_level: :private, feature_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 01692 behaves like search respects visibility1693 respects visibility1694 project_level: :private, feature_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 01695 behaves like search respects visibility1696 respects visibility1697 project_level: :private, feature_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 01698 behaves like search respects visibility1699 respects visibility1700 project_level: :private, feature_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 01701 behaves like search respects visibility1702 respects visibility1703 project_level: :private, feature_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 01704 behaves like search respects visibility1705 respects visibility1706 project_level: :private, feature_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 01707 behaves like search respects visibility1708 respects visibility1709 project_level: :private, feature_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 01710 behaves like search respects visibility1711 respects visibility1712 on commits1713 project_level: :public, feature_access_level: :enabled, membership: :admin, admin_mode: true, expected_count: 11714 behaves like search respects visibility1715 respects visibility1716 project_level: :public, feature_access_level: :enabled, membership: :admin, admin_mode: false, expected_count: 11717 behaves like search respects visibility1718 respects visibility1719 project_level: :public, feature_access_level: :enabled, membership: :reporter, admin_mode: nil, expected_count: 11720 behaves like search respects visibility1721 respects visibility1722 project_level: :public, feature_access_level: :enabled, membership: :guest, admin_mode: nil, expected_count: 11723 behaves like search respects visibility1724 respects visibility1725 project_level: :public, feature_access_level: :enabled, membership: :non_member, admin_mode: nil, expected_count: 11726 behaves like search respects visibility1727 respects visibility1728 project_level: :public, feature_access_level: :enabled, membership: :anonymous, admin_mode: nil, expected_count: 11729 behaves like search respects visibility1730 respects visibility1731 project_level: :public, feature_access_level: :private, membership: :admin, admin_mode: true, expected_count: 11732 behaves like search respects visibility1733 respects visibility1734 project_level: :public, feature_access_level: :private, membership: :admin, admin_mode: false, expected_count: 01735 behaves like search respects visibility1736 respects visibility1737 project_level: :public, feature_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 11738 behaves like search respects visibility1739 respects visibility1740 project_level: :public, feature_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 11741 behaves like search respects visibility1742 respects visibility1743 project_level: :public, feature_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 01744 behaves like search respects visibility1745 respects visibility1746 project_level: :public, feature_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 01747 behaves like search respects visibility1748 respects visibility1749 project_level: :public, feature_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 01750 behaves like search respects visibility1751 respects visibility1752 project_level: :public, feature_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 01753 behaves like search respects visibility1754 respects visibility1755 project_level: :public, feature_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 01756 behaves like search respects visibility1757 respects visibility1758 project_level: :public, feature_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 01759 behaves like search respects visibility1760 respects visibility1761 project_level: :internal, feature_access_level: :enabled, membership: :admin, admin_mode: true, expected_count: 11762 behaves like search respects visibility1763 respects visibility1764 project_level: :internal, feature_access_level: :enabled, membership: :admin, admin_mode: false, expected_count: 11765 behaves like search respects visibility1766 respects visibility1767 project_level: :internal, feature_access_level: :enabled, membership: :reporter, admin_mode: nil, expected_count: 11768 behaves like search respects visibility1769 respects visibility1770 project_level: :internal, feature_access_level: :enabled, membership: :guest, admin_mode: nil, expected_count: 11771 behaves like search respects visibility1772 respects visibility1773 project_level: :internal, feature_access_level: :enabled, membership: :non_member, admin_mode: nil, expected_count: 11774 behaves like search respects visibility1775 respects visibility1776 project_level: :internal, feature_access_level: :enabled, membership: :anonymous, admin_mode: nil, expected_count: 01777 behaves like search respects visibility1778 respects visibility1779 project_level: :internal, feature_access_level: :private, membership: :admin, admin_mode: true, expected_count: 11780 behaves like search respects visibility1781 respects visibility1782 project_level: :internal, feature_access_level: :private, membership: :admin, admin_mode: false, expected_count: 01783 behaves like search respects visibility1784 respects visibility1785 project_level: :internal, feature_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 11786 behaves like search respects visibility1787 respects visibility1788 project_level: :internal, feature_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 11789 behaves like search respects visibility1790 respects visibility1791 project_level: :internal, feature_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 01792 behaves like search respects visibility1793 respects visibility1794 project_level: :internal, feature_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 01795 behaves like search respects visibility1796 respects visibility1797 project_level: :internal, feature_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 01798 behaves like search respects visibility1799 respects visibility1800 project_level: :internal, feature_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 01801 behaves like search respects visibility1802 respects visibility1803 project_level: :internal, feature_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 01804 behaves like search respects visibility1805 respects visibility1806 project_level: :internal, feature_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 01807 behaves like search respects visibility1808 respects visibility1809 project_level: :private, feature_access_level: :private, membership: :admin, admin_mode: true, expected_count: 11810 behaves like search respects visibility1811 respects visibility1812 project_level: :private, feature_access_level: :private, membership: :admin, admin_mode: false, expected_count: 01813 behaves like search respects visibility1814 respects visibility1815 project_level: :private, feature_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 11816 behaves like search respects visibility1817 respects visibility1818 project_level: :private, feature_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 01819 behaves like search respects visibility1820 respects visibility1821 project_level: :private, feature_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 01822 behaves like search respects visibility1823 respects visibility1824 project_level: :private, feature_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 01825 behaves like search respects visibility1826 respects visibility1827 project_level: :private, feature_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 01828 behaves like search respects visibility1829 respects visibility1830 project_level: :private, feature_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 01831 behaves like search respects visibility1832 respects visibility1833 project_level: :private, feature_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 01834 behaves like search respects visibility1835 respects visibility1836 project_level: :private, feature_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 01837 behaves like search respects visibility1838 respects visibility1839 on snippets1840 project_level: :public, feature_access_level: :enabled, membership: :admin, admin_mode: true, expected_count: 11841 behaves like search respects visibility1842 respects visibility1843 project_level: :public, feature_access_level: :enabled, membership: :admin, admin_mode: false, expected_count: 11844 behaves like search respects visibility1845 respects visibility1846 project_level: :public, feature_access_level: :enabled, membership: :reporter, admin_mode: nil, expected_count: 11847 behaves like search respects visibility1848 respects visibility1849 project_level: :public, feature_access_level: :enabled, membership: :guest, admin_mode: nil, expected_count: 11850 behaves like search respects visibility1851 respects visibility1852 project_level: :public, feature_access_level: :enabled, membership: :non_member, admin_mode: nil, expected_count: 11853 behaves like search respects visibility1854 respects visibility1855 project_level: :public, feature_access_level: :enabled, membership: :anonymous, admin_mode: nil, expected_count: 11856 behaves like search respects visibility1857 respects visibility1858 project_level: :public, feature_access_level: :private, membership: :admin, admin_mode: true, expected_count: 11859 behaves like search respects visibility1860 respects visibility1861 project_level: :public, feature_access_level: :private, membership: :admin, admin_mode: false, expected_count: 01862 behaves like search respects visibility1863 respects visibility1864 project_level: :public, feature_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 11865 behaves like search respects visibility1866 respects visibility1867 project_level: :public, feature_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 11868 behaves like search respects visibility1869 respects visibility1870 project_level: :public, feature_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 01871 behaves like search respects visibility1872 respects visibility1873 project_level: :public, feature_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 01874 behaves like search respects visibility1875 respects visibility1876 project_level: :public, feature_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 01877 behaves like search respects visibility1878 respects visibility1879 project_level: :public, feature_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 01880 behaves like search respects visibility1881 respects visibility1882 project_level: :public, feature_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 01883 behaves like search respects visibility1884 respects visibility1885 project_level: :public, feature_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 01886 behaves like search respects visibility1887 respects visibility1888 project_level: :internal, feature_access_level: :enabled, membership: :admin, admin_mode: true, expected_count: 11889 behaves like search respects visibility1890 respects visibility1891 project_level: :internal, feature_access_level: :enabled, membership: :admin, admin_mode: false, expected_count: 11892 behaves like search respects visibility1893 respects visibility1894 project_level: :internal, feature_access_level: :enabled, membership: :reporter, admin_mode: nil, expected_count: 11895 behaves like search respects visibility1896 respects visibility1897 project_level: :internal, feature_access_level: :enabled, membership: :guest, admin_mode: nil, expected_count: 11898 behaves like search respects visibility1899 respects visibility1900 project_level: :internal, feature_access_level: :enabled, membership: :non_member, admin_mode: nil, expected_count: 11901 behaves like search respects visibility1902 respects visibility1903 project_level: :internal, feature_access_level: :enabled, membership: :anonymous, admin_mode: nil, expected_count: 01904 behaves like search respects visibility1905 respects visibility1906 project_level: :internal, feature_access_level: :private, membership: :admin, admin_mode: true, expected_count: 11907 behaves like search respects visibility1908 respects visibility1909 project_level: :internal, feature_access_level: :private, membership: :admin, admin_mode: false, expected_count: 01910 behaves like search respects visibility1911 respects visibility1912 project_level: :internal, feature_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 11913 behaves like search respects visibility1914 respects visibility1915 project_level: :internal, feature_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 11916 behaves like search respects visibility1917 respects visibility1918 project_level: :internal, feature_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 01919 behaves like search respects visibility1920 respects visibility1921 project_level: :internal, feature_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 01922 behaves like search respects visibility1923 respects visibility1924 project_level: :internal, feature_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 01925 behaves like search respects visibility1926 respects visibility1927 project_level: :internal, feature_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 01928 behaves like search respects visibility1929 respects visibility1930 project_level: :internal, feature_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 01931 behaves like search respects visibility1932 respects visibility1933 project_level: :internal, feature_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 01934 behaves like search respects visibility1935 respects visibility1936 project_level: :private, feature_access_level: :private, membership: :admin, admin_mode: true, expected_count: 11937 behaves like search respects visibility1938 respects visibility1939 project_level: :private, feature_access_level: :private, membership: :admin, admin_mode: false, expected_count: 01940 behaves like search respects visibility1941 respects visibility1942 project_level: :private, feature_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 11943 behaves like search respects visibility1944 respects visibility1945 project_level: :private, feature_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 11946 behaves like search respects visibility1947 respects visibility1948 project_level: :private, feature_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 01949 behaves like search respects visibility1950 respects visibility1951 project_level: :private, feature_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 01952 behaves like search respects visibility1953 respects visibility1954 project_level: :private, feature_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 01955 behaves like search respects visibility1956 respects visibility1957 project_level: :private, feature_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 01958 behaves like search respects visibility1959 respects visibility1960 project_level: :private, feature_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 01961 behaves like search respects visibility1962 respects visibility1963 project_level: :private, feature_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 01964 behaves like search respects visibility1965 respects visibility1966 issue1967 project_level: :public, feature_access_level: :enabled, membership: :admin, admin_mode: true, expected_count: 11968 behaves like search respects visibility1969 respects visibility1970 project_level: :public, feature_access_level: :enabled, membership: :admin, admin_mode: false, expected_count: 11971 behaves like search respects visibility1972 respects visibility1973 project_level: :public, feature_access_level: :enabled, membership: :reporter, admin_mode: nil, expected_count: 11974 behaves like search respects visibility1975 respects visibility1976 project_level: :public, feature_access_level: :enabled, membership: :guest, admin_mode: nil, expected_count: 11977 behaves like search respects visibility1978 respects visibility1979 project_level: :public, feature_access_level: :enabled, membership: :non_member, admin_mode: nil, expected_count: 11980 behaves like search respects visibility1981 respects visibility1982 project_level: :public, feature_access_level: :enabled, membership: :anonymous, admin_mode: nil, expected_count: 11983 behaves like search respects visibility1984 respects visibility1985 project_level: :public, feature_access_level: :private, membership: :admin, admin_mode: true, expected_count: 11986 behaves like search respects visibility1987 respects visibility1988 project_level: :public, feature_access_level: :private, membership: :admin, admin_mode: false, expected_count: 01989 behaves like search respects visibility1990 respects visibility1991 project_level: :public, feature_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 11992 behaves like search respects visibility1993 respects visibility1994 project_level: :public, feature_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 11995 behaves like search respects visibility1996 respects visibility1997 project_level: :public, feature_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 01998 behaves like search respects visibility1999 respects visibility2000 project_level: :public, feature_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 02001 behaves like search respects visibility2002 respects visibility2003 project_level: :public, feature_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 02004 behaves like search respects visibility2005 respects visibility2006 project_level: :public, feature_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 02007 behaves like search respects visibility2008 respects visibility2009 project_level: :public, feature_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 02010 behaves like search respects visibility2011 respects visibility2012 project_level: :public, feature_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 02013 behaves like search respects visibility2014 respects visibility2015 project_level: :internal, feature_access_level: :enabled, membership: :admin, admin_mode: true, expected_count: 12016 behaves like search respects visibility2017 respects visibility2018 project_level: :internal, feature_access_level: :enabled, membership: :admin, admin_mode: false, expected_count: 12019 behaves like search respects visibility2020 respects visibility2021 project_level: :internal, feature_access_level: :enabled, membership: :reporter, admin_mode: nil, expected_count: 12022 behaves like search respects visibility2023 respects visibility2024 project_level: :internal, feature_access_level: :enabled, membership: :guest, admin_mode: nil, expected_count: 12025 behaves like search respects visibility2026 respects visibility2027 project_level: :internal, feature_access_level: :enabled, membership: :non_member, admin_mode: nil, expected_count: 12028 behaves like search respects visibility2029 respects visibility2030 project_level: :internal, feature_access_level: :enabled, membership: :anonymous, admin_mode: nil, expected_count: 02031 behaves like search respects visibility2032 respects visibility2033 project_level: :internal, feature_access_level: :private, membership: :admin, admin_mode: true, expected_count: 12034 behaves like search respects visibility2035 respects visibility2036 project_level: :internal, feature_access_level: :private, membership: :admin, admin_mode: false, expected_count: 02037 behaves like search respects visibility2038 respects visibility2039 project_level: :internal, feature_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 12040 behaves like search respects visibility2041 respects visibility2042 project_level: :internal, feature_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 12043 behaves like search respects visibility2044 respects visibility2045 project_level: :internal, feature_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 02046 behaves like search respects visibility2047 respects visibility2048 project_level: :internal, feature_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 02049 behaves like search respects visibility2050 respects visibility2051 project_level: :internal, feature_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 02052 behaves like search respects visibility2053 respects visibility2054 project_level: :internal, feature_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 02055 behaves like search respects visibility2056 respects visibility2057 project_level: :internal, feature_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 02058 behaves like search respects visibility2059 respects visibility2060 project_level: :internal, feature_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 02061 behaves like search respects visibility2062 respects visibility2063 project_level: :private, feature_access_level: :private, membership: :admin, admin_mode: true, expected_count: 12064 behaves like search respects visibility2065 respects visibility2066 project_level: :private, feature_access_level: :private, membership: :admin, admin_mode: false, expected_count: 02067 behaves like search respects visibility2068 respects visibility2069 project_level: :private, feature_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 12070 behaves like search respects visibility2071 respects visibility2072 project_level: :private, feature_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 12073 behaves like search respects visibility2074 respects visibility2075 project_level: :private, feature_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 02076 behaves like search respects visibility2077 respects visibility2078 project_level: :private, feature_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 02079 behaves like search respects visibility2080 respects visibility2081 project_level: :private, feature_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 02082 behaves like search respects visibility2083 respects visibility2084 project_level: :private, feature_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 02085 behaves like search respects visibility2086 respects visibility2087 project_level: :private, feature_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 02088 behaves like search respects visibility2089 respects visibility2090 project_level: :private, feature_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 02091 behaves like search respects visibility2092 respects visibility2093 wiki2094 project_level: :public, feature_access_level: :enabled, membership: :admin, admin_mode: true, expected_count: 12095 behaves like search respects visibility2096 respects visibility2097 project_level: :public, feature_access_level: :enabled, membership: :admin, admin_mode: false, expected_count: 12098 behaves like search respects visibility2099 respects visibility2100 project_level: :public, feature_access_level: :enabled, membership: :reporter, admin_mode: nil, expected_count: 12101 behaves like search respects visibility2102 respects visibility2103 project_level: :public, feature_access_level: :enabled, membership: :guest, admin_mode: nil, expected_count: 12104 behaves like search respects visibility2105 respects visibility2106 project_level: :public, feature_access_level: :enabled, membership: :non_member, admin_mode: nil, expected_count: 12107 behaves like search respects visibility2108 respects visibility2109 project_level: :public, feature_access_level: :enabled, membership: :anonymous, admin_mode: nil, expected_count: 12110 behaves like search respects visibility2111 respects visibility2112 project_level: :public, feature_access_level: :private, membership: :admin, admin_mode: true, expected_count: 12113 behaves like search respects visibility2114 respects visibility2115 project_level: :public, feature_access_level: :private, membership: :admin, admin_mode: false, expected_count: 02116 behaves like search respects visibility2117 respects visibility2118 project_level: :public, feature_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 12119 behaves like search respects visibility2120 respects visibility2121 project_level: :public, feature_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 12122 behaves like search respects visibility2123 respects visibility2124 project_level: :public, feature_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 02125 behaves like search respects visibility2126 respects visibility2127 project_level: :public, feature_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 02128 behaves like search respects visibility2129 respects visibility2130 project_level: :public, feature_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 02131 behaves like search respects visibility2132 respects visibility2133 project_level: :public, feature_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 02134 behaves like search respects visibility2135 respects visibility2136 project_level: :public, feature_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 02137 behaves like search respects visibility2138 respects visibility2139 project_level: :public, feature_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 02140 behaves like search respects visibility2141 respects visibility2142 project_level: :internal, feature_access_level: :enabled, membership: :admin, admin_mode: true, expected_count: 12143 behaves like search respects visibility2144 respects visibility2145 project_level: :internal, feature_access_level: :enabled, membership: :admin, admin_mode: false, expected_count: 12146 behaves like search respects visibility2147 respects visibility2148 project_level: :internal, feature_access_level: :enabled, membership: :reporter, admin_mode: nil, expected_count: 12149 behaves like search respects visibility2150 respects visibility2151 project_level: :internal, feature_access_level: :enabled, membership: :guest, admin_mode: nil, expected_count: 12152 behaves like search respects visibility2153 respects visibility2154 project_level: :internal, feature_access_level: :enabled, membership: :non_member, admin_mode: nil, expected_count: 12155 behaves like search respects visibility2156 respects visibility2157 project_level: :internal, feature_access_level: :enabled, membership: :anonymous, admin_mode: nil, expected_count: 02158 behaves like search respects visibility2159 respects visibility2160 project_level: :internal, feature_access_level: :private, membership: :admin, admin_mode: true, expected_count: 12161 behaves like search respects visibility2162 respects visibility2163 project_level: :internal, feature_access_level: :private, membership: :admin, admin_mode: false, expected_count: 02164 behaves like search respects visibility2165 respects visibility2166 project_level: :internal, feature_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 12167 behaves like search respects visibility2168 respects visibility2169 project_level: :internal, feature_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 12170 behaves like search respects visibility2171 respects visibility2172 project_level: :internal, feature_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 02173 behaves like search respects visibility2174 respects visibility2175 project_level: :internal, feature_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 02176 behaves like search respects visibility2177 respects visibility2178 project_level: :internal, feature_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 02179 behaves like search respects visibility2180 respects visibility2181 project_level: :internal, feature_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 02182 behaves like search respects visibility2183 respects visibility2184 project_level: :internal, feature_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 02185 behaves like search respects visibility2186 respects visibility2187 project_level: :internal, feature_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 02188 behaves like search respects visibility2189 respects visibility2190 project_level: :private, feature_access_level: :private, membership: :admin, admin_mode: true, expected_count: 12191 behaves like search respects visibility2192 respects visibility2193 project_level: :private, feature_access_level: :private, membership: :admin, admin_mode: false, expected_count: 02194 behaves like search respects visibility2195 respects visibility2196 project_level: :private, feature_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 12197 behaves like search respects visibility2198 respects visibility2199 project_level: :private, feature_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 12200 behaves like search respects visibility2201 respects visibility2202 project_level: :private, feature_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 02203 behaves like search respects visibility2204 respects visibility2205 project_level: :private, feature_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 02206 behaves like search respects visibility2207 respects visibility2208 project_level: :private, feature_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 02209 behaves like search respects visibility2210 respects visibility2211 project_level: :private, feature_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 02212 behaves like search respects visibility2213 respects visibility2214 project_level: :private, feature_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 02215 behaves like search respects visibility2216 respects visibility2217 project_level: :private, feature_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 02218 behaves like search respects visibility2219 respects visibility2220 milestone2221 project_level: :public, issues_access_level: :enabled, merge_requests_access_level: :enabled, membership: :admin, admin_mode: true, expected_count: 12222 respects visibility2223 project_level: :public, issues_access_level: :enabled, merge_requests_access_level: :enabled, membership: :admin, admin_mode: false, expected_count: 12224 respects visibility2225 project_level: :public, issues_access_level: :enabled, merge_requests_access_level: :enabled, membership: :reporter, admin_mode: nil, expected_count: 12226 respects visibility2227 project_level: :public, issues_access_level: :enabled, merge_requests_access_level: :enabled, membership: :guest, admin_mode: nil, expected_count: 12228 respects visibility2229 project_level: :public, issues_access_level: :enabled, merge_requests_access_level: :enabled, membership: :non_member, admin_mode: nil, expected_count: 12230 respects visibility2231 project_level: :public, issues_access_level: :enabled, merge_requests_access_level: :enabled, membership: :anonymous, admin_mode: nil, expected_count: 12232 respects visibility2233 project_level: :public, issues_access_level: :enabled, merge_requests_access_level: :private, membership: :admin, admin_mode: true, expected_count: 12234 respects visibility2235 project_level: :public, issues_access_level: :enabled, merge_requests_access_level: :private, membership: :admin, admin_mode: false, expected_count: 12236 respects visibility2237 project_level: :public, issues_access_level: :enabled, merge_requests_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 12238 respects visibility2239 project_level: :public, issues_access_level: :enabled, merge_requests_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 12240 respects visibility2241 project_level: :public, issues_access_level: :enabled, merge_requests_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 12242 respects visibility2243 project_level: :public, issues_access_level: :enabled, merge_requests_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 12244 respects visibility2245 project_level: :public, issues_access_level: :enabled, merge_requests_access_level: :disabled, membership: :admin, admin_mode: true, expected_count: 12246 respects visibility2247 project_level: :public, issues_access_level: :enabled, merge_requests_access_level: :disabled, membership: :admin, admin_mode: false, expected_count: 12248 respects visibility2249 project_level: :public, issues_access_level: :enabled, merge_requests_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 12250 respects visibility2251 project_level: :public, issues_access_level: :enabled, merge_requests_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 12252 respects visibility2253 project_level: :public, issues_access_level: :enabled, merge_requests_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 12254 respects visibility2255 project_level: :public, issues_access_level: :enabled, merge_requests_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 12256 respects visibility2257 project_level: :public, issues_access_level: :private, merge_requests_access_level: :enabled, membership: :admin, admin_mode: true, expected_count: 12258 respects visibility2259 project_level: :public, issues_access_level: :private, merge_requests_access_level: :enabled, membership: :admin, admin_mode: false, expected_count: 12260 respects visibility2261 project_level: :public, issues_access_level: :private, merge_requests_access_level: :enabled, membership: :reporter, admin_mode: nil, expected_count: 12262 respects visibility2263 project_level: :public, issues_access_level: :private, merge_requests_access_level: :enabled, membership: :guest, admin_mode: nil, expected_count: 12264 respects visibility2265 project_level: :public, issues_access_level: :private, merge_requests_access_level: :enabled, membership: :non_member, admin_mode: nil, expected_count: 12266 respects visibility2267 project_level: :public, issues_access_level: :private, merge_requests_access_level: :enabled, membership: :anonymous, admin_mode: nil, expected_count: 12268 respects visibility2269 project_level: :public, issues_access_level: :private, merge_requests_access_level: :private, membership: :admin, admin_mode: true, expected_count: 12270 respects visibility2271 project_level: :public, issues_access_level: :private, merge_requests_access_level: :private, membership: :admin, admin_mode: false, expected_count: 02272 respects visibility2273 project_level: :public, issues_access_level: :private, merge_requests_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 12274 respects visibility2275 project_level: :public, issues_access_level: :private, merge_requests_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 12276 respects visibility2277 project_level: :public, issues_access_level: :private, merge_requests_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 02278 respects visibility2279 project_level: :public, issues_access_level: :private, merge_requests_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 02280 respects visibility2281 project_level: :public, issues_access_level: :private, merge_requests_access_level: :disabled, membership: :admin, admin_mode: true, expected_count: 12282 respects visibility2283 project_level: :public, issues_access_level: :private, merge_requests_access_level: :disabled, membership: :admin, admin_mode: false, expected_count: 02284 respects visibility2285 project_level: :public, issues_access_level: :private, merge_requests_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 12286 respects visibility2287 project_level: :public, issues_access_level: :private, merge_requests_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 12288 respects visibility2289 project_level: :public, issues_access_level: :private, merge_requests_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 02290 respects visibility2291 project_level: :public, issues_access_level: :private, merge_requests_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 02292 respects visibility2293 project_level: :public, issues_access_level: :disabled, merge_requests_access_level: :enabled, membership: :admin, admin_mode: true, expected_count: 12294 respects visibility2295 project_level: :public, issues_access_level: :disabled, merge_requests_access_level: :enabled, membership: :admin, admin_mode: false, expected_count: 12296 respects visibility2297 project_level: :public, issues_access_level: :disabled, merge_requests_access_level: :enabled, membership: :reporter, admin_mode: nil, expected_count: 12298 respects visibility2299 project_level: :public, issues_access_level: :disabled, merge_requests_access_level: :enabled, membership: :guest, admin_mode: nil, expected_count: 12300 respects visibility2301 project_level: :public, issues_access_level: :disabled, merge_requests_access_level: :enabled, membership: :non_member, admin_mode: nil, expected_count: 12302 respects visibility2303 project_level: :public, issues_access_level: :disabled, merge_requests_access_level: :enabled, membership: :anonymous, admin_mode: nil, expected_count: 12304 respects visibility2305 project_level: :public, issues_access_level: :disabled, merge_requests_access_level: :private, membership: :admin, admin_mode: true, expected_count: 12306 respects visibility2307 project_level: :public, issues_access_level: :disabled, merge_requests_access_level: :private, membership: :admin, admin_mode: false, expected_count: 02308 respects visibility2309 project_level: :public, issues_access_level: :disabled, merge_requests_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 12310 respects visibility2311 project_level: :public, issues_access_level: :disabled, merge_requests_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 02312 respects visibility2313 project_level: :public, issues_access_level: :disabled, merge_requests_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 02314 respects visibility2315 project_level: :public, issues_access_level: :disabled, merge_requests_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 02316 respects visibility2317 project_level: :public, issues_access_level: :disabled, merge_requests_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 02318 respects visibility2319 project_level: :public, issues_access_level: :disabled, merge_requests_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 02320 respects visibility2321 project_level: :public, issues_access_level: :disabled, merge_requests_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 02322 respects visibility2323 project_level: :public, issues_access_level: :disabled, merge_requests_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 02324 respects visibility2325 project_level: :internal, issues_access_level: :enabled, merge_requests_access_level: :enabled, membership: :admin, admin_mode: true, expected_count: 12326 respects visibility2327 project_level: :internal, issues_access_level: :enabled, merge_requests_access_level: :enabled, membership: :admin, admin_mode: false, expected_count: 12328 respects visibility2329 project_level: :internal, issues_access_level: :enabled, merge_requests_access_level: :enabled, membership: :reporter, admin_mode: nil, expected_count: 12330 respects visibility2331 project_level: :internal, issues_access_level: :enabled, merge_requests_access_level: :enabled, membership: :guest, admin_mode: nil, expected_count: 12332 respects visibility2333 project_level: :internal, issues_access_level: :enabled, merge_requests_access_level: :enabled, membership: :non_member, admin_mode: nil, expected_count: 12334 respects visibility2335 project_level: :internal, issues_access_level: :enabled, merge_requests_access_level: :enabled, membership: :anonymous, admin_mode: nil, expected_count: 02336 respects visibility2337 project_level: :internal, issues_access_level: :enabled, merge_requests_access_level: :private, membership: :admin, admin_mode: true, expected_count: 12338 respects visibility2339 project_level: :internal, issues_access_level: :enabled, merge_requests_access_level: :private, membership: :admin, admin_mode: false, expected_count: 12340 respects visibility2341 project_level: :internal, issues_access_level: :enabled, merge_requests_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 12342 respects visibility2343 project_level: :internal, issues_access_level: :enabled, merge_requests_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 12344 respects visibility2345 project_level: :internal, issues_access_level: :enabled, merge_requests_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 12346 respects visibility2347 project_level: :internal, issues_access_level: :enabled, merge_requests_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 02348 respects visibility2349 project_level: :internal, issues_access_level: :enabled, merge_requests_access_level: :disabled, membership: :admin, admin_mode: true, expected_count: 12350 respects visibility2351 project_level: :internal, issues_access_level: :enabled, merge_requests_access_level: :disabled, membership: :admin, admin_mode: false, expected_count: 12352 respects visibility2353 project_level: :internal, issues_access_level: :enabled, merge_requests_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 12354 respects visibility2355 project_level: :internal, issues_access_level: :enabled, merge_requests_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 12356 respects visibility2357 project_level: :internal, issues_access_level: :enabled, merge_requests_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 12358 respects visibility2359 project_level: :internal, issues_access_level: :enabled, merge_requests_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 02360 respects visibility2361 project_level: :internal, issues_access_level: :private, merge_requests_access_level: :enabled, membership: :admin, admin_mode: true, expected_count: 12362 respects visibility2363 project_level: :internal, issues_access_level: :private, merge_requests_access_level: :enabled, membership: :admin, admin_mode: false, expected_count: 12364 respects visibility2365 project_level: :internal, issues_access_level: :private, merge_requests_access_level: :enabled, membership: :reporter, admin_mode: nil, expected_count: 12366 respects visibility2367 project_level: :internal, issues_access_level: :private, merge_requests_access_level: :enabled, membership: :guest, admin_mode: nil, expected_count: 12368 respects visibility2369 project_level: :internal, issues_access_level: :private, merge_requests_access_level: :enabled, membership: :non_member, admin_mode: nil, expected_count: 12370 respects visibility2371 project_level: :internal, issues_access_level: :private, merge_requests_access_level: :enabled, membership: :anonymous, admin_mode: nil, expected_count: 02372 respects visibility2373 project_level: :internal, issues_access_level: :private, merge_requests_access_level: :private, membership: :admin, admin_mode: true, expected_count: 12374 respects visibility2375 project_level: :internal, issues_access_level: :private, merge_requests_access_level: :private, membership: :admin, admin_mode: false, expected_count: 02376 respects visibility2377 project_level: :internal, issues_access_level: :private, merge_requests_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 12378 respects visibility2379 project_level: :internal, issues_access_level: :private, merge_requests_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 12380 respects visibility2381 project_level: :internal, issues_access_level: :private, merge_requests_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 02382 respects visibility2383 project_level: :internal, issues_access_level: :private, merge_requests_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 02384 respects visibility2385 project_level: :internal, issues_access_level: :private, merge_requests_access_level: :disabled, membership: :admin, admin_mode: true, expected_count: 12386 respects visibility2387 project_level: :internal, issues_access_level: :private, merge_requests_access_level: :disabled, membership: :admin, admin_mode: false, expected_count: 02388 respects visibility2389 project_level: :internal, issues_access_level: :private, merge_requests_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 12390 respects visibility2391 project_level: :internal, issues_access_level: :private, merge_requests_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 12392 respects visibility2393 project_level: :internal, issues_access_level: :private, merge_requests_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 02394 respects visibility2395 project_level: :internal, issues_access_level: :private, merge_requests_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 02396 respects visibility2397 project_level: :internal, issues_access_level: :disabled, merge_requests_access_level: :enabled, membership: :admin, admin_mode: true, expected_count: 12398 respects visibility2399 project_level: :internal, issues_access_level: :disabled, merge_requests_access_level: :enabled, membership: :admin, admin_mode: false, expected_count: 12400 respects visibility2401 project_level: :internal, issues_access_level: :disabled, merge_requests_access_level: :enabled, membership: :reporter, admin_mode: nil, expected_count: 12402 respects visibility2403 project_level: :internal, issues_access_level: :disabled, merge_requests_access_level: :enabled, membership: :guest, admin_mode: nil, expected_count: 12404 respects visibility2405 project_level: :internal, issues_access_level: :disabled, merge_requests_access_level: :enabled, membership: :non_member, admin_mode: nil, expected_count: 12406 respects visibility2407 project_level: :internal, issues_access_level: :disabled, merge_requests_access_level: :enabled, membership: :anonymous, admin_mode: nil, expected_count: 02408 respects visibility2409 project_level: :internal, issues_access_level: :disabled, merge_requests_access_level: :private, membership: :admin, admin_mode: true, expected_count: 12410 respects visibility2411 project_level: :internal, issues_access_level: :disabled, merge_requests_access_level: :private, membership: :admin, admin_mode: false, expected_count: 02412 respects visibility2413 project_level: :internal, issues_access_level: :disabled, merge_requests_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 12414 respects visibility2415 project_level: :internal, issues_access_level: :disabled, merge_requests_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 02416 respects visibility2417 project_level: :internal, issues_access_level: :disabled, merge_requests_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 02418 respects visibility2419 project_level: :internal, issues_access_level: :disabled, merge_requests_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 02420 respects visibility2421 project_level: :internal, issues_access_level: :disabled, merge_requests_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 02422 respects visibility2423 project_level: :internal, issues_access_level: :disabled, merge_requests_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 02424 respects visibility2425 project_level: :internal, issues_access_level: :disabled, merge_requests_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 02426 respects visibility2427 project_level: :internal, issues_access_level: :disabled, merge_requests_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 02428 respects visibility2429 project_level: :private, issues_access_level: :private, merge_requests_access_level: :private, membership: :admin, admin_mode: true, expected_count: 12430 respects visibility2431 project_level: :private, issues_access_level: :private, merge_requests_access_level: :private, membership: :admin, admin_mode: false, expected_count: 02432 respects visibility2433 project_level: :private, issues_access_level: :private, merge_requests_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 12434 respects visibility2435 project_level: :private, issues_access_level: :private, merge_requests_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 12436 respects visibility2437 project_level: :private, issues_access_level: :private, merge_requests_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 02438 respects visibility2439 project_level: :private, issues_access_level: :private, merge_requests_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 02440 respects visibility2441 project_level: :private, issues_access_level: :private, merge_requests_access_level: :disabled, membership: :admin, admin_mode: true, expected_count: 12442 respects visibility2443 project_level: :private, issues_access_level: :private, merge_requests_access_level: :disabled, membership: :admin, admin_mode: false, expected_count: 02444 respects visibility2445 project_level: :private, issues_access_level: :private, merge_requests_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 12446 respects visibility2447 project_level: :private, issues_access_level: :private, merge_requests_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 12448 respects visibility2449 project_level: :private, issues_access_level: :private, merge_requests_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 02450 respects visibility2451 project_level: :private, issues_access_level: :private, merge_requests_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 02452 respects visibility2453 project_level: :private, issues_access_level: :disabled, merge_requests_access_level: :private, membership: :admin, admin_mode: true, expected_count: 12454 respects visibility2455 project_level: :private, issues_access_level: :disabled, merge_requests_access_level: :private, membership: :admin, admin_mode: false, expected_count: 02456 respects visibility2457 project_level: :private, issues_access_level: :disabled, merge_requests_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 12458 respects visibility2459 project_level: :private, issues_access_level: :disabled, merge_requests_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 02460 respects visibility2461 project_level: :private, issues_access_level: :disabled, merge_requests_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 02462 respects visibility2463 project_level: :private, issues_access_level: :disabled, merge_requests_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 02464 respects visibility2465 project_level: :private, issues_access_level: :disabled, merge_requests_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 02466 respects visibility2467 project_level: :private, issues_access_level: :disabled, merge_requests_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 02468 respects visibility2469 project_level: :private, issues_access_level: :disabled, merge_requests_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 02470 respects visibility2471 project_level: :private, issues_access_level: :disabled, merge_requests_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 02472 respects visibility2473 project2474 project_level: :public, membership: :reporter, expected_count: 12475 respects visibility2476 project_level: :public, membership: :guest, expected_count: 12477 respects visibility2478 project_level: :public, membership: :non_member, expected_count: 12479 respects visibility2480 project_level: :public, membership: :anonymous, expected_count: 12481 respects visibility2482 project_level: :internal, membership: :reporter, expected_count: 12483 respects visibility2484 project_level: :internal, membership: :guest, expected_count: 12485 respects visibility2486 project_level: :internal, membership: :non_member, expected_count: 12487 respects visibility2488 project_level: :internal, membership: :anonymous, expected_count: 02489 respects visibility2490 project_level: :private, membership: :reporter, expected_count: 12491 respects visibility2492 project_level: :private, membership: :guest, expected_count: 12493 respects visibility2494 project_level: :private, membership: :non_member, expected_count: 02495 respects visibility2496 project_level: :private, membership: :anonymous, expected_count: 02497 respects visibility2498 sorting2499 issue2500 sort: created_desc2501 sorts results by created_at2502 sort: created_asc2503 sorts results by created_at2504 sort: updated_desc2505 sorts results by updated_desc2506 sort: updated_asc2507 sorts results by updated_asc2508 merge request2509 sort: created_desc2510 sorts results by created_at2511 sort: created_asc2512 sorts results by created_at2513 sort: updated_desc2514 sorts results by updated_desc2515 sort: updated_asc2516 sorts results by updated_asc2517 #allowed_scopes2518 when ES is used2519 includes ES-specific scopes2520 when elasticearch_search is disabled2521 does not include ES-specific scopes2522 when elasticsearch_limit_indexing is enabled2523 when advanced_global_search_for_limited_indexing feature flag is disabled2524 does not include ES-specific scopes2525 when advanced_global_search_for_limited_indexing feature flag is enabled2526 includes ES-specific scopes2527 #elastic_projects2528 when the user is an admin2529 when admin mode is enabled2530 returns :any2531 when admin mode is disabled2532 returns empty array2533 when the user is not an admin2534 returns the projects the user has access to2535 when there is no user2536 returns empty array2537 confidential notes2538 with notes on issues2539 behaves like search confidential notes shared examples2540 notes confidentiality2541 for anonymous user2542 filters confidential notes2543 when user cannot read confidential notes2544 filters confidential notes2545 when user can read confidential notes2546 does not filter confidential notes2547 with additional notes on a confidential issue2548 when user cannot read confidential2549 filters all notes from confidential issue2550 when user can read confidential2551 when user is project reporter2552 does not filter confidential issue notes2553 when user is a participant2554 as issue author2555 filters confidential issue notes2556 as issue assignee2557 filters confidential issue notes2558Geo::ProjectRegistry2559 behaves like a BulkInsertSafe model2560 when calling class methods directly2561 raises an error when method is not bulk-insert safe2562 does not raise an error when method is bulk-insert safe2563 .bulk_insert!2564 when all items are valid2565 inserts them all2566 returns an empty array2567 when some items are invalid2568 does not insert any of them and raises an error2569 inserts them anyway when bypassing validations2570 relationships2571 is expected to belong to project required: false2572 validations2573 is expected to validate that :project cannot be empty/falsy2574 is expected to validate that :project is case-sensitively unique2575 .find_registry_differences2576 untracked IDs2577 includes project IDs without an entry on the tracking database2578 excludes projects outside the ID range2579 with selective sync by namespace2580 excludes project IDs that are not in selectively synced projects2581 with selective sync by shard2582 excludes project IDs that are not in selectively synced projects2583 unused tracked IDs2584 with an orphaned registry2585 includes tracked IDs that do not exist in the model table2586 excludes IDs outside the ID range2587 with selective sync by namespace2588 with a tracked project2589 excluded from selective sync2590 includes tracked project IDs that exist but are not in a selectively synced project2591 included in selective sync2592 excludes tracked project IDs that are in selectively synced projects2593 with selective sync by shard2594 with a tracked project2595 excluded from selective sync2596 includes tracked project IDs that exist but are not in a selectively synced project2597 included in selective sync2598 excludes tracked project IDs that are in selectively synced projects2599 .synced_repos2600 returns clean projects where last attempt to sync succeeded2601 .synced_wikis2602 returns clean projects where last attempt to sync succeeded2603 .failed_repos2604 returns projects where last attempt to sync failed2605 .failed_wikis2606 returns projects where last attempt to sync failed2607 .verified_repos2608 returns projects that verified2609 .verification_failed_repos2610 returns projects where last attempt to verify failed2611 .verified_wikis2612 returns projects that verified2613 .verification_failed_wikis2614 returns projects where last attempt to verify failed2615 .checksum_mismatch2616 returns projects where there is a checksum mismatch2617 .retry_due2618 returns projects that should be synced2619 .with_search2620 returns project registries that refers to projects with a matching name2621 returns project registries that refers to projects with a matching name regardless of the casing2622 returns project registries that refers to projects with a matching description2623 returns project registries that refers to projects with a partially matching description2624 returns project registries that refers to projects with a matching description regardless of the casing2625 returns project registries that refers to projects with a matching path2626 returns project registries that refers to projects with a partially matching path2627 returns project registries that refers to projects with a matching path regardless of the casing2628 .flag_repositories_for_reverify!2629 modified record to a reverify state2630 .flag_repositories_for_resync!2631 modified record to a resync state2632 .repository_out_of_date?2633 for a non-Geo setup2634 returns false2635 for a Geo setup2636 for a Geo Primary2637 returns false2638 for a Geo secondary2639 where Primary node is not configured2640 returns false2641 where Primary node is configured2642 where project_registry entry does not exist2643 returns true2644 where project_registry entry does exist2645 where last_repository_updated_at is not set2646 returns false2647 where last_repository_updated_at is set2648 where last_repository_successful_sync_at is not set2649 returns true2650 where last_repository_successful_sync_at is set2651 project_last_updated: Thu, 30 Mar 2023 11:38:21.937424003 UTC +00:00, project_state_last_updated: nil, project_registry_last_synced: Thu, 30 Mar 2023 11:36:21.937813633 UTC +00:00, expected_out_of_date?: true2652 returns the expected value2653 project_last_updated: Thu, 30 Mar 2023 11:38:21.937851993 UTC +00:00, project_state_last_updated: nil, project_registry_last_synced: Thu, 30 Mar 2023 11:40:21.938021573 UTC +00:00, expected_out_of_date?: false2654 returns the expected value2655 project_last_updated: Thu, 30 Mar 2023 11:38:21.938044113 UTC +00:00, project_state_last_updated: Thu, 30 Mar 2023 11:41:21.938057333 UTC +00:00, project_registry_last_synced: Thu, 30 Mar 2023 11:40:21.938177643 UTC +00:00, expected_out_of_date?: true2656 returns the expected value2657 project_last_updated: Thu, 30 Mar 2023 11:38:21.938195323 UTC +00:00, project_state_last_updated: Thu, 30 Mar 2023 11:39:21.938207103 UTC +00:00, project_registry_last_synced: Thu, 30 Mar 2023 11:40:21.938341122 UTC +00:00, expected_out_of_date?: false2658 returns the expected value2659 project_last_updated: Thu, 30 Mar 2023 11:38:21.938363133 UTC +00:00, project_state_last_updated: Thu, 30 Mar 2023 11:41:21.938375113 UTC +00:00, project_registry_last_synced: Thu, 30 Mar 2023 11:36:21.938490493 UTC +00:00, expected_out_of_date?: true2660 returns the expected value2661 #repository_sync_due?2662 last_synced_at: nil, resync: false, retry_at: nil, expected: true2663 is expected to eq true2664 last_synced_at: nil, resync: true, retry_at: nil, expected: true2665 is expected to eq true2666 last_synced_at: nil, resync: true, retry_at: Wed, 30 Mar 2022 11:41:21.944061912 UTC +00:00, expected: true2667 is expected to eq true2668 last_synced_at: nil, resync: true, retry_at: Sat, 30 Mar 2024 11:41:21.944061912 UTC +00:00, expected: true2669 is expected to eq true2670 last_synced_at: Wed, 30 Mar 2022 11:41:21.944061912 UTC +00:00, resync: false, retry_at: nil, expected: false2671 is expected to eq false2672 last_synced_at: Wed, 30 Mar 2022 11:41:21.944061912 UTC +00:00, resync: true, retry_at: nil, expected: true2673 is expected to eq true2674 last_synced_at: Wed, 30 Mar 2022 11:41:21.944061912 UTC +00:00, resync: true, retry_at: Wed, 30 Mar 2022 11:41:21.944061912 UTC +00:00, expected: true2675 is expected to eq true2676 last_synced_at: Wed, 30 Mar 2022 11:41:21.944061912 UTC +00:00, resync: true, retry_at: Sat, 30 Mar 2024 11:41:21.944061912 UTC +00:00, expected: false2677 is expected to eq false2678 last_synced_at: Sat, 30 Mar 2024 11:41:21.944061912 UTC +00:00, resync: false, retry_at: nil, expected: false2679 is expected to eq false2680 last_synced_at: Sat, 30 Mar 2024 11:41:21.944061912 UTC +00:00, resync: true, retry_at: nil, expected: false2681 is expected to eq false2682 last_synced_at: Sat, 30 Mar 2024 11:41:21.944061912 UTC +00:00, resync: true, retry_at: Wed, 30 Mar 2022 11:41:21.944061912 UTC +00:00, expected: false2683 is expected to eq false2684 last_synced_at: Sat, 30 Mar 2024 11:41:21.944061912 UTC +00:00, resync: true, retry_at: Sat, 30 Mar 2024 11:41:21.944061912 UTC +00:00, expected: false2685 is expected to eq false2686 #wiki_sync_due?2687 last_synced_at: nil, resync: false, retry_at: nil, expected: true2688 is expected to eq true2689 last_synced_at: nil, resync: true, retry_at: nil, expected: true2690 is expected to eq true2691 last_synced_at: nil, resync: true, retry_at: Wed, 30 Mar 2022 11:41:21.954620251 UTC +00:00, expected: true2692 is expected to eq true2693 last_synced_at: nil, resync: true, retry_at: Sat, 30 Mar 2024 11:41:21.954620251 UTC +00:00, expected: true2694 is expected to eq true2695 last_synced_at: Wed, 30 Mar 2022 11:41:21.954620251 UTC +00:00, resync: false, retry_at: nil, expected: false2696 is expected to eq false2697 last_synced_at: Wed, 30 Mar 2022 11:41:21.954620251 UTC +00:00, resync: true, retry_at: nil, expected: true2698 is expected to eq true2699 last_synced_at: Wed, 30 Mar 2022 11:41:21.954620251 UTC +00:00, resync: true, retry_at: Wed, 30 Mar 2022 11:41:21.954620251 UTC +00:00, expected: true2700 is expected to eq true2701 last_synced_at: Wed, 30 Mar 2022 11:41:21.954620251 UTC +00:00, resync: true, retry_at: Sat, 30 Mar 2024 11:41:21.954620251 UTC +00:00, expected: false2702 is expected to eq false2703 last_synced_at: Sat, 30 Mar 2024 11:41:21.954620251 UTC +00:00, resync: false, retry_at: nil, expected: false2704 is expected to eq false2705 last_synced_at: Sat, 30 Mar 2024 11:41:21.954620251 UTC +00:00, resync: true, retry_at: nil, expected: false2706 is expected to eq false2707 last_synced_at: Sat, 30 Mar 2024 11:41:21.954620251 UTC +00:00, resync: true, retry_at: Wed, 30 Mar 2022 11:41:21.954620251 UTC +00:00, expected: false2708 is expected to eq false2709 last_synced_at: Sat, 30 Mar 2024 11:41:21.954620251 UTC +00:00, resync: true, retry_at: Sat, 30 Mar 2024 11:41:21.954620251 UTC +00:00, expected: false2710 is expected to eq false2711 redis shared state2712 #syncs_since_gc2713 without any sync2714 returns 02715 with a number of syncs2716 returns the number of syncs2717 #increment_syncs_since_gc2718 increments the number of syncs since the last GC2719 #reset_syncs_since_gc2720 resets the number of syncs since the last GC2721 #start_sync!2722 for a repository2723 sets last_repository_synced_at to now2724 when repository_retry_count is nil2725 sets repository_retry_count to 02726 for a wiki2727 sets last_wiki_synced_at to now2728 when wiki_retry_count is nil2729 sets wiki_retry_count to 02730 #finish_sync!2731 for a repository2732 sets last_repository_successful_sync_at to now2733 resets sync state2734 resets verification state2735 does not reset repository_verification_retry_count2736 when a repository was missing on primary2737 sets repository_missing_on_primary as true2738 when a repository sync was scheduled after the last sync began2739 does not reset resync_repository2740 resets the other sync state fields2741 resets the verification state2742 does not reset repository_verification_retry_count2743 for a wiki2744 sets last_wiki_successful_sync_at to now2745 resets sync state2746 resets verification state2747 does not reset wiki_verification_retry_count2748 when a wiki was missing on primary2749 sets wiki_missing_on_primary as true2750 when a wiki sync was scheduled after the last sync began2751 does not reset resync_wiki2752 resets the other sync state fields2753 resets the verification state2754 does not reset wiki_verification_retry_count2755 #fail_sync!2756 for a repository2757 sets repository_retry_at to a future time2758 ensures repository_retry_at is capped at one hour2759 sets resync_repository to true2760 includes message in last_repository_sync_failure2761 includes error message in last_repository_sync_failure2762 increments repository_retry_count2763 optionally updates other attributes2764 when repository_retry_count is 02765 increments repository_retry_count2766 when repository_retry_count is 12767 increments repository_retry_count2768 for a wiki2769 sets wiki_retry_at to a future time2770 ensures wiki_retry_at is capped at one hour2771 sets resync_wiki to true2772 includes message in last_wiki_sync_failure2773 includes error message in last_wiki_sync_failure2774 increments wiki_retry_count2775 optionally updates other attributes2776 when wiki_retry_count is 02777 increments wiki_retry_count2778 when wiki_retry_count is 12779 increments wiki_retry_count2780 #repository_created!2781 sets resync_repository to true2782 when the RepositoryCreatedEvent wiki_path is present2783 sets resync_wiki to true2784 when the RepositoryCreatedEvent wiki_path is blank2785 sets resync_wiki to false2786 #repository_updated!2787 for a repository2788 resets sync state2789 resets verification state2790 for a wiki2791 resets sync state2792 resets verification state2793 #reset_checksum!2794 resets repository/wiki verification state2795 #repository_verification_pending?2796 returns true when outdated2797 returns true when we are missing checksum sha2798 returns false when checksum is present2799 #wiki_verification_pending?2800 returns true when outdated2801 returns true when we are missing checksum sha2802 returns false when checksum is present2803 pending_verification?2804 returns true when either wiki or repository verification is pending2805 returns false when both wiki and repository verification is present2806 pending_synchronization?2807 returns true when either wiki or repository synchronization is pending2808 returns false when both wiki and repository synchronization is present2809 #flag_repository_for_reverify!2810 modified record to a reverify state2811 #flag_repository_for_resync!2812 modified record to a resync state2813 #flag_repository_for_redownload!2814 modified record to a redownload state2815 #candidate_for_redownload?2816 returns false when repository_retry_count is 1 or less2817 returns true when repository_retry_count is > 12818 #synchronization_state2819 returns :never when no attempt to sync has ever been done2820 returns :failed when there is an existing error logged2821 returns :pending when there is an existing error logged2822 returns :synced when its fully synced and there is no pending action or existing error2823 repository_has_successfully_synced?2824 when repository has never successfully synced2825 returns false2826 when repository has successfully synced2827 returns true2828 should_be_redownloaded?2829 when type is invalid2830 raises ArgumentError2831 when type is repository2832 force_to_redownload_repository: false, repository_retry_count: nil, expected: false2833 returns the expected boolean2834 force_to_redownload_repository: false, repository_retry_count: 0, expected: false2835 returns the expected boolean2836 force_to_redownload_repository: false, repository_retry_count: 1, expected: false2837 returns the expected boolean2838 force_to_redownload_repository: false, repository_retry_count: 10, expected: false2839 returns the expected boolean2840 force_to_redownload_repository: false, repository_retry_count: 11, expected: true2841 returns the expected boolean2842 force_to_redownload_repository: false, repository_retry_count: 12, expected: false2843 returns the expected boolean2844 force_to_redownload_repository: false, repository_retry_count: 13, expected: true2845 returns the expected boolean2846 force_to_redownload_repository: false, repository_retry_count: 14, expected: false2847 returns the expected boolean2848 force_to_redownload_repository: false, repository_retry_count: 101, expected: true2849 returns the expected boolean2850 force_to_redownload_repository: false, repository_retry_count: 102, expected: false2851 returns the expected boolean2852 force_to_redownload_repository: true, repository_retry_count: nil, expected: true2853 returns the expected boolean2854 force_to_redownload_repository: true, repository_retry_count: 0, expected: true2855 returns the expected boolean2856 force_to_redownload_repository: true, repository_retry_count: 11, expected: true2857 returns the expected boolean2858 when type is wiki2859 force_to_redownload_wiki: false, wiki_retry_count: nil, expected: false2860 returns the expected boolean2861 force_to_redownload_wiki: false, wiki_retry_count: 0, expected: false2862 returns the expected boolean2863 force_to_redownload_wiki: false, wiki_retry_count: 1, expected: false2864 returns the expected boolean2865 force_to_redownload_wiki: false, wiki_retry_count: 10, expected: false2866 returns the expected boolean2867 force_to_redownload_wiki: false, wiki_retry_count: 11, expected: true2868 returns the expected boolean2869 force_to_redownload_wiki: false, wiki_retry_count: 12, expected: false2870 returns the expected boolean2871 force_to_redownload_wiki: false, wiki_retry_count: 13, expected: true2872 returns the expected boolean2873 force_to_redownload_wiki: false, wiki_retry_count: 14, expected: false2874 returns the expected boolean2875 force_to_redownload_wiki: false, wiki_retry_count: 101, expected: true2876 returns the expected boolean2877 force_to_redownload_wiki: false, wiki_retry_count: 102, expected: false2878 returns the expected boolean2879 force_to_redownload_wiki: true, wiki_retry_count: nil, expected: true2880 returns the expected boolean2881 force_to_redownload_wiki: true, wiki_retry_count: 0, expected: true2882 returns the expected boolean2883 force_to_redownload_wiki: true, wiki_retry_count: 11, expected: true2884 returns the expected boolean2885SCA::LicenseCompliance2886 #policies2887 when license policies are configured with scan result policies2888 input: license_check_and_scan_result_policies, result: ["denied", "allowed", "denied", "allowed", "denied", "denied"]2889 sets classification based on policies2890 input: denied_scan_result_policies, result: ["denied", "unclassified", "unclassified", "allowed", "denied", "unclassified"]2891 sets classification based on policies2892 input: only_license_check_policies, result: ["denied", "unclassified", "unclassified", "allowed", "unclassified", "unclassified"]2893 sets classification based on policies2894 input: only_scan_result_policies, result: ["denied", "allowed", "denied", "denied", "denied", "denied"]2895 sets classification based on policies2896 when the license_scanning_sbom_scanner feature flag is disabled2897 when a pipeline has not been run for this project2898 is expected to be zero2899 when the project has policies configured2900 includes an a policy for a classified license that was not detected in the scan report2901 when a pipeline has run2902 when a license scan job is not configured2903 is expected to be empty2904 when the license scan job has not finished2905 is expected to be empty2906 when the license scan produces a poorly formatted report2907 is expected to be empty2908 when the dependency scan produces a poorly formatted report2909 is expected to contain exactly "BSD-3-Clause", "MIT", and nil2910 when a pipeline has successfully produced a v2.0 license scan report2911 includes a policy for each detected license and classified license2912 includes a policy for a detected license that is unclassified2913 includes a policy for a classified license that was also detected in the scan report2914 includes a policy for a classified license that was not detected in the scan report2915 includes a policy for an unclassified and unknown license that was detected in the scan report2916 when a pipeline has successfully produced a v2.1 license scan report2917 includes a policy for each detected license and classified license2918 includes a policy for a detected license that is unclassified2919 includes a policy for a classified license that was also detected in the scan report2920 includes a policy for a classified license that was not detected in the scan report2921 includes a policy for an unclassified and unknown license that was detected in the scan report2922 when a pipeline has successfully produced a v1.1 license scan report2923 includes a policy for an unclassified license detected in the scan report2924 includes a policy for a denied license found in the scan report2925 includes a policy for an allowed license NOT found in the scan report2926 includes a policy for an unclassified and unknown license found in the scan report2927 when the license_scanning_sbom_scanner feature flag is enabled2928 when a pipeline has not been run for this project2929 is expected to be zero2930 when the project has policies configured2931 includes an a policy for a classified license that was not detected in the scan report2932 when a pipeline has run2933 when a license scan job is not configured2934 is expected to be empty2935 when the license scan job has not finished2936 is expected to be empty2937 when a pipeline has successfully produced a cyclonedx report2938 includes a policy for each detected license and classified license2939 includes a policy for a detected license that is unclassified2940 includes a policy for a classified license that was also detected in the scan report2941 includes a policy for a classified license that was not detected in the scan report2942 includes a policy for an unclassified and unknown license that was detected in the scan report2943 #find_policies2944 when the license_scanning_sbom_scanner feature flag is disabled2945 records an onboarding progress action for license scanning2946 when pipeline is not present2947 records an onboarding progress action for license scanning2948 when searching for policies for licenses that were detected in a scan report2949 only includes licenses that appear in the latest license scan report2950 includes a policy for an unclassified and known license that was detected in the scan report2951 includes an entry for a denied license found in the scan report2952 includes an entry for an allowed license found in the scan report2953 with denied license without spdx identifier2954 contains denied license2955 when searching for policies with a specific classification2956 includes an entry for each `allowed` licensed2957 when searching for policies by multiple classifications2958 includes an entry for each `allowed` and `denied` licensed2959 when searching for detected policies matching a classification2960 includes an entry for each entry that was detected in the report and matches a classification2961 when sorting policies2962 attribute: :classification, direction: :asc, expected: ["SOFTWARE-LICENSE", "BSD 3-Clause \"New\" or \"Revised\" License", "unknown", "MIT"]2963 is expected to eq ["SOFTWARE-LICENSE", "BSD 3-Clause \"New\" or \"Revised\" License", "unknown", "MIT"]2964 attribute: :classification, direction: :desc, expected: ["MIT", "unknown", "BSD 3-Clause \"New\" or \"Revised\" License", "SOFTWARE-LICENSE"]2965 is expected to eq ["MIT", "unknown", "BSD 3-Clause \"New\" or \"Revised\" License", "SOFTWARE-LICENSE"]2966 attribute: :name, direction: :desc, expected: ["unknown", "SOFTWARE-LICENSE", "MIT", "BSD 3-Clause \"New\" or \"Revised\" License"]2967 is expected to eq ["unknown", "SOFTWARE-LICENSE", "MIT", "BSD 3-Clause \"New\" or \"Revised\" License"]2968 attribute: :invalid, direction: :asc, expected: ["BSD 3-Clause \"New\" or \"Revised\" License", "MIT", "SOFTWARE-LICENSE", "unknown"]2969 is expected to eq ["BSD 3-Clause \"New\" or \"Revised\" License", "MIT", "SOFTWARE-LICENSE", "unknown"]2970 attribute: :name, direction: :invalid, expected: ["BSD 3-Clause \"New\" or \"Revised\" License", "MIT", "SOFTWARE-LICENSE", "unknown"]2971 is expected to eq ["BSD 3-Clause \"New\" or \"Revised\" License", "MIT", "SOFTWARE-LICENSE", "unknown"]2972 attribute: :name, direction: nil, expected: ["BSD 3-Clause \"New\" or \"Revised\" License", "MIT", "SOFTWARE-LICENSE", "unknown"]2973 is expected to eq ["BSD 3-Clause \"New\" or \"Revised\" License", "MIT", "SOFTWARE-LICENSE", "unknown"]2974 attribute: nil, direction: :asc, expected: ["BSD 3-Clause \"New\" or \"Revised\" License", "MIT", "SOFTWARE-LICENSE", "unknown"]2975 is expected to eq ["BSD 3-Clause \"New\" or \"Revised\" License", "MIT", "SOFTWARE-LICENSE", "unknown"]2976 attribute: nil, direction: nil, expected: ["BSD 3-Clause \"New\" or \"Revised\" License", "MIT", "SOFTWARE-LICENSE", "unknown"]2977 is expected to eq ["BSD 3-Clause \"New\" or \"Revised\" License", "MIT", "SOFTWARE-LICENSE", "unknown"]2978 when using the default sort options2979 is expected to eq ["BSD 3-Clause \"New\" or \"Revised\" License", "MIT", "SOFTWARE-LICENSE", "unknown"]2980 when `nil` sort options are provided2981 is expected to eq ["BSD 3-Clause \"New\" or \"Revised\" License", "MIT", "SOFTWARE-LICENSE", "unknown"]2982 when the license_scanning_sbom_scanner feature flag is enabled2983 records an onboarding progress action for license scanning2984 when pipeline is not present2985 records an onboarding progress action for license scanning2986 when searching for policies for licenses that were detected in a scan report2987 only includes licenses that appear in the latest license scan report2988 includes a policy for an allowed known license that was detected in the scan report2989 includes an entry for an unclassified custom license found in the scan report2990 includes an entry for a denied license found in the scan report2991 includes an entry for an unclassified unknown license found in the scan report2992 with denied license without spdx identifier2993 contains denied license2994 when searching for policies with a specific classification2995 includes an entry for each `allowed` licensed2996 when searching for policies by multiple classifications2997 includes an entry for each `allowed` and `denied` licensed2998 when searching for detected policies matching a classification2999 includes an entry for each entry that was detected in the report and matches a classification3000 when sorting policies3001 attribute: :classification, direction: :asc, expected: ["BSD-3-Clause", "CUSTOM_DENIED_LICENSE", "unknown", "MIT"]3002 is expected to eq ["BSD-3-Clause", "CUSTOM_DENIED_LICENSE", "unknown", "MIT"]3003 attribute: :classification, direction: :desc, expected: ["MIT", "unknown", "CUSTOM_DENIED_LICENSE", "BSD-3-Clause"]3004 is expected to eq ["MIT", "unknown", "CUSTOM_DENIED_LICENSE", "BSD-3-Clause"]3005 attribute: :name, direction: :desc, expected: ["unknown", "MIT", "CUSTOM_DENIED_LICENSE", "BSD-3-Clause"]3006 is expected to eq ["unknown", "MIT", "CUSTOM_DENIED_LICENSE", "BSD-3-Clause"]3007 attribute: :invalid, direction: :asc, expected: ["BSD-3-Clause", "CUSTOM_DENIED_LICENSE", "MIT", "unknown"]3008 is expected to eq ["BSD-3-Clause", "CUSTOM_DENIED_LICENSE", "MIT", "unknown"]3009 attribute: :name, direction: :invalid, expected: ["BSD-3-Clause", "CUSTOM_DENIED_LICENSE", "MIT", "unknown"]3010 is expected to eq ["BSD-3-Clause", "CUSTOM_DENIED_LICENSE", "MIT", "unknown"]3011 attribute: :name, direction: nil, expected: ["BSD-3-Clause", "CUSTOM_DENIED_LICENSE", "MIT", "unknown"]3012 is expected to eq ["BSD-3-Clause", "CUSTOM_DENIED_LICENSE", "MIT", "unknown"]3013 attribute: nil, direction: :asc, expected: ["BSD-3-Clause", "CUSTOM_DENIED_LICENSE", "MIT", "unknown"]3014 is expected to eq ["BSD-3-Clause", "CUSTOM_DENIED_LICENSE", "MIT", "unknown"]3015 attribute: nil, direction: nil, expected: ["BSD-3-Clause", "CUSTOM_DENIED_LICENSE", "MIT", "unknown"]3016 is expected to eq ["BSD-3-Clause", "CUSTOM_DENIED_LICENSE", "MIT", "unknown"]3017 when using the default sort options3018 is expected to eq ["BSD-3-Clause", "CUSTOM_DENIED_LICENSE", "MIT", "unknown"]3019 when `nil` sort options are provided3020 is expected to eq ["BSD-3-Clause", "CUSTOM_DENIED_LICENSE", "MIT", "unknown"]3021 #latest_build_for_default_branch3022 when the license_scanning_sbom_scanner feature flag is disabled3023 when a pipeline has never been completed for the project3024 is expected to be nil3025 when a pipeline has completed successfully and produced a license scan report3026 is expected to eq #<Ci::Build status: "success", finished_at: "2023-03-30 08:53:29.000000000 +0000", created_at: "2023-... processed: false, scheduling_type: "stage", id: 69, stage_id: 49, partition_id: 100, tag_list: nil>3027 when a pipeline has completed but does not contain a license scan report3028 is expected to be nil3029 when the license_scanning_sbom_scanner feature flag is enabled3030 when a pipeline has never been completed for the project3031 is expected to be nil3032 when a pipeline has completed successfully and produced a license scan report3033 is expected to eq #<Ci::Build status: "success", finished_at: "2023-03-30 08:53:29.000000000 +0000", created_at: "2023-... processed: false, scheduling_type: "stage", id: 72, stage_id: 52, partition_id: 100, tag_list: nil>3034 when a pipeline has completed but does not contain a license scan report3035 is expected to be nil3036 #diff_with3037 when license policies are configured with scan result policies3038 when base_report has new denied licenses3039 returns differences with denied status3040 when the license_scanning_sbom_scanner feature flag is disabled3041 when the head pipeline has not run3042 returns the differences in licenses introduced by the merge request3043 when nothing has changed between the head and the base pipeline3044 returns the differences in licenses introduced by the merge request3045 when the base pipeline removed some licenses3046 returns the differences in licenses introduced by the merge request3047 when the base pipeline added some licenses3048 returns the differences in licenses introduced by the merge request3049 when a software license record does not have an spdx identifier3050 falls back to matching detections based on name rather than spdx id3051 when the license_scanning_sbom_scanner feature flag is enabled3052 when the head pipeline has not run3053 returns the differences in licenses introduced by the merge request3054 when nothing has changed between the head and the base pipeline3055 returns the differences in licenses introduced by the merge request3056 when the base pipeline removed some licenses3057 returns the differences in licenses introduced by the merge request3058 when the base pipeline added some licenses3059 returns the differences in licenses introduced by the merge request3060 when a software license record does not have an spdx identifier3061 falls back to matching detections based on name rather than spdx id3062Geo::PagesDeploymentReplicator3063 invokes replicator.handle_after_create_commit on create3064 behaves like a replicator3065 Geo node status3066 on a primary site3067 .primary_total_count3068 when batch count feature flag is enabled3069 returns the number of available replicables on primary3070 when batch count feature flag is disabled3071 returns the number of available replicables on primary3072 on a secondary site3073 .registry_count3074 when batch count feature flag is enabled3075 returns the number of registries on secondary3076 when batch count feature flag is disabled3077 returns the number of registries on secondary3078 .synced_count3079 when batch count feature flag is enabled3080 returns the number of synced items on secondary3081 when batch count feature flag is disabled3082 returns the number of synced items on secondary3083 .failed_count3084 when batch count feature flag is enabled3085 returns the number of failed items on secondary3086 when batch count feature flag is disabled3087 returns the number of failed items on secondary3088 when replicator is Geo::RegistrySyncWorker compatible3089 has "created" and "deleted" events3090 #replicator3091 is defined and does not raise error3092 .replicables_for_current_secondary3093 when syncing object storage is enabled3094 behaves like is implemented and returns a valid relation3095 is implemented3096 when syncing object storage is disabled3097 behaves like is implemented and returns a valid relation3098 is implemented3099 with selective sync disabled3100 behaves like is implemented and returns a valid relation3101 is implemented3102 with selective sync enabled for namespaces3103 behaves like is implemented and returns a valid relation3104 is implemented3105 with selective sync enabled for shards3106 behaves like is implemented and returns a valid relation3107 is implemented3108 #handle_after_create_commit3109 creates a Geo::Event3110 calls #after_verifiable_update3111 when replication feature flag is disabled3112 does not call #after_verifiable_update3113 does not publish3114 #handle_after_destroy3115 creates a Geo::Event3116 when replication feature flag is disabled3117 does not publish3118 created event consumption3119 when the blob's project is in replicables for this geo node3120 invokes Geo::BlobDownloadService3121 when the blob's project is not in replicables for this geo node3122 does not invoke Geo::BlobDownloadService3123 deleted event consumption3124 when model_record was deleted from the DB and the replicator only has its ID3125 invokes Geo::FileRegistryRemovalService3126 backward compatibility3127 invokes Geo::FileRegistryRemovalService when delete event is in deprecated format3128 when object storage is enabled3129 when GitLab managed replication is enabled3130 deletes the file from object storage3131 when GitLab managed replication is disabled3132 does not delete the file from object storage3133 #carrierwave_uploader3134 is implemented3135 #model3136 is implemented3137 is a Class3138 responds to primary_key3139 #blob_path3140 when the file is locally stored3141 returns a valid path to a file3142 #calculate_checksum3143 when the file is locally stored3144 when the file exists3145 returns hexdigest of the file3146 when the file does not exist3147 raises an error3148 when the file is remotely stored3149 raises an error3150 #file_exists?3151 is expected to be truthy3152 when the file does not exist3153 is expected to be falsey3154 when the file is nil3155 is expected to be falsey3156 .bulk_create_delete_events_async3157 creates events3158 raises error when model_record_id is nil3159 events3160 has checksum_succeeded event3161 .verification_enabled?3162 when replication is enabled3163 when verification_feature_flag_enabled? returns true3164 returns true3165 when verification_feature_flag_enabled? returns false3166 returns false3167 when replication is disabled3168 returns false3169 .checksummed_count3170 when verification is enabled3171 when batch count feature flag is enabled3172 behaves like a counter of succeeded available verifiables3173 is expected to eq 13174 excludes other verification states3175 when batch count feature flag is disabled3176 behaves like a counter of succeeded available verifiables3177 is expected to eq 13178 excludes other verification states3179 when verification is disabled3180 returns nil3181 .verified_count3182 when verification is enabled3183 when batch count feature flag is enabled3184 behaves like a counter of succeeded available verifiables3185 is expected to eq 13186 excludes other verification states3187 when batch count feature flag is disabled3188 behaves like a counter of succeeded available verifiables3189 is expected to eq 13190 excludes other verification states3191 when verification is disabled3192 returns nil3193 .checksum_failed_count3194 when verification is enabled3195 when batch count feature flag is enabled3196 behaves like a counter of failed available verifiables3197 is expected to eq 13198 excludes other verification states3199 when batch count feature flag is disabled3200 behaves like a counter of failed available verifiables3201 is expected to eq 13202 excludes other verification states3203 when verification is disabled3204 returns nil3205 .verification_failed_count3206 when verification is enabled3207 when batch count feature flag is enabled3208 behaves like a counter of failed available verifiables3209 is expected to eq 13210 excludes other verification states3211 when batch count feature flag is disabled3212 behaves like a counter of failed available verifiables3213 is expected to eq 13214 excludes other verification states3215 when verification is disabled3216 returns nil3217 .verification_total_count3218 when verification is enabled3219 when batch count feature flag is enabled3220 when the verification_state is disabled3221 is expected to eq 03222 when the verification_state is not disabled3223 is expected to eq 13224 when batch count feature flag is disabled3225 when the verification_state is disabled3226 is expected to eq 03227 when the verification_state is not disabled3228 is expected to eq 13229 when verification is disabled3230 returns nil3231 .trigger_background_verification3232 when verification is enabled3233 for a Geo secondary3234 does not enqueue ReverificationBatchWorker3235 enqueues VerificationBatchWorker3236 enqueues VerificationTimeoutWorker3237 for a Geo primary3238 enqueues ReverificationBatchWorker3239 enqueues VerificationStateBackfillWorker3240 enqueues VerificationBatchWorker3241 enqueues VerificationTimeoutWorker3242 when verification is disabled3243 does not enqueue VerificationBatchWorker3244 does not enqueue VerificationTimeoutWorker3245 .backfill_verification_state_table3246 calls VerificationStateBackfillService3247 when on secondary3248 returns false3249 .verify_batch3250 when there are records needing verification3251 calls #verify on each replicator3252 .remaining_verification_batch_count3253 converts needs_verification_count to number of batches3254 .remaining_reverification_batch_count3255 converts needs_reverification_count to number of batches3256 .reverify_batch!3257 calls #reverify_batch3258 .replicator_batch_to_verify3259 returns usable Replicator instances3260 .model_record_id_batch_to_verify3261 when the batch is filled by pending rows3262 returns IDs of pending rows3263 does not call .verification_failed_batch3264 when that batch is not filled by pending rows3265 includes IDs of failed rows3266 .verification_pending_batch3267 when current node is a primary3268 delegates to the model class of the replicator3269 when current node is a secondary3270 delegates to the registry class of the replicator3271 .verification_failed_batch3272 when current node is a primary3273 delegates to the model class of the replicator3274 when current node is a secondary3275 delegates to the registry class of the replicator3276 .fail_verification_timeouts3277 when current node is a primary3278 delegates to the model class of the replicator3279 when current node is a secondary3280 delegates to the registry class of the replicator3281 #after_verifiable_update3282 verification_enabled: true, immutable: true, checksum: nil, checksummable: true, expect_verify_async: true3283 calls verify_async only if needed3284 verification_enabled: true, immutable: true, checksum: nil, checksummable: false, expect_verify_async: false3285 calls verify_async only if needed3286 verification_enabled: true, immutable: true, checksum: "abc123", checksummable: true, expect_verify_async: false3287 calls verify_async only if needed3288 verification_enabled: true, immutable: true, checksum: "abc123", checksummable: false, expect_verify_async: false3289 calls verify_async only if needed3290 verification_enabled: true, immutable: false, checksum: nil, checksummable: true, expect_verify_async: true3291 calls verify_async only if needed3292 verification_enabled: true, immutable: false, checksum: nil, checksummable: false, expect_verify_async: false3293 calls verify_async only if needed3294 verification_enabled: true, immutable: false, checksum: "abc123", checksummable: true, expect_verify_async: true3295 calls verify_async only if needed3296 verification_enabled: true, immutable: false, checksum: "abc123", checksummable: false, expect_verify_async: false3297 calls verify_async only if needed3298 verification_enabled: false, immutable: true, checksum: nil, checksummable: true, expect_verify_async: false3299 calls verify_async only if needed3300 verification_enabled: false, immutable: true, checksum: nil, checksummable: false, expect_verify_async: false3301 calls verify_async only if needed3302 verification_enabled: false, immutable: true, checksum: "abc123", checksummable: true, expect_verify_async: false3303 calls verify_async only if needed3304 verification_enabled: false, immutable: true, checksum: "abc123", checksummable: false, expect_verify_async: false3305 calls verify_async only if needed3306 verification_enabled: false, immutable: false, checksum: nil, checksummable: true, expect_verify_async: false3307 calls verify_async only if needed3308 verification_enabled: false, immutable: false, checksum: nil, checksummable: false, expect_verify_async: false3309 calls verify_async only if needed3310 verification_enabled: false, immutable: false, checksum: "abc123", checksummable: true, expect_verify_async: false3311 calls verify_async only if needed3312 verification_enabled: false, immutable: false, checksum: "abc123", checksummable: false, expect_verify_async: false3313 calls verify_async only if needed3314 #verify_async3315 on a Geo primary3316 calls verification_started! and enqueues VerificationWorker3317 #verify3318 wraps the checksum calculation in track_checksum_attempt!3319 #verification_state_tracker3320 on a Geo primary3321 returns model_record3322 on a Geo secondary3323 returns registry3324 #handle_after_checksum_succeeded3325 on a Geo primary3326 creates checksum_succeeded event3327 is called on verification success3328 on a Geo secondary3329 does not create an event3330 #consume_event_checksum_succeeded3331 with a persisted model_record3332 on a Geo primary3333 does nothing3334 on a Geo secondary3335 with a persisted registry3336 with a registry which is verified3337 sets state to verification_pending3338 with a registry which is pending verification3339 does not change state from verification_pending3340 with an unpersisted registry3341 does not persist the registry3342 #primary_verification_succeeded?3343 when the model record is verification_succeeded3344 returns true3345 when the model record is verification_succeeded3346 returns false3347 integration tests3348 on a primary3349 background backfill3350 verifies model records3351 triggered by events3352 verifies model records3353 on a secondary3354 background backfill3355 verifies registries3356 triggered by events3357 verifies registries3358Gitlab::Usage::ServicePingReport3359 for conditional metrics inclusion3360 does not raise errors3361 for output: :metrics_queries3362 returns queries that do not change between calls3363Ci::CompareSecurityReportsService3364 vulnerability_finding_signatures: true3365 #execute DS3366 when head pipeline has dependency scanning reports3367 reports new vulnerabilities3368 when base and head pipelines have dependency scanning reports3369 reports status as parsed3370 populates fields based on current_user3371 reports fixed vulnerability3372 reports fixed dependency scanning vulnerabilities3373 behaves like serializes `found_by_pipeline` attribute3374 sets correct `found_by_pipeline` attribute3375 when head pipeline has corrupted dependency scanning vulnerability reports3376 returns status and error message3377 returns status and error message when pipeline is nil3378 #execute CS3379 when head pipeline has container scanning reports3380 reports new and fixed vulnerabilities3381 when base and head pipelines have container scanning reports3382 populates fields based on current_user3383 reports new vulnerability3384 reports fixed container scanning vulnerabilities3385 behaves like serializes `found_by_pipeline` attribute3386 sets correct `found_by_pipeline` attribute3387 #execute DAST3388 when head pipeline has DAST reports containing some vulnerabilities3389 reports the new vulnerabilities, while not changing the counts of fixed vulnerabilities3390 when base and head pipelines have DAST reports containing vulnerabilities3391 populates fields based on current_user3392 reports new vulnerability3393 reports fixed DAST vulnerabilities3394 behaves like serializes `found_by_pipeline` attribute3395 sets correct `found_by_pipeline` attribute3396 #execute SAST3397 when head pipeline has sast reports3398 reports new vulnerabilities3399 when base and head pipelines have sast reports3400 populates fields based on current_user3401 reports new vulnerability3402 reports fixed sast vulnerabilities3403 behaves like serializes `found_by_pipeline` attribute3404 sets correct `found_by_pipeline` attribute3405 #execute SECRET DETECTION3406 when head pipeline has secret_detection reports3407 reports new vulnerabilities3408 when base and head pipelines have secret_detection reports3409 populates fields based on current_user3410 does not report any new vulnerability3411 reports fixed secret_detection vulnerabilities3412 vulnerability_finding_signatures: false3413 #execute DS3414 when head pipeline has dependency scanning reports3415 reports new vulnerabilities3416 when base and head pipelines have dependency scanning reports3417 reports status as parsed3418 populates fields based on current_user3419 reports fixed vulnerability3420 reports fixed dependency scanning vulnerabilities3421 behaves like serializes `found_by_pipeline` attribute3422 sets correct `found_by_pipeline` attribute3423 when head pipeline has corrupted dependency scanning vulnerability reports3424 returns status and error message3425 returns status and error message when pipeline is nil3426 #execute CS3427 when head pipeline has container scanning reports3428 reports new and fixed vulnerabilities3429 when base and head pipelines have container scanning reports3430 populates fields based on current_user3431 reports new vulnerability3432 reports fixed container scanning vulnerabilities3433 behaves like serializes `found_by_pipeline` attribute3434 sets correct `found_by_pipeline` attribute3435 #execute DAST3436 when head pipeline has DAST reports containing some vulnerabilities3437 reports the new vulnerabilities, while not changing the counts of fixed vulnerabilities3438 when base and head pipelines have DAST reports containing vulnerabilities3439 populates fields based on current_user3440 reports new vulnerability3441 reports fixed DAST vulnerabilities3442 behaves like serializes `found_by_pipeline` attribute3443 sets correct `found_by_pipeline` attribute3444 #execute SAST3445 when head pipeline has sast reports3446 reports new vulnerabilities3447 when base and head pipelines have sast reports3448 populates fields based on current_user3449 reports new vulnerability3450 reports fixed sast vulnerabilities3451 behaves like serializes `found_by_pipeline` attribute3452 sets correct `found_by_pipeline` attribute3453 #execute SECRET DETECTION3454 when head pipeline has secret_detection reports3455 reports new vulnerabilities3456 when base and head pipelines have secret_detection reports3457 populates fields based on current_user3458 does not report any new vulnerability3459 reports fixed secret_detection vulnerabilities3460Banzai::Filter::References::IterationReferenceFilter3461 requires project context3462 group context3463 when group iteration3464 for subgroups3465 links to a valid reference of subgroup and group iterations3466 for private subgroups3467 links to a valid reference of subgroup and group iterations3468 when iteration is open3469 group iterations3470 ignores valid references contained inside 'pre' element3471 ignores valid references contained inside 'code' element3472 ignores valid references contained inside 'a' element3473 ignores valid references contained inside 'style' element3474 includes default classes3475 includes a data-project attribute3476 includes a data-iteration attribute3477 supports an :only_path context3478 does not support references by IID3479 does not support references by link3480 does not support cross-project references3481 supports parent group references3482 behaves like String-based single-word references3483 links to a valid reference3484 links with adjacent text3485 links with adjacent html tags3486 ignores invalid iteration names3487 behaves like String-based multi-word references in quotes3488 links to a valid reference3489 links with adjacent text3490 ignores invalid iteration names3491 behaves like referencing a iteration in a link href3492 links to a valid reference3493 links with adjacent text3494 includes a data-project attribute3495 includes a data-iteration attribute3496 behaves like Integer-based references3497 links to a valid reference3498 links with adjacent text3499 ignores invalid iteration IIDs3500 when iteration is closed3501 group iterations3502 ignores valid references contained inside 'pre' element3503 ignores valid references contained inside 'code' element3504 ignores valid references contained inside 'a' element3505 ignores valid references contained inside 'style' element3506 includes default classes3507 includes a data-project attribute3508 includes a data-iteration attribute3509 supports an :only_path context3510 does not support references by IID3511 does not support references by link3512 does not support cross-project references3513 supports parent group references3514 behaves like String-based single-word references3515 links to a valid reference3516 links with adjacent text3517 links with adjacent html tags3518 ignores invalid iteration names3519 behaves like String-based multi-word references in quotes3520 links to a valid reference3521 links with adjacent text3522 ignores invalid iteration names3523 behaves like referencing a iteration in a link href3524 links to a valid reference3525 links with adjacent text3526 includes a data-project attribute3527 includes a data-iteration attribute3528 behaves like Integer-based references3529 links to a valid reference3530 links with adjacent text3531 ignores invalid iteration IIDs3532 checking N+13533 does not have N+1 per multiple references per group3534 has N+1 for multiple unique group references3535PushRulesHelper3536 global_setting: true, enabled_globally: true, enabled_in_project: false, current_user: :admin, help_text: :default_admin_help, invalid_text: nil3537 has the correct help text3538 has the correct help text3539 has the correct help text3540 global_setting: true, enabled_globally: false, enabled_in_project: false, current_user: :admin, help_text: :default_admin_help, invalid_text: nil3541 has the correct help text3542 has the correct help text3543 has the correct help text3544 global_setting: true, enabled_globally: true, enabled_in_project: true, current_user: :admin, help_text: :default_admin_help, invalid_text: nil3545 has the correct help text3546 has the correct help text3547 has the correct help text3548 global_setting: true, enabled_globally: false, enabled_in_project: true, current_user: :admin, help_text: :default_admin_help, invalid_text: nil3549 has the correct help text3550 has the correct help text3551 has the correct help text3552 global_setting: false, enabled_globally: true, enabled_in_project: nil, current_user: :admin, help_text: :setting_can_be_overridden, invalid_text: nil3553 has the correct help text3554 has the correct help text3555 has the correct help text3556 global_setting: false, enabled_globally: true, enabled_in_project: nil, current_user: :owner, help_text: :setting_can_be_overridden, invalid_text: nil3557 has the correct help text3558 has the correct help text3559 has the correct help text3560 global_setting: false, enabled_globally: true, enabled_in_project: nil, current_user: :owner, help_text: :requires_admin_contact, invalid_text: nil3561 has the correct help text3562 has the correct help text3563 has the correct help text3564 global_setting: false, enabled_globally: true, enabled_in_project: false, current_user: :admin, help_text: :setting_has_been_overridden, invalid_text: nil3565 has the correct help text3566 has the correct help text3567 has the correct help text3568 global_setting: false, enabled_globally: true, enabled_in_project: false, current_user: :owner, help_text: :setting_has_been_overridden, invalid_text: nil3569 has the correct help text3570 has the correct help text3571 has the correct help text3572 global_setting: false, enabled_globally: true, enabled_in_project: false, current_user: :owner, help_text: :requires_admin_contact, invalid_text: nil3573 has the correct help text3574 has the correct help text3575 has the correct help text3576 global_setting: false, enabled_globally: true, enabled_in_project: true, current_user: :owner, help_text: :setting_can_be_overridden, invalid_text: nil3577 has the correct help text3578 has the correct help text3579 has the correct help text3580 global_setting: false, enabled_globally: true, enabled_in_project: false, current_user: :owner, help_text: :setting_has_been_overridden, invalid_text: nil3581 has the correct help text3582 has the correct help text3583 has the correct help text3584 global_setting: false, enabled_globally: true, enabled_in_project: true, current_user: :owner, help_text: :requires_admin_contact, invalid_text: :setting_has_been_overridden3585 has the correct help text3586 has the correct help text3587 has the correct help text3588 global_setting: false, enabled_globally: true, enabled_in_project: false, current_user: :owner, help_text: :requires_admin_contact, invalid_text: :setting_can_be_overridden3589 has the correct help text3590 has the correct help text3591 has the correct help text3592 global_setting: false, enabled_globally: false, enabled_in_project: true, current_user: :admin, help_text: :base_help, invalid_text: :setting_can_be_overridden3593 has the correct help text3594 has the correct help text3595 has the correct help text3596 global_setting: false, enabled_globally: false, enabled_in_project: true, current_user: :admin, help_text: :base_help, invalid_text: :setting_has_been_overridden3597 has the correct help text3598 has the correct help text3599 has the correct help text3600 #commit_committer_name_check_description3601 returns the right description3602admin/application_settings/_elasticsearch_form3603 es indexing3604 indexing is enabled3605 hides index button when indexing is disabled3606 renders an enabled pause checkbox3607 pending migrations3608 running: false, pause_indexing: false, disabled: false3609 renders pause checkbox with disabled set appropriately3610 running: false, pause_indexing: true, disabled: false3611 renders pause checkbox with disabled set appropriately3612 running: true, pause_indexing: false, disabled: false3613 renders pause checkbox with disabled set appropriately3614 running: true, pause_indexing: true, disabled: true3615 renders pause checkbox with disabled set appropriately3616 indexing is disabled3617 shows index button when indexing is enabled3618 renders a disabled pause checkbox3619 when elasticsearch_aws_secret_access_key is not set3620 has field with "AWS Secret Access Key" label and no value3621 when elasticsearch_aws_secret_access_key is set3622 has field with "Enter new AWS Secret Access Key" label and a masked value3623 zero-downtime elasticsearch reindexing3624 when task is in progress3625 renders a disabled pause checkbox3626 renders a disabled trigger cluster reindexing link3627 without extended details3628 renders the task3629 with extended details3630 renders the task information3631 with extended details, but without documents_count_target3632 renders the task information3633 when there are 0 documents expected3634 renders 100% completed progress3635 when there are elasticsearch indexed namespaces3636 shows the input3637 when there are too many elasticsearch indexed namespaces3638 hides the input3639 when there are elasticsearch indexed projects3640 shows the input3641 when there are too many elasticsearch indexed projects3642 hides the input3643 elasticsearch migrations3644 does not show the retry migration card3645 when Elasticsearch migration halted3646 when there is no reindexing3647 shows the retry migration card3648 when there is a reindexing task in progress3649 shows the retry migration card with retry button disabled3650 when elasticsearch is unreachable3651 does not show the retry migration card3652Ci::Minutes::EmailNotificationService3653 #execute3654 monthly_minutes_limit: 1000, minutes_used: 500, current_notification_level: 100, new_notification_level: 100, result: [false]3655 when on personal namespace3656 behaves like matches the expectations3657 matches the expectation on the email sent3658 matches the updated notification level3659 when on group3660 behaves like matches the expectations3661 matches the expectation on the email sent3662 matches the updated notification level3663 monthly_minutes_limit: 1000, minutes_used: 800, current_notification_level: 100, new_notification_level: 30, result: [true, 30]3664 when on personal namespace3665 behaves like matches the expectations3666 matches the expectation on the email sent3667 matches the updated notification level3668 when on group3669 behaves like matches the expectations3670 matches the expectation on the email sent3671 matches the updated notification level3672 monthly_minutes_limit: 1000, minutes_used: 800, current_notification_level: 30, new_notification_level: 30, result: [false]3673 when on personal namespace3674 behaves like matches the expectations3675 matches the expectation on the email sent3676 matches the updated notification level3677 when on group3678 behaves like matches the expectations3679 matches the expectation on the email sent3680 matches the updated notification level3681 monthly_minutes_limit: 1000, minutes_used: 950, current_notification_level: 100, new_notification_level: 5, result: [true, 5]3682 when on personal namespace3683 behaves like matches the expectations3684 matches the expectation on the email sent3685 matches the updated notification level3686 when on group3687 behaves like matches the expectations3688 matches the expectation on the email sent3689 matches the updated notification level3690 monthly_minutes_limit: 1000, minutes_used: 950, current_notification_level: 30, new_notification_level: 5, result: [true, 5]3691 when on personal namespace3692 behaves like matches the expectations3693 matches the expectation on the email sent3694 matches the updated notification level3695 when on group3696 behaves like matches the expectations3697 matches the expectation on the email sent3698 matches the updated notification level3699 monthly_minutes_limit: 1000, minutes_used: 950, current_notification_level: 5, new_notification_level: 5, result: [false]3700 when on personal namespace3701 behaves like matches the expectations3702 matches the expectation on the email sent3703 matches the updated notification level3704 when on group3705 behaves like matches the expectations3706 matches the expectation on the email sent3707 matches the updated notification level3708 monthly_minutes_limit: 1000, minutes_used: 1000, current_notification_level: 100, new_notification_level: 0, result: [true, 0]3709 when on personal namespace3710 behaves like matches the expectations3711 matches the expectation on the email sent3712 matches the updated notification level3713 when on group3714 behaves like matches the expectations3715 matches the expectation on the email sent3716 matches the updated notification level3717 monthly_minutes_limit: 1000, minutes_used: 1000, current_notification_level: 30, new_notification_level: 0, result: [true, 0]3718 when on personal namespace3719 behaves like matches the expectations3720 matches the expectation on the email sent3721 matches the updated notification level3722 when on group3723 behaves like matches the expectations3724 matches the expectation on the email sent3725 matches the updated notification level3726 monthly_minutes_limit: 1000, minutes_used: 1000, current_notification_level: 5, new_notification_level: 0, result: [true, 0]3727 when on personal namespace3728 behaves like matches the expectations3729 matches the expectation on the email sent3730 matches the updated notification level3731 when on group3732 behaves like matches the expectations3733 matches the expectation on the email sent3734 matches the updated notification level3735 monthly_minutes_limit: 1000, minutes_used: 1001, current_notification_level: 5, new_notification_level: 0, result: [true, 0]3736 when on personal namespace3737 behaves like matches the expectations3738 matches the expectation on the email sent3739 matches the updated notification level3740 when on group3741 behaves like matches the expectations3742 matches the expectation on the email sent3743 matches the updated notification level3744 monthly_minutes_limit: 1000, minutes_used: 1000, current_notification_level: 0, new_notification_level: 0, result: [false]3745 when on personal namespace3746 behaves like matches the expectations3747 matches the expectation on the email sent3748 matches the updated notification level3749 when on group3750 behaves like matches the expectations3751 matches the expectation on the email sent3752 matches the updated notification level3753 monthly_minutes_limit: 0, minutes_used: 1000, current_notification_level: 100, new_notification_level: 100, result: [false]3754 when on personal namespace3755 behaves like matches the expectations3756 matches the expectation on the email sent3757 matches the updated notification level3758 when on group3759 behaves like matches the expectations3760 matches the expectation on the email sent3761 matches the updated notification level3762Geo::FileRegistryRemovalService3763 #execute3764 when upload registry record exists3765 with file on local storage3766 when file exists on disk3767 removes the file3768 removes upload registry record3769 when something went wrong removing the file3770 logs an error message3771 does not remove the upload registry record3772 when file does not exist on disk3773 does not remove the file3774 removes upload registry record3775 with file on remote storage3776 when object storage is enabled3777 when file exists on object storage3778 when Gitlab managed replication is enabled3779 removes the file3780 removes upload registry record3781 when Gitlab managed replication is disabled3782 does not remove the file3783 removes upload registry record3784 when file does not exist on object storage3785 when GitLab managed replication is enabled3786 does not remove the file3787 removes upload registry record3788 when Gitlab managed replication is disabled3789 skips file removal3790 removes upload registry record3791 when object storage is disabled3792 when Gitlab managed replication is enabled3793 does not remove the file3794 removes upload registry record3795 when Gitlab managed replication is disabled3796 does not remove the file3797 removes upload registry record3798 when upload registry record does not exist3799 with file on local storage3800 when file exists on disk3801 removes the file3802 does not remove an upload registry record3803 when something went wrong removing the file3804 logs an error message3805 does not remove an upload registry record3806 when file does not exist on disk3807 does not remove the file3808 does not remove an upload registry record3809 with file on remote storage3810 when object storage is enabled3811 when file exists on object storage3812 when GitLab managed replication is enabled3813 removes the file3814 does not remove an upload registry record3815 when Gitlab managed replication is disabled3816 skips file removal3817 does not remove an upload registry record3818 when file does not exist on object storage3819 when GitLab managed replicaiton is enabled3820 does not remove the file3821 does not remove an upload registry record3822 when Gitlab managed replication is disabled3823 skips file removal3824 does not remove an upload registry record3825 when object storage is disabled3826 when GitLab managed replication is enabled3827 does not remove the file3828 does not remove an upload registry record3829 when GitLab managed replication is disabled3830 does not remove the file3831 does not remove an upload registry record3832 when upload record does not exist3833 with file on local storage3834 when the file_path is passed3835 when file exists on disk3836 removes the file3837 removes upload registry record3838 when something went wrong removing the file3839 logs an error message3840 does not remove the upload registry record3841 when file does not exist on disk3842 does not remove the file3843 removes upload registry record3844 when the file_path is not passed3845 when file exists on disk3846 logs an error message3847 removes upload registry record3848 when file does not exist on disk3849 logs an error message3850 removes upload registry record3851 with file on remote storage3852 when the file_path is passed3853 when object storage is enabled3854 when GitLab managed replication is enabled3855 logs an error message3856 removes upload registry record3857 when Gitlab managed replication is disabled3858 logs an error message3859 removes upload registry record3860 when object storage is disabled3861 when Gitlab managed replication is enabled3862 logs an error message3863 removes upload registry record3864 when Gitlab managed replication is disabled3865 logs an error message3866 removes upload registry record3867 when the file_path is not passed3868 when object storage is enabled3869 when GitLab managed replication is enabled3870 logs an error message3871 removes upload registry record3872 when Gitlab managed replication is disabled3873 logs an error message3874 removes upload registry record3875 when object storage is disabled3876 when GitLab managed replication is enabled3877 logs an error message3878 removes upload registry record3879 when GitLab managed replication is disabled3880 logs an error message3881 removes upload registry record3882 with an unrecognized replicable type3883 with file on local storage3884 raises an error3885 with file on remote storage3886 when the file_path is passed3887 when object storage is enabled3888 when GitLab managed replication is enabled3889 raises an error3890 when GitLab managed replication is disabled3891 raises an error3892 when object storage is disabled3893 when GitLab managed replication is enabled3894 raises an error3895 when GitLab managed replication is disabled3896 raises an error3897ProtectedEnvironment3898 associations3899 is expected to belong to project required: false3900 is expected to have many deploy_access_levels3901 is expected to have many approval_rules class_name => ProtectedEnvironments::ApprovalRule inverse_of => protected_environment3902 validation3903 is expected to validate that :name cannot be empty/falsy3904 is expected to validate that the length of :deploy_access_levels3905 is expected to validate that :required_approval_count looks like an integer greater than or equal to 0 and less than or equal to 53906 can not belong to both group and project3907 must belong to one of group or project3908 group-level protected environment3909 passes the validation when the name is listed in the tiers3910 fails the validation when the name is not listed in the tiers3911 #accessible_to?3912 when user is admin3913 is expected to be truthy3914 when access has been granted to user3915 is expected to be truthy3916 when specific access has been assigned to a group3917 allows members of the group3918 rejects non-members of the group3919 when access has been granted to maintainers3920 allows maintainers3921 rejects developers3922 when access has been granted to developers3923 allows maintainers3924 allows developers3925 #container_access_level3926 with project-level protected environment3927 behaves like correct access levels3928 for project maintainer3929 is expected to eq 403930 for project developer3931 is expected to eq 303932 when user is nil3933 is expected to eq 03934 with group-level protected environment3935 behaves like correct access levels3936 for project maintainer3937 is expected to eq 403938 for project developer3939 is expected to eq 303940 when user is nil3941 is expected to eq 03942 #project_level?3943 for a project-level protected environment3944 is expected to be truthy3945 for a group-level protected environment3946 is expected to be falsey3947 #group_level?3948 for a group-level protected environment3949 is expected to be truthy3950 for a project-level protected environment3951 is expected to be falsey3952 .sorted_by_name3953 sorts protected environments by name3954 .with_environment_id3955 sets corresponding environment id if there is environment matching by name and project3956 .revoke_user3957 deletes matching deploy access levels for the given user3958 when user is assigned to protected environment in the other project3959 deletes matching deploy access levels for the given user in the specific project3960 .revoke_group3961 deletes matching deploy access levels for the given group3962 when user is assigned to protected environment in the other project3963 returns matching deploy access levels for the given group in the specific project3964 .for_environment3965 is expected to contain exactly #<ProtectedEnvironment id: 32, project_id: 784, created_at: "2023-03-30 12:01:09.799414317 +0000", up...2023-03-30 12:01:09.799414317 +0000", name: "production", group_id: nil, required_approval_count: 0>3966 caches result3967 calls .for_environments with the environment3968 when environment does not exist3969 raises an error3970 .for_environments3971 is expected to contain exactly #<ProtectedEnvironment id: 36, project_id: 785, created_at: "2023-03-30 12:01:10.943942363 +0000", up...2023-03-30 12:01:10.943942363 +0000", name: "production", group_id: nil, required_approval_count: 0>3972 raises an error if environments belong to more than one project3973 when environment is a different name3974 is expected to be empty3975 when environment exists in a different project3976 is expected to be empty3977 with group-level protected environment3978 with project-level production environment3979 has multiple protections3980 when project-level protection does not exist3981 has only group-level protection3982 with staging environment3983 does not have any protections3984 with multiple environments3985 is expected to contain exactly #<ProtectedEnvironment id: 45, project_id: 785, created_at: "2023-03-30 12:01:15.096755007 +0000", up...2023-03-30 12:01:15.096755007 +0000", name: "production", group_id: nil, required_approval_count: 0> and #<ProtectedEnvironment id: 46, project_id: 785, created_at: "2023-03-30 12:01:15.225701116 +0000", up...t: "2023-03-30 12:01:15.225701116 +0000", name: "canary", group_id: nil, required_approval_count: 0>3986Notes::CreateService3987 note with commands3988 for issues3989 behaves like issuable quick actions3990 when user can update issuable3991 saves the note and updates the issue3992 when user cannot update issuable3993 applies commands that user can execute3994 with assignees quick actions3995 with a single line note3996 behaves like does not exceed the issuable size limit3997 when the number of users of issuable does exceed the limit3998 will not add more than the allowed number of users3999 when the number of users does not exceed the limit4000 calls execute and does not return an error4001 with a multi line note4002 behaves like does not exceed the issuable size limit4003 when the number of users of issuable does exceed the limit4004 will not add more than the allowed number of users4005 when the number of users does not exceed the limit4006 calls execute and does not return an error4007 for merge_requests4008 behaves like issuable quick actions4009 when user can update issuable4010 saves the note and updates the issue4011 when user cannot update issuable4012 applies commands that user can execute4013 with assignees quick actions4014 with a single line note4015 behaves like does not exceed the issuable size limit4016 when the number of users of issuable does exceed the limit4017 will not add more than the allowed number of users4018 when the number of users does not exceed the limit4019 calls execute and does not return an error4020 with a multi line note4021 behaves like does not exceed the issuable size limit4022 when the number of users of issuable does exceed the limit4023 will not add more than the allowed number of users4024 when the number of users does not exceed the limit4025 calls execute and does not return an error4026 with reviewers quick actions4027 with a single line note4028 behaves like does not exceed the issuable size limit4029 when the number of users of issuable does exceed the limit4030 will not add more than the allowed number of users4031 when the number of users does not exceed the limit4032 calls execute and does not return an error4033 with a multi line note4034 behaves like does not exceed the issuable size limit4035 when the number of users of issuable does exceed the limit4036 will not add more than the allowed number of users4037 when the number of users does not exceed the limit4038 calls execute and does not return an error4039 for epics4040 tracks epic note creation4041ProtectedBranches::CreateService4042 #execute4043 adds a security audit event entry4044 code_owner_approval_required4045 when unavailable4046 ignores incoming params and sets code_owner_approval_required to false4047 when available4048 when code_owner_approval_required param is true4049 sets code_owner_approval_required to true4050 behaves like records an onboarding progress action4051 is expected to receive execute({:action=>:code_owners_enabled}) 1 time4052 when code_owner_approval_required param is false4053 sets code_owner_approval_required to false4054 behaves like does not record an onboarding progress action4055 is expected not to receive new(*(any args)) 0 times4056 when security_orchestration_policies is not licensed4057 does not sync scan_finding_approval_rules4058 when security_orchestration_policies is licensed4059 syncs scan_finding_approval_rules4060 when there are open merge requests4061 calls MergeRequest::SyncCodeOwnerApprovalRules to update open MRs4062 when the branch is a wildcard4063 calls MergeRequest::SyncCodeOwnerApprovalRules to update open MRs for *ture4064 calls MergeRequest::SyncCodeOwnerApprovalRules to update open MRs for *eatur*4065 calls MergeRequest::SyncCodeOwnerApprovalRules to update open MRs for feat*4066 with invalid params4067 doesn't add a security audit event entry4068 when entity group4069 return early in `sync_code_owner_approval_rules`4070 return early in `track_onboarding_progress`4071 when security_orchestration_policies is not licensed4072 does not sync scan_finding_approval_rules4073 when security_orchestration_policies is licensed4074 syncs scan_finding_approval_rules4075Geo::DependencyProxyBlobRegistry4076 # order random4077 factory is valid4078 state machine4079 when transitioning to synced4080 marks verification as pending4081 when the model_record cannot be verified4082 when the registry is already verification_disabled4083 changes verification to disabled4084 when the registry is verification_pending4085 changes verification to disabled4086 .fail_sync_timeouts4087 marks started records as failed if they are expired4088 #synced!4089 mark as synced4090 when a sync was scheduled after the last sync finishes4091 does not reset state4092 resets the other sync state fields4093 #verification_succeeded!4094 clears checksum mismatch fields4095 #track_checksum_attempt!4096 yields to the checksum calculation4097 when verification was not yet started4098 starts verification4099 when the model record cannot be verified4100 when the registry is already verification_disabled4101 leaves verification as disabled4102 when the registry is verification_pending4103 changes verification to disabled4104 when the primary site is expected to checksum the model record4105 comparison with primary checksum4106 when the calculated checksum matches the primary checksum4107 transitions to verification_succeeded and updates the checksum4108 when the calculated checksum does not match the primary checksum4109 transitions to verification_failed and updates mismatch fields4110 when verification was started4111 does not update verification_started_at4112 when an error occurs while yielding4113 sets verification_failed4114 verification_state machine4115 when transitioning to verification_failed4116 changes state from synced to failed4117 finders4118 .find_registries_never_attempted_sync4119 returns unsynced items4120 returns items that never have an attempt to sync except some specific item ID4121 .find_registries_needs_sync_again4122 returns failed items4123 returns failed items except some specific item ID4124 orders records according to retry_at4125 obligatory fields check4126 has expected fields or methods4127 scopes4128 sync_timed_out4129 return correct records4130 .verification_failed_batch4131 with a failed record with retry due4132 returns IDs of rows which are synced and have failed verification4133 excludes rows which are not synced or have not failed verification4134 marks verification as started4135 when verification_retry_at is in the future4136 does not return the row which failed verification4137 #pending!4138 when a sync is currently running4139 successfully moves state to pending4140 when the registry has recorded a failure4141 clears failure retry fields4142 #failed!4143 sets last_sync_failure with message4144 truncates a long last_sync_failure4145 increments retry_count4146 sets retry_at to a time in the future4147 when an error is given4148 includes error.message in last_sync_failure4149 when missing_on_primary is not given4150 caps retry_at to default 1 hour4151 when missing_on_primary is falsey4152 caps retry_at to default 1 hour4153 when missing_on_primary is truthy4154 caps retry_at to 4 hours4155 .needs_verification_count4156 returns the number of rows which are synced and pending verification4157 includes rows which are synced and failed verification and are due for retry4158 excludes rows which are synced and failed verification and have a future retry time4159 excludes rows which are not synced or are not (pending or failed) verification4160 .verification_pending_batch4161 returns IDs of rows which are synced and pending verification4162 excludes rows which are not synced or are not pending verification4163 marks verification as started4164Geo::SnippetRepositoryRegistry4165 factory is valid4166 obligatory fields check4167 has expected fields or methods4168 scopes4169 sync_timed_out4170 return correct records4171 finders4172 .find_registries_never_attempted_sync4173 returns unsynced items4174 returns items that never have an attempt to sync except some specific item ID4175 .find_registries_needs_sync_again4176 returns failed items4177 returns failed items except some specific item ID4178 orders records according to retry_at4179 .fail_sync_timeouts4180 marks started records as failed if they are expired4181 #failed!4182 sets last_sync_failure with message4183 truncates a long last_sync_failure4184 increments retry_count4185 sets retry_at to a time in the future4186 when an error is given4187 includes error.message in last_sync_failure4188 when missing_on_primary is not given4189 caps retry_at to default 1 hour4190 when missing_on_primary is falsey4191 caps retry_at to default 1 hour4192 when missing_on_primary is truthy4193 caps retry_at to 4 hours4194 #synced!4195 mark as synced4196 when a sync was scheduled after the last sync finishes4197 does not reset state4198 resets the other sync state fields4199 #pending!4200 when a sync is currently running4201 successfully moves state to pending4202 when the registry has recorded a failure4203 clears failure retry fields4204 state machine4205 when transitioning to synced4206 marks verification as pending4207 when the model_record cannot be verified4208 when the registry is already verification_disabled4209 changes verification to disabled4210 when the registry is verification_pending4211 changes verification to disabled4212 verification_state machine4213 when transitioning to verification_failed4214 changes state from synced to failed4215 .verification_pending_batch4216 returns IDs of rows which are synced and pending verification4217 excludes rows which are not synced or are not pending verification4218 marks verification as started4219 .verification_failed_batch4220 with a failed record with retry due4221 returns IDs of rows which are synced and have failed verification4222 excludes rows which are not synced or have not failed verification4223 marks verification as started4224 when verification_retry_at is in the future4225 does not return the row which failed verification4226 .needs_verification_count4227 returns the number of rows which are synced and pending verification4228 includes rows which are synced and failed verification and are due for retry4229 excludes rows which are synced and failed verification and have a future retry time4230 excludes rows which are not synced or are not (pending or failed) verification4231 #verification_succeeded!4232 clears checksum mismatch fields4233 #track_checksum_attempt!4234 yields to the checksum calculation4235 when verification was not yet started4236 starts verification4237 when the model record cannot be verified4238 when the registry is already verification_disabled4239 leaves verification as disabled4240 when the registry is verification_pending4241 changes verification to disabled4242 when the primary site is expected to checksum the model record4243 comparison with primary checksum4244 when the calculated checksum matches the primary checksum4245 transitions to verification_succeeded and updates the checksum4246 when the calculated checksum does not match the primary checksum4247 transitions to verification_failed and updates mismatch fields4248 when verification was started4249 does not update verification_started_at4250 when an error occurs while yielding4251 sets verification_failed4252 .with_search4253 when query is empty4254 returns all registries4255 when query is not empty4256 calls model_class search method4257ComplianceManagement::ComplianceReport::CommitLoader4258 # order random4259 #find_each4260 when an MR exists4261 is expected to contain exactly "8d1ca6b4d03814e905bca11587cd619bae06f213"4262 when a project has more than the max commits4263 only returns the max commits4264 with a subgroup project4265 returns group and subgroup commits4266 with commits that span the 1 month window4267 returns only the commits within 1 month4268 when a project does not have a repository4269 does not throw a NoRepository error4270 returns an empty array4271 when given a commit sha to filter by4272 when the sha is a merge commit sha4273 is expected to contain exactly "6974c16426a6410bd00a1f6063c93879fce6c581"4274 when the commit is a non-merge commit4275 is expected to contain exactly "ebb31c87a62357e8ba0064881ba6a92998eba773"4276 when user is missing4277 raises an ArgumentError4278 when group is missing4279 raises an ArgumentError4280Geo::RegistrySyncWorker4281 behaves like a framework registry sync worker4282 #perform4283 does not schedule anything when tracking database is not configured4284 does not schedule anything when node is disabled4285 does not schedule duplicated jobs4286 does not schedule duplicated jobs because of query cache4287 attempts to load a new batch without pending registries4288 #max_capacity4289 returns only files_max_capacity based capacity4290Vulnerabilities::CreateService4291 matches an expected checksum4292 with an authorized user with proper permissions4293 creates a vulnerability from finding and attaches it to the vulnerability4294 behaves like calls Vulnerabilities::Statistics::UpdateService4295 calls the service class4296 behaves like creates a vulnerability state transition record4297 creates a vulnerability state transition record4298 and finding is dismissed4299 when deprecate_vulnerabilities_feedback is enabled4300 when the state is set to dismissed4301 creates a vulnerability in a dismissed state and sets dismissal information4302 when deprecate_vulnerabilities_feedback is disabled4303 creates a vulnerability in a dismissed state and sets dismissal information4304 when finding name is longer than 255 characters4305 truncates vulnerability title to have 255 characters4306 when the state parameter is sent4307 creates a new vulnerability with the given state4308 when present_on_default_branch parameter is sent4309 creates a new vulnerability with the given present_on_default_branch4310 when finding id is unknown4311 adds expected error to the response4312 when finding does not belong to the vulnerability project4313 adds expected error to the response4314 when a vulnerability already exists for a specific finding4315 rejects creation of a new vulnerability from this finding4316 does not update vulnerability statistics4317 when security dashboard feature is disabled4318 raises an "access denied" error4319 when user does not have rights to dismiss a vulnerability4320 raises an "access denied" error4321AppSec::Dast::ScannerProfiles::CreateService4322 #execute4323 when a user does not have access to a project4324 returns an error status4325 populates message4326 when the user does not have permission to run a dast scan4327 returns an error status4328 populates message4329 when the user can run a dast scan4330 returns a success status4331 creates a dast_scanner_profile4332 creates a dast_scanner_profile with the given params4333 returns a dast_scanner_profile payload4334 audits the creation4335 when the dast_scanner_profile name exists4336 does not create a new dast_scanner_profile4337 returns an error status4338 populates message4339 when on demand scan licensed feature is not available4340 returns an error status4341 populates message4342Approvable4343 # order random4344 is expected to delegate #committers_can_approve? to the #approval_state object4345 is expected to delegate #authors_can_approve? to the #approval_state object4346 is expected to delegate #approvals_required to the #approval_state object4347 is expected to delegate #total_approvals_count to the #approval_state object4348 is expected to delegate #approvals_left to the #approval_state object4349 is expected to delegate #wrapped_approval_rules to the #approval_state object4350 is expected to delegate #approval_needed? to the #approval_state object4351 is expected to delegate #approved? to the #approval_state object4352 is expected to delegate #approvers_overwritten? to the #approval_state object4353 #eligible_for_approval_by?4354 when merge_request_approvers feature is enabled4355 delegates the call to merge request4356 when merge_request_approvers feature is disabled4357 delegates the call to merge request4358 #approvals_given4359 returns the correct number of approvals given4360 #approval_feature_available?4361 is false when feature is disabled4362 is true when feature is enabled4363 is false when project is somehow missing4364Members::CreateService4365 with group plan observing quota limits4366 already exceeded invite quota limit4367 behaves like quota limit exceeded4368 is expected to include {:status => :error, :message => "Invite limit of 2 per day exceeded"}4369 is expected not to change `Member.count`4370 will exceed invite quota limit4371 behaves like quota limit exceeded4372 is expected to include {:status => :error, :message => "Invite limit of 3 per day exceeded"}4373 is expected not to change `Member.count`4374 within invite quota limit4375 is expected to eq {:status=>:success}4376 is expected to include #<User id:1706 @user782> and #<User id:1707 @user783>4377 infinite invite quota limit4378 is expected to eq {:status=>:success}4379 is expected to include #<User id:1706 @user782> and #<User id:1707 @user783>4380 without a plan4381 is expected to eq {:status=>:success}4382 is expected to include #<User id:1706 @user782> and #<User id:1707 @user783>4383 when assigning tasks to be done4384 when passing many user ids4385 creates 2 task issues4386 streaming audit event4387 audits event with name4388 sends the audit streaming event4389 with seat availability concerns4390 when creating4391 when seat is available4392 with existing user that is a member in our hierarchy4393 adds the member4394 when under the dashboard limit4395 adds the members4396 when seat is not available4397 does not add members4398 when updating with no seats left4399 allows updating existing invited member4400MergeTrains::AddMergeRequestService4401 # order random4402 #execute4403 when user is guest4404 behaves like fails to add to merge train4405 returns error4406 does not add to merge train4407 when user is developer4408 behaves like succeeds to add to merge train4409 returns success4410 succeeds to add to merge train4411 when user is maintainer4412 behaves like succeeds to add to merge train4413 returns success4414 succeeds to add to merge train4415 when pipeline succeeds is true4416 when pipeline is completed4417 behaves like fails to add to merge train4418 returns error4419 does not add to merge train4420 when pipeline is not completed4421 returns success4422 waits to add to merge train4423 when pipeline succeeds is false4424 when pipeline is completed4425 behaves like succeeds to add to merge train4426 returns success4427 succeeds to add to merge train4428 when pipeline is not completed4429 behaves like fails to add to merge train4430 returns error4431 does not add to merge train4432 when squash is true4433 sets the squash merge request parameter4434 behaves like succeeds to add to merge train4435 returns success4436 succeeds to add to merge train4437 when squash is false4438 sets the squash merge request parameter4439 behaves like succeeds to add to merge train4440 returns success4441 succeeds to add to merge train4442 when merge trains are disabled4443 behaves like fails to add to merge train4444 returns error4445 does not add to merge train4446ProjectCiCdSetting4447 #merge_pipelines_enabled?4448 when Merge pipelines (EEP) is available4449 is expected to be truthy4450 when project setting is disabled4451 is expected to be falsy4452 when Merge pipelines (EEP) is unavailable4453 is expected to be falsy4454 when project setting is disabled4455 is expected to be falsy4456 #merge_trains_enabled?4457 merge_pipelines_enabled: true, merge_trains_enabled: true, feature_available: true, expected_result: true4458 returns merge trains availability4459 merge_pipelines_enabled: true, merge_trains_enabled: false, feature_available: true, expected_result: false4460 returns merge trains availability4461 merge_pipelines_enabled: false, merge_trains_enabled: false, feature_available: true, expected_result: false4462 returns merge trains availability4463 merge_pipelines_enabled: false, merge_trains_enabled: true, feature_available: true, expected_result: false4464 returns merge trains availability4465 merge_pipelines_enabled: true, merge_trains_enabled: true, feature_available: false, expected_result: false4466 returns merge trains availability4467 merge_pipelines_enabled: true, merge_trains_enabled: false, feature_available: false, expected_result: false4468 returns merge trains availability4469 merge_pipelines_enabled: false, merge_trains_enabled: false, feature_available: false, expected_result: false4470 returns merge trains availability4471 #auto_rollback_enabled?4472 license_feature: true, actual_setting: true4473 is only enabled if set and both the license and the feature flag allows4474 license_feature: false, actual_setting: true4475 is only enabled if set and both the license and the feature flag allows4476 license_feature: true, actual_setting: true4477 is only enabled if set and both the license and the feature flag allows4478 license_feature: false, actual_setting: true4479 is only enabled if set and both the license and the feature flag allows4480 license_feature: true, actual_setting: false4481 is only enabled if set and both the license and the feature flag allows4482 license_feature: false, actual_setting: false4483 is only enabled if set and both the license and the feature flag allows4484 license_feature: true, actual_setting: false4485 is only enabled if set and both the license and the feature flag allows4486 license_feature: false, actual_setting: false4487 is only enabled if set and both the license and the feature flag allows4488 #merge_pipelines_were_disabled?4489 when merge pipelines option was enabled4490 when merge pipelines option is disabled4491 is expected to equal true4492 when merge pipelines option is intact4493 is expected to equal false4494 when merge pipelines option was disabled4495 when merge pipelines option is disabled4496 is expected to equal false4497 when merge pipelines option is intact4498 is expected to equal false4499ProtectedEnvironments::ApprovalRule4500 associations4501 is expected to have many deployment_approvals class_name => Deployments::Approval inverse_of => approval_rule4502 behaves like authorizable for protected environments4503 associations4504 is expected to belong to protected_environment required: false4505 is expected to belong to user required: false4506 is expected to belong to group required: false4507 validations4508 is expected to validate that :access_level is either ‹20›, ‹30›, or ‹40›4509 #check_access4510 anonymous access4511 is expected to be falsy4512 admin user has universal access4513 when admin user does have specific access4514 is expected to be truthy4515 when admin user does not have specific access4516 is expected to be truthy4517 non-admin user access4518 when specific access has been assigned to a user4519 is expected to be truthy4520 when no permissions have been given to a user4521 is expected to be falsy4522 group access4523 when specific access has been assigned to a group4524 is expected to be truthy4525 when no permissions have been given to a group4526 is expected to be falsy4527 when there is an inherited member of a group4528 when group inheritance type is direct4529 is expected to be falsey4530 when group inheritance type is all inheritance4531 is expected to be truthy4532 access level4533 with a permitted access level4534 when user is project member above the permitted access level4535 is expected to be truthy4536 when user is project member below the permitted access level4537 is expected to be falsy4538 when the access level is not permitted4539 does not save the record4540 #humanize4541 when is related to a user4542 is expected to eq "Sidney Jones1482"4543 when is related to a group4544 is expected to eq "group282"4545 when is set to have a role4546 for developer access4547 is expected to eq "Developers + Maintainers"4548 for maintainer access4549 is expected to eq "Maintainers"4550 #type4551 with role type4552 is expected to eq :role4553 with user type4554 is expected to eq :user4555 with group type4556 is expected to eq :group4557 #role?4558 with role type4559 is expected to eq true4560 with user type4561 is expected to eq false4562 behaves like summarizable for deployment approvals4563 is summarizable4564 #approved_count4565 returns one with approval4566 returns zero without approval4567 #approved?4568 returns true with approval4569 returns false without approval4570 #rejected?4571 returns true with rejection4572 returns false without rejection4573 #status4574 returns approved with approval4575 returns rejected with rejection4576 returns pending approval without approval4577 #pending_approval_count4578 returns zero with approval4579 returns one without approval4580 validation4581 has a limit on required_approvals4582 is expected to validate that :group_inheritance_type is either ‹0› or ‹1›4583StoreSecurityReportsWorker4584 #perform4585 when there is no pipeline with the given ID4586 does not raise an error4587 when at least one security report feature is enabled4588 report_type: :sast4589 executes IngestReportsService for given pipeline4590 report_type: :dast4591 executes IngestReportsService for given pipeline4592 report_type: :dependency_scanning4593 executes IngestReportsService for given pipeline4594 report_type: :container_scanning4595 executes IngestReportsService for given pipeline4596 report_type: :cluster_image_scanning4597 executes IngestReportsService for given pipeline4598 when running SAST analyzers that produce duplicate vulnerabilities4599 vulnerability_finding_signatures_enabled: true4600 and prefers original analyzer over semgrep when deduplicating4601 does not duplicate vulnerabilities4602 and prefers semgrep over original analyzer when deduplicating4603 does not duplicate vulnerabilities4604 vulnerability_finding_signatures_enabled: false4605 and prefers original analyzer over semgrep when deduplicating4606 does not duplicate vulnerabilities4607 and prefers semgrep over original analyzer when deduplicating4608 does not duplicate vulnerabilities4609 when resolving dropped identifiers4610 resolves vulnerabilities4611 when security reports feature is not available4612 does not execute IngestReportsService4613Elastic::DataMigrationService4614 .migrations4615 all migration names are unique4616 migration_files stubbed4617 creates migration records4618 migrations in optimized order for each index4619 ensure all update migrations run before backfill migrations4620 .migration_has_finished_uncached?4621 returns true if migration has finished4622 .migration_has_finished?4623 calls the uncached method only once4624 .mark_all_as_completed!4625 creates all migration versions4626 drops all cache keys4627 .drop_migration_has_finished_cache!4628 drops cache4629 .migration_halted?4630 calls the uncached method only once4631 .migration_halted_uncached?4632 returns true if migration has been halted4633 .drop_migration_halted_cache!4634 drops cache4635 .halted_migration4636 returns a migration when it is halted4637 pending_migrations?4638 when there is a pending migration4639 returns true4640 when there is no pending migration4641 returns false (FAILED - 1)46431st Try error in ./ee/spec/services/elastic/data_migration_service_spec.rb:241:4644expected: false4645 got: true4646(compared using ==)4647Diff:4648@@ -1 +1 @@4649-false4650+true4652RSpec::Retry: 2nd try ./ee/spec/services/elastic/data_migration_service_spec.rb:2414653 pending_migrations4654 returns only pending migrations (FAILED - 2)46561st Try error in ./ee/spec/services/elastic/data_migration_service_spec.rb:256:4657expected: ["AddNewDataToIssuesDocuments", "MigrateIssuesToSeparateIndex"]4658 got: ["ApplyMaxAnalyzedOffset", "AddNewDataToIssuesDocuments", "MigrateIssuesToSeparateIndex", "DeleteIssu...eIdToUsers", "BackfillHashedRootNamespaceIdOnUsers", "BackfillHashedRootNamespaceIdOnMergeRequests"]4659(compared using ==)4661RSpec::Retry: 2nd try ./ee/spec/services/elastic/data_migration_service_spec.rb:2564662GlobalPolicy4663 is expected to be disallowed :read_licenses4664 is expected to be disallowed :destroy_licenses4665 is expected to be disallowed :read_all_geo4666 is expected to be disallowed :manage_subscription4667 reading operations dashboard4668 when licensed4669 is expected to be allowed :read_operations_dashboard4670 and the user is not logged in4671 is expected to be disallowed :read_operations_dashboard4672 when unlicensed4673 is expected to be disallowed :read_operations_dashboard4674 when admin mode enabled4675 is expected to be allowed :read_licenses4676 is expected to be allowed :destroy_licenses4677 is expected to be allowed :read_all_geo4678 is expected to be allowed :manage_subscription4679 when admin mode disabled4680 is expected to be disallowed :read_licenses4681 is expected to be disallowed :destroy_licenses4682 is expected to be disallowed :read_all_geo4683 is expected to be disallowed :manage_subscription4684 view_productivity_analytics4685 anonymous user4686 is not allowed4687 authenticated user4688 is allowed4689 update_max_pages_size4690 is expected to be disallowed :update_max_pages_size4691 when feature is enabled4692 is expected to be disallowed :update_max_pages_size4693 when admin mode enabled4694 is expected to be allowed :update_max_pages_size4695 when admin mode disabled4696 is expected to be disallowed :update_max_pages_size4697 create_group_with_default_branch_protection4698 for an admin4699 when the `default_branch_protection_restriction_in_groups` feature is available4700 when the setting `group_owners_can_manage_default_branch_protection` is enabled4701 is expected to be allowed :create_group_with_default_branch_protection4702 when the setting `group_owners_can_manage_default_branch_protection` is disabled4703 when admin mode is enabled4704 is expected to be allowed :create_group_with_default_branch_protection4705 when admin mode is disabled4706 is expected to be disallowed :create_group_with_default_branch_protection4707 when the `default_branch_protection_restriction_in_groups` feature is not available4708 when the setting `group_owners_can_manage_default_branch_protection` is enabled4709 is expected to be allowed :create_group_with_default_branch_protection4710 when the setting `group_owners_can_manage_default_branch_protection` is disabled4711 is expected to be allowed :create_group_with_default_branch_protection4712 for a normal user4713 when the `default_branch_protection_restriction_in_groups` feature is available4714 when the setting `group_owners_can_manage_default_branch_protection` is enabled4715 is expected to be allowed :create_group_with_default_branch_protection4716 when the setting `group_owners_can_manage_default_branch_protection` is disabled4717 is expected to be disallowed :create_group_with_default_branch_protection4718 when the `default_branch_protection_restriction_in_groups` feature is not available4719 when the setting `group_owners_can_manage_default_branch_protection` is enabled4720 is expected to be allowed :create_group_with_default_branch_protection4721 when the setting `group_owners_can_manage_default_branch_protection` is disabled4722 is expected to be allowed :create_group_with_default_branch_protection4723 list_removable_projects4724 when user is an admin4725 when licensed feature is enabled4726 is expected to be allowed :list_removable_projects4727 when licensed feature is not enabled4728 is expected to be disallowed :list_removable_projects4729 when user is a normal user4730 when licensed feature is enabled4731 is expected to be allowed :list_removable_projects4732 when licensed feature is not enabled4733 is expected to be disallowed :list_removable_projects4734 :export_user_permissions4735 role: :admin, licensed: true, allowed: true4736 is expected to be allowed :export_user_permissions4737 role: :admin, licensed: false, allowed: false4738 is expected to be disallowed :export_user_permissions4739 role: :guest, licensed: true, allowed: false4740 is expected to be disallowed :export_user_permissions4741 role: :guest, licensed: false, allowed: false4742 is expected to be disallowed :export_user_permissions4743 create_group_via_api4744 on .com4745 when feature is enabled4746 is expected to be allowed :create_group_via_api4747 when feature is disabled4748 is expected to be disallowed :create_group_via_api4749 on self-managed4750 when feature is enabled4751 is expected to be allowed :create_group_via_api4752 when feature is disabled4753 is expected to be allowed :create_group_via_api4754 :view_instance_devops_adoption & :manage_devops_adoption_namespaces4755 when license does not include the feature4756 is expected to be disallowed :view_instance_devops_adoption and :manage_devops_adoption_namespaces4757 when feature is enabled and license include the feature4758 is expected to be allowed :view_instance_devops_adoption and :manage_devops_adoption_namespaces4759 for non-admins4760 is expected to be disallowed :view_instance_devops_adoption and :manage_devops_adoption_namespaces4761 read_jobs_statistics4762 when feature is enabled4763 is expected to be disallowed :read_jobs_statistics4764 when admin mode enabled4765 is expected to be allowed :read_jobs_statistics4766 when admin mode disabled4767 is expected to be disallowed :read_jobs_statistics4768 when feature is disabled4769 when admin mode enabled4770 is expected to be disallowed :read_jobs_statistics4771 admin_service_accounts4772 is expected to be disallowed :admin_service_accounts4773 when feature is enabled4774 when admin mode enabled4775 is expected to be allowed :admin_service_accounts4776 when admin mode disabled4777 is expected to be disallowed :admin_service_accounts4778Vulnerabilities::StateTransition4779 behaves like a BulkInsertSafe model4780 when calling class methods directly4781 raises an error when method is not bulk-insert safe4782 does not raise an error when method is bulk-insert safe4783 .bulk_insert!4784 when all items are valid4785 inserts them all4786 returns an empty array4787 when some items are invalid4788 does not insert any of them and raises an error4789 inserts them anyway when bypassing validations4790 associations4791 is expected to belong to author class_name => User required: false inverse_of => vulnerability_state_transitions4792 is expected to belong to vulnerability class_name => Vulnerability required: false inverse_of => state_transitions4793 validations4794 is expected to be valid4795 is expected to validate that :vulnerability_id cannot be empty/falsy4796 is expected to validate that :from_state cannot be empty/falsy4797 is expected to validate that :to_state cannot be empty/falsy4798 is expected to validate that the length of :comment is at most 500004799 is expected to validate that :to_state differs from :from_state4800 when the last record contains a different dismissal_reason4801 does not fail the validation4802 enums4803 is expected to define :from_state as an enum backed by an integer with values ‹{"detected" => 1, "confirmed" => 4, "resolved" => 3, "dismissed" => 2}›, prefix: true4804 is expected to define :to_state as an enum backed by an integer with values ‹{"detected" => 1, "confirmed" => 4, "resolved" => 3, "dismissed" => 2}›, prefix: true4805 is expected to define :dismissal_reason as an enum backed by an integer with values ‹{acceptable_risk: 0, false_positive: 1, mitigating_control: 2, used_in_tests: 3, not_applicable: 4}›4806 .by_to_states4807 returns state transitions matching the given states4808 when loose foreign key on vulnerability_state_transitions.state_changed_at_pipeline_id4809 behaves like cleanup by a loose foreign key4810 cleans up (delete or nullify) the model4811OmniAuth::Strategies::GroupSaml4812 callback_path option4813 dynamically detects /groups/:group_path/-/saml/callback4814 rejects default callback paths4815 POST /groups/:group_path/-/saml/callback4816 redirects to failure endpoint when the group is not found4817 with valid SAMLResponse4818 sets the auth hash based on the response4819 sets omniauth setings from configured settings4820 redirects to failure endpoint when SAML is disabled for the group4821 user is testing SAML response4822 stores the saml response for retrieval after redirect4823 redirects back to the settings page4824 with invalid SAMLResponse4825 redirects somewhere so failure messages can be displayed4826 Group SAML not licensed for group4827 redirects to failure endpoint4828 POST /users/auth/group_saml4829 redirects to the provider login page4830 redirects to failure endpoint for groups without SAML configured4831 redirects to the failure endpoint when the group is not found4832 redirects to failure endpoint when missing group_path param4833 stores request ID during request phase4834 POST /users/auth/group_saml/metadata4835 redirects to the failure endpoint when the group is not found4836 redirects to the failure endpoint with generic error to avoid disclosing group existence4837 returns metadata when a valid token is provided4838 redirects to failure endpoint when an invalid token is provided4839 redirects to failure endpoint when group is not found but a token is provided4840 sets omniauth setings from default settings4841 POST /users/auth/group_saml/slo4842 returns 404 to avoid disclosing group existence4843 POST /users/auth/group_saml/spslo4844 returns 404 to avoid disclosing group existence4845MergeTrains::CreatePipelineService4846 #execute4847 when merge trains flag is disabled4848 behaves like returns an error4849 is expected to match /^merge trains is disabled/4850 when merge trains setting is disabled4851 behaves like returns an error4852 is expected to match /^merge trains is disabled/4853 when merge request is not on a merge train4854 behaves like returns an error4855 is expected to match /^merge request is not on a merge train/4856 when prepared merge ref successfully4857 when .gitlab-ci.yml has only: [merge_requests] specification4858 creates train ref4859 calls Ci::CreatePipelineService for creating pipeline on train ref4860 when previous_ref is a train ref4861 when previous_ref exists4862 creates train ref with the specified ref4863 when previous_ref does not exist4864 behaves like returns an error4865 is expected to match /^3:Invalid merge source/4866 when there is a conflict on merge ref creation4867 behaves like returns an error4868 is expected to match /^Failed to create merge commit/4869 when previous_ref is nil4870 behaves like returns an error4871 is expected to match /^previous ref is not specified/4872 when .gitlab-ci.yml does not have only: [merge_requests] specification4873 behaves like returns an error4874 is expected to match /^Pipeline will not run for the selected trigger. The rules configuration prevented any jobs from being added to the pipeline./4875 when failed to prepare merge ref4876 behaves like returns an error4877 is expected to match /^Merge ref was not found/4878GroupsWithTemplatesFinder4879 without group id4880 returns all groups4881 when namespace checked4882 returns groups on ultimate/premium plan4883 with subgroup with template4884 returns groups on ultimate/premium plan4885 with group id4886 returns given group with it descendants4887 with subgroup with template4888 returns only chosen group4889 when namespace checked4890 does not return the group4891 with subgroup with template4892 returns only chosen group4893 returns only chosen subgroup4894Security::StoreScanService4895 .execute4896 delegates the call to an instance of `Security::StoreScanService`4897 #execute4898 creates a succeeded security scan4899 setting the `created_at` attribute of security scan4900 sets the same `created_at` for security_scans as pipeline4901 setting the findings_partition_number4902 sets the correct value4903 when the `vulnerability_finding_signatures` licensed feature is available4904 calls `Security::OverrideUuidsService` with security report to re-calculate the finding UUIDs4905 when the `vulnerability_finding_signatures` licensed feature is not available4906 does not call `Security::OverrideUuidsService`4907 when the report has some errors4908 does not call the `Security::StoreFindingsService` and returns false4909 sets the status of the scan as `report_error`4910 when the report is produced by a failed job4911 does not call the `Security::StoreFindingsService` and sets the security scan as `job_failed`4912 when storing the findings raises an error4913 marks the security scan as `preparation_failed` and tracks the error4914 when the report is produced by a retried job4915 does not call the `Security::StoreFindingsService` and sets the security scan as non latest4916 when the report does not have any errors4917 calls the `Security::StoreFindingsService` to store findings4918 when the report has no warnings4919 does not store an empty array4920 when the report has some warnings4921 calls the `Security::StoreFindingsService` to store findings4922 stores the warnings4923 when the security scan already exists for the artifact4924 does not create a new security scan4925 when the `deduplicate` param is set as false4926 does not change the deduplicated flag of duplicated finding4927 does not change the deduplicated flag of unique finding4928 when the `deduplicate` param is set as true4929 when the `StoreFindingsService` returns success4930 does not run the re-deduplicate logic4931 when the `StoreFindingsService` returns error4932 does not change the deduplicated flag of duplicated finding from false4933 sets the deduplicated flag of unique finding as true4934 when the security scan does not exist for the artifact4935 creates a new security scan4936 when the `deduplicate` param is set as false4937 sets the deduplicated flag of duplicated finding as false4938 sets the deduplicated flag of unique finding as true4939 when the `deduplicate` param is set as true4940 sets the deduplicated flag of duplicated finding false4941 sets the deduplicated flag of unique finding as true4942ProjectImportData4943 validations4944 is expected to validate that :auth_method is either ‹"password"› or ‹"ssh_public_key"› as long as it is not nil4945 #ssh_key_auth?4946 import_url: "ssh://example.com", auth_method: "ssh_public_key", expected: true4947 is expected to eq true4948 import_url: "ssh://example.com", auth_method: "password", expected: false4949 is expected to eq false4950 import_url: "http://example.com", auth_method: "ssh_public_key", expected: false4951 is expected to eq false4952 import_url: "http://example.com", auth_method: "password", expected: false4953 is expected to eq false4954 #ssh_known_hosts_verified_by4955 is a user when ssh_known_hosts_verified_by_id is a valid id4956 is nil when ssh_known_hosts_verified_by_id is an invalid id4957 is nil when ssh_known_hosts_verified_by_id is nil4958 auth_method4959 returns 'password' when nil4960 returns 'password' when ""4961 credential fields accessors4962 auth_method accessor4963 sets the value in the credentials hash4964 sets a not-present value to nil4965 returns the data in the credentials hash4966 password accessor4967 sets the value in the credentials hash4968 sets a not-present value to nil4969 returns the data in the credentials hash4970 ssh_known_hosts accessor4971 sets the value in the credentials hash4972 sets a not-present value to nil4973 returns the data in the credentials hash4974 ssh_known_hosts_verified_at accessor4975 sets the value in the credentials hash4976 sets a not-present value to nil4977 returns the data in the credentials hash4978 ssh_known_hosts_verified_by_id accessor4979 sets the value in the credentials hash4980 sets a not-present value to nil4981 returns the data in the credentials hash4982 ssh_private_key accessor4983 sets the value in the credentials hash4984 sets a not-present value to nil4985 returns the data in the credentials hash4986 user accessor4987 sets the value in the credentials hash4988 sets a not-present value to nil4989 returns the data in the credentials hash4990 #ssh_mirror_url?4991 import_url: "ssh://example.com", expected: true4992 is expected to eq true4993 import_url: "git://example.com", expected: false4994 is expected to eq false4995 import_url: "http://example.com", expected: false4996 is expected to eq false4997 import_url: "https://example.com", expected: false4998 is expected to eq false4999 import_url: nil, expected: nil5000 is expected to eq nil5001 #ssh_known_hosts_fingerprints5002 defers to SshHostKey#fingerprint_host_keys5003 #ssh_public_key5004 no SSH key5005 is expected to be nil5006 with SSH key5007 returns the public counterpart of the SSH private key5008 #regenerate_ssh_private_key5009 auth_method is password5010 regenerates the SSH private key5011 auth_method is ssh_public_key5012 regenerates the SSH private key5013Mutations::Issues::SetEpic5014 #resolve5015 behaves like permission level for issue mutation is correctly verified5016 when the user is not a project member5017 behaves like when the user does not have access to the resource5018 raises an error5019 even if assigned to the issue5020 does not modify issue5021 even if author of the issue5022 does not modify issue5023 when the user is a project member5024 with guest role5025 behaves like when the user does not have access to the resource5026 raises an error5027 even if assigned to the issue5028 does not modify issue5029 even if author of the issue5030 does not modify issue5031 when the user can update the issue5032 when user can read epic5033 returns the issue with the epic5034 returns errors if issue could not be updated5035 when passing epic_id as nil5036 removes the epic5037 does not do anything if the issue already does not have a epic5038 when epic is confidential but issue is public5039 returns an error with appropriate message5040 with assigning epic error5041 returns an error with appropriate message5042 when user can not read epic5043 raises an error5044EE::Namespace::Storage::Notification5045 #show?5046 for a group5047 returns true if all conditions are met5048 when the user is not provided5049 is expected to equal false5050 when alert level is none5051 is expected to equal false5052 when not SaaS5053 is expected to equal false5054 when the user does not have at least maintainer access to the group5055 is expected to equal false5056 for repository limits5057 returns true if all conditions are met5058 when the user does not have at least owner access to the group5059 is expected to equal false5060 for personal namespace5061 when not SaaS5062 is expected to equal false5063 when the user is the owner of the context5064 is expected to equal true5065 when the user is not the owner of the context5066 is expected to equal false5067 for repository limits5068 when the user is the owner of the context5069 when the user does not have at least owner access to the context5070 is expected to equal false5071 for project5072 when the user have at least maintainer access to the project5073 is expected to equal true5074 when the user does not have at least maintainer access to the project5075 is expected to equal false5076 #payload5077 with repository usage5078 includes a usage_quotas help link5079 when additional_purchased_storage_size is 05080 returns proper usage_message5081 returns proper explanation_message5082 when additional_purchased_storage_size exists5083 returns usage_message when there is additional_purchased_storage_size5084 returns usage_message with singular version if its just 1 locked project5085 returns explanation_message when there is additional_purchased_storage_size5086 when under size limit5087 returns explanation_message with a warning5088 when namespace does not have locked projects5089 behaves like namespace usage_message5090 returns correct usage_message5091 with namespace usage5092 when above the limit5093 returns above the limit messages5094 behaves like namespace usage_message5095 returns correct usage_message5096 when below the limit5097 returns below the limit messages5098BlockingMergeRequestEntity5099 exposes simple attributes5100 serializes a blocking MR that lacks metrics5101 #head_pipeline5102 visible pipeline5103 is expected to include {:id => 254}5104 hidden pipeline5105 is expected to be nil5106 #reference5107 is expected to eq "!1"5108 from another project5109 includes the fully-qualified reference when needed5110SnippetsFinder5111 filter by project5112 returns all snippets for auditor users5113 filter by authorized snippet projects and authored personal5114 when no user5115 returns only public personal snippets5116 when user is not a member of any project5117 returns only user personal snippets5118 when the user is a member of a project5119 returns all the authorized project snippets and authored personal ones5120 returns all the authorized project snippets and authored personal ones5121 returns all the authorized project snippets and authored personal ones5122 returns all the authorized project snippets and authored personal ones5123 returns all the authorized project snippets and authored personal ones5124 returns all the authorized project snippets and authored personal ones5125 returns all the authorized project snippets and authored personal ones5126 returns all the authorized project snippets and authored personal ones5127 when user cannot read_cross_project5128 returns only user personal snippets5129 when the user is a member of a group5130 returns all the authorized project snippets and authored personal ones5131 returns all the authorized project snippets and authored personal ones5132 returns all the authorized project snippets and authored personal ones5133 returns all the authorized project snippets and authored personal ones5134 when param author is passed5135 when user is not a member of any project5136 returns only the author visible personal snippets to the user5137 when user is a member of a project5138 returns all the authorized project and personal snippets authored by the author5139 returns all the authorized project and personal snippets authored by the author5140 returns all the authorized project and personal snippets authored by the author5141 returns all the authorized project and personal snippets authored by the author5142 when only_personal is passed5143 returns only personal snippets5144 when only_project is passed5145 returns only project snippets5146 when no personal snippets are visible5147 does not return any record5148GroupSamlGroupSyncWorker5149 #perform5150 when the group does not have group_saml_group_sync feature licensed5151 does not call the sync service5152 when the group has group_saml_group_sync feature licensed5153 when SAML is not enabled5154 does not call the sync service5155 when SAML is enabled5156 calls the sync service with the group links5157 does not call the sync service when the user does not exist5158 includes groups with links in manage_group_ids5159 default membership5160 when group link ids do not include the top level group5161 does not pass the top level group to the sync service as group to manage5162 retains user default membership role5163 does not update the membership role when it does not deviate from the default5164 when the member is the last owner5165 does not update the member when the member is the last owner5166 when the membership role deviates from the default5167 reverts to the default membership role5168 does not update the default membership when the top level group has no group links5169 when group link ids include the top level group5170 does not revert to the default membership role5171 when a group link falls outside the top-level group5172 drops group links outside the top level group5173 with a group in the hierarchy that has no group links5174 is not included in manage_group_ids5175 when the worker receives no group link ids5176 calls the sync service, updates default membership and removes existing users5177ComplianceManagement::MergeRequests::ComplianceViolationsFinder5178 #execute5179 when the user is unauthorized5180 returns nil5181 when the user is authorized5182 without any filters or sorting5183 finds all the compliance violations5184 filtering the results5185 when given an array of project IDs5186 finds the filtered compliance violations5187 when given merged at dates5188 merged_params: {:merged_before=>Tue, 28 Mar 2023 11:41:23.012151836 UTC +00:00}, result: lazy { compliance_violation }5189 finds the filtered compliance violations5190 merged_params: {:merged_after=>Tue, 28 Mar 2023 11:41:23.012590876 UTC +00:00}, result: lazy { compliance_violation2 }5191 finds the filtered compliance violations5192 merged_params: {:merged_before=>Thu, 30 Mar 2023, :merged_after=>Tue, 28 Mar 2023 11:41:23.012880766 UTC +00:00}, result: lazy { compliance_violation2 }5193 finds the filtered compliance violations5194 sorting the results5195 direction: "SEVERITY_LEVEL_ASC", result: lazy { [compliance_violation, compliance_violation2] }5196 finds the filtered compliance violations5197 direction: "SEVERITY_LEVEL_DESC", result: lazy { [compliance_violation2, compliance_violation] }5198 finds the filtered compliance violations5199 direction: "VIOLATION_REASON_ASC", result: lazy { [compliance_violation, compliance_violation2] }5200 finds the filtered compliance violations5201 direction: "VIOLATION_REASON_DESC", result: lazy { [compliance_violation2, compliance_violation] }5202 finds the filtered compliance violations5203 direction: "MERGE_REQUEST_TITLE_ASC", result: lazy { [compliance_violation, compliance_violation2] }5204 finds the filtered compliance violations5205 direction: "MERGE_REQUEST_TITLE_DESC", result: lazy { [compliance_violation2, compliance_violation] }5206 finds the filtered compliance violations5207 direction: "MERGED_AT_ASC", result: lazy { [compliance_violation, compliance_violation2] }5208 finds the filtered compliance violations5209 direction: "MERGED_AT_DESC", result: lazy { [compliance_violation2, compliance_violation] }5210 finds the filtered compliance violations5211 direction: "UNKNOWN_SORT", result: lazy { [compliance_violation, compliance_violation2] }5212 finds the filtered compliance violations5213IncidentManagement::OncallRotation5214 # order random5215 .validations5216 is expected to validate that :name cannot be empty/falsy5217 is expected to validate that the length of :name is at most 2005218 is expected to validate that :name is case-sensitively unique within the scope of :oncall_schedule_id5219 is expected to validate that :starts_at cannot be empty/falsy5220 is expected to validate that :length cannot be empty/falsy5221 is expected to validate that :length looks like a number5222 is expected to validate that :length_unit cannot be empty/falsy5223 when the oncall rotation with the same name exists5224 has validation errors5225 with ends_at5226 is expected to be valid5227 with ends_at before starts_at5228 has validation errors5229 active period start/end time5230 missing values5231 start time set5232 is expected to validate that :active_period_end cannot be empty/falsy5233 end time set5234 is expected to validate that :active_period_start cannot be empty/falsy5235 hourly shifts5236 raises a validation error if an active period is set5237 .associations5238 is expected to belong to schedule class_name => OncallSchedule required: false inverse_of => rotations5239 is expected to have many participants class_name => OncallParticipant order => {:id=>:asc} inverse_of => rotation5240 is expected to have many active_participants class_name => OncallParticipant order => {:id=>:asc} inverse_of => rotation5241 is expected to have many users through participants5242 is expected to have many participating_users through active_participants source => user5243 is expected to have many shifts class_name => OncallShift inverse_of => rotation5244 .active_participants5245 is expected to contain exactly #<IncidentManagement::OncallParticipant id: 1, oncall_rotation_id: 3, user_id: 1881, color_palette: "blue", color_weight: "50", is_removed: false>5246 #shifts_per_cycle5247 when no shift active period set up5248 is expected to eq 15249 when hours5250 is expected to eq 15251 with shift active periods5252 weeks length unit5253 is expected to eq 355254 days length unit5255 is expected to eq 55256 .for_project5257 is expected to contain exactly #<IncidentManagement::OncallRotation id: 8, created_at: "2023-03-30 12:07:02.205014726 +0000", update...+0000", name: "On-call Rotation #8", ends_at: nil, active_period_start: nil, active_period_end: nil>5258 #shift_cycle_duration5259 is expected to eq 5 days5260 with a length unit of hours5261 is expected to be a kind of ActiveSupport::Duration5262 with a length unit of days5263 is expected to be a kind of ActiveSupport::Duration5264 with a length unit of weeks5265 is expected to be a kind of ActiveSupport::Duration5266 scopes5267 .in_progress5268 is expected to contain exactly #<IncidentManagement::OncallRotation id: 11, created_at: "2023-03-30 12:07:02.703002082 +0000", updat...0000", name: "On-call Rotation #14", ends_at: nil, active_period_start: nil, active_period_end: nil> and #<IncidentManagement::OncallRotation id: 12, created_at: "2023-03-30 12:07:02.708706741 +0000", updat...0000", name: "On-call Rotation #15", ends_at: nil, active_period_start: nil, active_period_end: nil>5269 .with_active_period5270 is expected to be empty5271 rotation has active period5272 is expected to contain exactly #<IncidentManagement::OncallRotation id: 15, created_at: "2023-03-30 12:07:02.851704978 +0000", updat...rt: "2000-01-01 08:00:00.000000000 +0000", active_period_end: "2000-01-01 17:00:00.000000000 +0000">5273Security::TrainingUrlsFinder5274 no identifier with cwe external type5275 returns empty list5276 identifiers with cwe external type5277 when there is no training provider enabled for project5278 returns empty list5279 when there is training provider enabled for project5280 calls Security::TrainingProviders::KontraUrlFinder#execute5281 when training url has been reactively cached5282 returns training urls list with status completed5283 when a filename with extension .jsp is provided5284 requests urls with the language java5285 when a filename with extension .jspx is provided5286 requests urls with the language java5287 when a filename with extension .py is provided5288 requests urls with the language python5289 when a filename with extension .scala is provided5290 requests urls with the language scala5291 when a filename with extension .sc is provided5292 requests urls with the language scala5293 when a filename with extension .js is provided5294 requests urls with the language javascript5295 when a filename with extension .ts is provided5296 requests urls with the language typescript5297 when a filename with extension .php is provided5298 requests urls with the language php5299 when a filename with extension .rb is provided5300 requests urls with the language ruby5301 when a filename with extension .go is provided5302 requests urls with the language go5303 when a filename with extension .kt is provided5304 requests urls with the language kotlin5305 when a filename with extension .kts is provided5306 requests urls with the language kotlin5307 when a filename with extension .ktm is provided5308 requests urls with the language kotlin5309 when a filename with extension .cs is provided5310 requests urls with the language csharp5311 when training url has not yet been reactively cached5312 returns training urls list with status pending5313 when a filename is provided5314 returns training urls list with status pending5315 when training urls finder returns nil url5316 returns empty list when training urls finder returns nil5317 when sub class in not defined for provider5318 returns empty list5319ProtectedEnvironments::UpdateService#execute5320 with valid params5321 is expected to be truthy5322 updates the deploy access levels5323 with invalid params5324 is expected to be falsy5325 does not update the deploy access levels5326 multiple deploy access levels5327 behaves like invalid multiple deployment access levels5328 does not create deploy access level5329 deploy access level by group5330 behaves like invalid protected environment group5331 does not create deploy access level5332 behaves like valid protected environment group5333 creates deploy access level5334 deploy access level by user5335 behaves like invalid protected environment user5336 does not create deploy access level5337 behaves like valid protected environment user5338 creates deploy access level5339ApprovalRules::MergeRequestRuleDestroyService5340 user cannot edit approval rule5341 returns error status5342 user can edit approval rule5343 when rule successfully deleted5344 returns successful status5345 tracks delete event via a usage counter5346 when rule not successfully deleted5347 returns error status5348 does not track delete event via a usage counter5349Iterations::CreateService5350 for groups5351 group without cadences5352 behaves like iterations create service5353 iterations feature enabled5354 #execute5355 valid params5356 creates an iteration5357 invalid params5358 does not create an iteration but returns errors5359 when a non-existing iterations cadence id is given5360 returns an error5361 no permissions5362 is not allowed5363 iterations feature disabled5364 #execute5365 is not allowed5366 group with a cadence5367 behaves like iterations create service5368 iterations feature enabled5369 #execute5370 valid params5371 creates an iteration5372 invalid params5373 does not create an iteration but returns errors5374 when a non-existing iterations cadence id is given5375 returns an error5376 no permissions5377 is not allowed5378 iterations feature disabled5379 #execute5380 is not allowed5381 group with multiple cadences5382 behaves like iterations create service5383 iterations feature enabled5384 #execute5385 valid params5386 creates an iteration5387 invalid params5388 does not create an iteration but returns errors5389 when a non-existing iterations cadence id is given5390 returns an error5391 no permissions5392 is not allowed5393 iterations feature disabled5394 #execute5395 is not allowed5396 with specific cadence being passed as param5397 when the passed cadence uses automatic scheduling5398 raises an error5399 when the passed cadence uses manual scheduling5400 creates an iteration5401Todos::Destroy::ConfidentialEpicService5402 #execute5403 removes epic todos for users who can not access the confidential epic5404 when provided epic is not confidential5405 does not remove any todos5406Gitlab::GroupSearchResults5407 #epics5408 searching5409 finds epics5410 ordering5411 sort: created_desc5412 sorts results by created_at5413 sort: created_asc5414 sorts results by created_at5415 sort: updated_desc5416 sorts results by updated_desc5417 sort: updated_asc5418 sorts results by updated_asc5419IncidentManagement::PendingEscalations::Issue5420 # order random5421 shared pending escalation features5422 is expected to be valid5423 validations5424 is expected to validate that :process_at cannot be empty/falsy5425 is expected to validate that :rule_id cannot be empty/falsy5426 is expected to delegate #project to the #issue object5427 is expected to validate that :rule_id is case-sensitively unique within the scope of :issue_id5428 associations5429 is expected to belong to issue required: false5430 is expected to belong to rule required: false5431 scopes5432 with escalations scheduled for various times5433 .processable5434 is expected to contain exactly #<IncidentManagement::PendingEscalations::Issue id: 4, rule_id: 5, issue_id: 176, process_at: "2023-0...reated_at: "2023-03-30 12:07:37.145299672 +0000", updated_at: "2023-03-30 12:07:37.145299672 +0000"> and #<IncidentManagement::PendingEscalations::Issue id: 5, rule_id: 5, issue_id: 177, process_at: "2023-0...reated_at: "2023-03-30 12:07:37.205498106 +0000", updated_at: "2023-03-30 12:07:37.205498106 +0000">5435 .upcoming5436 is expected to contain exactly #<IncidentManagement::PendingEscalations::Issue id: 4, rule_id: 5, issue_id: 176, process_at: "2023-0...reated_at: "2023-03-30 12:07:37.145299672 +0000", updated_at: "2023-03-30 12:07:37.145299672 +0000">, #<IncidentManagement::PendingEscalations::Issue id: 5, rule_id: 5, issue_id: 177, process_at: "2023-0...reated_at: "2023-03-30 12:07:37.205498106 +0000", updated_at: "2023-03-30 12:07:37.205498106 +0000">, and #<IncidentManagement::PendingEscalations::Issue id: 6, rule_id: 5, issue_id: 178, process_at: "2023-0...reated_at: "2023-03-30 12:07:37.265902861 +0000", updated_at: "2023-03-30 12:07:37.265902861 +0000">5437 .for_target5438 is expected to contain exactly #<IncidentManagement::PendingEscalations::Issue id: 8, rule_id: 7, issue_id: 180, process_at: "2023-0...reated_at: "2023-03-30 12:07:37.766548336 +0000", updated_at: "2023-03-30 12:07:37.766548336 +0000">5439 .delete_by_target5440 removes the escalations for the provided target(s)5441 .class_for_check_worker5442 is expected to eq IncidentManagement::PendingEscalations::IssueCheckWorker5443 #type5444 is expected to eq :incident5445 #escalatable5446 is expected to eq #<IncidentManagement::IssuableEscalationStatus id: 1, created_at: "2023-03-30 12:07:38.332496916 +000...916 +0000", issue_id: 173, policy_id: nil, escalations_started_at: nil, resolved_at: nil, status: 0>5447Mutations::Projects::SetLocked5448 #resolve5449 raises an error if the resource is not accessible to the user5450 when the user can lock the file5451 when file_locks feature is not available5452 raises an error5453 when file is not locked5454 sets path locks for the project5455 when file is already locked5456 does not change the lock5457 when LFS is enabled5458 locks the file in LFS5459 when file is not tracked in LFS5460 does not lock the file5461 when locking a directory5462 locks the directory5463 does not locks the directory through LFS5464 when the user can unlock the file5465 when file is already locked by the same user5466 unlocks the file5467 when file is already locked by somebody else5468 returns an error5469 when file is not locked5470 does nothing5471 when LFS is enabled5472 when file is locked5473 unlocks the file5474 unlocks the file in LFS5475 when file is not tracked in LFS5476 does not unlock the file5477 when unlocking a directory5478 unlocks the directory5479 does not call the LFS unlock service5480Dashboard::Projects::CreateService5481 #execute5482 with projects5483 with integer id5484 adds a project5485 with string id5486 adds a project5487 with a project that does not exist5488 does not add a not found project5489 when feature name is provided5490 with project without provided feature enabled5491 checks if feature is available5492 does not check if user has access to the project with given ability5493 does not add a not licensed project5494 when ability name is provided5495 with project for which user has no permission5496 does not check if feature is available5497 checks if user has access to the project with given ability5498 does not add a not licensed project5499 with repeating project id5500 adds a project only once5501 with already added project5502 does not add duplicates5503Gitlab::Elastic::Client5504 .build5505 without credentials5506 makes unsigned requests5507 does not set request timeout in transport5508 does not set log & debug flags by default5509 sets log & debug flags if .debug? is true5510 with typhoeus adapter for keep-alive connections5511 sets typhoeus as the adapter5512 when use_typhoeus_elasticsearch_adapter FeatureFlag is disabled5513 uses the net/http adapter5514 cached client when FeatureFlag changes5515 successfully changes adapter from net/http to typhoeus5516 with client_request_timeout in config5517 sets request timeout in transport5518 with retry_on_failure5519 retry_on_failure: nil, client_retry: 05520 sets retry in transport5521 retry_on_failure: false, client_retry: 05522 sets retry in transport5523 retry_on_failure: true, client_retry: true5524 sets retry in transport5525 retry_on_failure: 10, client_retry: 105526 sets retry in transport5527 with AWS IAM static credentials5528 signs_requests5529 .resolve_aws_credentials5530 when the AWS IAM static credentials are valid5531 returns credentials from static credentials without making an HTTP request5532 when the AWS IAM static credentials are invalid5533 when aws sdk provides credentials5534 return the credentials5535 when aws sdk does not provide credentials5536 return the credentials5537 when Aws::CredentialProviderChain returns unset credentials5538 returns nil5539 .aws_credential_provider5540 when Aws::CredentialProviderChain returns set credentials5541 returns credentials5542 when Aws::CredentialProviderChain returns nil5543 returns nil5544 .debug?5545 dev_or_test_env: false, env_variable: "true", expected_result: false5546 returns expected result5547 dev_or_test_env: false, env_variable: "false", expected_result: false5548 returns expected result5549 dev_or_test_env: true, env_variable: "false", expected_result: false5550 returns expected result5551 dev_or_test_env: true, env_variable: "true", expected_result: true5552 returns expected result5553Projects::Prometheus::Alerts::NotifyService5554 with valid payload5555 with environment specific clusters5556 without token5557 creates alerts and returns them in the payload5558 behaves like processes incident issues5559 is expected to be success5560 behaves like sends alert notification emails5561 is expected to receive prometheus_alerts_fired(*(any args)) 1 time5562 with token5563 behaves like alerts service responds with an error5564 is expected to eq :unauthorized5565Resolvers::Geo::SnippetRepositoryRegistriesResolver5566 behaves like a Geo registries resolver5567 #resolve5568 when the parent object is the current node5569 when the user has permission to view Geo data5570 when admin mode is enabled5571 when the ids argument is null5572 returns registries, in order5573 when the ids argument is present5574 returns the requested registries, in order5575 when the replication_state argument is present5576 returns registries with requested replication state, in order5577 with verification enabled5578 when the verification_state argument is present5579 returns registries with requested verification state, in order5580 with verification disabled5581 when the verification_state argument is present5582 raises ArgumentError (PENDING: Skipping because verification is enabled for SnippetRepository)5583 when admin mode is disabled5584 returns nothing5585 when the user does not have permission to view Geo data5586 returns nothing5587 when the parent object is not the current node5588 when the user has permission to view Geo data5589 returns nothing, because we can't query other nodes' tracking databases5590Boards::EpicBoards::CreateService5591 create epic board5592 behaves like create a board5593 with valid params5594 creates a new board5595 returns a successful response5596 creates the default lists5597 with invalid params5598 does not create a new parent board5599 returns an error response5600 does not create board's default lists5601 without params5602 creates a new parent board5603 returns a successful response5604 creates board's default lists5605 when logged in5606 tracks epic board creation5607 when not logged in5608 tracks epic board creation5609Quality::Seeders::Vulnerabilities5610 # order random5611 when project has members5612.............................. creates expected number of vulnerabilities5613 when project has no members5614Skipping this project because it has no users does not create vulnerabilities on project5615AppSec::Dast::ScannerProfiles::DestroyService5616 #execute5617 when a user does not have access to the project5618 returns an error status5619 populates message5620 when the user can run a DAST scan5621 returns a success status5622 deletes the dast_scanner_profile5623 returns a dast_scanner_profile payload5624 audits the deletion5625 when the dast_scanner_profile doesn't exist5626 returns an error status5627 populates message5628 when on demand scan licensed feature is not available5629 returns an error status5630 populates message5631 when project has security policies enabled5632 when there is no policy that is referencing the profile5633 returns a success status5634 when there is a policy that is referencing the profile5635 returns an error status5636 populates message5637Iterations::RollOverIssuesWorker5638 is labeled as idempotent5639 performs multiple times sequentially without raising an exception5640 #perform5641 when iteration cadence is not automatic5642 exits early5643 when roll-over option on iteration cadence is not enabled5644 exits early5645 when roll-over option on iteration cadence is enabled5646 avoids N+1 database queries5647 when service fails to create upcoming iteration5648 logs error5649 when cadence has upcoming iteration5650 filters out any iterations that are not closed5651 when cadence does not have upcoming iteration5652 creates a new iteration to roll-over issues5653 when service fails to create upcoming iteration5654 logs error and exits early5655 with batches5656 run in batches5657shared/mirror_update_button5658 renders a notification if the last update succeeded5659 renders no notification if the last update did not succeed5660 renders nothing if the user can't push code5661 mirror update can be triggered5662 user is owner5663 renders a working update button5664 user is developer5665 renders a disabled update button5666 user is anonymous5667 renders nothing5668 mirror update due5669 renders a disabled update button5670 mirror is currently updating5671 renders a disabled update button5672 project is not a mirror5673 renders nothing5674AppSec::Dast::SiteProfiles::DestroyService5675 #execute5676 when a user does not have access to the project5677 returns an error status5678 populates message5679 when the user can run a DAST scan5680 returns a success status5681 deletes the dast_site_profile5682 returns a dast_site_profile payload5683 audits the deletion5684 when the dast_site_profile does not exist5685 returns an error status5686 populates message5687 when on demand scan licensed feature is not available5688 returns an error status5689 populates message5690 when project has security policies enabled5691 when there is no policy that is referencing the profile5692 returns a success status5693 when there is a policy that is referencing the profile5694 returns an error status5695 populates message5696IncidentManagement::EscalationPoliciesFinder5697 # order random5698 #execute5699 when feature is available5700 when user has permissions5701 returns project escalation policies5702 when id given5703 is expected to contain exactly #<IncidentManagement::EscalationPolicy id: 6, project_id: 1097, name: "unique identifier", description: [FILTERED]>5704 when exact_name is given5705 is expected to contain exactly #<IncidentManagement::EscalationPolicy id: 6, project_id: 1097, name: "unique identifier", description: [FILTERED]>5706 when the name does not match5707 is expected to eq #<ActiveRecord::Relation []>5708 when search_name is given5709 is expected to contain exactly #<IncidentManagement::EscalationPolicy id: 6, project_id: 1097, name: "unique identifier", description: [FILTERED]>5710 when the name does not match5711 is expected to eq #<ActiveRecord::Relation []>5712 when no params are given5713 is expected to contain exactly #<IncidentManagement::EscalationPolicy id: 6, project_id: 1097, name: "unique identifier", description: [FILTERED]>5714 when user has no permissions5715 is expected to eq #<ActiveRecord::Relation []>5716 when feature is not avaiable5717 is expected to eq #<ActiveRecord::Relation []>5718EE-specific user routing5719 devise_for users scope5720 defines regular and Geo routes5721 when a Geo secondary, checked without a database connection5722 behaves like routes session paths5723 handles regular named route helpers5724 Geo database is configured5725 behaves like routes session paths5726 handles geo named route helpers5727DAST-API.gitlab-ci.yml5728 is expected not to be nil5729 the template file5730 uses the production repository5731 doesn't use the staging repository5732 the created pipeline5733 when no stages5734 when project has no stages5735 includes no jobs5736 when stages includes dast5737 when project has no license5738 includes job to display error5739 when project has Ultimate license5740 by default5741 includes a job5742 when DAST_API_DISABLED=15743 includes no jobs5744 when CI_GITLAB_FIPS_MODE=false5745 sets DAST_API_IMAGE_SUFFIX to ""5746 when CI_GITLAB_FIPS_MODE=true5747 sets DAST_API_IMAGE_SUFFIX to "-fips"5748projects/project_members/index5749 # order random5750 when user can not invite members or group for the project5751 when membership is locked and project can not be shared5752 renders as expected5753 when user can invite members for the project5754 when membership is locked5755 renders as expected5756 when project can not be shared5757 renders as expected5758 when managing members text is present5759 renders as expected5760Geo::ContainerRepositorySyncService5761 lease handling5762 returns the lease when sync succeeds5763 returns the lease when sync fails5764 skips syncing repositories if cannot obtain a lease5765 #execute5766 fails registry record if there was exception5767 finishes registry record if there was no exception5768 finishes registry record if there was no exception and registy does not exist5769 reschedules sync due to race condition instead of waiting for backfill5770 #mark_sync_as_successful5771 when UpdatedEvent was processed during a sync5772 reschedules the sync5773Mutations::Issues::PromoteToEpic5774 #resolve5775 raises an error if the resource is not accessible to the user5776 when issue is accessible to the user5777 when the user cannot promote the issue5778 returns the issue and the errors5779 when the user can promote the issue5780 behaves like successfully promotes issue to epic5781 returns the issue and the epic5782 when destination group does not exist5783 raises an error if the resource is not accessible to the user5784Analytics::CycleAnalytics::ValueStreams::UpdateService5785 behaves like common value stream service examples5786 when the user has no permission5787 returns error5788 when the license is missing5789 returns error5790 when the feature is available5791 when empty stages are given5792 removes the stages5793 updating one stage within a value stream5794 updates the stage5795 relative positioning5796 calculates and sets relative_position for the stages based on the incoming stages array5797 when the params are invalid5798 returns error5799 adding a new stage within a value stream5800 creates the stage5801 when adding a default stage5802 creates the stage5803 when removing a stage and adding a new stage5804 creates the stage5805Ci::JobArtifacts::DestroyBatchService5806 .execute5807 destroys all expired artifacts5808 publishes Ci::JobArtifactsDeletedEvent5809 with Geo replication5810 creates an Geo::EventLog5811 JobArtifact batch destroy fails5812 does not create a JobArtifactDeletedEvent5813IncidentManagement::EscalationPolicies::CreateService5814 # order random5815 #execute5816 when user does not have access5817 behaves like error response5818 does not save the policy and has an informative message5819 when license is not enabled5820 behaves like error response5821 does not save the policy and has an informative message5822 validation errors5823 validation error in policy5824 behaves like error response5825 does not save the policy and has an informative message5826 no rules are given5827 behaves like error response5828 does not save the policy and has an informative message5829 too many rules are given5830 behaves like error response5831 does not save the policy and has an informative message5832 oncall schedule is on the wrong project5833 behaves like error response5834 does not save the policy and has an informative message5835 user for rule does not have project access5836 behaves like error response5837 does not save the policy and has an informative message5838 project has an existing escalation policy5839 behaves like error response5840 does not save the policy and has an informative message5841 valid params5842 creates the policy and rules5843 for a user-based escalation rule5844 creates the policy and rules5845DependencyListEntity5846 behaves like report list5847 #as_json5848 with success build5849 with provided items5850 has array of items with status ok5851 with no items5852 has empty array of items with status no_items5853 with failed build5854 with authorized user5855 has job_path with status failed_job5856 without authorized user5857 has only status failed_job5858 with no build5859 has status job_not_set_up and no job_path5860WorkItems::Widgets::ProgressService::UpdateService5861 # order random5862 #before_update_in_transaction5863 when progress feature is licensed5864 when user cannot update work item5865 behaves like work item and progress is unchanged5866 does not change work item progress value5867 does not create notes5868 when user can update work item5869 when progress param is present5870 when progress param is valid5871 behaves like progress is updated5872 updates work item progress value5873 creates notes5874 when widget does not exist in new type5875 removes the work item's progress5876 when progress param is invalid5877 if progress is greater than 1005878 behaves like raises a WidgetError5879 is expected to raise WorkItems::Widgets::BaseService::WidgetError with "Progress must be less than or equal to 100"5880 if progress is less than 05881 behaves like raises a WidgetError5882 is expected to raise WorkItems::Widgets::BaseService::WidgetError with "Progress must be greater than or equal to 0"5883 when progress param is not present5884 behaves like work item and progress is unchanged5885 does not change work item progress value5886 does not create notes5887 when progress is same as current value5888 behaves like work item and progress is unchanged5889 does not change work item progress value5890 does not create notes5891 when progress param is nil5892 behaves like raises a WidgetError5893 is expected to raise WorkItems::Widgets::BaseService::WidgetError with "Progress is not a number"5894Types::Ci::PipelineType5895 is expected to eq "Pipeline"5896 includes the ee specific fields5897 security_report_finding5898 when no security findings exist for the pipeline5899 returns null5900 when security findings exist for the pipeline5901 when the specified security finding is not found for the pipeline5902 returns null5903 when the security finding is found5904 returns the security finding5905ProjectsFinder5906 #execute5907 filter by plans5908 with ultimate plan5909 is expected to contain exactly #<Project id:1128 namespace1189/project1202>> and #<Project id:1129 namespace1190/project1203>>5910 with multiple plans5911 is expected to contain exactly #<Project id:1128 namespace1189/project1202>>, #<Project id:1129 namespace1190/project1203>>, and #<Project id:1130 namespace1191/project1204>>5912 with other plans5913 is expected to be empty5914 without plans5915 is expected to contain exactly #<Project id:1128 namespace1189/project1202>>, #<Project id:1129 namespace1190/project1203>>, #<Project id:1130 namespace1191/project1204>>, and #<Project id:1131 namespace1192/project1205>>5916 with empty plans5917 is expected to contain exactly #<Project id:1128 namespace1189/project1202>>, #<Project id:1129 namespace1190/project1203>>, #<Project id:1130 namespace1191/project1204>>, and #<Project id:1131 namespace1192/project1205>>5918 filter by aimed for deletion5919 is expected to contain exactly #<Project id:1132 namespace1193/project1206>>5920 filter by not aimed for deletion5921 is expected to contain exactly #<Project id:1128 namespace1189/project1202>>, #<Project id:1129 namespace1190/project1203>>, #<Project id:1130 namespace1191/project1204>>, and #<Project id:1131 namespace1192/project1205>>5922 filter by hidden5923 when include hidden is true5924 is expected to contain exactly #<Project id:1128 namespace1189/project1202>>, #<Project id:1129 namespace1190/project1203>>, #<Project id:1130 namespace1191/project1204>>, #<Project id:1131 namespace1192/project1205>>, and #<Project id:1136 namespace1197/project1210>>5925 when include hidden is false5926 is expected to contain exactly #<Project id:1128 namespace1189/project1202>>, #<Project id:1129 namespace1190/project1203>>, #<Project id:1130 namespace1191/project1204>>, and #<Project id:1131 namespace1192/project1205>>5927Groups::RepositoryStorageMove5928 behaves like handles repository moves5929 associations5930 is expected to belong to container required: false5931 validations5932 is expected to validate that :container cannot be empty/falsy5933 is expected to validate that :state cannot be empty/falsy5934 is expected to validate that :source_storage_name cannot be empty/falsy5935 is expected to validate that :destination_storage_name cannot be empty/falsy5936 source_storage_name inclusion5937 does not allow repository storages that don't match a label in the configuration5938 destination_storage_name inclusion5939 does not allow repository storages that don't match a label in the configuration5940 container repository read-only5941 does not allow the container to be read-only on create5942 defaults5943 destination_storage_name5944 can pick new storage5945 state transitions5946 when in the default state5947 and transits to scheduled5948 triggers the corresponding repository storage worker5949 when the transition fails5950 does not trigger the corresponding repository storage worker and adds an error5951 and transits to started5952 does not allow the transition5953 when started5954 and transits to replicated5955 marks the container as writable5956 updates the updated_at column of the container5957 and transits to failed5958 marks the container as writable5959Vulnerabilities::ExternalIssueLink5960 associations and fields5961 is expected to belong to vulnerability required: false5962 is expected to define :link_type as an enum backed by an integer with values ‹{created: 1}›5963 provides the "created" as default link_type5964 validations5965 is expected to validate that :vulnerability cannot be empty/falsy5966 is expected to validate that :external_issue_key cannot be empty/falsy5967 is expected to validate that :external_project_key cannot be empty/falsy5968 is expected to validate that :external_type cannot be empty/falsy5969 uniqueness5970 is expected to validate that :external_issue_key is case-sensitively unique within the scope of :vulnerability_id, :external_type, and :external_project_key, producing a custom validation error on failure5971 only one "created" link allowed per vulnerability5972 is expected to validate that :vulnerability_id is case-sensitively unique, producing a custom validation error on failure5973 created_for_vulnerability5974 gets external issue links for the specified vulnerability5975Mutations::DastSiteProfiles::Update5976 is expected to require graphql authorizations :create_on_demand_dast_scan5977 #resolve5978 when on demand scan feature is enabled5979 when the user can run a dast scan5980 calls the dast_site_profile update service5981 updates the dast_site_profile5982 returns the complete dast_site_profile5983 when secret variables already exist5984 when the arguments are omitted5985 does not delete the secret variable5986 when the arguments are empty strings5987 deletes secret variables5988 when variable creation fails5989 returns an error and the dast_site_profile5990Geo::ReplicableModel5991-- create_table(:_test_dummy_models, {:force=>true})5992 -> 0.0049s5993 behaves like a replicable model5994 invokes replicator.handle_after_create_commit on create5995 #replicator5996 is defined and does not raise error5997 .replicables_for_current_secondary5998 when syncing object storage is enabled5999 behaves like is implemented and returns a valid relation6000 is implemented6001 when syncing object storage is disabled6002 behaves like is implemented and returns a valid relation6003 is implemented6004 with selective sync disabled6005 behaves like is implemented and returns a valid relation6006 is implemented6007 with selective sync enabled for namespaces6008 behaves like is implemented and returns a valid relation6009 is implemented6010 with selective sync enabled for shards6011 behaves like is implemented and returns a valid relation6012 is implemented6013 #geo_create_event!6014 when the replicator raises an error6015 saves the model6016 after_destroy hook6017 when the replicator raises an error6018 destroys the model6019 .verifiables6020 when the model can be filtered by locally stored files6021 filters by locally stored files6022 when the model cannot be filtered by locally stored files6023 does not filter by locally stored files6024 #in_replicables_for_current_secondary?6025 reuses replicables_for_current_secondary6026-- drop_table(:_test_dummy_models, {:force=>true})6027 -> 0.0023s6028Projects::Alerting::NotifyService6029 #execute6030 existing alert with same payload fingerprint6031 generic fingerprinting license not enabled6032 creates AlertManagement::Alert6033 does not increment the existing alert count6034 generic fingerprinting license enabled6035 does not create AlertManagement::Alert6036 increments the existing alert count6037 end_time provided for subsequent alert6038 does not create AlertManagement::Alert6039 resolves the existing alert6040 with escalation policies feature not enabled6041 behaves like does not create or delete any escalations6042 is expected to not change `IncidentManagement::PendingEscalations::Alert.count` and not change `IncidentManagement::PendingEscalations::Issue.count`6043 with escalation policies feature enabled6044 is expected to receive perform_async(a kind of Integer) 1 time6045 existing alert with same payload fingerprint6046 behaves like does not create or delete any escalations6047 is expected to not change `IncidentManagement::PendingEscalations::Alert.count` and not change `IncidentManagement::PendingEscalations::Issue.count`6048 with resolving payload6049 is expected to change `target.pending_escalations.reload.count` from 1 to 06050PackageMetadata::SyncService6051 # order random6052 .execute6053 when stop_signal.stop? is false6054 creates an instance and calls execute6055 when stop_signal.stop? is true6056 does not proceed6057 #execute6058 when checkpoint exists6059 updates the checkpoint to the last returned file6060 behaves like it syncs imported data6061 calls connector with the correct checkpoint6062 calls ingestion service to store the data6063 throttles calls to ingestion service after each ingested slice6064 when checkpoint does not exist6065 stores the last returned file in a new checkpoint6066 behaves like it syncs imported data6067 calls connector with the correct checkpoint6068 calls ingestion service to store the data6069 throttles calls to ingestion service after each ingested slice6070 when an error occurs during execution6071 does not update the checkpoint so as not to skip the errored file6072 when signal_stop.stop? is true6073 terminates after checkpointing6074 .connector_for6075 with a supported storage type6076 and it is gcp6077 is expected to be a kind of Gitlab::PackageMetadata::Connector::Gcp6078 and it is offline6079 is expected to be a kind of Gitlab::PackageMetadata::Connector::Offline6080 with an unknown storage type6081 raises an error6082TwoFactor::DestroyService6083 when current user is a group owner6084 when unlicensed6085 does not track audit event6086 when licensed6087 creates an audit event6088 when user is not provisioned by current group6089 behaves like throws unauthorized error6090 returns error6091 when group is non root6092 behaves like throws unauthorized error6093 returns error6094 when user is not provisioned by group6095 behaves like throws unauthorized error6096 returns error6097 when user is not a group owner6098 behaves like throws unauthorized error6099 returns error6100 when group is nil6101 behaves like throws unauthorized error6102 returns error6103 when user passed is nil6104 behaves like throws unauthorized error6105 returns error6106 when disabling two-factor authentication fails6107 does not create an audit event6108ResourceEvents::ChangeIterationService6109 behaves like timebox(milestone or iteration) resource events creator6110 when milestone/iteration is added6111 creates the expected event record6112 when milestone/iteration is removed6113 creates the expected event records6114 behaves like timebox(milestone or iteration) resource events creator6115 when milestone/iteration is added6116 creates the expected event record6117 when milestone/iteration is removed6118 creates the expected event records6119 events tracking6120 when the resource is a work item6121 tracks work item usage data counters6122 when the resource is not a work item6123 does not track work item usage data counters6124Key6125 validations6126 expiration6127 key: #<Key id: nil, user_id: nil, created_at: nil, updated_at: nil, key: [FILTERED], title: [FILTERED], type: nil, fingerprint: nil, public: false, last_used_at: nil, fingerprint_sha256: nil, expires_at: "2023-03-28 11:41:23.524552626 +0000", expiry_notification_delivered_at: nil, before_expiry_notification_delivered_at: nil, usage_type: "auth_and_signing">, valid: false6128 checks if ssh key expiration is enforced6129 key: #<Key id: nil, user_id: nil, created_at: nil, updated_at: nil, key: [FILTERED], title: [FILTERED], type: nil, fingerprint: nil, public: false, last_used_at: nil, fingerprint_sha256: nil, expires_at: "2023-04-01 11:41:23.733622505 +0000", expiry_notification_delivered_at: nil, before_expiry_notification_delivered_at: nil, usage_type: "auth_and_signing">, valid: true6130 checks if ssh key expiration is enforced6131 key: #<Key id: nil, user_id: nil, created_at: nil, updated_at: nil, key: [FILTERED], title: [FILTERED], type: nil, fingerprint: nil, public: false, last_used_at: nil, fingerprint_sha256: nil, expires_at: nil, expiry_notification_delivered_at: nil, before_expiry_notification_delivered_at: nil, usage_type: "auth_and_signing">, valid: true6132 checks if ssh key expiration is enforced6133 #validate_expires_at_before_max_expiry_date6134 for a range of key expiry combinations6135 key: #<Key id: nil, user_id: nil, created_at: "2023-03-30 11:41:23.835540735 +0000", updated_at: nil, key: [FILTERED], title: [FILTERED], type: nil, fingerprint: nil, public: false, last_used_at: nil, fingerprint_sha256: nil, expires_at: nil, expiry_notification_delivered_at: nil, before_expiry_notification_delivered_at: nil, usage_type: "auth_and_signing">, max_ssh_key_lifetime: nil, valid: true6136 checks if ssh key expiration is valid6137 key: #<Key id: nil, user_id: nil, created_at: "2023-03-30 11:41:23.852586533 +0000", updated_at: nil, key: [FILTERED], title: [FILTERED], type: nil, fingerprint: nil, public: false, last_used_at: nil, fingerprint_sha256: nil, expires_at: "2023-04-19 11:41:23.852620023 +0000", expiry_notification_delivered_at: nil, before_expiry_notification_delivered_at: nil, usage_type: "auth_and_signing">, max_ssh_key_lifetime: nil, valid: true6138 checks if ssh key expiration is valid6139 key: #<Key id: nil, user_id: nil, created_at: "2023-03-29 11:41:23.860256322 +0000", updated_at: nil, key: [FILTERED], title: [FILTERED], type: nil, fingerprint: nil, public: false, last_used_at: nil, fingerprint_sha256: nil, expires_at: "2023-04-19 11:41:23.860383662 +0000", expiry_notification_delivered_at: nil, before_expiry_notification_delivered_at: nil, usage_type: "auth_and_signing">, max_ssh_key_lifetime: 10, valid: false6140 checks if ssh key expiration is valid6141 key: #<Key id: nil, user_id: nil, created_at: "2023-03-24 11:41:23.869402962 +0000", updated_at: nil, key: [FILTERED], title: [FILTERED], type: nil, fingerprint: nil, public: false, last_used_at: nil, fingerprint_sha256: nil, expires_at: "2023-04-02 11:41:23.869548212 +0000", expiry_notification_delivered_at: nil, before_expiry_notification_delivered_at: nil, usage_type: "auth_and_signing">, max_ssh_key_lifetime: 10, valid: true6142 checks if ssh key expiration is valid6143 key: #<Key id: nil, user_id: nil, created_at: "2023-03-20 11:41:23.882207320 +0000", updated_at: nil, key: [FILTERED], title: [FILTERED], type: nil, fingerprint: nil, public: false, last_used_at: nil, fingerprint_sha256: nil, expires_at: "2023-04-06 11:41:23.882419560 +0000", expiry_notification_delivered_at: nil, before_expiry_notification_delivered_at: nil, usage_type: "auth_and_signing">, max_ssh_key_lifetime: 10, valid: false6144 checks if ssh key expiration is valid6145 key: #<Key id: nil, user_id: nil, created_at: "2023-03-30 11:41:23.892951309 +0000", updated_at: nil, key: [FILTERED], title: [FILTERED], type: nil, fingerprint: nil, public: false, last_used_at: nil, fingerprint_sha256: nil, expires_at: nil, expiry_notification_delivered_at: nil, before_expiry_notification_delivered_at: nil, usage_type: "auth_and_signing">, max_ssh_key_lifetime: 20, valid: false6146 checks if ssh key expiration is valid6147 key: #<Key id: nil, user_id: nil, created_at: nil, updated_at: nil, key: [FILTERED], title: [FILTERED], type: nil, fingerprint: nil, public: false, last_used_at: nil, fingerprint_sha256: nil, expires_at: nil, expiry_notification_delivered_at: nil, before_expiry_notification_delivered_at: nil, usage_type: "auth_and_signing">, max_ssh_key_lifetime: 30, valid: false6148 checks if ssh key expiration is valid6149 when keys and max expiry are set6150 key: #<Key id: nil, user_id: nil, created_at: "2023-03-30 11:41:23.924087436 +0000", updated_at: nil, key: [FILTERED], title: [FILTERED], type: nil, fingerprint: nil, public: false, last_used_at: nil, fingerprint_sha256: nil, expires_at: "2023-04-19 11:41:23.924120006 +0000", expiry_notification_delivered_at: nil, before_expiry_notification_delivered_at: nil, usage_type: "auth_and_signing">, max_ssh_key_lifetime: 10, valid: false6151 checks validity properly in the future too6152 key: #<Key id: nil, user_id: nil, created_at: "2023-03-30 11:41:23.939223805 +0000", updated_at: nil, key: [FILTERED], title: [FILTERED], type: nil, fingerprint: nil, public: false, last_used_at: nil, fingerprint_sha256: nil, expires_at: "2023-04-06 11:41:23.939252505 +0000", expiry_notification_delivered_at: nil, before_expiry_notification_delivered_at: nil, usage_type: "auth_and_signing">, max_ssh_key_lifetime: 10, valid: true6153 checks validity properly in the future too6154 #audit_details6155 equals to the title6156ComplianceManagement::Framework6157 validations6158 is expected to validate that :namespace_id is case-sensitively unique within the scope of :name6159 is expected to validate that :name cannot be empty/falsy6160 is expected to validate that the length of :name is at most 2556161 is expected to validate that the length of :description is at most 2556162 is expected to validate that the length of :color is at most 106163 is expected to validate that the length of :pipeline_configuration_full_path is at most 2556164 namespace_is_root_level_group6165 when namespace is a root group6166 is valid6167 when namespace is a user namespace6168 is invalid6169 when namespace is a subgroup6170 is invalid6171 color6172 with whitespace6173 strips whitespace6174Search::Elasticsearchable6175 # order random6176 #global_elasticsearchable_scope?6177 is false6178 when scope is users6179 is true6180 #use_elasticsearch?6181 is false6182 when search_using_elasticsearch setting is enabled6183 when basic_search param is passed in6184 is false6185 when scope is epics6186 is false6187 when scope is notes6188 is true6189 when scope is users6190 create_user_index_finished: true, backfill_users_finished: true, result: true6191 returns the correct result6192 create_user_index_finished: true, backfill_users_finished: false, result: false6193 returns the correct result6194 create_user_index_finished: false, backfill_users_finished: true, result: false6195 returns the correct result6196 create_user_index_finished: false, backfill_users_finished: false, result: false6197 returns the correct result6198Ci::CompareMetricsReportsService6199 #execute6200 when head pipeline has metrics reports6201 reports new metrics6202 when base and head pipelines have metrics reports6203 reports status as parsed6204 reports new licenses6205 reports existing metrics6206 reports removed metrics6207EE::NamespaceUserCapReachedAlertHelper6208 #display_namespace_user_cap_reached_alert?6209 with a non persisted namespace6210 is expected to eq false6211 with a persisted namespace6212 returns true when the user cap is reached for a user who can admin the namespace6213 returns false when the user cap is reached for a user who cannot admin the namespace6214 does not trigger reactive caching if there is no user cap set6215 returns false when the user cap feature is unavailable6216SystemCheck::Geo::AuthorizedKeysCheck6217 #multi_check6218 succeed when all conditions are met6219 OpenSSH config file6220 fails when config file does not exist6221 skips when config file is not readable6222 in docker6223 fails when config file does not exist6224 AuthorizedKeysCommand6225 fails when config file does not contain the AuthorizedKeysCommand6226 warns when config file does not contain the correct AuthorizedKeysCommand6227 fails when cannot find referred authorized keys file on disk6228 AuthorizedKeysCommandUser6229 fails when config file does not contain the AuthorizedKeysCommandUser6230 fails when config file does not contain the correct AuthorizedKeysCommandUser6231 #extract_authorized_keys_command6232 returns false when no command is available6233 returns correct (uncommented) command6234 returns correct (leading whitespace) command6235 returns command without comments and without quotes6236 #extract_authorized_keys_command_user6237 returns false when no command user is available6238 returns correct (uncommented) command6239 returns correct (leading whitespace) command6240 returns command without comments6241 #openssh_config_path6242 when in docker container6243 returns /assets/sshd_config6244 when not in docker container6245 returns /etc/ssh/sshd_config6246MergeRequests::CaptureSuggestedReviewersAcceptedWorker6247 # order random6248 #perform6249 when merge request is not found6250 returns without calling the capture suggested reviewer service6251 when merge request is found6252 when merge request is not eligible6253 returns without calling the capture suggested reviewer service6254 when merge request is eligible6255 when reviewer ids is blank6256 returns without calling the capture suggested reviewer service6257 when reviewer ids is not blank6258 when service returns error6259 returns without logging extra metadata6260 when service returns success6261 attempts to capture suggested reviewers accepted6262 logs with extra metadata6263 behaves like an idempotent worker6264 is labeled as idempotent6265 performs multiple times sequentially without raising an exception6266 updates the accepted reviewers6267IncidentManagement::EscalationRulesFinder6268 # order random6269 #execute6270 when project is given6271 returns the rules in the project for different types of project inputs6272 when removed rules should be included6273 is expected to contain exactly #<IncidentManagement::EscalationRule id: 20, policy_id: 13, oncall_schedule_id: 22, status: "acknowledged", elapsed_time_seconds: 300, is_removed: true, user_id: nil>, #<IncidentManagement::EscalationRule id: 21, policy_id: 13, oncall_schedule_id: nil, status: "acknowledged", elapsed_time_seconds: 300, is_removed: false, user_id: 2201>, #<IncidentManagement::EscalationRule id: 22, policy_id: 13, oncall_schedule_id: nil, status: "acknowledged", elapsed_time_seconds: 300, is_removed: false, user_id: 2202>, and #<IncidentManagement::EscalationRule id: 18, policy_id: 13, oncall_schedule_id: 20, status: "acknowledged", elapsed_time_seconds: 300, is_removed: false, user_id: nil>6274 when user is given6275 returns the user rules for different types of user inputs6276 when group member is given6277 is expected to contain exactly #<IncidentManagement::EscalationRule id: 21, policy_id: 13, oncall_schedule_id: nil, status: "acknowledged", elapsed_time_seconds: 300, is_removed: false, user_id: 2201> and #<IncidentManagement::EscalationRule id: 23, policy_id: 14, oncall_schedule_id: nil, status: "acknowledged", elapsed_time_seconds: 300, is_removed: false, user_id: 2201>6278 when member does not belong to a user6279 is expected to raise ArgumentError with "Member does not correspond to a user"6280 when project member is given6281 is expected to contain exactly #<IncidentManagement::EscalationRule id: 22, policy_id: 13, oncall_schedule_id: nil, status: "acknowledged", elapsed_time_seconds: 300, is_removed: false, user_id: 2202>6282 when user is also given6283 is expected to raise ArgumentError with "Member param cannot be used with project or user params"6284 when project is also given6285 is expected to raise ArgumentError with "Member param cannot be used with project or user params"6286AppSec::Dast::SiteValidations::RunnerService6287 execute6288 when on demand scan licensed feature is not available6289 behaves like a failure6290 communicates failure6291 when the feature is enabled6292 communicates success6293 creates a ci_pipeline with an appropriate source6294 makes the correct variables available to the ci_build6295 when pipeline creation fails6296 transitions the dast_site_validation to a failure state6297LabelsHelper6298 #render_label6299 with scoped labels disabled6300 does not include link to scoped documentation6301 #wrap_label_html6302 when label is scoped label6303 html-escapes the label color6304 when label is not scoped label6305 does not include the color6306 #label_dropdown_data6307 when edit_context is a project6308 is expected to eq {:default_label=>"Labels", :field_name=>"label_name[]", :namespace_path=>"namespace1220", :project_id...h=>"project1232", :scoped_labels=>"false", :show_any=>"true", :show_no=>"true", :toggle=>"dropdown"}6309 when edit_context is a group6310 is expected to eq {:default_label=>"Labels", :field_name=>"label_name[]", :group_id=>3802, :scoped_labels=>"false", :show_any=>"true", :show_no=>"true", :toggle=>"dropdown"}6311 #labels_function_introduction6312 when epics is unavailable6313 is expected to eq "Labels can be applied to issues and merge requests. Group labels are available for any project within the group."6314 when epics is available6315 is expected to eq "Labels can be applied to issues, merge requests, and epics. Group labels are available for any project within the group."6316Mutations::DastScannerProfiles::Delete6317 is expected to require graphql authorizations :create_on_demand_dast_scan6318 #resolve6319 when the user is not associated with the project6320 raises an exception6321 when the user can run a DAST scan6322 deletes the DAST scanner profile6323 when the dast_scanner_profile does not exist6324 raises an exception6325 when deletion fails6326 returns an error6327EE::AuthHelper6328 button_based_providers6329 excludes group_saml6330 providers_for_base_controller6331 excludes group_saml6332 form_based_auth_provider_has_active_class?6333 selects main LDAP server6334 form_based_providers6335 with smartcard_auth feature flag off6336 does not include smartcard provider6337 with smartcard_auth feature flag on6338 includes smartcard provider6339 smartcard_enabled_for_ldap?6340 LDAP server with optional smartcard auth6341 returns true6342 returns false with required flag6343 LDAP server with required smartcard auth6344 returns true6345 returns true with required flag6346 LDAP server with disabled smartcard auth6347 returns false6348 returns false with required flag6349 no matching LDAP server6350 returns false6351 smartcard_login_button_classes6352 when smartcard auth is optional6353 returns the correct CSS classes6354 when smartcard auth is required6355 returns the correct CSS classes6356 #password_rule_list6357 when password complexity feature is not available6358 returns nil6359 when password complexity feature is available6360 without any rules6361 returns an empty array6362 with one rule6363 returns only one rule6364 with all rules6365 returns all rules6366Groups::SeatUsageExportService6367 #execute6368 when user is allowed to export seat usage data6369 when successful6370 when group has members6371 returns csv data6372 when group has no members6373 returns no rows6374 when it fails6375 returns error6376 when user is not allowed to export seat usage data6377 returns error6378Integrations::SlackInteractions::SlackBlockActions::IncidentManagement::ProjectUpdateHandler6379 # order random6380 #execute6381 when project is updated6382 returns success response and updates cache6383 when project is unchanged6384 behaves like does not make api call6385 does not make the api call and returns nil6386 when user does not have permission to read a project6387 behaves like does not make api call6388 does not make the api call and returns nil6389 when api response is not ok6390 returns error response6391 when Slack API call raises an HTTP exception6392 tracks the exception and returns an error message6393Epics::UpdateCachedMetadataWorker6394 # order random6395 #perform6396 logs extra params6397 is labeled as idempotent6398 performs multiple times sequentially without raising an exception6399 behaves like successful metadata update6400 updates epic issue cached metadata and changes are propagated to ancestors6401 behaves like successful metadata update6402 updates epic issue cached metadata and changes are propagated to ancestors6403 when epic id not found6404 does nothing6405 when multiple epic ids are passed6406 updates epic issue cached metadata for each epic6407 obtains exclusive lock for each epic6408 when some epics are locked6409 re-schedules the job for locked epics6410Label6411 associations6412 is expected to have many epic_board_labels inverse_of => label6413 is expected to have many epic_lists inverse_of => label6414 scopes6415 .on_epic_board6416 returns only the board labels6417 #ids_on_epic_board6418 returns only the board label ids6419 #scoped_label?6420 with scoped_labels available6421 returns false for unscoped labels6422 returns true for scoped labels6423 splitting scoped labels6424 title: "key1::key 2::some value", key: "key1::key 2", value: "some value"6425 #scoped_label_key returns key for scoped labels6426 #scoped_label_value returns title without the key6427 title: "key1::some value", key: "key1", value: "some value"6428 #scoped_label_key returns key for scoped labels6429 #scoped_label_value returns title without the key6430 title: "::some value", key: "", value: "some value"6431 #scoped_label_key returns key for scoped labels6432 #scoped_label_value returns title without the key6433 title: "some value", key: nil, value: "some value"6434 #scoped_label_key returns key for scoped labels6435 #scoped_label_value returns title without the key6436Audit::ProtectedBranchesChangesAuditor6437 # order random6438 #execute6439 when allow_force_push changed6440 creates an event6441 streams correct audit event stream6442 when code_owner_approval_required changed6443 creates an event6444 streams correct audit event stream6445 type: :push, old_access_levels: old_push_access_levels, new_access_levels: new_push_access_levels, change_text: "allowed to push"6446 when access levels changed6447 creates an event6448 streams correct audit event stream6449 type: :merge, old_access_levels: old_merge_access_levels, new_access_levels: new_merge_access_levels, change_text: "allowed to merge"6450 when access levels changed6451 creates an event6452 streams correct audit event stream6453Geo::RepositoryUpdatedEventStore6454 #create!6455 behaves like a Geo event store6456 when running on a secondary node6457 does not create an event6458 when running on a primary node6459 does not create an event if there are no secondary nodes6460 creates an event6461 when file subject is not on local store6462 creates an event (PENDING: No file subject defined, skipping)6463 when running on a primary node6464 when repository is being updated6465 does not track ref name when post-receive event affect multiple refs6466 tracks ref name when post-receive event affect single ref6467 tracks number of branches post-receive event affects6468 tracks number of tags post-receive event affects6469 tracks when post-receive event create new branches6470 tracks when post-receive event remove branches6471 when wiki is being updated6472 does not track any information6473AuditEvents::Streaming::Headers::UpdateService6474 #execute6475 when no header is provided6476 does not update the header6477 has an error response6478 when the header is updated successfully6479 updates the header6480 sends the audit streaming event6481 with license feature external_audit_events6482 sends correct event type in audit event stream6483 when only the header value is updated6484 has a audit message reflecting just the value was changed6485EE::NamespaceSettings::UpdateService6486 #execute6487 as a normal user6488 does not change settings6489 registers an error6490 as a group owner6491 for a group that does not have prevent forking feature6492 does not change settings6493 registers an error6494 for a group that has prevent forking feature6495 changes settings6496Security::ScannedResourcesService#execute6497 The pipeline has security builds6498 Report types are requested6499 only returns the requested scans6500 returns the scanned resources6501 A limited number of scanned resources are requested6502 returns the scanned resources6503 The Pipeline has no security builds6504 is expected to match (a hash including {"sast" => [], "dast" => []})6505 Pipeline is nil6506 is expected to match (a hash including {"sast" => [], "dast" => []})6507Auth::SamlGroupSyncWorker6508 #perform6509 when saml_group_sync feature is not licensed6510 does not call the sync service6511 when the saml_group_sync feature is licensed6512 when SAML is not enabled6513 does not call the sync service6514 when SAML is enabled6515 calls the sync service with the group links6516 does not call the sync service when the user does not exist6517 when group links exist in hierarchies which the user should not be a member of6518 calls the service for top level groups with links that the user should not be a member of6519 with a group in the hierarchy that has no group links6520 is not included in manage_group_ids6521 when the worker receives no group link ids6522 calls the sync service6523AuditEvents::RegisterRunnerAuditEventService6524 #track_event6525 for instance runner6526 on runner that failed to create6527 returns audit event attributes of a failed runner registration6528 on persisted runner6529 behaves like expected audit event6530 returns audit event attributes6531 with registration token prefixed with RUNNERS_TOKEN_PREFIX6532 behaves like expected audit event6533 returns audit event attributes6534 for group runner6535 on runner that failed to create6536 returns audit event attributes of a failed runner registration6537 on persisted runner6538 behaves like expected audit event6539 returns audit event attributes6540 for project runner6541 on runner that failed to create6542 returns audit event attributes of a failed runner registration6543 on persisted runner6544 behaves like expected audit event6545 returns audit event attributes6546EventCreateService6547 Epics6548 #open_epic6549 creates new event6550 #close_epic6551 creates new event6552 #reopen_epic6553 creates new event6554 #leave_note6555 creates new event6556Analytics::CycleAnalytics::Stages::ListService6557 returns empty array6558 provides the default stages as non-persisted objects6559 does not persist the value stream record6560 permission check6561 when user has no access6562 is expected to be error6563 is expected to eq :forbidden6564 when license is missing6565 is expected to be error6566 is expected to eq :forbidden6567 when there are persisted stages6568 returns the persisted stages in order6569Types::VulnerabilityEvidenceSourceType6570 is expected to eq "VulnerabilityEvidenceSource"6571 is expected to have graphql fields :identifier, :name, and :url6572 checking field contents6573 checks the contents of the evidence.source field6574AuditEvents::ReleaseCreatedAuditEventService6575 #security_event6576 with no milestones6577 logs the event to file6578 with one milestone6579 logs the event to file6580 with multiple milestones6581 logs the event to file6582NamespaceStatistics6583 #refresh!6584 when no option is passed6585 updates the wiki size6586 behaves like creates the namespace statistics6587 is expected to receive save!(*(any args)) 1 time6588 when wiki_size option is passed6589 updates the wiki size6590 behaves like creates the namespace statistics6591 is expected to receive save!(*(any args)) 1 time6592 #update_storage_size6593 adds wiki_size to the storage_size6594 #update_wiki_size6595 when group_wikis feature is not enabled6596 does not update the wiki size6597 when group_wikis feature is enabled6598 updates the wiki size6599 when namespace does not belong to a group6600 does not update the wiki size6601Clusters::AgentsFinder6602 #execute6603 user does not have permission6604 is expected to be empty6605 filtering by has_vulnerabilities6606 when params are not provided6607 is expected to contain exactly #<Clusters::Agent id: 1, created_at: "2023-03-30 12:10:18.351616019 +0000", updated_at: "2023-03-30 1...019 +0000", project_id: 1175, name: "agent-1", created_by_user_id: 2265, has_vulnerabilities: false> and #<Clusters::Agent id: 2, created_at: "2023-03-30 12:10:18.438094848 +0000", updated_at: "2023-03-30 1...4848 +0000", project_id: 1175, name: "agent-2", created_by_user_id: 2266, has_vulnerabilities: true>6608 when has_vulnerabilities is set to true6609 is expected to contain exactly #<Clusters::Agent id: 2, created_at: "2023-03-30 12:10:18.438094848 +0000", updated_at: "2023-03-30 1...4848 +0000", project_id: 1175, name: "agent-2", created_by_user_id: 2266, has_vulnerabilities: true>6610 when has_vulnerabilities is set to false6611 is expected to contain exactly #<Clusters::Agent id: 1, created_at: "2023-03-30 12:10:18.351616019 +0000", updated_at: "2023-03-30 1...019 +0000", project_id: 1175, name: "agent-1", created_by_user_id: 2265, has_vulnerabilities: false>6612Geo::NodeStatusRequestService6613 behaves like a geo RequestService6614 #execute6615 parses a 401 response6616 alerts on bad SSL certficate6617 handles connection refused6618 returns meaningful error message when primary uses incorrect db key6619 gracefully handles case when primary is deleted6620 #execute6621 does not include id in the payload6622 sends geo_node_id in the request6623 sends all of the data in the status JSONB field in the request6624Resolvers::Vulnerabilities::ContainerImagesResolver6625 #resolve6626 when resolved for project6627 behaves like fetches vulnerability container images6628 when user is not logged in6629 is expected to be blank6630 when user is logged in6631 when user does not have permissions6632 is expected to be blank6633 when user have permissions to access vulnerabilities6634 returns related container images6635IncidentManagement::OncallSchedules::DestroyService6636 # order random6637 #execute6638 successfully returns the integration6639 when the current_user is anonymous6640 behaves like error response6641 has an informative message6642 when the current_user does not have permissions to remove on-call schedules6643 behaves like error response6644 has an informative message6645 when feature is not available6646 behaves like error response6647 has an informative message6648 when an error occurs during removal6649 behaves like error response6650 has an informative message6651admin/application_settings/_ee_package_registry.html.haml6652 # order random6653 package registry settings6654 renders right description6655Analytics::DevopsAdoption::EnabledNamespaces::FindOrCreateService6656 authorizes for manage_devops_adoption6657 when enabled_namespace for given namespace & display_namespace already exists6658 returns existing enabled_namespace6659 when enabled_namespace for given namespace does not exist6660 calls for enabled_namespace creation6661 when user cannot manage devops adoption for given namespace6662 returns forbidden error6663Gitlab::Issuable::Clone::CopyResourceEventsService6664 resource weight events6665 creates expected resource weight events6666 when a new object is a group entity6667 when entity is an epic6668 when cloning state events6669 ignores issue_id attribute6670 when issue has weight events6671 ignores copying weight events6672MergeRequests::HandleAssigneesChangeService6673 #execute6674 schedules for analytics metric update6675 when code_review_analytics is not available6676 does not schedule for analytics metric update6677Sbom::Ingestion::Tasks::Base6678 # order random6679 raises error when execute is not implemented6680Gitlab::Usage::Metrics::Instrumentations::LicenseMetric6681 behaves like a correct instrumented metric value6682 has correct value6683 behaves like a correct instrumented metric value6684 has correct value6685 behaves like a correct instrumented metric value6686 has correct value6687 when in FIPS mode6688 behaves like a correct instrumented metric value6689 has correct value6690 when not in FIPS mode6691 behaves like a correct instrumented metric value6692 has correct value6693 behaves like a correct instrumented metric value6694 has correct value6695 behaves like a correct instrumented metric value6696 has correct value6697 behaves like a correct instrumented metric value6698 has correct value6699 behaves like a correct instrumented metric value6700 has correct value6701 behaves like a correct instrumented metric value6702 has correct value6703Types::VulnerabilityLocation::CoverageFuzzingType6704 is expected to have graphql fields :vulnerable_class, :end_line, :file, :vulnerable_method, :start_line, :blob_path, :crash_type, :crash_address, and :stacktrace_snippet6705 is expected to eq "VulnerabilityLocationCoverageFuzzing"6706 checking field contents6707 checks the contents of the VulnerabilityLocationCoverageFuzzing fields6708Analytics::DevopsAdoption::EnabledNamespaces::CreateService6709 persists the enabled_namespace6710 schedules for snapshot creation6711 authorizes for manage_devops_adoption6712 without display_namespace_id6713 authorizes for global manage_devops_adoption6714 for guests6715 returns forbidden error6716AlertManagement::Alerts::UpdateService6717 #execute6718 when a status is included6719 when moving from a closed status to an open status6720 creates an escalation6721 moving from an open status to closed status6722 deletes the target's escalations6723 moving from a status of the same group6724 does not create or delete escalations6725Sidebars::UserSettings::Menus::UsageQuotasMenu6726 # order random6727 behaves like User settings menu #render? method6728 #render?6729 when user is logged in6730 renders6731 when user is not logged in6732 does not render6733 behaves like User settings menu6734 does not contain any sub menu6735 renders the correct link6736 renders the correct title6737 renders the correct icon6738 defines correct active route6739Resolvers::VulnerabilitiesGradeResolver6740 #resolve6741 when include_subgroups is set to true6742 returns project grades for projects in group and its subgroups6743 when the letter grade is given6744 returns only the requested grade6745 when include_subgroups is set to true6746 returns project grades for projects in group only6747 when the letter grade is given6748 returns only the requested grade6749Git::WikiPushService6750 #process_changes6751 with a group wiki6752 does not create any events6753 when elasticsearch is enabled6754 when changes include master ref6755 triggers a wiki update6756 with a group wiki6757 does not trigger a wiki update6758 when changes do not include master ref6759 does not trigger a wiki update6760 when elasticsearch is disabled6761 when changes include master ref6762 does nothing even if changes include master ref6763MarkupHelper6764 #render_wiki_content6765 when file is Markdown6766 when content has labels6767 when wiki is a group wiki6768 behaves like renders label6769 is expected not to be empty6770 when wiki is a project wiki6771 behaves like renders label6772 is expected not to be empty6773Resolvers::Geo::GeoNodeResolver6774 #resolve6775 when the user has permission to view Geo data6776 with a name6777 when the given name matches a node6778 returns the GeoNode6779 when the given name does not match any node6780 returns nil6781 without a name6782 when the GitLab instance has a current Geo node6783 returns the GeoNode6784 when the GitLab instance does not have a current Geo node6785 returns nil6786 when the user does not have permission to view Geo data6787 returns nil6788groups/settings/reporting/show6789 renders the settings app root with the correct data attributes6790 when group has no settings record6791 renders the settings app root with the correct data attributes containing default values6792 when feature is not enabled for the group6793 does not render the settings app root6794Gitlab::Ci::Pipeline::Chain::Validate::SecurityOrchestrationPolicy6795 #perform6796 when security policies feature is not licensed6797 does not return warning6798 when security policies feature is licensed6799 when policy file is missing6800 returns warning6801 when policy file is present6802 when policy file is invalid6803 returns warning6804 when policy file is valid6805 does not return warning6806layouts/header/_current_user_dropdown6807 Buy Pipeline Minutes link in user dropdown6808 when pipeline minutes need bought without notification dot6809 has "Buy Pipeline minutes" link with correct data properties6810 when pipeline minutes need bought and there is a notification dot6811 has "Buy Pipeline minutes" link with correct text6812 when pipeline minutes need bought and notification dot has been acknowledged6813 has "Buy Pipeline minutes" link with correct text6814 when ci minutes do not need bought6815 has no "Buy Pipeline minutes" link6816UserPermissionExportUpload6817 associations6818 is expected to belong to user required: false6819 validations6820 is expected to validate that :status cannot be empty/falsy6821 when status is finished6822 validates file presence6823 state transitions6824 status: 0, can_start: true, can_finish: false, can_fail: true6825 adheres to state machine rules6826 status: 1, can_start: false, can_finish: true, can_fail: true6827 adheres to state machine rules6828 status: 2, can_start: false, can_finish: false, can_fail: false6829 adheres to state machine rules6830 status: 3, can_start: false, can_finish: false, can_fail: false6831 adheres to state machine rules6832MergeRequests::ExternalStatusCheckPolicy6833 # order random6834 when user can admin project6835 is expected to be allowed :read_external_status_check6836 when user cannot admin project6837 is expected to be disallowed :read_external_status_check6838Projects::AnalyticsDashboardHelper6839 # order random6840 #analytics_dashboard_available?6841 is true for group project6842 is false for personal project6843 when feature flag is disabled6844 is false for group and personal projects6845 when licensed feature is not available6846 is false for group and personal projects6847EE::Gitlab::GonHelper6848 #add_gon_variables6849 includes ee exclusive settings6850 when GitLab.com6851 includes CustomersDot variables6852 #push_licensed_feature6853 no obj given6854 behaves like sets the licensed features flag6855 pushes the licensed feature flag to the frotnend6856 obj given6857 behaves like sets the licensed features flag6858 pushes the licensed feature flag to the frotnend6859VulnerabilityExports::ExportDeletionWorker6860 #perform6861 when vulnerability export does not exist6862 does not raise exception6863 does not delete any vulnerability export from database6864 when vulnerability export exists6865 when destroy can be performed successfully6866 destroys vulnerability export6867 when destroy fails6868 raises exception6869IdeHelper6870 # order random6871 #ide_data6872 returns hash6873 when false source6874 returns hash6875 when random source6876 returns hash6877 when no source6878 returns hash6879Arkose::Logger6880 # order random6881 #log_successful_token_verification6882 behaves like logs the event with the correct payload6883 logs the event with the correct info6884 when user is nil6885 logs the event without username info6886 #log_failed_token_verification6887 logs the event with the correct info6888 when user is nil6889 logs the event with the correct info6890 #log_unsolved_challenge6891 behaves like logs the event with the correct payload6892 logs the event with the correct info6893 when user is nil6894 logs the event without username info6895Gitlab::Ci::Config::Entry::Vault::Engine6896 validation6897 when entry config value is correct6898 #value6899 returns Vault secret engine configuration6900 #valid?6901 is valid6902 when entry value is not correct6903 #errors6904 when there is an unknown key present6905 reports error6906 when name and path are missing6907 reports error6908 when name and path are blank6909 reports error6910PersonalAccessTokens::Groups::UpdateLifetimeService6911 #execute6912 when we can obtain the lease6913 schedules the worker6914 when we can't obtain the lease6915 does not schedule the worker6916IncidentManagement::PendingEscalations::IssueCheckWorker6917 # order random6918 #perform6919 with valid escalation6920 processes the escalation6921 without valid escalation6922 does nothing6923Groups::GroupLinks::UpdateService#execute6924 # order random6925 sends an audit event6926Mutations::Boards::EpicBoards::Destroy6927 raises error when user does not have permission to destroy the board6928 field tests6929 is expected to have graphql arguments :id6930 is expected to have graphql fields :epic_board6931 when user has permission to destroy the board6932 destroys the epic board6933EE::Gitlab::Scim::ReprovisioningService6934 # order random6935 #execute6936 activates scim identity6937 activates the user which was in blocked state6938 returns the successful reprovisiong message6939Arkose::BlockedUsersReportWorker#perform6940 when the feature flag arkose_labs_login_challenge is disabled6941 does not report the blocked users6942 when the feature flag arkose_labs_login_challenge is enabled6943 when the blocked users are reported6944 reports the blocked users6945ProjectRepositoryState6946 assocations6947 is expected to belong to project required: false inverse_of => repository_state6948 validations6949 is expected to validate that :project cannot be empty/falsy6950 is expected to validate that :project is case-sensitively unique6951Gitlab::Vulnerabilities::Parser6952 .fabricate6953 with standard categories6954 returns a Standard Vulnerability6955 with container scanning as category6956 returns a Scanning Vulnerability6957 with cluster image scanning as category6958 returns a Scanning Vulnerability6959 with an invalid category6960 raises an exception6961admin/users/_credit_card_info.html.haml6962 shows not validated6963 when user is validated6964 shows card data6965 when network is missing6966 does not show network6967Types::ScannedResourceType6968 is expected to eq "ScannedResource"6969 has specific fields6970TestReportsComparerEntity6971 #as_json6972 when head and base reports include two test suites6973 when the status of head report is success6974 contains correct compared test reports details6975 when the status of head report is failed6976 contains correct compared test reports details6977 when the status of head report is resolved6978 contains correct compared test reports details6979AlertManagement::HttpIntegrations::UpdateService6980 #execute6981 with multiple HTTP integrations feature available6982 successfully creates a new integration with the custom mappings6983PackageMetadata::PackageVersion6984 # order random6985 validations6986 is expected to validate that :version cannot be empty/falsy6987 is expected to validate that the length of :version is at most 2556988 association6989 is expected to belong to package required: true6990Namespaces::FreeUserCap::RootSize6991 # order random6992 #above_size_limit?6993 when below limit6994 is expected to eq false6995 when above limit6996 is expected to eq true6997Gitlab::Usage::Metrics::Aggregates::Aggregate6998 # order random6999 .calculate_count_for_aggregation7000 when using known events7001 returns the number of unique events for aggregation7002 when some of the events are not defined7003 with non prod environment7004 raises error7005 with prod environment7006 returns fallback value7007Integrations::SlackEventService7008 # order random7009 #execute7010 queues a worker and returns success response7011 when event a url verification request7012 executes the service instead of queueing a worker and returns success response7013 when event is unknown7014 raises an error7015devise/registrations/new7016 # order random7017 renders challenge container with the correct data attributes7018 when the feature is disabled7019 does not render challenge container7020Types::RequirementsManagement::TestReportType7021 is expected to eq "TestReport"7022 is expected to have graphql fields :id, :state, :author, :created_at, and :uses_legacy_iid7023 is expected to require graphql authorizations :read_work_item7024Elastic::Latest::IssueConfig7025 .settings7026 behaves like config settings return correct values7027 returns config7028 sets correct shard/replica settings7029 .mappings7030 returns config7031Admin::SetFeatureFlagService7032 # order random7033 #execute7034 when enabling the feature flag that is a licensed feature7035 returns an error7036 when force: true7037 enables the feature flag7038EE::Milestoneable7039 #milestone_available?7040 for epics7041 returns true7042 #supports_milestone?7043 for epics7044 returns false7045Types::Vulnerability::ExternalIssueLinkTypeEnum7046 is expected to contain exactly "CREATED"7047Projects::BranchRule7048 # order random7049 delegates methods to protected branch7050Automation::ExecuteRuleWorker7051 # order random7052 #perform7053 logs placeholder message for now7054Boards::EpicBoardLabel7055 associations7056 is expected to belong to epic_board required: true inverse_of => epic_board_labels7057 is expected to belong to label required: true inverse_of => epic_board_labels7058Uploads routing7059 allows fetching issuable metric images7060 allows fetching alert metric metric images7061Types::PermissionTypes::Project7062 is expected to have graphql field :admin_path_locks7063GroupVulnerabilityAutocompleteEntity7064 #represent7065 includes the id, title, and reference7066Types::PermissionTypes::Deployment7067 # order random7068 is expected to include graphql fields :approve_deployment7069GitlabSubscriptions::NotifySeatsExceededBatchWorker7070 # order random7071 #perform7072 calls NotifySeatsExceededBatchService7073Admin::EmailService7074 #execute7075 when we can obtain the lease7076 schedules the worker7077 when we can't obtain the lease7078 does not schedule the worker7079GitlabSubscriptions::CreateHandRaiseLeadService7080 #execute7081 hand raise lead call is made successfully7082 returns success: true7083 error while creating hand raise lead call is made successful7084 returns success: false with errors7085Projects::WikiRepository7086 # order random7087 associations7088 is expected to have one wiki_repository_state class_name => Geo::WikiRepositoryState inverse_of => project_wiki_repository7089Types::AppSec::Fuzzing::API::ScanModeEnum7090 exposes all API fuzzing scan modes7091Gitlab::Search::Client7092 # order random7093 delegates to adapter7094Types::Ci::Minutes::NamespaceMonthlyUsageType7095 is expected to have graphql fields :minutes, :month, :month_iso8601, :projects, and :shared_runners_duration7096Knapsack report was generated. Preview:7097{7098 "ee/spec/services/search/global_service_spec.rb": 657.217348432001,7099 "ee/spec/models/geo/project_registry_spec.rb": 98.16117716299959,7100 "ee/spec/models/sca/license_compliance_spec.rb": 55.745004424999934,7101 "ee/spec/replicators/geo/pages_deployment_replicator_spec.rb": 51.2511884380001,7102 "ee/spec/lib/ee/gitlab/usage/service_ping_report_spec.rb": 74.30343782700038,7103 "ee/spec/services/ci/compare_security_reports_service_spec.rb": 46.55589945700012,7104 "ee/spec/lib/banzai/filter/references/iteration_reference_filter_spec.rb": 40.62120345800031,7105 "ee/spec/helpers/push_rules_helper_spec.rb": 40.457881002999784,7106 "ee/spec/views/admin/application_settings/_elasticsearch_form.html.haml_spec.rb": 42.60835546099952,7107 "ee/spec/services/ci/minutes/email_notification_service_spec.rb": 28.891214156001297,7108 "ee/spec/services/geo/file_registry_removal_service_spec.rb": 27.984022276999895,7109 "ee/spec/models/protected_environment_spec.rb": 22.71858273699945,7110 "ee/spec/services/ee/notes/create_service_spec.rb": 28.759631619001084,7111 "ee/spec/services/ee/protected_branches/create_service_spec.rb": 26.706901221999942,7112 "ee/spec/models/geo/dependency_proxy_blob_registry_spec.rb": 13.588829904001614,7113 "ee/spec/models/geo/snippet_repository_registry_spec.rb": 16.793982388000586,7114 "ee/spec/lib/compliance_management/compliance_report/commit_loader_spec.rb": 25.739136477999637,7115 "ee/spec/workers/geo/registry_sync_worker_spec.rb": 17.98472423000021,7116 "ee/spec/services/vulnerabilities/create_service_spec.rb": 20.045668938000745,7117 "ee/spec/services/app_sec/dast/scanner_profiles/create_service_spec.rb": 18.720561836000343,7118 "ee/spec/models/ee/approvable_spec.rb": 19.486598727000455,7119 "ee/spec/services/ee/members/create_service_spec.rb": 14.396763582000858,7120 "ee/spec/services/merge_trains/add_merge_request_service_spec.rb": 11.464333116000489,7121 "ee/spec/models/project_ci_cd_setting_spec.rb": 10.02942502299993,7122 "ee/spec/models/protected_environments/approval_rule_spec.rb": 8.351652914001534,7123 "ee/spec/workers/store_security_reports_worker_spec.rb": 9.844599618998473,7124 "ee/spec/services/elastic/data_migration_service_spec.rb": 13.56964001599954,7125 "ee/spec/policies/global_policy_spec.rb": 3.1206301109996275,7126 "ee/spec/models/vulnerabilities/state_transition_spec.rb": 4.231774922000113,7127 "ee/spec/lib/omni_auth/strategies/group_saml_spec.rb": 7.341330723000283,7128 "ee/spec/services/merge_trains/create_pipeline_service_spec.rb": 9.531743858000482,7129 "ee/spec/finders/groups_with_templates_finder_spec.rb": 11.012506375000157,7130 "ee/spec/services/security/store_scan_service_spec.rb": 3.966869456000495,7131 "ee/spec/models/project_import_data_spec.rb": 4.734547236999788,7132 "ee/spec/graphql/mutations/issues/set_epic_spec.rb": 7.101727414999914,7133 "ee/spec/models/ee/namespace/storage/notification_spec.rb": 6.919485901000371,7134 "ee/spec/serializers/blocking_merge_request_entity_spec.rb": 11.616323480000574,7135 "ee/spec/finders/snippets_finder_spec.rb": 6.140305210999941,7136 "ee/spec/workers/group_saml_group_sync_worker_spec.rb": 5.455213833000016,7137 "ee/spec/finders/compliance_management/merge_requests/compliance_violations_finder_spec.rb": 7.910534372998882,7138 "ee/spec/models/incident_management/oncall_rotation_spec.rb": 3.008243931000834,7139 "ee/spec/finders/security/training_urls_finder_spec.rb": 3.32597564200114,7140 "ee/spec/services/protected_environments/update_service_spec.rb": 6.619156548998944,7141 "ee/spec/services/approval_rules/merge_request_rule_destroy_service_spec.rb": 7.095997445998364,7142 "ee/spec/services/iterations/create_service_spec.rb": 2.8395224359992426,7143 "ee/spec/services/todos/destroy/confidential_epic_service_spec.rb": 6.1120363130012265,7144 "ee/spec/lib/ee/gitlab/group_search_results_spec.rb": 6.497359559998586,7145 "ee/spec/models/incident_management/pending_escalations/issue_spec.rb": 3.034826649000024,7146 "ee/spec/graphql/mutations/projects/set_locked_spec.rb": 5.3776074390007125,7147 "ee/spec/services/dashboard/projects/create_service_spec.rb": 5.560169882999617,7148 "ee/spec/lib/gitlab/elastic/client_spec.rb": 1.5541572409983928,7149 "ee/spec/services/projects/prometheus/alerts/notify_service_spec.rb": 5.2576444299993454,7150 "ee/spec/graphql/resolvers/geo/snippet_repository_registries_resolver_spec.rb": 5.820934618999672,7151 "ee/spec/services/boards/epic_boards/create_service_spec.rb": 2.1268737690006674,7152 "ee/spec/lib/quality/seeders/vulnerabilities_spec.rb": 4.985797235000064,7153 "ee/spec/services/app_sec/dast/scanner_profiles/destroy_service_spec.rb": 2.7840660809997644,7154 "ee/spec/workers/iterations/roll_over_issues_worker_spec.rb": 2.1798810649997904,7155 "ee/spec/views/shared/_mirror_update_button.html.haml_spec.rb": 2.9852035229996545,7156 "ee/spec/services/app_sec/dast/site_profiles/destroy_service_spec.rb": 3.325065502000143,7157 "ee/spec/finders/incident_management/escalation_policies_finder_spec.rb": 2.397126936000859,7158 "ee/spec/routing/user_routing_spec.rb": 4.00375460199939,7159 "ee/spec/lib/gitlab/ci/templates/dast_api_gitlab_ci_yaml_spec.rb": 3.5935112579991255,7160 "ee/spec/views/projects/project_members/index.html.haml_spec.rb": 2.239522689998921,7161 "ee/spec/services/geo/container_repository_sync_service_spec.rb": 3.895187571999486,7162 "ee/spec/graphql/mutations/issues/promote_to_epic_spec.rb": 2.900514339999063,7163 "ee/spec/services/analytics/cycle_analytics/value_streams/update_service_spec.rb": 2.8698391940015426,7164 "ee/spec/services/ee/ci/job_artifacts/destroy_batch_service_spec.rb": 4.389074086999244,7165 "ee/spec/services/incident_management/escalation_policies/create_service_spec.rb": 2.0919407320016035,7166 "ee/spec/serializers/dependency_list_entity_spec.rb": 3.8427352479993715,7167 "ee/spec/services/work_items/widgets/progress_service/update_service_spec.rb": 3.2655270570012362,7168 "ee/spec/graphql/types/ci/pipeline_type_spec.rb": 4.148172531000455,7169 "ee/spec/finders/ee/projects_finder_spec.rb": 2.9953401779985143,7170 "ee/spec/models/groups/repository_storage_move_spec.rb": 1.1145071990013093,7171 "ee/spec/models/vulnerabilities/external_issue_link_spec.rb": 3.1599484190010116,7172 "ee/spec/graphql/mutations/dast_site_profiles/update_spec.rb": 3.5607454419987334,7173 "ee/spec/models/concerns/geo/replicable_model_spec.rb": 2.222590149000098,7174 "ee/spec/services/projects/alerting/notify_service_spec.rb": 3.208992642999874,7175 "ee/spec/services/package_metadata/sync_service_spec.rb": 1.049085976999777,7176 "ee/spec/services/ee/two_factor/destroy_service_spec.rb": 2.4002519480000046,7177 "ee/spec/services/ee/resource_events/change_iteration_service_spec.rb": 3.9302907180008333,7178 "ee/spec/models/ee/key_spec.rb": 1.176423742001134,7179 "ee/spec/models/compliance_management/framework_spec.rb": 1.1551748839992797,7180 "ee/spec/services/concerns/search/elasticsearchable_spec.rb": 0.9365289899997151,7181 "ee/spec/services/ci/compare_metrics_reports_service_spec.rb": 2.4913022569999157,7182 "ee/spec/helpers/ee/namespace_user_cap_reached_alert_helper_spec.rb": 1.6004931219995342,7183 "ee/spec/lib/system_check/geo/authorized_keys_check_spec.rb": 1.3587335199990775,7184 "ee/spec/workers/merge_requests/capture_suggested_reviewers_accepted_worker_spec.rb": 2.7516822470006446,7185 "ee/spec/finders/incident_management/escalation_rules_finder_spec.rb": 2.364187242001208,7186 "ee/spec/services/app_sec/dast/site_validations/runner_service_spec.rb": 3.6705785680005647,7187 "ee/spec/helpers/ee/labels_helper_spec.rb": 2.2935712309990777,7188 "ee/spec/graphql/mutations/dast_scanner_profiles/delete_spec.rb": 1.3044420770002034,7189 "ee/spec/helpers/ee/auth_helper_spec.rb": 1.454630828999143,7190 "ee/spec/services/groups/seat_usage_export_service_spec.rb": 2.3865559790010593,7191 "ee/spec/services/integrations/slack_interactions/slack_block_actions/incident_management/project_update_handler_spec.rb": 2.1003594739995606,7192 "ee/spec/workers/epics/update_cached_metadata_worker_spec.rb": 2.348542804000317,7193 "ee/spec/models/ee/label_spec.rb": 1.2867171090001648,7194 "ee/spec/lib/audit/protected_branches_changes_auditor_spec.rb": 1.7505332439995982,7195 "ee/spec/services/geo/repository_updated_event_store_spec.rb": 2.709188542999982,7196 "ee/spec/services/audit_events/streaming/headers/update_service_spec.rb": 1.8464413620004052,7197 "ee/spec/services/ee/namespace_settings/update_service_spec.rb": 2.072531046000222,7198 "ee/spec/services/security/scanned_resources_service_spec.rb": 2.540210171999206,7199 "ee/spec/workers/auth/saml_group_sync_worker_spec.rb": 1.8915057079993858,7200 "ee/spec/services/audit_events/register_runner_audit_event_service_spec.rb": 1.4240069129991753,7201 "ee/spec/services/ee/event_create_service_spec.rb": 1.9900265959986427,7202 "ee/spec/services/analytics/cycle_analytics/stages/list_service_spec.rb": 1.3799284769993392,7203 "ee/spec/graphql/types/vulnerability_evidence_source_type_spec.rb": 1.8356751539995457,7204 "ee/spec/services/audit_events/release_created_audit_event_service_spec.rb": 2.3599187929994514,7205 "ee/spec/models/ee/namespace_statistics_spec.rb": 1.2874796989999595,7206 "ee/spec/finders/ee/clusters/agents_finder_spec.rb": 1.6536545350008964,7207 "ee/spec/services/geo/node_status_request_service_spec.rb": 1.304165687000932,7208 "ee/spec/graphql/resolvers/vulnerabilities/container_images_resolver_spec.rb": 1.8429390029996284,7209 "ee/spec/services/incident_management/oncall_schedules/destroy_service_spec.rb": 1.615393029000188,7210 "ee/spec/views/admin/application_settings/_ee_package_registry.html.haml_spec.rb": 0.5124832500005141,7211 "ee/spec/services/analytics/devops_adoption/enabled_namespaces/find_or_create_service_spec.rb": 1.2143777660003252,7212 "ee/spec/lib/ee/gitlab/issuable/clone/copy_resource_events_service_spec.rb": 1.6749861129992496,7213 "ee/spec/services/ee/merge_requests/handle_assignees_change_service_spec.rb": 1.8487650120005128,7214 "ee/spec/services/sbom/ingestion/tasks/base_spec.rb": 0.43629108800087124,7215 "ee/spec/lib/gitlab/usage/metrics/instrumentations/license_metric_spec.rb": 0.7866632970017235,7216 "ee/spec/graphql/types/vulnerability_location/coverage_fuzzing_type_spec.rb": 1.6360648470017622,7217 "ee/spec/services/analytics/devops_adoption/enabled_namespaces/create_service_spec.rb": 1.0158099600012065,7218 "ee/spec/services/ee/alert_management/alerts/update_service_spec.rb": 1.6816701919997286,7219 "ee/spec/lib/sidebars/user_settings/menus/usage_quotas_menu_spec.rb": 0.8051064360006421,7220 "ee/spec/graphql/resolvers/vulnerabilities_grade_resolver_spec.rb": 1.2601387619997695,7221 "ee/spec/services/ee/git/wiki_push_service_spec.rb": 1.1079751699999179,7222 "ee/spec/helpers/markup_helper_spec.rb": 1.476785237000513,7223 "ee/spec/graphql/resolvers/geo/geo_node_resolver_spec.rb": 0.9692479249988537,7224 "ee/spec/views/groups/settings/reporting/show.html.haml_spec.rb": 1.3432918319995224,7225 "ee/spec/lib/ee/gitlab/ci/pipeline/chain/validate/security_orchestration_policy_spec.rb": 1.3771877979997953,7226 "ee/spec/views/layouts/header/_current_user_dropdown.html.haml_spec.rb": 1.1804192409999814,7227 "ee/spec/models/user_permission_export_upload_spec.rb": 0.7099755170002027,7228 "ee/spec/policies/merge_requests/external_status_check_policy_spec.rb": 1.1041489199997159,7229 "ee/spec/helpers/projects/analytics_dashboard_helper_spec.rb": 0.9130015820010158,7230 "ee/spec/lib/ee/gitlab/gon_helper_spec.rb": 0.9228335209991201,7231 "ee/spec/workers/vulnerability_exports/export_deletion_worker_spec.rb": 0.8577546299984533,7232 "ee/spec/helpers/ee/ide_helper_spec.rb": 0.7596991110003728,7233 "ee/spec/lib/arkose/logger_spec.rb": 0.8516957499996352,7234 "ee/spec/lib/gitlab/ci/config/entry/vault/engine_spec.rb": 0.595021999999517,7235 "ee/spec/services/personal_access_tokens/groups/update_lifetime_service_spec.rb": 0.48176963299920317,7236 "ee/spec/workers/incident_management/pending_escalations/issue_check_worker_spec.rb": 0.7740330090000498,7237 "ee/spec/services/ee/groups/group_links/update_service_spec.rb": 0.7343399940000381,7238 "ee/spec/graphql/mutations/boards/epic_boards/destroy_spec.rb": 0.7539522309998574,7239 "ee/spec/lib/ee/gitlab/scim/reprovisioning_service_spec.rb": 0.6972408980000182,7240 "ee/spec/workers/ee/arkose/blocked_users_report_worker_spec.rb": 0.39271489400016435,7241 "ee/spec/models/project_repository_state_spec.rb": 0.7504143420010223,7242 "ee/spec/lib/gitlab/vulnerabilities/parser_spec.rb": 0.6286961250007153,7243 "ee/spec/views/admin/users/_credit_card_info.html.haml_spec.rb": 0.612675948001197,7244 "ee/spec/graphql/types/scanned_resource_type_spec.rb": 0.48926549299903854,7245 "ee/spec/serializers/test_reports_comparer_entity_spec.rb": 0.4750961039990216,7246 "ee/spec/services/ee/alert_management/http_integrations/update_service_spec.rb": 1.0135513610002818,7247 "ee/spec/models/package_metadata/package_version_spec.rb": 0.40987230199971236,7248 "ee/spec/models/namespaces/free_user_cap/root_size_spec.rb": 0.42074913999931596,7249 "ee/spec/lib/ee/gitlab/usage/metrics/aggregates/aggregate_spec.rb": 0.3964871829994081,7250 "ee/spec/services/integrations/slack_event_service_spec.rb": 0.4876548920001369,7251 "ee/spec/views/devise/registrations/new.html.haml_spec.rb": 0.8092751650001446,7252 "ee/spec/graphql/types/requirements_management/test_report_type_spec.rb": 0.621993126000234,7253 "ee/spec/lib/elastic/latest/issue_config_spec.rb": 0.49426030199902016,7254 "ee/spec/services/ee/admin/set_feature_flag_service_spec.rb": 0.7037406869985716,7255 "ee/spec/models/concerns/ee/milestoneable_spec.rb": 0.47121345499908784,7256 "ee/spec/graphql/types/vulnerability/external_issue_link_type_enum_spec.rb": 0.38187537500016333,7257 "ee/spec/models/ee/projects/branch_rule_spec.rb": 0.664574842001457,7258 "ee/spec/workers/automation/execute_rule_worker_spec.rb": 0.31400746300096216,7259 "ee/spec/models/boards/epic_board_label_spec.rb": 0.49953805100085447,7260 "ee/spec/routing/uploads_routing_spec.rb": 0.5390974170004483,7261 "ee/spec/graphql/types/permission_types/project_spec.rb": 0.33926039099969785,7262 "ee/spec/serializers/group_vulnerability_autocomplete_entity_spec.rb": 0.5424508759988385,7263 "ee/spec/graphql/ee/types/permission_types/deployment_spec.rb": 0.9289328510003543,7264 "ee/spec/workers/gitlab_subscriptions/notify_seats_exceeded_batch_worker_spec.rb": 0.4787754929984658,7265 "ee/spec/services/admin/email_service_spec.rb": 0.6344455460002791,7266 "ee/spec/services/gitlab_subscriptions/create_hand_raise_lead_service_spec.rb": 0.38597388500056695,7267 "ee/spec/models/ee/projects/wiki_repository_spec.rb": 0.31513456300126563,7268 "ee/spec/graphql/types/app_sec/fuzzing/api/scan_mode_enum_spec.rb": 0.3322691109988227,7269 "ee/spec/lib/gitlab/search/client_spec.rb": 0.6146471579995705,7270 "ee/spec/graphql/types/ci/minutes/namespace_monthly_usage_type_spec.rb": 0.34663334899960327271}7272Knapsack global time execution for tests: 29m 42s7273Pending: (Failures listed here are expected and do not affect your suite's status)7274 1) Resolvers::Geo::SnippetRepositoryRegistriesResolver behaves like a Geo registries resolver #resolve when the parent object is the current node when the user has permission to view Geo data when admin mode is enabled with verification disabled when the verification_state argument is present raises ArgumentError7275 # Skipping because verification is enabled for SnippetRepository7276 # ./ee/spec/support/shared_examples/graphql/geo/geo_registries_resolver_shared_examples.rb:777277 2) Geo::RepositoryUpdatedEventStore#create! behaves like a Geo event store when running on a primary node when file subject is not on local store creates an event7278 # No file subject defined, skipping7279 # ./ee/spec/support/shared_examples/services/geo_event_store_shared_examples.rb:367280Failures:7281 1) Elastic::DataMigrationService pending_migrations? when there is no pending migration returns false7282 Failure/Error: expect(subject.pending_migrations?).to eq(false)7283 expected: false7284 got: true7285 (compared using ==)7286 Diff:7287 @@ -1 +1 @@7288 -false7289 +true7290 # ./ee/spec/services/elastic/data_migration_service_spec.rb:242:in `block (4 levels) in <top (required)>'7291 # ./spec/spec_helper.rb:438:in `block (3 levels) in <top (required)>'7292 # ./spec/support/sidekiq_middleware.rb:18:in `with_sidekiq_server_middleware'7293 # ./spec/spec_helper.rb:430:in `block (2 levels) in <top (required)>'7294 # ./spec/spec_helper.rb:426:in `block (3 levels) in <top (required)>'7295 # ./lib/gitlab/application_context.rb:61:in `with_raw_context'7296 # ./spec/spec_helper.rb:426:in `block (2 levels) in <top (required)>'7297 # ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'7298 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'7299 # ./spec/support/redis.rb:17:in `block (3 levels) in <top (required)>'7300 # ./spec/support/redis.rb:17:in `block (3 levels) in <top (required)>'7301 # ./spec/support/database/prevent_cross_joins.rb:108:in `block (3 levels) in <top (required)>'7302 # ./spec/support/database/prevent_cross_joins.rb:62:in `with_cross_joins_prevented'7303 # ./spec/support/database/prevent_cross_joins.rb:108:in `block (2 levels) in <top (required)>'7304 # ./ee/spec/support/elastic.rb:87:in `block (2 levels) in <top (required)>'7305 2) Elastic::DataMigrationService pending_migrations returns only pending migrations7306 Failure/Error: expect(subject.pending_migrations.map(&:name)).to eq([pending_migration1, pending_migration2].map(&:name))7307 expected: ["AddNewDataToIssuesDocuments", "MigrateIssuesToSeparateIndex"]7308 got: ["ApplyMaxAnalyzedOffset", "AddNewDataToIssuesDocuments", "MigrateIssuesToSeparateIndex", "DeleteIssu...eIdToUsers", "BackfillHashedRootNamespaceIdOnUsers", "BackfillHashedRootNamespaceIdOnMergeRequests"]7309 (compared using ==)7310 # ./ee/spec/services/elastic/data_migration_service_spec.rb:257:in `block (3 levels) in <top (required)>'7311 # ./spec/spec_helper.rb:438:in `block (3 levels) in <top (required)>'7312 # ./spec/support/sidekiq_middleware.rb:18:in `with_sidekiq_server_middleware'7313 # ./spec/spec_helper.rb:430:in `block (2 levels) in <top (required)>'7314 # ./spec/spec_helper.rb:426:in `block (3 levels) in <top (required)>'7315 # ./lib/gitlab/application_context.rb:61:in `with_raw_context'7316 # ./spec/spec_helper.rb:426:in `block (2 levels) in <top (required)>'7317 # ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'7318 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'7319 # ./spec/support/redis.rb:17:in `block (3 levels) in <top (required)>'7320 # ./spec/support/redis.rb:17:in `block (3 levels) in <top (required)>'7321 # ./spec/support/database/prevent_cross_joins.rb:108:in `block (3 levels) in <top (required)>'7322 # ./spec/support/database/prevent_cross_joins.rb:62:in `with_cross_joins_prevented'7323 # ./spec/support/database/prevent_cross_joins.rb:108:in `block (2 levels) in <top (required)>'7324 # ./ee/spec/support/elastic.rb:87:in `block (2 levels) in <top (required)>'7325Finished in 29 minutes 46 seconds (files took 1 minute 20.15 seconds to load)73262662 examples, 2 failures, 2 pending7327Failed examples:7328rspec ./ee/spec/services/elastic/data_migration_service_spec.rb:241 # Elastic::DataMigrationService pending_migrations? when there is no pending migration returns false7329rspec ./ee/spec/services/elastic/data_migration_service_spec.rb:256 # Elastic::DataMigrationService pending_migrations returns only pending migrations7330Randomized with seed 126687331[TEST PROF INFO] Time spent in factories: 12:57.040 (42.63% of total time)7332Stopped processing SimpleCov as a previous error not related to SimpleCov has been detected7333RSpec exited with 1.7334RETRIED_TESTS_REPORT_PATH: rspec/flaky/retried_tests_rspec-ee_unit_pg13_5_18_report.txt7335Retrying the failing examples in a new RSpec process...7336$ gem install junit_merge --no-document --version 0.1.27337Successfully installed nokogiri-1.14.2-x86_64-linux7338Successfully installed junit_merge-0.1.273392 gems installed7340==> 'gem install junit_merge --no-document --version 0.1.2' succeeded in 3 seconds.7341Running RSpec command: bin/rspec -Ispec -rspec_helper --color --failure-exit-code 1 --error-exit-code 2 --format documentation --format RspecJunitFormatter --out rspec/junit_rspec-retry.xml --only-failures --pattern "{ee/}spec/{bin,channels,config,contracts,db,dependencies,elastic,elastic_integration,experiments,factories,finders,frontend,graphql,haml_lint,helpers,initializers,lib,metrics_server,models,policies,presenters,rack_servers,replicators,routing,rubocop,scripts,serializers,services,sidekiq,sidekiq_cluster,spam,support_specs,tasks,uploaders,validators,views,workers,tooling,components}{,/**/}*_spec.rb"7342Run options: include {:last_run_status=>"failed"}7343Test environment set up in 0.466412105 seconds7344Elastic::DataMigrationService7345 pending_migrations?7346 when there is no pending migration7347 returns false7348 pending_migrations7349 returns only pending migrations7350Finished in 13.73 seconds (files took 1 minute 2.89 seconds to load)73512 examples, 0 failures7352[TEST PROF INFO] Time spent in factories: 00:00.026 (0.17% of total time)7353A test was flaky and succeeded after being retried. Checking to see if flaky test is part of this MR...7354Flaky test was not part of this MR.7356Not uploading cache ruby-gems-debian-bullseye-ruby-3.0-16 due to policy7357Not uploading cache gitaly-ruby-gems-debian-bullseye-ruby-3.0-16 due to policy7359Uploading artifacts...7360coverage/: found 4 matching artifact files and directories 7361crystalball/: found 2 matching artifact files and directories 7362WARNING: deprecations/: no matching files. Ensure that the artifact path is relative to the working directory (/builds/gitlab-org/gitlab) 7363knapsack/: found 3 matching artifact files and directories 7364WARNING: query_recorder/: no matching files. Ensure that the artifact path is relative to the working directory (/builds/gitlab-org/gitlab) 7365rspec/: found 16 matching artifact files and directories 7366WARNING: tmp/capybara/: no matching files. Ensure that the artifact path is relative to the working directory (/builds/gitlab-org/gitlab) 7367log/*.log: found 16 matching artifact files and directories 7368WARNING: Upload request redirected location=https://gitlab.com/api/v4/jobs/4031139211/artifacts?artifact_format=zip&artifact_type=archive&expire_in=31d new-url=https://gitlab.com7369WARNING: Retrying... context=artifacts-uploader error=request redirected7370Uploading artifacts as "archive" to coordinator... 201 Created id=4031139211 responseStatus=201 Created token=64_-JSKU7371Uploading artifacts...7372rspec/junit_rspec.xml: found 1 matching artifact files and directories 7373WARNING: Upload request redirected location=https://gitlab.com/api/v4/jobs/4031139211/artifacts?artifact_format=gzip&artifact_type=junit&expire_in=31d new-url=https://gitlab.com7374WARNING: Retrying... context=artifacts-uploader error=request redirected7375Uploading artifacts as "junit" to coordinator... 201 Created id=4031139211 responseStatus=201 Created token=64_-JSKU7377Job succeeded